Font Size: a A A

Design And Implementation Of Closed-loop Test In Platform For Debugging And Verifying Software

Posted on:2015-05-15Degree:MasterType:Thesis
Country:ChinaCandidate:C XuFull Text:PDF
GTID:2308330464968742Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In order to ensure the safety and reliability of aerospace aircraft, the embedded software testing must be reliably and efficiently. But it’s often inefficient and costly because of the special hardware equipment and high real-time demand. The topic of this paper is to design a universal test platform that can set up a test environment quickly and efficiently, and be able to monitor and record test data in real time. Try to shield the underlying hardware systems, so testers can not care about the underlying details, do not write too much code,and the system streamline operations to improve test efficiency.This paper makes a detail to the closed-loop testing capability. Firstly, this paper introduces the related technologies in the system and the current development at home and abroad. Then, we analyze the requirements of the system, clear about the system design goals and determine the system design principles. Finally, we introduce the implementation of closed-loop testing capabilities in detail. In order to make sure the system real-time performance, we will make a compute on the model machine, and connect the model machine to the real-time machine via a reflective memory. In the closed-loop test function, the system calculate the next state of the DUT by calling the model solver library. Due to the computational complexity of the model library, and require real-time high, we will put the calculation function on a model machine alone, and connecte the machine model to the real-time machine by a reflective memory board to improve real-time systems.This paper introduces the detailed implementation of closed-loop test function from the model machine, real-time machine and management machine. For model machine, this paper introduces the configuration of the model machine and interface design.It includes the installation and configuration of RTX, model calculation libraries, and model aircraft data reception and transmission. For real-time machine, this paper introduces the process of the task, interface design and code generation. It includes the data transmission interface, data receiving interface, and periodic task control interface; For management machine, this paper has realized the variable configuration, information preservation, and other functions. It introduces the implementation of the management machine’s variable configuration, and the save and restore data operations in XML ways.Finally, in order to ensure the closed-loop test function meets the requirements, we validate the correctness of the closed-loop test function by building some test cases. We also introduce the construction of the test environment and the realization of the test cases code in detail. System functions meet the design requirements and achieve the goal.
Keywords/Search Tags:Embedded software, Closed-loop test, Test platform, Reflective memory
PDF Full Text Request
Related items