Signal conditioning device and method for detecting grounding resistance value

The single-phase inverter full-bridge circuit and high-pass filter circuit controlled by the ARM processor are detected by the detection of ground resistance. Combined with adaptive modules and digital filtering technology, the accuracy and anti-interference problems of existing ground resistance detection technology are solved, and high-precision Ground resistance detection.

CN118939171APending Publication Date: 2024-11-12SHAANXI CHANGLING PV ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411112342.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing ground resistance detection technology has complex circuit debugging, high accuracy of electronic devices, easy to be disturbed and large measurement errors, which cannot meet the requirements of high-precision measurement.

Method used

ARM processor is used to control the single-phase inverter full-bridge circuit to generate variable frequency AC voltage, detect the induced current signal through the current coil, and use high-pass filtering circuit and program-controlled amplifier circuit for signal processing, combining adaptive modules and digital filtering technology to improve Detection accuracy.

Benefits of technology

It realizes a simple circuit structure and strong anti-interference ability, simplifies production and debugging, and significantly improves the detection accuracy of ground resistance values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939171A_ABST
    Figure CN118939171A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of resistance detection, and discloses a signal conditioning device and method for detecting a grounding resistance value, and the device comprises an ARM module which is a control core and outputs a PWM pulse signal to control the on-off of a one-way inversion full-bridge circuit, and generates a frequency-variable AC voltage pulse signal to supply power to a voltage coil drive circuit. The frequency of the alternating current voltage is 1 kHz to 2 kHz; the display key module is used for storing and displaying the detection data; the current coil check-back circuit is used for detecting signals; the high-pass filter circuit is used for filtering the low-frequency signal and outputting a current signal; and the digital program control amplification circuit is used for improving the sampling precision of the current signal and inputting the signal to an analog sampling interface of the ARM after direct current bias. Through cooperative processing of software and hardware on a detected signal, the device has the advantages of simple circuit structure, strong anti-interference capability and convenience in production and debugging, and can effectively improve the detection precision of a grounding resistance value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resistance detection, and in particular to a signal conditioning device and method for detecting a grounding resistance value. Background Art

[0002] Grounding resistance is the resistance encountered when current flows from the grounding device into the earth and then flows through the earth to another grounding body or spreads to a distant place. In the power system, the reliability of protective grounding, working grounding and lightning protection grounding plays an important role in the safety of electrical equipment and personal property. It is usually necessary to monitor the grounding system in real time.

[0003] At present, real-time monitoring of grounding systems is generally based on the loop method to test grounding resistance, which mainly uses an excitation signal with a fixed sinusoidal frequency. The detected signal is converted into a DC analog voltage through an analog filter, a fixed gain amplifier and a rectifier circuit and then enters the CPU for data sampling. This conditioning method has problems such as complex circuit debugging, high precision of electronic devices, susceptibility to interference and large measurement errors. Therefore, it cannot meet the high-precision measurement requirements of grounding resistance. Summary of the invention

[0004] In view of this, the main purpose of the present invention is to provide a signal conditioning method for detecting a grounding resistance value, so as to improve the detection accuracy of the grounding resistance value.

[0005] The technical solution adopted by the present invention is as follows:

[0006] A signal conditioning device for detecting a ground resistance value, comprising:

[0007] A control circuit, which uses an ARM processor as a control core, and outputs a PWM pulse signal through the ARM processor to control a single-phase inverter full-bridge circuit to generate an AC voltage with a variable frequency of 1kHz-2kHZ to power a voltage coil set at the grounding wire;

[0008] A closed ground loop is coupled to the voltage coil. When the voltage coil is powered by an alternating voltage with a variable frequency of 1kHz-2kHz, an alternating magnetic field is generated on the voltage coil. The closed ground loop generates an induced voltage under the action of the magnetic field, and the induced voltage generates an induced current in the closed ground loop.

[0009] A current coil detection circuit is used to detect a current signal generated by at least one grounding resistor connected to a grounding wire in a closed loop induced by the current induction coil;

