Data acquisition abnormity correction and detection device

By designing electrostatic discharge protectors, filter circuits and protection circuits in the power system, the stability problem in RS485 interface communication is solved, and data abnormalities are identified through intelligent data processing algorithms, which improves the communication stability and data accuracy of the power system. reduces the false alarm rate, improves the accuracy of fault warning and system management efficiency.

CN222013195UActive Publication Date: 2024-11-15NINGXIA KAICHEN ELECTRIC GROUP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202420461798.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-11-15
Estimated Expiration
2034-03-11

AI Technical Summary

Technical Problem

In power systems, RS485 interface communication is susceptible to environmental electromagnetic interference and poor communication line quality, resulting in communication abnormalities and connection failures. The traditional threshold judgment mechanism cannot effectively distinguish data errors and abnormalities, affecting the accuracy and reliability of the system.

Method used

A data acquisition abnormal correction and detection device is designed, including an electrostatic discharge protector, a filter circuit, a protection resistor, an overload protection circuit and a short circuit protection circuit. It communicates with multiple power meters through a microprocessor, and uses pull-up and pull-down resistors. Maintain the RS485 differential bus level within the effective range and combine it with an intelligent data processing algorithm to identify data abnormalities.

Benefits of technology

It improves communication stability and data transmission accuracy, reduces false alarm rate, improves the accuracy of fault warning and system management efficiency, and ensures the reliability and management level of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222013195U_ABST
    Figure CN222013195U_ABST
Patent Text Reader

Abstract

The utility model provides a data acquisition abnormity correction and detection device, which is used for solving the problems that in the prior art, an RS485 interface has no driving voltage in a short time, and communication abnormity possibly occurs after a plurality of electric power instruments are networked. An electrostatic discharge protector is connected between a serial communication interface of a microprocessor and the ground; a serial communication interface of the microprocessor is connected with the filter circuit; a protection resistor is connected between a serial communication interface of the microprocessor and a serial port transceiving end of the level conversion circuit, in the level conversion circuit, a pull-up resistor is connected between a power supply end and a first signal line of the 485 bus, and a pull-down resistor is connected between a second signal line of the 485 bus and the ground; the plurality of slave devices are in communication connection with the microprocessor through a 485 bus; an overload protection circuit is connected between the sending end of each slave device and the 485 bus, and a short circuit protection circuit is connected between the receiving end of each slave device and the 485 bus. The device can improve communication stability, guarantee system reliability and improve data accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field:

[0001] The utility model relates to the technical field of electronic information, in particular to a data acquisition abnormality correction and detection device. Background technology:

[0002] After multiple power meters are networked, communication anomalies and connection failures are common due to the increase in communication volume and the complexity of communication lines. Traditional RS485 interface communication often faces multiple challenges in practical applications. In some cases, such as when the environmental electromagnetic interference in the power system is large or the quality of the communication line is poor, the RS-485 bus will lack a driving voltage for a short period of time, causing the RS-485 differential bus voltage to drop to 0V. In this case, the acquisition and control equipment cannot correctly parse the data, resulting in data transmission failure or errors.

[0003] In addition to the problem of communication stability, the existing power edge computing methods also have certain limitations. The traditional threshold judgment mechanism often cannot effectively distinguish between data errors and data anomalies, especially when the abnormal values ​​generated when the power meter fails may be mistakenly judged as normal alarms. This misjudgment will cause the wrong fault warning information to be transmitted to the monitoring system, affecting the accuracy and reliability of the system. Therefore, there is still room for improvement in the current technology in terms of data error and anomaly identification. Utility model content:

[0004] The utility model provides a data acquisition abnormality correction and detection device, which is used to solve the problem of no driving voltage on the RS-485 bus for a short time that may occur in RS485 interface communication in the prior art, and the problem of communication abnormality or connection failure that may occur after a single RS485 slave device and multiple power meters are networked.

