A method and device for detecting power grid impedance

By injecting high-frequency sinusoidal carrier signals above 10 kHz into the power grid and performing amplification and integration processing, the problems of high cost, large size and harmonic pollution of power grid impedance detection in the existing technology are solved, and a high-precision, low-cost and portable power grid is realized. Impedance detection.

CN118393222BActive Publication Date: 2024-09-20GUANGZHOU RIMSEA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410814992.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-20
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Existing grid impedance detection technology relies on grid-connected inverters, which are large in size, high in cost, and low in injection frequency, resulting in harmonic pollution and complex solution processes, making them incapable of portable use.

Method used

A high-frequency sinusoidal carrier above 10kHZ is used to inject a mA-level sinusoidal carrier signal, which is processed in real time through the MCU module, amplifies the integral processing feedback carrier signal, determines the grid impedance in real time, reduces cost and volume, and improves portability.

Benefits of technology

It achieves high-precision, low-cost, and low-pollution power grid impedance detection, simplifies the calculation process, reduces the requirements for MCU resources, and improves the portability of the detection device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118393222B
    Figure CN118393222B
Patent Text Reader

Abstract

The present application provides a detection method and a detection device for grid impedance. The detection method for grid impedance is applied to a detection device for grid impedance, and the method comprises: the detection device injects a high-frequency sinusoidal carrier obtained by real-time processing into a target grid, and the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target grid, and feeds back a corresponding feedback carrier signal to the detection device; amplifies and integrates the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal; based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, processes the feedback DC signal corresponding to the feedback carrier signal, and determines the equivalent impedance of the target grid in real time; does not need to rely on power electronic conversion equipment such as a grid-connected inverter, has a small size, low cost, and can be used portable; has less pollution to the grid than low-frequency harmonics; reduces the complexity of the solution process, and reduces the requirements for MCU resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power electronics technology, and in particular to a method and device for detecting power grid impedance. Background Art

[0002] With the vigorous development of the new energy industry in recent years, more and more grid-feeding equipment has been connected to the grid, and the power load has become more and more diversified, and its impedance characteristics have become more complex. As a result, the impedance fluctuation of the grid has become more intense and frequent, sometimes presenting a "weak grid" and sometimes presenting a "strong grid". Therefore, in order to improve the stability of the entire grid, it is necessary to identify the real-time impedance of the grid, and dispatch the power generation and power consumption equipment according to the real-time detected grid impedance to ensure the stability and reliability of the grid.

[0003] Currently, the commonly used methods for detecting grid impedance include passive detection method and active injection detection method. The passive detection method detects the harmonics of the inherent voltage and current of the grid to calculate the grid impedance. This method has large noise interference and very limited recognition accuracy. The active injection detection method can distinguish other interference signals by injecting specific harmonics, so it has higher resistance impedance recognition accuracy, so it is more widely used.

[0004] The patent with publication number CN 105259414 A proposes an online detection method for grid impedance based on an inverter. This method can measure the grid impedance in real time and more accurately by injecting disturbances through a voltage-controlled grid-connected inverter. However, this method always relies on the grid-connected inverter and injects low-frequency harmonics, which also pollutes the grid. The patent with publication number CN 110045187A proposes a grid impedance identification method for a grid-connected inverter based on high-frequency signal injection. This method directly superimposes a three-phase high-frequency voltage signal on the modulated signal to ensure the effective injection of the high-frequency signal and improve the identification accuracy of the grid impedance. However, this method requires the support of current, voltage Hall and grid-connected inverters, which has high implementation costs. At the same time, voltage harmonics are injected, which still pollutes the grid.

[0005] The existing active injection grid impedance detection technology has the following main defects: First, it needs to rely on power electronic conversion equipment such as grid-connected inverters, which are large in size, heavy in weight, and high in cost. It often requires professional installation and cannot be used portable; second, the injection frequency is generally below 1KHZ, and the injected current is large, generally above Class A, or even more than tens of A, which will cause greater harmonic pollution to the grid; third, grid injection requires complex modulation and demodulation, coordinate transformation and loop debugging; at the same time, detection also requires complex FFT transformation, which has high requirements for MCU resources. Summary of the invention

[0006] In view of this, the purpose of the present application is to provide a method and device for detecting grid impedance. The grid impedance can be detected by injecting a mA-level sinusoidal carrier signal with a high-frequency sinusoidal carrier of more than 10 kHz, which greatly reduces the implementation cost and the size of the detection device, improves portability, and reduces pollution to the grid.

[0007] An embodiment of the present application provides a method for detecting power grid impedance, which is applied to a detection device for power grid impedance. The detection method includes:

[0008] The detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid, so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device;

[0009] The detection device receives the feedback carrier signal, performs amplification and integration processing on the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal;

[0010] Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time.

[0011] In some embodiments, in the grid impedance detection method, the feedback carrier signal is amplified and integrated to obtain a feedback DC signal corresponding to the feedback carrier signal, including:

[0012] Amplifying the feedback carrier signal in phase and in reverse phase to obtain an amplified feedback carrier signal;

[0013] The amplified feedback carrier signal is integrated for multiple target time periods to obtain multiple groups of feedback DC signals; the first target time period among the multiple target time periods is a cycle, and the second target time periods among the multiple target time periods are combined into a cycle; the cycles of the first target time period and the combination of the multiple second target time periods partially overlap.

[0014] In some embodiments, in the grid impedance detection method, the multiple target time periods are: (-π / 4, π / 4], (+π / 4, +3π / 4], (0, π / 2].

[0015] In some embodiments, in the grid impedance detection method, based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time, including:

[0016] Based on the process of amplifying and integrating the feedback carrier signal, the feedback DC signal is restored to obtain a restored feedback carrier signal;

[0017] Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, a target transfer function model is determined; wherein the target transfer function model includes the high-frequency sinusoidal carrier, the feedback carrier signal, and the attribute parameters of the detection device;

[0018] The restored feedback carrier signal and the high-frequency sinusoidal carrier are processed based on the target transfer function model to determine the equivalent impedance of the target power grid in real time.

[0019] In some embodiments, in the method for detecting grid impedance, the target transfer function model is:

[0020]

[0021] Among them, ZL is the equivalent impedance of the target power grid, VI is the injected high-frequency sinusoidal carrier, VO is the feedback carrier signal restored by sampling, Rs and R10 are the internal sampling resistors of the circuit of the detection device, s(f) is the complex form corresponding to the frequency of the injected high-frequency sinusoidal carrier, Cs is the isolation capacitor at the rear end of the isolation transformer of the detection device, Cp is the DC blocking capacitor at the front end of the isolation transformer of the detection device, and Lm1 is the primary excitation inductance of the isolation transformer of the detection device.

[0022] In some embodiments, in the detection method of the power grid impedance, the detection device includes: an MCU module, a filter module, and an isolation module; the output end of the MCU module is connected to the port of the target power grid through the filter module and the isolation module;

[0023] The detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid, including:

[0024] The MCU module of the detection device sends a high-frequency pulse signal, and processes the high-frequency pulse signal through a filtering module, and obtains a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal;

[0025] A high-frequency sinusoidal carrier is injected into the port of the target power grid through the isolation module.

[0026] In some embodiments, in the method for detecting grid impedance, the filtering module includes a low-pass filter and a DC blocking capacitor;

[0027] Processing the high-frequency pulse signal through a filtering module and obtaining a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal includes:

[0028] Extracting the fundamental wave in the high-frequency pulse signal through a low-pass filter in the filtering module to obtain a sine wave signal;

[0029] The DC component in the sine wave signal is filtered by the DC blocking capacitor in the filter module to obtain a high-frequency sinusoidal carrier.

[0030] In some embodiments, in the method for detecting grid impedance, the isolation module includes an isolation transformer and an isolation capacitor;

[0031] Current isolation is performed through an isolation transformer in the isolation module, electrical isolation is performed through an isolation capacitor in the isolation module, and a high-frequency sinusoidal carrier is injected into the port of the target power grid.

[0032] In some embodiments, in the detection method of the power grid impedance, the detection device also includes a sampling and conditioning module, and the feedback end of the target power grid is connected to the input end of the MCU module through the isolation module, the sampling and conditioning module;

[0033] The detection device receives the feedback carrier signal, amplifies and integrates the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal, including:

[0034] The isolation module receives the feedback carrier signal fed back by the target power grid after the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and sends the feedback carrier signal to the sampling and conditioning module;

[0035] The sampling and conditioning module amplifies and integrates the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal, and sends the feedback DC signal to the MCU module, so that the MCU module processes the feedback DC signal corresponding to the feedback carrier signal based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, and determines the equivalent impedance of the target grid in real time.

[0036] In some embodiments, a detection device for grid impedance is also provided, which includes: an MCU module, a filtering module, an isolation module, and a sampling and conditioning module; the output end of the MCU module is connected to the port of the target grid through the filtering module and the isolation module; the feedback end of the target grid is connected to the input end of the MCU module through the isolation module, the sampling and conditioning module; the detection device is used to execute the grid impedance detection method.

[0037] In an embodiment of the present application, a detection method and a detection device for grid impedance are provided. The detection method for grid impedance is applied to a detection device for grid impedance. The detection method comprises: the detection device injects a high-frequency sinusoidal carrier obtained by real-time processing into a port of a target grid, so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target grid, and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device; the detection device receives the feedback carrier signal, amplifies and integrates the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal; based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time; the detection device generates a high-frequency sinusoidal carrier in real time and injects it into the target grid, does not need to rely on power electronic conversion equipment such as a grid-connected inverter, has a small size, light weight, low cost, and can be used portable; adopts a method of injecting a high-frequency sinusoidal carrier above 10 kHz, and injects a mA-level sinusoidal wave signal to realize the detection of grid impedance, thereby greatly reducing the implementation cost, and the pollution to the grid is small compared to low-frequency harmonics; the complexity of the solution process is reduced, and the requirements for MCU resources are reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A flow chart of a method for detecting grid impedance according to an embodiment of the present application is shown;

[0040] Figure 2 A circuit schematic diagram of a detection device for grid impedance according to an embodiment of the present application is shown;

[0041] Figure 3 A flow chart showing a method in which the detection device according to an embodiment of the present application injects a high-frequency sinusoidal carrier obtained through real-time processing into a port of a target power grid is shown;

[0042] Figure 4 A reference schematic diagram of input and output waveforms of the low-pass filter described in an embodiment of the present application is shown;

[0043] Figure 5 The reference waveform of the injection of the DC blocking capacitor and the sampling resistor R10 according to the embodiment of the present application is shown;

[0044] Figure 6 The input and output reference waveforms of the sampling and conditioning circuit described in the embodiment of the present application are shown;

[0045] Figure 7 A flow chart of a method for determining the equivalent impedance of the target power grid in real time according to an embodiment of the present application is shown;

[0046] Figure 8 The basic model of the grid impedance ZL described in the embodiment of the present application is shown; DETAILED DESCRIPTION

[0047] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0048] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0049] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0050] With the prevalence of new energy, the number of grid-feeding devices in the power grid continues to increase, resulting in increasingly complex impedance characteristics of the power grid, and more intense and frequent impedance fluctuations. In order to ensure the stability and reliability of the power grid, it is crucial to accurately identify the real-time impedance of the power grid. At present, the detection methods of power grid impedance mainly include passive detection method and active injection detection method. The passive detection method is mainly based on the inherent voltage and current harmonics of the power grid for calculation, but due to the large noise interference, its recognition accuracy is relatively limited. The active injection detection method improves the recognition accuracy of the resistance impedance by injecting specific harmonics to distinguish other interference signals, so it is more widely used in practical applications.

[0051] However, the existing active injection-type grid impedance detection technology still has some shortcomings. First, it needs to rely on power electronic conversion equipment such as grid-connected inverters, which leads to large size, heavy weight, high cost, and often requires professional personnel to install, which is not portable enough. Secondly, the injection frequency is generally below 1KHZ, and the injected current is large, generally above Class A, and even reaches tens of A, which will cause greater harmonic pollution to the power grid. In addition, grid injection requires complex modulation and demodulation, coordinate transformation, and loop debugging; at the same time, detection also requires complex FFT transformation, which has high requirements for MCU resources.

[0052] Based on this, in an embodiment of the present application, a detection method and a detection device for power grid impedance are provided. The detection method for power grid impedance is applied to the detection device for power grid impedance. The detection method comprises: the detection device injects a high-frequency sinusoidal carrier obtained by real-time processing into a port of a target power grid so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device; the detection device receives the feedback carrier signal, amplifies and integrates the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal; based on the high-frequency sinusoidal carrier, the feedback The relationship between the carrier signal and the grid impedance is determined, and the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time; the detection device generates a high-frequency sinusoidal carrier in real time and injects it into the target grid, without relying on power electronic conversion equipment such as grid-connected inverters, and is small in size, light in weight, low in cost, and can be used portable; the method of injecting a high-frequency sinusoidal carrier above 10kHZ is adopted, and the detection of grid impedance can be realized by injecting a mA-level sinusoidal wave signal, thereby greatly reducing the implementation cost, and the pollution to the grid is small compared to low-frequency harmonics; the complexity of the solution process is reduced, and the requirements for MCU resources are reduced.

[0053] Please refer to Figure 1 , Figure 1 The flowchart of the detection method of the power grid impedance described in the embodiment of the present application is shown. Specifically, the detection method is applied to the detection device of the power grid impedance. The detection method includes the following steps S101-S103:

[0054] S101, the detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid, so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device;

[0055] S102, a detection device receives the feedback carrier signal, amplifies and integrates the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal;

[0056] S103: Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time.

[0057] Please refer to Figure 2 , Figure 2 A circuit schematic diagram of a grid impedance detection device according to an embodiment of the present application is shown; the grid impedance detection device comprises: an MCU module 201, a filtering module, an isolation module, and a sampling and conditioning module; the output end of the MCU module 201 is connected to a port of a target grid 202 via a filtering module and an isolation module; the feedback end of the target grid 202 is connected to the input end of the MCU module 201 via an isolation module, a sampling and conditioning module.

[0058] In step S101, the detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device.

[0059] Specifically, because the detection device includes: an MCU module, a filter module, and an isolation module; the output end of the MCU module is connected to the port of the target power grid through the filter module and the isolation module; therefore, please refer to Figure 3 The detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid, including the following steps S301-S302:

[0060] S301, the MCU module of the detection device sends a high-frequency pulse signal, and processes the high-frequency pulse signal through a filtering module, and obtains a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal;

[0061] S302 . Inject a high-frequency sinusoidal carrier into a port of a target power grid through an isolation module.

[0062] That is to say, the high-frequency sinusoidal carrier wave is a high-frequency pulse signal output by the MCU module of the detection device, and the fundamental wave of the high-frequency pulse signal is extracted through the filtering module, and the fundamental wave is converted into a high-frequency sinusoidal carrier wave.

[0063] The frequency of the high-frequency sinusoidal carrier is greater than 10KHZ.

[0064] Since the high-frequency sinusoidal carrier is essentially emitted by the MCU module, generally speaking, the current driving capability of the MCU module is at the mA level. Therefore, the level of the high-frequency sinusoidal carrier is a mA-level sinusoidal wave signal, which has less pollution to the power grid than low-frequency harmonics.

[0065] It should be noted that the specific value of the mA-level sine wave signal will vary depending on the manufacturer and model of the MCU module.

[0066] Furthermore, the direct current component is filtered out of the high frequency sinusoidal carrier.

[0067] The MCU module may also be referred to as a microcontroller module, and specifically may be an ARM, a DSP or a single-chip microcomputer.

[0068] The MCU module of the detection device sends out a high-frequency pulse signal. Specifically, the high-frequency pulse signal is a PWM signal, which is a pulse signal with a frequency of more than 10KHZ and a duty cycle of 50%.

[0069] The ports of the target power grid are specifically the L line and the N line of the target power grid.

[0070] In the method for detecting the grid impedance described in the embodiment of the present application, specifically, the filtering module includes a low-pass filter and a DC blocking capacitor;

[0071] Processing the high-frequency pulse signal through a filtering module and obtaining a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal includes:

[0072] Extracting the fundamental wave in the high-frequency pulse signal through a low-pass filter in the filtering module to obtain a sine wave signal;

[0073] The DC component in the sine wave signal is filtered by the DC blocking capacitor in the filter module to obtain a high-frequency sinusoidal carrier.

[0074] In the method for detecting grid impedance described in the embodiment of the present application, the isolation module includes an isolation transformer and an isolation capacitor;

[0075] Current isolation is performed through an isolation transformer in the isolation module, electrical isolation is performed through an isolation capacitor in the isolation module, and a high-frequency sinusoidal carrier is injected into the port of the target power grid.

[0076] Specifically, the isolation capacitor is a safety capacitor.

[0077] In some embodiments, the low pass filter can be replaced by a DAC module.

[0078] The high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device. Specifically, the feedback carrier signal corresponding to the high-frequency sinusoidal carrier is fed back to the isolation module of the detection device.

[0079] Please refer to Figure 2 The following describes the specific working process of the detection device injecting the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid:

[0080] A fixed or variable PWM signal Vpwm of 10KHZ or above is sent out through the PWM output terminal of the MCU module 201. The signal is a high-frequency pulse signal with a duty cycle of 50% and a frequency of 10KHZ or above. The high-frequency pulse signal is passed through a low-pass filter 203 to obtain a fundamental wave, which is a standard sine wave signal. The sine wave signal is the injection signal Vsin. The low-pass filter 203 will cause amplitude attenuation and phase shift of the pulse signal. For details, please refer to Figure 4 , Figure 4 A reference schematic diagram of input and output waveforms of the low-pass filter described in an embodiment of the present application is shown.

[0081] The standard sinusoidal wave signal output by the low-pass filter 203 is filtered out of the DC component by the DC blocking capacitor Cp. In order to improve the signal's anti-interference ability, a high-frequency isolation transformer 204 is used for current isolation. Then, electrical isolation is achieved through the safety capacitor Cs to meet safety requirements and then injected into the PCC power grid port L and N lines. The high-frequency current will penetrate the equivalent impedance ZL of the power grid, and finally be fed back to the sampling resistor Rs at the negative end of the primary side of the high-frequency isolation transformer 204 to be converted into a feedback carrier signal Vsam. After the injected signal Vsin passes through the DC blocking capacitor Cp, the high-frequency isolation transformer 204 and the safety capacitor Cs, the amplitude and phase will change. The signal output by the safety capacitor Cs is sampled by the sampling resistor R10 on the secondary side of the high-frequency isolation transformer 204. Please refer to Figure 5 , Figure 5 The reference waveform of the injection blocking capacitor and the sampling resistor R10 according to the embodiment of the present application is shown.

[0082] In the step S102, the detection device receives the feedback carrier signal, performs amplification and integration processing on the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal.

[0083] Specifically, the feedback carrier signal is amplified and integrated to obtain a feedback DC signal corresponding to the feedback carrier signal, including:

[0084] Amplifying the feedback carrier signal in phase and in reverse phase to obtain an amplified feedback carrier signal;

[0085] The amplified feedback carrier signal is integrated for multiple target time periods to obtain multiple groups of feedback DC signals; the first target time period among the multiple target time periods is a cycle, and the second target time periods among the multiple target time periods are combined into a cycle; the cycles of the first target time period and the combination of the multiple second target time periods partially overlap.

[0086] In the embodiment of the present application, the multiple target time periods are: (-π / 4, π / 4], (+π / 4, +3π / 4], (0, π / 2].

[0087] In the embodiment of the present application, the multiple target time periods are specifically three target time periods, corresponding to three feedback DC signals; the equivalent impedance of the target power grid can be solved by any two of the target time periods; however, further using three time periods can correct the deviation and make the calculation result of the equivalent impedance more accurate.

[0088] In the present application, the process of amplifying and integrating the feedback carrier signal is specifically implemented through a hardware sampling and conditioning module.

[0089] Specifically, the detection device also includes a sampling and conditioning module, and the feedback end of the target power grid is connected to the input end of the MCU module through the isolation module, the sampling and conditioning module;

[0090] The detection device receives the feedback carrier signal, amplifies and integrates the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal, including:

[0091] The isolation module receives the feedback carrier signal fed back by the target power grid after the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and sends the feedback carrier signal to the sampling and conditioning module;

[0092] The sampling and conditioning module amplifies and integrates the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal, and sends the feedback DC signal to the MCU module, so that the MCU module processes the feedback DC signal corresponding to the feedback carrier signal based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, and determines the equivalent impedance of the target grid in real time.

[0093] The sampling and conditioning module can also be called a sampling and conditioning circuit.

[0094] Please refer to Figure 2 After the grid impedance is attenuated, the feedback carrier signal Vsam has a relatively small amplitude and is a high-frequency signal. It is difficult for a general MCU sampling rate to process. Therefore, a specific sampling and conditioning circuit 205 is used in the embodiment of the present application. The sampling and conditioning circuit 205 first amplifies the feedback carrier signal Vsam in phase and inverse phase, and then integrates the signal in time periods through a hardware circuit. In the embodiment of the present application, specifically, (-π / 4, π / 4] segment integration is used to obtain Vad1, (+π / 4, +3π / 4] segment integration is used to obtain Vad2, and (0, π / 2] segment integration is used to obtain Vad3. Finally, the three sets of integrated DC signals Vad are sent to the ADC sampling port of the MCU module 201.

[0095] Please refer to Figure 6 , Figure 6The input and output reference waveforms of the sampling and conditioning circuit described in the embodiment of the present application are shown, that is, the input is the feedback carrier signal Vsam, and the output is the three-segment integral value corresponding to Vad1 / Vad2 / Vad3.

[0096] In the step S103, based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time.

[0097] Specifically, in the embodiment of the present application, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target power grid in real time. The feedback DC signal must first be restored to a feedback carrier signal, and then based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the power grid impedance, the high-frequency sinusoidal carrier and the restored feedback carrier signal are processed to determine the equivalent impedance of the target power grid in real time.

[0098] For details, please refer to Figure 7 Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time, including the following steps S701-S703:

[0099] S701, based on the process of amplifying and integrating the feedback carrier signal, restore the feedback DC signal to obtain a restored feedback carrier signal;

[0100] S702, determining a target transfer function model based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal, and the grid impedance; wherein the target transfer function model includes the high-frequency sinusoidal carrier, the feedback carrier signal, and the attribute parameters of the detection device;

[0101] S703: Process the restored feedback carrier signal and high-frequency sinusoidal carrier based on the target transfer function model to determine the equivalent impedance of the target power grid in real time.

[0102] In step S701, the feedback DC signal is restored to obtain a restored feedback carrier signal. Specifically, a differential equation group of the feedback DC signal including the amplitude and phase of the restored feedback carrier signal is constructed, and the amplitude and phase of the restored feedback carrier signal are obtained by inversely solving the integral equation group, that is, the restored feedback carrier signal is obtained.

[0103] The differential equation group of the feedback DC signal including the amplitude and phase of the restored feedback carrier signal, one side is an integral formula for amplifying and integrating based on the amplitude and phase of the restored feedback carrier signal, and the other side is the feedback DC signal obtained by amplifying and integrating.

[0104] For details, please refer to Figure 2 The ADC sampling port of the MCU module 201 samples the Vad signal (Vad1 / Vad2 / Vad3) after the sampling and conditioning circuit 205. The amplification and integration process of Vad1 / Vad2 / Vad3 is as shown in the following three equations (1), (2) and (3). There are two unknown parameters (the amplitude x1 and phase y1 of the feedback carrier signal). The software configured in the MCU module can restore the amplitude x1 and phase y1 (relative to the Vpwm signal) of the feedback carrier signal Vsam by inversely solving the integral equation group, thereby performing relative phase and amplitude calculation to obtain the restored feedback carrier signal.

[0105] (1)

[0106] (2)

[0107] (3)

[0108] In the above equations (1), (2) and (3), t0 represents the time point; f represents the frequency of the feedback carrier signal Vsam, w represents the angular frequency, t represents the independent variable in the integrand, x1 represents the amplitude of the feedback carrier signal, y1 represents the phase of the feedback carrier signal; Vad1, Vad2, Vad3 represent the three Vad signals output by the sampling and conditioning circuit.

[0109] Please refer to Figure 2 , the MCU module 201 calculates the grid impedance based on the feedback carrier signal obtained by inverse solution and restored; specifically, because the feedback carrier signal Vsam is a carrier signal obtained by filtering the high-frequency sinusoidal carrier Vpwm and attenuating the grid impedance ZL, Vsam and Vpwm will change with the change of the impedance ZL of the target grid, and the relationship between the three can be expressed by a specific transfer function (that is, the target transfer function model described in the embodiment of the present application). By reverse solving, the complex impedance value of ZL can be obtained through the relative amplitude and phase relationship between Vsam and Vpwm. This value is the equivalent impedance of the target grid, which can also be referred to as the grid impedance.

[0110] Please refer to Figure 8 , Figure 8 The basic model of the grid impedance ZL described in the embodiment of the present application is shown.

[0111] The target sensing function model is constructed based on the ratio of the feedback carrier signal and the high-frequency sinusoidal carrier, which is equal to the ratio of the sampling resistor for collecting the feedback carrier signal and the impedance corresponding to the high-frequency sinusoidal carrier; wherein the ratio of the impedance corresponding to the high-frequency sinusoidal carrier is constructed based on some hardware parameters of the detection device, the equivalent impedance of the target power grid, and the frequency of the injected high-frequency sinusoidal carrier.

[0112] Please refer to Figure 2 , the sampling resistor for collecting the feedback carrier signal is the sampling resistor Rs at the negative end of the primary side of the isolation transformer of the detection device.

[0113] Specifically, some hardware parameters of the detection device include: sampling resistor R10 on the secondary side of the isolation transformer of the detection device, isolation capacitor Cs at the rear end of the isolation transformer, DC blocking capacitor Cp at the front end of the isolation transformer, and primary excitation inductance Lm1 of the isolation transformer of the detection device.

[0114] Specifically, based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the target transfer function model is determined, that is, the target transfer function model characterizes the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance. In the embodiment of the present application, the target transfer function model is as shown in the following formula (4):

[0115] (4)

[0116] Among them, ZL is the equivalent impedance of the target power grid, VI is the injected high-frequency sinusoidal carrier, VO is the feedback carrier signal restored by sampling, Rs and R10 are the internal sampling resistors of the circuit of the detection device, s(f) is the complex form corresponding to the frequency of the injected high-frequency sinusoidal carrier, Cs is the isolation capacitor at the rear end of the isolation transformer of the detection device, Cp is the DC blocking capacitor at the front end of the isolation transformer of the detection device, and Lm1 is the primary excitation inductance of the isolation transformer of the detection device.

[0117] Specifically, Rs is a sampling resistor at the negative end of the primary side of the isolation transformer, and R10 is a sampling resistor at the secondary side of the isolation transformer of the detection device.

[0118] Based on the target transfer function model represented by the above formula (4), the equivalent impedance ZL of the target power grid is inversely deduced as shown in formula (5), and the formula (5) is:

[0119] .

[0120] After the equivalent impedance of the target power grid is determined in real time, the power generation and power consumption equipment are dispatched according to the real-time detected power grid impedance to ensure the stability and reliability of the power grid.

[0121] The detection method of the grid impedance provided in the embodiment of the present application adopts a method in which an MCU (microcontroller unit) generates a high-frequency sinusoidal carrier wave of more than 10 kHz and injects it into the grid, injects a mA-level sinusoidal wave signal, and amplifies and integrates the feedback carrier signal of the grid, so that the MCU can accurately calculate the grid impedance, effectively reducing the implementation cost and volume, and improving portability. In addition, since the injected signal is only at the mA level and only the fundamental wave is extracted, the pollution to the grid is much less than the low-frequency harmonics, thereby solving the problems of the existing grid impedance detection technology, such as dependence on power electronic conversion equipment, inconvenient operation, high cost, low-frequency harmonic pollution to the grid, and complex implementation.

[0122] Based on the same inventive concept, the embodiment of the present application also provides a task dispatching device corresponding to the task dispatching method. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the task dispatching method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0123] Please refer to Figure 2 A power grid impedance detection device provided in an embodiment of the present application includes: an MCU module, a filtering module, an isolation module, and a sampling and conditioning module; the output end of the MCU module is connected to the port of the target power grid through the filtering module and the isolation module; the feedback end of the target power grid is connected to the input end of the MCU module through the isolation module, the sampling and conditioning module; the detection device is used to execute the power grid impedance detection method described in the embodiment of the present application.

[0124] In some embodiments, the detection device of the grid impedance described in the embodiments of the present application is specifically used for:

[0125] Injecting the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and feeding back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device;

[0126] The detection device receives the feedback carrier signal, performs amplification and integration processing on the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal;

[0127] Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time.

[0128] In some embodiments, the detection device for grid impedance described in the embodiments of the present application, when amplifying and integrating the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal, is specifically used to:

[0129] Amplifying the feedback carrier signal in phase and in reverse phase to obtain an amplified feedback carrier signal;

[0130] The amplified feedback carrier signal is integrated for multiple target time periods to obtain multiple groups of feedback DC signals; the first target time period among the multiple target time periods is a cycle, and the second target time periods among the multiple target time periods are combined into a cycle; the cycles of the first target time period and the combination of the multiple second target time periods partially overlap.

[0131] In some embodiments, in the detection device for grid impedance described in the embodiments of the present application, the multiple target time periods are: (-π / 4, π / 4], (+π / 4, +3π / 4], (0, π / 2].

[0132] In some embodiments, the detection device of the grid impedance described in the embodiments of the present application, based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, processes the feedback DC signal corresponding to the feedback carrier signal, and determines the equivalent impedance of the target grid in real time, specifically for:

[0133] Based on the process of amplifying and integrating the feedback carrier signal, the feedback DC signal is restored to obtain a restored feedback carrier signal;

[0134] Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, a target transfer function model is determined; wherein the target transfer function model includes the high-frequency sinusoidal carrier, the feedback carrier signal, and the attribute parameters of the detection device;

[0135] The restored feedback carrier signal and the high-frequency sinusoidal carrier are processed based on the target transfer function model to determine the equivalent impedance of the target power grid in real time.

[0136] In some embodiments, the target transfer function model in the detection device of the grid impedance described in the embodiments of the present application is:

[0137]

[0138] Among them, ZL is the equivalent impedance of the target power grid, VI is the injected high-frequency sinusoidal carrier, VO is the feedback carrier signal restored by sampling, Rs and R10 are the internal sampling resistors of the circuit of the detection device, s(f) is the complex form corresponding to the frequency of the injected high-frequency sinusoidal carrier, Cs is the isolation capacitor at the rear end of the isolation transformer of the detection device, Cp is the DC blocking capacitor at the front end of the isolation transformer of the detection device, and Lm1 is the primary excitation inductance of the isolation transformer of the detection device.

[0139] In some embodiments, in the detection device for the grid impedance described in the embodiments of the present application, when the detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target grid, specifically, the MCU module of the detection device is used to send a high-frequency pulse signal, and process the high-frequency pulse signal through a filtering module, and obtain a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal;

[0140] The isolation module is used to inject a high-frequency sinusoidal carrier into a port of a target power grid through the isolation module.

[0141] In some embodiments, in the detection device for grid impedance described in the embodiment of the present application, the filtering module includes a low-pass filter and a DC blocking capacitor; when the detection device processes the high-frequency pulse signal through the filtering module and obtains a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal, specifically,

[0142] The low-pass filter is used to extract the fundamental wave in the high-frequency pulse signal to obtain a sine wave signal;

[0143] The DC blocking capacitor is used to filter the DC component in the sine wave signal to obtain a high-frequency sine carrier.

[0144] In some embodiments, in the detection device for power grid impedance described in the embodiments of the present application, the isolation module includes an isolation transformer and an isolation capacitor;

[0145] The isolation module is used to perform current isolation through an isolation transformer, perform electrical isolation through an isolation capacitor in the isolation module, and inject a high-frequency sinusoidal carrier into a port of a target power grid.

[0146] In some embodiments, in the detection device for grid impedance described in the embodiments of the present application,

[0147] The isolation module is further used to receive a feedback carrier signal fed back by the target power grid after the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and send the feedback carrier signal to the sampling and conditioning module;

[0148] The sampling and conditioning module amplifies and integrates the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal, and sends the feedback DC signal to the MCU module, so that the MCU module processes the feedback DC signal corresponding to the feedback carrier signal based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, and determines the equivalent impedance of the target grid in real time.

[0149] The detection device for the grid impedance provided in the embodiment of the present application adopts a method in which an MCU (microcontroller unit) generates a high-frequency sinusoidal carrier wave of 10 kHz or more and injects it into the grid, injects a mA-level sinusoidal wave signal, and amplifies and integrates the feedback carrier signal of the grid, so that the MCU can accurately calculate the grid impedance, effectively reducing the implementation cost and volume, and improving portability. In addition, since the injected signal is only at the mA level and only the fundamental wave is extracted, the pollution to the grid is much less than the low-frequency harmonics, thereby solving the problems of the existing grid impedance detection technology, such as dependence on power electronic conversion equipment, inconvenient operation, high cost, low-frequency harmonic pollution to the grid, and complex implementation.

[0150] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0151] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0153] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a platform server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0154] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for detecting grid impedance, characterized in that: A detection device for power grid impedance, wherein the detection method comprises: The detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid, so that the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and feeds back a feedback carrier signal corresponding to the high-frequency sinusoidal carrier to the detection device; The detection device receives the feedback carrier signal, performs amplification and integration processing on the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal; Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time; Amplifying and integrating the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal includes: Amplifying the feedback carrier signal in phase and in reverse phase to obtain an amplified feedback carrier signal; The amplified feedback carrier signal is integrated for multiple target time periods to obtain multiple groups of feedback DC signals; the first target time period among the multiple target time periods is a cycle, and the second target time periods among the multiple target time periods are combined into a cycle; the cycles of the first target time period and the combination of the multiple second target time periods partially overlap.

2. The method for detecting grid impedance according to claim 1, characterized in that: The multiple target time periods are: (-π / 4, π / 4], (+π / 4, +3π / 4], (0, π / 2].

3. The method for detecting grid impedance according to claim 1, characterized in that: Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, the feedback DC signal corresponding to the feedback carrier signal is processed to determine the equivalent impedance of the target grid in real time, including: Based on the process of amplifying and integrating the feedback carrier signal, the feedback DC signal is restored to obtain a restored feedback carrier signal; Based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, a target transfer function model is determined; wherein the target transfer function model includes the high-frequency sinusoidal carrier, the feedback carrier signal, and the attribute parameters of the detection device; The restored feedback carrier signal and the high-frequency sinusoidal carrier are processed based on the target transfer function model to determine the equivalent impedance of the target power grid in real time.

4. The method for detecting grid impedance according to claim 3, characterized in that: The target transfer function model is: Among them, ZL is the equivalent impedance of the target power grid, VI is the injected high-frequency sinusoidal carrier, VO is the feedback carrier signal restored by sampling, Rs and R10 are the internal sampling resistors of the circuit of the detection device, s(f) is the complex form corresponding to the frequency of the injected high-frequency sinusoidal carrier, Cs is the isolation capacitor at the rear end of the isolation transformer of the detection device, Cp is the DC blocking capacitor at the front end of the isolation transformer of the detection device, and Lm1 is the primary excitation inductance of the isolation transformer of the detection device.

5. The method for detecting grid impedance according to claim 1, characterized in that: The detection device comprises: an MCU module, a filter module, and an isolation module; the output end of the MCU module is connected to the port of the target power grid through the filter module and the isolation module; The detection device injects the high-frequency sinusoidal carrier obtained by real-time processing into the port of the target power grid, including: The MCU module of the detection device sends a high-frequency pulse signal, and processes the high-frequency pulse signal through a filtering module, and obtains a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal; A high-frequency sinusoidal carrier is injected into the port of the target power grid through the isolation module.

6. The method for detecting grid impedance according to claim 5, characterized in that: The filtering module includes a low-pass filter and a DC-isolating capacitor; Processing the high-frequency pulse signal through a filtering module and obtaining a high-frequency sinusoidal carrier based on the fundamental wave of the high-frequency pulse signal includes: Extracting the fundamental wave in the high-frequency pulse signal through a low-pass filter in the filtering module to obtain a sine wave signal; The DC component in the sine wave signal is filtered by the DC blocking capacitor in the filter module to obtain a high-frequency sinusoidal carrier.

7. The method for detecting grid impedance according to claim 5, characterized in that: The isolation module includes an isolation transformer and an isolation capacitor; Current isolation is performed through an isolation transformer in the isolation module, electrical isolation is performed through an isolation capacitor in the isolation module, and a high-frequency sinusoidal carrier is injected into the port of the target power grid.

8. The method for detecting grid impedance according to claim 5, characterized in that: The detection device also includes a sampling and conditioning module, and the feedback end of the target power grid is connected to the input end of the MCU module through the isolation module and the sampling and conditioning module; The detection device receives the feedback carrier signal, performs amplification and integration processing on the feedback carrier signal, and obtains a feedback DC signal corresponding to the feedback carrier signal, including: The isolation module receives the feedback carrier signal fed back by the target power grid after the high-frequency sinusoidal carrier penetrates the equivalent impedance of the target power grid, and sends the feedback carrier signal to the sampling and conditioning module; The sampling and conditioning module amplifies and integrates the feedback carrier signal to obtain a feedback DC signal corresponding to the feedback carrier signal, and sends the feedback DC signal to the MCU module, so that the MCU module processes the feedback DC signal corresponding to the feedback carrier signal based on the relationship between the high-frequency sinusoidal carrier, the feedback carrier signal and the grid impedance, and determines the equivalent impedance of the target grid in real time.

9. A device for detecting grid impedance, characterized in that: The detection device includes: an MCU module, a filtering module, an isolation module, and a sampling and conditioning module; the output end of the MCU module is connected to the port of the target power grid through the filtering module and the isolation module; the feedback end of the target power grid is connected to the input end of the MCU module through the isolation module, the sampling and conditioning module; the detection device is used to execute the power grid impedance detection method described in any one of claims 1-8.