CN101901150A - Universal distributed airborne equipment health management simulation platform and implementation method thereof - Google Patents

Universal distributed airborne equipment health management simulation platform and implementation method thereof Download PDF

Info

Publication number
CN101901150A
CN101901150A CN2010102282339A CN201010228233A CN101901150A CN 101901150 A CN101901150 A CN 101901150A CN 2010102282339 A CN2010102282339 A CN 2010102282339A CN 201010228233 A CN201010228233 A CN 201010228233A CN 101901150 A CN101901150 A CN 101901150A
Authority
CN
China
Prior art keywords
emulation
simulation
model
simulated members
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102282339A
Other languages
Chinese (zh)
Other versions
CN101901150B (en
Inventor
于劲松
陈雄姿
唐荻音
刘浩
李行善
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN 201010228233 priority Critical patent/CN101901150B/en
Publication of CN101901150A publication Critical patent/CN101901150A/en
Application granted granted Critical
Publication of CN101901150B publication Critical patent/CN101901150B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a universal distributed airborne equipment health management simulation platform and an implementation method thereof, and the simulation platform adopts the mediator pattern and mainly comprises three parts of a simulation manager, a simulation member driver and simulation members, wherein the simulation manager is responsible for managing information of all the simulation members, receiving and sending data and carrying out data resolution work; the simulation member driver is used for loading and running all the simulation members and implementing information interaction between the simulation members and the simulation manager; and the simulation members are used for implementing various data calculation and completing the function of the health management technology. The simulation platform is implemented on the basis of a.net framework, on the one hand, the simulation platform can realize the separation between the development of a simulation member object and algorithm model and the interaction design of the simulation members, on the other hand, the simulation platform can highly multiplex the information interaction of the simulation members and software codes for driving the model, thereby not only reducing the workload, but also reducing the complexity in development work.

Description

Universal distributed airborne equipment health management simulation platform and its implementation
Technical field
The present invention relates to aircraft health control technology, relate in particular to a kind of universal distributed airborne equipment health management simulation platform and its implementation.
Background technology
The complex engineering system that modern aircraft is made up of a plurality of subsystems such as navigational system, control system, power system, communication systems, some subsystems wherein itself also belong to the complex engineering system.In the complex engineering system, use the comprehensive health administrative skill and can improve security of system and mission reliability.The research and development difficulty of airborne equipment health management system is big, costly, and its development course is: at first adopt the mode of Digital Simulation checking, achievement in research progressively is applied in the real system again.Aircraft health control technology is in the simulating, verifying stage at present, and aircraft is formed complexity, and system is various, and is if each subsystem is developed a cover health management simulation verification system separately, both uneconomical, also very consuming time.Therefore, in order to allow the health control technician that more fund and energy are put on the health control technical research, it is very significant developing a universal distributed platform that can be used for various airborne equipment health management system emulation checkings.
Health management system arranged architectural study aspect, Boeing Co., Smith's space flight company, University of Washington has developed jointly integrated health management system arranged project management, assessment, develop the groupware instrument of checking, and set up the layered architecture of the health control of seven levels according to international standard OSA/CBM, be respectively: data collection layer, data analysis layer, the status monitoring layer, the health evaluating layer, the predictive diagnosis layer, decision support layer and presentation layer, document [1] sees reference: Keller K, BaldwinA, Ofsthun S, et al.Health management engineering environment and open integration platform[J] .IEEE Aerospace Conference, March 2007).
The distributed simulation technology aspect, the interface that the HLA/RTI system provides an individual system framework, simulation frame and a group to be used for swap data for different distributed simulations.High Level Architecture HLA is the ieee standard that a cover makes up distributing emulation system, and operation support environment RTI (Run-Time Infrastructure) is a service routine according to the exploitation of HLA interface specification.But, realize that a distributed emulation platform of observing the HLA standard fully is a very complicated job, sometimes very difficultly also there is no need to do like this, some theories that only need to use for reference HLA get final product.
At present, domestic aircraft health control Study on Technology is in the starting stage, and the research of this respect also seldom still goes out to be used for the health management system arranged universal distributed simulation and verification platform of aircraft without any a company, unit or personal development.
Summary of the invention
In order to solve problems of the prior art, fundamental purpose of the present invention is to provide a kind of method that realizes the universal distributed airborne equipment health management system simulation platform under the .net framework.The emulation platform that the inventive method realizes can be used for the health management system arranged distributed emulation checking of various airborne equipments, and each simulated members can load various by the M model file of Matlab exploitation or the dynamic link library model file of Simulink file and the exploitation of various higher level lanquage flexibly in the analogue system simultaneously.
Described emulation platform adopts tertium quid's pattern, mainly comprises emulation manager, simulation member driver and three parts of simulated members; Described emulation manager is in charge of the information of each simulated members, the reception and the transmission of data, and data parsing work; Simulation member driver is used for the various simulated members of load operating, and realizes the information interaction between simulated members and the emulation manager; Simulated members is used to carry out various data solvers, finishes the function of health control technology; Each simulated members sends the data to the emulation manager by simulation member driver, and it is other simulated members of data source that the emulation manager is transmitted to this simulated members according to the relation of the data source between each simulated members.
Described emulation manager comprises emulation management form module, Simulation Control module, information about firms administration module and communication server module, emulation management form module wherein belongs to presentation layer, user interface is provided, and the user can control the startup of emulation manager and close and be provided with correlation parameter by this user interface; The Simulation Control module belongs to the emulation logic layer, has played tertium quid's effect, is responsible for the main body logic of operation emulation; Technology realizes that layer comprises information about firms administration module and communication server module; Information about firms administration module inside comprises a simulated members information table, and this simulated members information table is responsible for safeguarding the essential information of current each simulated members that is connected with the emulation manager and the interoperation relation between simulated members.
Described simulation member driver mainly comprises Simulation drive form module, emulation transit module, universal model driver module, timer module and communication customer end module, wherein the Simulation drive form module belongs to presentation layer, the emulation transit module belongs to the emulation logic layer, and universal model driver module, timer module and communication customer end module belong to technology and realize layer; Described Simulation drive form module provides the public operation interface of simulated members;
The emulation transit module is responsible for handling the emulation logic of the simulated members that is driven;
The effect of timer module is to trigger a timed events at set intervals to advance emulation, and this timed events is associated with emulation performing artist's relevant call back function; The behavior of timer module comprises startup timing, termination timing and fixed time interval is set;
The communication server module of communication customer end module in the emulation manager constitute the communication construction of client/server, thereby realized communicating by letter between simulation member driver and emulation manager; The behavior of communication customer end module comprises to communication server module to be initiated to connect, send simulation interactive information to communication server module, also need to be provided with an incident simultaneously, when the interactive information that receives from communication server module, trigger this incident, handle thereby interactive information is submitted to the emulation performing artist;
The universal model driver module is the bridge that connects simulation member driver and simulated members entity, dynamic link library model-driven device class and Matlab model-driven device class have been defined, wherein dynamic link library model-driven device class is used for driving the model of dynamic link library form, and Matlab model-driven device class is used for driving the model of M file or Simulink document form
Described simulated members comprises object model or algorithm model file, model description file and three parts of member's form module, object model or algorithm model file are realized health management system arranged concrete function, the algorithm model file is M model file or Simulink model file, perhaps dynamic link library model file; The model description file is used for the information of description object model or algorithm model file, comprises the input/output variable and the type information thereof of object model or algorithm model file name and path, model, is used for simulation member driver and loads realistic model; Member's form module is used to the object information that shows that simulated members emulation is resolved.
The invention has the advantages that:
(1) described emulation platform is based on the realization of .net framework, existing assembly and distinctive mechanism in the framework, for example Socket assembly, reflex mechanism, serialization support etc.; Simultaneously, the complete Object-Oriented Design of framework support and stride language development, these all greatly reduce the difficulty of platform development.
(2) platform of the present invention adopts tertium quid's pattern, and platform is divided into health management simulation manager, simulation member driver and simulated members three parts.Simulation member driver provides and the mutual unified interface of emulation manager on the one hand, and the unified interface of dynamic load all kinds simulated members is provided on the other hand.When simplifying the simulated members interactive relation, guarantee that emulation platform has good versatility.Under the situation of not revising the emulation platform software code, can be on emulation platform the object model and the health control algorithm model of the multiple form of the various airborne equipments of dynamic load operating, thereby the various different airborne equipments of simulating, verifying is health management system arranged.
(3) under the support of this common simulation platform, the developer can be absorbed in the design of the object model or the algorithm model of simulated members in the concrete application more, and needn't be concerned about that how to make these simulated members correctly mutual.Realized exploitation the separating with between simulated members mutual design of simulated members object so on the one hand with algorithm model, make the software code height of the information interaction of simulated members and model-driven multiplexing on the other hand, not only reduce workload, and reduced the complexity of development.
Description of drawings
Fig. 1 is airborne equipment health management simulation platform operating structure figure provided by the invention;
Fig. 2 is an airborne equipment health management simulation platform propulsion mode classification chart;
Fig. 3 is an airborne equipment health management simulation platform simulation node classification chart;
Fig. 4 is emulation manager and simulation member driver hierarchical diagram;
Fig. 5 is the structural drawing of emulation manager;
Fig. 5 a is information and a handling function thereof between emulation manager and the simulated members;
Fig. 6 is the simulation member driver structural drawing;
Fig. 7 is the simulated members structural drawing;
Fig. 8 realizes figure for the simulated members form module;
Fig. 9 is simulation interactive logical diagram between emulation manager and the simulation member driver;
Figure 10 realizes figure for communication between emulation manager and the simulation member driver;
Figure 11 is that simulation member driver model-driven module realizes figure;
Figure 12 is an airborne equipment health management simulation platform simulation operations process flow diagram.
Embodiment
Below in conjunction with accompanying drawing emulation platform provided by the invention and its implementation are elaborated.
The invention provides a kind of universal distributed airborne equipment health management simulation platform, described simulation platform structure as shown in Figure 1, tertium quid's pattern is adopted in the realization of described emulation platform, mainly comprises airborne equipment health management simulation manager 1 (being called for short emulation manager 1), health management simulation member driver 2 (being called for short simulation member driver 2) and three parts of health management simulation member (being called for short simulated members 3).Described emulation manager 1 is in charge of the information of each simulated members 3, the reception and the transmission of data, and data parsing work, does not need to carry out any emulation and resolves; Described simulation member driver 2 is used for the various simulated members 3 of load operating, and realizes the information interaction between simulated members 3 and the emulation manager 1; Described simulated members 3 is used to carry out various data solvers, finishes the function of health control technology.Each simulated members 3 sends the data to emulation manager 1 by each self-corresponding simulation member driver 2, and it is other simulated members of data source that emulation manager 1 is transmitted to this simulated members 3 according to the relation of the data source between each simulated members 3.
With reference to the OSA/CBM standard, use for reference " federation " notion of HLA, divide six federations altogether, be respectively 1. destination object federation, 2. signal Processing federation, 3. status monitoring federation, 4. health evaluating federation, the 5. federal and 6. decision support federation of predictive diagnosis, sequence number has been represented the neighbouring relations between each layer federation.All comprise n simulated members and the federal node of emulation in each federation, each federal member in all federations is all as a simulated members, pass through simulation member driver, link the emulation manager, thereby form a distributed airborne health management simulation platform with modularization and stratification characteristics.Arrow among Fig. 1 is represented data transmission relations.In airborne equipment health management simulation platform, except that the 1. destination object federation that produces raw data, the input data of every layer of federation are all from the output data of adjacent federation of lower floor.The simulated members that is positioned at same federation all is positioned on health management system arranged same one deck, so there are not data transmission relations between them, the propelling of emulation can walk abreast and carry out.
In the distributed emulation platform, often have the interoperation relation of more complicated between each simulated members, each simulated members often needs to understand two even more other simulated members, has so just formed the graph of a relation of more complicated.The present invention adopts tertium quid's pattern, can reduce the degree of coupling between simulated members.Described tertium quid's pattern comprises:
1. tertium quid role: tertium quid role realizes the cooperation behavior by the role that coordinates respectively to work together, and it will know and quote each colleague role for this reason.
2. abstract colleague role: definition tertium quid object is to the unified interface of colleague's object, guarantees that each colleague's object only knows tertium quid's object, and do not know remaining colleague's object.
3. the role specifically works together: each colleague role knows tertium quid role, and when communicating by letter with other colleague role, must be by tertium quid role's cooperation.
Tertium quid's pattern uses independent tertium quid's object to simplify the complex interaction behavior of each colleague's object.With reference to the solution of tertium quid's pattern, set up airborne equipment health management simulation manager 1 among the present invention and simplify complex interaction behavior between the simulated members.In the process of simulation run, in the program under each simulated members 3 operates in separately, these processes all establish a communications link with the emulation manager 1 that plays tertium quid's effect, and do not need mutual understanding between the simulated members 3, also needn't establish a communications link.Emulation manager 1 is in charge of the essential information of each simulated members 3, sets up and safeguard the various interactive relations of 3 of simulated members, sends interoperability order and reception and distribution interaction datas according to the interactive relation of 3 of simulated members to simulated members 3.
In tertium quid's pattern, abstract colleague role is each concrete colleague's common interface that the role had, and guarantees that all concrete colleagues carry out alternately with identical form and tertium quid, and the tertium quid needn't be concerned about concrete colleague's internal act.Abstract colleague role in the emulation platform is a simulation member driver 2, and it is divided into two parts: a part is the interface mutual with emulation manager 1, and concerning all simulated members 3, this part is identical; Another part is the 3 concrete emulation behaviors of operation simulated members, has nothing in common with each other at each simulated members 3.Concerning each simulated members 3, these two parts of simulation member driver 2 should operate in the same process, a part is as the inlet of program run, compile executable program, the file that another part calls as this executable program can be dynamic link library or other form of supporting this method of calling.Because be convenient to develop the interface with good versatility under the .net framework, the scheme that the present invention determines is that public interactive interface is compiled as executable program, the concrete behavior of simulated members 3 is compiled the dynamic library file that is called by interface routine.
In simulation process, moving an emulation manager 1 and some simulation member driver 2 simultaneously, each simulation member driver 2 is all set up two-way communication with emulation manager 1 and is got in touch, and different simulated members 3 operates in respectively in each simulation member driver 2.It is the star topology at center with emulation manager 1 that all simulated members 3 and emulation manager 1 have constituted one in communication aspects.By such institutional framework, each simulated members 3 of distributed simulation can intercom synthetic operation mutually.In addition, the federal node of the emulation in each federation is also respectively by the intercommunication between each self-corresponding simulation member driver realization and the emulation manager.The emulation propulsion mode one of emulation platform provided by the invention has two kinds, as shown in Figure 2, is respectively clock propelling and data source and advances.Airborne health management system arranged emulation is as the simulation of actual engineering system, the emulation propulsion mode that should adopt clock to advance on the whole.
In the distributed emulation that clock advances, the management of simulation clock is the major issue that needs solution.The present invention simplifies the problem of simulation time management according to the characteristics of airborne health management system arranged architecture.In same emulation constantly, the upper strata federation in the complex apparatus health management simulation platform all needs to obtain just to carry out emulation after the federal output data of adjacent with it lower floor resolves, so resolving of emulation must be carried out according to certain order.When arriving certain emulation constantly the time, at first carry out emulation and resolve by destination object federation, will resolve the result and pass to signal Processing federation, signal Processing federation carries out emulation and resolves then, by that analogy, at last until decision support federation.Though some the time, the output meeting of decision support federation is as the input of destination object federation, affected in this case is next input of destination object federation constantly, so can not form interlocking.According to these health management system arranged characteristics, the federal node of the emulation in the destination object federation is set to clock and advances, and the federal node of the emulation in other federations is set to data source and advances.Concrete propelling strategy is as follows:
1. only in destination object federation, simulation clock is set, and certain simulation time propelling step-length t is set sAdvance step-length t with the real time r, initial emulation is 0 constantly.Every t rTime timer triggers a timed events, and simulation time increases t s, and carrying out emulation propelling, issue simulation result and simulation time are at that time given emulation manager 1.
2. the federal simulation result of emulation manager 1 being transmitted of destination object advances trigger event as the emulation of signal Processing federation.Like this after destination object federation finishes emulation and advances, signal Processing federation reads simulation result and simulation time information from the releasing news of destination object federation, carry out an emulation then immediately and advance, and issues simulation result and simulation time at that time equally.All the other each layer federations also adopt with the federal identical mode of signal Processing and advance emulation, with the federal emulation propelling trigger event of issuing simulation result as oneself of the lower floor that is adjacent.
3. according to the health management system arranged reality of concrete equipment, if the output meeting of decision support federation exerts an influence to next input of destination object federation constantly, also federal emulation advances trigger event as destination object so just will to go up the federal issue of a decision support constantly simulation result, except that the emulation first time advanced, only destination object federation just carried out the emulation propelling after the timed events of this incident and timer all takes place.
Described each federal inside has a plurality of simulated members, and the simulated members of same federation all is positioned on health management system arranged same one deck, so there are not data transmission relations between them, the propelling of emulation can walk abreast and carry out.When federation began certain emulation propelling, federal inner simulated members also began to advance emulation, has all finished the emulation propelling up to all inside simulated members, and the emulation of whole federation advances and just finishes.
The classification of simulated members realizes situation as shown in Figure 3 among the present invention.The emulation propulsion mode is peeled off out from the behavior of simulated members, the emulation behavior of all simulated members can be united, promptly obtain the input data from emulation manager 1 under certain condition, carry out emulation and advance, finish and after emulation advances the result is exported to emulation manager 1.Because different simulated members 3 have similar behavior, so this emulation platform gets up their behavioral unity, in order to guarantee that emulation platform has better generality, on higher level simulated members 3 is divided into two classes: a class is the entity node that drives the operation artificial physical, and another kind of is to be responsible for some simulated members 3 are organized into a federal node of the emulation in the federation.The internal act of two kinds of nodes when emulation advances is different, and the entity node carries out inside and resolves, and the result is resolved in output.And the federal node of emulation need send the data to all and joins this federal simulated members and carry out emulation and advance.After each simulated members is finished the emulation propelling, the result of this information and output can be submitted to the federal node of emulation, the federal node of emulation is all finished in its corresponding all federal simulated members and simulation result is exported after emulation advances again, and an emulation of this federation advances and just finishes.In addition, if the federal inside of certain level correspondence has only a simulated members, can represent this federation with an entity node so, the operation that also can omit many interaction logic when operation claims that this simulated members is an isolated node this time.
Emulation manager 1 and simulation member driver 2 all adopt hierarchy among the present invention, and the information interaction implementation method between each level as shown in Figure 4.Both hierarchical structures are identical, and the particular content of each layer is then different.Described hierarchical structure is divided into three layers altogether, is respectively presentation layer, emulation logic layer and technology from top to bottom and realizes layer.Presentation layer provides the interface with the operation user interactions, is used for receiving user's instruction and shows various simulation status information.The emulation logic layer is the bridge that connects presentation layer and technology realization layer, present two aspects of the acting body of emulation logic layer, and the one, receive user instruction from presentation layer, calling technology realizes the relevant action of layer execution; The one, capture technique is realized the state variation of layer, it is communicated to presentation layer shows.Technology realization layer is made up of some independently modules, storage emulation state and model data that these modules have, the specific implementation that provides the required various functions of emulation platform that has, the reading and the loading of model program and drive function etc. of these functional packet includes network communication functions, software timing function, model description file.The information of each level two-way circulates between adjacent layer, and the containing in the .net framework is quoted with commit event mechanism and can be achieved easily.The upper strata object is realized by containing quoting of lower floor's object the visit of lower floor's object, and lower floor's object then is to realize by the commit event that the member method with the upper strata object is associated with in lower floor's object to the visit of upper strata object.The operational order that could guarantee top layer like this is communicated to bottom, and the state variation of bottom can be notified top layer simultaneously.
The structure of emulation manager 1 realizes as shown in Figure 5 among the present invention.Described emulation manager 1 comprises emulation management form module 101, Simulation Control module 102, information about firms administration module 103 and communication server module 104, emulation management form module 101 wherein belongs to presentation layer, user interface is provided, and the user can control the startup of emulation manager 1 and close and be provided with correlation parameter by this user interface.Simulation Control module 102 belongs to the emulation logic layer, has played tertium quid's effect, is responsible for the main body logic of operation emulation.In whole simulation system, Simulation Control module 102 receives and resolves the various interactive information from each simulated members 3, as required to each simulated members 3 transmit operation information.Technology realizes that layer comprises information about firms administration module 103 and communication server module 104.Information about firms administration module 103 inside comprise a simulated members information table, and this simulated members information table is responsible for safeguarding the interoperation relation of 3 of the essential information of current each simulated members 3 that is connected with emulation manager 1 and simulated members.The type of simulated members information table is the key-value pair set, and key is the simulated members title, and value is a self-defining structure, describes the relevant information of simulated members 3.Communication between application program is the function that the whole simulation platform must be realized, with reference to the client/server framework, in emulation manager 1 deploy communication server module 104, in simulation member driver 2 deploy communication customer end modules 205.Communication server module 104 has been exactly the object of server effect.The function that communication server module 104 needs to realize comprises the connection request of intercepting and replying 3 pairs of emulation managers 1 of new simulated members, receives the information of simulated members 3 transmissions that have been connected to emulation manager 1, information is sent to the simulated members 3 of appointment.Socket server among Fig. 5 is the concrete communication server that adopts the Socket technology to realize.
The information about firms that comprises in the described simulated members information table is realized shown in Fig. 5 a.The simulated members information table need be safeguarded two parts information, and a part is the self information of each simulated members 3, and another part is the relation information between the simulated members 3.These information all are stored in the structure of key-value pair set.The self information of described simulated members 3 comprises node type, current simulation time and three attributes of input variable, and node type wherein comprises three kinds of the federal node of entity node, emulation and isolated nodes; Current simulation time is obtained by emulation manager 1 when simulated members 3 issue output datas and shows that the user monitors the emulation progress of each simulated members 3 by the emulation manager interface; The title of input variable is the foundation that data send, and emulation manager 1 is called basis with the name of input variable, and the data of data supplier output are filtered, and only the extracting section that the take over party is concerned about comes out to transmit, and has avoided waste of network resources.More than the self information of three attribute description simulated members because the simulated members title exists as key assignments, so the simulated members name attribute needn't be included in the structure of key-value pair set again.Sub federal title and these two attributes of a relation of data set provider title under relation information between the described simulated members 3 comprises, the value of described two attributes of a relation can be sky, if for empty then be necessary for the name of certain already present simulated members.For guaranteeing the consistance of data, the set of storing all simulated members information will be packaged in the information about firms administration module 103, outside can only carry out limited operation to the simulated members information table by five interface functions, described interface function comprises: adds new simulated members function, upgrade the appointment simulated members the simulation time function, be provided with simulated members the federal function of affiliated son, inquire about all simulated members functions and the data set provider function of simulated members be set.
The structure of the simulation member driver 2 among the present invention realizes as shown in Figure 6.Described simulation member driver 2 mainly comprises Simulation drive form module 201, emulation transit module 202, universal model driver module 203, timer module 204 and communication customer end module 205, wherein Simulation drive form module 201 belongs to presentation layer, emulation transit module 202 belongs to the emulation logic layer, and universal model driver module 203, timer module 204 and communication customer end module 205 belong to technology and realize layer.Described Simulation drive form module 201 provides the public operation interface of the health management system arranged simulated members of complex apparatus, comprises following function:
1. the loading of simulation object: by the object model of simulated members 3 or algorithm model file 301 and member's form module 303 being loaded in the simulation member driver 2 with correct form to the page guiding user of conduction;
The control of 2. simulation run flow process: startup, time-out and the termination of control emulation;
3. the setting of simulation interactive relation: initiate to connect to emulation manager 1 by guidance panel, the interoperation relation mutual with other simulated members 3 is set;
4. health management system arranged fault is injected: the difference according to simulation object shows the failure mode that can inject, and the fault of every kind of demonstration can be chosen and be injected in the realistic model;
5. show artificial intelligence: the information that shows on guidance panel comprises the session content of this section point and emulation manager 1, current emulation constantly and the essential information of the simulated members 3 of being loaded provides a container that is used to dispose with the explicit user forms simultaneously.
In the framework of simulation member driver 2, emulation transit module 202 is to belong to emulation logic layer object, and it is responsible for handling the emulation logic of the simulated members 3 that is driven.Identical with the Simulation Control module 102 in the emulation manager 1, emulation transit module 202 has also played tertium quid's effect in program inside.Emulation transit module 202 has following function:
1. the technology of obtaining realizes the simulation interactive information that layer object submitted to, and resolves and handle according to relevant emulation logic;
2. receive the user instruction from presentation layer, the functional module of calling technology realization layer is finished the driving to realistic model;
3. the Simulation drive form module 201 of the interactive information that receives being submitted to presentation layer in time by case mechanism shows.
Timer module 204 is one of functional modules of technology realization layer, and its effect is to trigger a timed events at set intervals to advance emulation, and this incident is associated with emulation performing artist's relevant call back function.The behavior of timer module 204 comprises startup timing, termination timing and fixed time interval is set.Timed events only just can trigger under the situation that timer module 204 starts.
Communication customer end module 205 also is to be under the jurisdiction of the functional module that technology realizes layer, its communication server module 104 in emulation manager 1, constitute the communication construction of client/server, thereby realized communicating by letter of simulation member driver 2 and 1 of emulation manager.The behavior of communication customer end module 205 comprises to communication server module 104 to be initiated to connect, send simulation interactive information to communication server module 104 etc., also need to be provided with an incident simultaneously, when the interactive information that receives from communication server module 104, trigger this incident, handle thereby interactive information is submitted to emulation transit module 202.Owing to communicating by letter between the communication server that has only use identical type realization technology and the communication customer end, also defined the concrete communication Socket client that adopts the Socket technology here, corresponding with the Socket server in the emulation manager 1.
Technology realizes that another functional module of layer is a universal model driver module 203, and it is the bridge that connects simulation member driver 2 and simulated members 3.Dynamic link library model-driven device and Matlab model-driven device have been defined.Wherein dynamic link library model-driven device is used for driving the model by the dynamic link library form of C language or the exploitation of other higher level lanquages, and Matlab model-driven device is used for driving by the M file of Matlab exploitation or the model of Simulink document form.
The structure of each simulated members realizes as shown in Figure 7 among the present invention, and it comprises object model or algorithm model file 301, model description file 302 and 303 3 parts of member's form module.Object model or algorithm model file 301 are realized health management system arranged concrete function, as produce object data, assessment health status, prediction fault etc., the algorithm model file can be M model file or the Simulink model file by the Matlab exploitation, perhaps the dynamic link library model file of being developed by C language or other higher level lanquages; Model description file 302 is used for the information of description object model or algorithm model file 301, comprises information such as the input/output variable of object model or algorithm model file name and path, model and type thereof.A vital role of model description file 302 is to be used for simulation member driver 2 to load realistic model.Member's form module 303 is used to the object information that shows that simulated members 3 emulation are resolved.
The implementation method of member's form module 303 that described simulated members 3 comprises as shown in Figure 8.The part input/output information of member's form module 303 special display object models and algorithm model, to different object models and algorithm model, the kind of its input is often different, the particular problem that is solved also has nothing in common with each other, in this case, also should use different display interfaces, so member's form module 303 is that dynamic load is on simulation member driver 2.Because member's form module 303 separates with algorithm model with object model, therefore must provide relevant interface to send the inputoutput data of object model and algorithm model to member's form module 303.Here adopt reflection technology, designed a form module base class, in the form module base class, comprised empty method, be used for the information interaction with realistic model, can be used as the base class of all display interfaces.All member's form modules 303 all as the derived class of this form module base class, are programmed in respectively in the different procedure sets, and rewrite empty method according to own characteristic.Simulation member driver 2 is obtained member's form module 303 according to simulated members information from procedure set type information and instantiation, reflection is loaded in the container of Simulation drive form module 303.
Interaction logic between emulation manager 1 of the present invention and the simulation member driver 2 realizes as shown in Figure 9.On the emulation logic layer, the structure of interactive information is divided into order and parameter two parts.The two receives first resolve command after the interactive information, then according to command calls related function deal with data and carry out emulation logic.The simulation interactive logic is divided into four major parts, is respectively that simulated members registration logic, simulated members interactive relation are provided with logic, interaction data transmission logic and simulated members and withdraw from logic.
1. simulated members registration logic: realization be to make certain simulated members 3 set up annexation with emulation manager 1, thereby add the function of associative simulation.At first, new simulated members can send the request that adds associative simulation to emulation manager 1, comprises title, type and three parameters of input parameter, wherein title and type, be respectively the title and the simulation node type of this simulated members 3, input parameter is the title of this simulated members input variable.The Simulation Control module 102 of emulation manager end receive at first judge this simulated members 3 after this request name whether and added other simulated members conflicts of associative simulation, if there is no Name Conflict then allows its adding, the information of this simulated members 3 is recorded in the simulated members information table, reply the information of approval adding associative simulation, reply the information of its adding of refusal if existence conflicts.
2. the simulated members interactive relation is provided with logic: show as mainly that data send and receive relation and the federal affiliated setting that concerns.The simulated members 3 that has added associative simulation can send solicited message to emulation manager 1, other simulated members 3 is set to the data source (also crying data set provider) of oneself with certain, described solicited message comprises member Name and DSN, and the title of simulated members of request and the title in its data designated source are sent in expression.Emulation manager 1 after receiving this request at first the simulated members 3 of judgment data source name correspondence whether exist, if there is this information of relevant interface function setup of then calling the simulated members information table, and reply the information that data set provider is provided with success, otherwise directly reply the information that failure is set.In addition, data source is set for convenience, each simulated members 3 can so just can directly be selected the data source of already present other simulated members 3 as oneself to current other simulated members 3 that registered on the emulation manager 1 of emulation manager 1 inquiry.
The process of simulated members 3 adding emulation federations is basic identical with the process that data source is set, and the emulation logic that relates to is also roughly the same.Because adding between this federal simulated members 3 threes in emulation manager 1, the federal node of emulation and request, informational needs transmits.For example when simulated members A request added federal B, simulated members A was to the request of the federal B of emulation manager 1 proposition adding, and emulation manager 1 is transmitted to this request the federal node of emulation of federal B correspondence.Federal B approval or joining request of refusal simulated members A also need to transmit by emulation manager 1.
3. interaction data transmission logic: at first be that simulated members 3 advances the back to submit the logic of simulation result in each emulation, submit to the logic parameter of simulation result to comprise title and propelling time, name is called the simulated members title of submitting data to, and the propelling time is resolved the simulation time of correspondence as a result for this emulation.In addition, all simulation results also all are stored in the Hash table according to the corresponding relation of name and value.After emulation manager 1 receives simulation result, the result is sent to other nodes that this simulated members is set to data source, if this simulated members belongs to certain federation, data also will be submitted to the federal node of emulation of this federation's correspondence.
4. simulated members withdraws from logic: in order to guarantee the integrality of logic, also need to add the logic that simulated members initiatively withdraws from associative simulation.Send the request of withdrawing from by simulated members 3 to emulation manager 1, described withdrawing from asks to comprise a name parameter, and the simulated members title of associative simulation is withdrawed from representative.Emulation manager 1 is received after this withdraws from request the information of simulated members title correspondence is deleted from the simulated members information table, also will will empty the information of this simulated members, and the transmission data source withdraws from the information of associative simulation to all other relevant simulated members as data source.
The communication server module 104 in the emulation manager 1 of the present invention and the implementation method of the communication customer end module 205 in the simulation member driver 2 are as shown in figure 10.The traffic control of airborne equipment health management simulation platform has strict logical order, so the present invention uses the Socket technology to carry out network development, the communication protocol of selecting for use is the Transmission Control Protocol towards reliable connection, adopts the design proposal of synchronous communication mode and multithreading simultaneously.Except main thread, also to open up a thread that receives data in communication customer end module 205.Communication server module 104 also will be opened up independent thread to receive their communication request to each simulated members (client) that has been connected to server except main thread.In the Windows system, only in the main thread of creating window interfaces, could operate, otherwise can search the mistake exception throw because of handle map to the demonstration control on interface and the interface..net the Invoke method of control class provides good solution in the framework, and control object is called this Invoke method, and its related function just will be carried out in the thread of creating this control object, and the present invention adopts this method to wake main thread up.Therefore SocketServerCtrl class and SocketClientCtrl class have been defined, the thread that connection is intercepted in the former management, in 104 instantiations of communication server module, the thread of latter's management of data received is simultaneously in communication server module 104 and 205 instantiations of communication customer end module.These two derived class that class all is the control base class have contained TcpListener object and TcpClient object respectively, and publicly-owned trust member variable is provided, and thread function also all occurs with the form of these two class members's functions.Call the Invoke method makes and entrusts the function of variable association to call in main thread in the processing section of the loop body of thread function.Thread management like this, the data of intercepting and send, receive of Socket have all obtained good encapsulation.The outside can be as using other controls to use this two classes easily.
In addition, in the exploitation of web application, the form that data must change into stream just can send.In the .net class libraries, the transmission of network data and reception can realize by the network flow object, the data layout of its support is the array of binary type, thus need to adopt serialization and anti-serialized technology, but the specific implementation of object serialization itself is very complicated work..net class libraries provides the BinaryFormatter class to be used for convenient realize binary serialization and anti-serialization.Its advantage is that speed is fast, can the privately owned or shielded member of serial, and all compatible in the .net of different editions.
The implementation method of simulation member driver 2 driving simulated members 3 as shown in figure 11 among the present invention.Mainly comprise the realization of universal model driver module 203 in the realization of model description file 302 in the simulated members 3 and the simulation member driver 2.
1. the implementation method of simulated members model description file 302.
Realize the versatility of airborne health management simulation platform provided by the invention, the simulated members model must possess the characteristic of self-described.Model self-described is meant and comprises the information that self-acting, performance, behavior and IO interface can be described in the realistic model, and this information can be read by universal model driver module 203.The model development mode of this emulation platform support has two kinds, and a kind of Matlab of being to use software is developed, and the form of institute's generation model is M model file or Simulink model file; A kind of C language or other higher level lanquages of being to use developed, and the form of generation model is the dynamic link library model file.The model of Matlab exploitation is not possess the self-described function, and the model of C or the exploitation of other higher level lanquages does not in most of the cases possess the self-described function yet.Therefore, the present invention adopts the XML description document to describe health management simulation member model information.When system moved, simulation member driver 2 at first read simulated members information from model description file 302, and realistic model is loaded and driven to simulation member driver 2 according to the content of simulated members information then.The advantage that the XML description document is described health management system arranged model is: artificial readable strong, make things convenient for computing machine read-write and self descriptiveness good, and in the .net framework, provide good XML to support simultaneously.For general simulated members 3, the information that it will be described comprises data message and control information two parts.Data message refers to the interface message that these simulated members 3 emulation are resolved, and comprises input data and output data two parts.Control information refers to state and the corresponding state behavior of execution down that this simulated members 3 has.For general XML model description file 302, the tables of data that needs to set up comprises the related argument table of Basic Information Table, input variable table, output variable table, emulation reserved instruction table, simulation initialisation instruction list, emulation END instruction table, bug list and fault etc.
The attribute of Basic Information Table comprises model file title, model file path, model file kind and model name etc., and the parameter type of these attributes is character string.Wherein the model file title refers to the title of the pairing M file of model, Simulink model file or dynamic link library file, and the model file path is exactly the file directory at above file place.Universal model driver module 203 finds model file by these two information in system, and with its loading.The model file kind is crucial information, universal model driver module 203 is not all Model Selection proper model driver according to version, when version is M or Simulink model file, universal model driver module 203 can be selected Matlab model-driven device automatically, when version was dynamic link library, universal model driver module 203 can be selected dynamic link library model-driven device.Model name is an additional parameter, and when model was the Matlab model, this parameter was exactly the Matlab model name, and universal model driver module 203 will be opened model according to this title.When model was the dynamic link library model, universal model driver module 203 will be according to the related object of this parametric configuration dynamic base.Because each XML model description file only is responsible for describing a model, so always there is and has only a record in the Basic Information Table.
Input/output information when input variable table and the emulation of output variable table difference descriptive model advance.These two tables all comprise name variable, types of variables and mutual these three attributes of title.Name variable is the unique identification of variable in simulated members inside, and by developer's decision of object model or algorithm model, according to the difference of version, its practical significance is also different.Mutual title is the unique identification of variable on whole distributed simulation system, by developer's decision of design and simulation system architecture.In the process that each realistic model is developed separately, the developer may use identical name variable in different realistic models.If model built-in variable title also as the unique identification of variable on whole simulation system, may be found irrelevant simulated members input/output variable Name Conflict so when uniting and adjustment, this just needs to revise realistic model, has reduced development efficiency.Even the developer of different realistic models can link up in advance, exploitation is restricted, can not avoid the generation of this class problem fully, and communication itself also can influence development progress.So name variable and mutual name region need be separated.Types of variables is crucial information, and system will be a variable assignments when the simulation interactive according to types of variables, and especially for Matlab model-driven device, the operation that it is given the simple variable assignment and carries out for array assignment is different.The number that writes down in input variable table and the output variable table is different according to concrete model, and one of them table also can be sky sometimes.
For a specific simulated members 3, the action of simulated members 3 comprises that emulation preparation, emulation propelling and emulation stop three kinds.When emulation prepared, simulated members 3 was carried out the initialization of some state parameters, and the work such as loading of model.When emulation advanced, simulated members 3 received the input data, carried out an emulation and resolved, and the result is resolved in output then.When emulation stops, model will unload, and some relevant resources will be released.These work that simulation object carries out when emulation preparation, emulation propelling and emulation stop to be divided into two kinds.A kind ofly belong to the operation that all will carry out all models of the same type, such as the startup of Matlab engine with close, the loading of dynamic link library, these operations realize by the universal model driver module 203 of simulation member driver 2; Another kind belongs to specific operation, and according to the difference of model, its behavior meeting is different, and these operate in the model description file 302 and realize.Universal model driver module 203 is carried out these specific operations by the instruction name information driving model of storing in emulation reserved instruction table, simulation initialisation instruction list and the emulation END instruction table.
The not all model of bug list all needs, and has only the model that fault need be set just to have bug list.The attribute of bug list comprises fault Name and Description title two parts.Because the present invention realizes airborne equipment health management simulation platform, so fault is also as the unitized part of platform, all faults all are presented in the Simulation drive form module 201, the user can dynamically add fault in simulation process, be exactly the label information that shows in each Simulation drive form module 201 and describe title.
Record in related argument table of fault and the bug list is corresponding, to each fault, a fault contingency table identical with its title is arranged all.The attribute of fault contingency table comprises under associated variable title, the malfunction variate-value under variate-value and the health status.When the user was provided with certain fault, universal model driver module 203 can be according to the fault name lookup to the fault contingency table, and all variablees are set to variate-value under the malfunction in the fault contingency table.Record count in the related argument table of fault is generally 1, but also might therefore not merge with bug list when design for a plurality of.
2. the implementation method of universal model driver module 203.
Simulation member driver 2 by universal model driver module 203 be provided with realistic model input parameter, the output data that reads realistic model, driving model resolves and inject fault to model, so universal model driver module 203 need provide external interface method at these functions.In order to drive different types of realistic model, factory mode has been used in the design of universal model driver module 203.Matlab model-driven device class and dynamic link library model-driven device class have been defined, Matlab model-driven device class is used for driving by the M file of Matlab exploitation or the model of Simulink document form, and dynamic link library model-driven device class is used for driving the model by the dynamic link library form of C language or the exploitation of other higher level lanquages.
Matlab model-driven device: Matlab is very outstanding simulation modeling instrument, in the airborne health management system arranged simulation study stage, no matter be the object model modeling, still the various algorithms of system health state analysis are developed with Matlab mostly, so be necessary the driving function of integrated Matlab on emulation platform, when loading, just only need write model description file 302 like this, needn't all additionally write at every turn and call the Matlab functional programs by the object model of Matlab exploitation and algorithm model.The method of the com component of the present invention by calling Matlab under the .net framework realizes.
Dynamic link library model-driven device: the present invention adopts distinctive reflex mechanism under the .net framework to realize the flexible loading of dynamic link library cleverly.Reflection is a powerful instrument for the developer, but it allows the developer to make up the application program of dynamic expansion.But airborne equipment health management simulation platform just can be considered to the application program of a dynamic expansion, the model of dynamic link library form can be counted as the expansion of application program, therefore can use reflection technology to realize the loading and the driving of dynamic base form realistic model.
Procedure set of developing under the .net platform and module have the self-described function, and compiler can be created relevant type definition table, Field Definition table and method definition list etc. for them when procedure set generates.Under the support of reflection technology, procedure set can be loaded as data file.Simultaneously can obtain all types information of procedure set, and further obtain the constructed fuction information of each class in the procedure set, method information and attribute information etc., thus the object in the procedure set is operated.In actual applications, may run into various model dynamic library files, their derivative function has nothing in common with each other, and may be the trustship dynamic link library file of writing under the .net environment, also may be the non-trustship dynamic link library file of not writing under the .net development environment.In order to adapt to both of these case to guarantee the versatility of platform, the method that the present invention taked is to set up an emulation to act on behalf of the transient program collection, this is a dynamic base of being write exploitation under the .net framework by C++/CLI, in this dynamic base, comprise the fixing emulation of a title and act on behalf of base class, such has some fixing methods and realizes emulation behaviors, as the preparation of the read-write of variable, emulation, advance and stop etc.Act on behalf of the dynamic library file that transient program is concentrated reference model in this emulation, the behavior of model is contained in the emulation proxy class, simulation member driver 2 loads this emulation by reflection and acts on behalf of the transient program collection, thereby has loaded the dynamic library file of model indirectly.Emulation is acted on behalf of the transient program collection and is played the unified interface effect, specifically comprises following entrance functions:
A.Sim_Initialize: notification model is carried out the emulation preparation, and this method does not have parameter;
B.Sim_End: notification model finishes emulation, and this method does not have parameter yet;
C.Sim_Advanced: notification model is carried out an emulation and is resolved;
D.GetVarValue: the value that obtains named variable;
E.SetVarValue: the value that named variable is set.
In addition, the variable of a Hash table type of transient program collection internal build is acted on behalf of in emulation, all allow the variable of external reference all to be stored in this Hash table, and the realization of GetVarValue and SetVarValue method has just become the read-write to the Hash table intermediate value like this.Simultaneously, C++/CLI is the C++ under the hosting environment, and it is in traditional C ++ the basis on contained the relevant visit grammer of managed object again.If the model dynamic base is non-trustship, acts on behalf of the transient program collection with the emulation of C++/CLI exploitation so and just can be used as the tie that connects both just.
The simulation operations process flow diagram of emulation platform of the present invention as shown in figure 12.
The first step: operation emulation manager 1 on any PC in LAN (Local Area Network), selecting communication modes in emulation management form module 101 is Socket, starts the Socket server then.In whole process, emulation management form module 101 shows the work state information of each simulated members 3;
Second step: start client-side program, move simulation member driver 2 on any PC in LAN (Local Area Network), at first dispose the information of simulated members i, select the emulation role for first, the federal node of isolated node, entity node or emulation; Select propulsion mode for second, data source advances still clock propelling; Select to load XML model description file and simulated members forms for the 3rd; The 4th is provided with simulated members title, communication modes Socket, and the IP address of server place PC.For the model that loads is the simulated members of object model, also needs to be provided with emulation and resolves cycle, simulation time step-length and actual regularly step-length.
The 3rd step: the emulation preparation: first, after XML model description file and simulated members forms loaded into, the Connection Service device promptly added emulation, if unsuccessful, the reason according to the failure information searching failure of returning reconnects after the change; Second is carried out the emulation setting, and for the simulated members in the destination object federation, propulsion mode is that clock advances, and such simulated members can be provided with the model fault in simulation process.Simulated members in other federations, propulsion mode all are that data source advances, and at first carry out the emulation setting, and the simulated members that inquiry has been linked is selected the data source (being data set provider) of the simulated members conduct oneself in oneself the last layer federation.The 3rd the federal node emulation preparation of emulation, simulation member driver 2 is according to the XML model description running paper model file that loads, the initialization of completion status parameter, and the loading of model.
The 4th step: carry out artificial tasks: after all simulated members i that will participate in associative simulation finish second step and the 3rd simulation configurations work that goes on foot, each simulated members all starts emulation, when emulation advances, simulated members in the destination object federation produces object model data with the clock propulsion mode, simulated members in other federation receives the input data of own data source, triggering is carried out an emulation and is resolved the result that output emulation was resolved after task was finished, a simulation process end.
The 5th step: when artificial tasks was finished, each simulation member node stopped emulation, the unloading model, and discharge some relevant resources.

Claims (10)

1. universal distributed airborne equipment health management simulation platform is characterized in that: described emulation platform adopts tertium quid's pattern, mainly comprises emulation manager, simulation member driver and three parts of simulated members; Described emulation manager is in charge of the information of each simulated members, the reception and the transmission of data, and data parsing work; Simulation member driver is used for the various simulated members of load operating, and realizes the information interaction between simulated members and the emulation manager; Simulated members is used to carry out various data solvers, finishes the function of health control technology; Each simulated members sends the data to the emulation manager by simulation member driver, and it is other simulated members of data source that the emulation manager is transmitted to this simulated members according to the relation of the data source between each simulated members.
2. universal distributed airborne equipment health management simulation platform according to claim 1, it is characterized in that: described emulation manager comprises emulation management form module, Simulation Control module, information about firms administration module and communication server module, emulation management form module wherein belongs to presentation layer, user interface is provided, and the user can control the startup of emulation manager and close and be provided with correlation parameter by this user interface; The Simulation Control module belongs to the emulation logic layer, has played tertium quid's effect, is responsible for the main body logic of operation emulation; Technology realizes that layer comprises information about firms administration module and communication server module; Information about firms administration module inside comprises a simulated members information table, and this simulated members information table is responsible for safeguarding the essential information of current each simulated members that is connected with the emulation manager and the interoperation relation between simulated members.
3. universal distributed airborne equipment health management simulation platform according to claim 2, it is characterized in that: the information about firms that described simulated members information table comprises is embodied as: the simulated members information table is safeguarded two parts information, a part is the self information of each simulated members, another part is the relation information between the simulated members, and these information all are stored in the structure of key-value pair set; The self information of described simulated members comprises node type, three attributes of current simulation time and input variable, sub federal title and these two attributes of a relation of data set provider title under relation information between the described simulated members comprises, the set of all simulated members information is packaged in the information about firms administration module, limited operation can only be carried out to the simulated members information table by five interface functions in the outside, and described interface function comprises: add new simulated members function, upgrade the simulation time function of specifying simulated members, the federal function of affiliated son of simulated members is set, inquire about all simulated members functions and the data set provider function that simulated members is set.
4. universal distributed airborne equipment health management simulation platform according to claim 1, it is characterized in that: described simulation member driver mainly comprises Simulation drive form module, emulation transit module, universal model driver module, timer module and communication customer end module, wherein the Simulation drive form module belongs to presentation layer, the emulation transit module belongs to the emulation logic layer, and universal model driver module, timer module and communication customer end module belong to technology and realize layer; Described Simulation drive form module provides the public operation interface of simulated members;
The emulation transit module is responsible for handling the emulation logic of the simulated members that is driven;
The effect of timer module is to trigger a timed events at set intervals to advance emulation, and this timed events is associated with emulation performing artist's relevant call back function; The behavior of timer module comprises startup timing, termination timing and fixed time interval is set;
The communication server module of communication customer end module in the emulation manager constitute the communication construction of client/server, thereby realized communicating by letter between simulation member driver and emulation manager; The behavior of communication customer end module comprises to communication server module to be initiated to connect, send simulation interactive information to communication server module, also need to be provided with an incident simultaneously, when the interactive information that receives from communication server module, trigger this incident, handle thereby interactive information is submitted to the emulation transit module;
The universal model driver module is the bridge that connects simulation member driver and simulated members entity, dynamic link library model-driven device and Matlab model-driven class have been defined, wherein dynamic link library model-driven device is used for driving the model of the dynamic link library form of C language or the exploitation of other higher level lanquages, and Matlab model-driven device class is used for driving the M file of Matlab exploitation or the model of Simulink document form.
5. according to claim 2 or 4 described universal distributed airborne equipment health management simulation platforms, it is characterized in that: communication server module in the described emulation manager and the communication customer end module in the simulation member driver are embodied as: the Socket server and client side all is designed to the .net control class, relies on the intrinsic Invoke method realization communication thread management of control under the .net framework and the information interaction between the thread.
6. universal distributed airborne equipment health management simulation platform according to claim 4, it is characterized in that: described universal model driver module is embodied as: the transient program collection is acted on behalf of in exploitation emulation, it is a dynamic base of being write exploitation under the .net framework by C++/CLI, in this dynamic base, comprise the fixing emulation of a title and act on behalf of base class, such has some fixing methods and realizes the emulation behavior, act on behalf of the dynamic library file that transient program is concentrated reference model in this emulation, the behavior of model is contained in the emulation proxy class, in conjunction with the .net reflex mechanism, realize Simulation drive various trustships of device dynamic load and unmanaged dynamic link library model; Described fixing method mainly is meant the read-write of variable, the perhaps preparation of emulation, advances and stops.
7. universal distributed airborne equipment health management simulation platform according to claim 1, it is characterized in that: described simulated members comprises object model or algorithm model file, model description file and three parts of member's form module, object model or algorithm model file are realized health management system arranged concrete function, the algorithm model file is M model file or Simulink model file, perhaps dynamic link library model file; The model description file is used for the information of description object model or algorithm model file, comprises the input/output variable and the type information thereof of object model or algorithm model file name and path, model, is used for simulation member driver dynamic load realistic model; Member's form module is used to the object information that shows that simulated members emulation is resolved.
8. universal distributed airborne equipment health management simulation platform according to claim 7, it is characterized in that: described model description file is embodied as: adopt XML format description health control object model and algorithm model, the information that describe comprises data message and control information two parts; Data message refers to the interface message that this simulated members emulation is resolved, and comprises input data and output data two parts, and control information refers to state and the corresponding state behavior of execution down that this simulated members has; For general XML model description file, the tables of data that needs to set up comprises the related argument table of Basic Information Table, input variable table, output variable table, emulation reserved instruction table, simulation initialisation instruction list, emulation END instruction table, bug list and fault.
9. universal distributed airborne equipment health management simulation platform according to claim 7, it is characterized in that: described member's form module is embodied as: adopt the .net reflection technology, design a form module base class, in the form module base class, comprise empty method, be used for the information interaction with realistic model, as the base class of all display interfaces; All member's form modules all as the derived class of this form module base class, are programmed in respectively in the different procedure sets, and rewrite empty method according to own characteristic; Simulation member driver is obtained member's form module according to simulated members information from procedure set type information and instantiation, reflection is loaded in the container of Simulation drive form module.
10. the emulation mode of the described emulation platform of claim 1 is characterized in that:
The first step: operation emulation manager on any PC in LAN (Local Area Network), selecting communication modes in emulation management form module is Socket, start the Socket server then, in whole process, emulation management form module shows the work state information of each simulated members;
Second step: start client-side program, move simulation member driver on any PC in LAN (Local Area Network), at first dispose the information of simulated members i, select the emulation role for first, the federal node of isolated node, entity node or emulation; Select propulsion mode for second, data source advances still clock propelling; Select to load XML model description file and simulated members forms for the 3rd; The 4th is provided with simulated members title, communication modes Socket, and the IP address of server place PC; For the model that loads is the simulated members of object model, also needs to be provided with emulation and resolves cycle, simulation time step-length and actual regularly step-length;
The 3rd step: emulation preparation: first, after XML model description file and simulated members forms load into, the Connection Service device, if unsuccessful, the reason according to the failure information searching failure of returning reconnects after the change; Second is carried out the emulation setting, and for the simulated members in the destination object federation, propulsion mode is that clock advances, and such simulated members can be provided with the model fault in simulation process; Simulated members in other federations, propulsion mode all are that data source advances, and at first carry out the emulation setting, and the simulated members that inquiry has been linked is selected the data source of the simulated members conduct oneself in oneself the last layer federation; The 3rd the federal node emulation preparation of emulation, simulation member driver is according to the XML model description running paper model file that loads, the initialization of completion status parameter, and the loading of model;
The 4th step: carry out artificial tasks: after all simulated members i that will participate in associative simulation finish second step and the 3rd simulation configurations work that goes on foot, each simulated members all starts emulation, when emulation advances, simulated members in the destination object federation produces object model data with the clock propulsion mode, simulated members in other federation receives the input data of own data source, triggering is carried out an emulation and is resolved the result that output emulation was resolved after task was finished, a simulation process end;
The 5th step: when artificial tasks was finished, each simulation member node stopped emulation, the unloading model, and discharge some relevant resources.
CN 201010228233 2010-07-08 2010-07-08 Universal distributed airborne equipment health management simulation platform and implementation method thereof Expired - Fee Related CN101901150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010228233 CN101901150B (en) 2010-07-08 2010-07-08 Universal distributed airborne equipment health management simulation platform and implementation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010228233 CN101901150B (en) 2010-07-08 2010-07-08 Universal distributed airborne equipment health management simulation platform and implementation method thereof

Publications (2)

Publication Number Publication Date
CN101901150A true CN101901150A (en) 2010-12-01
CN101901150B CN101901150B (en) 2013-03-27

Family

ID=43226703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010228233 Expired - Fee Related CN101901150B (en) 2010-07-08 2010-07-08 Universal distributed airborne equipment health management simulation platform and implementation method thereof

Country Status (1)

Country Link
CN (1) CN101901150B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184288A (en) * 2011-05-05 2011-09-14 北京航空航天大学 All-digital simulation system and method for infrared imaging system
CN103473389A (en) * 2013-08-12 2013-12-25 北京理工大学 Universal model applied to HLA (High Level Architecture) distributed simulation technology
CN103716397A (en) * 2013-12-30 2014-04-09 中国电子科技集团公司第二十八研究所 Marching method for service-oriented simulation clock
CN103888478A (en) * 2014-04-18 2014-06-25 中国人民解放军91655部队 Multi-system compatible distributed simulation operational control method
CN104239631A (en) * 2014-09-10 2014-12-24 中国运载火箭技术研究院 Distributed simulation image synchronizing system based on HLA (High Level Architecture)
CN105792270A (en) * 2014-12-24 2016-07-20 国家电网公司 Discrete event simulation method applied to WiMAX (World Interoperability for MicrowaveAccess) system and platform thereof
CN103312552B (en) * 2012-03-12 2017-02-08 北京泰乐德信息技术有限公司 Data simulation method, data simulation machine and communication system of data simulation machine
CN107195202A (en) * 2016-03-15 2017-09-22 空中客车运营简化股份公司 Center is assisted in flight management for multiple aircraft
CN107239400A (en) * 2017-06-09 2017-10-10 山东超越数控电子有限公司 A kind of NandFlash abrasion equilibriums emulation platform
CN108279885A (en) * 2017-01-03 2018-07-13 中国航发商用航空发动机有限责任公司 A kind of method and device that multiple model codes are carried out with Integrated Simulation
CN109002663A (en) * 2018-09-14 2018-12-14 中车齐齐哈尔车辆有限公司 A kind of emulation mode and emulation platform
CN109100952A (en) * 2017-06-21 2018-12-28 北京航空航天大学 Distributed semi-physical emulates Space Vehicle Health management system region inference machine
CN110262374A (en) * 2019-06-18 2019-09-20 北京金自天正智能控制股份有限公司 A kind of development platform of rolling process control system
CN110784545A (en) * 2019-10-31 2020-02-11 上海埃威航空电子有限公司 Real-time data distribution system
CN111078416A (en) * 2019-11-28 2020-04-28 中国运载火箭技术研究院 LVC gateway for dynamically cutting publish-subscribe relationship
CN111258707A (en) * 2020-01-08 2020-06-09 北京仿真中心 Distributed simulation method and system based on DDS service encapsulation
CN111400895A (en) * 2020-03-12 2020-07-10 上海机电工程研究所 Multi-level and multi-granularity cross-domain joint simulation event scheduling method and system
CN112463676A (en) * 2020-11-26 2021-03-09 青岛蓝天航空科技有限公司 Universal interface card of flight simulator cabin simulation equipment
CN112749180A (en) * 2021-01-19 2021-05-04 上海复佳信息科技有限公司 Data management method, electronic device, and computer-readable storage medium
CN112925575A (en) * 2020-12-29 2021-06-08 中国航空工业集团公司沈阳飞机设计研究所 Airborne simulation operation method based on framework and plug-in
CN115017016A (en) * 2022-08-09 2022-09-06 中国电子科技集团公司第十研究所 Design method of airborne health management domain with multi-level model fusion
CN115599002A (en) * 2022-12-16 2023-01-13 中国航空工业集团公司西安飞机设计研究所(Cn) Method and device for monitoring state life of airborne PHM system
CN115598999A (en) * 2022-12-14 2023-01-13 中国航空工业集团公司西安飞机设计研究所(Cn) Verification method and device for fault diagnosis function of airborne PHM system
CN116149801A (en) * 2023-04-18 2023-05-23 商飞软件有限公司 Airborne maintenance and health management simulation system and simulation method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425762B1 (en) * 1998-02-24 2002-07-30 Wind River Systems, Inc. System and method for cosimulation of heterogeneous systems
CN1804804A (en) * 2005-11-23 2006-07-19 中国航天科技集团公司第一研究院 Distributed interactive simulation platform based on HLA and implementing method thereof
CN101465071A (en) * 2009-01-08 2009-06-24 上海交通大学 Multi-platform target tracking and distribution interactive simulation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425762B1 (en) * 1998-02-24 2002-07-30 Wind River Systems, Inc. System and method for cosimulation of heterogeneous systems
CN1804804A (en) * 2005-11-23 2006-07-19 中国航天科技集团公司第一研究院 Distributed interactive simulation platform based on HLA and implementing method thereof
CN101465071A (en) * 2009-01-08 2009-06-24 上海交通大学 Multi-platform target tracking and distribution interactive simulation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘安,冯金富,胡杰,董奇帅: "数字化机载武器控制系统半实物仿真平台研究", 《系统仿真学报》, vol. 21, no. 1, 31 January 2009 (2009-01-31), pages 96 - 99 *

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184288A (en) * 2011-05-05 2011-09-14 北京航空航天大学 All-digital simulation system and method for infrared imaging system
CN103312552B (en) * 2012-03-12 2017-02-08 北京泰乐德信息技术有限公司 Data simulation method, data simulation machine and communication system of data simulation machine
CN103473389A (en) * 2013-08-12 2013-12-25 北京理工大学 Universal model applied to HLA (High Level Architecture) distributed simulation technology
CN103473389B (en) * 2013-08-12 2016-04-20 北京理工大学 A kind of universal model being applied to HLA distributed simulation technology
CN103716397A (en) * 2013-12-30 2014-04-09 中国电子科技集团公司第二十八研究所 Marching method for service-oriented simulation clock
CN103716397B (en) * 2013-12-30 2016-09-21 中国电子科技集团公司第二十八研究所 A kind of service-oriented simulation clock propulsion method
CN103888478A (en) * 2014-04-18 2014-06-25 中国人民解放军91655部队 Multi-system compatible distributed simulation operational control method
CN104239631A (en) * 2014-09-10 2014-12-24 中国运载火箭技术研究院 Distributed simulation image synchronizing system based on HLA (High Level Architecture)
CN104239631B (en) * 2014-09-10 2017-04-05 中国运载火箭技术研究院 A kind of distributed emulation image synchronizing system based on HLA
CN105792270A (en) * 2014-12-24 2016-07-20 国家电网公司 Discrete event simulation method applied to WiMAX (World Interoperability for MicrowaveAccess) system and platform thereof
CN107195202A (en) * 2016-03-15 2017-09-22 空中客车运营简化股份公司 Center is assisted in flight management for multiple aircraft
CN107195202B (en) * 2016-03-15 2021-07-13 空中客车运营简化股份公司 Flight management assistance center for a plurality of aircraft
CN108279885A (en) * 2017-01-03 2018-07-13 中国航发商用航空发动机有限责任公司 A kind of method and device that multiple model codes are carried out with Integrated Simulation
CN108279885B (en) * 2017-01-03 2021-04-09 中国航发商用航空发动机有限责任公司 Method and device for integrating software of multiple model codes
CN107239400A (en) * 2017-06-09 2017-10-10 山东超越数控电子有限公司 A kind of NandFlash abrasion equilibriums emulation platform
CN109100952A (en) * 2017-06-21 2018-12-28 北京航空航天大学 Distributed semi-physical emulates Space Vehicle Health management system region inference machine
CN109002663A (en) * 2018-09-14 2018-12-14 中车齐齐哈尔车辆有限公司 A kind of emulation mode and emulation platform
CN110262374A (en) * 2019-06-18 2019-09-20 北京金自天正智能控制股份有限公司 A kind of development platform of rolling process control system
CN110262374B (en) * 2019-06-18 2021-06-08 北京金自天正智能控制股份有限公司 Development platform of steel rolling process control system
CN110784545A (en) * 2019-10-31 2020-02-11 上海埃威航空电子有限公司 Real-time data distribution system
CN110784545B (en) * 2019-10-31 2022-02-11 上海埃威航空电子有限公司 Real-time data distribution system
CN111078416A (en) * 2019-11-28 2020-04-28 中国运载火箭技术研究院 LVC gateway for dynamically cutting publish-subscribe relationship
CN111078416B (en) * 2019-11-28 2023-08-29 中国运载火箭技术研究院 LVC gateway for dynamically cutting and publishing subscription relationship
CN111258707A (en) * 2020-01-08 2020-06-09 北京仿真中心 Distributed simulation method and system based on DDS service encapsulation
CN111258707B (en) * 2020-01-08 2023-05-12 北京仿真中心 Distributed simulation method and system based on DDS service encapsulation
CN111400895B (en) * 2020-03-12 2023-03-17 上海机电工程研究所 Multi-level and multi-granularity cross-domain joint simulation event scheduling method and system
CN111400895A (en) * 2020-03-12 2020-07-10 上海机电工程研究所 Multi-level and multi-granularity cross-domain joint simulation event scheduling method and system
CN112463676A (en) * 2020-11-26 2021-03-09 青岛蓝天航空科技有限公司 Universal interface card of flight simulator cabin simulation equipment
CN112925575A (en) * 2020-12-29 2021-06-08 中国航空工业集团公司沈阳飞机设计研究所 Airborne simulation operation method based on framework and plug-in
CN112749180A (en) * 2021-01-19 2021-05-04 上海复佳信息科技有限公司 Data management method, electronic device, and computer-readable storage medium
CN115017016A (en) * 2022-08-09 2022-09-06 中国电子科技集团公司第十研究所 Design method of airborne health management domain with multi-level model fusion
CN115017016B (en) * 2022-08-09 2022-11-22 中国电子科技集团公司第十研究所 Design method of airborne health management domain with multi-level model fusion
CN115598999A (en) * 2022-12-14 2023-01-13 中国航空工业集团公司西安飞机设计研究所(Cn) Verification method and device for fault diagnosis function of airborne PHM system
CN115599002A (en) * 2022-12-16 2023-01-13 中国航空工业集团公司西安飞机设计研究所(Cn) Method and device for monitoring state life of airborne PHM system
CN115599002B (en) * 2022-12-16 2023-04-14 中国航空工业集团公司西安飞机设计研究所 Method and device for monitoring state life of airborne PHM system
CN116149801A (en) * 2023-04-18 2023-05-23 商飞软件有限公司 Airborne maintenance and health management simulation system and simulation method

Also Published As

Publication number Publication date
CN101901150B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN101901150B (en) Universal distributed airborne equipment health management simulation platform and implementation method thereof
CN109522002B (en) Unmanned aerial vehicle ground satellite station open architecture based on model drive
CN101946258B (en) Model based deployment of computer based business process on dedicated hardware
CN102184288B (en) All-digital simulation system and method for infrared imaging system
Padgham et al. Adding debugging support to the Prometheus methodology
Bliudze et al. Exogenous coordination of concurrent software components with JavaBIP
Costa et al. Towards the adoption of OMG standards in the development of SOA-based IoT systems
CN103455647A (en) Reflective-type object-oriented simulation engine
Hu et al. Multi-tenant Verification-as-a-Service (VaaS) in a cloud
CN111783312A (en) Military simulation model based on OWL and resource description method
Bouabana-Tebibel et al. An object-oriented approach to formally analyze the UML 2.0 activity partitions
CN116107564B (en) Data-oriented cloud native software device and software platform
Shmelkin Monitoring for control in role-oriented self-adaptive systems
Sirjani et al. Model Checking, Automated Abstraction, and Compositional Verification of Rebeca Models.
Balasubramanian et al. Drems ml: A wide spectrum architecture design language for distributed computing platforms
Cagnin et al. PARFAIT: Towards a framework-based agile reengineering process
Vassev et al. The ASSL approach to specifying self‐managing embedded systems
Allison et al. Synthesizing interpreted domain-specific models to manage smart microgrids
Giallonardo et al. Semantics-driven programming of self-adaptive reactive systems
Melo A model-driven middleware approach to reduce the semantic gap between application domains and the generic infrastructure of smart cities
Teiniker et al. A test-driven component development framework based on the CORBA component model
Xu et al. Formal verification technique for grid service chain model and its application
Kulankhina A framework for rigorous development of distributed components: formalisation and tools
Sanders A Call for a New Army Modeling Framework
Iliasov et al. Towards formal development of mobile location-based systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130327

Termination date: 20130708