Voltage correction method and device, nonvolatile storage medium and electronic equipment

By performing frequency compensation and error compensation on the voltage measurement value, the problem of unsatisfactory accuracy of the voltage measurement value in the power grid is solved, and the high accuracy of the voltage measurement value and dynamic response performance are improved, and the real-time changes in complex power grid environments are adapted to.

CN120507553APending Publication Date: 2025-08-19STATE GRID BEIJING ELECTRIC POWER CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510471886.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the voltage measurement value in the power grid is not ideal, especially in complex power grid environments, the measurement accuracy of the resistive-capacitance voltage divider is significantly reduced when facing high-frequency transient signals, resulting in poor dynamic response performance.

Method used

By performing frequency compensation and error compensation on the voltage measured values, including filtering processing, equalization processing, nonlinear error and temperature drift error correction, digital filters and equalizers are used to optimize the frequency and amplitude response of the voltage signal, and by dynamically adjusting the compensation coefficient in real time, the accurate correction of the voltage measured values ​​is achieved.

Benefits of technology

It improves the accuracy and consistency of grid voltage measurement values, optimizes the response performance of power measurement equipment in a wide frequency band range, ensures the accuracy and reliability of high-frequency and low-frequency signal measurements, and adapts to real-time changes in complex grid environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120507553A_ABST
    Figure CN120507553A_ABST
Patent Text Reader

Abstract

The invention discloses a voltage correction method and device, a nonvolatile storage medium and electronic equipment. The method comprises the following steps: acquiring a voltage measurement value in a power grid; performing frequency compensation on the voltage measurement value to obtain a first voltage correction value; and performing error compensation on the first voltage correction value to obtain a second voltage correction value. The technical problem that the accuracy of a voltage measurement value result in a power grid is not ideal in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power systems, and more specifically, to a voltage correction method, device, non-volatile storage medium, and electronic equipment. Background Art

[0002] With the rapid development of smart grids and modern power systems, power measurement equipment is playing an increasingly important role in ensuring stable grid operation. In complex power grid environments, the need for high-frequency signals and wideband response has become a key challenge for measurement technology. High-frequency signals primarily originate from transient high-frequency signals such as lightning overvoltages, switching overvoltages, and grid faults, as well as complex waveforms such as harmonics and pulse loads. The emergence of these signals places extremely high demands on the frequency response range and accuracy of power measurement equipment. Phase technology uses resistor-capacitor voltage dividers to measure voltage. However, as power systems increasingly demand high-frequency and wideband signal measurement, the measurement accuracy of resistor-capacitor voltage dividers has significantly decreased when exposed to high-frequency transient signals such as lightning overvoltages and switching overvoltages, resulting in poor dynamic response performance in complex power grid environments. Consequently, related technologies have faced the problem of suboptimal voltage measurement accuracy in power grids.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] The embodiments of the present application provide a voltage correction method, device, non-volatile storage medium and electronic device to at least solve the technical problem of unsatisfactory accuracy of voltage measurement results in power grids existing in the related art.

[0005] According to one aspect of an embodiment of the present application, a voltage correction method is provided, including: obtaining a voltage measurement value in a power grid; performing frequency compensation on the voltage measurement value to obtain a first voltage correction value; and performing error compensation on the first voltage correction value to obtain a second voltage correction value.

[0006] Optionally, frequency compensation is performed on the voltage measurement value to obtain a first voltage correction value, including: determining a filter coefficient and an equalization coefficient; filtering the voltage measurement value based on the filter coefficient to determine the filter correction value; and equalizing the filter correction value based on the equalization coefficient to determine the first voltage correction value.

[0007] Optionally, after equalizing the filter correction value based on the equalization coefficient and determining the first voltage correction value, the method further includes: determining a filter adjustment amount based on the voltage measurement value and the filter correction value; determining an equalization adjustment amount based on the first voltage correction value and the filter correction value; correcting the filter coefficient based on the filter adjustment amount to obtain a corrected filter coefficient; correcting the equalization coefficient based on the equalization adjustment amount to obtain a corrected equalization coefficient.

[0008] Optionally, performing error compensation on the first voltage correction value to obtain the second voltage correction value includes: determining frequency parameters of the power grid and ambient temperature data; and performing error compensation on the first voltage correction value based on the frequency parameters and the ambient temperature data to obtain the second voltage correction value.

[0009] Optionally, based on the frequency parameter and the ambient temperature data, the first voltage correction value is error compensated to obtain the second voltage correction value, including: determining a first compensation coefficient for correcting the nonlinear error caused by the device for measuring the voltage measurement value, and a second compensation coefficient for correcting the measurement error caused by measuring the ambient temperature data; performing data fitting based on the first compensation coefficient, the first voltage correction value, and the frequency parameter to determine the nonlinear error of the first voltage correction value; based on the second compensation coefficient and the ambient temperature data, determining the temperature drift error of the first voltage correction value; and determining the second voltage correction value based on the first voltage correction value, the nonlinear error, and the temperature drift error.

[0010] Optionally, after determining the second voltage correction value based on the first voltage correction value, the nonlinear error, and the temperature drift error, the method further includes: determining a voltage adjustment amount based on the second voltage correction value; and correcting the first compensation coefficient and the second compensation coefficient based on the voltage adjustment amount to obtain a corrected first compensation coefficient and a corrected second compensation coefficient.