[0005] A data acquisition abnormality correction and detection device comprises: an electrostatic discharge protector is connected between a serial communication interface of a microprocessor and ground; the serial communication interface of the microprocessor is connected to a filter circuit; a protection resistor is connected between the serial communication interface of the microprocessor and a serial port transceiver end of a level conversion circuit; in the level conversion circuit, a pull-up resistor is connected between a power supply end and a first signal line of a 485 bus, and a pull-down resistor is connected between a second signal line of the 485 bus and ground; a plurality of slave devices are connected to the microprocessor through a 485 bus; an overload protection circuit is connected between a transmitting end of each slave device and the 485 bus, and a short-circuit protection circuit is connected between a receiving end of each slave device and the 485 bus.

[0006] Preferably, the resistance of the protection resistor is 0 ohm.

[0007] Preferably, at the 485 bus interface of the level conversion circuit, a terminal resistor is connected between the first signal line and the second signal line of the 485 bus.

[0008] Preferably, the resistance of the terminal resistor is 120 ohms.

[0009] Preferably, in the power system, the plurality of slave devices include: a temperature sensor, a voltage sensor, a current sensor, a motor, an IRIG-B code decoding module and a GPS positioning module.

[0010] Preferably, the microprocessor is also electrically connected to the display module, the alarm module and the wireless transmission module.

[0011] Preferably, the overload protection circuit is one of a variable resistor, a current limiter and a current limiting diode.

[0012] Preferably, the short circuit protection circuit is a protection diode or a current limiting resistor.

[0013] The beneficial effects of the utility model include: improving communication stability: through the reasonable design and connection of key components such as electrostatic discharge protector, filter circuit and protection resistor, electrostatic discharge and interference signals that may occur in RS485 interface communication are effectively prevented, thereby improving the stability and reliability of communication.

[0014] Ensure system reliability: The introduction of overload protection circuit and short-circuit protection circuit can limit the current in time when the slave device is overloaded or short-circuited, protecting the device from damage, while avoiding interference with communication, further ensuring the normal operation of the system.

[0015] Improve data accuracy: The introduction of 120 ohm terminal resistors and other measures solves the problem of RS-485 differential bus signal being interfered by reflection, effectively improves the accuracy and reliability of data transmission, and reduces the possibility of data transmission errors.

[0016] Intelligent fault warning: The data anomaly processing algorithm based on the microprocessor unit can intelligently identify data anomalies and effectively distinguish between real alarms and data errors, thereby reducing the false alarm rate and improving the accuracy and credibility of fault warnings.

[0017] Optimize system management: The connection with the display module, alarm module and wireless transmission module makes system management more convenient and efficient. Users can monitor data in real time and perform remote control, which helps to improve the management level and operation efficiency of the system.

[0018] In summary, the data acquisition anomaly correction and detection device has obvious advantages in improving communication stability, ensuring system reliability, improving data accuracy, intelligent fault warning and optimizing system management. It is expected to be widely used in power systems and other fields, and make positive contributions to the development and progress of related industries. Description of the drawings:

[0019] Attached Figure 1 This is a structural schematic diagram of a data acquisition anomaly correction and detection device according to a preferred embodiment;

[0020] Attached Figure 2 is a schematic diagram of a microprocessor of a data acquisition anomaly correction and detection device in a preferred embodiment;

[0021] Attached Figure 3 is a schematic diagram of a preferred embodiment of the connection between a microprocessor and a level conversion circuit through a protection resistor;

[0022] Attached Figure 4 is a schematic diagram of a level conversion circuit of a preferred embodiment;

[0023] Attached Figure 5 is a schematic diagram of a plurality of power slave devices of a preferred embodiment;

[0024] Attached Figure 6 The figure is a flow chart of a power data alarm in a preferred embodiment. Specific implementation method:

[0025] In view of this, the present invention provides a data acquisition anomaly correction and detection device, and the preferred embodiments of the present invention are described below in conjunction with the accompanying drawings of the specification.

