Abnormal data self-repairing system for road traffic weather station

By using limiting filtering and Newton interpolation algorithms to handle abnormal and missing data in the highway weather station data collection system, the problem of low data quality is solved, efficient self-repair and accurate analysis of data are achieved, and the reliability of traffic meteorological data is improved. and predictive ability.

CN118819953APending Publication Date: 2024-10-22YUNNAN TRAFFIC PLANNING DESIGN RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410872795.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The existing highway weather station data collection system fails to effectively handle abnormal data and missing data, resulting in low data quality and low referenceability, making it difficult to carry out data analysis and model construction.

Method used

A self-repairing system for abnormal data of highway traffic weather stations is designed. It uses a limiting filter algorithm to remove abnormal data caused by external interference, and uses a Newton interpolation algorithm to make up for missing data to ensure the integrity and continuity of the data. It uses the main control chip and Multi-channel highway weather station data processing circuit performs data processing and communication.

Benefits of technology

It improves the accuracy of data analysis, reduces the difficulty of data processing, provides high-quality meteorological data sets, improves the prediction accuracy of traffic meteorological disaster prevention and severe meteorological conditions, and reduces equipment modification costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819953A_ABST
    Figure CN118819953A_ABST
Patent Text Reader

Abstract

The invention relates to a road traffic weather station abnormal data self-repairing system, and belongs to the technical field of traffic. The system comprises a power supply, a power protection circuit, a sensor interface circuit, a multi-channel road weather station data processing circuit, a main control chip, a missing data self-repairing module, a fault detection module and a communication circuit. According to the method, the problems of data reading abnormity and the like caused by random interference and interference introduced by a sharp pulse effect are solved, missing data are repaired, fault detection is also realized, and the method is easy to popularize and apply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of traffic technology, and in particular relates to an abnormal data self-repair system for a highway traffic weather station. Background Art

[0003] The existing highway weather station data collection system uses the traditional multi-channel data collection method to complete the collection of data from multiple sensors. In addition, the traditional highway weather station data collection system does not perform self-repair processing on the collected data, and the problems of low data quality and low data reference at the receiving end are particularly obvious. In summary, the traditional highway weather station data collection system only realizes the functions of data collection, data analysis, and data return, which causes certain difficulties in the development of data analysis, large model construction, and other work.

[0004] The following methods are commonly used to process abnormal or missing data:

[0005] ① Abnormal data deletion method: This method is not conducive to the subsequent data analysis and modeling work, and it is easy to have serious consequences such as the accuracy of the established model is too low.

[0006] ② Linear interpolation method: The interpolation calculation is completed by determining the difference interval and then calculating the slope. However, the ambient temperature in some scenes (early morning hours) changes dramatically, and linear interpolation is difficult to implement in terms of accuracy and applicability.

[0007] Therefore, how to overcome the shortcomings of existing technologies is an urgent problem to be solved in the field of transportation technology. Summary of the invention

[0008] The purpose of the present invention is to solve the deficiencies of the prior art and to provide a self-repair system for abnormal data of a highway traffic weather station.

[0009] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0010] A highway traffic weather station abnormal data self-repair system, comprising a power supply, a power protection circuit, a sensor interface circuit, a multi-channel highway weather station data processing circuit, a main control chip, a missing data self-repair module, a fault detection module and a communication circuit;

[0011] The power supply device is connected to the power protection circuit;

[0012] The power protection circuit is respectively connected to the sensor interface circuit, the multi-channel highway weather station data processing circuit, the main control chip, the missing data self-repair module, the fault detection module, and the communication circuit;

[0013] The sensor interface circuit is also connected to the multi-channel highway weather station data processing circuit;

[0014] A sensor interface circuit is connected to the sensor of the weather station and is used to collect data of various types of highway weather stations;

[0015] The multi-channel highway weather station data processing circuit is used to receive the multi-channel data from the sensor interface circuit, perform level conversion, and then transmit it to the main control chip;

[0016] The main control chip is respectively connected to the multi-channel highway weather station data processing circuit, the missing data self-repair module, the fault detection module, and the communication circuit;

