A lightning arrester online monitoring device and method
By designing an online monitoring device for the arrester, the electrical performance of the arrester is monitored in real time, which solves the problems of arrester aging and moisture, and improves the stability of the power grid and the service life of the arrester.
Patent Information
- Application Number
- CN202011405363.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-04
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-12-04
AI Technical Summary
Arresters are prone to aging and moisture during long-term operation, leading to system failure. Existing online detection devices are difficult to detect sensitively, affecting the stable operation of the power grid.
An online monitoring device for lightning arresters is designed, which includes a system acquisition unit, an online monitoring unit and a programmable logic device. It collects the internal monitoring current signals, lightning strike current and core current signals of the arrester, and uses a lightning strike counting comparison circuit and a synchronous sampler to collect data. processing, real-time monitoring of the electrical performance of the arrester, and timely discovery of moisture in the equipment's internal insulation and aging of valve plates.
It realizes real-time monitoring of the arrester, timely detects moisture in the insulation of the equipment and aging of the valve plate, improves the stability and reliability of the live test, and extends the service life of the arrester.
Smart Images

Figure CN112485508B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic monitoring of lightning arresters and lightning protection, and in particular to an online monitoring device and method for lightning arresters. Background Art
[0002] In my country's power transmission system, lightning arresters have been used for many years as necessary protective devices. Due to their large size and large footprint, lightning arresters are mostly arranged outdoors. Therefore, they are inevitably affected by the external environment during use. Most lightning arresters age and become damp during operation, which may cause system failures in severe cases. In addition, preventive testing of lightning arresters often requires power outages for maintenance, causing many inconveniences.
[0003] As can be seen from the above, with the increase of operating time, the aging and dampness of the arrester are becoming more and more serious, and the power outage losses caused by maintenance are difficult to make up. According to statistics, above the 110kV voltage level, the zinc oxide arrester may gradually age under the influence of long-term power frequency voltage, and the valve plate current and power consumption inside the arrester will gradually increase with the passage of time, which will eventually cause the arrester to lose thermal stability and be damaged. In addition, the dampness caused by the poor sealing of the arrester will also cause the arrester's working current to increase, and in severe cases, it will cause the arrester to operate and the relay protection device to trip.
[0004] In order to be able to sensitively detect the moisture and aging problems of lightning arresters, more and more research has been done on online detection devices for lightning arresters. The online monitoring method based on the ZYNQ platform and the online device built with FPGA+MCU architecture are currently popular solutions for automatic monitoring of lightning arresters. This solution combines computer communication technology and starts from both hardware and software aspects to meet the functional and performance design needs. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention provides an online monitoring device and method for a lightning arrester, which can sensitively detect moisture and aging problems of the lightning arrester. The method has high synchronization accuracy, small harmonic components, and strong anti-interference ability, ensuring the stable operation of the power grid.
[0006] The technical solution adopted by the present invention is:
[0007] An arrester online monitoring device comprises a system acquisition unit, a first online monitoring unit, an address button, a first 5-bit segment 8-bit digital tube, a 220V AC power supply, and an arrester voltage transformer;
[0008] The system acquisition unit includes a first lightning arrester current acquisition unit, a second lightning arrester current acquisition module, a power module, a core current acquisition unit, a first synchronous sampler, a first programmable logic device, a PT voltage conditioning circuit, and a first data processing module;
[0009] The power module includes a power supply PT voltage conditioning circuit and a first power interface; the first lightning arrester current acquisition unit includes a lightning strike counting comparison circuit and a first current acquisition conditioning circuit; the lightning strike counting comparison circuit inputs a first lightning strike current signal at the input end, and the output end is connected to the input end of the first synchronous sampler, and the internal monitoring current signal of the lightning arrester is input into the first current acquisition conditioning circuit; the second lightning arrester current acquisition unit includes a conditioning circuit, a current acquisition unit voltage transformer, a second synchronous sampler, a second 5-bit segment 8-bit digital tube, a processor, a second programmable logic device, a second power interface, a voltage comparator, and a second online monitoring unit; the conditioning circuit inputs an AC leakage current signal of the lightning arrester, and the output end is connected to the input end of the second synchronous sampler. The input end of the step sampler is respectively connected to the output end of the voltage transformer of the current acquisition unit, the output end of the second programmable logic device, and the output end of the conditioning circuit, and its output end is connected to the input end of the second programmable logic device, the input end of the second programmable logic device is connected to the output end of the voltage comparator and the output end of the second online monitoring unit, the input end of the processor is connected to the output end of the second programmable logic device, and the output end is connected to the second 5-bit segment 8 digital tube input end and the input end of the power grid debugging interface, the input end of the first power interface is connected to the output end of the 220V AC power supply, the input end of the second power interface is connected to the output end of the 220V AC power supply, and the voltage comparator inputs the second lightning current signal; the input end of the core current acquisition unit inputs the arrester core current signal;
[0010] The output end of the first synchronous sampler is connected to the input end of the first programmable logic device, and the input end is respectively connected to the output end of the first current acquisition and conditioning circuit in the first arrester current acquisition unit, the output end of the core current acquisition unit, and the output end of the PT voltage conditioning circuit, and the input end of the PT voltage conditioning circuit is connected to the output end of the arrester voltage transformer;
[0011] The first programmable logic device input terminal is connected to the output terminal of the PT voltage conditioning circuit, the output terminal of the first data processing module, and the output terminal of the address key, and the output terminal is connected to the input terminal of the first synchronous sampler;
[0012] The input end of the first data processing module is connected to the output end of the PT voltage conditioning circuit, the output end of the first online monitoring unit, the output end of the first programmable logic device, and the output end of the first 5-bit segment 8-bit digital tube, and the output end is connected to the input end of the first online monitoring unit;
[0013] The online monitoring unit includes an extensible processing platform PL module, an extensible processing platform PS module, a first debugging serial port, a second debugging serial port, a first optical port, a second optical port, a first communication interface, a second communication interface, a third communication interface, a fourth communication interface, a fifth communication interface, and a sixth communication interface; the first debugging serial port input end is connected to the extensible processing platform PS module output end, the second debugging serial port input end is connected to the extensible processing platform PL module output end, the first optical port input end is connected to the extensible processing platform PL module output end, the second optical port input end is connected to the extensible processing platform PL module output end, the extensible processing platform PL module input end is respectively connected to the second debugging serial port output end, the first optical port output end, the second optical port output end, the first communication interface output end, the second communication interface output end, the third communication interface output end, the fourth communication interface output end, the fifth communication interface output end, and the sixth communication interface output end, and the output end is connected to the first communication interface input end, the second communication interface input end, the third communication interface input end, the fourth communication interface input end, the fifth communication interface input end, and the sixth communication interface input end.
[0014] On the other hand, a lightning arrester online monitoring method is implemented based on the above-mentioned lightning arrester online monitoring device, comprising the following steps:
[0015] Step 1: Collect the internal monitoring current signal of the arrester, the lightning current input signal, the arrester core current signal and the voltage signal measured by the arrester transformer into the system acquisition unit;
[0016] Step 2: Process the signal in step 1 by using the data acquisition and processing program of the programmable logic device and the lightning counting program of the lightning counting comparison circuit;
[0017] The data acquisition and processing procedure of the programmable logic device comprises the following steps:
[0018] Step S1: The first online monitoring unit is powered on and a pre-configuration instruction is issued to the first programmable logic device, and the configuration of the programmable logic device is completed;
[0019] Step S2: the first programmable logic device enters an idle state;
[0020] Step S3: the monitoring device sends a control instruction to the first programmable logic device;
[0021] Step S4: the programmable logic device receives the control instruction and parses the serial port message;
[0022] Step S5: Detect whether the message contains a sampling command. If it contains a sampling command, drive the synchronous sampler to start interval sampling and enter step S6. If it does not contain a sampling command, return to step S4;
[0023] Step S6: storing the arrester core current signal sampling data into the cache FIFO in the first programmable logic device;
[0024] Step S7: whether the data of the lightning current sampling signal in the first programmable logic device contains an interrupt flag, i.e., a rising edge; if so, the interrupt flag data is sent to the first data processing module in the system acquisition unit through the SPI bus in the first programmable logic device, and the FIFO buffer data is processed, and the process goes to step S8; if not, the process goes back to step S6;
[0025] Step S8: After the data is sent to the MCU for processing via the SPI bus, the first programmable logic device returns to the idle state, i.e., step S2, and the lightning counting result is output on the first 5-bit segment 8 digital tube, i.e., step 3;
[0026] The lightning strike counting procedure of the lightning strike counting comparison circuit comprises the following steps:
[0027] Step D1: power on, programmable logic device configuration completed;
[0028] Step D2: the device enters an idle state;
[0029] Step D3: Detect the lightning current signal in the arrester current acquisition unit. If lightning strikes, collect the pulse signal width and enter step D4. If lightning strikes, return to step D2.
[0030] Step D4: the pulse signal is input into the second programmable logic device, and the number of lightning pulses starts to be recorded;
[0031] Step D5: the SPI interface module in the second programmable logic device inquires whether the data in the first programmable logic device contains the interrupt flag bit, i.e., the rising edge. If the interrupt flag bit, i.e., the rising edge, is contained, the interrupt flag bit data is sent to the MCU for processing via the SPI bus in the second programmable logic device to enter step D6. If the interrupt flag bit, i.e., the falling edge, is not contained, the process returns to step D4.
[0032] Step D6: The data is sent to the second data processing module MCU through the SPI bus in the second programmable logic device, and then the monitoring value is output on the first 5-bit segment 8 digital tube, that is, step 3;
[0033] Step 3: In the first 5-bit segment, the 8-digit digital tube outputs the monitoring quantities, including: total current, resistive current (or power consumption), ambient temperature and humidity, and lightning counting results, to complete the online monitoring of the arrester.
[0034] The beneficial effects of adopting the above technical solution are:
[0035] The present invention proposes an online monitoring device and method for lightning arresters, which monitors the electrical performance of lightning arresters in real time and promptly discovers dangerous defects such as moisture in the insulation of the equipment and aging of valve plates. It overcomes the moisture and aging of lightning arresters caused by long-term exposure to the external environment, effectively improves the stability and reliability of live testing, and is of vital importance to extending the service life of lightning arresters. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a block diagram of an online monitoring device for a lightning arrester according to the present invention;
[0037] Figure 2 This is a functional block diagram of a lightning arrester current acquisition unit according to an embodiment of the present invention;
[0038] Figure 3 This is a functional block diagram of an online monitoring unit according to an embodiment of the present invention;
[0039] Figure 4 This is a flow chart of the arrester online monitoring method of the present invention;
[0040] Figure 5 This is a flow chart of the FPGA program design for data transmission and reception according to an embodiment of the present invention;
[0041] Figure 6 This is a flow chart of the FPGA program design for lightning strike counting according to an embodiment of the present invention;
[0042] Figure 7 Input a test waveform for the 485 serial communication function of the embodiment of the present invention;
[0043] Figure 8 This is a test waveform output by the 485 serial communication function of the embodiment of the present invention. DETAILED DESCRIPTION
[0044] The specific implementation modes of the present invention are described in detail below with reference to the accompanying drawings.
[0045] An arrester online monitoring device, such as Figure 1 As shown, it includes a system acquisition unit, a first online monitoring unit, an address button, a first 5-bit segment 8-bit digital tube, a 220V AC power supply, and a lightning arrester voltage transformer;
[0046] The system acquisition unit includes a first lightning arrester current acquisition unit, a second lightning arrester current acquisition module, a power module, a core current acquisition unit, a first synchronous sampler, a first programmable logic device, a PT voltage conditioning circuit, and a first data processing module; in this embodiment, the synchronous sampler model is AD7606-4, the programmable logic device model is FPGAXC6SLX4, and the data processing module model is MPUTM4C129;
[0047] The power module includes a power supply PT voltage conditioning circuit and a first power interface; the first lightning arrester current acquisition unit includes a lightning strike counting comparison circuit and a first current acquisition conditioning circuit. Figure 2 As shown; the input end of the lightning strike counting comparison circuit inputs the first lightning strike current signal of 8 / 20μs / 50A, the output end is connected to the input end of the first synchronous sampler, and the internal monitoring current signal of the lightning arrester is input into the first current acquisition conditioning circuit; the second lightning arrester current acquisition unit includes a conditioning circuit, a current acquisition unit voltage transformer, a second synchronous sampler, a second 5-bit segment 8-bit digital tube, a processor, a second programmable logic device, a second power supply interface, a voltage comparator, and a second online monitoring unit; the input end of the conditioning circuit inputs the lightning arrester AC leakage current signal, the output end is connected to the input end of the second synchronous sampler, and the input end of the second synchronous sampler is respectively connected to the output end of the current acquisition unit voltage transformer, the second programmable logic device, and the second power supply interface. The device output end and the conditioning circuit output end are connected, and its output end is connected to the second programmable logic device input end, and the second programmable logic device input end is connected to the voltage comparator output end and the second online monitoring unit output end, and the processor input end is connected to the second programmable logic device output end, and the output end is connected to the second 5-bit segment 8 digital tube input end and the power grid debugging interface input end, and the first power interface input end is connected to the 220V AC power supply output end, and the second power interface input end is connected to the 220V AC power supply output end, and the voltage comparator inputs the second lightning current signal; the core current acquisition unit input end inputs the arrester core current signal; the processor model in this embodiment is M4CPU,
[0048] The output end of the first synchronous sampler is connected to the input end of the first programmable logic device, and the input end is respectively connected to the output end of the first current acquisition and conditioning circuit in the first arrester current acquisition unit, the output end of the core current acquisition unit, and the output end of the PT voltage conditioning circuit, and the input end of the PT voltage conditioning circuit is connected to the output end of the arrester voltage transformer;
[0049] The first programmable logic device input terminal is connected to the output terminal of the PT voltage conditioning circuit, the output terminal of the first data processing module, and the output terminal of the address key, and the output terminal is connected to the input terminal of the first synchronous sampler;
[0050] The input end of the first data processing module is connected to the output end of the PT voltage conditioning circuit, the output end of the first online monitoring unit, the output end of the first programmable logic device, and the output end of the first 5-bit segment 8-bit digital tube, and the output end is connected to the input end of the first online monitoring unit;
[0051] The online monitoring unit is as follows Figure 3As shown, it includes an extensible processing platform PL module, an extensible processing platform PS module, a first debugging serial port, a second debugging serial port, a first optical port, a second optical port, a first communication interface RS485-1, a second communication interface RS485-2, a third communication interface RS485-3, a fourth communication interface RS485-4, a fifth communication interface RS485-5, and a sixth communication interface RS485-6; the first debugging serial port input end is connected to the extensible processing platform PS module output end, the second debugging serial port input end is connected to the extensible processing platform PL module output end, the first optical port input end is connected to the extensible processing platform PL module output end, the second optical port input end is connected to the extensible processing platform PL module output end, the extensible The input end of the exhibition processing platform PL module is respectively connected to the output end of the second debugging serial port, the output end of the first optical port, the output end of the second optical port, the output end of the first communication interface RS485-1, the output end of the second communication interface RS485-2, the output end of the third communication interface RS485-3, the output end of the fourth communication interface RS485-4, the output end of the fifth communication interface RS485-5, and the output end is connected to the input end of the first communication interface RS485-1, the input end of the second communication interface RS485-2, the input end of the third communication interface RS485-3, the input end of the fourth communication interface RS485-4, the input end of the fifth communication interface RS485-5, and the input end of the sixth communication interface RS485-6.
[0052] In this embodiment, the scalable processing platform PL module and the scalable processing platform PS module use the scalable processing platform ZYNQ-PL and the scalable processing platform ZYNQ-PS respectively;
[0053] On the other hand, a lightning arrester online monitoring method is implemented based on the above-mentioned lightning arrester online monitoring device, such as Figure 4 As shown, the following steps are included:
[0054] Step 1: Collect the internal monitoring current signal of the arrester, the lightning current input signal, the arrester core current signal and the voltage signal measured by the arrester transformer into the system acquisition unit;
[0055] Step 2: Process the signal in step 1 by using the data acquisition and processing program of the programmable logic device and the lightning counting program of the lightning counting comparison circuit;
[0056] The data acquisition and processing procedures of the programmable logic device are as follows Figure 5 As shown, the following steps are included:
[0057] Step S1: The first online monitoring unit is powered on and a pre-configuration instruction is issued to the first programmable logic device, and the configuration of the programmable logic device is completed;
[0058] Step S2: the first programmable logic device enters an idle state;
[0059] Step S3: the monitoring device sends a control instruction to the first programmable logic device;
[0060] Step S4: the programmable logic device receives the control instruction and parses the serial port message;
[0061] Step S5: Detect whether the message contains a sampling command. If it contains a sampling command, drive the synchronous sampler to start interval sampling and enter step S6. If it does not contain a sampling command, return to step S4;
[0062] Step S6: storing the arrester core current signal sampling data into the cache FIFO in the first programmable logic device;
[0063] Step S7: whether the data of the lightning current sampling signal in the first programmable logic device contains an interrupt flag, i.e., a rising edge; if so, the interrupt flag data is sent to the first data processing module in the system acquisition unit through the SPI bus in the first programmable logic device, and the FIFO buffer data is processed, and the process goes to step S8; if not, the process goes back to step S6;
[0064] Step S8: After the data is sent to the MCU for processing via the SPI bus, the first programmable logic device returns to the idle state, i.e., step S2, and the lightning counting result is output on the first 5-bit segment 8 digital tube, i.e., step 3;
[0065] The lightning counting procedure of the lightning counting comparison circuit is as follows: Figure 6 As shown, the following steps are included:
[0066] Step D1: power on, programmable logic device configuration completed;
[0067] Step D2: the device enters an idle state;
[0068] Step D3: Detect the lightning current signal in the arrester current acquisition unit. If lightning strikes, collect the pulse signal width and enter step D4. If lightning strikes, return to step D2.
[0069] Step D4: the pulse signal is input into the second programmable logic device, and the number of lightning pulses starts to be recorded;
[0070] Step D5: the SPI interface module in the second programmable logic device inquires whether the data in the first programmable logic device contains the interrupt flag bit, i.e., the rising edge. If the interrupt flag bit, i.e., the rising edge, is contained, the interrupt flag bit data is sent to the MCU for processing via the SPI bus in the second programmable logic device to enter step D6. If the interrupt flag bit, i.e., the falling edge, is not contained, the process returns to step D4.
[0071] Step D6: The data is sent to the second data processing module MCU through the SPI bus in the second programmable logic device, and then the monitoring value is output on the first 5-bit segment 8 digital tube, that is, step 3;
[0072] Step 3: In the first 5-bit segment, the 8-digit digital tube outputs the monitoring quantities, including: total current, resistive current (or power consumption), ambient temperature and humidity, and lightning counting results, to complete the online monitoring of the arrester.
[0073] In order to verify whether the system can communicate normally, the 485 serial port communication function is tested in this embodiment, and the test results are as follows:
[0074] The input signal waveform of the universal asynchronous receiver and transmitter is as follows Figure 7 As shown: the high level is 3.24V, the low level is -80mV; the high level of the 485 serial port is 3.2V, and the low level is -3.8V.
[0075] The output signal waveform of the universal asynchronous receiver and transmitter is as follows Figure 8 As shown: the high level is 3.24V and the low level is -80mV.
[0076] The experimental results show that the 485 serial port signal is not affected by external interference and can communicate normally. The test results meet the test requirements and the system works stably.
Claims
1. An online monitoring device for a lightning arrester, characterized in that: It includes a system acquisition unit, a first online monitoring unit, an address button, a first 5-bit segment 8-bit digital tube, a 220 V AC power supply, and a lightning arrester voltage transformer; The system acquisition unit includes a first lightning arrester current acquisition unit, a second lightning arrester current acquisition module, a power module, a core current acquisition unit, a first synchronous sampler, a first programmable logic device, a PT voltage conditioning circuit, and a first data processing module; The power module includes a power supply PT voltage conditioning circuit and a first power interface; the first lightning arrester current acquisition unit includes a lightning strike counting comparison circuit and a first current acquisition conditioning circuit; the first lightning strike current signal is input into the input end of the lightning strike counting comparison circuit, and the output end is connected to the input end of the first synchronous sampler, and the internal monitoring current signal of the lightning arrester is input into the first current acquisition conditioning circuit; the second lightning arrester current acquisition unit includes a conditioning circuit, a current acquisition unit voltage transformer, a second synchronous sampler, a second 5-bit segment 8-bit digital tube, a processor, a second programmable logic device, a second power interface, a voltage comparator, and a second online monitoring unit; the input end of the conditioning circuit inputs the lightning arrester AC leakage current signal, and the output end is connected to the second synchronous sampler. The input end of the step sampler is connected, the input end of the second synchronous sampler is respectively connected to the output end of the current acquisition unit voltage transformer, the output end of the second programmable logic device, and the output end of the conditioning circuit, and its output end is connected to the input end of the second programmable logic device, the input end of the second programmable logic device is connected to the output end of the voltage comparator and the output end of the second online monitoring unit, the processor input end is connected to the output end of the second programmable logic device, and the output end is connected to the second 5-bit segment 8 digital tube input end and the input end of the power grid debugging interface, the first power interface input end is connected to the 220V AC power output end, the second power interface input end is connected to the 220V AC power output end, and the voltage comparator inputs a second lightning current signal; The core current acquisition unit input end inputs the arrester core current signal; The output end of the first synchronous sampler is connected to the input end of the first programmable logic device, and the input end is respectively connected to the output end of the first current acquisition and conditioning circuit in the first arrester current acquisition unit, the output end of the core current acquisition unit, and the output end of the PT voltage conditioning circuit, and the input end of the PT voltage conditioning circuit is connected to the output end of the arrester voltage transformer; The first programmable logic device input terminal is connected to the output terminal of the PT voltage conditioning circuit, the output terminal of the first data processing module, and the output terminal of the address key, and the output terminal is connected to the input terminal of the first synchronous sampler; The input end of the first data processing module is connected to the output end of the PT voltage conditioning circuit, the output end of the first online monitoring unit, the output end of the first programmable logic device, and the output end of the first 5-bit segment 8-bit digital tube, and the output end is connected to the input end of the first online monitoring unit; The online monitoring unit includes an expandable processing platform PL module, an expandable processing platform PS module, a first debugging serial port, a second debugging serial port, a first optical port, a second optical port, a first communication interface, a second communication interface, a third communication interface, a fourth communication interface, a fifth communication interface, and a sixth communication interface; the first debugging serial port input end is connected to the expandable processing platform PS module output end, the second debugging serial port input end is connected to the expandable processing platform PL module output end, the first optical port input end is connected to the expandable processing platform PL module output end, and the second optical port input end is connected to the expandable processing platform PL module output end; The input end of the expandable processing platform PL module is respectively connected to the second debugging serial port output end, the first optical port output end, the second optical port output end, the first communication interface output end, the second communication interface output end, the third communication interface output end, the fourth communication interface output end, the fifth communication interface output end, and the sixth communication interface output end, and the output end is connected to the first communication interface input end, the second communication interface input end, the third communication interface input end, the fourth communication interface input end, the fifth communication interface input end, and the sixth communication interface input end; The arrester online monitoring device is used to implement an arrester online monitoring method. The steps include: Step 1: Collect the internal monitoring current signal of the arrester, the lightning current input signal, the arrester core current signal and the voltage signal measured by the arrester transformer into the system acquisition unit; Step 2: Process the signal in step 1 by using the data acquisition and processing program of the programmable logic device and the lightning counting program of the lightning counting comparison circuit; The data acquisition and processing procedure of the programmable logic device comprises the following steps: Step S1: The first online monitoring unit is powered on and a pre-configuration instruction is issued to the first programmable logic device, and the configuration of the programmable logic device is completed; Step S2: the first programmable logic device enters an idle state; Step S3: the monitoring device sends a control instruction to the first programmable logic device; Step S4: the programmable logic device receives the control instruction and parses the serial port message; Step S5: Detect whether the message contains a sampling command. If it contains a sampling command, drive the synchronous sampler to start interval sampling and enter step S6. If it does not contain a sampling command, return to step S4; Step S6: storing the arrester core current signal sampling data into the cache FIFO in the first programmable logic device; Step S7: whether the data of the lightning current sampling signal in the first programmable logic device contains an interrupt flag, i.e., a rising edge; if so, the interrupt flag data is sent to the first data processing module in the system acquisition unit through the SPI bus in the first programmable logic device, and the FIFO buffer data is processed, and the process goes to step S8; if not, the process goes back to step S6; Step S8: After the data is sent to the MCU for processing via the SPI bus, the first programmable logic device returns to the idle state, i.e., step S2, and the lightning counting result is output on the first 5-bit segment 8 digital tube, i.e., step 3; The lightning strike counting procedure of the lightning strike counting comparison circuit comprises the following steps: Step D1: power on, programmable logic device configuration completed; Step D2: the device enters an idle state; Step D3: Detect the lightning current signal in the arrester current acquisition unit. If lightning strikes, collect the pulse signal width and enter step D4. If lightning strikes, return to step D2. Step D4: the pulse signal is input into the second programmable logic device, and the number of lightning pulses starts to be recorded; Step D5: the SPI interface module in the second programmable logic device inquires whether the data in the first programmable logic device contains the interrupt flag bit, i.e., the rising edge. If the interrupt flag bit, i.e., the rising edge, is contained, the interrupt flag bit data is sent to the MCU for processing via the SPI bus in the second programmable logic device to enter step D6. If the interrupt flag bit, i.e., the falling edge, is not contained, the process returns to step D4. Step D6: The data is sent to the second data processing module MCU through the SPI bus in the second programmable logic device, and then the monitoring value is output on the first 5-bit segment 8 digital tube, that is, step 3; Step 3: In the first 5-bit segment, the 8-digit digital tube outputs the monitoring quantity, including: total current, resistive current or power consumption, ambient temperature and humidity, and lightning counting results, to complete the online monitoring of the arrester.