[0010] A high-pass filter circuit is coupled to the current coil detection circuit, and the current coil detection circuit transmits the detected current signal to the high-pass filter circuit, and the low-frequency interference signal is filtered out by the high-pass filter circuit;

[0011] The program-controlled amplifier circuit is connected to the high-pass filter circuit, and is used to sample the current signal after filtering out the low-frequency interference signal, and input the current signal to the analog sampling interface of the ARM processor through a DC bias. After receiving the current signal, the ARM processes it to obtain the resistance value of the grounding wire.

[0012] Furthermore, the ARM processor controls the on and off of the switch tube of the inverter full-bridge through a unipolar double-frequency SPWM modulation method, so as to generate an output PWM pulse signal at least twice the carrier frequency without increasing the switching frequency.

[0013] Furthermore, the program-controlled amplifier circuit is composed of an inverting amplifier circuit composed of analog switches.

[0014] Furthermore, the programmable amplifier circuit is an 8-channel programmable gain amplifier circuit with variable gain.

[0015] Furthermore, the ARM processor controls the analog switch in the programmable amplifier circuit through the ARM port line to select the gain of the programmable amplifier through the analog switch, to form an excitation signal with a set frequency multiplication by setting the gain, and to perform 1024-point data sampling on the current signal that filters out the low-frequency interference signal with the set frequency multiplication as the sampling rate.

[0016] Furthermore, the ARM processor is also provided with an adaptive module, which is used to set a corresponding amplitude threshold according to the sampling range of the AD. If the amplitude exceeds the threshold, the gain of the programmable amplifier will be automatically reduced.

[0017] Furthermore, a processing module is provided in the ARM processor, and the processing module selects a digital bandpass filter coefficient with an adjustable center frequency according to the frequency of the excitation signal, performs FIR digital filtering on the 1024-point data in a fixed-point manner, performs fast Fourier transform on the filtered data, and calculates the amplitude of the excitation signal frequency and the amplitude of other frequencies.

[0018] The present invention also provides a signal conditioning method for detecting a ground resistance value, comprising the following steps:

[0019] The ARM processor outputs a PWM pulse signal to control a single-phase inverter full-bridge circuit to generate an alternating voltage with a variable frequency of 1kHz-2kHZ to supply power to a voltage coil provided at the grounding conductor;

[0020] An alternating magnetic field is generated on the voltage coil, and the closed ground loop generates an induced voltage under the action of the magnetic field, and the induced voltage generates an induced current in the closed ground loop;

[0021] detecting a current signal generated by at least one grounding resistor connected to a grounding conductor in a closed loop and sensed by a current sensing coil;

[0022] The current coil detection circuit transmits the detected current signal to the high-pass filter circuit, and the low-frequency interference signal is filtered out by the high-pass filter circuit;

[0023] The current signal from which the low-frequency interference signal is filtered is sampled, and the current signal is input to the analog sampling interface of the ARM processor through a DC bias. After receiving the current signal, the ARM processes it to obtain the resistance value of the grounding wire.

[0024] Further, the current signal after filtering out the low-frequency interference signal is sampled, and the current signal is input to the analog sampling interface of the ARM processor through a DC bias, and the ARM receives the current signal and processes it to obtain the resistance value of the grounding wire. The method includes:

[0025] 1) Setting the sampling rate of the ADC through the ARM processor;

[0026] 2) Output PWM pulse signal;

[0027] 3) The ARM processor controls the analog switch in the program-controlled amplifier circuit through the ARM port line to select the maximum gain of the program-controlled amplifier through the analog switch;

[0028] 4) Enable DMA transfer interrupt and start collecting data;

[0029] 5) Determine whether the 1024-point data sampling is completed. If the acquisition is not completed, re-enable the DMA transmission interrupt and collect data; if it is completed, disable DMA and use fixed-point method to perform FIR digital filtering on the 1024-point data.

[0030] 6) Perform fast Fourier transform on the filtered data to obtain the amplitude of the excitation signal frequency and the amplitude of other frequencies;