[0017] The main control chip is used to filter and remove abnormal data caused by external interference factors in the multi-type highway weather station data transmitted by the multi-channel highway weather station data processing circuit, and monitor whether there is missing data; if there is missing data, the missing data self-repair module uses Newton interpolation algorithm to make up for the missing data; then the main control chip transmits the repaired data to the remote control center through the communication circuit;

[0018] The fault detection module is also connected to the sensor interface circuit, the multi-channel highway weather station data processing circuit, the main control chip, and the communication circuit respectively;

[0019] The fault detection module is used to monitor the voltage and temperature changes of the power protection circuit in real time; to monitor the voltage changes of the sensor interface circuit in real time; to monitor the data communication in the data processing circuit of the multi-channel highway weather station in real time; to monitor the voltage changes in the communication circuit in real time; if a fault is detected during monitoring, the fault data will be transmitted to the remote control center through the main control chip and the communication circuit.

[0020] Preferably, the power supply includes three output channels, namely output channel one, output channel two, and output channel three;

[0021] Output channel 1 outputs 12V voltage, output channel 2 is used to output 5V voltage, and output channel 3 is used to output 3.3V voltage;

[0022] The output channel 1 is connected to the sensor interface circuit through the power protection circuit and is used to supply power to the sensor interface circuit;

[0023] Output channel two is respectively connected to the multi-channel highway weather station data processing circuit, fault detection module and communication circuit through the power protection circuit, and is used to supply power to the multi-channel highway weather station data processing circuit, fault detection module and communication circuit.

[0024] The output channel three is respectively connected to the missing data self-repair module of the main control chip through the power protection circuit, and is used to supply power to the main control chip and the missing data self-repair module.

[0025] Preferably, the communication circuit includes a GPS circuit, a LoRa module and a 4G-DTU module.

[0026] Preferably, the GPS circuit code and communication protocol comply with the NEMA-0183 protocol, and the message format complies with the NEMA-0183 protocol standard.

[0027] Preferably, when data transmission fails between the main control chip and the 4G-DTU module due to a communication failure, the location coordinates of the weather station where the fault occurs and the data of multiple types of highway weather stations are sent to the nearest weather station through the Lora module, and the nearest weather station receives the data and then transmits it to the remote control center.

[0028] Preferably, the fault detection module sends the fault data to the main control chip by means of serial communication.

[0029] The filtering adopts the limiting filtering algorithm.

[0030] The power protection circuit is used to isolate the power supply from the connected circuit to prevent the power supply from causing irreversible damage to the connected circuit due to power failure, thus playing a protective role.

[0031] Preferably, the power protection circuit has a built-in hardware isolator to isolate the power supply from the subsequent circuit. In the case of instantaneous high voltage, the hardware isolator can automatically blow and protect the subsequent circuit.

[0032] The sensor interface circuit can connect sensors with different functions and supports communication methods such as RS485 and RS232.

[0033] The multi-channel highway weather station data processing circuit is used for receiving and level conversion of multi-channel data; because the sensor interface circuit supports RS485 level output, and the main control chip supports TTL level. Therefore, the RS485 level needs to be converted to TTL to realize the transmission of data to the main control chip.

[0034] In the present invention, the external interference factors include crosswinds on the bridge section of the expressway and vibrations when vehicles pass by the weather station.

[0035] Preferably, the fault detection module allocates an independent serial port for communication according to the on-chip resources of the main control chip and allocates high-priority operation permissions.

[0036] The fault data monitored by the fault detection module include: ① sensor interface circuit failure, which is manifested in the presence of garbled or no data input in the received sensor data; ② power protection circuit failure, which is manifested in abnormal voltage and current output of output channels 1, 2, and 3; ③ multi-channel highway weather station data processing circuit failure, which is manifested in no data input in the sensor interface circuit. After receiving the fault data, the data is transmitted to the main control chip, and the fault data is sent to the remote control center through 4G-DTU.

[0037] In the present invention, output channel 1 outputs 12V voltage, supporting the "dual power supply" mode of solar energy and city electricity.

[0038] This system uses "Lora+4G" dual redundant communication design to complete the real-time transmission of highway weather station sensor data.

