A multi-serial-port 1553B bus testing device, system, and testing method
By using a multi-serial-port 1553B bus detection device and system, the problem of the inability to automatically detect BC, RT, and MT in existing technologies has been solved. It enables user-defined data transmission, simulates real-world scenarios where multiple devices work simultaneously, and improves detection efficiency and communication reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEBEI HANGUANG HEAVY IND
- Filing Date
- 2022-08-23
- Publication Date
- 2026-05-26
AI Technical Summary
The existing 1553B bus detection method cannot automatically detect the bus controller (BC), remote terminal (RT), and bus monitor (MT), and cannot simulate the real scenario of multiple devices working simultaneously, thus failing to meet the user's requirement for customized content transmission.
The 1553B bus detection device with multiple serial ports includes a DSP, an FPGA, and multiple serial ports. It achieves communication detection of the RT sub-address of a remote terminal by setting different transmission frequencies. It allows users to customize data transmission and send data to the 1553B bus through the DSP. The detection mode can be configured in conjunction with a PC and host computer software.
It enables automatic detection of the 1553B bus, can simulate real working scenarios, improve detection efficiency, and can detect the communication status of multiple devices working simultaneously, ensuring the correctness and reliability of transmitted content.
Smart Images

Figure CN115576748B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of bus testing, and specifically to a multi-serial-port 1553B bus testing device, system, and testing method. Background Technology
[0002] The MIL-STD-1553B bus is the standard bus for networking electronic subsystems in the U.S. Air Force. It is a centralized serial bus. The bus consists of a Bus Controller (BC), responsible for bus scheduling and management, and acting as the initiator and organizer of bus communications; several (up to 31) Remote Terminals (RTs); and a Monitor Terminal for monitoring bus operation. Due to its strong security and high reliability, it has been widely used in the aerospace and maritime fields.
[0003] Traditional 1553B bus testing methods use emulation boards to test the bus. However, emulation boards cannot simultaneously test the BC, RT, and MT modes of the 1553B bus. Changing the testing scenario during testing requires manual replacement of the interface and equipment. Current 1553B bus testing methods are increasingly mature, capable of simultaneously testing the BC, RT, and MT modes, and can also locate faults and detect signal quality. However, these methods typically send fixed 16-bit data to test communication status, which cannot meet users' needs to simulate realistic working scenarios—multiple devices operating simultaneously, or even user-defined content. Summary of the Invention
[0004] In view of this, the present invention provides a multi-serial-port 1553B bus detection device, system and detection method, which can realize automatic detection of the bus controller (BC) / remote terminal (RT) / bus monitor (MT) of the 1553B bus, and the technical problem of users customizing the content sent to realize simultaneous detection of multiple RT sub-addresses.
[0005] To solve the above-mentioned technical problems, the present invention is implemented as follows.
[0006] A multi-serial-port 1553B bus detection device, the detection device including DSP, FPGA, multiple serial ports, and 1553B chip;
[0007] The DSP is used to receive serial port data sent by the serial port and send the serial port data to the 1553B bus;
[0008] The FPGA is used to implement serial port functionality; the multiple serial ports are used to simultaneously perform communication detection on the remote terminal (RT) sub-address of the device under test by setting different transmission frequencies. The serial ports receive user-defined data and the DSP sends it to the 1553B bus; the 1553B bus is connected to the 1553B chip.
[0009] A multi-serial-port 1553B bus detection system, as described above, includes a detection device, a PC, a host computer, and a device under test, wherein the device under test is a device detected by the detection device.
[0010] The host computer is used to receive the detection mode selected by the user, and based on the detection mode selected by the user, user-defined data is generated, which is used to detect the device being detected.
[0011] The PC is used to run host computer software, which sends user-defined data to the detection device through the serial port of the detection device.
[0012] The device under test is connected to the detection device and receives the user-defined data sent by the detection device.
[0013] Preferably, the detection system has three detection modes: bus controller (BC) mode, remote terminal (RT) mode, and bus monitor (MT) mode.
[0014] Preferably, if the testing device is in BC mode, the device under test is in RT mode; if the testing device is in RT mode, the device under test is in BC mode; if the testing device is in MT mode, the device under test is set to either RT mode or BC mode.
[0015] A multi-serial-port detection method, using the 1553B bus detection system with multiple serial ports as described above, the detection method includes the following steps:
[0016] Step S1: Configure the working mode of the detection device to BC working mode in the host computer software of the PC, and configure the RT address and byte high and low bits of the device being detected;
[0017] Step S2: Connect each serial port of the detection device to the PC using four serial cables, with each serial cable corresponding to one serial port; open the host computer software, configure the baud rate for each serial port, and open each serial port.
[0018] Step S3: Configure the RT sub-address of the detection device corresponding to each serial port, the transmission frequency, transmission time and transmission content of each sub-address; wherein, each serial port corresponds to a detection device, the detection device is a remote terminal, and each remote terminal has several RT sub-addresses;
[0019] Step S4: Determine the preset transmission duration; if the preset transmission duration is reached, the detection is complete, check the detection results, and the method ends; otherwise, each serial port sends user-defined data to the detection device at the set transmission frequency.
[0020] Step S5: The DSP receives the data sent to the detection device from each serial port and sends the data to the 1553B bus;
[0021] Step S6: The device under test sends the data sent by the testing device back to the testing device. The testing device then sends the received data back to the PC. The PC displays and stores the data returned by each serial port, the data packet length, and the status word. If the data sent by the device under test is consistent with the data sent by the PC to the testing device, the 1553B bus corresponding to the serial port of the device under test is normal; otherwise, it is a fault, and the process proceeds to step S4.
[0022] Preferably, the number of RT sub-addresses does not exceed 32, and one of the RT sub-addresses is a broadcast address.
[0023] Beneficial effects:
[0024] (1) This invention can not only detect whether the 1553B bus communication is normal, but also test the 1553B bus according to the working frequency and working protocol required in actual work. This invention simulates the real working scenario of the 1553B bus, and can not only detect communication faults, but also detect other problems that may occur when multiple devices work at the same time.
[0025] (2) The detection process of the present invention is carried out autonomously, and multiple serial ports are detected at the same time, which can avoid the complicated operation of manual operation and greatly improve the working efficiency of 1553B bus detection.
[0026] (3) This invention addresses the limitations of current 1553B bus detection methods, which rely on sending fixed 16-bit data to detect communication status. For users seeking to simulate realistic RT (Real-Time) scenarios—such as multiple sub-addresses operating simultaneously in the terminal device, or even allowing users to customize the content sent—this invention proposes a multi-serial-port-based bus detection device, system, and method. Specifically, it adds multiple serial ports to existing detection equipment, allowing users to customize the data sent and its length in the host computer to simulate the actual communication status of the 1553B bus. This system and method can reproduce the real working environment to the greatest extent possible. When several sub-addresses need to operate simultaneously, this method can maximize the detection of bus communication reliability and the correctness of transmitted content. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the 1553B bus detection process in RT working mode provided by the present invention. Detailed Implementation
[0028] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0029] This invention provides a multi-serial-port 1553B bus detection device, the detection device including a DSP, an FPGA, multiple serial ports, and a 1553B chip;
[0030] The DSP is used to receive serial port data sent by the serial port and send the serial port data to the 1553B bus;
[0031] The FPGA is used to implement serial port functionality; the multiple serial ports are used to simultaneously perform communication detection on the remote terminal (RT) sub-address of the device under test by setting different transmission frequencies. The serial ports receive user-defined data and the DSP sends it to the 1553B bus; the 1553B bus is connected to the 1553B chip.
[0032] This invention provides a multi-serial-port 1553B bus detection system, comprising: the detection device as described above, a PC, a host computer, and a device to be detected, wherein the device to be detected is a device detected by the detection device;
[0033] The host computer is used to receive the detection mode selected by the user, and based on the detection mode selected by the user, user-defined data is generated, which is used to detect the device being detected.
[0034] The PC is used to run host computer software, which sends user-defined data to the detection device through the serial port of the detection device.
[0035] The device under test is connected to the detection device and receives the user-defined data sent by the detection device.
[0036] Furthermore, the detection system has three detection modes: bus controller (BC) mode, remote terminal (RT) mode, and bus monitor (MT) mode.
[0037] Furthermore, if the testing device is in BC mode, the device under test is in RT mode; if the testing device is in RT mode, the device under test is in BC mode; if the testing device is in MT mode, the device under test is set to either RT mode or BC mode.
[0038] like Figure 1As shown, the multiple serial ports refer to four serial ports. Taking the terminal device under test in RT mode as an example, this invention provides a multi-serial port detection method. The multi-serial port detection method uses the 1553B bus detection system with multiple serial ports as described above, and the detection method includes the following steps:
[0039] Step S1: Configure the working mode of the detection device to BC working mode in the host computer software of the PC, and configure the RT address, byte high and low bits and other related parameters of the device being detected;
[0040] Step S2: Connect each serial port of the detection device to the PC using four serial cables, with each serial cable corresponding to one serial port; open the host computer software, configure the baud rate for each serial port, and open each serial port.
[0041] Step S3: Configure the RT sub-address of the detection device corresponding to each serial port, the transmission frequency, transmission time and transmission content of each sub-address; wherein, each serial port corresponds to a detection device, the detection device is a remote terminal, and each remote terminal has several RT sub-addresses;
[0042] Furthermore, the number of RT sub-addresses does not exceed 32, and one of the RT sub-addresses is a broadcast address.
[0043] Step S4: Determine the preset transmission duration; if the preset transmission duration is reached, the detection is complete, check the detection results, and the method ends; otherwise, each serial port sends user-defined data to the detection device at the set transmission frequency.
[0044] Step S5: The DSP receives the data sent to the detection device from each serial port and sends the data to the 1553B bus;
[0045] Step S6: The device under test sends the data sent by the testing device back to the testing device. The testing device then sends the received data back to the PC. The PC displays and stores the data returned by each serial port, the data packet length, and the status word. If the data sent by the device under test is consistent with the data sent by the PC to the testing device, the 1553B bus corresponding to the serial port of the device under test is normal; otherwise, it is a fault, and the process proceeds to step S4.
[0046] The specific embodiments described above only illustrate the design principles of the present invention. The shapes and names of the components in this description may differ and are not limited. Therefore, those skilled in the art can modify or make equivalent substitutions to the technical solutions described in the foregoing embodiments; and these modifications and substitutions do not depart from the inventive spirit and technical solutions of the present invention, and should all fall within the protection scope of the present invention.
Claims
1. A multi-serial-port detection method, wherein the multi-serial-port detection method uses a multi-serial-port 1553B bus detection system, characterized in that, The detection method includes the following steps: Step S1: Configure the working mode of the detection device to bus controller mode in the host computer software of the PC, and configure the remote terminal address and byte high and low bits of the device being detected; Step S2: Connect each serial port of the detection device to the PC using four serial cables, with each serial cable corresponding to one serial port; open the host computer software, configure the baud rate for each serial port, and open each serial port. Step S3: Configure the remote terminal sub-address of the detection device corresponding to each serial port, the transmission frequency, transmission time and transmission content of each sub-address; wherein, each serial port corresponds to a detection device, the detection device is a remote terminal, and each remote terminal has several remote terminal sub-addresses; Step S4: Determine the preset transmission duration; if the preset transmission duration is reached, the detection is complete, check the detection results, and the method ends; otherwise, each serial port sends user-defined data to the detection device at the set transmission frequency. Step S5: The DSP receives the data sent to the detection device from each serial port and sends the data to the 1553B bus; Step S6: The device under test sends the data sent by the testing device back to the testing device. The testing device then sends the received data back to the PC. The PC displays and stores the data returned by each serial port, the data packet length, and the status word. If the data sent by the device under test is consistent with the data sent by the PC to the testing device, the 1553B bus corresponding to the serial port of the device under test is normal; otherwise, it is a fault, and the process proceeds to step S4. The detection system has three detection modes: bus controller mode, remote terminal mode, and bus monitor mode. If the detection device is in bus controller mode, the device under test is in remote terminal mode; if the detection device is in remote terminal mode, the device under test is in bus controller mode; if the detection device is in bus monitor mode, the device under test is set to either remote terminal mode or bus controller mode. The number of remote terminal sub-addresses shall not exceed 32, and one of the remote terminal sub-addresses shall be a broadcast address.
2. The method as described in claim 1, characterized in that, The serial port 1553B bus detection system includes a detection device, a PC, a host computer, and a device to be detected, wherein the device to be detected is the device detected by the detection device. The host computer is used to receive the detection mode selected by the user, and based on the detection mode selected by the user, user-defined data is generated, which is used to detect the device being detected. The PC is used to run host computer software, which sends user-defined data to the detection device through the serial port of the detection device. The device under test is connected to the detection device and receives the user-defined data sent by the detection device; The testing device is a multi-serial-port 1553B bus testing device, which includes a DSP, FPGA, multiple serial ports, and a 1553B chip. The DSP is used to receive serial port data sent by the serial port and send the serial port data to the 1553B bus; The FPGA is used to implement the serial port function; the multiple serial ports are used to simultaneously perform communication detection on the remote terminal sub-address of the device under test by setting different transmission frequencies. The serial ports receive user-defined data and the DSP sends it to the 1553B bus. The 1553B bus is connected to the 1553B chip.