[0031] 7) Determine whether the frequency amplitude of the excitation signal is within the set amplitude threshold. If so, calculate the measured ground resistance value. If it exceeds the threshold, control the gain of the programmable amplifier through the adaptive module to reduce the frequency, and repeat steps 4)-7) to make the frequency amplitude of the excitation signal within the set amplitude threshold;

[0032] 8) Calculate the resistance value of the grounding wire.

[0033] Further, in step 6), it is determined whether the frequency amplitude of the other excitation signals is within a suitable range. If so, the maximum gain of the programmable amplifier is selected. If not, the PWM signal is adjusted to the desired frequency and a PWM pulse signal is output.

[0034] The present invention processes the measured signal through the coordinated processing of software and hardware, has the advantages of simple circuit structure, strong anti-interference ability, and convenient production and debugging, and can effectively improve the detection accuracy of the ground resistance value. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The following drawings are only used to illustrate and explain the present invention, and are not used to limit the scope of the present invention, wherein:

[0036] Figure 1 This is a schematic diagram of the detection device of the present invention;

[0037] Figure 2 This is a resistance detection principle diagram of the present invention;

[0038] Figure 3 It is a flow chart of the detection method of the present invention;

[0039] Figure 4 is a circuit schematic diagram of a high-pass filter circuit in the present invention;

[0040] Figure 5 This is a circuit schematic diagram of an 8-channel gain-variable programmable gain amplifier circuit in this application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution, design method and advantages of the present invention clearer, the present invention is further described in detail by specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0042] The present application adopts the loop method testing principle, wherein the loop method testing is mainly based on the Faraday electromagnetic induction principle. When a constant AC power supply is applied to the voltage coil, an alternating magnetic field is generated, and an induced voltage U is generated on the closed grounding loop. The induced voltage generates a current in the closed grounding loop. The current coil detection circuit measures the induced current I, and finally the grounding resistance value R=U / I is calculated by Ohm's law.

[0043] Reference Figure 1-Figure 5 The present application provides a signal conditioning device for detecting a ground resistance value, comprising:

[0044] A control circuit, which uses an ARM processor as a control core, and outputs a PWM pulse signal through the ARM processor to control a single-phase inverter full-bridge circuit to generate an AC voltage with a variable frequency of 1kHz-2kHZ to power a voltage coil set at the grounding wire;

[0045] A closed ground loop is coupled to the voltage coil. When the voltage coil is powered by an alternating voltage with a variable frequency of 1kHz-2kHz, an alternating magnetic field is generated on the voltage coil. The closed ground loop generates an induced voltage under the action of the magnetic field, and the induced voltage generates an induced current in the closed ground loop.

[0046] A current coil detection circuit is used to detect a current signal generated by at least one grounding resistor connected to a grounding wire in a closed loop induced by the current induction coil;

[0047] A high-pass filter circuit is coupled to the current coil detection circuit, and the current coil detection circuit transmits the detected current signal to the high-pass filter circuit, and the low-frequency interference signal is filtered out by the high-pass filter circuit;

[0048] The program-controlled amplifier circuit is connected to the high-pass filter circuit, and is used to sample the current signal after filtering out the low-frequency interference signal, and input the current signal to the analog sampling interface of the ARM processor through a DC bias. After receiving the current signal, the ARM processes it to obtain the resistance value of the grounding wire.

[0049] In the above, the ARM processor controls the on and off of the switch tube of the inverter full bridge through the unipolar double frequency SPWM modulation method, so as to generate an output PWM pulse signal at least twice the carrier frequency without increasing the switching frequency.

[0050] In the above, the ARM processor is further provided with an adaptive module, which is used to set a corresponding amplitude threshold according to the sampling range of the AD. If the amplitude exceeds the threshold, the gain of the programmable amplifier will be automatically reduced.

[0051] In the above, a processing module is provided in the ARM processor, and the processing module selects the digital bandpass filter coefficient with adjustable center frequency according to the frequency of the excitation signal, performs FIR digital filtering on the 1024-point data in a fixed-point manner, performs fast Fourier transform on the filtered data, and calculates the amplitude of the excitation signal frequency and the amplitude of other frequencies.