[0026] In order to make the purpose, technical solution and advantages of the embodiment of the utility model clearer, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0027] In addition, it should be understood that in the description of the embodiments of the present invention, words such as "first" and "second" are only used to distinguish the description purpose, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0028] See also Figure 1As shown, a data acquisition abnormality correction and detection device includes: an electrostatic discharge protector 2 is connected between the serial communication interface of the microprocessor 1 and the ground; the serial communication interface of the microprocessor 1 is connected to a filter circuit 3; a protection resistor 5 is connected between the serial communication interface of the microprocessor 1 and the serial port receiving and transmitting end of the level conversion circuit 4, in which a pull-up resistor is connected between the power supply end and the first signal line 9 of the 485 bus, and a pull-down resistor is connected between the second signal line 10 of the 485 bus and the ground; multiple slave devices are connected to the microprocessor 1 through the 485 bus; an overload protection circuit 12 is connected between the transmitting end of each slave device and the 485 bus, and a short-circuit protection circuit 11 is connected between the receiving end of each slave device and the 485 bus.

[0029] Specifically, during the data collection process of the power system, the data collection abnormality correction and detection device is used, and the microprocessor 1 communicates with multiple slave devices. The slave devices have different device IDs, and the microprocessor 1 sends a data collection signal, and the slave devices communicate after detecting the correct device ID.

[0030] The microprocessor 1 adopts the GD32F103CBT6 chip, and the serial communication interface USART_RX (receiving end) and USART_TX (transmitting end) thereof are connected to the receiving end and the transmitting end of the level conversion circuit 4 with protective resistors 5R4 and R5 correspondingly one by one; the resistance of the protective resistor 5 is 0 ohm. The protective resistor 5 is used to protect the serial communication interface of the microprocessor 1. On the one hand, the serial communication interface uses differential signals for data transmission. However, there may be some external interference sources on the communication line, such as electromagnetic interference or other signals on the transmission line. These interference signals may interfere with the communication line and change the level of the communication signal. The role of the 0 ohm resistor is to eliminate these interference signals; on the other hand, in some cases, the signal level on the communication line may exceed the acceptable range of the serial communication interface, resulting in damage to the device. The 0 ohm resistor can provide a current path and limit the rise of voltage, thereby protecting the serial communication interface.

[0031] Multiple slave devices constitute the RS-485 networking system, and the RS-485 bus signal is easily disturbed by the reflected signal of the slave device communication signal, resulting in abnormal communication. At the 485 bus interface of the level conversion circuit 4, a terminal resistor is connected between the first signal line 9 and the second signal line 10 of the 485 bus. By adding matching terminal resistors to the two endpoints of the RS-485 differential bus, the reflected signal can be absorbed to ensure the reliability and stability of signal transmission. In this way, interference and data errors caused by reflection can be avoided, and the normal communication of the RS-485 differential bus can be ensured. The resistance value of the terminal resistor is 120 ohms.

[0032] When the microprocessor 1 starts to communicate with the slave device, some slave devices have no driving power supply. At this time, the level VID (VA-VB) on the RS-485 communication bus is 0V, and the voltage value is within the threshold level (±200mv). At this time, the communication will fail, and the data collected by the microprocessor 1 is invalid data. The communication anomaly is solved by configuring the pull-down and pull-up states of the pull-down resistor R1 and the pull-up resistor R2. One end of the resistor R1 is connected to the first signal line 9485_B, and the other end is connected to GND_485; one end of the resistor R2 is connected to the second signal line 10485_A, and the other end is connected to +5V_485. When the 485_B signal line level is low, the resistor R1 provides a grounding path for GND_485, pulls the bus level down, and ensures that the bus level is lower than the threshold level. When the 485_A signal line level is high, the resistor R2 provides a pull-up path for +5V_485, pulls the bus level up, and ensures that the bus level is higher than the threshold level. When microprocessor 1 starts communicating with the slave device, by configuring the pull-up and pull-down states of R1 and R2, it can ensure that the level on the RS-485 differential bus is always maintained outside the threshold level range. In this way, even if the slave device has no driving power, the level on the bus can still be maintained within the effective range to prevent communication abnormalities. Microprocessor 1 unit can collect data normally to ensure the reliability and correctness of communication.

