A method for high-frequency leakage current detection of residual current devices

By combining the calibration of the electromagnetic magnetic ring and the analog filter with a digital correction function, the accuracy and stability of high-frequency leakage current detection of the B+ type residual current protector are improved. This solves the problems of inconsistent signal attenuation and weak anti-interference ability in high-frequency leakage current detection, and is suitable for complex power electronic equipment scenarios.

CN123112759APending Publication Date: 2026-11-17ZHEJIANG MISHENG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611219288.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-12
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing B+ type residual current protection devices suffer from inconsistent signal attenuation, weak anti-interference ability, and low detection accuracy in high-frequency leakage current detection, making it difficult to meet the safety protection requirements of high-end power distribution scenarios.

Method used

By jointly calibrating the electromagnetic magnetic ring and the analog filter, an inverse digital correction function is constructed to perform amplitude compensation correction. A unified preset leakage current threshold is used for comparison, and the effective signal is screened by combining FFT (Fast Fourier Transform) to eliminate the difference in amplitude and frequency characteristics and achieve a unified threshold determination for signals across the entire frequency band.

Benefits of technology

It significantly improves the accuracy and stability of high-frequency leakage current detection, is suitable for leakage current protection under AC/DC mixed and high-frequency harmonic conditions, simplifies the equipment calibration process, reduces the false judgment rate, and improves anti-interference ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123112759A_ABST
    Figure CN123112759A_ABST
Patent Text Reader

Abstract

This application relates to a high-frequency leakage current detection method, system, and residual current device (RCD) for residual current devices (RCDs). The method includes: jointly calibrating the electromagnetic ring and analog filter in the RCD to obtain inherent amplitude-frequency response attenuation parameters at each frequency point within a preset high-frequency band; constructing an inverse digital correction function based on these inherent amplitude-frequency response attenuation parameters to perform frequency-point-by-frequency amplitude compensation correction on the acquired high-frequency leakage current signal, thereby eliminating amplitude-frequency characteristic differences within the preset high-frequency band; and comparing the effective signal with a uniform preset leakage current threshold based on the amplitude-compensated high-frequency leakage current signal to trigger the residual current protection action. This application achieves the elimination of detection errors caused by amplitude-frequency characteristic differences at each frequency point within the high-frequency band through the constructed inverse digital correction function, significantly improving the accuracy, stability, and anti-interference capability of high-frequency leakage current detection in RCDs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of leakage current detection technology, and in particular to a high-frequency leakage current detection method for residual current devices. Background Technology

[0002] Residual current protectors are currently the core protection devices in power systems that are compatible with AC / DC hybrid power supply, new energy power distribution, and variable frequency load conditions. They can detect DC, power frequency AC, and high-frequency harmonic leakage current signals. The B+ type protector has a wider detection frequency band and greater adaptability compared to the A and B types.

[0003] With the widespread application of power electronic equipment such as photovoltaic inverters, frequency converters, and charging piles, high-frequency leakage signals of 1KHz to 20KHz are frequently generated in power distribution lines. This type of high-frequency leakage is a major hidden danger that can cause electrical fires, equipment insulation damage, and electric shock. Therefore, accurate detection of high-frequency bands is the core performance indicator of B+ type residual current protection devices.

[0004] Existing high-frequency detection schemes for B+ type residual current devices suffer from two major drawbacks: First, the electromagnetic magnetic ring and analog filter circuit at the signal acquisition end exhibit significant differences in amplitude-frequency response to signals at different frequencies from 1kHz to 20kHz. High-frequency signals experience severe attenuation, while low-frequency signals show less attenuation, resulting in poor amplitude consistency across the entire frequency band. Conventional industry solutions require setting differentiated thresholds for different frequencies, leading to complex threshold adjustments, poor versatility, and a high risk of misjudging high-frequency leakage current and low-frequency interference. Second, under high-frequency detection conditions, random pulse interference and electromagnetic clutter in the line overlap with the effective leakage current signal spectrum. Conventional time-domain amplitude threshold discrimination methods cannot distinguish between effective leakage current signals and interference signals, resulting in weak anti-interference capabilities, low detection accuracy, and severely impacting the operational reliability of B+ type residual current devices. Therefore, the detection accuracy, anti-interference capabilities, and frequency band consistency of existing technologies are insufficient to meet the safety protection requirements of high-end power distribution scenarios.

