The content of the invention
Present invention aim to address the above mentioned problem of existing avionics system simulation method, avionics system is realized
Real-time, dynamic, multidisciplinary, high fidelity comprehensive simulating.
In order to achieve the above object, the present invention provides following technical scheme:A kind of avionics system is distributed comprehensive in real time
Emulation mode is closed, it includes:Equipment, port, the logical sum ICD of the avionics system obtained in early stage design
On the basis of, the Code Template of excitation model, device model and monitoring model is defined with C++ based on System C, and be based on
System C define simulation kernel with C++;ICD, the system tray of the avionics system obtained in early stage design
On the basis of structure data and apparatus logic data, according to the code of defined good excitation model, device model and monitoring model
Template, excitation model, device model and monitoring model that generation can be emulated;Swash for the specific corresponding emulation of emulation demand configuration
Source is encouraged, and the pumping signal of emulation needs is produced by simulation excitation source, meanwhile, excitation model reads come from simulation excitation in real time
The pumping signal in source completes signal and refreshes;By the signal transmission relation described in ICD, multiple equipment model,
The port of excitation model and monitoring model is coupled together, and unified time axle is based on come controlling equipment model, excitation by simulation kernel
Model and monitoring model, carry out the signal transmission between model, so as to realize the emulation of avionics system;Using simulative surveillance
Equipment carries out real-time processing and display to simulation result, and the purpose of signal monitoring is reached with this.
Further, wherein, in simulation process, by the Models computed of aircraft exterior model, simulation produces flight
Some coherent signals under the true running status of device, and these coherent signals is occurred in real time with device model by simulation kernel
Signal exchange, the real-time effectiveness of the signal of each device model is kept with this, makes the signal transmitted in simulation process trueer
It is real.
Further, wherein, each transmission signal have corresponding signal bag in simulation kernel, in signal transmission
When, the output port and input port of each model are interacted with the signal bag in simulation kernel;Meanwhile, output port
Write signal bag each time can all have the corresponding time to mark, and equally, input port reading signal bag each time also can all have
Corresponding time mark, the signal transmission between model is completed with this.
Again further, the avionics system distribution real time comprehensive emulation mode is further included by emulation
Kernel obtains the signal in simulation process, and by the Flight scene of flight scene system displays aircraft.
In the present invention, on the one hand, the simulation excitation source include pilot operator module, analog capsule cabin control device and
Self-defined inputting interface, wherein, the pilot operator module be used for simulate Live Flying environment under pilot to aircraft
Various operations, produce operation pumping signal;The cockpit control that the analog capsule cabin control device is used to simulate actual aircraft sets
It is standby, produce cockpit control pumping signal;The self-defined inputting interface is the patterned input customized according to emulation demand
Control, produces the pumping signal of customization.
Further, the simulative surveillance equipment includes signal monitoring module, simulation cabin display equipment and self-defined defeated
Go out interface, wherein, the signal monitoring module is used for the signal that monitor in real time changes in simulation process, preserves its data
File, and exported in the form of waveform;Under the simulation cabin display equipment is used to show the true running status of simulated flight device
The output signal of the various cockpit display equipment of avionics system;The self-defined output interface is according to depending on emulation demand
The patterned output control of system, the output signal of displaying format customization.
Simultaneously, in the present invention it is possible to use Data distributing(DDS)Or CORBA flexible bus technologies realize aviation electricity
Signal transmission between each device model of subsystem.
In the present invention, by each device abstract of avionics system into the device model that can be emulated, by emulation
Core can realize the minimum precision clock scheduling up to 10ps time intervals, so that the design data of early stage just can be with this stage
Simulating, verifying is carried out, it is relatively early to find logical problem present in design, and then project cost is reduced, shorten the whole R&D cycle.
Additionally, in the present invention, closed-loop simulation can be realized by the driving source and simulative surveillance equipment of simulating actual aircraft operation;
And, using cockpit control display device and flight scene system Dynamic Display can be carried out to simulation process, improve emulation
Verisimilitude.Also, the input/output signal of emulation in the present invention, is can customize, the man-machine friendship of emulation is greatly improved
Mutual property.Finally, synthetic simulation environment of the invention also has aircraft exterior model, such as vehicle dynamics model, flight
Device electronic equipment model, flight environment of vehicle model etc., can produce more real aircraft exterior signal and carry out letter with simulation model
Number docking, so as on the basis of signal dispatching, realizes the distributed multidisciplinary of avionics system under the support of various models
Comprehensive simulating.
Specific embodiment
Describe specific embodiment of the invention in detail below in conjunction with the accompanying drawings.
Avionics system distribution real time comprehensive emulation mode of the present invention is used to realize avionics system
Comprehensive simulating is analyzed, and it realizes the signal transmission and logic thing in the avionics system under unified time axle with simulation kernel
The scheduling of part control.Using EM equipment module formula framework and flexible bus technology etc., the distributed emulation of avionics system is realized.Can
System logic emulation is carried out in avionics system research and development early stage and the functional performance in later stage confirms.
Before avionics system distribution real time comprehensive method of the invention is introduced, aviation electricity of the invention is first introduced
The analogue system that subsystem distribution real time comprehensive emulation mode is used.As shown in figure 1, the analogue system includes emulation mould
Type 1, simulation excitation source 2, simulative surveillance equipment 3 and aircraft exterior model 4.The simulation model 1 includes excitation model 11, sets
Standby model 12, monitoring model 13 and simulation kernel 14.Wherein, it is described to encourage model 11 for whole simulation process provides excitation, its
Including pumping signal and incentive logic.The pumping signal be from simulation excitation source described later pass over it is various
Pumping signal.The incentive logic is the logical relation for encouraging model to be based on pumping signal input and output.The device model 12
Each equipment for simulating avionics system, it includes device signal and apparatus logic.Device signal refers to this equipment itself
Producible some signals, such as GPS, its signal typically can be including longitude, latitude etc..Apparatus logic refers to that equipment is based on signal
The logical relation of input and output, such as platform computer, when self-inspection order is received, return to it certainly after platform computer self-test
Inspection state, whole process is exactly its certain logical relation.In general avionics system, multiple equipment model is had,
For example, show three device models in Fig. 2, respectively device model 1, device model 2 122 and device model three
123.The monitoring model 13 is used to obtain the change of various signals in simulation process, and it includes monitoring signal and monitoring logic.
The monitoring signal is the various signals in the simulation process that monitoring is obtained.The monitoring logic is monitoring model defeated based on signal
Enter the logical relation of output.In the present invention, the signal transmission described in the ICD for obtaining is designed by early stage to close
System determines the incentive logic, apparatus logic and monitoring logic.As shown in Fig. 2 the simulation kernel 14 includes time shaft 141
With the signal library 142 being made up of various signal bags, under the United Dispatching of time shaft 141, realize excitation model 11, each
The Parallel Scheduling of signal and logic between device model 12 and monitoring model 13.
In the present invention, simulation model 1 can be realized based on System C.System C are a kind of systems based on C++
Level modeling language, belongs to IEEE1666 standards.It is well known that before the emulation of avionics system is carried out, having been carried out
The design of avionics system, therefore, it can equipment, port, logic, the ICD designed according to early stage(ICD)Deng
Information, the Code Template of excitation model 11, device model 12 and monitoring model 13 is defined based on System C with C++.It is described
Code Template refers to the information such as equipment, port, logic, ICD designed according to early stage, based on the specific code regulation that C++ is realized,
Its basic framework for embodying model, signal and logic of filling relevant device in it, you can obtain corresponding device model.
After having a Code Template, it is possible to the ICD of the whole avionics system obtained when being designed using early stage
(ICD), system architecture data, apparatus logic data etc., according to defined device model Code Template, for each equipment
The device model that generation can be emulated;According to defined excitation model Code Template, can be emulated for the generation of each driving source
Excitation model;According to defined monitoring model Code Template, for the prison that each simulative surveillance equipment, generation can be emulated
Control model.Meanwhile, the simulation kernel 4, including time shaft and signal library can be defined based on System C C++.
The various excitations of avionics system in the case of the simulation excitation source 2 simulation Live Flying, and with the excitation
Model 11 carries out signal docking.In the present invention, the simulation excitation source 2 includes pilot operator module 21, analog capsule cabin control
Control equipment 22 and self-defined inputting interface 23.Wherein, the pilot operator module 21 is used to simulate under Live Flying environment and flies
Various operations of the office staff to aircraft, produce operation pumping signal.Under normal circumstances, operation pumping signal refers mainly to airplane throttle
Control signal and aircraft six degree of freedom control signal.The analog capsule cabin control device 22 is used to simulate the cockpit of actual aircraft
Control device, produces conventional cockpit control pumping signal.Under normal circumstances, the analog capsule cabin control device 22 refers mainly to cockpit
Various control buttons, such as power switch, self-test switch etc..The self-defined inputting interface 23 is according to depending on emulation demand
The patterned input control of system, produces the pumping signal of customization.Using the self-defined inputting interface 23, for can basis
Emulation demand, produces the pumping signal of customization, the pumping signal of the customization to be, for example switching signal, aircraft rocking bar letter
Number etc..By the self-defined inputting interface 23 so that user can self-defined some comprehensive simulating pumping signals as needed,
Drastically increase the man-machine interaction of emulation.When the simulation excitation source 2 starts to produce excitation, excitation model 11 is read in real time
The pumping signal from simulation excitation source 2 is fetched, the refreshing of pumping signal in excitation model 11 is completed, it is ensured that simulation process is to work as
Carried out under preceding excitation, so as to ensure that the real-time of emulation.
In simulation process, the aircraft exterior model 4 is obtained and corresponding simulated flight by the resolving of self model
Related external signal.The aircraft exterior model 4 includes aircraft electronics model 41, vehicle dynamics model 42
With flight environment of vehicle model 43.Wherein, the aircraft electronics model 41 is used for the various electronic equipments of simulated flight device, obtains
To the signal that the various electronic equipments of aircraft are produced.The vehicle dynamics model 42 is used for the flight shape of simulated flight device
State, obtains the status signal of aircraft.The flight environment of vehicle model 43 is used for the flight environment of vehicle of simulated flight device, obtains flying ring
Border signal.In the present invention, the aircraft electronics model 41, aircraft is provided by flight simulation software FLSIM to move
Mechanical model 42 and flight environment of vehicle model 43.FLSIM is Canadian PRESAGI companies exploitation for realizing that it is imitative that high accuracy is flown
Genuine business software, it includes the multiple module for flight simulation, and such as flight vehicle aerodynamic leads coefficient module, equation of motion mould
Block, atmospheric module, control surface change in location module, motor power module etc..By the FLSIM, you can obtain simulation true
Aircraft state signal, each electronic equipment signal and external flight ambient signal when aircraft runs under real flight environment of vehicle, example
Such as flying height, longitude and latitude, atmosphere data items flight signal.The flight signal and device model obtained by FLSIM
Carry out signal docking, you can the flight condition in simulation Live Flying environment.Certainly, in the present invention, it is also possible to do not use winged
Row simulation software FLSIM, but the various simulations of design simulation aircraft electronics, vehicle dynamics and flight environment of vehicle set
It is standby, and the signal of each analog machine is gathered with signal pickup assembly, so as to obtain aircraft fortune under simulation Live Flying environment
State of flight signal, each electronic equipment signal and external flight ambient signal during row.
The simulative surveillance equipment 3 carries out signal and docks with the monitoring model 13, is used to show the content of simulation process.
In the present invention, the simulative surveillance equipment 3 can include signal monitoring module 31, simulation cabin display equipment 32 and self-defined
Output interface 33.Wherein, the signal monitoring module 31 is used for the signal that monitor in real time changes in simulation process, preserves
Its data file, and exported in the form of waveform.By the signal monitoring module 31, can be passed with the signal between monitoring device
Pass, such as self-test signal enumerated supra.The simulation cabin display equipment 32 is used to show that simulated flight device truly runs
The output signal of the various cockpit display equipment of avionics system under state, including status signal, continuous signal etc..The mould
It can be multifunction display, head-up display etc. to intend cockpit display equipment 32;Can also be the graphical of desktop simulation instrument
Output interface.The self-defined output interface 33 is the patterned output control customized according to emulation demand, displaying format customization
Output signal.Using the self-defined output interface 33, for that can export the signal of customization according to emulation demand, this is determined
The signal of system can be, such as switching signal, aircraft rocking bar signal etc..By the self-defined output interface 33 so that use
Family can self-defined some integrated output signals as needed, drastically increase the man-machine interaction of emulation.In simulation process
In, simulative surveillance equipment 3 can obtain monitoring signal and monitoring logic from monitoring module 13 in real time, it is ensured that simulation data it is real-time
Property.
The signal transmission between each model in simulation process is described below.Fig. 2 is shown in exemplary simulation process
Signal transmission schematic diagram.In order to simplified and clear, three device models, certainly, real aviation are merely illustrated in fig. 2
Electronic system can include more device models.Similarly, merely illustrate in fig. 2 between device model two and device model three
Signal transmission, certainly, in real avionics system, between miscellaneous equipment model and excitation model and device model it
Between, there is also signal transmission between device model and monitoring model, but signal transmission mode and device model between them
Signal transmission mode between two and device model three is identical, therefore, herein only with device model two and device model three it
Between signal transmission mode as a example by introduce signal transmission mode between each model.As shown in Fig. 2 in the present invention, excitation
It is mutual by port between model 11, device model 1, device model 2 122, device model 3 123 and monitoring model 13
Connection, signal transmission is completed under the support of simulation kernel 14.Under the United Dispatching of time shaft 141, pass through between different models
The mode that signal bag write-in in signal library 142 reads carries out signal transmission.Specifically, in emulation, according to excitation model
11 incentive logic 112, the apparatus logic 1212 of device model 1, the apparatus logic 1222, equipment of device model 2 122
The apparatus logic 1232 of model 3 123 and the monitoring logic 132 of monitoring model 13 set up excitation model 11, device model one
121st, the port connection between device model 2 122, device model 3 123 and monitoring model 13.Then, in simulation kernel 14
Under United Dispatching, based on unified time axle 141, excitation model 11, device model 1, device model 2 122, equipment are realized
Signal transmission between model 3 123 and monitoring model 13.For example, if the device model 2 122 in Fig. 2 is master control computer
Model, device model 3 123 is platform computer model.For master control computer to platform computer send self-test signal this
Process, due to the logical relation that there is signal input output between them, so their port interconnects, and at them
Port interconnect after, first by master control computer previous moment output signal bag 1421 to simulation kernel 4 signal library
142, the signal bag 1421 not only includes the signal 1 of master control computer output, also the output letter including being obtained based on time shaft 141
Number when time 1;Self-test signal bag 1422 is read from the signal library 142 of simulation kernel 4 in later moment in time by platform computer again,
The self-test signal bag 1422 not only includes the signal 2 that platform computer reads, also the reading letter including being obtained based on time shaft 141
Number when time 2, then complete self-test signal transmission.Due in the transmittance process of signal, not only including signal in itself, going back
Including the time related to signal, therefore, it is possible to realize the real-time simulation of avionics system.
The analogue system further includes flight scene system 5.The flight scene system 5 is obtained by simulation kernel 14
Take some signals in simulation process, including each equipment of avionics system signal and aircraft exterior signal, show
Show the simulated flight what comes into a driver's of aircraft.
In addition, in the present invention it is possible to use Data distributing(DDS)Or the existing flexible bus technology reality such as CORBA
Signal transmission between each device model 12 of existing avionics system, such that it is able to be better achieved between each model
Distributed emulation.
Avionics system distribution real time comprehensive emulation mode of the invention is described below.
Fig. 3 shows the flow chart of avionics system distribution real time comprehensive emulation mode of the invention.Such as Fig. 3 institutes
Show, in the comprehensive simulating method, first, the design by early stage to avionics system can obtain each equipment, end
Mouth, logic, ICD(ICD)Etc. information.On the basis of these information, can be defined with C++ based on System C
Go out to encourage the Code Template of model, device model and monitoring model;And simulation kernel is defined with C++ based on System C.
Secondly, the design by early stage to each equipment interface of avionics system can obtain whole avionics system
ICD(ICD), system architecture data and apparatus logic data.On the basis of these data, according to defined
The Code Template of good excitation model, device model and monitoring model, excitation model, device model and monitoring that generation can be emulated
Model.
Again, corresponding simulation excitation source is configured for specific emulation demand, and is needed by the generation emulation of simulation excitation source
The pumping signal wanted, meanwhile, excitation model reads the pumping signal from simulation excitation source and completes signal refreshing in real time.
Then, the ICD for being designed by early stage(ICD)Described in signal transmission relation, multiple equipment mould
Type, excitation model and monitoring model are coupled together by port.Unified time axle is based on come controlling equipment model by simulation kernel,
Excitation model and monitoring model, carry out the signal transmission between model, so as to realize the emulation of avionics system.
Finally, real-time processing and display are carried out to simulation result using simulative surveillance equipment, signal monitoring is reached with this
Purpose.
Additionally, in the present invention, in simulation process, it is possible to use some aircraft exterior models, including flying power
Model is learned, flight environment of vehicle model, aircraft electronics model, by Models computed, is simulated and produces aircraft truly to run shape
There is signal exchange in some coherent signals under state, these coherent signals, kept with this in real time by simulation kernel and device model
The real-time effectiveness of the signal of each device model, makes the signal transmitted in simulation process truer.
And, in the present invention, it is preferred to, the signal of each transmission has corresponding signal bag in simulation kernel,
During signal transmission, the output port and input port of each model are interacted with the signal bag in simulation kernel;Meanwhile,
Output port write signal bag each time can all have the corresponding time to mark, equally, input port reading signal bag each time
Also can all there is the corresponding time to mark, the signal transmission between model is completed with this.
Simultaneously, in the present invention it is possible to use Data distributing(DDS)Or CORBA flexible bus technologies realize aviation electricity
Signal transmission between each device model of subsystem, so as to distributed emulation is better achieved.