[0033] The level conversion circuit 4 uses a dedicated conversion chip, usually a MAX3485ESA chip.

[0034] ESD protection: An electrostatic discharge (ESD) protector is connected to the serial communication interface pin of the microprocessor 1 to absorb and suppress the influence of electrostatic discharge on the communication interface. This can protect the serial communication interface from damage by electrostatic discharge.

[0035] Filter circuit 3: Add filter circuit 3 at the input and output of the serial communication interface to filter out high-frequency noise from noise, interference, electromagnetic radiation and other factors. Filter circuit 3 can use RC filter, LC filter, etc. By selecting appropriate filter parameters and components, high-frequency noise can be effectively suppressed and the anti-interference ability of the communication system can be improved.

[0036] Overload protection circuit 12: Add an overload protection circuit 12 to the sending port of each slave device. The main purpose is to prevent excessive output current from causing excessive load on the bus data line when sending data. The overload protection circuit 12 can be implemented by using a variable resistor (such as a PTC fuse), a current limiter or a current limiting diode. When the sending current exceeds the set value, the overload protection circuit 12 will automatically cut off or reduce the output current, thereby protecting the bus from overload.

[0037] Short circuit protection circuit 11: Add a short circuit protection circuit 11 to the receiving port of each slave device. The main purpose is to prevent abnormal current caused by a short circuit of the bus data line from flowing through the receiving port when receiving data, affecting the entire communication system. The short circuit protection circuit 11 can be implemented by using a protection diode, a current limiting resistor, etc. When the bus is short-circuited, the short circuit protection circuit 11 will limit the current passing through the receiving port, thereby protecting the stability of the entire communication system.

[0038] In the power data acquisition system, multiple slave devices include: temperature sensor, voltage sensor, current sensor, motor, IRIG-B code decoding module and GPS positioning module. It is used to collect, monitor and analyze various parameters and data in the power system; the microprocessor 1 is also electrically connected to the display module 6, the alarm module 7 and the wireless transmission module 7.

[0039] Current sensor: used to measure and monitor the current value in the power system. It can be used to calculate the load current, detect overload conditions, and perform electric energy metering. Voltage sensor: used to measure and monitor the voltage value in the power system. It can be used to calculate power, frequency, voltage waveform monitoring, etc. GPS positioning module: used to record and track the location of the device, and can realize the real-time positioning and trajectory monitoring functions of the device. IRIG-B code decoding module: used to receive and decode IRIG-B time synchronization signals, and can realize unified time synchronization and data synchronization functions between devices. Temperature sensor: used to monitor the temperature changes of equipment or environment, and can be used for fault warning, temperature monitoring, etc. Motor: used to drive and control various power equipment, such as power transmission lines, power transformers, generators, etc.

[0040] This device collects parameters such as current, voltage, temperature, position, etc. in real time through various sensor modules, and performs data sampling at a certain sampling frequency. The collected data is stored and processed, and the data is transmitted to the upper system or monitoring center through the wireless transmission module 7 of the microprocessor 1. The collected data is processed, analyzed and calculated, such as calculating power factor, harmonic analysis, electric energy metering, etc., and data reports, curves, and alarm processing by the alarm module 7. The collected data is displayed and managed through the human-machine interface or monitoring terminal to realize real-time monitoring of the power system, fault alarm, equipment status evaluation, historical data query, etc.

[0041] The data collected by voltage and current sensors are real-time current and voltage data in the power system. These data are very important in the power system and can be used to monitor the power load status, analyze the grid stability, calculate power and energy consumption, and perform fault detection. These data are also the basis for other functions in the power system, such as energy metering, fault diagnosis, and power load management.