[0005] Currently, no effective solution has been proposed for improving the reliability and accuracy of high-frequency leakage current detection in related technologies. Summary of the Invention

[0006] This application provides a high-frequency leakage current detection method, system, and residual current device for residual current protection, in order to at least solve the problem of how to improve the reliability and accuracy of high-frequency leakage current detection in related technologies.

[0007] In a first aspect, embodiments of this application provide a high-frequency leakage current detection method for a residual current device, the method comprising: The electromagnetic ring and analog filter in the residual current device are jointly calibrated to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point in the preset high-frequency band. Based on the inherent amplitude-frequency response attenuation parameters at each frequency point, an inverse digital correction function is constructed. The high-frequency leakage signal collected by the residual current protector is corrected by frequency-point amplitude compensation through the inverse digital correction function to eliminate the amplitude-frequency characteristic difference of the preset high-frequency band. Based on the high-frequency leakage signal after amplitude compensation correction, the effective signal is compared with a unified preset leakage threshold. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

[0008] In some embodiments, the electromagnetic ring and analog filter in the residual current device are jointly calibrated to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point within a preset high-frequency band, including: Using a stepped standard sinusoidal signal within a preset high-frequency band, the electromagnetic ring and analog filter in the residual current protector are scanned and input, and the amplitude of the input signal and the amplitude of the output signal of the electromagnetic ring and analog filter at each frequency point are recorded. Based on the input signal amplitude and the output signal amplitude, the inherent amplitude-frequency response attenuation parameters of each frequency point within the preset high-frequency band are calculated.

[0009] In some embodiments, constructing an inverse digital correction function based on the inherent amplitude-frequency response attenuation parameters at each frequency point includes: Based on the inherent amplitude-frequency response attenuation parameters at each frequency point, the full-band amplitude-frequency attenuation function of the preset high-frequency band is obtained by fitting. Based on the full-band amplitude-frequency attenuation function, an inverse digital correction function for compensating and correcting amplitude-frequency attenuation is constructed.

[0010] In some embodiments, based on the amplitude-compensated high-frequency leakage signal, the effective signal is compared using a uniform preset leakage threshold. If the signal amplitude exceeds the uniform threshold, the residual current protection action is triggered, including: Valid high-frequency leakage signals are selected from the amplitude-compensated and corrected high-frequency leakage signals. Based on the effective high-frequency leakage signal, a unified preset leakage threshold is used for comparison. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

[0011] In some embodiments, filtering out valid high-frequency leakage signals from the amplitude-compensated high-frequency leakage signals includes: The high-frequency leakage current signal after amplitude compensation correction is subjected to FFT (Fast Fourier Transform) to convert the time-domain signal into a frequency-domain signal, and the peak-to-average power ratio (PAPR) of the frequency-domain signal is calculated. The peak-to-average power ratio (PAPR) is compared with a preset PAPR threshold. If the PAPR is greater than the preset threshold, the high-frequency leakage signal is determined to be a valid high-frequency leakage signal; otherwise, it is determined to be an interference invalid signal and is discarded.

[0012] In some embodiments, before performing frequency-point-by-frequency amplitude compensation correction on the high-frequency leakage signal acquired by the residual current protector using the inverse digital correction function to eliminate the amplitude-frequency characteristic difference of the preset high-frequency band, the method includes: The residual current signal in the line is collected in real time by the electromagnetic ring in the residual current protector, wherein the residual current signal includes a high-frequency leakage current component in a preset high-frequency band. The residual current signal is input into an analog filter to filter out frequency noise outside the preset high-frequency band, while retaining the high-frequency leakage current component within the preset high-frequency band.

[0013] In some embodiments, the method includes: The preset high-frequency band is the 1KHz~20KHz band; The analog filter is a second-order active bandpass filter, precisely matched to the 1KHz~20KHz frequency band, with in-band ripple ≤1dB and out-of-band attenuation ≥40dB / decibels.

[0014] In some embodiments, the residual current device is a B+ type residual current device.

[0015] Secondly, embodiments of this application provide a high-frequency leakage current detection system for a residual current device, the system being used to execute the method described in the first aspect above, the system including a digital processing module and a protection execution module; The digital processing module is used to jointly calibrate the electromagnetic ring and analog filter in the residual current device to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point within a preset high-frequency band; based on the inherent amplitude-frequency response attenuation parameters at each frequency point, an inverse digital correction function is constructed; through the inverse digital correction function, the amplitude compensation correction of the high-frequency leakage signal collected by the residual current device is performed on a frequency-by-frequency basis to eliminate the amplitude-frequency characteristic differences in the preset high-frequency band; The protection execution module is used to compare the high-frequency leakage signal after amplitude compensation and correction with a unified preset leakage threshold. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