[0052] In the present application, the ARM processor is used as the control core and outputs a PWM pulse signal to control the on and off of the unidirectional inverter full-bridge circuit, generate an AC voltage with a variable frequency of 1kHz-2kHz to power the voltage coil, and first select the maximum gain of the programmable amplifier through the ARM port line control analog switch, and perform 1024-point data sampling with 8 times the frequency of the excitation signal as the sampling rate. An output voltage pulse signal twice the carrier frequency can be generated without increasing the switching frequency, thereby increasing the harmonic order and reducing the harmonic content.

[0053] After the current signal is detected by the current coil detection circuit, the low-frequency signal is filtered out by the high-pass filter circuit and the current signal is output. The high-pass filter is a passive high-pass RC filter; the digital program-controlled amplifier circuit is used to improve the sampling accuracy of the current signal, and input the signal to the analog sampling interface of the ARM after DC bias; the voltage coil drive circuit and the current coil detection circuit are connected in series with the equivalent grounding resistor through the grounding wire in the same circuit.

[0054] In order to improve the sampling accuracy of the current signal, the programmable gain amplifier circuit is composed of a directional amplifier circuit composed of an analog switch CD4051. The programmable gain amplifier circuit has 8 channels with variable gain. The current signal is input into the analog sampling interface of ARM after being DC biased at 1.4-1.7V.

[0055] Furthermore, the program-controlled amplifier circuit is composed of an inverting amplifier circuit composed of analog switches.

[0056] Furthermore, the programmable amplifier circuit is an 8-channel programmable gain amplifier circuit with variable gain.

[0057] Furthermore, the ARM processor controls the analog switch in the programmable amplifier circuit through the ARM port line to select the gain of the programmable amplifier through the analog switch, to form an excitation signal with a set frequency multiplication by setting the gain, and to perform 1024-point data sampling on the current signal that filters out the low-frequency interference signal with the set frequency multiplication as the sampling rate.

[0058] The present invention also provides a signal conditioning method for detecting a ground resistance value, comprising the following steps:

[0059] The ARM processor outputs a PWM pulse signal to control a single-phase inverter full-bridge circuit to generate an alternating voltage with a variable frequency of 1kHz-2kHZ to supply power to a voltage coil provided at the grounding conductor;

[0060] An alternating magnetic field is generated on the voltage coil, and the closed ground loop generates an induced voltage under the action of the magnetic field, and the induced voltage generates an induced current in the closed ground loop;

[0061] detecting a current signal generated by at least one grounding resistor connected to a grounding conductor in a closed loop and sensed by a current sensing coil;

[0062] The current coil detection circuit transmits the detected current signal to the high-pass filter circuit, and the low-frequency interference signal is filtered out by the high-pass filter circuit;

[0063] The current signal from which the low-frequency interference signal is filtered is sampled, and the current signal is input to the analog sampling interface of the ARM processor through a DC bias. After receiving the current signal, the ARM processes it to obtain the resistance value of the grounding wire.

[0064] Further, the current signal after filtering out the low-frequency interference signal is sampled, and the current signal is input to the analog sampling interface of the ARM processor through a DC bias, and the ARM receives the current signal and processes it to obtain the resistance value of the grounding wire. The method includes:

[0065] 1) Setting the sampling rate of the ADC through the ARM processor;

[0066] 2) Output PWM pulse signal;

[0067] 3) The ARM processor controls the analog switch in the program-controlled amplifier circuit through the ARM port line to select the maximum gain of the program-controlled amplifier through the analog switch;

[0068] 4) Enable DMA transfer interrupt and start collecting data;

[0069] 5) Determine whether the 1024-point data sampling is completed. If the acquisition is not completed, re-enable the DMA transmission interrupt and collect data; if it is completed, disable DMA and use fixed-point method to perform FIR digital filtering on the 1024-point data.