[0042] The measuring point of the power meter sets the upper and lower limits of the alarm and the fluctuation range of the data. When the data of the measuring point exceeds the upper and lower limits, an alarm is generated. When the data of the measuring point exceeds the fluctuation range, the data is uploaded. By judging whether the current and last data exceed 3 times of the fluctuation value, if not, it is normal data; if it exceeds, then judge whether it exceeds the upper and lower limits of the alarm. If not, re-read ten times and take the median as the final measuring point data; if it exceeds the upper and lower limits of the alarm, the modbus polling mechanism is suspended, and the measuring point is read quickly and continuously for a period of time, and finally judge whether it is a real alarm. Generally speaking, the data of the real alarm is increasing or decreasing, and the final stable value is a certain increase or decrease compared with the value before the alarm, while the abnormal value is suddenly increased or decreased, and finally recovered and consistent with the value before the abnormal change; when it is finally determined to be a real alarm, all data during this period are uploaded, and if it is an abnormal alarm, the data during this period is discarded.

[0043] Through the combination of software and hardware, it can not only protect the serial communication interface of the microprocessor, but also improve the anti-interference ability of the entire system, avoiding some connection failures and communication anomalies; and the existing power edge computing to achieve fault warning mechanism is mostly to read the data on the power meter through some acquisition and control equipment and use the threshold judgment method to determine whether to generate an alarm. However, if the data read by the power meter is an abnormal value when a fault occurs, it is easy to misjudge the warning. The data judgment and alarm mechanism adopted by this device determines whether a real alarm is generated by judging the fluctuation range of the data and the situation of exceeding the upper and lower limits of the alarm. The data of the real alarm is increasing or decreasing, and after the final stabilization, there is a certain increase or decrease compared with the value before the alarm; while the data of the abnormal alarm is suddenly increased or decreased, and after recovery, it is consistent with the value before the abnormal change. According to the judgment result, the corresponding data processing and upload are carried out.

Claims

1. A data acquisition anomaly correction and detection device, characterized in that: include: An electrostatic discharge protector is connected between the serial communication interface of the microprocessor and the ground; The serial communication interface of the microprocessor is connected to the filter circuit; A protection resistor is connected between the serial communication interface of the microprocessor and the serial port transceiver of the level conversion circuit. In the level conversion circuit, a pull-up resistor is connected between the power supply terminal and the first signal line of the 485 bus, and a pull-down resistor is connected between the second signal line of the 485 bus and the ground. A plurality of slave devices are connected to the microprocessor through a 485 bus; an overload protection circuit is connected between the transmitting end of each slave device and the 485 bus, and a short circuit protection circuit is connected between the receiving end of each slave device and the 485 bus.

2. The data acquisition anomaly correction and detection device according to claim 1, characterized in that: The resistance of the protection resistor is 0 ohm.

3. The data acquisition anomaly correction and detection device according to claim 1, characterized in that: At the 485 bus interface of the level conversion circuit, a terminal resistor is connected between the first signal line and the second signal line of the 485 bus.

4. The data acquisition anomaly correction and detection device according to claim 3, characterized in that: The resistance of the terminal resistor is 120 ohms.

5. The data acquisition anomaly correction and detection device according to claim 1, characterized in that: In the power system, multiple slave devices include: temperature sensors, voltage sensors, current sensors, motors, IRIG-B code decoding modules and GPS positioning modules.

6. The data acquisition anomaly correction and detection device according to claim 1, characterized in that: The microprocessor is also electrically connected to the display module, the alarm module and the wireless transmission module.

7. The data acquisition anomaly correction and detection device according to claim 1, characterized in that: The overload protection circuit is one of a variable resistor, a current limiter and a current limiting diode.

8. The data acquisition anomaly correction and detection device according to claim 1, characterized in that: The short circuit protection circuit is a protection diode or a current limiting resistor.

Citation Information

Cited By

  • RS485 bus fault protection biasing circuit and acquisition equipment

    CN120151136A