[0039] The data transmission between the main control chip and the 4G-DTU module failed due to communication failure. The location coordinates of the weather station where the fault occurred and the data of multiple types of highway weather stations were sent to the nearest weather station through the Lora module. After the nearest weather station received the data, it was transmitted to the remote control center to prevent data loss caused by the fault.

[0040] In the present invention, a limiting filter algorithm is preferably used to filter out abnormal values ​​in the data sent by the highway weather station sensor, and the Newton difference algorithm is used to complete the data filling for the filtered data to ensure the integrity and continuity of the data and improve the accuracy of data analysis.

[0041] Preferably, in the present invention, the multi-channel highway weather station data processing circuit has a built-in RTC clock circuit, which can accurately record the time even when the power supply fails.

[0042] Since the weather station supports different communication protocols (including RS485, RS232, CAN and other communication protocols) according to the different data protocol formats set at the factory, the data sent out (the original message data format) is different. In this regard, the multi-channel highway weather station data processing circuit can unify different communication protocols into TTL communication protocols. The main control chip can automatically identify the byte size of different fields of the communication protocol and convert it into a decimal value to complete the data parsing.

[0043] The external random interference of the highway weather station is mainly caused by the vibration of the bridge deck when the vehicle passes through the bridge section, and the shaking of the sensor driven by the pole under the action of strong wind, which then introduces external random interference signals and causes abnormal data reading. At the same time, data containing abnormal values ​​will cause the modeling process to fall into chaos, resulting in unreliable output. Therefore, in order to reduce the abnormal data caused by random interference and spike pulse effects during data processing, solve the problems of data reading abnormality caused by interference introduced by random interference and spike pulse effects.

[0044] The main control chip of the present invention has a built-in limiting filter algorithm, and the missing data self-repair module has a built-in Newton interpolation algorithm. The use of the limiting filter algorithm can effectively make up for the defect that the traditional hardware filter cannot effectively filter out the external interference signal, improve the ability to filter out abnormal data, and facilitate the analysis of the data received by this system. After eliminating the abnormal data, in order to ensure the continuity and validity of the data and adapt to different data changes, the data processed by the limiting filter algorithm is processed using Newton's difference theorem, and real-time interpolation calculations are performed. The missing data is calculated and filled based on the data obtained after the real-time interpolation calculation, so as to achieve the requirements of data continuity and integrity. The "limiting filter + Newton interpolation" algorithm structure is as follows: Figure 2 The "limited filtering + Newton interpolation" algorithm can be used to finely process abnormal data, avoiding the defect of eliminating normal data from the system due to unreasonable setting of traditional error value intervals.

[0045] The main control chip filters out abnormal data and uses the Newton interpolation algorithm to make up for the missing data. The specific method is as follows:

[0046] Step (1), the multi-channel highway weather station data processing circuit receives the weather station sensor to collect multiple types of highway weather station data, then converts it into a TTL communication protocol, and transmits it to the main control chip, and the main control chip performs data analysis on the received data;