[0016] Thirdly, embodiments of this application provide a residual current protection device, which is a B+ type residual current protection device, and the residual current protection device is used to perform the method described in the first aspect above.

[0017] Compared to related technologies, this application provides a high-frequency leakage current detection method, system, and residual current device for residual current devices. The method involves jointly calibrating the electromagnetic ring and analog filter in the residual current device to obtain inherent amplitude-frequency response attenuation parameters at each frequency point within a preset high-frequency band. Based on these parameters, an inverse digital correction function is constructed. This function is then used to perform frequency-by-frequency amplitude compensation correction on the high-frequency leakage current signal acquired by the residual current device, eliminating amplitude-frequency characteristic differences within the preset high-frequency band. Based on the amplitude-compensated high-frequency leakage current signal, a unified preset leakage current threshold is used to compare the effective signal. If the signal amplitude exceeds the threshold, the residual current protection action is triggered. This method eliminates detection errors caused by amplitude-frequency characteristic differences at each frequency point within the high-frequency band through the constructed inverse digital correction function, significantly improving the accuracy, stability, and anti-interference capability of high-frequency leakage current detection in residual current devices. It is applicable to various AC / DC mixed and high-frequency harmonic operating conditions for leakage current protection, solving the problem of how to improve the reliability and accuracy of high-frequency leakage current detection. Attached Figure Description

[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a flowchart of the steps of the high-frequency leakage current detection method for a residual current device according to an embodiment of this application; Figure 2 This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0020] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.

[0021] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0022] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.

[0023] This application provides a high-frequency leakage current detection method for residual current devices. Figure 1 This is a flowchart illustrating the steps of a high-frequency leakage current detection method for a residual current device according to an embodiment of this application, as follows: Figure 1As shown, the method includes the following steps: Step S102: Perform joint calibration of the electromagnetic ring and analog filter in the residual current protector to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point in the preset high-frequency band. It should be noted that the residual current device is a B+ type residual current device. The analog filter is a second-order active bandpass filter, precisely matched to the 1kHz~20kHz frequency band, with in-band ripple ≤1dB and out-of-band attenuation ≥40dB / decade, ensuring distortion-free transmission of signals in the target frequency band while maximizing the filtering of interference signals. The preset high-frequency band is 1kHz~20kHz. Conventional leakage current mainly refers to the 50 / 60Hz power frequency and its low harmonics. Most leakage current detectors have a core frequency band of 20Hz~100Hz, while the B+ type residual current device in this embodiment extends to the 1kHz~20kHz high-frequency band.

[0024] Step S102 specifically includes the following steps: Step S1021: Using a stepped standard sinusoidal signal within a preset high-frequency band, scan the electromagnetic ring and analog filter in the residual current protector, and record the input signal amplitude and the output signal amplitude of the electromagnetic ring and analog filter at each frequency point. Step S1022: Based on the input signal amplitude and the output signal amplitude, calculate the inherent amplitude-frequency response attenuation parameters of each frequency point within the preset high-frequency band.

[0025] It should be noted that in steps S1021 and S1022, a 1kHz~20kHz stepped standard sine wave signal is used to perform a full-band scanning input to the analog front-end (electromagnetic magnetic ring + analog filter), and the amplitude of the input standard signal and the amplitude of the output signal of the magnetic ring and analog filter are recorded at each frequency point to accurately calculate the amplitude-frequency attenuation coefficient at each frequency point.

[0026] Step S104: Construct an inverse digital correction function based on the inherent amplitude-frequency response attenuation parameters at each frequency point; Specifically, in step S104, based on the inherent amplitude-frequency response attenuation parameters at each frequency point, a full-band amplitude-frequency attenuation function for a preset high-frequency band is fitted; based on the full-band amplitude-frequency attenuation function, an inverse digital correction function for compensating and correcting amplitude-frequency attenuation is constructed.

