CN108829527B - Avionics control simulation device suitable for night vision system - Google Patents

Avionics control simulation device suitable for night vision system Download PDF

Info

Publication number
CN108829527B
CN108829527B CN201810589304.4A CN201810589304A CN108829527B CN 108829527 B CN108829527 B CN 108829527B CN 201810589304 A CN201810589304 A CN 201810589304A CN 108829527 B CN108829527 B CN 108829527B
Authority
CN
China
Prior art keywords
message
control
avionic
message block
execution state
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.)
Active
Application number
CN201810589304.4A
Other languages
Chinese (zh)
Other versions
CN108829527A (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.)
Xian institute of Applied Optics
Original Assignee
Xian institute of Applied Optics
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 Xian institute of Applied Optics filed Critical Xian institute of Applied Optics
Priority to CN201810589304.4A priority Critical patent/CN108829527B/en
Publication of CN108829527A publication Critical patent/CN108829527A/en
Application granted granted Critical
Publication of CN108829527B publication Critical patent/CN108829527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention discloses an avionics control simulation device suitable for a night vision system, and belongs to the technical field of avionics control of an airborne night vision system. The method comprises an avionic control application layer and a protocol data processing layer, wherein the avionic control application layer provides a graphical and modularized man-machine interaction control interface and comprises modules for avionic control triggering, execution state updating, prompt information display and the like, so that the avionic control of a night vision system is realized; the protocol data processing layer develops and configures a message time sequence chain table, writes in avionics control messages, reads feedback state messages and other interfaces according to a 1553B communication protocol, and realizes the read-write control of 1553B message blocks on an MIL-STD-1553B bus. Interfaces for processing avionics control and analyzing execution states and the like are packaged, and the avionics control instruction and feedback state data are communicated between an avionics control application layer and a protocol data processing layer.

Description