[0047] Step (2), the main control chip classifies the data according to different sensors. When the main control chip detects that a sensor has over-threshold data or missing data, the missing data self-repair module slices the data according to the sensor set threshold (Note: Data slicing is to split and classify the data collected by the meteorological sensor one by one according to different types and time periods. This work is independently completed by the missing data self-repair module.

[0048] Step (3), the threshold is an upper and lower limit data value set according to the data change range of the meteorological sensor in a certain period of time (for example: wind speed, temperature, visibility, etc.). When the missing data self-repair module detects that the data exceeds the threshold or is missing, it is handed over to the algorithm for processing.

[0049] Step (4), the calculation process of the limiting filter algorithm is as follows:

[0050]

[0051] In formula (1), X n is the received meteorological sensor data, X n-1 is the meteorological sensor data received at the previous moment. Figure 2As shown, α is the threshold set for data slice dataset I, and β is the threshold set for data slice dataset II.

[0052] When the absolute value of the difference between the two received data is greater than α, the main control chip determines that there is an interference signal in the data collection result, and the data collected last time is used as the data collected this time;

[0053] When the absolute value of the difference between the two received data is less than or equal to α, the data collection is confirmed to be valid:

[0054] Step (5), if there is missing data, interpolation is performed based on the horizontal and vertical coordinates of the known data points; the horizontal coordinate of the known data point is the time of the received meteorological sensor data, and the vertical coordinate is the meteorological sensor data value. The present invention uses the meteorological sensor data before and after the missing data is detected;

[0055] Step (6), construct a first-order difference quotient formula based on the selected interpolation nodes, and the first-order difference quotient formula is shown in formula (2):

[0056]

[0057] In the formula, x 0 is the horizontal coordinate of the first point, x 1 is the horizontal coordinate of the second point, f(x 0 ) is the ordinate of the first point, f(x 1 ) is the ordinate of the second point;

[0058] Step (7), according to the constructed first-order difference quotient formula, establish the Newton interpolation polynomial P(x), as shown in formula (3):

[0059] P(x)=a 0 +a 1 (xx 0 )+…+a n (xx 0 )(xx 1 )…(xx n ) Formula (3)

[0060] The horizontal coordinate x of the missing data point is the time, x 0 、x 1 ......x n is the horizontal coordinate of the first point, the second point, and the nth point, a n (n=0,1,2…n) are the unknown coefficients. Substitute the horizontal coordinate x into the constructed Newton interpolation polynomial P(x) and inversely calculate the corresponding vertical coordinate (meteorological data), thus completing the supplement of the missing data.

[0061] One of the advantages of Newton interpolation is that the form of the interpolation polynomial is relatively easy to update when new nodes are added, so it is suitable for situations where dynamic interpolation is required.

[0062] The fault diagnosis module can monitor the fault points on different modules of the hardware circuit. The fault data includes: ① sensor interface circuit fault, which is manifested in the situation that the received sensor data is garbled or no data is input; ② power protection circuit fault, which is manifested in the abnormal voltage and current output of output channels one, two and three; ③ multi-channel highway weather station data processing circuit fault, which is manifested in the situation that no data is input in the sensor interface circuit. After receiving the fault data, the fault diagnosis module transmits the data to the main control chip and sends the fault data to the remote control center through 4G-DTU.

[0063] Compared with the prior art, the present invention has the following beneficial effects:

[0064] (1) In order to solve the problem of abnormal data caused by external interference factors during sensor acquisition, the limiting filter algorithm and Newton interpolation algorithm are used to filter out abnormal data and interpolate missing data. The original data and the data processed by the algorithm of the present invention are as follows: Figure 4 As shown:

[0065] Depend on Figure 4 It can be seen that in the time intervals of 17-35min and 60-80min, there are abnormal data and some missing data in the raw data received from the meteorological sensor. The following steps are used to filter out the data and interpolate the missing values:

[0066] ① According to different sensor attributes and their normal data intervals, set corresponding thresholds, α, β (such as Figure 2 shown);

[0067] ② When abnormal data appears (the absolute value of the difference with the last received data is greater than the set threshold), if it is determined that the data acceptance has failed, the data will be automatically discarded;

[0068] ③ When the missing data self-repair module detects that there is a gap in the data, the missing value is interpolated through the Newton difference algorithm;

[0069] (2) The multi-channel highway weather station data processing circuit is used for receiving and level conversion of multi-channel data (because the sensor supports RS485 level output, while the main control chip supports TTL level. Therefore, the RS485 level needs to be converted to TTL to realize the transmission of data to the main control chip 8).

[0070] (3) The fault diagnosis module can monitor the fault points on different modules of the hardware circuit. The fault data includes: ① sensor interface circuit fault, which is manifested in the situation that the received sensor data is garbled or no data is input; ② power protection circuit fault, which is manifested in the abnormal voltage and current output of output channels 1, 2, and 3; ③ multi-channel highway weather station data processing circuit fault, which is manifested in the situation that no data is input in the sensor interface circuit. After receiving the fault data, the fault diagnosis module transmits the data to the main control chip and sends the fault data to the remote control center through 4G-DTU.

[0071] (4) From an economic perspective, the present invention: ① can effectively make up for the pain point of poor data quality in the data collection stage of traditional meteorological sensors, improve data quality, and reduce the difficulty of data processing. The convenience of manual data processing will be greatly improved; ② meteorological sensor manufacturers do not need to modify existing equipment, but only need to connect to this system to complete the processing of abnormal data, thereby reducing the cost of equipment modification.

[0072] (5) From a social perspective, the present invention: ① improves the data collection quality of sensor equipment and improves the accuracy of traffic meteorological disaster prevention and control and severe weather conditions prediction; ② provides a powerful high-quality meteorological data set for data modeling and meteorological data analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the technical solutions in the embodiments of this patent or the prior art, the drawings required for use in the embodiments or the prior art descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this patent. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0074] Figure 1 This is a schematic diagram of the structure of the abnormal data self-repair system of the highway traffic weather station of the present invention;

