CN101901150B - 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
CN101901150B
CN101901150B CN 201010228233 CN201010228233A CN101901150B CN 101901150 B CN101901150 B CN 101901150B CN 201010228233 CN201010228233 CN 201010228233 CN 201010228233 A CN201010228233 A CN 201010228233A CN 101901150 B CN101901150 B CN 101901150B
Authority
CN
China
Prior art keywords
simulation
model
simulated members
emulation
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.)
Expired - Fee Related
Application number
CN 201010228233
Other languages
Chinese (zh)
Other versions
CN101901150A (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 the Aircraft Health administrative skill, 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 comprised 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.Use the integrated health management technology in the complex engineering system and can improve security of system and mission reliability.The research and development difficulty of airborne equipment health management system is large, 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.The Aircraft Health administrative skill is in the simulating, verifying stage at present, and aircraft forms complexity, and system is various, and is if each subsystem is developed separately a cover health management simulation verification system, 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, exploitation is to 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 of developing according to the HLA interface specification.But, realize that a Distributed Simulation Platform of observing the HLA standard fully is a very complicated job, sometimes very difficult also there is no need done like this, and some theories that only need to use for reference HLA get final product.
At present, the research of Domestic Aircraft health control technology is in the starting stage, and the research of this respect also seldom still goes out universal distributed simulation and verification platform for the Aircraft Health management system 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 the dynamic link library model file that various M model files by the Matlab exploitation or Simulink file and various higher level lanquage are developed flexibly in the analogue system simultaneously.
Described emulation platform adopts tertium quid's pattern, mainly comprises simulation management device, simulation member driver and three parts of simulated members; Described simulation management device is in charge of the information of each simulated members, reception and the transmission of data, and Data Analysis work; Simulation member driver is used for the various simulated members of load operating, and realizes the information interaction between simulated members and the simulation management device; Simulated members is used for carrying out various data solvers, finishes the function of health control technology; Each simulated members sends the data to the simulation management device by simulation member driver, and the simulation management device concerns other simulated members that are transmitted to take this simulated members as data source according to the data source between each simulated members.
Described simulation management device comprises simulation management form module, Simulation Control module, information about firms administration module and communication server module, simulation management form module wherein belongs to presentation layer, user interface is provided, and the user can control the startup of simulation management device and close and arrange 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 simulation management device 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 processing the emulation logic of the simulated members that drives;
The effect of timer module is to trigger at set intervals a timed events to advance emulation, and this timed events is associated with emulation performance person'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 simulation management device consist of the communication construction of client/server, thereby realized communicating by letter between simulation member driver and simulation management device; 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 simultaneously to arrange an event, trigger this event when the interactive information that receives from communication server module, the person processes thereby interactive information is submitted to the emulation performance;
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 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 for showing the object information of simulated members simulation and calculation.
The invention has the advantages that:
(1) described emulation platform is based on the .net framework and realizes existing assembly and distinctive mechanism in the framework, such as 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 the unified interface mutual with the simulation management device 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.In the situation of not revising the Simulation Platform Software code, can be on emulation platform object model and the health control algorithm model of the various airborne equipment multiple formats of dynamic load operating, thereby the various different airborne equipments of simulating, verifying is health management system arranged.
(3) under the support of this General Simulation Platform, the developer can be absorbed in the design of 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 so on the one hand exploitation the separating with between simulated members interaction design of simulated members object with algorithm model, make on the other hand the software code height of the information interaction of simulated members and model-driven multiplexing, 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 airborne equipment health management simulation platform propulsion mode classification chart;
Fig. 3 is airborne equipment health management simulation platform simulation node classification chart;
Fig. 4 is simulation management device and simulation member driver hierarchical diagram;
Fig. 5 is the structural drawing of simulation management device;
Fig. 5 a is information and handling function thereof between simulation management device and the simulated members;
Fig. 6 is the simulation member driver structural drawing;
Fig. 7 is the simulated members structural drawing;
Fig. 8 is simulated members form module realization figure;
Fig. 9 is simulation interactive logical diagram between simulation management device and the simulation member driver;
Figure 10 is communication realization figure between simulation management device and the simulation member driver;
Figure 11 is simulation member driver model-driven module realization figure;
Figure 12 is 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 simulation management device 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 simulation management device 1 is in charge of the information of each simulated members 3, reception and the transmission of data, and Data Analysis work, does not need to carry out any simulation and calculation; 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 simulation management device 1; Described simulated members 3 is used for carrying out various data solvers, finishes the function of health control technology.Each simulated members 3 sends the data to simulation management device 1 by each self-corresponding simulation member driver 2, and simulation management device 1 concerns other simulated members that are transmitted to take this simulated members 3 as data source according to the data source between each simulated members 3.
With reference to the OSA/CBM standard, use for reference " federation " concept of HLA, divide altogether six federations, be respectively 1. destination object federal, 2. signal process federal, 3. status monitoring is federal, 4. health evaluating is federal, 5. predictive diagnosis is federal and 6. decision support is federal, sequence number has represented the neighbouring relations between each layer federation.Comprise n simulated members and a simulation federation node in each federation, each federal member in all federations is as a simulated members, pass through simulation member driver, link the simulation management device, thereby form a distributed airborne health management simulation platform with modularization and administrative levels characteristics.Arrow among Fig. 1 represents data transmission relations.In airborne equipment health management simulation platform, except 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 the health management system arranged same layer, so there are not data transmission relations between them, the propelling of emulation can walk abreast and carry out.
In Distributed Simulation 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 pass through tertium quid's role collaboration.
The independent tertium quid's object of tertium quid's pattern using is simplified 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 simulation management device 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.Simulation management device 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 the common interface that each concrete colleague role has, 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 simulation member driver 2, and it is divided into two parts: a part is the interface mutual with simulation management device 1, and concerning all simulated members 3, this part is identical; Another part is the 3 concrete emulation behaviors of operation simulated members, and is different for 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 entrance of program operation, 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 simultaneously a simulation management device 1 and some simulation member driver 2, each simulation member driver 2 is set up two-way communication with simulation management device 1 and is contacted, and different simulated members 3 operates in respectively in each simulation member driver 2.All simulated members 3 and simulation management device 1 have consisted of a star topology centered by simulation management device 1 in communication aspects.By such institutional framework, each simulated members 3 of distributed simulation can intercom synthetic operation mutually.In addition, the simulation federation node in each federation is also respectively by the intercommunication between each self-corresponding simulation member driver realization and the simulation management device.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 Practical Project system, the emulation propulsion mode that should adopt on the whole clock to advance.
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 can carry out simulation and calculation after the adjacent with it lower floor federal output data, so resolving of emulation must be carried out according to certain order.When arriving certain emulation during the moment, at first carry out simulation and calculation by destination object federation, calculation result is passed to signal process federation, then signal processing federation carries out simulation and calculation, and is by that analogy, last until decision support is federal.Although some the time, the output meeting of decision support federation is as the input of destination object federation, affected in this case is next constantly input of destination object federation, so can not form interlocking.According to these health management system arranged characteristics, be that clock advances with the simulation federation Node configuration in the destination object federation, the simulation federation Node configuration in other federations is that data source 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 at that time are to simulation management device 1.
2. the federal simulation result of destination object of simulation management device 1 being transmitted is processed federal emulation as signal and is advanced trigger event.Like this after destination object federation finishes emulation and advances, signal is processed and is federally read simulation result and simulation time information from the releasing news of destination object federation, and then carries out immediately an emulation and advances, and issues equally simulation result and simulation time at that time.All the other each layer federations also adopt with the federal identical mode of signal processing and advance emulation, and the federation of lower floor that is adjacent is issued simulation result as the emulation propelling trigger event of oneself.
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 constantly input of destination object federation, so just also federal emulation advances trigger event as destination object with the federal issue of upper one constantly decision support simulation result, except the emulation first time advanced, only destination object federation just carried out the emulation propelling after the timed events of this event and timer all occurs.
May there be a plurality of simulated members described each federal inside, and the simulated members of same federation all is positioned on the health management system arranged same layer, 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, until all inside simulated members have all been finished the emulation propelling, 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, namely obtain the input data from simulation management device 1 under certain condition, carry out emulation and advance, finish and after emulation advances the result is exported to simulation management device 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 versatility, 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 simulation federation node 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 output calculation result.And the simulation federation node need to 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 simulation federation node, the simulation federation node 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 federal inside corresponding to certain level only has 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 isolated node this time.
Simulation management device 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 altogether three layers, is respectively from top to bottom presentation layer, emulation logic layer and technology 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 the 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 realizes that layer is comprised 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, these functions comprise the loading of reading of network communicating function, software timing function, model description file and model program and drive function etc.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 to the access of lower floor's object by contain lower floor's object quote realize that 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 access of upper strata object.The operational order of guarantee top layer is communicated to bottom like this, and the state variation of bottom can be notified top layer simultaneously.
The structure of simulation management device 1 realizes as shown in Figure 5 among the present invention.Described simulation management device 1 comprises simulation management form module 101, Simulation Control module 102, information about firms administration module 103 and communication server module 104, simulation management form module 101 wherein belongs to presentation layer, user interface is provided, and the user can control the startup of simulation management device 1 and close and arrange 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 analogue 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 simulation management device 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 whole emulation platform must be realized, with reference to the client/server framework, in simulation management device 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 simulation management devices 1 of new simulated members, receives the information of simulated members 3 transmissions that have been connected to simulation management device 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 to 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 entity node, simulation federation node and isolated nodes; Current simulation time is obtained by simulation management device 1 when simulated members 3 issue output data and shows that the user monitors the emulation progress of each simulated members 3 by simulation management device interface; The title of input variable is the foundation that data send, and simulation management device 1 is called basis with the name of input variable, and the data of data supplier output are filtered, and the extracting section of only take over party being concerned about is out transmitted, and has avoided the waste of Internet 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 data's consistency, 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, arrange 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 functions:
1. the loading of simulation object: by to the page guiding user of conduction 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;
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 simulation management device 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 at guidance panel comprises the session content of this section point and simulation management device 1, the essential information of the current emulation moment and the simulated members 3 of loading provides a container that is used for disposing and showing user's 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 processing the emulation logic of the simulated members 3 that drives.Identical with the Simulation Control module 102 in the simulation management device 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 process 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 by case mechanism the interactive information that receives being submitted to presentation layer in time shows.
Timer module 204 is one of functional modules of technology realization layer, and its effect is to trigger at set intervals a timed events to advance emulation, and this event is associated with emulation performance person'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 in 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 simulation management device 1, consist of the communication construction of client/server, thereby realized communicating by letter of simulation member driver 2 and 1 of simulation management device.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 simultaneously to arrange an event, when the interactive information that receives from communication server module 104, trigger this event, process thereby interactive information is submitted to emulation transit module 202.Owing to communicating by letter between the communication server that only has 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 simulation management device 1.
Technology realizes that another functional module of layer is 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, the dynamic link library model file of perhaps 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 the 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 load realistic model for simulation member driver 2.Member's form module 303 is used for showing the object information of simulated members 3 simulation and calculations.
The implementation method of member's form module 303 that described simulated members 3 comprises as shown in Figure 8.Member's form module 303 special part input/output informations that show object model and algorithm model, to different object models and algorithm model, the kind of its input/output argument is often different, the particular problem that solves is also different, 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 simulation management device 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 arrange 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 simulation management device 1, thereby add the function of associative simulation.At first, new simulated members can send the request that adds associative simulation to simulation management device 1, comprises title, type and three parameters of input parameter, wherein title and type, be respectively 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 simulation management device 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, with the information recording/of this simulated members 3 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 arranges logic: main manifestations is data input and data output relation and the federal affiliated setting that concerns.The simulated members 3 that has added associative simulation can send solicited message to simulation management device 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 the data source of the title of simulated members of request and its appointment is sent in expression.Simulation management device 1 judges at first after receiving this request whether simulated members corresponding to DSN 3 exists, if there is this information of relevant interface function setup of then calling the simulated members information table, and reply data set provider successful information is set, otherwise directly reply the information of setup failed.In addition, for data source conveniently is set, each simulated members 3 can to current other simulated members 3 that registered on the simulation management device 1 of simulation management device 1 inquiry, so just can directly select already present other simulated members 3 as the data source of oneself.
The process of simulated members 3 adding simulation 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 simulation management device 1, simulation federation node 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 simulation management device 1 proposition adding, and simulation management device 1 is transmitted to simulation federation node corresponding to federal B with this request.Federal B approval or joining request of refusal simulated members A also need to transmit by simulation management device 1.
3. interaction data transmission logic: at first be simulated members 3 is submitted simulation result to after each emulation advances logic, 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 simulation time corresponding to this simulation and calculation result.In addition, all simulation results also all are stored in the Hash table according to the corresponding relation of name and value.After simulation management device 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 simulation federation node 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 simulation management device 1, described withdrawing from asks to comprise a name parameter, and the simulated members title of associative simulation is withdrawed from representative.Simulation management device 1 receive this withdraw from request after the information that the simulated members title is corresponding from the simulated members information table, delete, also will will empty the information of this simulated members as data source, and the transmission data source withdraws from the information of associative simulation to all other relevant simulated members.
Communication server module 104 in the simulation management device 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 is the Transmission Control Protocol towards reliable connection, adopts simultaneously the design proposal of synchronous communication mode and multithreading.Except main thread, also to open up the thread of a receive 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 that creates window interfaces, could the demonstration control on interface and the interface be operated, otherwise can search the mistake exception throw because of handle map..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 that creates 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 respectively TcpListener object and TcpClient object, 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.Such thread management, Socket intercept and transmission, receive data have all obtained good encapsulation.This two classes can be used easily in the outside as using other controls.
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 sending and receiving of network data can be realized by the network flow object, the data layout of its support is the array of binary type, thus need to adopt the technology of serialization and Deserializing, but the specific implementation of object serialization itself is very complicated work..net class libraries provides the BinaryFormatter class to be used for convenient binary serialization and the Deserializing realized.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.
Simulation member driver 2 driving simulation members' 3 implementation method 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 refers to comprise in the realistic model information that self-acting, performance, behavior and IO interface can be described, 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 is to use Matlab software to develop, and the form of institute's generation model is M model file or Simulink model file; A kind of is to use C language or the exploitation of other higher level lanquages, 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 then simulation member driver 2 is loaded and the driving simulation model according to the content of simulated members information.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 of these simulated members 3 simulation and calculations, comprises input data and output data two parts.Control information refers to the state that this simulated members 3 has, and the behavior of carrying out under the corresponding state.For general XML model description file 302, the tables of data that needs to set up comprises 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 correlation argument table 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 corresponding 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 very important information, universal model driver module 203 is not all the suitable model-driven device of Model Selection 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 only has 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 be variable at the unique identification of simulated members inside, determine that by the developer 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 analogue 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 affect development progress.So name variable and mutual name region need to be separated.Types of variables is very important information, and system will be variable assignments when the simulation interactive according to types of variables, and especially for Matlab model-driven device, it gives the simple variable assignment and the operation carried out to array assignment is different.The number that records 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, carries out simulation and calculation one time, then exports calculation result.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 only has the model that fault need to 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 be in simulation process the dynamic appending fault, be exactly the label information that shows in each Simulation drive form module 201 and describe title.
The fault correlation argument table is corresponding with record in the bug list, to each fault, a fault correlation table identical with its title is arranged.The attribute of fault correlation table comprises under associated variable title, the malfunction variate-value under variate-value and the health status.When the user arranged certain fault, universal model driver module 203 can be according to the fault name lookup to the fault correlation table, and was variate-value under the malfunction with all variable set ups in the fault correlation table.Record count in the fault correlation argument table is generally 1, but also might for a plurality of, therefore not merge with bug list when design.
2. the implementation method of universal model driver module 203.
Simulation member driver 2 by universal model driver module 203 input parameter of realistic model is set, the output data, the driving model that read realistic model resolves and inject fault to model, so universal model driver module 203 need to provide external interface method for 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, or the large multiplex Matlab exploitation of various algorithms to the system health state analysis, so be necessary the driving function of integrated Matlab on emulation platform, when loading by the object model of Matlab exploitation and algorithm model, just only model description file 302 need be write like this, the program of calling the Matlab function needn't be all additionally write at every turn.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 cleverly the flexible loading of dynamic link library.Reflection is a powerful instrument for the developer, and it allows the developer to make up the application program of dynamic extending.Airborne equipment health management simulation platform just can be considered to the application program of a dynamic extending, the model of dynamic link library form can be counted as the expansion of application program, therefore can use reflection technology to realize loading and the driving of dynamic base form realistic model.
The procedure set of developing under the .net platform and module have the self-described function, and compiler can create 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 is different, 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 takes 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, such 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 indirectly loaded the dynamic library file of model.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 the method does not have parameter;
B.Sim_End: notification model finishes emulation, and the method does not have parameter yet;
C.Sim_Advanced: notification model is carried out simulation and calculation one time;
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 again the relevant access grammer of managed object.If the model dynamic base is unmanaged, acts on behalf of the transient program collection with the emulation of C++/CLI exploitation so and just just can be used as the tie that connects both.
The simulation operations process flow diagram of emulation platform of the present invention as shown in figure 12.
The first step: any PC operation simulation management device 1 in LAN (Local Area Network), selecting communication modes in simulation management form module 101 is Socket, then starts the Socket server.In whole process, simulation management form module 101 shows the work state information of each simulated members 3;
Second step: start client-side program, any PC in LAN (Local Area Network) moves simulation member driver 2, at first disposes the information of simulated members i, selects emulation role, isolated node, entity node or simulation federation node for first; Select propulsion mode for second, data source advances or clock advances; Select to load XML model description file and simulated members forms for the 3rd; The 4th arranges simulated members title, communication modes Socket, and the IP address of server place PC.Model for loading is the simulated members of object model, also needs to arrange simulation and calculation 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, connection server namely added emulation, if unsuccessful, sought failed reason according to the failure information that returns, and reconnected 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 arrange 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 simulation federation node emulation preparation, 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 simulation configurations work in the 3rd step, 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, simulation and calculation is carried out in triggering one time, the result that Output simulation resolved after task was finished, and one time simulation process finishes.
The 5th step: when artificial tasks was finished, each simulation member node stopped emulation, Unloading Model, and discharge some relevant resources.

Claims (7)

1. universal distributed airborne equipment health management simulation platform is characterized in that: described emulation platform adopts tertium quid's pattern, mainly comprises simulation management device, simulation member driver and three parts of simulated members; Described simulation management device is in charge of the information of each simulated members, reception and the transmission of data, and Data Analysis work; Simulation member driver is used for the various simulated members of load operating, and realizes the information interaction between simulated members and the simulation management device; Simulated members is used for carrying out various data solvers, finishes the function of health control technology; Each simulated members sends the data to the simulation management device by simulation member driver, and the simulation management device concerns other simulated members that are transmitted to take this simulated members as data source according to the data source between each simulated members;
Described simulation management device comprises simulation management form module, Simulation Control module, information about firms administration module and communication server module, simulation management form module wherein belongs to presentation layer, user interface is provided, and the user can control the startup of simulation management device and close and arrange 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 simulation management device 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 processing the emulation logic of the simulated members that drives;
The effect of timer module is to trigger at set intervals a timed events to advance emulation, and this timed events is associated with emulation performance person'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 simulation management device consist of the communication construction of client/server, thereby realized communicating by letter between simulation member driver and simulation management device; 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 simultaneously to arrange an event, when the interactive information that receives from communication server module, trigger this event, process 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;
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 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 for showing the object information of simulated members simulation and calculation.
2. universal distributed airborne equipment health management simulation platform according to claim 1, 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.
3. universal distributed airborne equipment health management simulation platform according to claim 1, it is characterized in that: the communication server module in the described simulation management device 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.
4. universal distributed airborne equipment health management simulation platform according to claim 1, 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 the Simulation drive various trustships of device dynamic load and unmanaged dynamic link library model; Described fixing method mainly refers to the read-write of variable, the perhaps preparation of emulation, advances and stops.
5. universal distributed airborne equipment health management simulation platform according to claim 1, 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 of this simulated members simulation and calculation, comprises input data and output data two parts, and control information refers to the state that this simulated members has, and the behavior of carrying out under the corresponding state; For general XML model description file, the tables of data that needs to set up comprises 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 correlation argument table.
6. universal distributed airborne equipment health management simulation platform according to claim 1, 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.
7. the emulation mode of emulation platform claimed in claim 1 is characterized in that:
The first step: any PC operation simulation management device in LAN (Local Area Network), selecting communication modes in the simulation management form module is Socket, then start the Socket server, in whole process, the simulation management form module shows the work state information of each simulated members;
Second step: start client-side program, any PC in LAN (Local Area Network) moves simulation member driver, at first disposes the information of simulated members i, selects emulation role, isolated node, entity node or simulation federation node for first; Select propulsion mode for second, data source advances or clock advances; Select to load XML model description file and simulated members forms for the 3rd; The 4th arranges simulated members title, communication modes Socket, and the IP address of server place PC; Model for loading is the simulated members of object model, also needs to arrange simulation and calculation 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 loaded into, if connection server unsuccessful, was sought failed reason according to the failure information that returns, and 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 arrange 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 simulation federation node emulation preparation, 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 simulation configurations work in the 3rd step, 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, simulation and calculation is carried out in triggering one time, the result that Output simulation resolved after task was finished, and one time simulation process finishes;
The 5th step: when artificial tasks was finished, each simulation member node stopped emulation, 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 CN101901150A (en) 2010-12-01
CN101901150B true 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)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184288B (en) * 2011-05-05 2012-12-19 北京航空航天大学 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
CN103473389B (en) * 2013-08-12 2016-04-20 北京理工大学 A kind of universal model being applied to HLA distributed simulation technology
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
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
FR3049095B1 (en) * 2016-03-15 2019-10-25 Airbus Operations (S.A.S.) FLIGHT MANAGEMENT ASSISTANCE CENTER FOR A PLURALITY OF AIRCRAFT
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
CN109100952B (en) * 2017-06-21 2021-01-22 北京航空航天大学 Regional inference machine of health management system of distributed semi-physical simulation spacecraft
CN109002663B (en) * 2018-09-14 2021-01-01 中车齐齐哈尔车辆有限公司 Simulation method and simulation platform
CN110262374B (en) * 2019-06-18 2021-06-08 北京金自天正智能控制股份有限公司 Development platform of steel rolling process control system
CN110784545B (en) * 2019-10-31 2022-02-11 上海埃威航空电子有限公司 Real-time data distribution system
CN111078416B (en) * 2019-11-28 2023-08-29 中国运载火箭技术研究院 LVC gateway for dynamically cutting and publishing subscription relationship
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
CN112463676B (en) * 2020-11-26 2022-09-02 青岛蓝天航空科技有限公司 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
CN112749180B (en) * 2021-01-19 2023-06-23 上海复佳信息科技有限公司 Data management method, electronic device, and computer-readable storage medium
CN115017016B (en) * 2022-08-09 2022-11-22 中国电子科技集团公司第十研究所 Design method of airborne health management domain with multi-level model fusion
CN115598999B (en) * 2022-12-14 2023-04-07 中国航空工业集团公司西安飞机设计研究所 Verification method and device for fault diagnosis function of airborne PHM system
CN115599002B (en) * 2022-12-16 2023-04-14 中国航空工业集团公司西安飞机设计研究所 Method and device for monitoring state life of airborne PHM system
CN116149801B (en) * 2023-04-18 2023-06-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
刘安,冯金富,胡杰,董奇帅.数字化机载武器控制系统半实物仿真平台研究.《系统仿真学报》.2009,第21卷(第1期),96-99. *