Avionics control simulation device suitable for night vision system
Technical Field
The invention belongs to the technical field of avionics control of an airborne night vision system, and particularly relates to an avionics control simulation device suitable for a night vision system.
Background
The airborne night vision system is an airborne photoelectric night vision device which is used for assisting landing in day and night, assisting navigation in severe environment and preventing collision and early warning in low-altitude environment by a helicopter. In the flight process of the helicopter, a pilot completes flight tasks such as auxiliary landing, auxiliary navigation, anti-collision early warning and the like under different weather conditions or in adverse weather environments around the clock by controlling and monitoring the comprehensive task processor. Generally, on one hand, a night vision system needs to debug and detect the functions and performances of a thermal infrared imager, a low-light level television, a servo system and an image fusion plate in the research, development and trial-manufacture processes; on the other hand, the night vision system monitors and evaluates the image quality of the external scene detected by the low-light television and the external scene fused by the low-light television and the thermal infrared imager in the moonless or semimoonless environment at night, and the control and monitoring of the night vision system are realized through the avionic control simulation device, so that the design and development of the avionic control simulation device suitable for the night vision system are particularly important.
At present, one of the existing avionics control simulation devices of the night vision system is to insert a 1553B bus board card into an expansion slot of a desktop industrial personal computer; and the other is that a common notebook computer is connected with a 1553B adapter through a USB interface to provide hardware support for the analog avionics control method. One method for simulating the avionics control of the night vision system is directly provided by manufacturers, and has the advantages of being available when bought and convenient for software and hardware maintenance; the defects of long ordering period, high purchasing cost, difficult secondary development and the like; another manufacturer provides a driver layer related interface, which is developed by a user, and has the advantages of strong adaptability and compatibility and low purchase cost; the defects are long development and test period, high labor cost and the like.
At present, no public report is available about the detailed technical content of the avionics control simulation device suitable for the night vision system.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides an avionics control simulation device suitable for a night vision system.
The technical scheme of the invention is as follows:
the avionics control simulation device suitable for the night vision system is characterized in that: the system comprises an avionics control application layer and a protocol data processing layer;
the avionic control application layer comprises an avionic control triggering module, an execution state updating module and a prompt message display module, and completes the avionic simulation control of the remote terminal night vision system RT; the avionics control trigger module triggers an avionics control event, a bus controller BC is started to call and process an avionics control command interface to send an avionics control command to the RT, the execution state updating module calls and analyzes an execution state interface to periodically update night vision system execution state data fed back to the BC by the RT, and the prompt information display module displays receiving and sending prompt information monitored by the BC;
the protocol data processing layer comprises a message configuration time sequence linked list module, a avionics control message writing module and an execution state message reading module; the message time sequence linked list configuration module is used for initializing a 1553B board card channel, setting a BC function and setting message block attributes in a message time sequence linked list; the writing avionic control message module calls an avionic control instruction for processing an avionic control application layer response of the avionic control interface, and writes the avionic control message block into a 1553B board card according to 1553B communication and bitwise XOR logical operation combination; and the execution state information reading module reads the execution state information block fed back by the RT from the 1553B board card, calls an analysis execution state interface to extract the execution state data fed back by the night vision system according to a 1553B communication protocol by bit or logic operation, and reports the execution state data to the avionic control application layer.
In a further preferred aspect, the avionics control simulation device suitable for the night vision system is characterized in that: the system also comprises a man-machine interaction control interface which consists of an avionic control trigger panel, an execution state updating panel and a prompt message display panel and is respectively corresponding to the associated avionic control trigger module, the execution state updating module and the prompt message display module; after an avionic control command triggered by the avionic control trigger panel is responded by the night vision system RT, the execution state is fed back to the execution state updating panel by a user, and the received and sent prompt information is displayed on the prompt information display panel; the other keys except for 6 control mode keys in the 28 control keys on the periphery of the avionic control trigger panel can trigger different avionic control events in different control modes, have a one-key multiplexing function, are in an activated or inactivated state in different control modes, and have an anti-misoperation function.
In a further preferred aspect, the avionics control simulation device suitable for the night vision system is characterized in that: the message time sequence linked list is configured by the following steps:
step 1: initializing a 1553B board card and setting BC functions: initializing a 1553B board card A channel and setting a 1553B board card to support a BC function, judging whether the initialization of the 1553B board card is successful, if not, reporting failure information and quitting configuring a message timing chain table, otherwise, setting the BC function, wherein the BC function comprises setting the number of message blocks, the period of the message blocks, no response time and latest response time; judging whether the BC function is successfully set, if not, reporting failure information and quitting the configuration message time sequence linked list, otherwise, distributing a message buffer area; judging whether the distribution message buffer area is successful, if not, reporting failure information and quitting the configuration message time sequence linked list, otherwise, executing the step 2;
step 2: set message blocks 0 to 6: 1) set message block 0 control information: setting BC subframe start, next message block number and message interval; 2) combine 1553B command words: setting RT address and sub address, RT sending and its sending data word number, message block direction; 3) writing a message block into a memory of a 1553B board card, storing an execution state message fed back by an RT (reverse transcription) in a message buffer area opened up by the 1553B board card, judging whether writing of the 1553B board card is successful, if not, reporting failure information and quitting configuring a message time sequence linked list, otherwise, setting a message block according to the number of the next message block, wherein the process is the same as that of setting the message block 0 until the message block 5; 5) a set message block 6, wherein the set message block 6 differs in that: setting BC subframe as end, the number of next message block as 0, indicating that the cycle period of the configured message block is ended, and reconfiguring from the message block 0 in the next period;
and step 3: setting message blocks 7 to 9: 1) set message block 7 control information: setting the number of the next message block and the message interval; 2) combine 1553B command words: setting RT address and sub address, RT receiving and receiving data word number, message block direction; 3) writing a message block into a 1553B board memory and opening a message buffer area in the 1553B board memory to store the avionic control message sent by the BC; 4) judging whether the writing 1553B board card is successful, if not, reporting failure information and quitting the configuration message time sequence linked list, otherwise, setting a message block according to the number of the next message block, wherein the process is the same as that of the setting message block 7;
and 4, step 4: and starting the BC operation message time sequence chain table.
In a further preferred aspect, the avionics control simulation device suitable for the night vision system is characterized in that: dividing the execution state data fed back by the night vision system into 6 message blocks according to a 1553B communication protocol, and respectively and correspondingly configuring message blocks 0 to 5 in a message time sequence linked list; starting a timer, calling a read message interface provided by a bus interface driving layer to sequentially traverse message blocks 0 to 5, and specifically carrying out the following processes:
reading a message block 0 in an RT message buffer area of a 1553B board card, wherein the message block comprises a 1553B state word, a data word and a time tag fed back by an RT; judging whether the message block 0 is successfully read or not, and if not, jumping to a traversal message block 1; otherwise, judging whether the control word is equal to 0xFFFF, if so, reading the message block 0 incorrectly, exiting from traversing the message block, and waiting for next traversal; otherwise, calling an analysis execution state interface to extract RT feedback night vision system execution state information according to a 1553B communication protocol by bit or logic operation, setting corresponding execution state logic variables, reporting to an avionic control application layer, refreshing an avionic control trigger module and a prompt message display module, and traversing a message block 0 to finish; and traversing the message blocks 1 to 5 according to the same method sequence, ending the traversing of the message blocks at the present time, and waiting for the next cycle of traversing operation.
In a further preferred aspect, the avionics control simulation device suitable for the night vision system is characterized in that: the avionic operation command responded by the night vision system is divided into avionic operation commands I, II and III according to a 1553B communication protocol, and message blocks 7 to 9 in the message timing chain list are correspondingly configured respectively, wherein the avionic operation commands I and II are triggered by a user, the avionic operation command III is triggered by a timer, and then the operation methods of processing the avionic operation command, packaging and sending the avionic operation message blocks are the same, and the specific process is as follows:
1. triggering and processing an avionic control command: a user double-clicks a control key of a man-machine interaction control interface to trigger an avionic control event, a related control method is called to judge whether the avionic control event belongs to an avionic control instruction I, if not, the avionic control event is II, otherwise, the avionic control event is I, a corresponding control logic variable is set, and an avionic control trigger module and a prompt message display module are refreshed; the timer periodically triggers an avionic time event, and a related control method is called to read the current BC Beijing time: time-minute-second (H: M: S), and converted into millisecond data T _ data ═ (H × 3600+ M × 60+ S) × 1000 × 25;
2. packaging and sending the avionics control message block: calling a processing avionic control interface to combine 1553B data words according to a 1553B communication protocol by bit logic XOR operation, and packaging the 1553B command words in a configuration message time sequence linked list into avionic control message blocks to be written into a 1553B board card BC message buffer area; calling an aperiodic message detection interface to detect whether a message block is sent in the current message linked list or not, if so, continuing to detect, and otherwise, calling an aperiodic message sending interface to write the avionic control message block into a 1553B board card; judging whether the writing message block is successful, if not, reporting and sending failure prompt information, otherwise, reporting and sending success prompt information; and releasing a message block in a 1553B bus board card buffer area, and continuously waiting for triggering the avionics control event.
Advantageous effects
The beneficial effect system of the invention has the following aspects:
1) the graphical and modularized man-machine interaction control interface is provided and comprises modules of avionics control triggering, execution state updating, prompt information display and the like, avionics control of a night vision system is realized, and control keys in the interface have one-key multi-purpose functions and activated or inactivated states, so that control monitoring and misoperation prevention of a user are facilitated;
2) interfaces for processing avionic control and analyzing execution states and the like are packaged, so that avionic control instructions and execution state information are communicated between an avionic control application layer and a protocol data processing layer, the application layer interface is simple in design, the processing layer communication interfaces are few, and software maintenance and secondary development are facilitated;
3) interfaces for configuring a message timing chain table, writing avionics control messages and reading execution state messages are developed, the 1553B message block is read and written on a 1553B bus, a 1553B board card bottom layer driving interface is shielded, and the 1553B message timing chain table and the message block is easily configured and planned.
Drawings
FIG. 1 is a block diagram of the present invention.
Fig. 2 is a diagram of a 1553B message timing chain in accordance with an embodiment of the invention.
FIG. 3 is a flow chart of reading 1553B message blocks according to the invention.
FIG. 4 is a flow chart of a write 1553B message block of the present invention.
FIG. 5 is a diagram of a human-computer interaction control interface according to the present invention.
FIG. 6 is a diagram of a disjunct RT execution state interface of the present invention.
Detailed Description
The invention is described below with reference to specific examples:
as shown in fig. 1, the avionics control simulation method of the night vision system in the embodiment of the invention is composed of an avionics control application layer and a protocol data processing layer, wherein the avionics control application layer provides a graphical and modular human-computer interaction control interface, and comprises modules for avionics control triggering, execution state updating, prompt information display and the like, so as to complete the avionics control simulation of the night vision system. The avionic control triggering module triggers an avionic control event and an avionic time event, and starts BC to call and process an avionic control interface to send an avionic control instruction to RT; the execution state updating module calls the analysis execution state interface to periodically update the execution state data fed back to the BC by the RT; and the prompt information display module displays the receiving and sending prompt information of BC monitoring. The protocol data processing layer realizes read-write operation on the 1553B bus by calling a corresponding interface provided by the bus interface driving layer, and the read-write operation comprises configuring a message time sequence linked list, writing avionics operation messages and reading execution state messages. Configuring a message time sequence linked list for initializing a 1553B board card channel and a BC function in a 1553B board card, setting the attribute of a message block in the message linked list and the like; writing the avionic control message, calling and processing an avionic control command responded by an avionic control application layer under an avionic control interface, combining the avionic control command into an avionic control message block according to a 1553B communication protocol by bitwise XOR logical operation, and writing the avionic control message block into a message block buffer area distributed by a 1553B board card; and reading the execution state information, reading an execution state information block fed back by the RT from a 1553B board card information buffer area, calling an analysis execution state interface to extract execution state data fed back by the night vision system according to 1553B communication protocol by bit or logic operation, and reporting the execution state data to an avionic control application layer.
As shown in fig. 2, in the first step, a 1553B board card channel is initialized and a BC working mode is set. Calling an initialization 1553B board card interface provided by a bus interface driving layer to initialize a 1553B board card A channel, namely receiving and sending a message block in the A channel; calling a 1553B board card working mode interface to set a BC working mode, judging whether the initialization of the 1553B board card is successful, if not, reporting initialization 1553B failure information and quitting a configuration message time sequence linked list, and otherwise, calling a 1553B board card BC functional interface to set a BC function: the method comprises the steps of setting the number of message blocks in a message chain table to be 9, the interval time of the message blocks to be 20ms, the non-response time to be 2us, the latest response time to be 1.7us and the like, judging whether the BC function is successfully set, if the BC function is not successfully set, reporting failure information of the BC function and quitting the configuration of the message chain table, otherwise, calling a 1553B message buffer interface to distribute message buffers for the message blocks respectively, distributing 1 message buffer for each message block, judging whether the distribution buffers are successful, if the distribution buffers are not successful, reporting failure information of the distribution buffers and quitting the configuration of the message chain table, and otherwise, executing the second step. Second, message blocks 0 to 6 are set. Set message block 0 control information: setting BC subframe start, namely a message block 0 is a first message block in a subframe mode; the number of the next message block is 1, namely the message block 1 is set after the message block 0 is set; message interval 10us, the message interval time in a message block; invoking a 1553B command word interface combination 1553B command word: setting RT address 8 and sub address 1, RT sending and sending 1553B data word number 6, and message block direction BC → RT; calling a message block interface of a 1553B board card to write a message block 0 into a 1553B board card distribution memory, calling a message buffer area opened up by a 1553B board card message buffer area interface to store an execution state message block fed back by an RT (reverse transcription) in the 1553B board card memory, wherein the execution state message block comprises a 1553B state word and a data word, respectively judging whether the 1553B board card writing is successful, if not, reporting failure information of the 1553B board card writing and quitting configuring a message time sequence linked list, otherwise, setting a corresponding message block according to the number of the next message block, wherein the method is the same as that of setting the message block 0 until the message block 5; the difference in setting message block 6 is that the setting subframe ends, the next message block number 0, i.e. from the execution of message block 0 to 6, the setting message block cycle ends, and the next period is set again starting from message block 0. Third, message blocks 7 to 9 are set. Set message block 7 control information: setting the number of the next message block to be 0xFFFF, namely setting the message block 7 only once; message interval 10us, the message interval time in a message block; invoking a 1553B command word interface combination 1553B command word: setting RT address 8 and sub address 1, RT receiving and receiving 1553B data word number 6, and message block direction RT → BC; calling a message block interface of a write 1553B board card to write a message block 7 into a memory allocated by a 1553B board card, calling a message buffer area opened up by an interface of a message buffer area of the open 1553B board card to store a avionic control message block sent by BC in the memory of the 1553B board card, wherein the message buffer area includes 1553B command words and data words, respectively judging whether the write 1553B board card is successful, if the write 1553B board card is unsuccessful, reporting failure information of the write 1553B board card and quitting configuring a message time sequence linked list, otherwise, setting message blocks 8 to 9, wherein the method is the same as the message block 7, only setting the message block 9 as an avionic time broadcast message block, and the difference is that an RT address 31, a sub address 30 and the like are set, and the other settings are the same. And fourthly, starting the BC running configuration message time sequence linked list. And calling a running BC interface provided by a bus interface driving layer to start the configured message time sequence linked list.
As shown in fig. 3, the execution state of the RT feedback in the method is divided into 6 message blocks according to the 1553B communication protocol, and 0 to 5 in the message timing chain table are configured correspondingly. Starting a timer, and traversing the message blocks 0 to 5 in sequence, wherein the specific method is as follows: calling a read message interface provided by a bus interface driving layer to read a 1553B board card to distribute a message block 0 in an RT message buffer area, wherein the message block 0 comprises a 1553B state word, a data word, a 48-bit time tag and the like fed back by an RT, judging whether the message block 0 is successfully read, and jumping to a message block 1 if the message block 0 is not successfully read; otherwise, judging whether the control word is equal to 0xFFFF, if so, indicating that the read message block 0 is incorrect, ending the traversal of the message block, and waiting for the next traversal; otherwise, calling an analysis execution state interface to extract execution state data fed back by the RT according to bit or logic operation on the 16bit data of the data word according to a 1553B communication protocol, setting corresponding state logic variables, reporting modules of an avionic control application layer for refreshing prompt information display, feedback state updating and the like, setting corresponding states of three panels in a human-computer interaction control interface, and traversing the message block 0 to complete the operation. And continuously traversing the messages 1 to 5 in the same traversing mode as the message block 0, and waiting for the timer to start the next cycle to traverse the message block again after the traversal of the message block 5 is finished.
As shown in fig. 4, the avionics operation of BC response in the method is divided into avionics operation instructions I, II and III, and 7 message blocks to 9 in the message timing chain table are configured correspondingly, respectively, where the avionics operation instructions I and II are triggered by a user, the avionics operation instruction III is triggered by a timer, and the following operation methods for processing the avionics operation instructions, packaging and writing the avionics operation instructions into the avionics operation message blocks are the same, and the specific method is as follows: step one, triggering and processing an avionic control instruction: a user double-clicks a control button of a man-machine interaction control interface to trigger an avionic control event, a related control method is called to judge whether the avionic control event belongs to an avionic control instruction I, if not, the avionic control instruction is an avionic control instruction II, otherwise, the avionic control instruction is an avionic control instruction I, and then the avionic control instruction I/II is processed, wherein the method is shown in a figure 5; the timer periodically triggers an avionic time event, and a related control method is called to read the current BC Beijing time: time-minute-second (H: M: S), and converted into millisecond data T _ data ═ H × 3600+ M × 60+ S) × 1000 × 25. Step two, packaging and writing the avionics control message block: calling and processing an avionic control instruction which is transmitted by an avionic control trigger module and responded by an avionic control interface, combining 1553B data words by bitwise logical XOR operation according to a 1553B communication protocol, writing the combined 1553B data words into an avionic control buffer area, setting corresponding control logic variables, packaging the combined 1553B command words in a configuration message time sequence linked list into an avionic control message block, and calling a write message interface provided by a driving interface layer to write into a 1553B board card to distribute a BC message buffer area; calling an aperiodic message detection interface to detect whether a message block is sent in a current message linked list, if so, waiting for next period detection, otherwise, calling a message sending interface to write the avionic control message block into a 1553B board card, judging whether the message block is successfully written, if not, reporting and sending failure prompt information to an avionic control application layer, otherwise, reporting and sending success prompt information, refreshing modules such as an avionic control trigger module and a prompt information display module, releasing the message block in a 1553B board buffer card, and waiting for a next avionic control event triggering.
As shown in fig. 5, the human-computer interaction control interface is composed of panels for avionic control triggering, execution state updating, prompt information displaying, and the like, and is respectively associated with modules for avionic control triggering, execution state updating, prompt information displaying, and the like. The avionic control command in the control mode 2 belongs to an avionic control command II, the avionic control command in other modes belongs to an avionic control command I, and the avionic time command belongs to an avionic control command III. The other keys except 6 control mode keys in 28 control keys on the periphery of the avionic control trigger panel can trigger different avionic control events in different control modes, and have a one-key multiplexing function; the device is in an activated or inactivated state under different control modes, and has an anti-misoperation function. The processing method of the avionic control instruction is described by taking a user triggering control instruction 1 as an example: 1) a user triggers a control instruction 1 (a power-on instruction of a sensor 1), BC calls a related control method to respond to a trigger event, sets corresponding control logic variables, packages the control logic variables into an avionic control instruction I and sends the avionic control instruction I to RT; 2) the RT responds to the control instruction 1, powers on a power supply of the sensor 1, and feeds back execution state information to the BC; 3) the BC extracts execution state information, sets corresponding state logic variables, controls a white frame around the instruction 1, namely the BC receives the power-on state of the sensor 1 fed back by the RT; 4) the second key on the right side of the avionic control trigger panel is in an activated state, namely after the power supply of the sensor 1 is switched on, the video channel can be switched to the video of the sensor 1; since the video of the sensor 3 is the fused video of the sensor 1 and the sensor 2, the first key is in an activated state, that is, the videos of the sensors 1, 2 and 3 can be switched with each other, see fig. 6, and meanwhile, the corresponding states in the avionic control trigger panel, the execution state updating panel and the prompt message display panel are set.