[0075] Among them, 1. Power supply; 2. Output channel 1; 3. Output channel 2; 4. Output channel 3; 5. Power protection circuit; 6. Sensor interface circuit; 7. Multi-channel highway weather station data processing circuit; 8. Main control chip; 9. Missing data self-repair block; 10. Fault detection module; 11. LoRa module; 12. GPS circuit; 13. 4G-DTU module; 14. Communication circuit;

[0076] Figure 2 This is a structural diagram of the limiting filtering + Newton interpolation algorithm of the present invention;

[0077] Figure 3 It is the flow chart of the filtering algorithm of the present invention;

[0078] Figure 4 This is a data comparison chart of the present invention. DETAILED DESCRIPTION

[0079] The present invention is further described in detail below in conjunction with embodiments.

[0080] Those skilled in the art will appreciate that the following examples are only used to illustrate the present invention and should not be considered to limit the scope of the present invention. If no specific techniques or conditions are specified in the examples, the techniques or conditions described in the literature in the art or the product specifications are used. If the manufacturer of the materials or equipment used is not specified, they are all conventional products that can be purchased.

[0081] like Figure 1 As shown, a highway traffic weather station abnormal data self-repair system includes a power supply 1, a power protection circuit 5, a sensor interface circuit 6, a multi-channel highway weather station data processing circuit 7, a main control chip 8, a missing data self-repair module 9, a fault detection module 10 and a communication circuit 14;

[0082] The power supply device 1 is connected to the power protection circuit 5;

[0083] The power protection circuit 5 is respectively connected to the sensor interface circuit 6, the multi-channel highway weather station data processing circuit 7, the main control chip 8, the missing data self-repair module 9, the fault detection module 10, and the communication circuit 14;

[0084] The sensor interface circuit 6 is also connected to the multi-channel highway weather station data processing circuit 7;

[0085] The sensor interface circuit 6 is connected to the sensor of the weather station and is used to collect various types of highway weather station data;

[0086] The multi-channel highway weather station data processing circuit 7 is used to receive the multi-channel data transmitted by the sensor interface circuit 6, perform level conversion, and then transmit it to the main control chip 8;

[0087] The main control chip 8 is respectively connected to the multi-channel highway weather station data processing circuit 7, the missing data self-repair module 9, the fault detection module 10, and the communication circuit 14;

[0088] The main control chip 8 is used to filter and remove abnormal data caused by external interference factors in the multi-type highway weather station data transmitted by the multi-channel highway weather station data processing circuit 7, and monitor whether there is missing data; if there is missing data, the missing data self-repair module 9 uses the Newton interpolation algorithm to make up for the missing data; then the main control chip 8 transmits the repaired data to the remote control center through the communication circuit 14;

[0089] The fault detection module 10 is also connected to the sensor interface circuit 6, the multi-channel highway weather station data processing circuit 7, the main control chip 8, and the communication circuit 14 respectively;

[0090] The fault detection module 10 is used for real-time monitoring of the voltage and temperature changes of the power protection circuit 5; for real-time monitoring of the voltage changes of the sensor interface circuit 6; for real-time monitoring of the data communication in the multi-channel highway weather station data processing circuit 7; for real-time monitoring of the voltage changes in the communication circuit 14; if a fault is detected during monitoring, the fault data is transmitted to the remote control center through the main control chip 8 and the communication circuit 14.

[0091] Specifically, the power supply 1 includes three output channels, namely output channel one 2, output channel two 3, and output channel three 4;

[0092] Output channel 1 2 outputs 12V voltage, output channel 2 3 is used to output 5V voltage, and output channel 3 4 is used to output 3.3V voltage;

