Online troubleshooting method for civil aviation environmental monitoring system
The dual master I2C bus solution is connected to the second master equipment online for troubleshooting, which solves the problem that the civil aviation environmental monitoring system cannot detect and handle faults online, improves the troubleshooting capability, ensures flight safety, and is simple to upgrade the hardware and is low in cost.
Patent Information
- Application Number
- CN202111193011.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-13
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2041-10-13
AI Technical Summary
The existing troubleshooting methods of civil aviation environmental surveillance systems cannot conduct online fault detection and processing under normal working conditions, resulting in flight safety risks.
The dual master I2C bus scheme is adopted, and the I2C bus is connected online through the second master device, and the read and write operations of the control register slave device are used for troubleshooting, and exit the bus after completing the task, keeping normal operation unaffected.
It realizes online troubleshooting without affecting normal work, improves troubleshooting capabilities, ensures flight safety, and is simple to upgrade hardware and has low cost.
Smart Images

Figure CN113986590B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an online troubleshooting method for a civil aviation environment monitoring system. The method adopts a dual-master I2C bus solution, which can not only keep the I2C function unaffected under normal working conditions, but also achieve online access to the I2C bus at any time to troubleshoot faults, solve problems in a timely manner, open reserved registers, and activate backup solutions. Background Art
[0002] The civil aviation environmental monitoring system provides functions such as traffic collision avoidance and air traffic control transponders. If it goes offline, an aircraft will disappear from the ATC secondary radar display, making it impossible for nearby aircraft to detect it via transponders. This can even create the risk of a collision. Therefore, online troubleshooting of the civil aviation environmental monitoring system is crucial for flight safety.
[0003] The normal operation of the civil aviation environmental monitoring system's health management function is achieved through the conventional I2C bus. The conventional health monitoring function does not rely on external equipment and can be checked in real time, but it cannot handle faults. Summary of the Invention
[0004] The invention aims to provide an online troubleshooting method for a civil aviation environment monitoring system, which adopts a dual-master I2C bus solution to achieve flexible access to a second master device for online troubleshooting, simple hardware upgrade, high flexibility and low cost.
[0005] The objectives of the present invention are achieved through the following technical solutions.
[0006] A method for online troubleshooting of a civil aviation environment monitoring system. The civil aviation traffic monitoring system includes a first master device, a second master device, a plurality of status reporting slave devices, and a control storage slave device. The system uses an I2C bus for communication and is configured as follows:
[0007] Among them, the first master device, status reporting slave device and control storage slave device are fixed to the I2C bus network and cannot be exited online. The status reporting slave device only reports the health status, and the control storage slave device supports read and write operations. The first master device monitors the health status reported by each status reporting slave device;
[0008] When a fault occurs, the second master device eliminates the fault by performing read and write operations on the control register slave device.
[0009] Furthermore, the second master device is also used to monitor the health status reported by each reporting status slave device. The first master device and the second master device use different operating frequencies, and the operating level of the first master device is 5V to 3.3V, and the operating level of the second master device is 3.3V to 0V. The reporting status slave device and the control register slave device determine the master device that responds at this time based on the level value.
[0010] Preferably, when a fault occurs or external access is required to switch the working mode, the second master device accesses the I2C bus through the online debugging port. After completing the task, the second master device exits the I2C bus by unplugging the online debugging port. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 FIG. 1 is an I2C bus topology diagram of a civil aviation traffic monitoring system shown in an embodiment.
[0012] Figure 2 This is the distribution diagram of SCL level and frequency. DETAILED DESCRIPTION
[0013] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0014] In the online troubleshooting method for a civil aviation traffic monitoring system shown in this embodiment, see Figure 1 As shown, the civil aviation traffic monitoring system includes a first master device, a second master device, a plurality of reporting status slave devices and a control storage slave device, adopts I2C bus communication, and is configured as follows.
[0015] The primary master, status reporting slave, and control register slave are embedded in the I2C bus network and cannot be removed online. However, the secondary master can be added and removed randomly online. Adding a secondary master does not affect the primary master's operation, and removing a secondary master from the bus does not affect the normal operation of existing bus devices.
[0016] The control register slave device supports read and write operations of the second master device. The second master device can troubleshoot and resolve faults by performing read and write operations on the control register slave device.
[0017] Status slaves only report their health status. Each reporting slave periodically reports a fault word. If all bits in the fault word are 0, there is no fault. Each position represents a fault. This word is read-only and not writable by the primary or secondary master. Each reporting slave operates independently and has equal status within the bus.
[0018] When a fault occurs or external access is required to switch the working mode, the second master device accesses the I2C bus through the online debug port and eliminates some faults by reading and writing the control register from the device. After completing the troubleshooting task, the second master device exits the I2C bus by unplugging the online debug port. Figure 1 The data of fault word 7 reported by slave device 3 in the control register is 00001000, and the fifth position is 1, indicating that the ANRIC429 receiver module 5 has a fault. You can reset the ANRIC429 receiver module 5 by writing 00001000 and then 00000000 to the corresponding position in the control register of the slave device and then observe whether the fault word is cleared.
[0019] The second master device can also monitor the status of each slave device reporting status. The I2C serial bus has two signal lines: one is a bidirectional data line SDA, and the other is a clock line SCL. All serial data SDA connected to the I2C bus device is connected to the bus's SDA, and the clock line SCL of each device is connected to the bus's SCL. SCL can only be controlled by the master device. After the devices in the I2C bus are physically connected according to the bus topology diagram, the SDA data bus in the bus is clear, but the SCL clock lacks the problem of competitive multiplexing. In the traditional I2C bus, there is only one master, and SCL can only be driven by this master device. The slave device is not qualified to drive SCL. In the I2C bus designed in the embodiment, there are two master devices, so SCL must be multiplexed. To avoid risks, this embodiment designs two methods: frequency division multiplexing and pulse modulation to ensure that there is no competition risk in multiplexing. The operating frequency of the first master device is 400kHz, while the operating frequency of the second master device is 100kHz. The clock frequencies of the two master devices are different and will not interfere with each other. The working voltage of the first master device is 5V to 3.3V, and the working voltage of the second master device is 3.3V to 0V. The reporting status slave device and the control register slave device can determine the master device number that responds at this time based on the voltage value. Figure 2 shown.
[0020] This embodiment utilizes a dual-master I2C bus solution, which leaves the existing bus structure unchanged in hardware. This offers significant advantages for upgrading legacy systems, as the debug interface occupies only two pins, making it very convenient for both reserving existing interfaces and reallocating new ones. The dual-master I2C bus utilizes both 5V and 3.3V voltages, both in low-power mode. The new debug interface does not impact the overall power consumption of the existing hardware, and online troubleshooting during upgrades does not require additional power consumption considerations. This minimal investment significantly enhances online troubleshooting capabilities, ensuring flight safety and promising market prospects.
[0021] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for online troubleshooting of a civil aviation environment monitoring system, wherein the civil aviation environment monitoring system comprises a first master device, a second master device, a plurality of status reporting slave devices, and a control storage slave device, and adopts I2C bus communication, characterized in that The configuration is as follows: Among them, the first master device, the status reporting slave device and the control register slave device are solidified into the I2C bus network. The status reporting slave device only reports the health status, the control register slave device supports read and write operations, and the first master device monitors the health status reported by each status reporting slave device; When a fault occurs or external access is required to switch the working mode, the second master device accesses the I2C bus through the online debug port. The first master device and the second master device use different operating frequencies, and the operating level of the first master device is 5V to 3.3V, and the operating level of the second master device is 3.3V to 0V. The reporting status slave device and the control register slave device determine the master device that responds at this time based on the level value. The second master device eliminates the fault and monitors the health status reported by each reporting status slave device through read and write operations on the control register slave device. After completing the task, the second master device exits the I2C bus by unplugging the online debug port.
Citation Information
Patent Citations
I2C bus multiplexing method and system for realizing resetting of integrated chips and electronic equipment
CN105204600A
Equipment fault detection method and equipment
CN113032197A