Street lamp leakage and power-off monitoring method
By using leakage current sensors and microcontrollers for filtering and graded fault identification, the problem of malfunction in leakage current monitoring systems has been solved. Scientific graded processing and adaptive response to leakage current have been achieved, improving the safety and economy of street light power supply systems.
Patent Information
- Application Number
- CN202611426833.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies cannot effectively distinguish between continuous dangerous leakage current and brief, harmless leakage current pulses, leading to malfunctions and increased maintenance burden.
The system uses a leakage current sensor and a microcontroller to monitor the zero-sequence leakage current in real time. Through filtering and status judgment, it classifies leakage faults and executes differentiated responses according to different levels, including power-off and adaptive reclosing processes.
It enables scientific classification and handling of leakage current, reduces malfunctions, lowers operation and maintenance costs, improves the availability and economy of the power supply system, and ensures safety and power supply continuity.
Smart Images

Figure CN123185752A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of leakage current monitoring technology, and more specifically, to a method for monitoring leakage current and power outage of streetlights. Background Technology
[0002] With the continuous improvement of street light coverage in urban and rural areas, the associated risk of electrical leakage has become increasingly apparent, posing a significant threat to the safety of citizens' daily travel. Street light transformer leakage monitoring terminals serve as the first line of defense for street light monitoring and line safety. By collecting electrical parameters such as current, voltage, and power in real time, they determine whether there are abnormal conditions such as leakage in the lines, and automatically disconnect faulty lines within a short time, effectively preventing public safety accidents such as electric shock injuries and nipping potential safety hazards in the bud.
[0003] The prior art (application number: 202010747431.X, application date: 2020.07.29) discloses a smart power module that includes: a signal acquisition circuit 10 for acquiring power signals from the power transmission line, wherein the power signals include at least one of the following: voltage signal, current signal, temperature signal, and leakage current signal; a signal processing circuit 20 for performing preset processing on the power signals to obtain power data, wherein the preset processing includes: filtering processing and analog-to-digital conversion processing; a processor 30 for generating alarm information and a first control signal after determining that the power data is greater than a preset threshold, wherein the first control signal is an instruction to control the circuit breaker to disconnect; and a communication device 40 for sending the first control signal to the circuit breaker and sending the alarm information to the user's terminal device. In other words, the prior art only sets a fixed current threshold for response, cutting off power when the leakage current signal exceeds the fixed current threshold, awaiting manual maintenance. However, this simplistic logic cannot effectively distinguish between continuous dangerous leakage current and brief, harmless leakage current pulses. It can lead to malfunctions and accidental power outages, causing large areas of streetlights to go out for no reason. This not only seriously affects the lighting function but also significantly increases the troubleshooting burden on maintenance personnel.
[0004] Therefore, how to intelligently monitor and distinguish between continuous dangerous leakage current and brief harmless leakage current pulses, and handle them adaptively, is an urgent problem to be solved. Summary of the Invention
[0005] In view of this, the present invention provides a method for monitoring street light leakage current and power outage, comprising:
[0006] The street light box-type transformer distribution box includes branch circuits, and each branch circuit includes an AC contactor.
[0007] A leakage current sensor and a microcontroller are installed in the street light box-type transformer distribution box. The leakage current sensor is sleeved outside the branch circuit and is connected to the microcontroller. The microcontroller is connected to the AC contactor.
[0008] The leakage current sensor collects the zero-sequence leakage current of the branch in real time and transmits it to the microcontroller.
[0009] The microcontroller receives the zero-sequence leakage current in real time, filters the zero-sequence leakage current, and obtains the filtered leakage current updated in real time.
[0010] The microcontroller performs a status judgment based on the updated filtered leakage current, including: determining whether the updated filtered leakage current at the current moment is equal to 0; if the updated filtered leakage current at the current moment is equal to 0, determining that there is no fault at the current moment, taking the next moment as the current moment, and returning to determine whether the updated filtered leakage current at the current moment is equal to 0; if the updated filtered leakage current at the current moment is not equal to 0, determining whether the updated filtered leakage current at the current moment is greater than or equal to a preset leakage current; if the updated filtered leakage current at the current moment is less than a preset leakage current... If a preset leakage current is specified, a general leakage fault is determined. If the filtered leakage current updated at the current time is greater than or equal to the preset leakage current, it is determined whether the filtered leakage current updated from the current time until a preset time period later is always greater than or equal to the preset leakage current. If the filtered leakage current updated from the current time until the preset time period later is always greater than or equal to the preset leakage current, a serious leakage fault is determined. If, within the preset time period from the current time, the updated filtered leakage current is less than the preset leakage current, a general leakage fault is determined.
[0011] When the existence of the severe leakage fault is determined, the microcontroller controls the AC contactor to open and disconnect the power.
[0012] When a general leakage fault is detected, the microcontroller controls the AC contactor to open. The microcontroller stores a number of closing attempts. After a preset opening time, it controls the AC contactor to close again, incrementing the closing attempt count by 1. The microcontroller checks whether the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0. If the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0, the closing is successful. The second moment after the AC contactor closes is taken as the current moment, and the microcontroller returns to check whether the filtered leakage current updated at the current moment is equal to 0. If the filtered leakage current updated at the first moment after the AC contactor closes is not equal to 0, the microcontroller checks whether the number of closing attempts exceeds a set number. If the number of closing attempts does not exceed the set number, the microcontroller returns to control the AC contactor to open. If the number of closing attempts exceeds the set number, the microcontroller controls the AC contactor to open and disconnect power.
[0013] Optionally, the microcontroller includes a communication unit, which is connected to the platform;
[0014] After the microcontroller controls the AC contactor to trip and disconnect the power, the microcontroller controls the communication unit to report maintenance to the platform.
[0015] Optionally, the zero-sequence leakage current is filtered to obtain the filtered leakage current that is updated in real time, calculated as follows:
[0016] ;
[0017] in, The filtered leakage current is updated at time n. The first feedforward coefficient, The zero-sequence leakage current is the one collected at the nth time. This is the second feedforward coefficient. The zero-sequence leakage current collected at time n-1 is... The third feedforward coefficient, The zero-sequence leakage current collected at time n-2 is... The first feedback coefficient, The filtered leakage current is updated at time n-1. This is the second feedback coefficient. The filtered leakage current is updated at time n-2.
[0018] Optionally, the first feedforward coefficient, the second feedforward coefficient, the third feedforward coefficient, the first feedback coefficient, and the second feedback coefficient are calculated in the following manner:
[0019]
[0020] in, This is the first feedforward coefficient. This is the second feedforward coefficient. The third feedforward coefficient, The first feedback coefficient, This is the second feedback coefficient. This is the pre-distortion compensation coefficient. This is the constant term in the denominator.
[0021] Optionally, the pre-distortion compensation coefficient is calculated in the following manner:
[0022] ;
[0023] in, This is the normalized digital angular frequency.
[0024] Optionally, the preset duration ranges from 30 seconds to 120 seconds.
[0025] Optionally, after the microcontroller controls the AC contactor to trip and disconnect the power, the method further includes: locking the branch circuit.
[0026] Compared with the prior art, the street light leakage current and power outage monitoring method provided by the present invention achieves at least the following beneficial effects:
[0027] The street light leakage current disconnection monitoring method provided by this invention includes: when a serious leakage current fault is detected, the microcontroller controls the AC contactor to open and disconnect the power; when a general leakage current fault is detected, the microcontroller controls the AC contactor to open; the microcontroller stores the number of closing times, and after a preset opening time, controls the AC contactor to close again, incrementing the closing time by 1; the microcontroller determines whether the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0; if the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0, the closing is successful, and the second moment after the AC contactor closes is taken as the current moment, returning to determine whether the filtered leakage current updated at the current moment is equal to 0; if the filtered leakage current updated at the first moment after the AC contactor closes is not equal to 0, it determines whether the number of closing times exceeds the set number; if the number of closing times does not exceed the set number, it returns to the microcontroller to control the AC contactor to open; if the number of closing times exceeds the set number, the microcontroller controls the AC contactor to open and disconnect the power. By establishing a scientific classification standard for the severity of leakage current, leakage current is divided into severe leakage faults and general leakage faults. Differentiated responses are implemented for different leakage current situations. For branches with persistent severe leakage faults, the power supply to the branch is immediately cut off. For general leakage faults, the reclosing process is automatically initiated after the power supply is safely cut off, and power supply is restored through multiple adaptive intervals. This effectively solves the problem of "harmless instantaneous leakage current causing long-term power outages" and avoids the waste of resources caused by "one-size-fits-all" power outages. It achieves a dynamic balance between safety assurance and power supply continuity, ensuring the rationality and targeting of operation. Furthermore, it significantly reduces unnecessary manual maintenance workload, lowers maintenance costs, and improves the availability and economy of the street light power supply system.
[0028] Of course, any product implementing this invention does not necessarily need to achieve all of the technical effects described above at the same time.
[0029] Other features and advantages of the invention will become clear from the following detailed description of exemplary embodiments of the invention with reference to the accompanying drawings. Attached Figure Description
[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the invention and, together with their description, serve to explain the principles of the invention.
[0031] Figure 1 This is a flowchart of a street light leakage and power failure monitoring method provided by the present invention.
[0032] Figure 2 This is another flowchart of the street light leakage and power failure monitoring method provided by the present invention.
[0033] Figure 3 This is a functional structure diagram of a street light leakage current failure monitoring device provided by the present invention.
[0034] Figure 4 This is a flowchart of a leakage fault diagnosis method provided by the present invention.
[0035] Figure 5 This is a flowchart of an adaptive processing method based on leakage fault judgment provided by the present invention.
[0036] In the diagram: 1. Leakage current acquisition module; 2. Second-order Butterworth filter processing module; 3. Leakage current fault classification and discrimination module; 4. Power failure reclosing module; 5. Platform. Detailed Implementation
[0037] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the invention.
[0038] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0039] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0040] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0041] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0042] Example 1
[0043] Reference Figure 1 , Figure 1 This is a flowchart illustrating a street light leakage current failure monitoring method provided by the present invention, which is used to explain a specific embodiment of the street light leakage current failure monitoring method provided by the present invention, including:
[0044] The street light box-type transformer distribution box includes branch circuits, and each branch circuit includes an AC contactor.
[0045] A leakage current sensor and a microcontroller are installed in the street light box-type transformer distribution box. The leakage current sensor is fitted outside the branch circuit and is connected to the microcontroller. The microcontroller is connected to the AC contactor.
[0046] S101: The leakage current sensor collects the zero-sequence leakage current of the branch in real time and transmits it to the microcontroller.
[0047] S102: The microcontroller receives the zero-sequence leakage current in real time, filters the zero-sequence leakage current, and obtains the filtered leakage current updated in real time.
[0048] S103: The microcontroller performs status checks based on the updated filtered leakage current, including:
[0049] S1031: Determine whether the current filtered leakage current updated at the current moment is equal to 0;
[0050] S10311: If the current filtered leakage current updated at the current moment is equal to 0, it is determined that there is no fault at the current moment. The next moment is taken as the current moment, and the process is returned to determine whether the current filtered leakage current updated at the current moment is equal to 0.
[0051] S10312: If the current filtered leakage current is not equal to 0, determine whether the current filtered leakage current is greater than or equal to the preset leakage current.
[0052] S103121: If the current filtered leakage current is less than the preset leakage current, a general leakage fault is determined to exist.
[0053] S103122: If the current filtered leakage current updated at the current moment is greater than or equal to the preset leakage current, determine whether the current filtered leakage current updated from the current moment until the preset time period is greater than or equal to the preset leakage current.
[0054] S1031221: If the filtered leakage current updated from the current moment until the preset time period is greater than or equal to the preset leakage current, it is determined that there is a serious leakage fault.
[0055] S1031222: If, within a preset time period starting from the current moment, the updated filtered leakage current is less than the preset leakage current, it is determined that a general leakage fault exists.
[0056] S1041: When a serious leakage fault is detected, the microcontroller controls the AC contactor to trip and disconnect the power.
[0057] S1042: When a general leakage fault is detected, the microcontroller controls the AC contactor to open; the microcontroller stores the number of closing times, and after the preset opening time, it controls the AC contactor to close again, and the closing count is incremented by 1; the microcontroller determines whether the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0.
[0058] S10421: If the filtered leakage current updated at the first moment after the AC contactor is closed is equal to 0, then the closing is successful. Take the second moment after the AC contactor is closed as the current moment and return to determine whether the filtered leakage current updated at the current moment is equal to 0.
[0059] S10422: If the updated filtered leakage current at the first moment after the AC contactor is closed is not equal to 0, determine whether the number of closing times exceeds the set number.
[0060] S104221: If the number of closing operations does not exceed the set number, return to the microcontroller to control the AC contactor to open;
[0061] S104222: If the number of closing operations exceeds the set number, the microcontroller controls the AC contactor to open and disconnect the power.
[0062] It should be noted that in this embodiment, the microcontroller unit (MCU) can be STM32 or GD32, and the leakage current sensor can be an electromagnetic induction type leakage current sensor. However, it is not limited to these, and this embodiment does not impose specific restrictions; adjustments can be made according to actual conditions. In this embodiment, a leakage current of 30mA or higher can cause significant harm to the human body. Therefore, this embodiment sets the preset leakage current to 30mA. Of course, the preset leakage current can also be adjusted according to actual needs, for example, it can be 28mA, 26mA, or 25mA, etc. This embodiment does not impose specific restrictions. In step S10311, the next moment is taken as the current moment, and the process returns to step S1031 to determine whether the filtered leakage current updated at the current moment is equal to 0, and then performs subsequent operations. Essentially, after determining that there is no fault at the current moment, the zero-sequence leakage current collected next time from the current moment is monitored. Similarly, after successful closing, the second moment after the AC contactor closes is taken as the current moment. The process returns to step S1031 to determine whether the current filtered leakage current updated at the current moment is equal to 0, and then performs subsequent operations. This is also to continuously monitor the zero-sequence leakage current after eliminating reversible leakage.
[0063] It is understandable that moisture induction, transient pulses, and slight dampness may cause reversible leakage. This leakage will disappear automatically after a preset power outage period for the affected branch. Leakage is categorized into severe and general leakage faults, with differentiated responses for each. For branches with persistent severe leakage faults, power is immediately cut off to eliminate the risk of electric shock from streetlights. For general leakage faults, the leakage is addressed by repeatedly initiating an automatic reclosing process after a safe power outage to eliminate moisture induction, transient pulses, and slight dampness. If leakage persists after multiple automatic reclosing processes following a safe power outage, the leakage is not reversible, and power to the affected branch must be cut off to eliminate the risk of electric shock from streetlights. If the leakage disappears after multiple automatic reclosing attempts following a safe power outage, it indicates that the branch leakage is caused by reversible leakage. Multiple adaptive interval attempts to restore power not only resolve harmless momentary leakage but also prevent long-term power outages caused by reversible leakage. This also reduces manual maintenance workload and costs, achieving a dynamic balance between safety and power continuity, improving the rationality and targeted nature of the operation, and enhancing the availability and economy of the streetlight power supply system. Furthermore, setting a microcontroller to trip the AC contactor if the number of closing attempts exceeds a set limit avoids a "trip-reclosing-retrip" cycle, preventing current surges that shorten lamp life, frequent flickering of streetlights, and negative public perception of "extremely unstable circuits."
[0064] Example 2
[0065] Reference Figures 2 to 5 , Figure 2 This is another flowchart of the street light leakage and power failure monitoring method provided by the present invention. Figure 3 This is a functional structure diagram of a street light leakage current failure monitoring device provided by the present invention. Figure 4 This is a flowchart of a leakage fault diagnosis method provided by the present invention. Figure 5 This is a flowchart illustrating an adaptive processing method based on leakage fault judgment provided by the present invention, used to explain another specific embodiment of the street light leakage power-off monitoring method provided by the present invention, including:
[0066] The street light box-type transformer distribution box includes branch circuits, and each branch circuit includes an AC contactor.
[0067] A leakage current sensor and a microcontroller are installed in the street light box-type transformer distribution box. The leakage current sensor is fitted outside the branch circuit and is connected to the microcontroller. The microcontroller is connected to the AC contactor. The microcontroller includes a communication unit and is connected to the platform.
[0068] S201: The leakage current sensor collects the zero-sequence leakage current of the branch in real time and transmits it to the microcontroller.
[0069] S202: The microcontroller receives the zero-sequence leakage current in real time, filters the zero-sequence leakage current, and obtains the filtered leakage current that is updated in real time.
[0070] S203: The microcontroller performs status checks based on the updated filtered leakage current, including:
[0071] S2031: Determine whether the current filtered leakage current updated at the current moment is equal to 0;
[0072] S20311: If the current filtered leakage current updated at the current moment is equal to 0, it is determined that there is no fault at the current moment. The next moment is taken as the current moment, and the process is returned to determine whether the current filtered leakage current updated at the current moment is equal to 0.
[0073] S20312: If the current filtered leakage current is not equal to 0, determine whether the current filtered leakage current is greater than or equal to the preset leakage current.
[0074] S203121: If the current filtered leakage current is less than the preset leakage current, a general leakage fault is determined to exist.
[0075] S203122: If the current filtered leakage current updated at the current moment is greater than or equal to the preset leakage current, determine whether the current filtered leakage current updated from the current moment until the preset time period is greater than or equal to the preset leakage current.
[0076] S2031221: If the filtered leakage current updated from the current time until the preset time period is greater than or equal to the preset leakage current, it is determined that there is a serious leakage fault.
[0077] S2031222: If, within a preset time period starting from the current moment, the updated filtered leakage current is less than the preset leakage current, it is determined that a general leakage fault exists.
[0078] S2041: When a serious leakage fault is detected, the microcontroller controls the AC contactor to trip and disconnect the power, the microcontroller controls the communication unit to report to the platform for maintenance, and the branch circuit is locked.
[0079] S2042: When a general leakage fault is detected, the microcontroller controls the AC contactor to open; the microcontroller stores the number of closing times, and after the preset opening time, it controls the AC contactor to close again, and the closing count is incremented by 1; the microcontroller determines whether the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0.
[0080] S20421: If the filtered leakage current updated at the first moment after the AC contactor is closed is equal to 0, then the closing is successful. Take the second moment after the AC contactor is closed as the current moment and return to determine whether the filtered leakage current updated at the current moment is equal to 0.
[0081] S20422: If the updated filtered leakage current is not equal to 0 at the first moment after the AC contactor is closed, determine whether the number of closing times exceeds the set number.
[0082] S204221: If the number of closing operations does not exceed the set number, return to the microcontroller to control the AC contactor to open;
[0083] S204222: If the number of closing operations exceeds the set number, the microcontroller controls the AC contactor to open and disconnect the power, and the microcontroller controls the communication unit to report to the platform for maintenance and lock out the branch circuit.
[0084] It should be noted that, referring to Figure 3 The functional structure diagram of the street light leakage current and power failure monitoring device provided by this invention includes: a leakage current acquisition module 1, a second-order Butterworth filter processing module 2, a leakage current fault classification and discrimination module 3, a power failure reclosing module 4, and a platform 5. The leakage current acquisition module 1 is implemented using a leakage current sensor. The second-order Butterworth filter processing module 2 and the leakage current fault classification and discrimination module 3 are implemented using a microcontroller. The power failure reclosing module 4 is implemented using a microcontroller controlling an AC contactor. Of course, the AC contactor can also be replaced with a relay according to actual needs; this embodiment does not impose specific limitations on this. In this embodiment, the communication unit is connected to the platform 5 via 4G wireless communication. However, this is not limited to this; it can also be a 5G wireless communication connection, etc., and can be adjusted according to actual needs.
[0085] In step S201, the raw signal of the acquired zero-sequence leakage current contains a large number of false signals such as high-frequency spikes, electromagnetic interference, and instantaneous pulses, which can easily lead to misjudgment. To improve the acquisition accuracy, this invention uses a second-order Butterworth low-pass filter algorithm to process the acquired signal. In step S202, the second-order Butterworth low-pass filter algorithm is used to filter the zero-sequence leakage current, including:
[0086] First, we establish the continuous-domain transfer function of the second-order Butterworth low-pass filter, whose expression is:
[0087] ;
[0088] in, This refers to the transfer function of a continuous-time system, specifically the analog continuous-domain transfer function of a second-order Butterworth low-pass filter. It is a bilinear transformation model. This is the cutoff angular frequency.
[0089] The cutoff angular frequency is calculated as follows:
[0090] ;
[0091] in, The cutoff frequency is set in this embodiment. Because the leakage current of the transformer substation street light cable is a low-frequency, slowly varying signal, the cutoff frequency is set accordingly. This ensures the complete preservation of the actual leakage current signal while suppressing high-frequency interference.
[0092] Since the second-order Butterworth filter processing module 2 is based on real-time signal processing in an embedded system, the continuous domain filter needs to be discretized through a bilinear transform, converting it into a discrete model suitable for digital computation. The bilinear transform model is as follows:
[0093] ;
[0094] ;
[0095] in, The sampling period is The sampling frequency of the zero-sequence leakage current of the branch is [value]. For complex variables in the Z-transform, corresponding to the frequency domain analysis of discrete-time signals, in the formula, This is a unit delay operator, corresponding to the operation of "delaying by one sampling period" in the time domain. Considering the dynamic response requirements of leakage signals and the computational performance of the microcontroller, in this embodiment, the sampling frequency is set... That is, the sampling period is .
[0096] Based on the above sampling frequency and cutoff frequency, intermediate variables are defined, including:
[0097] The purpose of converting the cutoff frequency to the "equivalent angular frequency" in the digital domain is to compensate for the frequency distortion caused by the bilinear transformation, and to obtain the normalized digital angular frequency, which is calculated as follows:
[0098] ;
[0099] in, The cutoff frequency, Sampling frequency, This is the normalized digital angular frequency.
[0100] Simulation domain Number domain ;
[0101] in, It is an imaginary number.
[0102] bilinear transformation model Substituting into the analog and digital domains, we get:
[0103] ;
[0104] Simplifying using Euler's formula and trigonometric identities, we get:
[0105] ;
[0106] After substitution, the imaginary number Canceling both sides, we obtain the standard predistortion formula:
[0107] ;
[0108] To simplify the formula, we define abbreviated variables, resulting in:
[0109] ;
[0110] To simplify the calculation of the discrete coefficients of the second-order Butterworth filter, an intermediate variable, the pre-distortion compensation coefficient, is defined here. Its core function is to perform frequency pre-distortion and eliminate the frequency shift caused by the bilinear transform. For normalized digital angular frequency, The intermediate variable pre-distortion compensation coefficient is used. The final calculated coefficient falls between (-2,2), which is suitable for embedded microcontrollers and avoids the overflow risk caused by large coefficients.
[0111] It can be written as: ;
[0112] Will and By performing calculations, we can deduce that:
[0113] .
[0114] Bilinear Transform Model Substituting the analog continuous domain transfer function of the second-order Butterworth low-pass filter get and substitute Eliminate sampling period ,get:
[0115] ;
[0116] Multiply the numerator and denominator Find a common denominator:
[0117] ;
[0118] Expanding the numerator and denominator polynomials, we get:
[0119] molecular:
[0120] ;
[0121] Denominator:
[0122]
[0123] Combining like terms, we get:
[0124] ;
[0125] Let the constant term in the denominator Normalizing the denominator to the standard IIR transfer function form with a constant term of 1, we obtain the z-domain transfer function:
[0126] ;
[0127] Thus, the feedforward coefficients of the discrete filter are obtained. , and With feedback coefficient and ,Right now:
[0128]
[0129] in, The first feedforward coefficient, This is the second feedforward coefficient. The third feedforward coefficient, The first feedback coefficient, This is the second feedback coefficient. This is the pre-distortion compensation coefficient. This is the constant term in the denominator.
[0130] Will and Substituting the values into the above formula and performing numerical calculations will yield the specific coefficients.
[0131] Normalized digital angular frequency :
[0132] ;
[0133] Predistortion compensation coefficient :
[0134] ;
[0135] Denominator constant term:
[0136] ;
[0137] Feedforward coefficients:
[0138] ;
[0139] ;
[0140] ;
[0141] Feedback coefficient:
[0142] ;
[0143] ;
[0144] After obtaining the feedforward and feedback coefficients, the difference equation is derived below:
[0145] ;
[0146] Cross-multiplication:
[0147] ;
[0148] Right now:
[0149] ;
[0150] Rearrangement:
[0151] ;
[0152] Perform inverse z-transform, This represents a delay of 1 sampling point:
[0153] , ,get:
[0154] ;
[0155] in, The filtered leakage current is updated at time n. The first feedforward coefficient, The zero-sequence leakage current is the one collected at the nth time. This is the second feedforward coefficient. The zero-sequence leakage current collected at time n-1 is... The third feedforward coefficient, The zero-sequence leakage current collected at time n-2 is... The first feedback coefficient, The filtered leakage current is updated at time n-1. This is the second feedback coefficient. The filtered leakage current is updated at time n-2.
[0156] The microcontroller iteratively executes the above calculations using historical sampled and output values to achieve real-time smooth filtering of the branch leakage current signal. By implementing a second-order Butterworth low-pass filter algorithm, frequencies higher than 10 Hz can be effectively filtered out. It eliminates high-frequency spike noise, electromagnetic coupling interference, and instantaneous pulse signals, avoiding misjudgment and malfunction caused by false leakage signals, ensuring that the output leakage current signal truly reflects the actual leakage state of the line, and providing reliable data support for subsequent leakage classification, power outage protection control, and adaptive reclosing strategies.
[0157] In step S203, this embodiment sets the preset leakage current to 30mA and the preset time period to 0.5 seconds. However, this is not a limitation; the preset leakage current and preset time period can be adjusted as needed. If the currently updated filtered leakage current is greater than or equal to 30mA and the duration is greater than 0.5 seconds, it is determined to be a serious leakage fault, also known as a high-risk leakage fault, posing a risk of electric shock. If the currently updated filtered leakage current is less than 30mA, or the duration is less than or equal to 0.5 seconds, or it is a reversible leakage such as a momentary pulse or moisture induction, without a sustained safety risk, it is determined to be a general leakage fault. When a serious leakage fault is determined, the corresponding branch must be immediately disconnected, and the branch status must be set to a locked state, prohibiting any form of closing operation. The serious leakage fault information is reported to the cloud monitoring platform 5 via the 4G communication module until manual inspection and repair are performed and the locking operation is executed. When a general leakage fault is identified, the corresponding branch will be disconnected, the fault will be marked as a reversible leakage fault, and the adaptive reclosing process will be initiated. The leakage power failure will not be reported temporarily, thus reducing ineffective maintenance.
[0158] In step S2042, an adaptive reclosing process is performed. The preset time range is set to 30 to 120 seconds because reversible leakage currents such as those caused by moisture induction, instantaneous pulses, and slight dampness usually disappear on their own within 30 to 120 seconds after power failure. Setting a delay of 30 to 120 seconds can avoid misjudgment and reduce unnecessary permanent blocking. However, a delay greater than 120 seconds will cause unnecessary long-term power interruptions, affecting user experience. When a general leakage current fault is detected, the microcontroller controls the AC contactor to open. After power failure, a delay timer is started, with a delay of 30 to 120 seconds, to wait for the line insulation to recover, the moisture to dissipate, and the instantaneous interference to disappear. After the delay, the AC contactor is driven to perform a closing operation, and the leakage current after closing is monitored in real time. If the leakage current returns to normal after closing, the leakage current is determined to have disappeared, normal power supply is restored, and real-time monitoring continues. If leakage current reappears after closing, the fault is determined to have not been eliminated, and the reclosing fails once. The system's adaptive retry mechanism allows a maximum of 3 reclosing attempts. After each failure, it re-enters a delay waiting phase and attempts to close the circuit again. If the number of consecutive reclosing failures reaches the set allowable number of reclosing attempts, automatic closing attempts are stopped, the leakage branch is marked as a serious leakage fault, the branch is blocked, and the status of the branch is reported to the monitoring system, notifying maintenance personnel to conduct on-site repairs.
[0159] The distribution box of the street light box transformer has at least two branches, and each branch corresponds to a leakage current sensor. The microcontroller can monitor at least two branches simultaneously.
[0160] Understandably, by establishing a scientific classification standard for the severity of leakage current, leakage current situations are divided into severe leakage current faults and general leakage current faults. Differentiated responses are implemented for different leakage current situations. For branches with persistent severe leakage current faults, the power supply to the branch is immediately cut off. For general leakage current faults, the reclosing process is automatically initiated after the power supply is safely cut off, and power supply is restored through multiple adaptive intervals. This effectively solves the problem of "harmless instantaneous leakage current causing long-term power outages" and avoids the waste of resources caused by "one-size-fits-all" power outages. It achieves a dynamic balance between safety assurance and power supply continuity, ensuring the rationality and targeting of operation. Furthermore, it significantly reduces unnecessary manual maintenance workload, lowers maintenance costs, and improves the availability and economy of the street light power supply system.
[0161] The street light leakage current and power outage monitoring method provided by this invention solves the technical problems of traditional street light leakage current protection devices, such as easy interference and malfunction, single fault handling method, high operation and maintenance cost, and large safety hazards, through high-precision leakage current acquisition, anti-interference filtering processing, hierarchical fault discrimination, adaptive power outage protection and intelligent reclosing integrated design. It realizes real-time monitoring, intelligent processing and remote monitoring of leakage current status of street light power supply lines.
[0162] As can be seen from the above embodiments, the street light leakage current and power outage monitoring method provided by the present invention achieves at least the following beneficial effects:
[0163] The street light leakage current disconnection monitoring method provided by this invention includes: when a serious leakage current fault is detected, the microcontroller controls the AC contactor to open and disconnect the power; when a general leakage current fault is detected, the microcontroller controls the AC contactor to open; the microcontroller stores the number of closing times, and after a preset opening time, controls the AC contactor to close again, incrementing the closing time by 1; the microcontroller determines whether the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0; if the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0, the closing is successful, and the second moment after the AC contactor closes is taken as the current moment, returning to determine whether the filtered leakage current updated at the current moment is equal to 0; if the filtered leakage current updated at the first moment after the AC contactor closes is not equal to 0, it determines whether the number of closing times exceeds the set number; if the number of closing times does not exceed the set number, it returns to the microcontroller to control the AC contactor to open; if the number of closing times exceeds the set number, the microcontroller controls the AC contactor to open and disconnect the power. By establishing a scientific classification standard for the severity of leakage current, leakage current is divided into severe leakage faults and general leakage faults. Differentiated responses are implemented for different leakage current situations. For branches with persistent severe leakage faults, the power supply to the branch is immediately cut off. For general leakage faults, the reclosing process is automatically initiated after the power supply is safely cut off, and power supply is restored through multiple adaptive intervals. This effectively solves the problem of "harmless instantaneous leakage current causing long-term power outages" and avoids the waste of resources caused by "one-size-fits-all" power outages. It achieves a dynamic balance between safety assurance and power supply continuity, ensuring the rationality and targeting of operation. Furthermore, it significantly reduces unnecessary manual maintenance workload, lowers maintenance costs, and improves the availability and economy of the street light power supply system.
[0164] While specific embodiments of the invention have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of the invention. Those skilled in the art should understand that modifications can be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims
1. A method for monitoring leakage current and power outage of streetlights, characterized in that, include: The street light box-type transformer distribution box includes branch circuits, and each branch circuit includes an AC contactor. A leakage current sensor and a microcontroller are installed in the street light box-type transformer distribution box. The leakage current sensor is sleeved outside the branch circuit and is connected to the microcontroller. The microcontroller is connected to the AC contactor. The leakage current sensor collects the zero-sequence leakage current of the branch in real time and transmits it to the microcontroller. The microcontroller receives the zero-sequence leakage current in real time, filters the zero-sequence leakage current, and obtains the filtered leakage current that is updated in real time. The microcontroller performs a status judgment based on the updated filtered leakage current, including: determining whether the updated filtered leakage current at the current moment is equal to 0; if the updated filtered leakage current at the current moment is equal to 0, determining that there is no fault at the current moment, taking the next moment as the current moment, and returning to determine whether the updated filtered leakage current at the current moment is equal to 0; if the updated filtered leakage current at the current moment is not equal to 0, determining whether the updated filtered leakage current at the current moment is greater than or equal to a preset leakage current; if the updated filtered leakage current at the current moment is less than a preset leakage current... If a preset leakage current is specified, a general leakage fault is determined. If the filtered leakage current updated at the current time is greater than or equal to the preset leakage current, it is determined whether the filtered leakage current updated from the current time until a preset time period later is always greater than or equal to the preset leakage current. If the filtered leakage current updated from the current time until the preset time period later is always greater than or equal to the preset leakage current, a serious leakage fault is determined. If, within the preset time period from the current time, the updated filtered leakage current is less than the preset leakage current, a general leakage fault is determined. When the existence of the severe leakage fault is determined, the microcontroller controls the AC contactor to open and disconnect the power. When a general leakage fault is detected, the microcontroller controls the AC contactor to open. The microcontroller stores a number of closing attempts. After a preset opening time, it controls the AC contactor to close again, incrementing the closing attempt count by 1. The microcontroller checks whether the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0. If the filtered leakage current updated at the first moment after the AC contactor closes is equal to 0, the closing is successful. The second moment after the AC contactor closes is taken as the current moment, and the microcontroller returns to check whether the filtered leakage current updated at the current moment is equal to 0. If the filtered leakage current updated at the first moment after the AC contactor closes is not equal to 0, the microcontroller checks whether the number of closing attempts exceeds a set number. If the number of closing attempts does not exceed the set number, the microcontroller returns to control the AC contactor to open. If the number of closing attempts exceeds the set number, the microcontroller controls the AC contactor to open and disconnect power.
2. The street light leakage current disconnection monitoring method according to claim 1, characterized in that, The microcontroller includes a communication unit, which is connected to the platform. After the microcontroller controls the AC contactor to trip and disconnect the power, the microcontroller controls the communication unit to report maintenance to the platform.
3. The street light leakage current disconnection monitoring method according to claim 1, characterized in that, The zero-sequence leakage current is filtered to obtain the filtered leakage current, which is updated in real time and calculated as follows: ; in, The filtered leakage current is updated at time n. The first feedforward coefficient, The zero-sequence leakage current is the one collected at the nth time. This is the second feedforward coefficient. The zero-sequence leakage current collected at time n-1 is... The third feedforward coefficient, The zero-sequence leakage current collected at time n-2 is... The first feedback coefficient, The filtered leakage current is updated at time n-1. This is the second feedback coefficient. The filtered leakage current is updated at time n-2.
4. The street light leakage current disconnection monitoring method according to claim 3, characterized in that, The first feedforward coefficient, the second feedforward coefficient, the third feedforward coefficient, the first feedback coefficient, and the second feedback coefficient are calculated in the following manner: in, This is the first feedforward coefficient. This is the second feedforward coefficient. The third feedforward coefficient, The first feedback coefficient, This is the second feedback coefficient. This is the pre-distortion compensation coefficient. This is the constant term in the denominator.
5. The street light leakage current disconnection monitoring method according to claim 4, characterized in that, The pre-distortion compensation coefficient is calculated as follows: ; in, This is the normalized digital angular frequency.
6. The street light leakage current disconnection monitoring method according to claim 1, characterized in that, The preset duration ranges from 30 seconds to 120 seconds.
7. The street light leakage current disconnection monitoring method according to claim 1, characterized in that, After the microcontroller controls the AC contactor to trip and disconnect the power, the method further includes: locking the branch circuit.
Citation Information
Patent Citations
Intelligent power utilization module
CN111711277A