[0093] The output channel 1 2 is connected to the sensor interface circuit 6 through the power protection circuit 5, and is used to supply power to the sensor interface circuit 6;

[0094] Output channel two 3 is connected to the multi-channel highway weather station data processing circuit 7, fault detection module 10, and communication circuit 14 respectively through the power protection circuit 5, and is used to supply power to the multi-channel highway weather station data processing circuit 7, fault detection module 10, and communication circuit 14.

[0095] The output channel three 4 is connected to the main control chip 8 and the missing data self-repair module 9 respectively through the power protection circuit 5, and is used to supply power to the main control chip 8 and the missing data self-repair module 9.

[0096] Specifically, the communication circuit 14 includes a GPS circuit 12 , a LoRa module 11 and a 4G-DTU module 13 .

[0097] Specifically, the GPS circuit 12 code and communication protocol conform to the NEMA-0183 protocol, and the message format conforms to the NEMA-0183 protocol standard.

[0098] Specifically, when data transmission fails between the main control chip 8 and the 4G-DTU module 13 due to a communication failure, the location coordinates of the weather station where the fault occurs and the data of multiple types of highway weather stations are sent to the nearest weather station through the Lora module 11. After the data is received by the nearest weather station, it is transmitted to the remote control center.

[0099] Specifically, the fault detection module 10 sends the fault data to the main control chip 8 by means of serial communication.

[0100] Specifically, the filtering adopts a limiting filtering algorithm.

[0101] Preferably, power supply (parameters):

[0102] 1. Function type: step-down type;

[0103] 2. Input voltage: 3.1V~17V;

[0104] 3. Output voltage: 600mV~16.8V;

[0105] 4. Output current (maximum): 3.5A;

[0106] 5.Switching frequency: 4MHz;

[0107] 6. Number of output channels: 2.

[0108] Optimization, power protection circuit (parameters):

[0109] 1. Maximum voltage: 60V;

[0110] 2. Maximum current: 40A;

[0111] 3. Holding current: 100mA;

[0112] 4. Tripping current: 250mA.

[0113] Optimized, main control chip (parameters):

[0114] 1.CPU core: ARM-A series;

[0115] 2.Total RAM capacity: 128KB;

[0116] 3. Number of GPIO ports: 128 pins;

[0117] 4.U(S)ART routes: 5;

[0118] 5.CPU maximum frequency: 1GHz.

[0119] Optimization, communication circuit - Lora module (parameters):

[0120] 1. Working frequency: 868MHz;

[0121] 2. Transmitting power: -1dBm~95dBm;

[0122] 3.Support interface: SPI;

[0123] 4. Working voltage: 3.3V;

[0124] 5. Receiving current: 10.8mA;

[0125] 6. Sending current: 120mA.

[0126] Optimization, communication circuit - 4G-DTU module (parameters):

[0127] 1.VBAT supply voltage: 3.3V;

[0128] 2. Frequency band: Band 3, Band 5, Band 8;

[0129] 3. Transmitting power: 23dBm±2dB.

[0130] Optimization, communication circuit - GPS circuit (parameters):

[0131] 1. Working voltage

[0132] + Source voltage: Support voltage range: 3.3V;

[0133] 2.Sensitivity: -165dBm.

[0134] Application Examples

[0135] In order to solve the problem of abnormal data caused by external interference factors during sensor acquisition, the limiting filter algorithm and Newton interpolation algorithm are used to filter out abnormal data and missing data. The original data and the data processed by the algorithm of the present invention are as follows: Figure 4 As shown:

[0136] Depend on Figure 4 It can be seen that in the time intervals of 17-35min and 60-80min, there are abnormal data and some missing data in the raw data received from the meteorological sensor. The following steps are used to filter out the data and interpolate the missing values:

[0137] ① According to different sensor attributes and their normal data intervals, set corresponding thresholds, α, β (such as Figure 2 shown).

[0138] ② When abnormal data appears (the absolute value of the difference with the last received data is greater than the set threshold), if it is determined that the data acceptance has failed, the data will be automatically discarded.

[0139] ③ When the missing data self-repair module detects that there is a gap in the data, the missing value is interpolated using the Newton difference algorithm.

[0140] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A self-repair system for abnormal data of highway traffic weather stations, It is characterized in that It comprises a power supply (1), a power protection circuit (5), a sensor interface circuit (6), a multi-channel highway weather station data processing circuit (7), a main control chip (8), a missing data self-repair module (9), a fault detection module (10) and a communication circuit (14); The power supply device (1) is connected to the power protection circuit (5); The power protection circuit (5) is respectively connected to the sensor interface circuit (6), the multi-channel highway weather station data processing circuit (7), the main control chip (8), the missing data self-repair module (9), the fault detection module (10), and the communication circuit (14); The sensor interface circuit (6) is also connected to the multi-channel highway weather station data processing circuit (7); A sensor interface circuit (6) is connected to a sensor of a weather station and is used to collect data of various types of highway weather stations; The multi-channel highway weather station data processing circuit (7) is used to receive the multi-channel data transmitted by the sensor interface circuit (6), perform level conversion, and then transmit it to the main control chip (8); The main control chip (8) is respectively connected to the multi-channel highway weather station data processing circuit (7), the missing data self-repair module (9), the fault detection module (10), and the communication circuit (14); The main control chip (8) is used to filter and remove abnormal data caused by external interference factors in the multi-type highway weather station data transmitted by the multi-channel highway weather station data processing circuit (7), and monitor whether there is missing data; if there is missing data, the missing data self-repair module (9) uses the Newton interpolation algorithm to make up for the missing data; then the main control chip (8) transmits the repaired data to the remote control center through the communication circuit (14); The fault detection module (10) is also respectively connected to the sensor interface circuit (6), the multi-channel highway weather station data processing circuit (7), the main control chip (8), and the communication circuit (14); The fault detection module (10) is used to monitor the voltage and temperature changes of the power protection circuit (5) in real time; to monitor the voltage changes of the sensor interface circuit (6) in real time; to monitor the data communication conditions in the multi-channel highway weather station data processing circuit (7) in real time; and to monitor the voltage changes in the communication circuit (14) in real time; if a fault is detected during monitoring, the fault data is transmitted to the remote control center through the main control chip (8) and the communication circuit (14).

2. The abnormal data self-repair system of the highway traffic weather station according to claim 1, It is characterized in that The power supply (1) comprises three output channels, namely output channel one (2), output channel two (3), and output channel three (4); Output channel 1 (2) outputs 12V voltage, output channel 2 (3) is used to output 5V voltage, and output channel 3 (4) is used to output 3.3V voltage; The output channel 1 (2) is connected to the sensor interface circuit (6) via the power protection circuit (5) to supply power to the sensor interface circuit (6); The output channel 2 (3) is respectively connected to the multi-channel highway weather station data processing circuit (7), the fault detection module (10), and the communication circuit (14) through the power protection circuit (5), and is used to supply power to the multi-channel highway weather station data processing circuit (7), the fault detection module (10), and the communication circuit (14); The output channel three (4) is respectively connected to the main control chip (8) and the missing data self-repair module (9) through the power protection circuit (5), and is used to supply power to the main control chip (8) and the missing data self-repair module (9).

3. The abnormal data self-repair system of the highway traffic weather station according to claim 1, It is characterized in that The communication circuit (14) includes a GPS circuit (12), a LoRa module (11) and a 4G-DTU module (13).

4. The abnormal data self-repair system of the highway traffic weather station according to claim 3, It is characterized in that The GPS circuit (12) code and communication protocol conform to the NEMA-0183 protocol, and the message format conforms to the NEMA-0183 protocol standard.

5. The abnormal data self-repair system of the highway traffic weather station according to claim 3, It is characterized in that When data transmission fails between the main control chip (8) and the 4G-DTU module (13) due to a communication failure, the location coordinates of the weather station where the failure occurs and the data of multiple types of highway weather stations are sent to the nearest weather station through the Lora module (11), and the nearest weather station receives the data and then transmits it to the remote control center.

6. The abnormal data self-repair system of the highway traffic weather station according to claim 1, It is characterized in that The fault detection module (10) sends the fault data to the main control chip (8) by means of serial communication.

7. The abnormal data self-repair system of the highway traffic weather station according to claim 1, It is characterized in that The filtering adopts the limiting filtering algorithm.