Claims (5)

1. The utility model provides a be applicable to night vision system avionics and control analogue means which characterized in that: the system comprises an avionics control application layer and a protocol data processing layer;
the avionic control application layer comprises an avionic control triggering module, an execution state updating module and a prompt message display module, and completes the avionic simulation control of the remote terminal night vision system RT; the avionics control trigger module triggers an avionics control event, a bus controller BC is started to call and process an avionics control command interface to send an avionics control command to the RT, the execution state updating module calls and analyzes an execution state interface to periodically update night vision system execution state data fed back to the BC by the RT, and the prompt information display module displays receiving and sending prompt information monitored by the BC;
the protocol data processing layer comprises a message configuration time sequence linked list module, a avionics control message writing module and an execution state message reading module; the message time sequence linked list configuration module is used for initializing a 1553B board card channel, setting a BC function and setting message block attributes in a message time sequence linked list; the writing avionic control message module calls an avionic control instruction for processing an avionic control application layer response of the avionic control interface, and writes the avionic control message block into a 1553B board card according to 1553B communication and bitwise XOR logical operation combination; and the execution state information reading module reads the execution state information block fed back by the RT from the 1553B board card, calls an analysis execution state interface to extract the execution state data fed back by the night vision system according to a 1553B communication protocol by bit or logic operation, and reports the execution state data to the avionic control application layer.
2. The device of claim 1, wherein the device comprises: the system also comprises a man-machine interaction control interface which consists of an avionic control trigger panel, an execution state updating panel and a prompt message display panel and is respectively corresponding to the associated avionic control trigger module, the execution state updating module and the prompt message display module; after an avionic control command triggered by the avionic control trigger panel is responded by the night vision system RT, the execution state is fed back to the execution state updating panel by a user, and the received and sent prompt information is displayed on the prompt information display panel; the other keys except for 6 control mode keys in the 28 control keys on the periphery of the avionic control trigger panel can trigger different avionic control events in different control modes, have a one-key multiplexing function, are in an activated or inactivated state in different control modes, and have an anti-misoperation function.
3. The device of claim 1, wherein the device comprises: the message time sequence linked list is configured by the following steps:
step 1: initializing a 1553B board card and setting BC functions: initializing a 1553B board card A channel and setting a 1553B board card to support a BC function, judging whether the initialization of the 1553B board card is successful, if not, reporting failure information and quitting configuring a message timing chain table, otherwise, setting the BC function, wherein the BC function comprises setting the number of message blocks, the period of the message blocks, no response time and latest response time; judging whether the BC function is successfully set, if not, reporting failure information and quitting the configuration message time sequence linked list, otherwise, distributing a message buffer area; judging whether the distribution message buffer area is successful, if not, reporting failure information and quitting the configuration message time sequence linked list, otherwise, executing the step 2;
step 2: set message blocks 0 to 6: 1) set message block 0 control information: setting BC subframe start, next message block number and message interval; 2) combine 1553B command words: setting RT address and sub address, RT sending and its sending data word number, message block direction; 3) writing a message block into a memory of a 1553B board card, storing an execution state message fed back by an RT (reverse transcription) in a message buffer area opened up by the 1553B board card, judging whether writing of the 1553B board card is successful, if not, reporting failure information and quitting configuring a message time sequence linked list, otherwise, setting a message block according to the number of the next message block, wherein the process is the same as that of setting the message block 0 until the message block 5; 5) a set message block 6, wherein the set message block 6 differs in that: setting BC subframe as end, the number of next message block as 0, indicating that the cycle period of the configured message block is ended, and reconfiguring from the message block 0 in the next period;
and step 3: setting message blocks 7 to 9: 1) set message block 7 control information: setting the number of the next message block and the message interval; 2) combine 1553B command words: setting RT address and sub address, RT receiving and receiving data word number, message block direction; 3) writing a message block into a 1553B board memory and opening a message buffer area in the 1553B board memory to store the avionic control message sent by the BC; 4) judging whether the writing 1553B board card is successful, if not, reporting failure information and quitting the configuration message time sequence linked list, otherwise, setting a message block according to the number of the next message block, wherein the process is the same as that of the setting message block 7;
and 4, step 4: and starting the BC operation message time sequence chain table.
4. The device of claim 1, wherein the device comprises: dividing the execution state data fed back by the night vision system into 6 message blocks according to a 1553B communication protocol, and respectively and correspondingly configuring message blocks 0 to 5 in a message time sequence linked list; starting a timer, calling a read message interface provided by a bus interface driving layer to sequentially traverse message blocks 0 to 5, and specifically carrying out the following processes:
reading a message block 0 in an RT message buffer area of a 1553B board card, wherein the message block comprises a 1553B state word, a data word and a time tag fed back by an RT; judging whether the message block 0 is successfully read or not, and if not, jumping to a traversal message block 1; otherwise, judging whether the control word is equal to 0xFFFF, if so, reading the message block 0 incorrectly, exiting from traversing the message block, and waiting for next traversal; otherwise, calling an analysis execution state interface to extract RT feedback night vision system execution state information according to a 1553B communication protocol by bit or logic operation, setting corresponding execution state logic variables, reporting to an avionic control application layer, refreshing an avionic control trigger module and a prompt message display module, and traversing a message block 0 to finish; and traversing the message blocks 1 to 5 according to the same method sequence, ending the traversing of the message blocks at the present time, and waiting for the next cycle of traversing operation.
5. The device of claim 3, wherein the device comprises: according to a 1553B communication protocol, avionic operation instructions I, II and III responded by the night vision system are allocated to correspond to message blocks 7 to 9 in a message time sequence linked list respectively, wherein the avionic operation instructions I and II are triggered by a user, the avionic operation instruction III is triggered by a timer, and the specific process is as follows:
1) triggering and processing an avionic control command: a user triggers an avionic control event through a control key, and calls a related control method to judge whether the avionic control event belongs to an avionic control instruction I, if not, the avionic control instruction is II, otherwise, the avionic control instruction is I; setting corresponding control logic variables, and refreshing the avionic control trigger module and the prompt message display module; triggering an avionic time event by a timer period, calling a related control method to read the current time BC: time-minute-second (H: M: S), and converted into millisecond data T _ data ═ (H × 3600+ M × 60+ S) × 1000 × 25;
2) and packaging and sending the avionics control message block: calling a processing avionic control interface to combine 1553B data words according to a 1553B communication protocol by bit logic XOR operation, and packaging the 1553B command words in a configuration message time sequence linked list into avionic control message blocks to be written into a 1553B board card BC message buffer area; calling an aperiodic message detection interface to detect whether a message block is sent in the current message linked list or not, if so, continuing to detect, and otherwise, calling an aperiodic message sending interface to write the avionic control message block into a 1553B board card; judging whether the writing message block is successful, if not, reporting and sending failure prompt information, otherwise, reporting and sending success prompt information; and releasing a message block in a 1553B bus board card buffer area, and continuously waiting for triggering the avionics control event.
CN201810589304.4A 2018-06-08 2018-06-08 Avionics control simulation device suitable for night vision system Active CN108829527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810589304.4A CN108829527B (en) 2018-06-08 2018-06-08 Avionics control simulation device suitable for night vision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810589304.4A CN108829527B (en) 2018-06-08 2018-06-08 Avionics control simulation device suitable for night vision system

