CN104750540A - Aircraft mission computer simulator - Google Patents

Aircraft mission computer simulator Download PDF

Info

Publication number
CN104750540A
CN104750540A CN201510169892.2A CN201510169892A CN104750540A CN 104750540 A CN104750540 A CN 104750540A CN 201510169892 A CN201510169892 A CN 201510169892A CN 104750540 A CN104750540 A CN 104750540A
Authority
CN
China
Prior art keywords
data
rtx
windows
district
shared drive
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.)
Pending
Application number
CN201510169892.2A
Other languages
Chinese (zh)
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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201510169892.2A priority Critical patent/CN104750540A/en
Publication of CN104750540A publication Critical patent/CN104750540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses an aircraft mission computer simulator, belongs to the field of aircraft avionic system simulation, and aims to solve the problems of poor real-time property and difficulty of compatibility of the real-time property and an operation state of an existing aircraft mission computer simulator. A Windows+RTX (Real Time eXchange) mechanism is embedded into an industrial personal computer to serve as an internal architecture of the mission computer simulator; the internal architecture comprises a Windows process and an RTX process; the Windows process is communicated with the RTX process by using a shared memory communication mechanism and a mutual exclusion mechanism; the shared memory communication mechanism realizes data exchange is performed between the Windows process and the RTX process through a shared memory; the Windows process is used for realizing operation control, data display, data management and data recording of the mission computer simulator; the RTX process is used for realizing mission execution, data transmission control and logic scheduling of the mission computer simulator. The simulator is applied to an aircraft research process.

Description

Aircraft mission computer simulator
Technical field
The invention belongs to Aircraft electric system emulation field.
Background technology
Integrated Avionics System (abbreviation avionics system) makes high performance avionics system the modern times just not have high performance fighter plane.Mission computer is one of important member equipment of Aircraft electric system, mainly bears the functions such as avionics system tasks carrying, Data Transmission Controlling and logic scheduling.
Because avionics system is used in rugged environment, so guarantee that the completeness of avionics system functions of the equipments and the reliability of performance are tasks most crucial in avionics system development process.Therefore, in the process of avionics system development, must carry out various l-G simulation test on ground, whether correct, complete to verify whole avionics system function, whether performance is up to standard, for later Flight Test provides necessary foundation; Secondly, each Aerial Electronic Equipment usually all needs the correct, reliable of this equipment of support guarantee of other equipment in development process, and the development of aircraft needs each Aerial Electronic Equipment member all will synchronously to develop, the situation that certain (a bit) the aircraft member so often causing the development of whole avionics system or certain equipment to lack other is supported, causes the development of whole aircraft to carry out smoothly.
Due to the key control unit that mission computer simulator is Aircraft electric system, therefore the integrality of its function and the reliability of performance are the most important things in aircraft development process.At present, existing aircraft mission computer simulator builds based on VxWorks and windows platform mostly, aircraft mission computer simulator real-time based on VxWorks platform is better, but lacks display mode intuitively, makes user be difficult to the running status of the whole avionics system of Real Time Observation; Aircraft mission computer simulator based on windows platform has abundant display interface, be convenient to the running status display of avionics system, but because the impact being subject to Windows system self performance makes the real-time in its operational process be difficult to ensure, therefore aircraft mission computer simulator has become the bottleneck problem in the emulation of Aircraft electric system and debug process.
Summary of the invention
The present invention is the poor real in order to solve existing mission computer simulator, and real-time and running status display are difficult to compatible problem, the invention provides a kind of aircraft mission computer simulator.
Aircraft mission computer simulator, described simulator adopts industrial computer to realize, Windows+RTX mechanism is adopted to embed in industrial computer as mission computer simulator inside structure, described inside structure comprises Windows process and RTX process, adopts shared drive communication mechanism and mutual exclusion mechanism to carry out communication between Windows process and RTX process;
Shared drive communication mechanism, realizes carrying out data interaction by shared drive between Windows process and RTX process, and is responsible for setting up shared drive by Windows process,
Mutual exclusion mechanism, realizes the mutually exclusive operation of shared drive read-write between Windows process and RTX process;
Windows process, for realizing the operation control of mission computer simulator, data display, data management and data record;
RTX process, for realizing the scheduling of the tasks carrying of mission computer simulator, Data Transmission Controlling and logic.
The Data Base our unit that Windows process and RTX process are shared is protocol data, and shared data comprise: subscription data and distributing data,
Subscription data is each aircraft member protocol data information that mission computer simulator is received by various communication bus,
Distributing data is that mission computer simulator is sent to the protocol data information of each aircraft member by various communication bus.
Described shared drive is divided into four parts:
Issued state district, be made up of the zone bit of distribution protocol, for identifying the Data Update state of distribution protocol, Windows process more arranges issued state after new data, RTX process check issued state goes to obtain the distribution protocol data upgraded, and the least unit of renewal is whole protocol data bag;
Distributing data district, the protocol data information that store tasks computer simulator is issued, before simulation run, determine form, the quantity of its distribution protocol is determined by the initialization data planned in file,
Subscription status district, is made up of the zone bit of purchase agreements, and for identifying the Data Update state of purchase agreements, subscription status district is by the set after renewal subscription data of RTX process, and Windows process reads zero setting after data;
Subscription data district, the protocol data information that store tasks computer simulator is ordered, before simulation run, determine form, the quantity of its purchase agreements is determined by the initialization data planned in file.
Mutual exclusion mechanism, the detailed process realizing the mutually exclusive operation of shared drive read-write between Windows process and RTX process is:
When distributing data,
When the protocol data information maintained in Windows process has state updating, first inquire about RTX process and whether send release shared drive distributing data district event,
Result is yes, then first remove issued state distinctive emblem, again to the corresponding flag set in issued state district, upgrades the data of relevant position, distributing data district, and then Windows process sends to RTX process and reads shared drive distributing data district notification event,
Result is no, then Windows process continues inquiry at next cycle,
RTX process waits for the reading shared drive distributing data district notification event that Windows process sends all the time, when receiving this event, then read shared drive distributing data district data, according to the corresponding mark in issued state district, extract state updating data, then send release shared section key event to Windows process;
When subscription data,
When each aircraft member sends data to mission computer simulator, each hardware board provides protocol data by interrupt mode to RTX process, when RTX process needs to upgrade purchase agreements data, first RTX process is inquired about Windows process and whether is sent release shared drive subscription data district event:
Result is yes, then first remove subscription status distinctive emblem, again to the corresponding flag set in subscription status district, upgrades the data of relevant position, subscription data district, and then RTX process sends to Windows process and reads shared drive subscription data district notification event;
Result is no, then RTX process continues inquiry at next cycle synchronization frame.
The each synchronization frame of Windows process is inquired about RTX process and whether is sent reading shared drive subscription data district notification event, if there is this event to occur, then read shared drive subscription data district data, according to the corresponding mark in issued state district, extract state updating protocol data, then Windows process sends release shared drive subscription data district event to RTX process.
Described Windows process comprises host process and assisted process, and host process is for upgrading distribution protocol data, and assisted process is for reading purchase agreements data, and host process and assisted process are carried out simultaneously,
The specific works flow process of Windows process is as follows:
After mission computer simulator startup optimization, set up shared drive, initialization shared section key data according to planning file content, after creating purchase agreements data query thread, enter host process and assisted process simultaneously;
After entering host process, start RTX process, start emulation, control the Dynamic simulation of whole mission computer simulator according to user operation instruction and stop simulation process, in simulation run process, when needs manual intervention mode carries out the injection of mission computer simulator data, by user interface input distributing data information, and by shared drive, protocol data to be released is passed to RTX process, complete after upgrading distribution protocol data, again control the Dynamic simulation of whole mission computer simulator according to user operation instruction and stop simulation process;
After entering assisted process, judge whether to upgrade purchase agreements data, until when judged result is "Yes", Windows process waits for the reading shared drive distributing data district notification event that RTX process sends in assisted process, obtains shared drive distributing data district operating rights, read shared drive distributing data district, set up data image, search the purchase agreements data will carrying out Data Update, obtain the protocol data information that have updated, upgrade the data buffer of Windows process self
After purchase agreements data query thread upgrades subscription data, current task computer simulator status data synthesis display function is provided according to the purchase agreements information in data buffer, complete more new data display, synthesis display is for providing the data display mode of chart and figure;
After purchase agreements data query thread upgrades subscription data, current task computer simulator status data writing function is provided according to the purchase agreements information in data buffer, data record provides with file mode, Data Filename is called the time of initiating task computer run, file layout be " year _ moon _ day _ time _ point _ second ", complete data record
After data record completes, carry out integrated management according to recording time information to data file, this integrated management comprises data exporting, tracing analysis and backup, completes data management.
The specific works flow process of described RTX process comprises the transmission processing to distribution protocol and the reception process to purchase agreements,
The transmission processing of A:RTX process to distribution protocol is as follows:
After RTX process initiation runs, open the shared drive that Windows process is set up, the various Communication Card of initialization, hardware board is installed and interrupts call back function, set up the data buffer of protocol data, create distribution protocol data query thread, until inquire Windows process to there is distributing data when upgrading, RTX process reads Data Update self buffer, shared drive distributing data district; Call the distribution protocol data message that corresponding hardware board driver transmission user upgrades, complete the transmission processing of RTX process to distribution protocol.
The reception process of B:RTX process to purchase agreements is as follows:
After RTX process initiation runs, open the shared drive that Windows process is set up, the various Communication Card of initialization, hardware board is installed and interrupts call back function, set up the data buffer of protocol data, create distribution protocol data query thread, after hardware board interruption call back function receives the bus protocol data of each aircraft member transmission, first RTX process receives the data block corresponding to data according to the frame originating point information coupling in data block table; After the match is successful, from stimulus-response table, search the processing logic of this data block according to data block title; If find, then call process function according to the response logic information in stimulus-response table and the information received in data block is processed; The corresponding Communication Card driving function of last RTX process transfer sends response data block, and notifies that Windows process has purchase agreements Data Update, completes the reception process of RTX process to purchase agreements.
Described industrial computer is 4U industrial computer.
Described simulator also comprises display, mouse/keyboard, 1553 cards, 422 cards, 429 card and racks,
Industrial computer connects 1553 cards, 422 cards and 429 cards by pci bus simultaneously,
Industrial computer is connected with display by video interface card, and industrial computer is connected with mouse/keyboard by USB interface,
Industrial computer, 1553 cards, 422 cards and 429 fasten in rack, and display is arranged on the top of rack,
The rear panel of rack is provided with signal interface board, this signal interface board leaves system power supply interface, rack rear panel has 1553,422,429 and network signal socket, and has 220V Power supply socket,
The bottom of the front panel of rack is provided with test signal interface board, and this test signal interface board is used for drawing RS422 and ARINC429 test signal interface
The middle part of the front panel of rack is provided with operator's console, and this operator's console is for placing mouse/keyboard, and it is 8 enter the 8 pci bus cards gone out that 422 cards and 429 block,
1553 cards are binary channels pci bus card.
Develop a kind of Aircraft electric system mission computer simulator, this simulator can substitute real mission computer at the aircraft type initial stage of developing, aircraft avionics integrated ground test system is set up with other aircraft member, complete integrated ground debugging task, accelerate the Development Schedule of aircraft, shorten the lead time, reduce development cost, thus the carrying out smoothly of the whole aircraft development plan of strong guarantee.
Mission computer simulator proposed by the invention can compared with existing aircraft mission computer simulator, possess good real-time and running status Presentation Function simultaneously, solve the mission computer simulator bottleneck problem faced in the emulation of Aircraft electric system and debug process.
The beneficial effect that the present invention brings is, the real-time of aircraft mission computer simulator of the present invention improves more than 30%, and while having high real-time, have the function of running status display concurrently.The real-time of mission computer simulator and running status display is made to obtain compatible.
Accompanying drawing explanation
Fig. 1 is the structural representation of aircraft mission computer simulator of the present invention;
Fig. 2 is Windows+RTX mechanism mission computer simulator Organization Chart;
Fig. 3 is the structural representation of the shared drive described in embodiment three;
Fig. 4 is the specific works flow process figure of the Windows process described in embodiment five;
Fig. 5 is the workflow diagram of the RTX process described in embodiment six;
Fig. 6 is for the RTX process described in embodiment six is to the reception processing flow chart of purchase agreements;
Fig. 7 is for the RTX process described in embodiment six is to the transmission processing process flow diagram of distribution protocol;
Fig. 8 is the structural representation of the front panel of the rack described in embodiment eight;
Fig. 9 is the structural representation of the rear panel of the rack described in embodiment eight;
Figure 10 is the structural representation that the rear panel of rack is provided with signal interface board;
Figure 11 is Aircraft electric system integrated ground test system construction drawing.
Embodiment
Embodiment one: present embodiment is described see Fig. 1 and 2, aircraft mission computer simulator described in present embodiment, described simulator adopts industrial computer to realize, Windows+RTX mechanism is adopted to embed in industrial computer as mission computer simulator inside structure, described inside structure comprises Windows process and RTX process, adopts shared drive communication mechanism and mutual exclusion mechanism to carry out communication between Windows process and RTX process;
Shared drive communication mechanism, realizes carrying out data interaction by shared drive between Windows process and RTX process, and is responsible for setting up shared drive by Windows process,
Mutual exclusion mechanism, realizes the mutually exclusive operation of shared drive read-write between Windows process and RTX process;
Windows process, for realizing the operation control of mission computer simulator, data display, data management and data record;
RTX process, for realizing the scheduling of the tasks carrying of mission computer simulator, Data Transmission Controlling and logic.
Present embodiment, mainly possess the functions such as whole Aircraft electric system tasks carrying, Data Transmission Controlling and logic scheduling due to mission computer, the real-time therefore for system cloud gray model has high requirement.In addition, at task computer simulator operational process, need Real Time Observation and the running status and the data that record current avionics system, therefore this simulator needs to provide operation control, data display, data management and data recording function simultaneously.For improving the real-time of mission computer simulator, adopt Windows+RTX mechanism as simulator inside structure.
Perform being positioned over RTX kernel for functional modules such as the higher tasks carrying of requirement of real-time, Data Transmission Controlling and logic scheduling;
Windows process is then adopted to realize for the not high data observation of requirement of real-time, the functional module such as data management and data record.Shared drive communication mechanism: the RTX Process part of mission computer simulator realizes the data communication with other aircraft member equipment by bottom board, and performed by real-time resolving process implementation aerial mission and system logic scheduling.
For the data message making Windows Process part can obtain RTX Process part, need to realize data communication by shared drive mechanism.
Shared drive is set up in order to the data interaction completed between RTX process and Windows process, for guaranteeing the promptness that reads and writes data and security, needs to take certain mutual exclusion mechanism.
Embodiment two: present embodiment is described see Fig. 1 and 2, the difference of present embodiment and the aircraft mission computer simulator described in embodiment one is, the Data Base our unit that Windows process and RTX process are shared is protocol data, the data shared comprise: subscription data and distributing data
Subscription data is each aircraft member protocol data information that mission computer simulator is received by various communication bus,
Distributing data is that mission computer simulator is sent to the protocol data information of each aircraft member by various communication bus.
Embodiment three: present embodiment is described see Fig. 3, the difference of present embodiment and the aircraft mission computer simulator described in embodiment two is, described shared drive is divided into four parts:
Issued state district, be made up of the zone bit of distribution protocol, for identifying the Data Update state of distribution protocol, Windows process more arranges issued state after new data, RTX process check issued state goes to obtain the distribution protocol data upgraded, and the least unit of renewal is whole protocol data bag;
Distributing data district, the protocol data information that store tasks computer simulator is issued, before simulation run, determine form, the quantity of its distribution protocol is determined by the initialization data planned in file,
Subscription status district, is made up of the zone bit of purchase agreements, and for identifying the Data Update state of purchase agreements, subscription status district is by the set after renewal subscription data of RTX process, and Windows process reads zero setting after data;
Subscription data district, the protocol data information that store tasks computer simulator is ordered, before simulation run, determine form, the quantity of its purchase agreements is determined by the initialization data planned in file.
Embodiment four: the difference of present embodiment and the aircraft mission computer simulator described in embodiment three is, mutual exclusion mechanism, the detailed process realizing the mutually exclusive operation of shared drive read-write between Windows process and RTX process is:
When distributing data,
When the protocol data information maintained in Windows process has state updating, first inquire about RTX process and whether send release shared drive distributing data district event,
Result is yes, then first remove issued state distinctive emblem, again to the corresponding flag set in issued state district, upgrades the data of relevant position, distributing data district, and then Windows process sends to RTX process and reads shared drive distributing data district notification event,
Result is no, then Windows process continues inquiry at next cycle,
RTX process waits for the reading shared drive distributing data district notification event that Windows process sends all the time, when receiving this event, then read shared drive distributing data district data, according to the corresponding mark in issued state district, extract state updating data, then send release shared section key event to Windows process;
When subscription data,
When each aircraft member sends data to mission computer simulator, each hardware board provides protocol data by interrupt mode to RTX process, when RTX process needs to upgrade purchase agreements data, first RTX process is inquired about Windows process and whether is sent release shared drive subscription data district event:
Result is yes, then first remove subscription status distinctive emblem, again to the corresponding flag set in subscription status district, upgrades the data of relevant position, subscription data district, and then RTX process sends to Windows process and reads shared drive subscription data district notification event;
Result is no, then RTX process continues inquiry at next cycle synchronization frame.
The each synchronization frame of Windows process is inquired about RTX process and whether is sent reading shared drive subscription data district notification event, if there is this event to occur, then read shared drive subscription data district data, according to the corresponding mark in issued state district, extract state updating protocol data, then Windows process sends release shared drive subscription data district event to RTX process.
Present embodiment, for realizing the mutually exclusive operation of shared drive read-write, designs two-way two pairs of event bodies.
Embodiment five: present embodiment is described see Fig. 4, the difference of present embodiment and the aircraft mission computer simulator described in embodiment one is,
Described Windows process comprises host process and assisted process, and host process is for upgrading distribution protocol data, and assisted process is for reading purchase agreements data, and host process and assisted process are carried out simultaneously,
The specific works flow process of Windows process is as follows: after mission computer simulator startup optimization, shared drive is set up according to planning file content, initialization shared section key data, after creating purchase agreements data query thread, enter host process and assisted process simultaneously;
After entering host process, start RTX process, start emulation, control the Dynamic simulation of whole mission computer simulator according to user operation instruction and stop simulation process, in simulation run process, when needs manual intervention mode carries out the injection of mission computer simulator data, by user interface input distributing data information, and by shared drive, protocol data to be released is passed to RTX process, complete after upgrading distribution protocol data, again control the Dynamic simulation of whole mission computer simulator according to user operation instruction and stop simulation process;
After entering assisted process, judge whether to upgrade purchase agreements data, until when judged result is "Yes", Windows process waits for the reading shared drive distributing data district notification event that RTX process sends in assisted process, obtains shared drive distributing data district operating rights, read shared drive distributing data district, set up data image, search the purchase agreements data will carrying out Data Update, obtain the protocol data information that have updated, upgrade the data buffer of Windows process self
After purchase agreements data query thread upgrades subscription data, current task computer simulator status data synthesis display function is provided according to the purchase agreements information in data buffer, complete more new data display, synthesis display is for providing the data display mode of chart and figure;
After purchase agreements data query thread upgrades subscription data, current task computer simulator status data writing function is provided according to the purchase agreements information in data buffer, data record provides with file mode, Data Filename is called the time of initiating task computer run, file layout be " year _ moon _ day _ time _ point _ second ", complete data record
After data record completes, carry out integrated management according to recording time information to data file, this integrated management comprises data exporting, tracing analysis and backup, completes data management.
Embodiment six: present embodiment is described see Fig. 5 to Fig. 7, the difference of present embodiment and the aircraft mission computer simulator described in embodiment one is; The specific works flow process of described RTX process comprises the transmission processing to distribution protocol and the reception process to purchase agreements,
The transmission processing of A:RTX process to distribution protocol is as follows:
After RTX process initiation runs, open the shared drive that Windows process is set up, the various Communication Card of initialization, hardware board is installed and interrupts call back function, set up the data buffer of protocol data, create distribution protocol data query thread, until inquire Windows process to there is distributing data when upgrading, RTX process reads Data Update self buffer, shared drive distributing data district; Call the distribution protocol data message that corresponding hardware board driver transmission user upgrades, complete the transmission processing of RTX process to distribution protocol.
The reception process of B:RTX process to purchase agreements is as follows:
After RTX process initiation runs, open the shared drive that Windows process is set up, the various Communication Card of initialization, hardware board is installed and interrupts call back function, set up the data buffer of protocol data, create distribution protocol data query thread, after hardware board interruption call back function receives the bus protocol data of each aircraft member transmission, first RTX process receives the data block corresponding to data according to the frame originating point information coupling in data block table; After the match is successful, from stimulus-response table, search the processing logic of this data block according to data block title; If find, then call process function according to the response logic information in stimulus-response table and the information received in data block is processed; The corresponding Communication Card driving function of last RTX process transfer sends response data block, and notifies that Windows process has purchase agreements Data Update, completes the reception process of RTX process to purchase agreements.
Present embodiment, block data structure is as follows:
sequence number: represent the order recorded in current table;
block title: data block specification number should be filled in;
block describes: the illustrative words describing corresponding blocks;
block identification: the mark of data block for mutually distinguishing with same specification number is integer;
byte number: represent the byte number that current data block is total.For 422 kind equipments, to 1553 equipment invalid (this is that byte number can be calculated by first prime number because the data element of 1553 is fixed length, and the indefinite length of the data element of 422 equipment);
unit's prime number: represent the number comprising data element in current data block;
to 1553 equipment: the number that first prime number comprises the frame head represented with binary number form and the number of data element represented with specification number form;
to 422 equipment: the number that first prime number comprises the frame head represented with binary number form, the number of data element represented with specification number form, the School Affairs byte represented with " 0x " and the number of postamble represented with other binary number forms.
frame head number: the number representing a part of special data element in current data block, before these data elements represent with binary number form, be positioned at the data element that represents with specification number form or School Affairs byte (only for 422 equipment);
postamble number: this field is only for 422 equipment.Represent the number of a part of special data element in current data block, after these data elements are positioned at the data element represented with specification number form, comprise the School Affairs byte represented with " 0x " and the data element represented with other binary number forms, as data end of block flag 0x0d;
number x code: these fields are used for filling in various forms of data element.Wherein 1553 equipment are 2 bytes with the data element that binary number form represents, 422 equipment are 1 byte with the data element that binary number form represents, the length of School Affairs is also 1 byte.
1553 exciter response list structures are as follows:
sequence number: represent that this is recorded in the order in current table;
record identification: in table, record is used for the mark mutually distinguished, and this value is unique;
incentive mode: the current operation mode representing emulator, should be determined before filling in a form by user;
searching mark: identify this record and whether can be retrieved, when retrieving stimulus-response table, retrieval functions is only retrieved " searching mark " is the record of 1.
receive block title: the specification number of the data block that emulator will receive;
reception block describes: the explanation of the data block that emulator will receive;
receiving block identification: the mark of different activation commands for mutually distinguishing with same data block specification number, determining record corresponding in data block table together, integer number with reception block title;
receiving cable number: for dual channel devices, specifies the passage (bus) receiving excitation;
receive sub address: receive the RT sub address (subaddressing) that data block is deposited, determined by bus communication table, decimal system integer data;
position piecewise analysis/function process: 00 data block that RT is received, emulator generally all will carry out a piecewise analysis when carrying out exciter response table search, namely the position (state of the position namely " be indifferent to " is any) whether be concerned about containing emulator in 00 piece that judges to receive, if containing, retrieve successfully, otherwise then retrieve failure.Fill in " y " expression and need position piecewise analysis, filling in " n " expression does not need a piecewise analysis; For the special circumstances of response, need to write special function during by filling in a form and cannot realizing and realize, fill in the function name of this special function herein, function name length is the longest is 15 letters;
whether return: whether emulator will respond for this excitation (order), extends this as 1 during response; 0 is extended this as when not responding;
recycle time: response times of this record of emulator, is unlimitedly returned as-1;
return period: for repeatedly responding, response cycle (millisecond), integer;
time delay: before returning this response, need the time (millisecond) postponed, integer;
upgrade incentive mode: after responding this excitation, the new mode of operation of emulator, integer data;
whether show: represent whether this exciter response record will show on interface, extends this as 1 during display; 0 is extended this as when not showing;
return block title: the data block specification number of emulator response;
return block to describe: the data block explanation of emulator response;
returning block identification: the mark of data block for mutually distinguishing with same specification number, and returning block title and determine record corresponding in data block table together, decimal system integer data;
receiving cable number: for dual channel devices, specify return response passage (bus);
return sub address: the transmission sub address (subaddressing) that return data block is deposited, determined by bus communication table, decimal system integer data;
vector transfer word: the banner word (16 bit) that notice BC peeks to " returning sub address ", bit0 represents sub address 1, bit1 represents sub address 2 ... bit15 represents sub address 16, fill in hexadecimal data, and must with " 0x " for prefix, such as: when returning sub address and being 5, vector transfer word should extend this as: 0x0010;
response modes: effective value is 0,1,2,0 indicates without continuation response; 1 order of representation response; 2 represent sync response; Ordinal response: for the response that the cycle returns, just continues next record of response after periodic response terminates; For the record of single response, all single responses are all ordinal responses.Sync response: the response only returned the cycle is effective, refers to continue response next record in the process responded at this record period;
rule of judgment: when response modes is 1 or 2, " Rule of judgment " should be non-NULL, logical expression: the if statement order only supporting relational operator at present, equal, be not equal to operational symbol and step-by-step and step-by-step or operational symbol.
target response: " record identification " of emulator next one response;
upgrade state index: certain conditioned disjunction state representing emulation, after having responded this record, emulator changes conditional value in this or state value;
upgrade element with state index: above-mentioned amendment state index is modified rear concrete numerical value.
422 exciter response list structures are as follows:
sequence number: represent the order recorded in current table;
timed sending: the period blocks being used to specify timed sending, when filling in this, should fill in the transmission cycle, receives block simultaneously and is left in the basket;
the transmission cycle: the transmission cycle of the period blocks of timed sending, in units of ms;
receive block title: specify the data block receiving excitation;
reception block describes: the descriptive matter in which there receiving excitation;
receive block identification: for coordinating with reception block title, unique index data block record in the block data structure table of corresponding device;
whether return: determine whether the excitation received is responded, fill out 1 and indicate that response block returns;
return block title: the data block that specified response should return;
return block to describe: the descriptive matter in which there of response data block;
return block identification: for return block title coordinate, unique index data block record in the block data structure table of corresponding device;
whether show: determine whether current record shows and record.This value puts 1, represents display and record, and 0 does not show not record for representing yet.
429 exciter response list structures are as follows:
sequence number: represent that this is recorded in the order in current table;
index code: the specification number of this 429 signal, as search condition, must be unique;
describe: the explanation in Chinese of this 429 signal;
cycle: the transmission rate of this 429 signal, unit: millisecond;
whether process: show whether this signal will carry out the process of function or scale operation;
function name: function name during function process;
sign bit: the sign bit of 429 signals;
data are high: the MSB of data-signal;
data are low: the LSB of data-signal;
ratio: physical quantity representated by data element MSB (also to consider the impact that the conversion between unit brings if desired, to revise this rate value, the conversion such as between km/h and m/s), floating type non-zero;
skew: the correction to the physical data representated by some data element: when physical data being converted to 1553 signals (scale-of-two), needs first original physical numerical value to be added skew, on the contrary, by 1553 signals (scale-of-two)
After being converted to physical data, then deduct this skew, obtain real physical quantity; Skew is real-coded GA;
state sets: for setting some position sent in data, such as label or state etc.;
code system: the code system of 429 signals, option is: BNR, BCD, ISO5.
Embodiment seven: the difference of present embodiment and the aircraft mission computer simulator described in embodiment one is, described industrial computer is 4U industrial computer.
Embodiment eight: present embodiment is described see Fig. 8 and Fig. 9, the difference of present embodiment and the aircraft mission computer simulator described in embodiment one is, described simulator also comprises display, mouse/keyboard, 1553 cards, 422 cards, 429 card and racks
Industrial computer connects 1553 cards, 422 cards and 429 cards by pci bus simultaneously,
Industrial computer is connected with display by video interface card, and industrial computer is connected with mouse/keyboard by USB interface,
Industrial computer, 1553 cards, 422 cards and 429 fasten in rack, and display is arranged on the top of rack,
The rear panel of rack is provided with signal interface board, this signal interface board leaves system power supply interface, rack rear panel has 1553,422,429 and network signal socket, and has 220V Power supply socket,
The bottom of the front panel of rack is provided with test signal interface board, and this test signal interface board is used for drawing RS422 and ARINC429 test signal interface
The middle part of the front panel of rack is provided with operator's console, this operator's console for placing mouse/keyboard,
It is 8 enter the 8 pci bus cards gone out that 422 cards and 429 block,
1553 cards are binary channels pci bus card.
In present embodiment, while there is Presentation Function, have the advantage that real-time is high concurrently.
Display can be 1 17 cun of liquid crystal display.
Aircraft mission computer simulator can support the communication type that current typical bus formula avionics system is conventional, and the hardware interface signal possessed is as follows:
1,1553 signals
1 tunnel 1553 bus signals, the customer-furnished interface control document definition of 1553 bus signals; Bus interface meets GJB289A-97 requirement;
2, RS422 signal
8 road RS422 bus signals, the customer-furnished interface control document definition of RS422 bus signals; Bus interface meets EIA-422A requirement;
3, ARINC429 signal
8 road ARINC429 bus signals, the customer-furnished interface control document definition of ARINC429 bus signals; Bus interface meets HB6096-86 requirement;
Rear of cabinet plate mainly provides communication signal interface and the power supply interface of display and control administrative processor, and 1553 communication interfaces, 8 that main interface comprises the two redundancy of binary channels enter 8 and go out 422 communication interfaces, 8 and enter 8 and go out 429 communication interfaces, 1 road network network signaling interface, 1 road power supply interface.
The rear panel of rack is provided with signal interface board as shown in Figure 10.
The interface signal type provide each for J1-J8 socket and socket model are listed as follows:
The each socket list of table 1 signal interface board
Socket title Signal type Socket model
J1 Power interface
J2-J5 1553 signals BJ77 socket
J6 RS422 signal J599/20JJ35SN
J7 ARINC429 signal J599/20JG35SA
J9 Network interface
When Aircraft electric system carries out integrated ground test, specifically see Figure 11.

Claims (8)

1. aircraft mission computer simulator, it is characterized in that, described simulator adopts industrial computer to realize, Windows+RTX mechanism is adopted to embed in industrial computer as mission computer simulator inside structure, described inside structure comprises Windows process and RTX process, adopts shared drive communication mechanism and mutual exclusion mechanism to carry out communication between Windows process and RTX process;
Shared drive communication mechanism, realizes carrying out data interaction by shared drive between Windows process and RTX process, and is responsible for setting up shared drive by Windows process,
Mutual exclusion mechanism, realizes the mutually exclusive operation of shared drive read-write between Windows process and RTX process;
Windows process, for realizing the operation control of mission computer simulator, data display, data management and data record;
RTX process, for realizing the scheduling of the tasks carrying of mission computer simulator, Data Transmission Controlling and logic.
2. aircraft mission computer simulator according to claim 1, is characterized in that, the Data Base our unit that Windows process and RTX process are shared is protocol data, and shared data comprise: subscription data and distributing data,
Subscription data is each aircraft member protocol data information that mission computer simulator is received by various communication bus,
Distributing data is that mission computer simulator is sent to the protocol data information of each aircraft member by various communication bus.
3. aircraft mission computer simulator according to claim 2, it is characterized in that, described shared drive is divided into four parts:
Issued state district, be made up of the zone bit of distribution protocol, for identifying the Data Update state of distribution protocol, Windows process more arranges issued state after new data, RTX process check issued state goes to obtain the distribution protocol data upgraded, and the least unit of renewal is whole protocol data bag;
Distributing data district, the protocol data information that store tasks computer simulator is issued, before simulation run, determine form, the quantity of its distribution protocol is determined by the initialization data planned in file,
Subscription status district, is made up of the zone bit of purchase agreements, and for identifying the Data Update state of purchase agreements, subscription status district is by the set after renewal subscription data of RTX process, and Windows process reads zero setting after data;
Subscription data district, the protocol data information that store tasks computer simulator is ordered, before simulation run, determine form, the quantity of its purchase agreements is determined by the initialization data planned in file.
4. aircraft mission computer simulator according to claim 3, is characterized in that, mutual exclusion mechanism, and the detailed process realizing the mutually exclusive operation of shared drive read-write between Windows process and RTX process is:
When distributing data,
When the protocol data information maintained in Windows process has state updating, first inquire about RTX process and whether send release shared drive distributing data district event,
Result is yes, then first remove issued state distinctive emblem, again to the corresponding flag set in issued state district, upgrades the data of relevant position, distributing data district, and then Windows process sends to RTX process and reads shared drive distributing data district notification event,
Result is no, then Windows process continues inquiry at next cycle,
RTX process waits for the reading shared drive distributing data district notification event that Windows process sends all the time, when receiving this event, then read shared drive distributing data district data, according to the corresponding mark in issued state district, extract state updating data, then send release shared section key event to Windows process;
When subscription data,
When each aircraft member sends data to mission computer simulator, each hardware board provides protocol data by interrupt mode to RTX process, when RTX process needs to upgrade purchase agreements data, first RTX process is inquired about Windows process and whether is sent release shared drive subscription data district event:
Result is yes, then first remove subscription status distinctive emblem, again to the corresponding flag set in subscription status district, upgrades the data of relevant position, subscription data district, and then RTX process sends to Windows process and reads shared drive subscription data district notification event;
Result is no, then RTX process continues inquiry at next cycle synchronization frame.
The each synchronization frame of Windows process is inquired about RTX process and whether is sent reading shared drive subscription data district notification event, if there is this event to occur, then read shared drive subscription data district data, according to the corresponding mark in issued state district, extract state updating protocol data, then Windows process sends release shared drive subscription data district event to RTX process.
5. aircraft mission computer simulator according to claim 1, is characterized in that,
Described Windows process comprises host process and assisted process, and host process is for upgrading distribution protocol data, and assisted process is for reading purchase agreements data, and host process and assisted process are carried out simultaneously,
The specific works flow process of Windows process is as follows:
After mission computer simulator startup optimization, set up shared drive, initialization shared section key data according to planning file content, after creating purchase agreements data query thread, enter host process and assisted process simultaneously;
After entering host process, start RTX process, start emulation, control the Dynamic simulation of whole mission computer simulator according to user operation instruction and stop simulation process, in simulation run process, when needs manual intervention mode carries out the injection of mission computer simulator data, by user interface input distributing data information, and by shared drive, protocol data to be released is passed to RTX process, complete after upgrading distribution protocol data, again control the Dynamic simulation of whole mission computer simulator according to user operation instruction and stop simulation process;
After entering assisted process, judge whether to upgrade purchase agreements data, until when judged result is "Yes", Windows process waits for the reading shared drive distributing data district notification event that RTX process sends in assisted process, obtains shared drive distributing data district operating rights, read shared drive distributing data district, set up data image, search the purchase agreements data will carrying out Data Update, obtain the protocol data information that have updated, upgrade the data buffer of Windows process self
After purchase agreements data query thread upgrades subscription data, current task computer simulator status data synthesis display function is provided according to the purchase agreements information in data buffer, complete more new data display, synthesis display is for providing the data display mode of chart and figure;
After purchase agreements data query thread upgrades subscription data, current task computer simulator status data writing function is provided according to the purchase agreements information in data buffer, data record provides with file mode, Data Filename is called the time of initiating task computer run, file layout be " year _ moon _ day _ time _ point _ second ", complete data record
After data record completes, carry out integrated management according to recording time information to data file, this integrated management comprises data exporting, tracing analysis and backup, completes data management.
6. aircraft mission computer simulator according to claim 1, is characterized in that,
The specific works flow process of described RTX process comprises the transmission processing to distribution protocol and the reception process to purchase agreements,
The transmission processing of A:RTX process to distribution protocol is as follows:
After RTX process initiation runs, open the shared drive that Windows process is set up, the various Communication Card of initialization, hardware board is installed and interrupts call back function, set up the data buffer of protocol data, create distribution protocol data query thread, until inquire Windows process to there is distributing data when upgrading, RTX process reads Data Update self buffer, shared drive distributing data district; Call the distribution protocol data message that corresponding hardware board driver transmission user upgrades, complete the transmission processing of RTX process to distribution protocol.
The reception process of B:RTX process to purchase agreements is as follows:
After RTX process initiation runs, open the shared drive that Windows process is set up, the various Communication Card of initialization, hardware board is installed and interrupts call back function, set up the data buffer of protocol data, create distribution protocol data query thread, after hardware board interruption call back function receives the bus protocol data of each aircraft member transmission, first RTX process receives the data block corresponding to data according to the frame originating point information coupling in data block table; After the match is successful, from stimulus-response table, search the processing logic of this data block according to data block title; If find, then call process function according to the response logic information in stimulus-response table and the information received in data block is processed; The corresponding Communication Card driving function of last RTX process transfer sends response data block, and notifies that Windows process has purchase agreements Data Update, completes the reception process of RTX process to purchase agreements.
7. aircraft mission computer simulator according to claim 1, is characterized in that, described industrial computer is 4U industrial computer.
8. aircraft mission computer simulator according to claim 1, is characterized in that, described simulator also comprises display, mouse/keyboard, 1553 cards, 422 cards, 429 card and racks,
Industrial computer connects 1553 cards, 422 cards and 429 cards by pci bus simultaneously,
Industrial computer is connected with display by video interface card, and industrial computer is connected with mouse/keyboard by USB interface,
Industrial computer, 1553 cards, 422 cards and 429 fasten in rack, and display is arranged on the top of rack,
The rear panel of rack is provided with signal interface board, this signal interface board leaves system power supply interface, rack rear panel has 1553,422,429 and network signal socket, and has 220V Power supply socket,
The bottom of the front panel of rack is provided with test signal interface board, and this test signal interface board is used for drawing RS422 and ARINC429 test signal interface
The middle part of the front panel of rack is provided with operator's console, and this operator's console is for placing mouse/keyboard, and it is 8 enter the 8 pci bus cards gone out that 422 cards and 429 block,
1553 cards are binary channels pci bus card.
CN201510169892.2A 2015-04-10 2015-04-10 Aircraft mission computer simulator Pending CN104750540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510169892.2A CN104750540A (en) 2015-04-10 2015-04-10 Aircraft mission computer simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510169892.2A CN104750540A (en) 2015-04-10 2015-04-10 Aircraft mission computer simulator

Publications (1)

Publication Number Publication Date
CN104750540A true CN104750540A (en) 2015-07-01

Family

ID=53590284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510169892.2A Pending CN104750540A (en) 2015-04-10 2015-04-10 Aircraft mission computer simulator

Country Status (1)

Country Link
CN (1) CN104750540A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598019A (en) * 2016-10-31 2017-04-26 航天东方红卫星有限公司 Satellite housekeeping simulator and simulation method for development and test of micro-nano satellite control module
CN106681309A (en) * 2017-02-15 2017-05-17 合肥市融宇电子有限公司 Comprehensive test platform for unmanned aerial vehicle
CN106776429A (en) * 2016-12-10 2017-05-31 中国船舶重工集团公司第七六研究所 USB interface-based 1553B bus communication modules
CN106940540A (en) * 2016-01-04 2017-07-11 西门子工厂自动化工程有限公司 Controller, the control of equipment and state monitoring method
CN108768874A (en) * 2018-05-30 2018-11-06 中国航空无线电电子研究所 The method of alleviation avionics network congestion based on order loss in efficiency
CN109345902A (en) * 2018-12-07 2019-02-15 江西洪都航空工业集团有限责任公司 A kind of flight simulator aircraft emulation system
CN112417678A (en) * 2020-11-18 2021-02-26 中国运载火箭技术研究院 Hard real-time aircraft test system
CN112799787A (en) * 2021-02-07 2021-05-14 北京华如科技股份有限公司 Improved parallel behavior execution conflict resolution method in simulation operation and storage medium thereof
CN117056099A (en) * 2023-08-14 2023-11-14 中国铁道科学研究院集团有限公司 Railway signal security computer platform and memory sharing method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
于继超,刘经宇: "《基于RTX的工程飞行模拟器数据采集与存储系统设计》", <系统仿真技术> *
李华龙,魏长安,姜守达: "《基于RTX与反射内存的实时支撑系统设计》", 《现代电子技术》 *
武文峰,张泓: "《基于RTX的PXI板卡驱动程序开发》", 《航空兵器》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940540A (en) * 2016-01-04 2017-07-11 西门子工厂自动化工程有限公司 Controller, the control of equipment and state monitoring method
CN106598019B (en) * 2016-10-31 2019-02-19 航天东方红卫星有限公司 A kind of Star Service simulator and method for the exploitation test of micro-nano satellite control module
CN106598019A (en) * 2016-10-31 2017-04-26 航天东方红卫星有限公司 Satellite housekeeping simulator and simulation method for development and test of micro-nano satellite control module
CN106776429A (en) * 2016-12-10 2017-05-31 中国船舶重工集团公司第七六研究所 USB interface-based 1553B bus communication modules
CN106681309A (en) * 2017-02-15 2017-05-17 合肥市融宇电子有限公司 Comprehensive test platform for unmanned aerial vehicle
CN106681309B (en) * 2017-02-15 2019-08-23 合肥市融宇电子有限公司 A kind of unmanned plane comprehensive test platform
CN108768874A (en) * 2018-05-30 2018-11-06 中国航空无线电电子研究所 The method of alleviation avionics network congestion based on order loss in efficiency
CN109345902A (en) * 2018-12-07 2019-02-15 江西洪都航空工业集团有限责任公司 A kind of flight simulator aircraft emulation system
CN112417678A (en) * 2020-11-18 2021-02-26 中国运载火箭技术研究院 Hard real-time aircraft test system
CN112417678B (en) * 2020-11-18 2024-04-09 中国运载火箭技术研究院 Hard real-time aircraft test system
CN112799787A (en) * 2021-02-07 2021-05-14 北京华如科技股份有限公司 Improved parallel behavior execution conflict resolution method in simulation operation and storage medium thereof
CN112799787B (en) * 2021-02-07 2023-10-03 北京华如科技股份有限公司 Improved parallel behavior execution conflict resolution method in simulation operation and storage medium thereof
CN117056099A (en) * 2023-08-14 2023-11-14 中国铁道科学研究院集团有限公司 Railway signal security computer platform and memory sharing method thereof
CN117056099B (en) * 2023-08-14 2024-06-07 中国铁道科学研究院集团有限公司 Railway signal security computer platform and memory sharing method thereof

Similar Documents

Publication Publication Date Title
CN104750540A (en) Aircraft mission computer simulator
CN104885062B (en) Using logic to physical mappings end user&#39;s space communication is carried out with data storage device
CN102236705B (en) The fine granularity that data base resets synchronizes
CA2704138C (en) Providing indirect data addressing in an input/output processing system where the indirect data address list is non-contiguous
CN109116315B (en) General radar avionics simulation system
CN105094707A (en) Method and device for storing and reading data
CN104903868A (en) Using a virtual to physical map for direct user space communication with a data storage device
CN101241428A (en) Methods and apparatus and system for issuing commands on a bus
CN102646064A (en) Incremental virtual machine backup supporting migration
CN102436799A (en) Transparent repeater device for handling displayport configuration data
CN103582879B (en) Operator message impact damper in management coupling facility
CN101627372A (en) Selectively utilizing a plurality of disparate solid state storage locations
CN103033210B (en) Simulation testing system of electronic flight instrument system
EP0449578A2 (en) A logic simulation machine
CN205788161U (en) The test system of communication interface
CN110019498A (en) Log synchronous method and device, storage medium, electronic equipment
CN103176913B (en) Hard disk method for mapping dynamically and the server applying it
CN100401270C (en) Parallel computer architecture, and information processing unit using architecture
CN103533061A (en) Construction method for cloud experimental platform of operating system
CN112162495A (en) Inertial navigation simulation system and method based on ARINC429 bus
CN101000567A (en) Designation system and method
CN101458655B (en) Internal memory management method, system and internal memory control device
CN103473185A (en) Cache writing method, caching device and storing system
CN202030403U (en) Elevator rapid debugging device
CN104123104B (en) Daily record control system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150701

RJ01 Rejection of invention patent application after publication