Also Published As

Publication number Publication date
CN101901150A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN101901150B (en) Universal distributed airborne equipment health management simulation platform and implementation method thereof
CN101946258B (en) Model based deployment of computer based business process on dedicated hardware
CN109522002B (en) Unmanned aerial vehicle ground satellite station open architecture based on model drive
Hunt Guide to the Unified Process featuring UML, Java and design patterns
CN102184288B (en) All-digital simulation system and method for infrared imaging system
CN102567092B (en) The establishment of assembly action scope and termination
Bliudze et al. Exogenous coordination of concurrent software components with JavaBIP
Bouabana-Tebibel et al. An object-oriented approach to formally analyze the UML 2.0 activity partitions
Mittal et al. Implementation of formal standard for interoperability in M&S/systems of systems integration with DEVS/SOA
Shmelkin Monitoring for control in role-oriented self-adaptive systems
Balasubramanian et al. Drems ml: A wide spectrum architecture design language for distributed computing platforms
CN116502437A (en) Signal-level simulation platform clouding method based on cloud+end architecture
Sirjani et al. Model Checking, Automated Abstraction, and Compositional Verification of Rebeca Models.
Viroli et al. Engineering a BPEL orchestration engine as a multi-agent system
Vassev et al. The ASSL approach to specifying self‐managing embedded systems
Mak et al. Automated link-16 testing using the discrete event system specification and extensible markup language
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
Sanders A Call for a New Army Modeling Framework
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
Buller Developing ActiveX™ Internet Server Components with Visual Basic and Rational Rose
Iliasov et al. Towards formal development of mobile location-based systems
Zhan et al. Simulation Test Method Research of Distributed Heterogeneous System Based on Scene
Ghezzi et al. Evolution of software composition mechanisms: a survey

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