[0011] According to another aspect of an embodiment of the present application, a voltage correction device is provided, including: a voltage measurement value acquisition module, used to obtain a voltage measurement value in a power grid; a first voltage correction value determination module, used to perform frequency compensation on the voltage measurement value to obtain a first voltage correction value; and a second voltage correction value determination module, used to perform error compensation on the first voltage correction value to obtain a second voltage correction value.

[0012] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided. The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the voltage correction methods.

[0013] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the voltage correction methods.

[0014] According to another aspect of an embodiment of the present application, a computer program product is provided, which is suitable for executing the steps of the fault detection method when executed on a data processing device.

[0015] In the embodiment of the present application, a voltage measurement value in a power grid is obtained; frequency compensation is performed on the voltage measurement value to obtain a first voltage correction value; and error compensation is performed on the first voltage correction value to obtain a second voltage correction value. This achieves the purpose of correcting the obtained power grid voltage measurement value through frequency compensation and error compensation, achieving the technical effect of improving the accuracy of the power grid voltage measurement result, thereby resolving the technical problem of unsatisfactory accuracy of power grid voltage measurement results existing in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 is a flow chart of an optional voltage correction method provided according to an embodiment of the present application;

[0018] Figure 2 is a first schematic diagram of an optional voltage correction method provided according to an embodiment of the present application;

[0019] Figure 3 is a second schematic diagram of an optional voltage correction method provided according to an embodiment of the present application;

[0020] Figure 4 This is a schematic diagram of an optional voltage correction device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] For ease of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0024] According to an embodiment of the present application, a method embodiment of a voltage correction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0025] Figure 1 is a flow chart of an optional voltage correction method provided according to an embodiment of the present application, such as Figure 1 As shown, the method includes the following steps:

[0026] Step S102, obtaining a voltage measurement value in the power grid;

[0027] As can be understood, using a measuring device, such as a high-precision voltage divider, to obtain voltage measurements on the power grid ensures that the collected voltage signal has high precision and accuracy, which lays a good foundation for subsequent signal processing and error compensation.

[0028] Step S104, performing frequency compensation on the voltage measurement value to obtain a first voltage correction value;

[0029] It's understandable that when using measurement equipment, such as a high-precision voltage divider, to obtain voltage measurements, the frequency may be affected, leading to inaccurate results. Therefore, frequency compensation is necessary to correct the voltage measurements, obtaining a first corrected voltage value and improving measurement accuracy. Frequency compensation optimizes the response of the voltage measurement equipment across a wide frequency band, ensuring consistent and accurate measurement of both high- and low-frequency signals, and improving the overall performance of the power measurement equipment.

[0030] In an optional embodiment, frequency compensation is performed on the voltage measurement value to obtain a first voltage correction value, including: determining a filter coefficient and an equalization coefficient; filtering the voltage measurement value based on the filter coefficient to determine the filter correction value; and equalizing the filter correction value based on the equalization coefficient to determine the first voltage correction value.

[0031] As can be understood, to perform frequency compensation on the voltage measurement, it is first necessary to determine the filter coefficient and the equalization coefficient. The voltage measurement is filtered using the filter coefficient to obtain a filter correction value. The filter correction value is then equalized using the equalization coefficient to obtain a first voltage correction value. The combination of filtering and equalization effectively reduces measurement errors caused by non-ideal frequency response, ensures the purity and reliability of the measured voltage signal (i.e., the voltage measurement value), and improves the accuracy of the overall measurement result.

[0032] Optionally, the filter coefficients and equalization coefficients can be determined based on the frequency response characteristics of the voltage divider and the frequency characteristics of the grid voltage signal. The filter coefficients are used to design a digital filter to optimize the amplitude and phase response of the voltage signal (i.e., the voltage measurement value) in a specific frequency band. The equalization coefficients are used to construct an equalizer to compensate for amplitude and phase distortion of the voltage signal during transmission.

[0033] Optionally, the voltage measurement value can be obtained by high-speed sampling of the broadband signal (i.e., voltage measurement values of different frequencies). m (i.e. voltage measurement value) is digitally collected to ensure that the dynamic range of the broadband signal is met. Sampling frequency f s The sampling theorem should be satisfied, and the highest frequency f of the broadband signal should be considered. max .

[0034] f s ≥2·f max

[0035] Among them, f s represents the sampling frequency, f max Indicates the highest frequency of the signal.

[0036] Optionally, the broadband signal can be processed by frequency division. The sampled voltage signal can be decomposed into low-frequency components V using a digital frequency division algorithm. low and high frequency component V high .

[0037] V m =V low +V high

[0038] V low =LPF(V m ),Vhigh =HPF(V m )

[0039] Among them, LPF (V m ) is a low-pass filter used to extract low-frequency signals; HPF (V m ) is a high-pass filter that extracts high-frequency signals.

[0040] Optionally, the frequency characteristic of the voltage signal is analyzed. low and V high Perform frequency characteristic analysis and extract the amplitude response characteristic A(f) and phase response characteristic Φ(f).

[0041] A(f)=|H(f)|,Φ(f)=arg(H(f))

[0042] Where H(f) is the frequency response function of the voltage signal.

[0043] Optionally, a digital filter can be designed to filter the voltage measurements. Based on the signal characteristics of different frequency bands, the digital filter is designed to optimize the amplitude and phase response. The filter parameters (i.e., filter coefficients) are determined by the characteristics of the signal after frequency division.