[0070] 6) Perform fast Fourier transform on the filtered data to obtain the amplitude of the excitation signal frequency and the amplitude of other frequencies;

[0071] 7) Determine whether the frequency amplitude of the excitation signal is within the set amplitude threshold. If so, calculate the measured ground resistance value. If it exceeds the threshold, control the gain of the programmable amplifier through the adaptive module to reduce the frequency, and repeat steps 4)-7) to make the frequency amplitude of the excitation signal within the set amplitude threshold;

[0072] 8) Calculate the resistance value of the grounding wire.

[0073] Further, in step 6), it is determined whether the frequency amplitude of the other excitation signals is within a suitable range. If so, the maximum gain of the programmable amplifier is selected. If not, the PWM signal is adjusted to the desired frequency and a PWM pulse signal is output.

[0074] The present application adopts a unipolar frequency-multiplied SPWM modulation method to control the switching of the inverter full-bridge, so that an output voltage pulse signal twice the carrier frequency can be generated without increasing the switching frequency, thereby increasing the harmonic number and reducing the harmonic content. The maximum gain of the program-controlled amplifier is first selected through the ARM port line control analog switch, and then the 1024-point data sampling is performed at an 8-fold frequency of the excitation signal as the sampling rate. According to the frequency of the excitation signal, the coefficient of the digital bandpass filter with adjustable center frequency is selected, and the 1024-point data is subjected to FIR digital filtering in a fixed-point manner. Then, the filtered data is subjected to a fast Fourier transform (FFT) to obtain the amplitude of the excitation signal frequency and the amplitude of other frequencies. At the same time, a reasonable amplitude threshold is set in the software according to the sampling range of the AD. If the amplitude exceeds the threshold, the software will automatically reduce the gain of the program-controlled amplifier, and the above calculations are repeated in sequence. Furthermore, the frequency point of the noise frequency is determined after the FFT operation, which provides a basis for adjusting the variable frequency excitation signal. In view of the non-integer cycle sampling problem existing in FFT, the window difference algorithm is used in the software processing to improve it. This method reduces spectrum leakage and can effectively suppress noise interference, so that the signal amplitude can be measured more accurately, and finally a relatively accurate ground resistance value can be obtained.

[0075] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A signal conditioning device for detecting ground resistance value, characterized in that: include: A control circuit, which uses an ARM processor as a control core, and outputs a PWM pulse signal through the ARM processor to control a single-phase inverter full-bridge circuit to generate an AC voltage with a variable frequency of 1kHz-2kHZ to power a voltage coil set at the grounding wire; A closed ground loop is coupled to the voltage coil. When the voltage coil is powered by an alternating voltage with a variable frequency of 1kHz-2kHz, an alternating magnetic field is generated on the voltage coil. The closed ground loop generates an induced voltage under the action of the magnetic field, and the induced voltage generates an induced current in the closed ground loop. A current coil detection circuit is used to detect a current signal generated by at least one grounding resistor connected to a grounding wire in a closed loop induced by the current induction coil; A high-pass filter circuit is coupled to the current coil detection circuit, and the current coil detection circuit transmits the detected current signal to the high-pass filter circuit, and the low-frequency interference signal is filtered out by the high-pass filter circuit; The program-controlled amplifier circuit is connected to the high-pass filter circuit, and is used to sample the current signal after filtering out the low-frequency interference signal, and input the current signal to the analog sampling interface of the ARM processor through a DC bias. After receiving the current signal, the ARM processes it to obtain the resistance value of the grounding wire.

2. The signal conditioning device for detecting ground resistance value according to claim 1, characterized in that: The ARM processor controls the on and off of the switch tube of the inverter full bridge through a unipolar frequency-doubled SPWM modulation method, so as to generate an output PWM pulse signal at least twice the carrier frequency without increasing the switching frequency.

3. The signal conditioning device for detecting ground resistance value according to claim 1, characterized in that: The program-controlled amplifier circuit is composed of an inverting amplifier circuit composed of analog switches.

