Model-Based Programming of Intelligent Embedded Systems Through Offline Compilation
Model-Based Programming of Intelligent Embedded Systems Through Offline Compilation
Model-Based Programming of Intelligent Embedded Systems Through Offline Compilation
M.Tech, Dept. of ECE, Nova College of Engineering & Technology, A.P., India. Asst.Professor, Dept. of ECE, Potti Sriramulu College of Engineering & Technology, A.P., India. interact other than expected, and a rule-based system cannot account for this. Should such a fault occur at a critical mission point, such as orbital insertion, the rule-based engine cannot react, resulting in the loss of the mission? Embedded systems, from automobiles to officebuilding control systems, are achieving unprecedented levels of robustness by dramatically increasing their use of computation. We envision a future with large networks of highly robust and increasingly autonomous embedded systems. These visions include intelligent highways that reduce congestion, cooperative networks of air vehicles for search and rescue, and fleets of intelligent space probes that autonomously explore the far reaches of the solar system. Many of these systems will need to perform robustly within extremely harsh and uncertain environments, or may need to operate for years with minimal attention. To accomplish this, these embedded systems will need to radically reconfigure themselves in response to failures, and then accommodate these failures during their remaining operational lifetime. We support the rapid development of these systems by creating embedded programming languages that are able to reason about and control underlying hardware from engineering models. We call this approach model-based programming.
Abstract - Many recent and future space missions point to the need for increased autonomy in spacecraft with an emphasis on more capable fault diagnostic systems. The most widely used fault diagnostic systems are rule-based. Rule-based systems have quick response to events and clearly present to engineers the predefined reactions to events. These systems, however, require engineers to manually generate all necessary rules and these do not convey the assumed model the engineers used to generate the rules. Contrarily, model-based systems eliminate the need to manually generate the rules. Programming complex embedded systems involves reasoning through intricate system interactions along lengthy paths between sensors, actuators, and control processors. This is a challenging, time-consuming, and error-prone process requiring significant interaction between engineers and software programmers. Furthermore, the resulting code generally lacks modularity and robustness in the presence of failure. Model-based programming addresses these limitations, allowing engineers to program reactive systems by specifying high-level control strategies and by assembling commonsense models of the system hardware and software. KeywordsConstraint programming, model-based autonomy, model-based execution, model-based programming.
I. INTRODUCTION Recent failures in NASAs Mars exploration program point to the need for increased autonomy in spacecraft. Spacecraft must be designed with the capacity to monitor their own systems for unexpected occurrences, and to react in a timely fashion to such conditions at the executive layer, i.e. at the level of real-time commanding. The ability to accurately and rapidly determine the current state of the system is vital to the design of fault protection systems in autonomous spacecraft. Many fault management systems are based on expert systems in which a rulebased diagnostic engine is used to detect faults. For example, the NEAR spacecraft used such a system for limited autonomous operations. This type of systems capability is limited to the rules enumerated in the database. To create these rules, engineers must reason through system wide interactions, consequently, the set of rules is limited by the faults that engineers can recognize. This lack of robustness can be detrimental to the spacecraft. Components may
ISSN: 2231-5381
http://www.internationaljournalssrg.org
Page 24
Figure 2: Monopropellant Propulsion System Schematic The propulsion system comprises two overall subsystems, the tank of hydrazine and its associated pressure transducer, and the hydrazine thruster made up of the solenoid valve, catalyst bed and physical thruster. An inertial sensor is included in the system for thrust observation. The hydrazine thruster is made up of two main components, the solenoid valve and the catalyst bed. The solenoid valve controls the hydrazine flow into the catalyst bed. This is accomplished by applying an electric current to the valve to open it, otherwise it will remain closed. Downstream of the solenoid valve is the catalyst bed, which is needed for combustion. Over time, catalyst can be lost through various mechanisms, such as pieces breaking off due to temperature variations. This will cause a reduction in thrust from the hydrazine thruster, causing the inertial sensor to observe that the thrust is off. In the case
Fig. 3 Simple spacecraft for the orbital insertion scenario. Initial state (left) and goal state (right) are depicted. When both are accomplished, thrust one of the two engines, using the other engine as backup in case of primary engine failure. This specification is far simpler than a control program that must turn on heaters and valve drivers, open valves and interpret sensor readings for the engines shown in the figure. Thinking in terms of more abstract hidden states makes the task of writing the control program much easier and avoids the error-prone process of reasoning through low-level system interactions. In addition, it gives the programs execution kernel the latitude to respond to
ISSN: 2231-5381
http://www.internationaljournalssrg.org
Page 25
ISSN: 2231-5381
http://www.internationaljournalssrg.org
Page 26
A second characteristic of a NEAR-like rule is that different symptoms can lead to the same recovery action, such as the conditions for switching to the redundant charger (rules 3 and 4). These types of rule combinations may have the same resulting action, but lead to a different state for the component. Hidden in these rules then is the state of the power system that the engineer had to determine. For instance, in the case of rule 3, this would mean that the charger has become broken in some way, thus identifying the state, and the model of this mode would come from these symptoms. Mini-ME has also been used as a tool to understand model compilation techniques and its applications. Other such applications that use this technique include a mode estimation capability for the Reactive Model based Programming Language (RMPL) [3], and a reactive planning system, Burton [4]. IV. CONCLUSION Fault protection in spacecraft is a must as missions venture further into space and space systems increase in complexity. The necessity of a system that can perform this fault diagnosis in real time is then a key component. The Mini-ME fault protection system has been shown to meet this goal without any loss of information from a rule-based system. The utilization of system models in Mini-ME allows it to perform diagnosis of components. A model-based approach has many benefits including reusability, compositionality and specification of intuitive models. The use of these models to perform reasoning and deduction has been shifted to an offline operation, an approach that differs from previous systems such as Sherlock and Livingstone. This offline compilation of the models to rules, called dissents, allows Mini-ME to perform fast diagnosis of faults online. Using these
ISSN: 2231-5381
http://www.internationaljournalssrg.org
Page 27