[0027] It should be noted that step S104 obtains a continuous amplitude-frequency attenuation function across the entire frequency band based on the attenuation coefficient fitting at each frequency point, and generates a corresponding inverse digital correction function covering the entire target frequency band from 1kHz to 20kHz. Subsequently, the frequency and amplitude of the analog filtered signal are read in real time, and the inverse digital correction function is called to perform dynamic amplitude compensation on the current frequency signal, thereby achieving full-band amplitude equalization and normalization. After step S104, the method further includes step S105, which involves acquiring the residual current signal in the line in real time through the electromagnetic ring in the residual current protector, wherein the residual current signal contains a high-frequency leakage current component within a preset high-frequency band; inputting the residual current signal into an analog filter to filter out frequency noise outside the preset high-frequency band and retain the high-frequency leakage current component within the preset high-frequency band.

[0028] Step S106: The high-frequency leakage signal collected by the residual current device is corrected by frequency-point-by-frequency compensation using an inverse digital correction function to eliminate the amplitude-frequency characteristic difference of the preset high-frequency band. It should be noted that in step S105, the original residual current signal collected by the magnetic ring is input into a preset 1KHz~20KHz-3dB bandwidth analog filter to filter out low-frequency interference signals below 1KHz and ultra-high-frequency noise above 20KHz, accurately retaining the target high-frequency leakage current signal and avoiding interference from irrelevant frequency band signals on the detection results. In step S106, the inherent amplitude-frequency response attenuation parameters of each frequency point in the 1KHz~20KHz full frequency band calibrated in steps S102 and S104 are used to construct an inverse digital correction algorithm based on the attenuation parameters to perform frequency-point amplitude compensation correction on the high-frequency signal after analog filtering, eliminating the amplitude-frequency characteristic differences in the full frequency band, and normalizing the leakage current signals of all frequencies from 1KHz to 20KHz to a unified amplitude reference, laying the foundation for unified threshold determination in the full frequency band. Step S108: Based on the high-frequency leakage signal after amplitude compensation correction, the effective signal is compared with a unified preset leakage threshold. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

[0029] Specifically, step S108 involves selecting a valid high-frequency leakage signal from the high-frequency leakage signal after amplitude compensation correction; based on the valid high-frequency leakage signal, a unified preset leakage threshold is used for comparison; if the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

[0030] In step S108, the preferred method for selecting effective high-frequency leakage signals is as follows: perform FFT (Fast Fourier Transform) on the high-frequency leakage signal after amplitude compensation correction to convert the time-domain signal into a frequency-domain signal, and calculate the peak-to-average power ratio (PAPR) of the frequency-domain signal; compare the PAPR with a preset PAPR threshold; if the PAPR is greater than the preset threshold, the high-frequency leakage signal is determined to be an effective high-frequency leakage signal; otherwise, it is determined to be an interference invalid signal and is discarded.

[0031] Further preferably, the peak amplitude and average amplitude of the frequency domain signal after FFT transformation are extracted, and the peak-to-average ratio (PAR) = peak amplitude / average amplitude. The preset PAR threshold is calibrated according to the on-site interference conditions (e.g., a value range of 3~8) to adapt to different electromagnetic interference environments. For example, the actual operation requires multiple judgments. For instance, assuming the ADC sampling is 100kHz, the single calculation time window is 20ms, the initial state count=0, data within 20ms is collected cyclically, amplitude is corrected, PAR is calculated, and it is determined to be a valid signal. If its threshold is greater than a unified threshold, count+1 is added; otherwise, count=0. When count=10, that is, the signal is valid for 200ms continuously, and the effective value is greater than the threshold, the residual current protection action is triggered.

[0032] It should be noted that step S108 performs FFT (Fast Fourier Transform) on the high-frequency leakage signal after amplitude-frequency correction, converting the unstable time-domain signal into a characteristically stable frequency-domain signal, calculating the peak-to-average power ratio (PAPR) of the frequency-domain signal, and comparing the PAPR with a preset PAPR threshold. When the PAPR is greater than the preset threshold, the currently acquired data is determined to be a valid high-frequency leakage signal; otherwise, it is determined to be a random interference signal and is discarded, thus solving the problem of misjudgment due to spectrum overlap interference. Finally, for the determined valid high-frequency leakage signals, a unified preset leakage threshold is used for comparison. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered, realizing the use of the same threshold parameter across the entire frequency band from 1KHz to 20KHz. This eliminates the need to adjust the threshold separately for different frequencies, simplifies the equipment calibration process, improves detection consistency, and achieves accurate protection against high-frequency leakage.