4. The signal conditioning device for detecting ground resistance value according to claim 3, characterized in that: The program-controlled amplifier circuit is an 8-channel program-controlled gain amplifier circuit with variable gain.

5. The signal conditioning device for detecting ground resistance value according to claim 3, characterized in that: The ARM processor controls the analog switch in the programmable amplifier circuit through the ARM port line to select the gain of the programmable amplifier through the analog switch, to form an excitation signal with a set frequency multiplication by setting the gain, and to perform 1024-point data sampling on the current signal that filters out the low-frequency interference signal with the set frequency multiplication as the sampling rate.

6. The signal conditioning device for detecting ground resistance value according to claim 5, characterized in that: The ARM processor is also provided with an adaptive module, which is used to set a corresponding amplitude threshold according to the sampling range of the AD. If the amplitude exceeds the threshold, the gain of the programmable amplifier will be automatically reduced.

7. The signal conditioning device for detecting ground resistance value according to claim 1, characterized in that: The ARM processor is provided with a processing module, which selects a digital bandpass filter coefficient with adjustable center frequency according to the frequency of the excitation signal, performs FIR digital filtering on the 1024-point data in a fixed-point manner, performs fast Fourier transform on the filtered data, and calculates the amplitude of the excitation signal frequency and the amplitude of other frequencies.

8. A signal conditioning method for detecting grounding resistance value, comprising the signal conditioning device for detecting grounding resistance value according to claims 1-7, characterized in that: The steps include: The ARM processor outputs a PWM pulse signal to control a single-phase inverter full-bridge circuit to generate an alternating voltage with a variable frequency of 1kHz-2kHZ to supply power to a voltage coil provided at the grounding conductor; An alternating magnetic field is generated on the voltage coil, and the closed ground loop generates an induced voltage under the action of the magnetic field, and the induced voltage generates an induced current in the closed ground loop; detecting a current signal generated by at least one grounding resistor connected to a grounding conductor in a closed loop and sensed by a current sensing coil; The current coil detection circuit transmits the detected current signal to the high-pass filter circuit, and the low-frequency interference signal is filtered out by the high-pass filter circuit; The current signal from which the low-frequency interference signal is filtered is sampled, and the current signal is input to the analog sampling interface of the ARM processor through a DC bias. After receiving the current signal, the ARM processes it to obtain the resistance value of the grounding wire.

9. The signal conditioning method for detecting ground resistance value according to claim 8, characterized in that: The method of sampling a current signal from which a low-frequency interference signal is filtered out, and inputting the current signal into an analog sampling interface of an ARM processor through a DC bias, wherein the ARM receives the current signal and processes the signal to obtain a resistance value of a grounding conductor includes: 1) Setting the sampling rate of the ADC through the ARM processor; 2) Output PWM pulse signal; 3) The ARM processor controls the analog switch in the program-controlled amplifier circuit through the ARM port line to select the maximum gain of the program-controlled amplifier through the analog switch; 4) Enable DMA transfer interrupt and start collecting data; 5) Determine whether the 1024-point data sampling is completed. If the acquisition is not completed, re-enable the DMA transmission interrupt and collect data; if it is completed, disable DMA and use fixed-point method to perform FIR digital filtering on the 1024-point data. 6) Perform fast Fourier transform on the filtered data to obtain the amplitude of the excitation signal frequency and the amplitude of other frequencies; 7) Determine whether the frequency amplitude of the excitation signal is within the set amplitude threshold. If so, calculate the measured ground resistance value. If it exceeds the threshold, control the gain of the programmable amplifier through the adaptive module to reduce the frequency, and repeat steps 4)-7) to make the frequency amplitude of the excitation signal within the set amplitude threshold; 8) Calculate the resistance value of the grounding wire.

10. The signal conditioning method for detecting ground resistance value according to claim 9, characterized in that: In step 6), determine whether the frequency amplitude of the other excitation signals is within a suitable range. If so, select the maximum gain of the programmable amplifier. If not, adjust the PWM signal to the desired frequency and output a PWM pulse signal.