1553B bus and serial port data interaction system and method
By introducing a data storage module to the 1553B bus and serial port data interaction system for monitoring, the problem of poor data loss and monitoring in the existing system is solved, data integrity and real-timeness are achieved, and system operations are simplified.
Patent Information
- Application Number
- CN202411304899.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-02-07
AI Technical Summary
The existing 1553B bus and serial port data interaction system have problems such as data loss, poor monitoring real-time, indetailed information, insufficient data integrity, complex system, low execution rate, and cumbersome operation.
A system including a 1553B user terminal, a data conversion device and a serial port user terminal is designed. The data conversion device monitors signal transmission and conversion through a data storage module to ensure data integrity and facilitate fault location.
Real-time monitoring and data analysis and conversion of 1553B and serial port data is realized, ensuring that data is not lost, improving data conversion efficiency and real-time transmission, and simplifying system operations.
Smart Images

Figure CN119402309A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a 1553B bus and serial port data interaction system and method. Background Art
[0002] The 1553B bus is a digital communication bus standard widely used in the aerospace field, used to transmit key information such as control instructions and sensor data in aircraft systems. The 1553B bus communication system is generally composed of several subsystems interconnected through an embedded bus interface and bus media, and each subsystem operates independently. The MIL-STD-1553B bus interface control board is a key part of the communication system and a transfer station for information transmission. It is divided into two modes, BC and RT, to complete bus information integration, data processing, resource sharing, task coordination and fault-tolerant reconstruction. The serial port is a common computer interface that uses serial data transmission to send one bit of information in sequence through a single line to achieve stable and reliable data transmission and communication between devices.
[0003] At present, many traditional airborne equipment and communication equipment do not support the 1553B bus communication interface, but only support the serial port (RS422\RS232\RS485) communication interface, and cannot support both the 1553B bus interface and the serial port at the same time. In some application scenarios, it is necessary to realize the mutual exchange of 1553B data and serial port data. By establishing a reliable data transmission channel between the 1553B bus and the serial port, the two-way transmission of 1533B bus and serial port data can be realized, so as to interact with other systems or devices. However, there are some challenges and limitations: 1) The traditional 1553B and serial port data interaction system only supports the 1553B bus interface and the serial port interface at the same time, realizes the conversion between the 1553B bus protocol and the serial port protocol, completes the matching of the 1553B data format and the serial port data format and the transmission rate, and does not perform any data monitoring on the entire data conversion and transmission process, resulting in serious data loss.
[0004] 2) The existing monitoring function only monitors the 1553B bus, and since the monitoring system generally adopts the online analysis data detection method, it often has problems such as poor real-time performance, unclear monitoring information and insufficient data integrity, which is not conducive to discovering and locating faults and brings many inconveniences to use.
[0005] 3) The existing 1553B bus and serial port data exchange information monitoring system is complex, has a low execution rate, and is cumbersome to operate. The system needs to design and initialize the monitoring module separately, and during use, it also needs to perform complex operations such as initialization, configuration of the sending and receiving data areas. At the same time, it is also necessary to design a set of complex algorithms and reasonably standardize the timing of each functional module, otherwise it will cause system function disorder, and the entire process of data conversion, transmission and monitoring will go wrong. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art in the process of mutual exchange of 1553B data and serial port data, which lacks effective monitoring means, resulting in data loss, poor real-time monitoring, unclear information, insufficient data integrity, complex system, low execution rate, cumbersome operation and other problems, and to provide a 1553B bus and serial port data interaction system and method.
[0007] The purpose of the present invention is achieved through the following technical solutions: A 1553B bus and serial port data interaction system comprises a 1553B user terminal, a data conversion device and a serial port user terminal. The 1553B user terminal sends a 1553B bus signal to the data conversion device. The data conversion device converts the 1553B signal into a serial port signal according to a 1553B protocol and a serial port protocol conversion rule and sends the signal to the serial port user terminal. The serial port user terminal sends a serial port signal to the data conversion device. The data conversion device converts the serial port signal into a 1553B signal according to a serial port protocol and a 1553B protocol conversion rule and sends the signal to the 1553B user terminal. The data conversion device also comprises a data storage module, which monitors when signal transmission and conversion are performed between the 1553B user terminal, the data conversion device and the serial port user terminal. The monitoring method is to compare and determine whether the signal transmission and conversion process is normal by calling the data in the data storage module.
[0008] The design of this solution monitors the signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal, realizing the monitoring of the entire conversion process between 1553B and serial port data, ensuring data integrity, facilitating fault location, improving data conversion efficiency and real-time transmission, increasing system execution rate and facilitating system operation.
[0009] Preferably, the data conversion device further comprises a main control processing unit, a 1553B integrated circuit, a 1553B interface circuit, a serial port conversion circuit and a serial port interface circuit, the main control processing unit is connected to the 1553B integrated circuit, the serial port conversion circuit and the data storage module at the same time, the 1553B interface circuit is connected to the 1553B user terminal and the 1553B integrated circuit, and the serial port interface circuit is connected to the serial port conversion circuit and the serial port user terminal; the 1553B user terminal uses a 1553B shielded twisted pair to send a 1553B bus signal to the 1553B integrated circuit through the 1553B interface circuit; the 1553B integrated circuit sends a 1553B bus signal to the 1553B integrated circuit according to the 1553B shielded twisted pair ... B and the serial port protocol conversion rules perform mutual conversion between 1553B signals and serial port data signals, and send them to the main control processing unit or send them to the 1553B user terminal through the 1553B interface circuit; the main control processing unit is used to perform corresponding digital processing on the converted 1553B signals or serial port signals, and send them to the 1553B integrated circuit or serial port conversion module for the next step of operation; the serial port interface circuit uses the serial port differential signal line to send the serial port signal sent by the serial port terminal use system to the serial port conversion circuit, and the serial port conversion circuit converts the received serial port signal into a TTL signal or converts the TTL model received from the main control processing unit into a serial port signal.
[0010] Preferably, the data conversion device also includes an address detection circuit, which is connected to the main control processing unit. The address detection circuit is used to obtain the address of the serial port terminal and send it to the main control processing unit to match the address signal sent by the 1553B terminal.
[0011] Preferably, the data conversion device further comprises a clock circuit, which is connected to the main control processing unit. The clock circuit generates the working clock required by each functional module by frequency division and frequency multiplication using an internal phase-locked loop of the main control processing unit.
[0012] Preferably, the data conversion device also includes a power management circuit, which is connected to the 1553B integrated circuit, the main control processing unit, the data storage circuit, the serial port conversion circuit, the address detection circuit and the clock circuit to provide the required voltage to the above-mentioned modules.
[0013] Preferably, the data conversion device further comprises a reset circuit, which is connected to the power management circuit and the main control processing unit, and is used to power on and initialize the modules to restore the modules to their initial states.
[0014] Preferably, in the monitoring of signal transmission and conversion between the 1553B terminal, the data conversion device and the serial port terminal, five monitoring points are set for monitoring, which are: Monitor the data output from the main control unit to the 1553B integrated circuit; monitor the 1553B signal input to the 1553B terminal; monitor the data output from the main control unit to the serial port conversion circuit; monitor the data output from the serial port conversion circuit to the main control unit; monitor the data output from the serial port conversion circuit to the serial port terminal.
[0015] A 1553B bus and serial port data interaction method, based on a 1553B bus and serial port data interaction system, comprises the following steps: The data conversion device starts to run and perform data conversion. When data is detected on the 1553B bus, the system reads the data and converts it into serial port data according to the protocol and sends it to the serial port terminal. If data is detected on the serial port interface, the system performs corresponding operations and sends the data to the 1553B terminal. Signal transmission and conversion between the 1553B terminal, the data conversion device and the serial port terminal are monitored, and the data in the data storage module is called for comparison to determine whether the signal transmission and conversion process is normal.
[0016] Preferably, before the data conversion, it also includes address matching, device self-test and synchronization steps. The address matching step is specifically as follows: after the device is powered on, the software performs initialization operations, reads the high and low levels on the address line to obtain the RT address, and matches the obtained RT address signal with the RT address sent by the 1553B user terminal; the device self-test step is specifically as follows: after the RT address matching is completed, the system self-test part is performed, the device controls the 1553B user terminal to send a self-test instruction to the system according to the software instruction, and the device sends the self-test instruction to the serial port user terminal. After receiving the instruction, the serial port user terminal will feedback a response signal, and use the data conversion device to send a signal to the 1553B user terminal to complete the self-test of the entire device; the synchronization step is specifically as follows: after the device self-test is completed, synchronization is performed, and the data conversion device and the 1553B user terminal are synchronized for time, which is used for the synchronization of subsequent data processing.
[0017] Preferably, the 1553B bus and serial port data interaction method also includes a calling storage step. When the user needs to view the data, a debugging mode instruction is sent. After receiving the debugging instruction, the data conversion device feeds back a response signal, and the 1553B user terminal sends a download log command. After receiving the command, the data conversion device sends the corresponding log to the 1553B user terminal.
[0018] The beneficial effects of the present invention are as follows: 1) The present invention not only supports the 1553B bus and the serial port transmission interface at the same time, but also realizes the real-time monitoring and data analysis and conversion of the 1553B and serial port data interaction process, ensures that the data will not be lost, and completes the recording of the 1553B bus data and the serial port data.
[0019] 2) The present invention sets up 5 monitoring points in the system design, namely 1553B signal monitoring, serial port signal monitoring, 1553B signal to serial port signal process monitoring, serial port signal to 1553B signal process monitoring, and serial port signal output to terminal device signal monitoring, which can ensure data integrity while ensuring real-time performance.
[0020] 3) The present invention adopts a modular concept in hardware circuit design, and integrates the 1553B bus and serial port conversion part, the system control part, and the data storage part, thereby reducing the complexity of the design of each module and simplifying the system circuit structure, making the monitoring of the entire process of interaction between 1553B and the serial port simple and easy to operate.
[0021] 4) The present invention designs a set of special software for 1553B and serial port data interaction and information monitoring, optimizes the algorithms involved, reduces parameter configuration, and rationally plans the timing of each functional module to ensure that the system function, data conversion, data transmission and data monitoring process are all normal without data crosstalk, while improving the execution rate and operation rate of the system.
[0022] 5) The present invention adopts an offline analysis method. When a system failure occurs, the user can output the instruction sequence stored in the instruction log from the serial port conversion interface through specific instructions. By checking the instruction sequence and analyzing the correctness of the protocol and the correctness of the data, it is easy to find errors and locate faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a data flow direction diagram of the present invention; Figure 2 It is a circuit principle block diagram of the present invention; Figure 3 is a schematic diagram of a fault monitoring point of the present invention; Figure 4 It is a software control flow chart of the present invention.
[0024] Among them: 1. 1553B terminal, 2. data conversion device, 3. serial port terminal, 4. 1553B interface circuit, 5. 1553B integrated circuit, 6. main control processing unit, 7. data storage module, 8. serial port conversion circuit, 9. serial port interface circuit, 10. address detection circuit, 11. clock circuit, 12. reset circuit, 13. power management circuit, 14. first detection point, 15. second detection point, 16. third detection point, 17. fourth detection point, 18. fifth detection point. DETAILED DESCRIPTION
[0025] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0026] Example: A 1553B bus and serial port data interaction system, such as Figure 1-Figure 3 As shown, it includes a 1553B user terminal 1, a data conversion device 2 and a serial port user terminal 3. The 1553B user terminal sends a 1553B bus signal to the data conversion device. The data conversion device converts the 1553B signal into a serial port signal according to the 1553B protocol and the serial port protocol conversion rule and sends it to the serial port user terminal; the serial port user terminal sends a serial port signal to the data conversion device. The data conversion device converts the serial port signal into a 1553B signal according to the serial port protocol and the 1553B protocol conversion rule and sends it to the 1553B user terminal; the data conversion device also includes a data storage module 7, which monitors the signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal. The monitoring method is to compare and determine whether the signal transmission and conversion process is normal by calling the data in the data storage module.
[0027] The design of this solution monitors the signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal, realizing the monitoring of the entire conversion process between 1553B and serial port data, ensuring data integrity, facilitating fault location, improving data conversion efficiency and real-time transmission, increasing system execution rate and facilitating system operation.
[0028] The data conversion device also includes a main control processing unit 6, a 1553B integrated circuit 5, a 1553B interface circuit 4, a serial port conversion circuit and a serial port interface circuit. The main control processing unit is connected to the 1553B integrated circuit, the serial port conversion circuit 8 and the data storage module at the same time. The 1553B interface circuit is connected to the 1553B user terminal and the 1553B integrated circuit. The serial port interface circuit 9 is connected to the serial port conversion circuit and the serial port user terminal; the 1553B user terminal uses a 1553B shielded twisted pair to send a 1553B bus signal to the 1553B integrated circuit through the 1553B interface circuit; the 1553B integrated circuit sends a 1553B bus signal to the 1553B integrated circuit according to the 1553B shielded twisted pair. B and the serial port protocol conversion rules perform mutual conversion between 1553B signals and serial port data signals, and send them to the main control processing unit or send them to the 1553B user terminal through the 1553B interface circuit; the main control processing unit is used to perform corresponding digital processing on the converted 1553B signals or serial port signals, and send them to the 1553B integrated circuit or serial port conversion module for the next step of operation; the serial port interface circuit uses the serial port differential signal line to send the serial port signal sent by the serial port terminal use system to the serial port conversion circuit, and the serial port conversion circuit converts the received serial port signal into a TTL signal or converts the TTL model received from the main control processing unit into a serial port signal.
[0029] The data conversion device also includes an address detection circuit 10, which is connected to the main control processing unit. The address detection circuit is used to obtain the address of the serial port terminal and send it to the main control processing unit to match the address signal sent by the 1553B terminal.
[0030] The data conversion device further comprises a clock circuit 11, which is connected to the main control processing unit. The clock circuit generates the working clock required by each functional module by frequency division and frequency multiplication through the main control processing unit using an internal phase-locked loop.
[0031] The data conversion device also includes a power management circuit 13, which is connected to the 1553B integrated circuit, the main control processing unit, the data storage circuit, the serial port conversion circuit, the address detection circuit and the clock circuit to provide the required voltage to the above modules.
[0032] The data conversion device further comprises a reset circuit 12, which is connected to the power management circuit and the main control processing unit. The reset circuit is used to power on and initialize the modules so that each module returns to an initial state.
[0033] Specifically, in this embodiment, the application of the data conversion device is as follows: Main control processing unit: As the core processing unit, the main control processing unit controls the workflow of the entire system. In terms of circuit design, it is connected to the 1553B integrated module and the data storage module through the SPI bus interface to achieve the transmission, processing and data storage of 1553B signals; it is connected to the serial port conversion module through the serial port interface to achieve the reception, processing and transmission of serial port signals; it is connected to the address detection module through the ordinary I / O port to achieve the monitoring of the switch quantity of the address signal.
[0034] 1553B integrated circuit: 1553B integrated module is used for mutual conversion between 1553B bus protocol and serial port (RS422\RS232\RS485) protocol. The design of this part of the circuit integrates transformer, isolator, protocol transceiver and protocol control circuit to improve the integration of the system. In the circuit design, the 1553B bus signal is sent to the 1553B integrated module circuit through the 1553B interface circuit. The 1553B integrated module circuit part converts the 1553B bus signal into the serial port (RS422\RS232\RS485) signal data format according to the internal protocol conversion rules, and sends the converted serial port signal to the main control processing unit through the SPI interface for signal processing. On the contrary, when the serial port (RS422\RS232\RS485) signal is received, it is converted into the 1553B bus signal format according to the protocol and sent to the 1553B user terminal.
[0035] Serial port conversion circuit: Since the serial port signal is a differential signal, the serial port conversion circuit 1 and the serial port conversion circuit 2 are used in the circuit design to realize the conversion of the serial port signal to the TTL signal. Among them, the serial port conversion circuit 1 is connected to the serial port 1 (TXD1\RXD1) of the main control processing unit, and the serial port signal is sent to the serial port conversion circuit 1 through the serial port interface. The serial port conversion circuit 1 converts the serial port signal into a TTL signal and sends it to the main control processing unit through the TXD1\RXD1 pin for signal processing. Conversely, the TTL signal is converted into a serial port signal and sent to the serial port terminal. The serial port conversion circuit 2 is connected to the main control processing unit through TXD2\RXD2 to monitor the conversion process of the serial port signal to the TTL signal.
[0036] Data storage circuit: The data storage circuit is used to record system data, including input 1553B bus signals, 1553B signals converted from serial port signals, serial port signals converted from 1553B signals, and output serial port signals, etc., so that when a system communication failure occurs later, the fault location and cause can be located by viewing the corresponding stored data. In the circuit design, the circuit is connected to the main control processing unit circuit through the SPI interface. The main control processing unit circuit sends the received 1553B signal, the sent 1553B signal, the received serial port signal, the sent serial port signal, and the communication command to the data storage module through the SPI interface for data storage.
[0037] Address detection circuit: The address detection circuit obtains the address of the subsystem in real time according to the "on" or "off" of the external switch signal. In the circuit design, isolation design is carried out according to the different voltages. The high-voltage circuit part is connected to the external system through 6 I / O ports, and the address information is obtained according to the high and low levels. The low-voltage circuit part is connected to the main control processing unit through the I / O port, and the address information is sent to the main control processing unit for matching with the subsystem address in the 1553B bus signal. If the address match is successful, the 1553B signal is converted into a serial port signal and sent to the serial port terminal after relevant signal processing.
[0038] Clock and reset circuit: The clock and reset are responsible for the working clock and initialization of the communication system. The clock and reset module is connected to the main control processing unit through the I / O port. After the system is powered on, the reset circuit is used for initialization operation to reset each circuit part to its initial state; the clock circuit mainly provides an external working clock, and uses the built-in phase-locked loop of the main control processing unit to perform frequency division or frequency multiplication operations, providing each module with its own working timing, without interfering with each other, to ensure the normal operation of the communication system.
[0039] Interface circuit: The interface module uses J30J-21 core connector for data transmission. The system consists of power supply interface, 1553B data transmission interface, serial port signal transmission interface, and address detection signal interface. All of them use J30J connectors to transmit signals with external devices. The power supply interface has two positive and negative interfaces, the 1553B data transmission interface has 6 interfaces (2 1553B signals, 1 1553B signal includes 1 pair of 1553B differential signals and 1 ground wire), the serial port signal transmission interface has 5 interfaces, and the address detection signal has 7 interfaces, a total of 20 interfaces. The J30J-21 core connector meets the requirements of interface quantity and transmission rate.
[0040] Power management: The communication system is powered by a 28V power supply and supports a wide voltage range of 9 to 36V. The system inputs a 28V power supply to the system through the power interface, and obtains a stable 28V after filtering and voltage stabilization. The obtained 28V power supply is input to the power conversion module for conversion to obtain 3.3V. All circuits in the system involving 3.3V power supply are powered by this power supply to ensure the normal power supply of the entire communication system.
[0041] In the monitoring of signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal, five monitoring points are set for monitoring, namely: Monitor the data output from the main control unit to the 1553B integrated circuit; monitor the 1553B signal input to the 1553B terminal; monitor the data output from the main control unit to the serial port conversion circuit; monitor the data output from the serial port conversion circuit to the main control unit; monitor the data output from the serial port conversion circuit to the serial port terminal.
[0042] Specific as Figure 3 As shown, the first detection point 14 monitors the data output from the main control processing unit to the 1553B integrated circuit. By querying the data sent by the main control processing unit to the 1553B integrated circuit in the data storage circuit, it can be determined whether the data output by the main control processing unit to the 1553B integrated circuit is correct.
[0043] The second detection point 15 is to monitor the input 1553B signal. By querying the 1553B signal received by the 1553B integrated circuit in the data storage circuit and comparing it with the correct signal sent, it can be determined whether the 1553B signal input is normal.
[0044] The third detection point 16 monitors the data output from the main control processing unit to the serial port conversion circuit. By querying the TTL signal output from the main control processing unit to the serial port conversion circuit in the data storage circuit, it can be determined whether the data output from the main control processing unit to the serial port conversion circuit is normal.
[0045] The fourth detection point 17 is to monitor the data outputted from the serial port conversion circuit to the main control processing unit. By querying the TTL signal sent by the serial port conversion circuit received by the main control processing unit in the data storage circuit, it can be determined whether the output of the serial port conversion circuit is normal.
[0046] The fifth detection point 18 monitors the data output from the serial port conversion circuit to the serial port terminal. The communication conversion circuit adopts two serial port conversion circuits, namely serial port conversion circuit 1 and serial port conversion circuit 2. Among them, serial port conversion circuit 1 is used as the output, and serial port conversion circuit 2 is used as a redundant monitor for the data output from the serial port conversion circuit 1 to the serial port terminal. By querying the data storage circuit for the data output from the serial port conversion circuit 1 to the serial port terminal, it can be determined whether the data output from the serial port conversion circuit 1 to the serial port terminal is normal.
[0047] A 1553B bus and serial port data interaction method, based on a 1553B bus and serial port data interaction system, comprises the following steps: The data conversion device starts to run and perform data conversion. When data is detected on the 1553B bus, the system reads the data and converts it into serial port data according to the protocol and sends it to the serial port terminal. If data is detected on the serial port interface, the system performs corresponding operations and sends the data to the 1553B terminal. Signal transmission and conversion between the 1553B terminal, the data conversion device and the serial port terminal are monitored, and the data in the data storage module is called for comparison to determine whether the signal transmission and conversion process is normal.
[0048] Before the data conversion, the steps of address matching, device self-checking and synchronization are also included. Address matching: after the system is powered on, the software performs initialization operation, reads the high and low levels on the address line to obtain the RT address, and matches the obtained RT address signal with the RT address sent by the 1553B terminal; System self-check: After the RT address matching is completed, the software performs the system self-check. The system will control the 1553B user terminal to send a self-check command to the system according to the software command, and the system will send the self-check command to the serial port user terminal. After receiving the command, the serial port user terminal will feedback a response signal, and use the 1553B and serial port data interaction system to send a signal to the 1553B user terminal to complete the self-check of the entire system; The RT address detection function designed in this embodiment performs an initialization operation after the system is powered on. A self-test instruction is sent to the system through the 1553B terminal. First, each hardware of the system is self-tested. After the self-test is completed, the 1553B and serial port data interaction system will obtain the address of the subsystem according to the high and low levels of the RT address detection interface, and match the obtained address information with the RT address information sent by the 1553B terminal. If the match is successful, the 1553B terminal will send valid data to prevent information from being transmitted incorrectly and improve the reliability of data transmission.
[0049] Synchronization and time synchronization: After the self-test is completed, the software will synchronize the time. The 1553B and serial port data interaction system and the 1553B terminal will synchronize the time to facilitate the synchronization of subsequent data processing;
[0052] After data conversion, it includes calling the storage step: when the user needs to view the data, a debugging mode instruction is sent. After receiving the debugging instruction, the data conversion device feeds back a response signal, and the 1553B user terminal sends a download log command. After receiving the command, the data conversion device sends the corresponding log to the 1553B user terminal.
[0050] This embodiment also provides a control algorithm for cyclically checking the buffer queue. After the system initialization is completed, the control software enters the data receiving-conversion cycle mode, waiting for 1553B and the serial port data interaction system to receive valid data. When a 1553B frame appears on the 1553B bus, the data interaction system captures the 1553B frame and sends it to the interrupt. When the system enters the interrupt service program, the control software takes out the data frame and puts it into the buffer queue. At this time, the main program will cyclically check whether there is message data in the buffer queue. When an unprocessed message is detected, it is determined whether the message address is consistent with the address given by the 1553B terminal. If the address is inconsistent, the message data is discarded; if the address is consistent, the corresponding valid data frame is put into the serial port buffer and the serial port conversion module is driven to output.
[0051] This embodiment designs a software algorithm for the instruction log storage function. When the main program completes the 1553B message data processing in the buffer queue, the instruction log storage module is responsible for recording the messages in the queue and removing them from the queue. On the other hand, when there are serial port messages in the buffer queue, the instruction log storage module is also responsible for recording the serial port messages of the main program and removing them from the buffer queue.
[0052] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.
Claims
1. A 1553B bus and serial port data interaction system, characterized in that: It includes a 1553B using terminal, a data conversion device and a serial port using terminal. The 1553B using terminal sends a 1553B bus signal to the data conversion device. The data conversion device converts the 1553B signal into a serial port signal according to a conversion rule between the 1553B protocol and the serial port protocol and sends the signal to the serial port using terminal. The serial port user terminal sends the serial port signal to the data conversion device, and the data conversion device converts the serial port signal into a 1553B signal according to the serial port protocol and the 1553B protocol conversion rule and sends it to the 1553B user terminal; The data conversion device also includes a data storage module, which monitors the signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal. The monitoring method is to compare and determine whether the signal transmission and conversion process is normal by calling the data in the data storage module.
2. A 1553B bus and serial port data interaction system according to claim 1, characterized in that: The data conversion device further comprises a main control processing unit, a 1553B integrated circuit, a 1553B interface circuit, a serial port conversion circuit and a serial port interface circuit, wherein the main control processing unit is connected to the 1553B integrated circuit, the serial port conversion circuit and the data storage module at the same time, the 1553B interface circuit is connected to the 1553B user terminal and the 1553B integrated circuit, and the serial port interface circuit is connected to the serial port conversion circuit and the serial port user terminal; The 1553B user terminal uses the 1553B shielded twisted pair cable to send the 1553B bus signal to the 1553B integrated circuit through the 1553B interface circuit; The 1553B integrated circuit converts 1553B signals and serial port data signals according to the 1553B and serial port protocol conversion rules, and sends them to the main control processing unit or to the 1553B user terminal through the 1553B interface circuit; the main control processing unit is used to perform corresponding digital processing on the converted 1553B signals or serial port signals, and send them to the 1553B integrated circuit or serial port conversion module for further operation; the serial port interface circuit uses the serial port differential signal line to send the serial port signal sent by the serial port terminal use system to the serial port conversion circuit, and the serial port conversion circuit converts the received serial port signal into a TTL signal or converts the TTL model received from the main control processing unit into a serial port signal.
3. A 1553B bus and serial port data interaction system according to claim 2, characterized in that: The data conversion device also includes an address detection circuit, which is connected to the main control processing unit. The address detection circuit is used to obtain the address of the serial port terminal and send it to the main control processing unit to match the address signal sent by the 1553B terminal.
4. A 1553B bus and serial port data interaction system according to claim 3, characterized in that: The data conversion device also includes a clock circuit, which is connected to the main control processing unit. The clock circuit generates the working clock required by each functional module by frequency division and frequency multiplication through the main control processing unit using an internal phase-locked loop.
5. A 1553B bus and serial port data interaction system according to claim 4, characterized in that: The data conversion device also includes a power management circuit, which is connected to the 1553B integrated circuit, the main control processing unit, the data storage circuit, the serial port conversion circuit, the address detection circuit and the clock circuit to provide the required voltage to the above modules.
6. A 1553B bus and serial port data interaction system according to claim 4, characterized in that: The data conversion device also includes a reset circuit, which is connected to the power management circuit and the main control processing unit. The reset circuit is used to power on and initialize the modules to restore the modules to their initial states.
7. A 1553B bus and serial port data interaction system according to claim 2, characterized in that: In the monitoring of signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal, five monitoring points are set for monitoring, namely: Monitor the data output from the main control processing unit to the 1553B integrated circuit; monitor the 1553B signal input from the 1553B user terminal; monitor the data output from the main control processing unit to the serial port conversion circuit; Monitor the data output from the serial port conversion circuit to the main control processing unit; Monitor the data output from the serial port conversion circuit to the serial port terminal.
8. A 1553B bus and serial port data interaction method, based on a 1553B bus and serial port data interaction system as claimed in any one of claims 1 to 7, characterized in that: The following steps are involved: The data conversion device starts to run and perform data conversion. When data is detected on the 1553B bus, the system reads the data and converts it into serial port data according to the protocol and sends it to the serial port terminal; If data is detected on the serial port, the system performs the corresponding operation and sends the data to the 1553B user terminal; The signal transmission and conversion between the 1553B user terminal, the data conversion device and the serial port user terminal are monitored, and the data in the data storage module is called for comparison to determine whether the signal transmission and conversion process is normal.
9. A 1553B bus and serial port data interaction method according to claim 8, characterized in that: Before the data conversion, it also includes address matching, device self-test and synchronization steps. The address matching step is specifically as follows: after the device is powered on, the software performs initialization operations, reads the high and low levels on the address line to obtain the RT address, and matches the obtained RT address signal with the RT address sent by the 1553B user terminal; the device self-test step is specifically as follows: after the RT address matching is completed, the system self-test part is performed, the device controls the 1553B user terminal to send a self-test instruction to the system according to the software instruction, and the device sends the self-test instruction to the serial port user terminal. After receiving the instruction, the serial port user terminal will feedback a response signal, and use the data conversion device to send a signal to the 1553B user terminal to complete the self-test of the entire device; the synchronization step is specifically as follows: after the device self-test is completed, synchronization is performed, and the data conversion device and the 1553B user terminal are synchronized for time, which is used for the synchronization of subsequent data processing.
10. A 1553B bus and serial port data interaction method according to claim 8, characterized in that: It also includes a calling storage step. When the user needs to view data, a debugging mode instruction is sent. After receiving the debugging instruction, the data conversion device feeds back a response signal, and the 1553B user terminal sends a download log command. After receiving the command, the data conversion device sends the corresponding log to the 1553B user terminal.