Publications (2)

Publication Number Publication Date
CN108829527A CN108829527A (en) 2018-11-16
CN108829527B true CN108829527B (en) 2021-09-07

Family

ID=64144501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810589304.4A Active CN108829527B (en) 2018-06-08 2018-06-08 Avionics control simulation device suitable for night vision system

Country Status (1)

Country Link
CN (1) CN108829527B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106184781A (en) * 2016-09-23 2016-12-07 江西洪都航空工业集团有限责任公司 Trainer aircraft redundance man-machine interactive system
CN106470320A (en) * 2016-09-26 2017-03-01 西安应用光学研究所 Airborne photoelectric night vision system multisensor switched system
CN106828961A (en) * 2017-01-23 2017-06-13 赖萍生 The transfer of aircraft carrier intelligent navigation potential energy is controllable to block soft carrier landing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7280955B2 (en) * 2002-06-18 2007-10-09 Martin Joseph B Universal system component emulator with human readable output

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106184781A (en) * 2016-09-23 2016-12-07 江西洪都航空工业集团有限责任公司 Trainer aircraft redundance man-machine interactive system
CN106470320A (en) * 2016-09-26 2017-03-01 西安应用光学研究所 Airborne photoelectric night vision system multisensor switched system
CN106828961A (en) * 2017-01-23 2017-06-13 赖萍生 The transfer of aircraft carrier intelligent navigation potential energy is controllable to block soft carrier landing system