[0044] V filtered =F(f)·V m

[0045] Where F(f) is the frequency band optimized filter, V filtered is the filter correction value.

[0046] Optionally, an equalization model can be constructed to equalize the filter correction value. A digital equalizer is designed for the high-frequency and low-frequency voltage signals after frequency division to compensate for amplitude and phase deviations.

[0047]

[0048] V equalized =E(f)·V filtered

[0049] Where E(f) is a digital equalizer used for amplitude and phase response compensation, V equalized is the first voltage correction value.

[0050] In an optional embodiment, after equalizing the filter correction value based on the equalization coefficient and determining the first voltage correction value, the method further includes: determining a filter adjustment amount based on the voltage measurement value and the filter correction value; determining an equalization adjustment amount based on the first voltage correction value and the filter correction value; correcting the filter coefficient based on the filter adjustment amount to obtain a corrected filter coefficient; and correcting the equalization coefficient based on the equalization adjustment amount to obtain a corrected equalization coefficient.

[0051] It can be understood that in order to further improve the accuracy of the voltage measurement value, after determining the first voltage correction value, the first voltage correction value can be used to perform feedback correction on the filter coefficient and the equalization coefficient. First, based on the voltage measurement value and the filter correction value, the filter adjustment amount is determined. Based on the filter adjustment amount, the filter coefficient is corrected to obtain a corrected filter coefficient. Secondly, based on the filter correction value and the first voltage correction value, the equalization adjustment amount is determined. Based on the equalization adjustment amount, the equalization coefficient is corrected to obtain a corrected equalization coefficient. By calculating the filter adjustment amount and the equalization adjustment amount in real time, and continuously correcting the filter coefficient and the equalization coefficient, the frequency response of the voltage signal can be continuously optimized, ensuring accurate amplitude and phase compensation within a wide frequency range, and ensuring the accuracy of the measurement results.

[0052] Optionally, the equalizer and filter coefficients can be adjusted in real time using a dynamic compensation model. Based on the frequency characteristics of the real-time sampled signal, the equalizer and filter coefficients are dynamically adjusted to optimize the consistency of the broadband response.

[0053] F new (f) = F oid (f)+k f ΔF(f)

[0054] E new (f) = E oid (f)+k e ΔE(f)

[0055] Among them, ΔF(f) is the filtering adjustment amount, ΔE(f) is the equalization adjustment amount, k f is the dynamic adjustment gain coefficient of the filter, k e is the dynamic adjustment gain coefficient of the equalizer, F oid (f) is the frequency band optimization filter before correction (including the filter coefficients before correction), E oid (f) is the digital equalizer before correction (including the equalization coefficient before correction), F new (f) is the modified frequency band optimization filter (including the modified filter coefficients), E new (f) is the corrected digital equalizer (including the corrected equalization coefficient).

[0056] Step S106 , performing error compensation on the first voltage correction value to obtain a second voltage correction value.

[0057] It can be understood that after frequency compensation is performed on the voltage measurement, a first voltage correction value is obtained. Error compensation, such as nonlinearity and temperature drift, is then performed on the first voltage correction value to obtain a second voltage correction value, further improving the accuracy of the voltage measurement. Error compensation effectively eliminates errors in the measured voltage signal caused by system nonlinearity and environmental factors (such as temperature), improving the accuracy of voltage measurements and contributing to the precise measurement and efficient operation of smart grids.

[0058] In an optional embodiment, error compensation is performed on the first voltage correction value to obtain a second voltage correction value, including: determining the frequency parameters of the power grid and ambient temperature data; and based on the frequency parameters and the ambient temperature data, error compensation is performed on the first voltage correction value to obtain the second voltage correction value.

[0059] It is understood that the frequency parameters of the power grid and the ambient temperature data are obtained. Based on the frequency parameters of the power grid and the ambient temperature data, the first voltage correction value is compensated for errors, such as nonlinear error and temperature drift error, to obtain a second voltage correction value. By comprehensively considering the power grid frequency parameters and the ambient temperature data for error compensation, the accuracy of the voltage measurement can be significantly improved, and measurement deviations caused by system nonlinear errors and temperature changes can be resolved, making the measurement results more reliable.

[0060] In an optional embodiment, error compensation is performed on the first voltage correction value based on the frequency parameter and the ambient temperature data to obtain the second voltage correction value, including: determining a first compensation coefficient for correcting the nonlinear error caused by the device for measuring the voltage measurement value, and a second compensation coefficient for correcting the measurement error caused by the ambient temperature data; performing data fitting based on the first compensation coefficient, the first voltage correction value, and the frequency parameter to determine the nonlinear error of the first voltage correction value; determining the temperature drift error of the first voltage correction value based on the second compensation coefficient and the ambient temperature data; and determining the second voltage correction value based on the first voltage correction value, the nonlinear error, and the temperature drift error.

[0061] It can be understood that the first compensation coefficient and the second compensation coefficient are determined, the first compensation coefficient is used for the nonlinear error caused by the structural characteristics of the measuring device (such as a voltage divider), and the second compensation coefficient is used to correct the impact of ambient temperature changes on the measurement results. Based on the first compensation coefficient and the first voltage correction value, as well as the frequency parameter, data fitting is performed to determine the nonlinear error of the first voltage correction value; based on the second compensation coefficient and the ambient temperature data, the temperature drift error of the first voltage correction value is determined. Finally, the first voltage correction value is error compensated in combination with the nonlinear error and the temperature drift error to obtain the second voltage correction value. By accurately correcting the nonlinear error and the temperature drift error, the accuracy of the voltage measurement results is significantly improved, especially in a complex power grid environment, providing an accurate data basis for subsequent detection and analysis of the power grid status.

[0062] Optionally, in order to correct the first voltage value V equalized To make corrections, you can obtain the measured ambient temperature data T m and frequency parameter f m , and use these data as the basic input for error compensation.

[0063] V equalized (t) = V t (t)+ΔV e +ΔV t

[0064] Among them, V t (t) is the real voltage signal at time t, ΔV e is the nonlinear error, ΔV t is the temperature drift error, V equalized (t) is the first voltage correction value at time t.

[0065] Optionally, a nonlinear error fitting model can be constructed to fit the data to obtain the nonlinear error of the first voltage correction value. e The error characteristics are extracted through experimental data and the compensation relationship is obtained by fitting.

[0066] ΔV e =C e (V equalized ,f m )

[0067] Among them, C e (V equalized ,f m ) is a nonlinear error compensation model, which is obtained based on the first compensation coefficient, the first voltage correction value, and the frequency parameter.

[0068] Optionally, the temperature drift error can be determined by extracting the temperature drift characteristics. m Real-time detection data, analyze the impact of temperature drift on voltage signal, and establish temperature drift compensation model C t .

[0069] ΔV t =C t (T m )

[0070] Among them, C t (T m ) is the temperature drift compensation model, which is dynamically adjusted according to temperature changes.

[0071] Optionally, the dynamic compensation coefficient can be initialized to obtain the initialization compensation coefficient (including the first compensation coefficient and the second compensation coefficient). e and temperature drift compensation model C t , initialize the compensation coefficient P c , including the nonlinear correction coefficient P e (ie the first compensation coefficient) and the temperature drift compensation coefficient P t (ie the second compensation coefficient).

[0072] P c ={P e ,P t}

[0073]

[0074] Optionally, the voltage signal can be dynamically corrected in real time. According to the current compensation coefficient, the first voltage correction value is dynamically corrected to obtain the second voltage correction value V c .

[0075] V c =V equalized (t)-ΔV e -ΔV t

[0076] In an optional embodiment, after determining the second voltage correction value based on the first voltage correction value, the nonlinear error, and the temperature drift error, the method further includes: determining a voltage adjustment amount based on the second voltage correction value; and correcting the first compensation coefficient and the second compensation coefficient based on the voltage adjustment amount to obtain a corrected first compensation coefficient and a corrected second compensation coefficient.

[0077] It can be understood that to further improve the accuracy of voltage measurements, after determining the second voltage correction value, the second voltage correction value can be used to perform feedback correction on the first and second compensation coefficients. First, a voltage adjustment amount is determined based on the second voltage correction value. Then, the voltage adjustment amount is used to correct the first and second compensation coefficients, respectively, to obtain the corrected first and second compensation coefficients. By determining the voltage adjustment amount and correcting the compensation coefficients, the system can continuously optimize measurement results, reduce residual errors, and ensure continuous improvement in measurement accuracy.

[0078] Optionally, the compensation coefficient can be corrected by an error correction feedback mechanism. By error detection, the dynamic correction signal (i.e., the second voltage correction value V c ) and the target signal (that is, the true voltage signal V t ) to adjust the compensation coefficient in real time.

[0079] E(t)=V t (t)-V c (t)

[0080] P c,new =P c,old +k·E(t)

[0081] Where E(t) is the real-time error at time t (i.e., voltage adjustment), k is the feedback adjustment gain coefficient, V c (t) is the second voltage correction value at time t, P c,old is the compensation coefficient before correction, P c,new is the corrected compensation coefficient.

[0082] Optionally, error compensation and frequency compensation can be used to correct the measured voltage value. The order of compensation can be determined based on actual conditions. In environments with significant nonlinear errors or temperature drift errors, or where the grid frequency is relatively stable, error compensation should be prioritized over frequency compensation. When the measuring equipment operates outside its normal operating temperature range, or when the equipment's nonlinear characteristics significantly impact measurement accuracy, error compensation should be prioritized to minimize measurement deviations caused by these factors. For example, in extreme temperature conditions or when nonlinear characteristics significantly change due to equipment aging, performing error compensation first can ensure that the measurement results are closer to the true value. If the grid frequency does not change significantly, or frequency characteristics are not the primary source of measurement error, error compensation can be performed first, prioritizing the nonlinearity of the equipment and temperature effects. For wideband measurement requirements, environments with high electromagnetic interference or harmonics, or those requiring real-time measurement and response, frequency compensation should be performed first, followed by error compensation. Wideband measurement scenarios require a high dynamic range and wide frequency response. Prioritizing frequency compensation ensures that the signal's phase and amplitude characteristics are optimized at different frequencies, minimizing distortion caused by frequency response mismatch. In environments with strong electromagnetic interference or a large number of harmonics, frequency compensation can effectively filter out or equalize these interferences, improving signal purity and measurement reliability. Performing frequency compensation first helps minimize the impact of complex power grid environments on measurement results, especially when processing high-frequency signals, by reducing errors caused by harmonics and noise. Frequency compensation is closely tied to real-time signal processing. If the measurement system needs to respond instantly to rapidly changing frequency characteristics, frequency compensation should be prioritized. For example, in power grid monitoring applications with a large dynamic range and the need for rapid adaptation, frequency compensation ensures that the measurement system can quickly adapt to frequency changes, reducing dynamic response time.

[0083] Through step S102, a voltage measurement value in the power grid is obtained; in step S104, frequency compensation is performed on the voltage measurement value to obtain a first voltage correction value; and in step S106, error compensation is performed on the first voltage correction value to obtain a second voltage correction value. This method achieves the purpose of correcting the obtained power grid voltage measurement value through frequency compensation and error compensation, achieving the technical effect of improving the accuracy of the power grid voltage measurement result, thereby resolving the technical problem of unsatisfactory accuracy of power grid voltage measurement result existing in related arts.

[0084] Based on the above embodiments and optional embodiments, the present application proposes an optional implementation method for correcting the voltage measurement value measured by the voltage divider.

[0085] Because RC voltage dividers (i.e., voltage dividers) are susceptible to factors such as nonlinear errors, temperature drift, and aging during the measurement process, measurement accuracy is significantly reduced, especially when facing high-frequency transient signals such as lightning overvoltage and switching overvoltage. In addition, there are great difficulties in dynamically compensating and correcting the measurement errors of the voltage divider in real time, resulting in poor dynamic response performance in complex power grid environments. This deficiency directly affects the applicability of the measurement equipment (i.e., voltage dividers) in scenarios with high-frequency harmonics and transient pulse signals, and cannot meet the requirements of modern power systems for high precision and high dynamic response capabilities. At the same time, the frequency response range of RC voltage dividers is usually limited to a relatively narrow operating frequency range, and their measurement capabilities for high-frequency and wide-band signals are relatively weak. When dealing with harmonic signals and transient interference with varying frequencies in complex power grids, the problems of frequency response deviation and insufficient dynamic range are particularly prominent. Finally, to optimize frequency response, related technologies generally rely on hardware compensation circuit design, such as the use of multi-stage resistor-capacitor networks or precision components. This not only increases circuit complexity and equipment cost, but also leads to insufficient overall anti-interference capabilities, especially in environments with strong electromagnetic interference, which can easily lead to distortion or instability of the measurement signal.

[0086] To address the aforementioned issues, a high-precision voltage divider measurement method based on digital compensation and broadband response optimization is proposed. This method corrects the voltage measurement value of the voltage divider to address the issues of high measurement accuracy and error in broadband voltage dividers. This method first performs error compensation on the measured voltage value, followed by frequency compensation to improve the accuracy of the voltage measurement value. This high-precision voltage divider measurement method based on digital compensation and broadband response optimization specifically includes: S1, digital compensation (i.e., error compensation) for nonlinear errors and temperature drift (i.e., temperature drift error) based on real-time acquisition of multiple parameters; S2, dynamic response compensation optimized for a wide frequency range; and S3, modularization of integrated signal processing and dynamic compensation technology.

[0087] S1, digitally compensates (i.e., error compensation) the nonlinear error and temperature drift (i.e., temperature drift error) based on real-time acquisition of multiple parameters;

[0088] S11, through the high-precision acquisition module, real-time acquisition of measurement signals (i.e., voltage measurement values), grid parameters (i.e., grid frequency parameters), and ambient temperature data, provides basic input for error compensation.

[0089] S12, based on multi-dimensional data fitting technology, establish a dynamic correction model for nonlinear distortion.

[0090] S13, using the ambient temperature data, dynamically adjusting the compensation coefficients (ie, the first compensation coefficient and the second compensation coefficient) to correct the measurement deviation caused by the temperature change.

[0091] S14, outputting a compensated and corrected high-precision signal (since error compensation is performed first, the high-precision signal is the second voltage correction value of the above embodiment), and optimizing the compensation parameters through a feedback mechanism.

[0092] S2, dynamic response compensation optimized for a wide frequency range;

[0093] S21 uses a high-speed sampling module to acquire wide-frequency signals and decomposes them into low-frequency and high-frequency components through a frequency division algorithm.

[0094] S22, based on the characteristics of different frequency bands, designs digital filters and equalization models to ensure the accuracy of signal amplitude and phase.

[0095] S23, dynamically adjusting the compensation model according to the frequency characteristics of the real-time sampled voltage signal (ie, the voltage measurement value) to optimize the consistency of the broadband response.

[0096] S3, modularization of integrated signal processing and dynamic compensation technology.

[0097] S31 integrates error compensation, broadband optimization and dynamic adjustment algorithms to build an intelligent signal processing module.

[0098] S32, embeds the adaptive compensation algorithm into the signal processing module to achieve real-time response adjustment for complex grid conditions.

[0099] Figure 2 This is a first schematic diagram of an optional voltage correction method provided according to an embodiment of the present application, such as Figure 2 As shown, a high-precision voltage divider measurement method based on digital compensation and wide-frequency response optimization includes 16 steps in total. These 16 steps are described below.

[0100] Step 1: Real-time measurement signal acquisition. The original voltage signal V is acquired through the high-precision acquisition module. m (i.e. voltage measurement value), ambient temperature data T m and frequency parameter f m These data will serve as the basic input for error compensation.

[0101] V m (t) = V t (t)+ΔV e +ΔV t

[0102] Among them, V t (t) is the real voltage signal at time t, ΔV e is the nonlinear error, ΔV t is the temperature drift error, V m (t) is the voltage measurement value at time t.

[0103] Step 2: Construct a nonlinear error fitting model. Use multidimensional data fitting technology to establish a nonlinear error compensation model C e The error characteristics are extracted from the experimental data and the compensation equation is obtained by fitting.

[0104] ΔV e =C e (V m ,f m )

[0105] Among them, C e (V m ,f m ) is a nonlinear error compensation model, which is obtained based on the first compensation coefficient, the voltage measurement value, and the frequency parameter.

[0106] Step 3: Temperature drift characteristics extraction. According to the ambient temperature data T m Real-time detection data, analyze the impact of temperature drift on voltage signal, and establish temperature drift compensation model C t .

[0107] ΔV t =C t (T m )

[0108] Among them, C t (T m ) is the temperature drift compensation model, which is dynamically adjusted according to temperature changes.

[0109] Step 4: Initialize dynamic compensation parameters. Based on the models of the first two steps (i.e., steps 2 and 3), initialize the compensation coefficient P c , including the nonlinear correction coefficient P e (ie the first compensation coefficient) and the temperature drift compensation coefficient P t (ie the second compensation coefficient).

[0110] P c ={P e ,P t}

[0111]

[0112] Step 5: Real-time dynamic correction signal. According to the current compensation coefficient, the voltage measurement value is dynamically corrected to obtain the preliminary compensation signal V c (Since error compensation is performed first, it is the second voltage correction value in the above embodiment).

[0113] V c =V m (t)-ΔV e -ΔVt

[0114] Step 6: Error correction feedback mechanism. Through error detection, compare the dynamic correction signal (i.e. the second voltage correction value V c ) and the target signal (that is, the true voltage signal V t ) to adjust the compensation coefficient in real time.

[0115] E(t)=V t (t)-V c (t)

[0116] P c,new =P c,old +k·E(t)

[0117] Where E(t) is the real-time error at time t (i.e., voltage adjustment), k is the feedback adjustment gain coefficient, V c (t) is the second voltage correction value at time t, P c,old is the compensation coefficient before correction, P c,new is the corrected compensation coefficient.

[0118] Step 7: High-precision voltage signal output. The compensated voltage signal is output as a high-precision measurement result for subsequent broadband response optimization processing.

[0119] Step 8: Continuously optimize the compensation model. Analyze the long-term stability of the compensation model using data collected over a long period of time, and further optimize the nonlinear error compensation model and temperature drift compensation model.

[0120] C e,new =C e,old +α·ΔC e

[0121] C t,new =C t,old +β·ΔC t

[0122] Among them, α is the optimization gain of nonlinear error adjustment, β is the optimization gain of temperature drift error adjustment, ΔC e is the nonlinear error adjustment amount, ΔC t is the temperature drift error adjustment, C e,old is the nonlinear error compensation model before optimization, C e,new is the optimized nonlinear error compensation model, C t,old is the temperature drift compensation model before optimization, C t,new is the optimized temperature drift compensation model.

[0123] Step 9: High-speed sampling of broadband signal. The input signal (i.e., the second voltage correction value Vc ) to perform digital acquisition to ensure that the dynamic range of the broadband signal is met. Sampling frequency f s The sampling theorem should be satisfied, and the highest frequency f of the broadband signal should be considered. max .

[0124] f s ≥2·f max

[0125] Among them, f s represents the sampling frequency, f max Indicates the highest frequency of the signal.

[0126] Step 10: Wideband signal frequency division processing. Use digital frequency division algorithm to decompose the sampled voltage signal into low-frequency components V low and high frequency component V high .

[0127] V m =V low +V high

[0128] V low =LPF(V m ),V high =HPF(V m )

[0129] Among them, LPF (V m ) is a low-pass filter used to extract low-frequency signals; HPF (V m ) is a high-pass filter that extracts high-frequency signals.

[0130] Step 11: Frequency characteristic analysis. low and V high Perform frequency characteristic analysis and extract the amplitude response characteristic A(f) and phase response characteristic Φ(f).

[0131] A(f)=|H(f)|,Φ(f)=arg(H(f))

[0132] Where H(f) is the frequency response function of the voltage signal.

[0133] Step 12: Digital filter design. Based on the signal characteristics of different frequency bands, design digital filters to optimize amplitude and phase response. The filter parameters (i.e., filter coefficients) are determined by the characteristics of the signal after frequency division.

[0134] V filtered =F(f)·V c

[0135] Where F(f) is the frequency band optimized filter, V filtered is the filter correction value.

[0136] Step 13: Equalization model construction: Design a digital equalizer for the divided high-frequency and low-frequency voltage signals to compensate for amplitude and phase deviations.

[0137]

[0138] V equalized =E(f)·V filtered

[0139] Where E(f) is a digital equalizer used for amplitude and phase response compensation, V equalized is the first voltage correction value.

[0140] Step 14: Dynamic compensation model real-time adjustment. Based on the frequency characteristics of the real-time sampled signal, the equalizer coefficients and filter coefficients are dynamically adjusted to optimize the consistency of the broadband response.

[0141] F new (f) = F oid (f)+k f ΔF(f)

[0142] E new (f) = E oid (f)+k e ΔE(f)

[0143] Among them, ΔF(f) is the filtering adjustment amount, ΔE(f) is the equalization adjustment amount, k f is the dynamic adjustment gain coefficient of the filter, k e is the dynamic adjustment gain coefficient of the equalizer, F oid (f) is the frequency band optimization filter before correction (including the filter coefficients before correction), E oid (f) is the digital equalizer before correction (including the equalization coefficient before correction), F new (f) is the modified frequency band optimization filter (including the modified filter coefficients), E new (f) is the corrected digital equalizer (including the corrected equalization coefficient).

[0144] Step 15: Verify the optimization results. Perform a frequency response test on the optimized first voltage correction value to verify the consistency of its amplitude and phase, and record the error.

[0145] ΔA=|A true -A optimized |,ΔΦ=|Φ true -Φ optimized |

[0146] Among them, ΔA is the amplitude error, ΔΦ is the phase error, and A trueis the true value of the amplitude, A optimized is the amplitude of the first voltage correction value, Φ true is the true value of the phase, Φ optimized is the phase of the first voltage correction value.

[0147] Step 16: Continuously optimize the frequency compensation model. Iteratively optimize the compensation model based on the verification results to improve the model's robustness and adaptability.

[0148] F final (f) = F new (f)+γ·ΔF(f)

[0149] E final (f) = E new (f)+δ·ΔE(f)

[0150] Among them, F new (f) is the frequency band optimization filter before continuous optimization, F final (f) is the frequency band optimized filter after continuous optimization, E new (f) is the digital equalizer before continuous optimization, E final (f) is the digital equalizer after continuous optimization, γ is the optimized gain of the filter adjustment amount, and δ is the optimized gain of the equalization adjustment amount.

[0151] The S1 nonlinear error compensation and temperature drift compensation algorithms are integrated with the S2 broadband optimized dynamic compensation algorithm into a unified signal processing module. The system acquires real-time voltage signals and environmental parameters through the signal acquisition input interface and transmits them to the central processing unit. The module implements programming within the module to call the error correction and frequency compensation algorithms, sequentially processes the input signals, and outputs optimized, high-precision measurement results.

[0152] Figure 3 is a second schematic diagram of an optional voltage correction method provided according to an embodiment of the present application, such as Figure 3 As shown in Figure 1, the system consists of three parts: an input data acquisition unit, a signal processing core module, and an output interface module. The input data acquisition unit includes signal conditioning circuits and digital-to-analog conversion circuits, responsible for real-time acquisition of measurement voltage signals, grid frequency, and ambient temperature data. The signal processing core module loads nonlinear compensation algorithms, temperature drift compensation algorithms, broadband response optimization algorithms, and output signal algorithms to perform data processing. The output interface module outputs high-precision signals after compensation and optimization, and has output wireless transmission interfaces and optical fiber output interfaces for use by downstream measurement or analysis equipment.

[0153] The core signal processing module incorporates dynamic compensation functionality, automatically matching and invoking corresponding error compensation and frequency optimization algorithms based on real-time input data. Based on the varying characteristics of the input signal, the module optimizes the broadband signal through frequency division and filtering algorithms. It also utilizes a temperature compensation module to correct for environmental influences, ensuring consistent amplitude and phase of the output signal.

[0154] The modular system seamlessly connects functional units through standardized interfaces, facilitating streamlined signal acquisition, processing, and output. Each functional module within the system works independently but closely together, with data flowing step-by-step from the acquisition unit to the processing module. Each module completes its specific computational task and passes the results to the next module. This modular functional division and operational coordination ensures efficient system operation and high-precision measurement performance in a variety of complex power grid environments.

[0155] The above optional implementation methods achieve at least the following effects: by introducing digital compensation, automatic calibration algorithms and intelligent compensation models are used to perform real-time dynamic corrections for the nonlinear errors and temperature drift problems of the RC voltage divider, thereby greatly improving measurement accuracy, reducing hardware complexity, and enhancing anti-interference ability and accuracy stability; through wide-band response optimization design, high-speed sampling and digital equalization technology are used to significantly improve the response capability of the voltage divider within different grid frequency ranges (such as low-frequency signals and high-frequency transients), ensuring high consistency and high reliability of the measurement results, and meeting the requirements of complex grid environments for accurate acquisition of high-frequency pulses and harmonic signals; digital signal processing technology, combined with wireless digital transmission technology, effectively solves the problem of the influence of traditional cable length on measurement signals, reduces signal attenuation and interference, and reduces system complexity, thereby improving applicability and ease of use, and is suitable for a variety of field measurement application environments.

[0156] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0157] This embodiment also provides a voltage correction device for implementing the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated. As used below, the terms "module" and "device" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0158] According to an embodiment of the present application, a device embodiment for implementing a voltage correction method is also provided. Figure 4is a schematic diagram of a voltage correction device according to an embodiment of the present application, such as Figure 4 As shown, the voltage correction device includes a voltage measurement value acquisition module 402, a first voltage correction value determination module 404, and a second voltage correction value determination module 406. The device is described below.

[0159] The voltage measurement value acquisition module 402 is used to obtain the voltage measurement value in the power grid;

[0160] A first voltage correction value determination module 404 is connected to the voltage measurement value acquisition module 402 and is used to perform frequency compensation on the voltage measurement value to obtain a first voltage correction value;