[0033] The method steps provided in the embodiments of this application achieve the following beneficial effects: 1. This application completely solves the industry pain point of inconsistent high-frequency amplitude and frequency response of electromagnetic rings and analog front-end circuits by combining analog fixed bandwidth pre-selection filtering and digital reverse amplitude and frequency correction. It achieves normalization of leakage signal amplitude in the 1KHz~20KHz full-band. There is no need to set multi-frequency differentiated thresholds. A unified threshold can be used to complete the leakage judgment in the full-band, which greatly simplifies the equipment calibration process and improves the consistency of detection.

[0034] 2. This application introduces an FFT frequency domain peak-to-average ratio validity discrimination mechanism, which differs from the traditional single time domain amplitude discrimination method. It utilizes the characteristics of the effective leakage signal having prominent peak values ​​and concentrated distribution in the frequency domain, while the interference signal has uniform amplitude and no obvious peak values ​​in the frequency domain, to accurately distinguish the effective leakage signal from electromagnetic noise and pulse interference, greatly reducing the probability of misjudgment and missed judgment in high-frequency leakage detection and improving the anti-interference capability of the equipment.

[0035] 3. This application uses an electromagnetic magnetic ring to collect high-frequency signals, combined with a high-precision bandpass analog filter to ensure distortion-free acquisition and screening of the target frequency band signal. Combined with digital dynamic correction technology, it balances hardware acquisition stability and software detection accuracy, adapting to complex high-frequency operating conditions such as new energy and variable frequency loads, and significantly improving the high-frequency protection performance of the B+ type residual current protector.

[0036] 4. The algorithm of this application is simple and the hardware cost is controllable. There is no need to add complex detection devices. It can be directly integrated into the main control system of the existing B+ type residual current protector. It has strong compatibility, good mass production capability, and has extremely high engineering application value and market promotion prospects.

[0037] This application provides a specific embodiment of a high-frequency leakage current accurate detection method for a B+ type residual current protector, suitable for high-frequency leakage current detection scenarios of 1KHz~20KHz. The specific steps are as follows: S1. High-frequency signal acquisition: A high-frequency, low-loss electromagnetic ring is used to be fitted onto the power distribution line to acquire the residual current signal in real time. This signal includes power frequency components, low-frequency interference, high-frequency leakage current components from 1kHz to 20kHz, and ultra-high-frequency electromagnetic interference. The phase shift of the magnetic ring is ≤5° within the 1kHz to 20kHz frequency band, ensuring that there is no phase distortion in the high-frequency signal acquisition.

[0038] S2. Simulated Precise Pre-selection Filtering: The original signal output from the magnetic ring is connected to a second-order active bandpass analog filter. The filter strictly limits the -3dB bandwidth to 1KHz~20KHz, controls the in-band ripple within 1dB, and the out-of-band attenuation ≥40dB / decade. It thoroughly filters out power frequency and low-frequency noise below 1KHz and ultra-high frequency interference above 20KHz, retaining only the target high-frequency leakage current frequency band signal, avoiding irrelevant frequency band signals from occupying computing power and affecting detection accuracy.

[0039] S3. Full-Band Digital Amplitude-Frequency Correction: The analog front-end system calibration is completed in advance. A standard sine wave signal with 100Hz steps from 1kHz to 20kHz is used for scanning, recording the input and output amplitudes at each frequency point. The attenuation coefficient at each frequency point is calculated, and a continuous amplitude-frequency attenuation function is fitted to generate inverse correction coefficients, which are then stored in the DSP processor database. During device operation, the frequency and amplitude of the filtered signal are acquired in real time. The corresponding inverse correction coefficient is called to perform amplitude compensation, normalizing the leakage signal amplitude at all frequencies from 1kHz to 20kHz and eliminating hardware amplitude-frequency differences.

[0040] S4. FFT Frequency Domain Peak-to-Average Ratio (PMA) Valid Determination: Perform a 256-point Fast Fourier Transform (FFT) on the corrected time-domain signal to convert it into frequency-domain spectrum data. Extract the peak amplitude and the average amplitude across the entire frequency band, and calculate the PMA. In this embodiment, under normal industrial interference conditions, the preset PMA threshold is 6. When the PMA of the detected signal is >6, it is determined to be a valid high-frequency leakage signal; when the PMA is ≤6, it is determined to be random electromagnetic interference, and the sampled data is directly discarded and not included in the leakage determination.

[0041] S5. Unified Threshold Leakage Detection: A unified leakage threshold of 300mA is adopted across the entire frequency band. The amplitude of the effective leakage signal is compared. If the normalized signal amplitude is ≥300mA, a leakage protection signal is immediately output to drive the tripping mechanism to disconnect the faulty line. If the amplitude is lower than the threshold, it is determined to be a normal working condition, and the equipment continues to monitor.

[0042] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0043] This application provides a high-frequency leakage current detection system for a residual current device. The system is used to execute the method provided in the above embodiments, and the system includes a digital processing module and a protection execution module. The digital processing module is used to jointly calibrate the electromagnetic ring and analog filter in the residual current device to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point within the preset high-frequency band; based on the inherent amplitude-frequency response attenuation parameters at each frequency point, an inverse digital correction function is constructed; through the inverse digital correction function, the amplitude compensation correction of the high-frequency leakage signal collected by the residual current device is performed on a frequency-by-frequency basis to eliminate the amplitude-frequency characteristic differences in the preset high-frequency band. The protection execution module is used to compare the effective signal with a uniform preset leakage current threshold based on the high-frequency leakage current signal after amplitude compensation and correction. If the signal amplitude exceeds the uniform threshold, the residual current protection action is triggered.

[0044] This application provides a high-frequency leakage current precision detection system for a B+ type residual current device, used to implement the method provided in the above-described method embodiments. This system eliminates the need to adjust different thresholds for different high-frequency frequencies; the full-band correction parameters are calibrated once at the factory, resulting in high consistency in mass production and a significant reduction in false tripping and failure-to-trip rates under complex operating conditions. The system architecture is as follows: Signal acquisition module: High-frequency, low-loss electromagnetic ring, used to sense residual current in the line and output weak analog voltage signal, suitable for high-frequency signal acquisition from 1KHz to 20KHz.

[0045] Analog filtering module: Second-order active bandpass filter circuit, with a high-precision operational amplifier at its core, and parameters matched to a bandwidth of 1KHz~20KHz -3dB, to achieve accurate screening of signals in the target frequency band.

[0046] Digital processing module: It adopts a DSP main control chip, with built-in fixed amplitude-frequency correction algorithm, FFT transformation algorithm, peak-to-average ratio discrimination algorithm and unified threshold judgment logic. It stores a full-band correction coefficient database and completes signal correction and effective discrimination in real time.

[0047] Protection execution module: It consists of a drive circuit, a tripping mechanism, and an alarm circuit. It receives the leakage current judgment signal from the DSP main control and executes power failure protection or audible and visual alarm actions.

[0048] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.

[0049] This application provides a residual current device, which is a B+ type residual current device, and is used to perform the method provided in the above embodiments.

[0050] This embodiment provides an electronic device including a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0051] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0052] Optionally, the electronic device may further include a processor, memory, network interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a high-frequency leakage current detection method for a residual current device. The display screen may be a liquid crystal display (LCD) or an e-ink display. The input device may be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.

[0053] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0054] Furthermore, in conjunction with the high-frequency leakage current detection method for residual current devices in the above embodiments, this application embodiment can provide a storage medium for implementation. This storage medium stores a computer program; when executed by a processor, the computer program implements any of the high-frequency leakage current detection methods for residual current devices in the above embodiments.

[0055] In one embodiment, Figure 2 This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application, such as... Figure 2 As shown, an electronic device is provided, which can be a server, and its internal structure diagram can be as follows. Figure 2 As shown, the electronic device includes a processor, a network interface, internal memory, and non-volatile memory connected via an internal bus. The non-volatile memory stores an operating system, computer programs, and a database. The processor provides computing and control capabilities, the network interface communicates with external terminals via a network, the internal memory provides an environment for the operating system and computer programs to run, the computer programs are executed by the processor to implement a high-frequency leakage current detection method for a residual current device, and the database stores data.

[0056] Those skilled in the art will understand that Figure 2 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0057] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0058] Those skilled in the art should understand that the technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments have been described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0059] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A high-frequency leakage current detection method for a residual current device, characterized in that, The method includes: The electromagnetic ring and analog filter in the residual current device are jointly calibrated to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point in the preset high-frequency band. Based on the inherent amplitude-frequency response attenuation parameters at each frequency point, an inverse digital correction function is constructed. The high-frequency leakage signal collected by the residual current protector is corrected by frequency-point amplitude compensation through the inverse digital correction function to eliminate the amplitude-frequency characteristic difference of the preset high-frequency band. Based on the high-frequency leakage signal after amplitude compensation correction, the effective signal is compared with a unified preset leakage threshold. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