Also Published As

Publication number Publication date
CN108829527A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US10162336B2 (en) Numerical control system based on virtual host computer
CN112243523B (en) Method for synchronizing multiple display panels and electronic device
US20210358358A1 (en) Timing controller, display device, apparatus and method for controlling refresh rate
CN108962105B (en) Liquid crystal module touch screen testing device and method based on FPGA
WO2020034893A1 (en) Intelligent interaction system, writing track display method and device, tablet and medium
CN108803568B (en) Avionics control simulation system and method based on ARINC429 bus
US11562674B2 (en) Frame-level resynchronization between a display panel and a display source device for full and partial frame updates
US9158365B2 (en) Method for controlling the display for an item of equipment in standby mode and associated device
JPS63236103A (en) Plant control system
CN111399922B (en) Dual-system display device and system
CN108829527B (en) Avionics control simulation device suitable for night vision system
CN109976489B (en) Automatic reset implementation method and system under IIC (inter-Integrated Circuit) bus abnormal condition
CN108803375B (en) Helicopter-mounted photoelectric simulation control system and method based on AFDX (avionics full Duplex switched Ethernet) bus
US8077180B1 (en) Systems for and methods of using a display controller to output data
CN115639920B (en) Drawing method, electronic device, and readable storage medium
CN112488905A (en) Hyperspectral camera attitude auxiliary data update period fluctuation elimination method and on-satellite serial communication method
CN110027718B (en) Touch display control system for large civil aircraft cockpit
JP2001067107A (en) Programmable controller system and method for controlling transmission of information of the system
CN100416488C (en) Device and method for processing displaying data
US5333259A (en) Graphic information processing system having a RISC CPU for displaying information in a window
US5239626A (en) Display and drawing control system
JP3189417B2 (en) Production management device
JPH08286734A (en) Programmable display device
JPS6063612A (en) Control execution process monitor system
JP3398698B2 (en) Image display system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant