Impedance measurement method, device, equipment, readable storage medium and program product

By acquiring the voltage and current signals after the initial disturbance signal in the grid-connected inverter, error estimation and signal correction are performed, solving the problem of low impedance measurement accuracy and achieving more efficient and accurate impedance measurement.

CN118937796APending Publication Date: 2024-11-12SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 2 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing impedance measurement methods struggle to balance accuracy and efficiency, especially in wideband impedance measurement of grid-connected inverters, where traditional methods suffer from low measurement accuracy.

Method used

By acquiring the voltage and current signals after the initial disturbance signal is injected into the point of common coupling, the initial impedance is calculated and the error is estimated. If the condition is not met, the disturbance signal is corrected to obtain the target disturbance signal. Finally, the target impedance is measured to improve the measurement accuracy.

Benefits of technology

This approach improves both the accuracy and efficiency of impedance measurement, ensuring that the target impedance is more consistent with the actual value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937796A_ABST
    Figure CN118937796A_ABST
Patent Text Reader

Abstract

The invention relates to an impedance measurement method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a first voltage signal and a first current signal at a common connection point acquired after an initial disturbance signal is injected into the common connection point, and calculating the initial impedance of the common connection point according to the first voltage signal and the first current signal; performing error estimation on the initial impedance to obtain an error estimation result; if the error estimation result does not meet the error estimation condition, correcting the initial disturbance signal according to the error estimation result to obtain a target disturbance signal; and measuring the target impedance of the common connection point according to the target disturbance signal. By adopting the method, the accuracy of impedance measurement can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to an impedance measurement method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] Accurate broadband impedance characteristics of grid-connected inverters (GCIs) are of great significance for analyzing and solving harmonic and stability problems, and lay the foundation for improving the power quality level of urban distribution networks and ensuring safe and stable operation of the system. Impedance measurement can be performed by injecting broadband signals. Injection broadband impedance obtains impedance characteristics by injecting small signal voltage or current into GCIs.

[0003] In the related art, impedance is measured by injecting a broadband perturbation signal (BPS). Since BPS contains a large number of frequency components, only one perturbation injection is required to obtain impedance at multiple frequencies. However, the accuracy of the impedance measured in this way is low. Summary of the invention

[0004] Based on this, it is necessary to provide an impedance measurement method, device, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of impedance measurement in order to solve the above technical problems.

[0005] In a first aspect, the present application provides an impedance measurement method, comprising:

[0006] Acquire a first voltage signal and a first current signal at the common connection point collected after an initial disturbance signal is injected into the common connection point, and calculate an initial impedance of the common connection point according to the first voltage signal and the first current signal;

[0007] Performing error estimation on the initial impedance to obtain an error estimation result;

[0008] If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal;

[0009] The target impedance of the common connection point is measured according to the target disturbance signal.

[0010] In one embodiment, the method further comprises:

[0011] Obtaining an amplitude error limit and a phase error limit of the initial disturbance signal;

[0012] Determining a minimum signal-to-noise ratio of the initial disturbance signal based on a first signal-to-noise ratio corresponding to the amplitude error limit and a second signal-to-noise ratio corresponding to the phase error limit;

[0013] Acquire a power spectrum density corresponding to the background noise of the common connection point before the initial disturbance signal is injected into the common connection point, and obtain a noise spectrum of the background noise based on the power spectrum density;

[0014] An initial amplitude of the initial disturbance signal is determined according to the minimum signal-to-noise ratio and the noise spectrum.

[0015] In one embodiment, the method further comprises:

[0016] Determine the objective function according to the number of sinusoidal signals in the initial disturbance signal, and determine the constraint conditions according to the signal peak value, signal frequency, frequency coupling characteristics and frequency distribution characteristics of the initial disturbance signal;

[0017] The objective function is solved based on the constraint conditions to obtain the maximum number of sinusoidal signals in the initial disturbance signal and the signal frequency and phase of each sinusoidal signal.

[0018] In one embodiment, calculating the initial impedance of the common connection point according to the first voltage signal and the first current signal includes:

[0019] Acquiring a second voltage signal and a second current signal at the common connection point collected before injecting the initial disturbance signal into the common connection point;

[0020] An initial impedance of the common connection point is calculated according to the first voltage signal, the first current signal, the second voltage signal, and the second current signal.

[0021] In one embodiment, performing error estimation on the initial impedance to obtain an error estimation result includes:

[0022] Acquire an initial impedance corresponding to each signal frequency of the initial disturbance signal to obtain a first initial impedance set;

[0023] Fitting the initial impedances in the first initial impedance set to obtain a first impedance curve;

[0024] A reference impedance is determined according to a target frequency and the first impedance curve, and a first error estimation result corresponding to the target frequency is obtained according to a difference between the reference impedance and an initial impedance corresponding to the target frequency; the target frequency includes any signal frequency.

[0025] In one embodiment, if the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal, including:

[0026] Obtaining first error estimation results corresponding to all signal frequencies;

[0027] Selecting the initial impedance corresponding to the second error estimation result that meets the error estimation condition from the first error estimation results to obtain a second initial impedance set;

[0028] Fitting the initial impedances in the second initial impedance set to obtain a second impedance curve;

[0029] If the difference between the fitted impedance and the initial impedance on the second impedance curve corresponding to the specified frequency does not meet the error estimation condition, the initial disturbance signal is corrected according to the second error estimation result to obtain the target disturbance signal; the specified frequency includes any signal frequency.

[0030] In a second aspect, the present application also provides an impedance measurement device, comprising:

[0031] an initial impedance calculation module, used to obtain a first voltage signal and a first current signal at the common connection point collected after an initial disturbance signal is injected into the common connection point, and calculate an initial impedance of the common connection point according to the first voltage signal and the first current signal;

[0032] An impedance error estimation module, used to perform error estimation on the initial impedance to obtain an error estimation result;

[0033] A disturbance signal correction module, configured to correct the initial disturbance signal according to the error estimation result to obtain a target disturbance signal if the error estimation result does not meet the error estimation condition;

[0034] The target impedance obtaining module is used to measure the target impedance of the common connection point according to the target disturbance signal.

[0035] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the impedance measurement method of the first aspect when executing the computer program.

[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the impedance measurement method of the first aspect.

[0037] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the impedance measurement method of the first aspect.

[0038] The impedance measurement method, apparatus, computer equipment, computer-readable storage medium and computer program product obtain a first voltage signal and a first current signal at the common connection point collected after the initial disturbance signal is injected into the common connection point, and calculate the initial impedance of the common connection point based on the first voltage signal and the first current signal, perform error estimation on the initial impedance, and obtain an error estimation result. If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal. According to the target disturbance signal, the target impedance of the common connection point is measured, and the target impedance can be obtained by measuring the target disturbance signal obtained by correcting the initial disturbance signal based on the error estimation result of the initial impedance, so that the target impedance is more consistent with the actual value, thereby improving the accuracy of the impedance measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A diagram showing an application environment of an impedance measurement method in an embodiment;

[0041] Figure 2 is a schematic flow chart of an impedance measurement method in one embodiment;

[0042] Figure 3 A schematic diagram of a noise spectrum in one embodiment;

[0043] Figure 4 is a waveform diagram of an initial disturbance signal in one embodiment;

[0044] Figure 5 is a schematic diagram of the spectrum of an initial disturbance signal in one embodiment;

[0045] Figure 6 is a flow chart of an impedance measurement method in another embodiment;

[0046] Figure 7 is a schematic diagram of a first impedance curve in an embodiment;

[0047] Figure 8 is a schematic diagram of a second impedance curve in one embodiment;

[0048] Fig. 9 is a schematic diagram of a third impedance curve in an embodiment;

[0049] Fig.10 is a structural block diagram of an impedance measuring device in one embodiment;

[0050] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0052] Accurate broadband impedance characteristics of grid-connected inverters are of great significance for analyzing and solving harmonic and stability problems, and lay the foundation for improving the power quality level of urban distribution networks and ensuring safe and stable operation of the system. Impedance measurement can be divided into two main categories: non-injection methods that can only measure harmonic impedance and injection methods that can measure broadband impedance.

[0053] Injection-type broadband impedance measurement obtains impedance characteristics by injecting small signal voltage or current disturbance into GCI. When the topology and control mode of GCI are unknown, the impedance characteristics of GCI can be calculated based on the voltage and current at the injected disturbance frequency. The core of injection-type broadband impedance measurement is the disturbance signal design.

[0054] In terms of disturbance signal design, the first thing to do is to select an appropriate disturbance signal amplitude. On the one hand, the disturbance signal amplitude cannot be too large, otherwise it may interfere with the normal operation of the GCI being measured, or even cause the risk of instability. On the other hand, due to the influence of noise, the disturbance signal amplitude cannot be too small, so that it is drowned by noise and the accuracy of the measurement results cannot be guaranteed.

[0055] The swept frequency method is a traditional impedance measurement method that includes multiple rounds of injection, each of which injects a single sinusoidal signal of different frequencies into the test system. Single sinusoidal disturbance has the best signal-to-noise ratio (SNR) to accurately measure impedance. Although the swept frequency method is known for its high accuracy, it is also inefficient and time-consuming. It may take several minutes or even longer to obtain the entire range of impedance of interest. Considering the relatively frequent switching of distributed power sources and energy storage in active distribution networks, as well as the rapid changes in operating conditions, the impedance measurement time is required to be short and fast to ensure that the impedance characteristics do not change during the entire spectrum measurement process. Therefore, a single sinusoidal signal is difficult to apply in this context.

[0056] In view of the limitations of the frequency sweep method, the application of BPS in impedance measurement has been widely studied in order to achieve fast impedance measurement. BPS contains a large number of frequency components, and only one disturbance injection is required to obtain the impedance at multiple frequencies, which greatly improves the measurement efficiency. In view of the requirements of rapidity, a variety of BPS have been proposed, typically including random pulse width modulation (RPWM) signals, chirp signals (Chirp Signals), pseudo random binary sequence signals (PRBS) and discrete interval binary sequence (DIBS). The randomness of RPWM makes its spectrum energy distribution uncontrollable, and it is impossible to design the distribution of disturbance energy in the entire measurement frequency band according to actual needs. To address this problem, Luhtala R studied the optimization design of the disturbance frequency band and disturbance energy of DIBS with a relatively complex design to achieve fast and accurate measurement of a certain frequency band. In addition, the frequency distribution of the above BPS is uniform. Although the frequency interval can be adjusted, the frequency distribution cannot be designed separately, nor can the disturbance amplitude at each frequency be designed separately. To address this problem, a multi-sinusoidal disturbance signal is proposed, which is the superposition of multiple sinusoidal signals, and the amplitude and frequency of each component can be designed separately. However, when more injection frequencies are required, the peak value of the superimposed signal will increase, so phase optimization is needed to reduce the signal peak value.

[0057] In addition, the excessive pursuit of measurement efficiency, only one measurement, and the lack of error feedback make it difficult to further improve the measurement accuracy. In this regard, the injection disturbance signal can be optimized through measurement feedback, and based on the measurement error estimation method, the disturbance energy of the low measurement accuracy band can be increased in the next multi-sinusoidal disturbance signal design, thereby continuously improving the measurement accuracy in multiple measurements.

[0058] In summary, the application of BPS has greatly improved the efficiency of impedance measurement. However, when the total injected power is limited, this efficiency improvement is achieved by distributing the limited perturbation power to multiple frequency components, that is, the efficiency improvement sacrifices the measurement SNR, making it difficult to guarantee the accuracy of the measurement results. Therefore, it is a major challenge to achieve a balance between measurement efficiency and accuracy when designing BPS.

[0059] Whether it is the non-injection harmonic impedance measurement method or the injection broadband impedance measurement method, the results are all discrete impedances, which cannot fully express the impedance characteristics of the system. Usually, interpolation methods or system identification methods are used to convert all discrete measurement points into impedance curves, that is, impedance transfer function models. Obviously, the impedance transfer function is an approximation of the theoretical model, and the distribution of measurement points and the accuracy of the measured impedance will greatly affect the accuracy of the approximation. When the distribution of measurement points is closer to the peak and valley of the impedance curve, that is, near the resonance point, the accuracy of the impedance curve will be improved. Therefore, it is crucial to allocate the frequency position in the disturbance signal design so that the measurement points are distributed near the peak and valley of the impedance curve.

[0060] The traditional method is equidistant distribution, that is, the step size between any two adjacent measurement frequencies is constant. This method is easy to use and has a wide range of applications. At the same time, for broadband signals other than multi-sinusoidal signals and DIBS, only equidistant distribution can be used. However, since the characteristic curve of the system under test is completely unknown, this method can easily introduce measurement speed or accuracy problems. For example, if the measurement step size is too large, it will be difficult to accurately measure near the resonance point, resulting in incomplete impedance characteristic measurement and difficulty in subsequent system identification; if the measurement step size is very small, the measurement time will be greatly extended for the swept frequency method; for BPS, the SNR of each frequency will be reduced, reducing the measurement accuracy.

[0061] In order to solve the problems caused by equidistant distribution, the adaptive frequency selection method was proposed. This method can adaptively distribute the frequencies of the measurement points according to the characteristics of the measured system. It can distribute more measurement points at the resonance peak and fewer points in the smoother part, which has higher accuracy than the equidistant distribution of the same number of measurement points. However, this method is currently only used in the single-frequency sweep method and has not yet been applied to wideband signal measurement. Applying the adaptive selection method to the design of BPS has the potential to solve the problem of difficult balance between measurement efficiency and accuracy.

[0062] In summary, how to design the frequency distribution of BPS in multi-stage measurement so that the measurement points are distributed near the peaks and valleys of the impedance curve to improve the speed of detecting the peaks and valleys of the impedance curve and identify the accurate impedance curve is an important and urgent problem to be solved.

[0063] In order to solve the problem of low accuracy of impedance measurement, the impedance measurement method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 obtains the first voltage signal and the first current signal at the common connection point sent by the terminal and collected after the initial disturbance signal is injected into the common connection point. The server 104 calculates the initial impedance of the common connection point based on the first voltage signal and the first current signal, and performs error estimation on the initial impedance to obtain an error estimation result. If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal. According to the target disturbance signal, the target impedance of the common connection point is measured, thereby obtaining the target impedance of the common connection point.

[0064] Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. It can be understood that the impedance measurement method provided in the embodiment of the present application is not limited to the application scenario in which the above-mentioned server interacts with the terminal, and can also be applied separately to the application scenario corresponding to the server or the terminal.

[0065] In an exemplary embodiment, Figure 2 As shown, an impedance measurement method is provided, which is applied to Figure 1 The server in the example is used to illustrate, including the following steps 202 to 208. Among them:

[0066] Step 202, obtaining a first voltage signal and a first current signal at the common connection point collected after the initial disturbance signal is injected into the common connection point, and calculating the initial impedance of the common connection point according to the first voltage signal and the first current signal.

[0067] The common connection point refers to the point where more than one user load is connected. The initial disturbance signal refers to the disturbance signal injected into the common connection point, which is used to assist in measuring the impedance of the common connection point. The initial disturbance signal can be a current signal or a voltage signal, and the initial disturbance signal can also be a composite signal composed of multiple sinusoidal voltage signals or sinusoidal current signals of different frequencies.

[0068] After the initial disturbance signal is injected into the common connection point, the first voltage signal and the first current signal at the common connection point are collected to obtain the collected first voltage signal and the first current signal at the common connection point. According to the first voltage signal and the first current signal, the initial impedance of the common connection point can be calculated.

[0069] Optionally, a set of first voltage signals and first current signals can be obtained corresponding to an initial disturbance signal of one frequency, and the initial disturbance signal includes signals of multiple frequencies. Then, multiple sets of first voltage signals and first current signals can be obtained corresponding to multiple frequencies, and the discrete multiple sets of first voltage signals and first current signals can be converted into continuous first target voltage signals and first target current signals. According to the first target voltage signal and the first target current signal, the initial impedance of the common connection point can be calculated based on the fluctuation quantity method. It can be understood that before obtaining the first voltage signal and the first current signal at the common connection point collected after the initial disturbance signal is injected into the common connection point, it is also necessary to obtain the initial disturbance signal and inject the initial disturbance signal into the common connection point in the circuit under test.

[0070] Step 204: perform error estimation on the initial impedance to obtain an error estimation result.

[0071] The error estimation result is a result that characterizes the magnitude of the error estimation. By performing an error estimation on the accuracy of the initial impedance, the initial disturbance signal can be corrected, thereby obtaining a more accurate disturbance signal for more accurate impedance measurement.

[0072] Optionally, the initial impedance may be fitted to obtain an impedance fitting curve, and the error estimation result may be calculated based on the initial impedance and the impedance at a corresponding position on the impedance fitting curve.

[0073] Step 206: If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal.

[0074] The error estimation condition may include being less than an error threshold, that is, when the error estimation result is greater than or equal to the error threshold, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal.

[0075] Optionally, if the error estimation result does not meet the error estimation condition, signal parameters such as frequency and amplitude in the initial disturbance signal are corrected according to the error estimation result to obtain a target disturbance signal.

[0076] Step 208: measuring the target impedance of the common connection point according to the target disturbance signal.

[0077] After obtaining the target disturbance signal, the target disturbance signal is injected into the common connection point, and the voltage signal and current signal collected at the common connection point after the target disturbance signal is injected into the common connection point are obtained. According to the collected voltage signal and current signal at the common connection point, the target impedance of the common connection point is calculated.

[0078] In the above impedance measurement method, a first voltage signal and a first current signal at the common connection point collected after the initial disturbance signal is injected into the common connection point are obtained, and the initial impedance of the common connection point is calculated based on the first voltage signal and the first current signal, and an error estimation is performed on the initial impedance to obtain an error estimation result. If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal, and the target impedance of the common connection point is measured according to the target disturbance signal. It is possible to correct the initial disturbance signal based on the error estimation result of the initial impedance to obtain the target disturbance signal, and obtain the target impedance based on the target disturbance signal, so that the target impedance is more consistent with the actual value, thereby improving the accuracy of the impedance measurement.

[0079] In some embodiments, the above method further comprises:

[0080] Obtain an amplitude error limit and a phase error limit of an initial disturbance signal; determine a minimum signal-to-noise ratio of the initial disturbance signal based on a first signal-to-noise ratio corresponding to the amplitude error limit and a second signal-to-noise ratio corresponding to the phase error limit; obtain a power spectrum density corresponding to the background noise of the common connection point before the initial disturbance signal is injected into the common connection point, and obtain a noise spectrum of the background noise based on the power spectrum density; determine an initial amplitude of the initial disturbance signal based on the minimum signal-to-noise ratio and the noise spectrum.

[0081] Among them, the amplitude error limit and phase error limit of the initial disturbance signal are pre-set, the amplitude error limit can be determined according to the percentage of the maximum amplitude, and the phase error limit can be determined according to the percentage of the maximum phase. The amplitude error limit and phase error limit corresponding to the initial disturbance signals of different frequencies can be the same.

[0082] Optionally, the maximum value of the first signal-to-noise ratio corresponding to the amplitude error limit and the second signal-to-noise ratio corresponding to the phase error limit may be used as the minimum signal-to-noise ratio of the initial disturbance signal. r Indicates that the phase error limit is determined by E p Indicates that, assuming E r =10%, E p =10°, E r The corresponding signal-to-noise ratio S1 is , the corresponding signal-to-noise ratio S2 is , then, the minimum signal-to-noise ratio SNR of the initial disturbance signalr is the maximum value between S1 and S2, as shown in the following formula (1):

[0083] (1)

[0084] From the above formula (1), we can see that S1=21, S2=12, SNR r =10.

[0085] Obtain the waveform of the background noise at the common connection point before the initial disturbance signal is injected into the common connection point. The measured background noise can include fundamental frequency signals, harmonics, interharmonics, and subharmonics. The recorded background noise waveform can be used to obtain the power spectral density (PSD) using the Welch power spectral density estimation method. The power spectral density corresponding to the background noise can be Converted to the corresponding noise spectrum , as shown in the following formula (2).

[0086] (2)

[0087] In one example, the noise spectrum of the estimated background noise is as follows: Figure 3 shown.

[0088] After obtaining the minimum signal-to-noise ratio of the initial disturbance signal and the noise spectrum of the background noise, the initial amplitude of the signal corresponding to each frequency of the initial disturbance signal can be obtained. For example, the product of the minimum signal-to-noise ratio and the noise spectrum of the background noise can be used as the initial amplitude of the initial disturbance signal of the corresponding frequency. , as shown in the following formula (3).

[0089] (3)

[0090] In formula (3), D f represents the set of all optional frequencies, and the amplitudes corresponding to all optional frequencies can be calculated. It can be understood that in order to make full use of the limited disturbance energy, it is more likely to select a frequency with a smaller amplitude as the frequency of the initial disturbance signal.

[0091] In this embodiment, by obtaining the amplitude error limit and the phase error limit of the initial disturbance signal, the minimum signal-to-noise ratio of the initial disturbance signal is determined based on the first signal-to-noise ratio corresponding to the amplitude error limit and the second signal-to-noise ratio corresponding to the phase error limit, the power spectrum density corresponding to the background noise of the common connection point before the initial disturbance signal is injected into the common connection point is obtained, and the noise spectrum of the background noise is obtained based on the power spectrum density. According to the minimum signal-to-noise ratio and the noise spectrum, the initial amplitude of the initial disturbance signal is determined, which can improve the accuracy of the amplitude of the initial disturbance signal, thereby improving the accuracy of the initial disturbance signal, which is conducive to improving the accuracy of the impedance measurement.

[0092] In some embodiments, the above method further comprises:

[0093] The objective function is determined according to the number of sinusoidal signals in the initial disturbance signal, and the constraints are determined according to the signal peak value, signal frequency, frequency coupling characteristics and frequency distribution characteristics of the initial disturbance signal. The objective function is solved based on the constraints to obtain the maximum number of sinusoidal signals in the initial disturbance signal and the signal frequency and phase of each sinusoidal signal.

[0094] When designing the initial disturbance signal, it is expected that the initial disturbance signal includes as many sinusoidal signals as possible, the frequency distribution of the sinusoidal signals is as uniform as possible, and there is no coupling between the frequencies. The peak value of the superimposed initial disturbance signal cannot exceed the peak threshold, which can be achieved by adjusting the phase of each sinusoidal signal. Among them, the signal peak value refers to the peak value after the superposition of multiple sinusoidal signals constituting the initial disturbance signal; the signal frequency refers to the frequency corresponding to the multiple sinusoidal signals constituting the initial disturbance signal; the frequency coupling characteristics include avoiding frequency coupling; and the frequency distribution characteristics include the uniformity of the frequency distribution.

[0095] Optionally, the initial disturbance signal includes as many sinusoidal signals of different frequencies as possible, which is reflected in the maximization of the number K of sinusoidal signals constituting the initial disturbance signal, where K is a positive integer, that is, satisfies the following formula (4):

[0096] max K (4)

[0097] The superposition of multiple sinusoidal signals often produces a large peak at certain moments. This phenomenon is called overmodulation. Overmodulation violates the linearization conditions of impedance theory and may cause nonlinear response and measurement errors. Severe overmodulation can affect the normal operation of the system under test. Therefore, in order to reduce the nonlinearity that further distorts the impedance measurement, the peak value v of the initial disturbance signal is peak In one example, the peak value constraint of the initial disturbance signal is as shown in the following formula (5), and the peak value of the initial disturbance signal is limited according to the amplitude of the rated voltage.

[0098] (5)

[0099] In formula (5), Vnom is the amplitude of the rated voltage, is a constant, for example is 0.1, 0.15 or 0.09, etc. The specific selection can be made according to the actual application scenario.

[0100] In order to suppress spectrum leakage, the frequency of the sinusoidal signal included in the initial disturbance signal is an integer multiple of the frequency resolution, and the constraint condition of the selectable frequency is shown in the following formula (6).

[0101] (6)

[0102] In formula (6), Δf represents the frequency resolution, f k represents the frequency of the sinusoidal signal, i represents the multiple, Δf can be determined according to the duration of the initial disturbance signal, and the frequency resolution is the inverse of the duration of the initial disturbance signal, that is, Δf=1 / T max , the frequency range interval to be measured [f min , f max ], f min Indicates the minimum frequency, f max Indicates the maximum frequency, which can be set according to actual scenario requirements.

[0103] Due to the frequency coupling characteristics of the grid-connected inverter, a frequency of f is injected p1 When a sinusoidal signal is generated at the measurement port, another related frequency f p2 If f p2 Also included in the initial disturbance signal will result in f p2 The corresponding impedance measurement result is inaccurate. Therefore, when selecting the frequency f for impedance measurement k When the frequency is selected, the related frequencies cannot be selected at the same time, and these related frequencies constitute a prohibited frequency set. In one example, the prohibited frequency set D k,forbid It is expressed as the following formula (7).

[0104] (7)

[0105] In formula (7), f b Indicates the fundamental frequency.

[0106] The frequencies in the prohibited frequency set cannot be selected from the optional frequencies. The constraint condition for avoiding frequency coupling can be expressed as shown in the following formula (8).

[0107] (8)

[0108] In formula (8), Is it equal to f k Optional frequency.

[0109] In order to make the frequency distribution as even as possible, the frequency interval [f min , f max ] is evenly divided into K sub-intervals according to the logarithm, so that the frequency is located in the kth sub-interval. Exemplarily, the constraint condition on the uniformity of frequency distribution can be expressed by the following formula (9).

[0110] (9)

[0111] In formula (9), , f int Represents the length of the subinterval.

[0112] Alternatively, the peak value v of the initial disturbance signal can be determined by fixing K as a constant and using a genetic algorithm peak The minimum value of the objective function is solved by gradually increasing K, the peak value v peak The set constraints can be satisfied, thereby solving for the maximum value of K and the signal frequency and phase of the sinusoidal signal. For example, according to the maximum value of K and the signal frequency and phase of the sinusoidal signal determined by the above objective function and constraints, the waveform diagram of the corresponding initial disturbance signal can be obtained as shown in Figure 4 As shown, the spectrum diagram is as follows Figure 5 As shown, the discrete time domain expression corresponding to the initial disturbance signal is shown in the following formula (10).

[0113] (10)

[0114] In formula (10), v(n) represents the discrete time domain expression of the initial disturbance signal, and K represents the total number of sinusoidal signals. k 、f k and φ k They correspond to the amplitude, frequency and phase of the kth signal respectively, T max Indicates the duration of the signal, with N p sampling points (sampling rate f s =N p / T max ).

[0115] In this embodiment, the objective function is determined according to the number of sinusoidal signals in the initial disturbance signal, and the constraints are determined according to the signal peak value, signal frequency, frequency coupling characteristics and frequency distribution characteristics of the initial disturbance signal. The objective function is solved based on the constraints to obtain the maximum number of sinusoidal signals in the initial disturbance signal and the signal frequency and phase of each sinusoidal signal. The optimal solution of parameters such as the number of signals, frequency and phase can be obtained, and the initial disturbance signal is constructed based on these parameters, which can improve the accuracy of the initial disturbance signal.

[0116] In an exemplary embodiment, the step of calculating the initial impedance of the common connection point according to the first voltage signal and the first current signal in step 202 includes:

[0117] A second voltage signal and a second current signal at the common connection point collected before the initial disturbance signal is injected into the common connection point are obtained; and an initial impedance of the common connection point is calculated according to the first voltage signal, the first current signal, the second voltage signal and the second current signal.

[0118] In one example, a first voltage signal and a first current signal at the common connection point collected after the initial disturbance signal is injected into the common connection point, and a second voltage signal and a second current signal at the common connection point collected before the initial disturbance signal is injected into the common connection point are obtained. Discrete Fourier transform (DFT) is performed on the first voltage signal and the first current signal respectively to obtain a first frequency domain voltage and a first frequency domain current at the frequency of the initial disturbance signal, as shown in the following formula (11):

[0119] (11)

[0120] In formula (11), V m (f k ) and I m (f k ) represent the frequency f k The first voltage signal v m and the first current signal i m The first frequency domain voltage and the first frequency domain current after discrete Fourier transformation. Similarly, we can get k The second frequency domain voltage signal after the second voltage signal and the second current signal are discretely transformed by Fourier transform and the second frequency domain current Then, the initial impedance of the common connection point can be calculated based on the voltage difference between the first frequency domain voltage and the second frequency domain voltage, and the current difference between the first frequency domain current and the second frequency domain current. For example, the ratio of the voltage difference to the current difference can be used as the initial impedance of the common connection point. Exemplarily, the frequency f kThe corresponding initial impedance Z m (f k ) can be calculated by the following formula (12).

[0121] (12)

[0122] Optionally, vector fitting may be performed on the initial impedance at each frequency to obtain the initial impedance of the common connection point after fitting.

[0123] In this embodiment, the initial impedance of the common connection point is calculated by respectively collecting the voltage signal and the current signal before and after the initial disturbance signal is injected into the common connection point, so that the accuracy of the initial impedance can be improved.

[0124] In some exemplary embodiments, step 204 of performing error estimation on the initial impedance to obtain an error estimation result includes:

[0125] The initial impedance corresponding to each signal frequency of the initial disturbance signal is obtained to obtain a first initial impedance set; the initial impedance in the first initial impedance set is fitted to obtain a first impedance curve; a reference impedance is determined according to the target frequency and the first impedance curve, and a first error estimation result corresponding to the target frequency is obtained according to the difference between the reference impedance and the initial impedance corresponding to the target frequency; the target frequency includes any signal frequency.

[0126] The initial impedance signal includes sinusoidal signals of multiple signal frequencies, and the sinusoidal signals of each signal frequency can calculate an initial impedance at a common connection point, and the sinusoidal signals of multiple signal frequencies can correspondingly calculate multiple initial impedances at multiple common connection points, and the multiple initial impedances constitute a first initial impedance set, and then the initial impedances in the first initial impedance set are fitted to obtain a first impedance curve, that is, the first impedance curve is used to characterize the initial impedance change trend corresponding to multiple signal frequencies. The impedance corresponding to the target frequency on the first impedance curve is the reference impedance, and the first error estimation result corresponding to the target frequency can be obtained according to the difference between the reference impedance and the initial impedance corresponding to the target frequency. Among them, the target frequency can be any signal frequency.

[0127] Optionally, the difference between the reference impedance and the initial impedance corresponding to the target frequency can be used as the first error estimation result corresponding to the target frequency. Alternatively, the absolute value of the difference between the reference impedance and the initial impedance corresponding to the target frequency and the ratio of the initial impedance corresponding to the target frequency can be used as the first error estimation result corresponding to the target frequency.

[0128] In one example, the K initial impedances are formed by a first initial impedance set It is represented by curve fitting of the initial impedance in the first initial impedance set through a vector fitting algorithm to obtain a first impedance curve. The first error estimation result corresponding to the target frequency is obtained by the ratio of the absolute value of the difference between the reference impedance and the initial impedance at the target frequency fk to the initial impedance. This is shown in the following formula (13).

[0129] (13)

[0130] In formula (13), Z m (f k ) represents the target frequency f k The initial impedance at Indicates the first impedance curve f k The reference impedance at .

[0131] Optionally, if the first error estimation result is less than or equal to the error threshold, it means that the initial impedance measurement of the corresponding frequency is accurate and the impedance curve fitting is accurate, and the initial impedance is used as the target impedance corresponding to the target frequency. The error threshold can be set according to the actual application scenario, for example, the amplitude error limit can be used as the error threshold.

[0132] In this embodiment, a first initial impedance set corresponding to the initial impedance corresponding to each signal frequency of the initial disturbance signal is obtained, the initial impedances in the first initial impedance set are fitted to obtain a first impedance curve, a reference impedance is determined according to the target frequency and the first impedance curve, and a first error estimation result corresponding to the target frequency is obtained according to the difference between the reference impedance and the initial impedance corresponding to the target frequency. That is, the accuracy of the initial impedance is verified by verifying the accuracy of the initial impedance through the fitting curves of all initial impedances, thereby improving the accuracy of the initial impedance verification.

[0133] In some embodiments, if the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain the target disturbance signal in step 206, including:

[0134] Obtain a first error estimation result corresponding to all signal frequencies; select an initial impedance corresponding to a second error estimation result that meets an error estimation condition from the first error estimation result to obtain a second initial impedance set; fit the initial impedances in the second initial impedance set to obtain a second impedance curve; if the difference between the fitted impedance and the initial impedance on the second impedance curve corresponding to the specified frequency does not meet the error estimation condition, correct the initial disturbance signal according to the second error estimation result to obtain a target disturbance signal; the specified frequency includes any signal frequency.

[0135] After calculating and obtaining the first error estimation results corresponding to all signal frequencies, the initial impedance corresponding to the second error estimation results that meet the error estimation condition is selected from all the first error estimation results to obtain the second initial impedance set. The error estimation condition may include that the error estimation result is less than or equal to the error threshold. For example, if the first error estimation result is less than or equal to the error threshold, it means that the first error estimation result meets the error estimation condition. Then, the initial impedances in the second initial impedance set are fitted to obtain a second impedance curve. According to the specified frequency and the second impedance curve, the fitted impedance corresponding to the specified frequency on the second impedance curve can be determined, and it is determined whether the difference between the fitted impedance and the initial impedance meets the error estimation condition. If the difference does not meet the error estimation condition, the initial disturbance signal is corrected according to the second error estimation result to obtain the target disturbance signal.

[0136] Optionally, when the difference between the fitted impedance and the initial impedance on the second impedance curve corresponding to the specified frequency does not meet the error estimation condition, if the target signal frequency of the initial disturbance signal is less than a preset distance from the peak or valley of the second impedance curve, it means that the signal frequency distribution is inaccurate, then a signal corresponding to the signal frequency can be added near the target signal frequency, so that the signal frequency is more distributed in the peak and valley positions of the second impedance curve, so that the second impedance curve is closer to the actual impedance curve. Alternatively, the error of the initial impedance may be large, and the minimum signal-to-noise ratio of the initial disturbance signal can be improved by increasing the amplitude of the initial disturbance signal.

[0137] Optionally, the impedance at the common connection point can be measured based on different initial disturbance signals at different measurement stages. If the error of a certain signal frequency point in the previous stage is large, in the next stage, more signal frequency points and higher signal amplitudes are allocated at the signal frequency point of the initial disturbance signal. For example, the number of signal frequency points and signal amplitudes in the next stage are proportional to the number of signal frequency points with large errors.

[0138] Optionally, the second error estimation result that does not meet the error estimation condition is normalized to obtain a normalized second error estimation result, an error weight is obtained according to the normalized second error estimation result, and the signal frequency and amplitude of the target disturbance signal are determined according to the error weight. For example, the normalization process can be performed according to the following formula (14).

[0139] (14)

[0140] in, refers to the second error estimation result that is greater than the error threshold, is the second error estimation result after normalization.

[0141] According to formula (15), the error weight corresponding to the second error estimation result that does not meet the error estimation condition is calculated .

[0142] (15)

[0143] For example, the reallocated signal frequency interval, the number of frequencies in each signal frequency interval, and the signal frequency position may be determined according to the error weight. k , whose proximity range or signal frequency interval is defined as , f k-1 and f k+1 is the signal frequency f k Adjacent measurement points are then allocated within this frequency interval.

[0144] By weighting the error W k The product of the total number of measurement points K is rounded off to calculate the next stage in the interval The number of signal frequencies N k , as shown in the following formula (16).

[0145] (16)

[0146] In formula (16), K represents the total number of signal frequencies in each stage determined by the aforementioned objective function, and [ ] represents the rounding function. Due to rounding, may not be equal to K. Therefore, the maximum N max The following formula (17) is adjusted so that .

[0147] (17)

[0148] In the formula, is the adjusted N max . The previous stage f k The weight of the point W k or error E k The larger the value, the greater the next stage f k Measurement points N in the frequency range k The more.

[0149] In order to reduce the calculation time, the signal frequency positions are evenly distributed logarithmically in their respective intervals and are no longer optimized as in the first stage, as shown in formula (18):

[0150] (18)

[0151] In the formula, Indicates the ith frequency point in the frequency interval of the next stage. In addition, if the signal frequency calculation result does not satisfy the formula (8) corresponding to the constraint condition, the result is fine-tuned.

[0152] In order to improve the measurement accuracy, the amplitude of the initial disturbance signal should be proportional to the error weight. Therefore, the frequency amplitude can be calculated using formula (19):

[0153] (19)

[0154] In the formula, Indicates the scaling factor, for example 1. The sum amplitude is calculated after the phase is determined. For example, if the weight of the second interval (k=2) is 0.2 (W2=0.2), and three signal frequency points are assigned to the interval (N2=3), then the amplitudes of the three signal frequency points are all 0.2 (0.2*1).

[0155] After the signal frequency and amplitude are determined, the next step is to optimize the phase to minimize the signal peak. The optimization objective can be expressed by formula (20).

[0156] (20)

[0157] The phase is obtained by solving the unconstrained optimization model. Therefore, the temporary disturbance signal and its peak value v can be determined peak_temp The amplitude can then be scaled from the peak value to the maximum limit by a scaling factor, as shown in equation (21). The final amplitude is given by equation (22).

[0158] (twenty one)

[0159] (twenty two)

[0160] Based on the signal frequency position, signal frequency quantity, amplitude and phase obtained above, the target disturbance signal can be obtained.

[0161] In this embodiment, a second initial impedance set corresponding to the initial impedance that meets the error estimation condition is selected from the first error result, and fitting is performed again based on the second initial impedance set to obtain a second impedance curve. Based on the second impedance curve, it is determined whether the initial impedance meets the corresponding error estimation condition. If not, the initial disturbance signal is corrected to obtain a target disturbance signal, so that the impedance is measured by the target disturbance signal, which can greatly improve the accuracy of the impedance measurement result.

[0162] In one embodiment, Figure 6 As shown, an impedance measurement method is provided, including the following steps 602 to 614.

[0163] Step 602: Initialize the parameters of the initial disturbance signal.

[0164] The initial disturbance signal includes multiple sinusoidal voltage signals or multiple sinusoidal current signals. The parameters of the initial disturbance signal include the number of sinusoidal voltage signals or sinusoidal current signals that constitute the initial disturbance signal, and the signal frequency, amplitude and phase of each sinusoidal signal, the phase and amplitude of the initial disturbance signal formed by superposition of multiple sinusoidal signals, the duration of the initial disturbance signal, the amplitude error limit and the phase error limit, etc.

[0165] Step 604, estimating the noise spectrum.

[0166] The power spectrum density corresponding to the background noise at the common connection point before the initial disturbance signal is injected into the common connection point of the system under test is obtained, and the noise spectrum of the background noise is obtained based on the power spectrum density. That is, when no initial disturbance signal is injected, the noise spectrum is obtained by measuring the voltage noise at the common connection point of the system under test.

[0167] Step 606: Optimize the initialization parameters of the initial disturbance signal according to the objective function and the constraint conditions to obtain the target parameters of the initial disturbance signal.

[0168] According to the minimum signal-to-noise ratio of the initial disturbance signal and the noise spectrum at the common connection point in the system under test, the initial amplitude of the initial disturbance signal can be determined, and then the objective function is determined according to the number of sinusoidal signals in the initial disturbance signal, and the constraint conditions are determined according to the signal peak value, signal frequency, frequency coupling characteristics and frequency distribution characteristics of the initial disturbance signal. The objective function is solved based on the constraint conditions to obtain the maximum number of sinusoidal signals in the initial disturbance signal and the signal frequency and phase of each sinusoidal signal.

[0169] Step 608: perform impedance measurement based on the initial disturbance signal to obtain initial impedance.

[0170] After the initial disturbance signal is injected into the common connection point of the system under test, the second voltage signal and the second current signal at the common connection point are recorded, and the initial impedance of the common connection point is calculated based on the first voltage signal and the first current signal at the common connection point measured before the initial disturbance signal is injected into the common connection point of the system under test.

[0171] Step 610, performing error estimation on the initial impedance to obtain an error estimation result.

[0172] Step 612: If the error estimation result satisfies the error estimation condition, the initial impedance is used as the target impedance.

[0173] Step 614: if the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected to obtain the target disturbance signal, the initial disturbance signal is replaced with the target disturbance signal, and the process returns to the step of performing impedance measurement based on the target disturbance signal to obtain the initial impedance.

[0174] Optionally, the initial impedance may be subjected to multiple error estimations, and the next error estimation corresponds to the initial impedance that meets the error estimation condition in the previous error estimation, and the corresponding impedance curve is obtained by curve fitting the initial impedance that meets the error estimation condition. In one example, the first impedance curve obtained by the first curve fitting is as follows: Figure 7 As shown, the second impedance curve obtained by the second curve fitting is as follows Figure 8 As shown, the third impedance curve obtained by the third curve fitting is as follows Fig. 9 As shown in the figure, the solid line is the impedance curve obtained by fitting, the dotted line is the corresponding reference curve, and the solid point is the measurement point, that is, the target frequency point. Figures 7 and 8 The corresponding curve fitting results show that the more fitting times, the closer the corresponding impedance curve obtained by fitting is to the reference curve.

[0175] The above impedance measurement method, through the establishment of objective functions and constraints, can obtain more signal frequency points of the disturbance signal as accurately as possible, thereby obtaining a more comprehensive impedance measurement result; by performing error estimation on the initial impedance obtained by measuring the injected initial disturbance signal, and then further optimizing the initial disturbance signal according to the error estimation result, the target disturbance signal is obtained, and the impedance measured based on the target disturbance signal is more accurate, and the measurement efficiency can also be improved.

[0176] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0177] Based on the same inventive concept, the embodiment of the present application also provides an impedance measuring device for implementing the impedance measuring method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more impedance measuring device embodiments provided below can refer to the limitations on the impedance measuring method above, and will not be repeated here.

[0178] In an exemplary embodiment, Fig.10 As shown, an impedance measurement device is provided, including: an initial impedance calculation module 1002, an impedance error estimation module 1004, a disturbance signal correction module 1006 and a target impedance acquisition module 1008, wherein:

[0179] An initial impedance calculation module 1002 is used to obtain a first voltage signal and a first current signal at the common connection point collected after an initial disturbance signal is injected into the common connection point, and calculate an initial impedance of the common connection point according to the first voltage signal and the first current signal;

[0180] An impedance error estimation module 1004 is used to perform error estimation on the initial impedance to obtain an error estimation result;

[0181] A disturbance signal correction module 1006 is used to correct the initial disturbance signal according to the error estimation result to obtain a target disturbance signal if the error estimation result does not meet the error estimation condition;

[0182] The target impedance obtaining module 1008 is used to measure the target impedance of the common connection point according to the target disturbance signal.

[0183] In some embodiments, the above-mentioned device also includes a parameter initialization module, which is used to obtain an amplitude error limit and a phase error limit of the initial disturbance signal; determine the minimum signal-to-noise ratio of the initial disturbance signal based on a first signal-to-noise ratio corresponding to the amplitude error limit and a second signal-to-noise ratio corresponding to the phase error limit; obtain a power spectrum density corresponding to the background noise of the common connection point before the initial disturbance signal is injected into the common connection point, and obtain a noise spectrum of the background noise based on the power spectrum density; determine an initial amplitude of the initial disturbance signal according to the minimum signal-to-noise ratio and the noise spectrum.

[0184] In some embodiments, the parameter initialization module is also used to determine the objective function according to the number of sinusoidal signals in the initial disturbance signal, and to determine the constraints according to the signal peak value, signal frequency, frequency coupling characteristics and frequency distribution characteristics of the initial disturbance signal; the objective function is solved based on the constraints to obtain the maximum number of sinusoidal signals in the initial disturbance signal and the signal frequency and phase of each sinusoidal signal.

[0185] In some embodiments, the initial impedance calculation module 1002 is also used to obtain a second voltage signal and a second current signal at the common connection point collected before the initial disturbance signal is injected into the common connection point; and calculate the initial impedance of the common connection point based on the first voltage signal, the first current signal, the second voltage signal and the second current signal.

[0186] In some embodiments, the impedance error estimation module 1004 is further used to obtain the initial impedance corresponding to each signal frequency of the initial disturbance signal to obtain a first initial impedance set; fit the initial impedances in the first initial impedance set to obtain a first impedance curve; determine a reference impedance according to a target frequency and the first impedance curve, and obtain a first error estimation result corresponding to the target frequency according to the difference between the reference impedance and the initial impedance corresponding to the target frequency; the target frequency includes any signal frequency.

[0187] In some embodiments, the disturbance signal correction module 1006 is also used to obtain a first error estimation result corresponding to all signal frequencies; select the initial impedance corresponding to the second error estimation result that meets the error estimation condition from the first error estimation result to obtain a second initial impedance set; fit the initial impedances in the second initial impedance set to obtain a second impedance curve; if the difference between the fitted impedance and the initial impedance on the second impedance curve corresponding to the specified frequency does not meet the error estimation condition, correct the initial disturbance signal according to the second error estimation result to obtain the target disturbance signal; the specified frequency includes any signal frequency.

[0188] Each module in the above impedance measurement device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0189] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an impedance measurement method is implemented.

[0190] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0191] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the impedance measurement method in the above embodiment when executing the computer program.

[0192] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the impedance measurement method in the above embodiment are implemented.

[0193] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the impedance measurement method in the above embodiment when executed by a processor.

[0194] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0195] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0196] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0197] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An impedance measurement method, characterized in that: The method comprises: Acquire a first voltage signal and a first current signal at the common connection point collected after an initial disturbance signal is injected into the common connection point, and calculate an initial impedance of the common connection point according to the first voltage signal and the first current signal; Performing error estimation on the initial impedance to obtain an error estimation result; If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal; The target impedance of the common connection point is measured according to the target disturbance signal.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining an amplitude error limit and a phase error limit of the initial disturbance signal; Determining a minimum signal-to-noise ratio of the initial disturbance signal based on a first signal-to-noise ratio corresponding to the amplitude error limit and a second signal-to-noise ratio corresponding to the phase error limit; Acquire a power spectrum density corresponding to the background noise of the common connection point before the initial disturbance signal is injected into the common connection point, and obtain a noise spectrum of the background noise based on the power spectrum density; An initial amplitude of the initial disturbance signal is determined according to the minimum signal-to-noise ratio and the noise spectrum.

3. The method according to claim 1, characterized in that The method further comprises: Determine the objective function according to the number of sinusoidal signals in the initial disturbance signal, and determine the constraint conditions according to the signal peak value, signal frequency, frequency coupling characteristics and frequency distribution characteristics of the initial disturbance signal; The objective function is solved based on the constraint conditions to obtain the maximum number of sinusoidal signals in the initial disturbance signal and the signal frequency and phase of each sinusoidal signal.

4. The method according to claim 1, characterized in that: Calculating the initial impedance of the common connection point according to the first voltage signal and the first current signal includes: Acquiring a second voltage signal and a second current signal at the common connection point collected before injecting the initial disturbance signal into the common connection point; An initial impedance of the common connection point is calculated according to the first voltage signal, the first current signal, the second voltage signal, and the second current signal.

5. The method according to any one of claims 1 to 4, characterized in that: The performing error estimation on the initial impedance to obtain an error estimation result includes: Acquire an initial impedance corresponding to each signal frequency of the initial disturbance signal to obtain a first initial impedance set; Fitting the initial impedances in the first initial impedance set to obtain a first impedance curve; A reference impedance is determined according to a target frequency and the first impedance curve, and a first error estimation result corresponding to the target frequency is obtained according to a difference between the reference impedance and an initial impedance corresponding to the target frequency; the target frequency includes any signal frequency.

6. The method according to claim 5, characterized in that If the error estimation result does not meet the error estimation condition, the initial disturbance signal is corrected according to the error estimation result to obtain a target disturbance signal, including: Obtaining first error estimation results corresponding to all signal frequencies; Selecting the initial impedance corresponding to the second error estimation result that meets the error estimation condition from the first error estimation results to obtain a second initial impedance set; Fitting the initial impedances in the second initial impedance set to obtain a second impedance curve; If the difference between the fitted impedance and the initial impedance on the second impedance curve corresponding to the specified frequency does not meet the error estimation condition, the initial disturbance signal is corrected according to the second error estimation result to obtain the target disturbance signal; the specified frequency includes any signal frequency.

7. An impedance measuring device, characterized in that: The device comprises: an initial impedance calculation module, used to obtain a first voltage signal and a first current signal at the common connection point collected after an initial disturbance signal is injected into the common connection point, and calculate an initial impedance of the common connection point according to the first voltage signal and the first current signal; An impedance error estimation module, used to perform error estimation on the initial impedance to obtain an error estimation result; A disturbance signal correction module, configured to correct the initial disturbance signal according to the error estimation result to obtain a target disturbance signal if the error estimation result does not meet the error estimation condition; The target impedance obtaining module is used to measure the target impedance of the common connection point according to the target disturbance signal.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Real-time measurement method and system for instantaneous input power and impedance characteristic of ultrasonic transducer

    CN119492910A

  • Priori knowledge guided universal inverter power supply model non-mechanism analysis method

    CN121389754A