2. The method according to claim 1, characterized in that, The electromagnetic ring and analog filter in the residual current device are jointly calibrated to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point within a preset high-frequency band, including: Using a stepped standard sinusoidal signal within a preset high-frequency band, the electromagnetic ring and analog filter in the residual current protector are scanned and input, and the amplitude of the input signal and the amplitude of the output signal of the electromagnetic ring and analog filter at each frequency point are recorded. Based on the input signal amplitude and the output signal amplitude, the inherent amplitude-frequency response attenuation parameters of each frequency point within the preset high-frequency band are calculated.

3. The method according to claim 1, characterized in that, Based on the inherent amplitude-frequency response attenuation parameters at each frequency point, the inverse digital correction function is constructed as follows: Based on the inherent amplitude-frequency response attenuation parameters at each frequency point, the full-band amplitude-frequency attenuation function of the preset high-frequency band is obtained by fitting. Based on the full-band amplitude-frequency attenuation function, an inverse digital correction function for compensating and correcting amplitude-frequency attenuation is constructed.

4. The method according to claim 1, characterized in that, Based on the high-frequency leakage signal after amplitude compensation and correction, the valid signal is compared with a unified preset leakage threshold. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered, including: Valid high-frequency leakage signals are selected from the amplitude-compensated and corrected high-frequency leakage signals. Based on the effective high-frequency leakage signal, a unified preset leakage threshold is used for comparison. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

5. The method according to claim 1, characterized in that, Filtering out valid high-frequency leakage signals from the amplitude-compensated high-frequency leakage signals includes: The high-frequency leakage current signal after amplitude compensation correction is subjected to FFT (Fast Fourier Transform) to convert the time-domain signal into a frequency-domain signal, and the peak-to-average power ratio (PAPR) of the frequency-domain signal is calculated. The peak-to-average power ratio (PAPR) is compared with a preset PAPR threshold. If the PAPR is greater than the preset threshold, the high-frequency leakage signal is determined to be a valid high-frequency leakage signal; otherwise, it is determined to be an interference invalid signal and is discarded.

6. The method according to claim 1, characterized in that, Before performing frequency-point-by-frequency amplitude compensation correction on the high-frequency leakage signal acquired by the residual current protector using the inverse digital correction function to eliminate the amplitude-frequency characteristic difference in the preset high-frequency band, the method includes: The residual current signal in the line is collected in real time by the electromagnetic ring in the residual current protector, wherein the residual current signal includes a high-frequency leakage current component in a preset high-frequency band. The residual current signal is input into an analog filter to filter out frequency noise outside the preset high-frequency band, while retaining the high-frequency leakage current component within the preset high-frequency band.

7. The method according to claim 6, characterized in that, The method includes: The preset high-frequency band is the 1KHz~20KHz band; The analog filter is a second-order active bandpass filter, precisely matched to the 1KHz~20KHz frequency band, with in-band ripple ≤1dB and out-of-band attenuation ≥40dB / decibels.

8. The method according to claim 1, characterized in that, The residual current device is a B+ type residual current device.

9. A high-frequency leakage current detection system for a residual current device, characterized in that, The system is used to perform the method according to any one of claims 1 to 8, and the system includes a digital processing module and a protection execution module; The digital processing module is used to jointly calibrate the electromagnetic ring and analog filter in the residual current device to obtain the inherent amplitude-frequency response attenuation parameters at each frequency point within a preset high-frequency band; based on the inherent amplitude-frequency response attenuation parameters at each frequency point, an inverse digital correction function is constructed; through the inverse digital correction function, the amplitude compensation correction of the high-frequency leakage signal collected by the residual current device is performed on a frequency-by-frequency basis to eliminate the amplitude-frequency characteristic differences in the preset high-frequency band; The protection execution module is used to compare the high-frequency leakage signal after amplitude compensation and correction with a unified preset leakage threshold. If the signal amplitude exceeds the unified threshold, the residual current protection action is triggered.

10. A residual current protection device, characterized in that, The residual current device is a B+ type residual current device, and the residual current device is used to perform the method according to any one of claims 1 to 8.