[0161] The second voltage correction value determination module 406 is connected to the first voltage correction value determination module 404 and is configured to perform error compensation on the first voltage correction value to obtain a second voltage correction value.

[0162] In a voltage correction device provided in an embodiment of the present application, a voltage measurement value acquisition module 402 is provided for acquiring voltage measurement values in a power grid; a first voltage correction value determination module 404 is connected to the voltage measurement value acquisition module 402 and is configured to perform frequency compensation on the voltage measurement values to obtain a first voltage correction value; and a second voltage correction value determination module 406 is connected to the first voltage correction value determination module 404 and is configured to perform error compensation on the first voltage correction value to obtain a second voltage correction value. This device achieves the purpose of correcting the acquired power grid voltage measurement values through frequency compensation and error compensation, achieving the technical effect of improving the accuracy of the power grid voltage measurement results, thereby resolving the technical problem of unsatisfactory accuracy of power grid voltage measurement results existing in related technologies.

[0163] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0164] It should be noted that the voltage measurement value acquisition module 402, the first voltage correction value determination module 404, and the second voltage correction value determination module 406 correspond to steps S102 to S106 in the embodiment. The examples and application scenarios implemented by these modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run on a computer terminal.

[0165] It should be noted that the optional or preferred implementation of this embodiment can be found in the relevant description in the embodiment, which will not be repeated here.

[0166] The above-mentioned voltage correction device may also include a processor and a memory. The voltage measurement value acquisition module 402, the first voltage correction value determination module 404, the second voltage correction value determination module 406, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.

[0167] The processor includes a kernel, which retrieves the corresponding program unit from memory. There can be one or more kernels. Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory includes at least one memory chip.

[0168] An embodiment of the present application provides a non-volatile storage medium having a program stored thereon, which implements a voltage correction method when executed by a processor.

[0169] An embodiment of the present application provides an electronic device comprising a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are performed: obtaining a voltage measurement value from a power grid; performing frequency compensation on the voltage measurement value to obtain a first voltage correction value; and performing error compensation on the first voltage correction value to obtain a second voltage correction value. The device herein may be a server, a PC, or the like.

[0170] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: obtaining a voltage measurement value in a power grid; performing frequency compensation on the voltage measurement value to obtain a first voltage correction value; and performing error compensation on the first voltage correction value to obtain a second voltage correction value.

[0171] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0172] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0173] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0174] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0175] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0176] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0177] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0178] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0179] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0180] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A voltage correction method, characterized in that: include: Obtain voltage measurements in the power grid; Performing frequency compensation on the voltage measurement value to obtain a first voltage correction value; Error compensation is performed on the first voltage correction value to obtain a second voltage correction value.

2. The method according to claim 1, characterized in that The performing frequency compensation on the voltage measurement value to obtain a first voltage correction value includes: Determine filtering coefficients and equalization coefficients; Based on the filter coefficient, the voltage measurement value is filtered to determine a filter correction value; Based on the equalization coefficient, the filter correction value is equalized to determine the first voltage correction value.

3. The method according to claim 2, characterized in that After performing equalization processing on the filter correction value based on the equalization coefficient to determine the first voltage correction value, the method further includes: determining a filter adjustment amount based on the voltage measurement value and the filter correction value; determining a balancing adjustment amount based on the first voltage correction value and the filtering correction value; Based on the filtering adjustment amount, the filtering coefficient is corrected to obtain a corrected filtering coefficient; based on the equalization adjustment amount, the equalization coefficient is corrected to obtain a corrected equalization coefficient.

4. The method according to any one of claims 1 to 3, characterized in that The performing error compensation on the first voltage correction value to obtain a second voltage correction value includes: determining frequency parameters of the power grid, and ambient temperature data; Based on the frequency parameter and the ambient temperature data, error compensation is performed on the first voltage correction value to obtain the second voltage correction value.

5. The method according to claim 4, characterized in that The performing error compensation on the first voltage correction value based on the frequency parameter and the ambient temperature data to obtain the second voltage correction value includes: determining a first compensation coefficient for correcting a nonlinear error caused by a device measuring the voltage measurement value, and a second compensation coefficient for correcting a measurement error caused by measuring the ambient temperature data; performing data fitting based on the first compensation coefficient, the first voltage correction value, and the frequency parameter to determine a nonlinear error of the first voltage correction value; determining a temperature drift error of the first voltage correction value based on the second compensation coefficient and the ambient temperature data; The second voltage correction value is determined based on the first voltage correction value, the nonlinear error, and the temperature drift error.

6. The method according to claim 5, characterized in that After determining the second voltage correction value based on the first voltage correction value, the nonlinear error, and the temperature drift error, the method further includes: determining a voltage adjustment amount based on the second voltage correction value; Based on the voltage adjustment amount, the first compensation coefficient and the second compensation coefficient are respectively corrected to obtain a corrected first compensation coefficient and a corrected second compensation coefficient.

7. A voltage correction device, characterized in that: include: A voltage measurement value acquisition module is used to obtain voltage measurement values in the power grid; a first voltage correction value determination module, configured to perform frequency compensation on the voltage measurement value to obtain a first voltage correction value; The second voltage correction value determination module is configured to perform error compensation on the first voltage correction value to obtain a second voltage correction value.

8. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the voltage correction method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: include: One or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the voltage correction method according to any one of claims 1 to 6.

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