Method, device and equipment for calibrating electric energy meter under small signal interference and storage medium
Patent Information
- Application Number
- CN202611384431.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-10-09
AI Technical Summary
[0003]本申请的主要目的在于提供一种小信号干扰的电能表校准方法、装置、设备及存储介质,旨在解决在小信号干扰下电能表校准效率低且精度一致性差的技术问题
1)通过在正式校准前预先采集小信号干扰下的预补偿参数,并在加载校准条件后利用该参数从总采样功率中剥离出干扰分量,从而获得纯净的实际功率用于单点校准;在校准参数生效后再通过重采样计算剩余的小信号偏置误差并进行补偿。该机制使得在存在小信号干扰的场景下,无需多次切换标准源输出条件,仅需一次控源即可同时完成基础计量参数校准和小信号偏置补偿,解决了传统多点校准效率低下的问题,同时通过实时剥离与补偿消除了干扰不一致性对精度的影响,提高校准的准确性;
Smart Images

Figure CN122883082A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electricity meter calibration technology, and in particular to electricity meter calibration methods, apparatus, equipment and storage media for small signal interference. Background Technology
[0002] In the manufacturing process of electricity meters, calibration is a crucial step in ensuring metering accuracy. Currently, to improve manufacturing efficiency, a single-point calibration scheme is typically used. This involves controlling a standard source to output a specific condition (such as an inductive load condition) only once to calibrate parameters such as voltage, current, power, and phase. However, when strong small-signal interference exists in the electricity meter design, such as downlink coupling interference from the power line carrier communication module or magnetic field interference from the manganese copper sampling scheme, significant biases in active and reactive power under low current conditions can occur. In such cases, existing single-point calibration schemes cannot meet accuracy requirements, necessitating a multi-point calibration approach. This requires additional control of the source to output a small current under inductive conditions for bias calibration. This step-by-step calibration method not only significantly increases the calibration time per cycle, severely reducing production efficiency, but also makes it difficult to guarantee metering accuracy when the interference source consistency is poor. Summary of the Invention
[0003] The main objective of this application is to provide a method, apparatus, device, and storage medium for calibrating electricity meters under small signal interference, aiming to solve the technical problems of low calibration efficiency and poor accuracy consistency of electricity meters under small signal interference.
[0004] To achieve the above objectives, this application proposes a method for calibrating an energy meter to mitigate small-signal interference, the method comprising: Obtain the pre-compensation parameters output by the metering chip under small-signal interference conditions, and the initial active power and initial reactive power output by the metering chip under calibration conditions. The initial active power and the initial reactive power are subjected to interference stripping based on the pre-compensation parameters to obtain the actual active power and the actual reactive power. Single-point calibration is performed based on the actual active power and the actual reactive power to obtain calibration parameters; The calibration parameters are written into the metering chip, and the sample is resampled under the calibration state to obtain the calibrated active power and calibrated reactive power. The calibration is completed based on the calibration parameters, the calibration active power, and the calibration reactive power.
[0005] In one embodiment, the step of completing the calibration based on the calibration parameters, the calibration active power, and the calibration reactive power includes: Obtain the standard active power value and standard reactive power value of the standard source; The difference in active power is calculated based on the calibrated active power and the standard active power value; Calculate the reactive power difference based on the calibrated reactive power and the standard reactive power value; Calibration is completed based on the active power difference, the reactive power difference, and the calibration parameters.
[0006] In one embodiment, the step of completing the calibration based on the active power difference, the reactive power difference, and the calibration parameters includes: The calibration interference active power is determined based on the active power difference. The calibration interference reactive power is determined based on the reactive power difference. The small signal power bias compensation parameters are determined based on the calibration interference active power and the calibration interference reactive power. The calibration parameters and the small signal power bias compensation parameters are written into the metering chip to complete the calibration.
[0007] In one embodiment, the step of performing interference stripping on the initial active power and the initial reactive power according to the pre-compensation parameters to obtain the actual active power and the actual reactive power includes: The initial active power and initial reactive power of the interference are obtained based on the pre-compensation parameters. The actual active power is obtained by subtracting the initial disturbance active power from the initial active power. The actual reactive power is obtained by subtracting the initial disturbance reactive power from the initial reactive power.
[0008] In one embodiment, the step of performing single-point calibration based on the actual active power and the actual reactive power to obtain calibration parameters includes: Acquire the sampling voltage and sampling current output by the metering chip when it is in calibration state, as well as the rated voltage, rated current, standard apparent power, and standard power factor values issued by the standard source; The voltage gain error is obtained based on the sampled voltage and the rated voltage, and the current gain error is obtained based on the sampled current and the rated current. The voltage calibration parameters are obtained based on the voltage gain error, and the current calibration parameters are obtained based on the current gain error. Power calibration parameters and phase angle calibration parameters are determined based on multiple factors including the actual active power, the actual reactive power, the standard apparent power, and the standard power factor value. The calibration parameters are obtained based on the voltage calibration parameters, the current calibration parameters, the power calibration parameters, and the phase angle calibration parameters.
[0009] In one embodiment, the step of determining the power calibration parameters and phase angle calibration parameters based on multiple factors including the actual active power, the actual reactive power, the standard apparent power, and the standard power factor value includes: Calculate the measured apparent power and the measured power factor value based on the actual active power and the actual reactive power; The power gain error is determined based on the standard apparent power and the measured apparent power. The power calibration parameters are obtained based on the power gain error. The power factor error is determined based on the standard power factor value and the measured power factor value. The power factor error is converted into a phase angle error, and the phase angle calibration parameters are obtained based on the phase angle error.
[0010] In one embodiment, the steps of obtaining the pre-compensation parameters output by the metering chip under small-signal interference and the initial active power and initial reactive power output by the metering chip under calibration conditions include: Obtain the original active power and original reactive power of the interference from the metering chip under the condition of small-signal interference with only the rated voltage applied; The original active power and the original reactive power of interference are filtered and averaged to obtain the initial active power and the initial reactive power of interference. The pre-compensation parameters are obtained based on the initial active power of the interference and the initial reactive power of the interference. Obtain the raw active power and raw reactive power under the calibration state with rated voltage, rated current and preset power factor applied; The original active power and the original reactive power are filtered and averaged to obtain the initial active power and the initial reactive power.
[0011] Furthermore, to achieve the above objectives, this application also proposes a small-signal interference calibration device for electricity meters, the small-signal interference calibration device comprising: The acquisition module is used to acquire the pre-compensation parameters output by the metering chip under small signal interference, and the initial active power and initial reactive power output by the metering chip under calibration conditions. An interference stripping module is used to strip interference from the initial active power and the initial reactive power according to the pre-compensation parameters to obtain the actual active power and the actual reactive power. The calibration module is used to perform single-point calibration based on the actual active power and the actual reactive power to obtain calibration parameters. The sampling module is used to write the calibration parameters into the metering chip and resample in the calibration state to obtain the calibrated active power and calibrated reactive power. The calibration module is also used to complete the calibration based on the calibration parameters, the calibration active power, and the calibration reactive power.
[0012] Furthermore, to achieve the above objectives, this application also proposes a small-signal interference-based energy meter calibration device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the small-signal interference-based energy meter calibration method described above.
[0013] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the energy meter calibration method for small signal interference as described above.
[0014] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the energy meter calibration method for small signal interference as described above.
[0015] One or more technical solutions proposed in this application have at least the following technical effects: 1) By pre-collecting pre-compensation parameters under small-signal interference before formal calibration, and using these parameters to extract interference components from the total sampled power after applying calibration conditions, a pure actual power is obtained for single-point calibration. After the calibration parameters take effect, the remaining small-signal bias error is calculated and compensated through resampling. This mechanism enables the simultaneous completion of basic metrological parameter calibration and small-signal bias compensation with only one source control in scenarios with small-signal interference, without the need to switch standard source output conditions multiple times. This solves the problem of low efficiency in traditional multi-point calibration. At the same time, real-time extraction and compensation eliminate the impact of interference inconsistency on accuracy, improving calibration accuracy. 2) By calculating the difference between the calibrated sampling power and the standard value of the standard source, the residual small signal interference under the current calibration parameters was quantified, providing a data basis for the subsequent accurate calculation of the small signal bias compensation parameters and ensuring the accuracy of the final compensation. 3) When performing single-point calibration, the error correction of four key metering indicators, namely voltage, current, power and phase angle, is covered, which ensures that the metering performance of the electricity meter can be fully restored after the interference is removed, so that the single-point calibration results can reach the same level of accuracy as traditional multi-point calibration. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart illustrating an embodiment of the energy meter calibration method for small signal interference in this application; Figure 2 A flowchart illustrating Embodiment 2 of the energy meter calibration method for small signal interference provided in this application; Figure 3 A flowchart illustrating Embodiment 3 of the energy meter calibration method for small signal interference in this application; Figure 4 A simplified flowchart illustrating an embodiment of the energy meter calibration method for small-signal interference provided in this application; Figure 5 This is a schematic diagram of the module structure of the energy meter calibration device for small signal interference according to an embodiment of this application; Figure 6 This is a schematic diagram of the hardware operating environment involved in the energy meter calibration method for small signal interference in the embodiments of this application.
[0019] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0021] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0022] The main solution of this application embodiment is as follows: Obtain the pre-compensation parameters output by the metering chip under small-signal interference conditions, and the initial active power and initial reactive power output by the metering chip under calibration conditions; perform interference stripping on the initial active power and initial reactive power according to the pre-compensation parameters to obtain the actual active power and actual reactive power; perform single-point calibration based on the actual active power and actual reactive power to obtain calibration parameters; write the calibration parameters into the metering chip, and resample under calibration conditions to obtain calibrated active power and calibrated reactive power; complete calibration based on the calibration parameters, the calibrated active power, and the calibrated reactive power.
[0023] In existing technologies, when there is strong small-signal interference in the electricity meter, single-point calibration cannot meet the accuracy requirements and multi-point calibration in steps is required. This not only results in long calibration time and low production efficiency, but also makes it difficult to guarantee the metering accuracy when the interference source is inconsistent.
[0024] This application provides a solution that removes interference components by pre-acquiring and pre-compensating parameters, allowing basic calibration and small signal bias compensation to be completed simultaneously with a single source control, thus balancing calibration efficiency and accuracy.
[0025] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone; or an electronic device capable of performing the above functions, a small-signal-interference electricity meter calibration device, or an electricity meter. The following uses an electricity meter as an example to describe this embodiment and the subsequent embodiments. All actions involving the acquisition of signals, information, or data in this application are performed in accordance with the relevant data protection regulations of the locality and with authorization from the owner of the corresponding device.
[0026] Based on this, the embodiments of this application provide a method for calibrating an energy meter to mitigate small-signal interference, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the energy meter calibration method for small signal interference according to this application.
[0027] In this embodiment, the energy meter calibration method for small signal interference includes steps S10~S50: Step S10: Obtain the pre-compensation parameters output by the metering chip under small signal interference, and the initial active power and initial reactive power output by the metering chip under calibration conditions.
[0028] It should be noted that the pre-compensation parameter essentially represents the background value of pure interference introduced by the internal hardware circuit when the energy meter has no load current input.
[0029] In practice, this parameter is typically acquired during the power-on initialization phase of the energy meter or the preparation phase before the formal loading of the calibration load. At this time, the standard source applies only the rated voltage to the energy meter without outputting current, placing the meter in a zero-current condition. In this state, the metering chip should theoretically have no power output; its readings originate entirely from small-signal interference sources such as the downlink coupling capacitor of the power line carrier communication module, the magnetic field induction of the manganese copper sampling resistor, or power circuit ripple. By acquiring and recording this interference data at this moment as pre-compensation parameters, a dynamic "interference reference surface" is established for subsequent calibration. Simultaneously, after the standard source switches to a preset calibration state (e.g., rated voltage, rated current, and a specific power factor angle), the metering chip outputs initial active power and initial reactive power, including the actual load power and the superposition of small-signal interference. The metering chip is a key electronic component inside the energy meter, responsible for sampling analog voltage and current signals and outputting digital quantities such as active power and reactive power through internal calculations.
[0030] In one feasible implementation, step S10 may include steps A11 to A15: Step A11: Obtain the original active power and reactive power of the interference from the metering chip under the condition of small-signal interference with only the rated voltage applied; It should be noted that in the actual physical environment of electricity meter calibration, small-signal interference (such as coupling interference from the power line carrier communication module or magnetic field induction from the manganese copper sampler) often manifests as low-amplitude signals at the milliwatt or even microwatt level. These signals are easily masked by quantization noise, power supply ripple, or ambient electromagnetic radiation from the metering chip's analog-to-digital converter. If a single sample value is directly used as the pre-compensation parameter, this parameter will contain a large amount of non-deterministic random noise components. When this noisy pre-compensation parameter is used for subsequent interference stripping calculations, the random noise will be transmitted and superimposed on the actual power calculation result, causing distortion of the input data for single-point calibration and thus affecting the final calibration accuracy. Therefore, this embodiment introduces a rigorous data preprocessing mechanism.
[0031] During the pre-compensation parameter acquisition phase, the electricity meter starts up under the power supply of the standard calibration source equipment. The electricity meter is in a predetermined calibration state, and the standard source applies the rated voltage to the electricity meter without outputting current, so that the electricity meter is in a zero-current operating condition. Specifically, the electricity meter waits for the standard calibration source equipment to issue a pre-calibration command. After receiving the command, the electricity meter begins calibration initialization, and all metering parameters are operated with default values. At this time, the electricity meter internally samples the active power and reactive power under rated voltage, zero current, and small-signal interference.
[0032] Step A12: Filter and average the original interference active power and the original interference reactive power to obtain the initial interference active power and the initial interference reactive power. In practical implementation, under this state, the metering chip continuously collects the original active power and reactive power of the interference N times. The N collections represent a statistical accumulation process; the value of N is typically determined based on the fluctuation characteristics of the interference signal and the production line cycle time requirements, and can be set to, for example, 16, 32, or 64 times. By filtering and averaging these N sets of raw data, random white noise following a normal distribution can be effectively suppressed, causing the processed initial active and reactive power of the interference to converge to the true expected value of the interference signal. For example, moving average filtering, median filtering, etc., can be used. In other implementations, weighted averaging, low-pass digital filtering, or sorted truncated mean algorithms can also be employed.
[0033] Step A13: Obtain the pre-compensation parameters based on the initial interference active power and the initial interference reactive power; The initial active power of the interference obtained after the above processing ( ) and initial disturbance reactive power ( This constitutes a high-confidence pre-compensation parameter, which is then saved. At this point, the sampling process is complete, and the system can wait for the next instruction from the standard calibration source device.
[0034] Step A14: Obtain the raw active power and raw reactive power under the calibration state with rated voltage, rated current and preset power factor applied; In practice, after the standard calibration source equipment completes the single-point calibration under the conditions of rated voltage, rated current, and 60° control source output, the electricity meter will lose power due to the control source and then power on and operate under the new conditions. The preset power factor is a 60-degree phase difference between the voltage waveform and the current waveform.
[0035] After the electricity meter waits for the single-point calibration command to be issued, the electricity meter performs sampling under the given conditions to obtain the original active power and the original reactive power.
[0036] Step A15: Filter and average the original active power and the original reactive power to obtain the initial active power and the initial reactive power.
[0037] In practice, the original active power and original reactive power can be filtered and averaged using the same steps as described above to obtain the final initial active power. ) and initial reactive power ( ).
[0038] Step S20: Perform interference stripping on the initial active power and the initial reactive power according to the pre-compensation parameters to obtain the actual active power and the actual reactive power.
[0039] Understandably, the initial active power and initial reactive power can be subtracted using pre-compensation parameters to remove small-signal interference components and obtain the actual active power and actual reactive power.
[0040] Specifically, interference removal is the core preprocessing step for achieving single-point calibration accuracy in this embodiment. Since the initial sampled values contain small-signal interference, directly using them in the calibration algorithm would cause the calculated gain or phase error to deviate from the true value, leading to measurement errors. Therefore, a pre-compensation parameter can be used as a subtraction to remove the corresponding interference components from the initial active power and initial reactive power, thereby restoring the pure power value generated only by external load excitation, i.e., the actual active power and actual reactive power.
[0041] In one feasible implementation, step S20 may include steps A21 to A23: Step A21: Obtain the initial interference active power and initial interference reactive power based on the pre-compensation parameters; Understandably, the pre-compensation parameters include the pre-processed initial interference active power and initial interference reactive power, which can be retrieved directly from the storage area.
[0042] Step A22: Subtract the initial disturbance active power from the initial active power to obtain the actual active power; In practical implementation, the actual active power is calculated as follows:
[0043] In the above formula, This represents the actual active power. This is the initial active power. This represents the initial active power of the disturbance.
[0044] Step A23: Subtract the initial disturbance reactive power from the initial reactive power to obtain the actual reactive power.
[0045] In practical implementation, the actual reactive power is calculated as follows:
[0046] In the above formula, This represents the actual reactive power. This is the initial reactive power. This represents the initial reactive power of the disturbance.
[0047] For downlink coupling interference in power line carrier communication modules or magnetic field interference in manganese copper sampling circuits, the main manifestations are often fixed biases existing under zero or low current conditions, or system background noise that is orthogonal to and weakly correlated with the load current amplitude. Unlike transformer ratio or phase angle errors, this type of interference does not change linearly with the load current; instead, it manifests more as a "DC component" or "quasi-DC component" superimposed on the actual metering signal. Therefore, by subtracting the pre-measured interference background value from the total sampled values, the actual power component generated by external load excitation can be mathematically effectively separated. This completely removes the interference component from the total sampling results, preventing additional correction offsets to the actual power component and ensuring the accuracy of the input data for subsequent calibration calculations.
[0048] Step S30: Perform single-point calibration based on the actual active power and the actual reactive power to obtain calibration parameters.
[0049] Understandably, once the actual power data after interference removal is obtained, the electricity meter can execute the standard single-point calibration algorithm. Here, single-point calibration refers to calculating a complete set of basic metering parameters, including voltage gain, current gain, power gain, and phase compensation, based solely on data from the current calibration load point and combined with standard reference values from a standard source.
[0050] Since the input data has been purified to eliminate the contamination of power and phase calculations by small-signal interference, the calculated calibration parameters can accurately reflect the true performance of the electricity meter's metering channel without mistakenly absorbing interference into the gain coefficient.
[0051] It should be noted that the calibration parameters include at least voltage calibration parameters, current calibration parameters, power calibration parameters, and phase angle calibration parameters.
[0052] Step S40: Write the calibration parameters into the metering chip and resample in the calibration state to obtain the calibrated active power and calibrated reactive power.
[0053] In practice, after the obtained calibration parameters are written into the register of the metering chip, the metering model of the energy meter is substantially updated. At this point, resampling can be performed while keeping the calibration state unchanged. The calibrated active power and calibrated reactive power obtained from the resampling reflect the actual response of the energy meter under the current operating conditions after correcting for the basic gain and phase error. From the perspective of error composition, the deviation between the sampled value and the standard value at this time is no longer mainly due to the basic metering error, but rather to the residual small-signal power bias that has not yet been compensated.
[0054] Specifically, by updating the metering parameters with the calibration parameters, restarting the metering process, and executing the electricity meter's measurement function according to the calibrated parameters, the electricity meter continues to sample the active and reactive power under the calibration conditions, and obtains the final calibrated active power through filtering and averaging algorithms. ), calibrated reactive power ( This refers to calibrating active power and calibrating reactive power.
[0055] Step S50: Complete the calibration based on the calibration parameters, the calibration active power, and the calibration reactive power.
[0056] It should be noted that the residual relationship between the calibration active power, calibration reactive power and standard values can be further analyzed, and combined with the written calibration parameters, the bias compensation amount specifically for small signal interference can be calculated and finally configured into the metering chip.
[0057] Through the above operations, the electricity meter not only corrected the conventional metering linearity error, but also specifically eliminated the influence of small signal interference with significant individual differences, achieving accuracy across the entire measurement range.
[0058] This embodiment provides a method for calibrating energy meters under small-signal interference. Before formal calibration, pre-compensation parameters under small-signal interference are collected. After applying calibration conditions, these parameters are used to extract the interference component from the total sampled power, thus obtaining the pure actual power for single-point calibration. After the calibration parameters take effect, the remaining small-signal bias error is calculated and compensated through resampling. This mechanism allows for simultaneous calibration of basic metering parameters and small-signal bias compensation with a single source control, eliminating the need for multiple switching of standard source output conditions in scenarios with small-signal interference. This solves the problem of low efficiency in traditional multi-point calibration. Furthermore, real-time extraction and compensation eliminate the impact of interference inconsistencies on accuracy, improving calibration accuracy.
[0059] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 Step S50 includes steps S501 to S504: Step S501: Obtain the standard active power value and standard reactive power value of the standard source.
[0060] It should be noted that since the basic calibration parameters have been written into the energy meter and resampled, the calibrated active power and calibrated reactive power have been obtained. At this point, since the basic voltage gain, current gain, power gain, and phase error have been corrected through a single-point calibration algorithm, theoretically the energy meter's metering output should be infinitely close to the true value.
[0061] However, in scenarios where small-signal interference exists, the resampled data still contains interference components not covered by the basic linear model. Therefore, the standard active power and standard reactive power values corresponding to the current calibration conditions are first obtained from the standard source as absolute truth benchmarks.
[0062] Step S502: Calculate the active power difference based on the calibrated active power and the standard active power value.
[0063] Then, the calibrated active power obtained by resampling is compared with the standard active power value to calculate the active power difference.
[0064] In practical implementation, the active power difference is calculated as follows:
[0065] In the above formula, This is the difference in active power. To calibrate active power, This is the standard active power value.
[0066] Step S503: Calculate the reactive power difference based on the calibrated reactive power and the standard reactive power value.
[0067] Similarly, the reactive power difference is calculated by comparing the calibrated reactive power with the standard reactive power value.
[0068] In practical implementation, the reactive power difference is calculated as follows:
[0069] In the above formula, This is the reactive power difference. To calibrate reactive power, This is the standard reactive power value.
[0070] These two differences physically characterize the amount of small-signal interference that remains in the system after the current calibration parameters have taken effect and has not been eliminated.
[0071] Step S504: Complete the calibration based on the active power difference, the reactive power difference, and the calibration parameters.
[0072] Finally, the energy meter performs the final calibration work based on the active power difference, reactive power difference, and the effective calibration parameters, thus completing the calibration. In traditional solutions, fixed empirical compensation values are often used to address small-signal interference. This approach ignores the interference differences between individual energy meters caused by hardware layout and component tolerances, easily leading to overcompensation or undercompensation. This embodiment, however, calculates the power residual after calibration in real time, ensuring that each difference is a dynamic measured value specific to the energy meter being calibrated.
[0073] For example, if the coupling capacitance of the power line carrier communication module of a certain energy meter is too large, the reactive power interference it generates will be higher than the average level. In this case, the calculated reactive power difference will also increase accordingly, thus providing accurate data input for the subsequent generation of personalized bias compensation parameters. This feedback mechanism based on measured residuals effectively avoids the accuracy risks caused by blind compensation, ensuring that even with poor consistency of interference sources, each energy meter can obtain a compensation amount adapted to its own characteristics, thereby significantly improving the consistency of metering accuracy and the pass rate of batch products. Furthermore, this difference calculation process relies entirely on digital computation, without the need to add additional hardware detection circuits or change the output state of the standard source, maintaining the high efficiency of single-point calibration while ensuring calibration accuracy.
[0074] In one feasible implementation, step S504 may include steps B11-B14: Step B11: Determine the calibration interference active power based on the active power difference; Step B12: Determine the calibration interference reactive power based on the reactive power difference; It should be noted that the active power difference and reactive power difference essentially represent the small-signal interference components that remain in the energy meter after the basic gain and phase error have been corrected, and are not covered by the linear model. Therefore, the active power difference is directly determined as the calibration interference active power, and the reactive power difference is determined as the calibration interference reactive power.
[0075] It should be understood that the active and reactive power of calibration interference here are not theoretical estimates or historical empirical values, but rather the actual physical quantities reflecting the small-signal interference of the current energy meter under specific calibration conditions. Since the basic calibration has eliminated the main linear errors in the voltage and current paths, the observed power deviation is mainly attributed to the inherent bias under zero or low current conditions. Treating it directly as the true value of the interference is consistent with the physical logic of error separation.
[0076] Step B13: Determine the small signal power offset compensation parameters based on the calibration interference active power and the calibration interference reactive power; In practice, after determining the true value of the interference, it is necessary to further determine the small-signal power bias compensation parameters based on the calibrated active and reactive power of the interference. This step typically involves a mapping conversion from physical power quantities to chip register values. For example, the bias compensation register of a metering chip often has a specific resolution and data format (such as two's complement, fixed-point format, etc.), so it can be calculated according to the conversion formula defined in the chip manual. For instance, if the chip specifies that the minimum step of the bias register represents 0.001W, then the calibrated active power of the interference needs to be divided by this step value and rounded to obtain the correct register configuration value. This mapping process ensures that the error analysis results at the software level can be accurately translated into correction actions at the hardware level.
[0077] In addition, the conversion process can also include temperature coefficient correction or nonlinear fitting factors to adapt to more complex interference characteristics, thereby converting the measured interference amount into compensation instructions that can be executed by the chip.
[0078] Step B14: Write the calibration parameters and the small signal power bias compensation parameters into the metering chip to complete the calibration.
[0079] Subsequently, the calibration parameters and small-signal power bias compensation parameters are written into the metering chip, marking the final completion of the calibration process. The small-signal power bias compensation parameters generated in this embodiment are specifically designed to correct metering deviations in the low-load area caused by small-signal interference. Only after both the calibration parameters and the small-signal power bias compensation parameters have been successfully written and are in effect is the metering model of the energy meter truly complete, capable of maintaining high-precision metering across the entire range from zero current to rated current.
[0080] Once the entire calibration is complete, it can respond to the standard calibration source to indicate that the single-point calibration is complete.
[0081] This embodiment obtains the standard active power value and standard reactive power value of a standard source; calculates the active power difference based on the calibrated active power value and the standard active power value; calculates the reactive power difference based on the calibrated reactive power value and the standard reactive power value; completes calibration based on the active power difference, the reactive power difference, and the calibration parameters. By calculating the difference between the calibrated sampled power and the standard value of the standard source, the residual small-signal interference effect under the current calibration parameters is quantified, providing a data basis for subsequent accurate calculation of small-signal bias compensation parameters and ensuring the accuracy of the final compensation.
[0082] Based on the first embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Step S30 includes steps S301 to S305: Step S301: Obtain the sampling voltage and sampling current output by the metering chip when in calibration state, as well as the rated voltage, rated current, standard apparent power, and standard power factor values issued by the standard source.
[0083] Understandably, two types of basic data need to be obtained first: one is the sampling voltage and sampling current output by the energy meter in real time under the current calibration state, which represents the physical quantity sensed by the energy meter; the other is the high-precision reference value issued by the standard source, including rated voltage, rated current, standard apparent power and standard power factor value, which represents the absolute true value benchmark under the current operating conditions.
[0084] Step S302: Obtain the voltage gain error based on the sampled voltage and the rated voltage, and obtain the current gain error based on the sampled current and the rated current.
[0085] In practical implementation, the voltage gain error can be obtained by comparing the rated voltage issued by the standard source with the sampled voltage sampled by the energy meter, and the current gain error can be obtained by comparing the rated current issued by the standard source with the sampled current sampled by the energy meter. The voltage gain error and current gain error are calculated as follows:
[0086]
[0087] In the above formula, For sampling voltage, For sampling current, Rated voltage, This is the rated current.
[0088] Step S303: Obtain voltage calibration parameters based on the voltage gain error, and obtain current calibration parameters based on the current gain error.
[0089] In practice, based on the register definitions of the metering chip, these two gain errors are converted into corresponding voltage and current calibration parameters, respectively. Since the amplitude measurements of voltage and current primarily depend on the linearity of the analog front-end circuitry and are less affected by phase angle or small-signal interference, this calibration can be considered a basic correction to the "scale" of the metering system, providing an accurate amplitude basis for subsequent power and phase calibration. Then, voltage and current value errors can be calibrated using the voltage and current calibration parameters.
[0090] Step S304: Determine power calibration parameters and phase angle calibration parameters based on multiple factors among the actual active power, actual reactive power, standard apparent power, and standard power factor value.
[0091] In practical implementation, for more complex power calibration parameters and phase calibration parameters, this embodiment adopts a multi-factor joint determination mechanism based on actual active power, actual reactive power, standard apparent power, and standard power factor values. In traditional multi-point calibration, decoupling is usually achieved by calibrating power at a resistive point and calibrating phase at an inductive point. However, in the single-point calibration architecture of this application, since the input data has been cleaned of small-signal interference, the power vector composed of actual active power and actual reactive power can truly reflect the energy transmission characteristics of the load under inductive conditions. Therefore, the power gain deviation and phase deviation can be calculated simultaneously at the same calibration point using the mathematical relationship between this pure vector and the standard apparent power and standard power factor values issued by the standard source. For example, the power calibration parameters can be determined by comparing the measured apparent power synthesized from actual active and reactive power with the standard apparent power, and the angle-insensitive characteristic of apparent power can be used to stabilize the estimation of power gain; at the same time, the phase calibration parameters can be determined by comparing the measured power factor derived from actual active and reactive power with the standard power factor.
[0092] In one feasible implementation, step S304 may include steps C11-C15: Step C11: Calculate the measured apparent power and the measured power factor value based on the actual active power and the actual reactive power; It should be noted that the measured apparent power and measured power factor can be calculated using vector synthesis based on the actual active power and actual reactive power after interference stripping. The specific calculation formula is as follows:
[0093]
[0094] in, To measure apparent power, To measure the power factor value.
[0095] Step C12: Determine the power gain error based on the standard apparent power and the measured apparent power; After obtaining the measured apparent power, the power gain error is determined based on the standard apparent power issued by the standard source and the measured apparent power, and the power calibration parameters are obtained accordingly.
[0096] In traditional calibration thinking, there is a tendency to directly use active power for power gain calibration. However, under the inductive load conditions commonly used in single-point calibration (e.g., a power factor of 0.5, i.e., a voltage-current angle of 60°), the active power P = S×cos(θ) is extremely sensitive to changes in the phase angle θ.
[0097] If a small phase error exists in the electricity meter, this error will be amplified by the cosine function and coupled into the measured active power. If the active power is used directly to calculate the power gain, the phase error will be incorrectly absorbed into the power gain coefficient, leading to a cross-coupling phenomenon where "inaccurate power calculations result in increasingly inaccurate measurements." In contrast, the apparent power S, as the magnitude product of the voltage and current vectors, depends primarily on the amplitude transfer characteristics and exhibits first-order insensitivity to phase angle errors.
[0098] Step C13: Obtain the power calibration parameters based on the power gain error; In practice, the power gain error can be converted into the corresponding power calibration parameter according to the format requirements of the metering chip. This parameter only corrects the system deviation of the overall power amplitude and does not introduce coupling interference of phase error, thus ensuring the independence and accuracy of power gain calibration.
[0099] Step C14: Determine the power factor error based on the standard power factor value and the measured power factor value; Understandably, the power factor error is calculated by comparing the standard power factor value given by the standard source with the measured power factor value. Since the power gain parameters have already been independently calibrated, the power factor deviation at this point has eliminated the interference of amplitude error and only reflects the phase offset between the voltage and current channels, fully meeting the calculation requirements for phase error separation.
[0100] Step C15: Convert the power factor error into a phase angle error, and obtain the phase angle calibration parameters based on the phase angle error.
[0101] After obtaining the pure power factor error, this error is converted into the corresponding phase angle deviation value, and finally converted into phase angle calibration parameters according to the format requirements of the metering chip. Since the power factor is essentially the cosine of the phase difference angle between voltage and current, the power factor deviation can be reduced to an angle deviation using inverse trigonometric functions, thus converting the power factor error into a phase angle error and obtaining the phase angle calibration parameters. This allows for the accurate extraction of the energy meter's phase deviation without adding additional resistive calibration points.
[0102] Step S305: Obtain calibration parameters based on the voltage calibration parameters, the current calibration parameters, the power calibration parameters, and the phase angle calibration parameters.
[0103] Finally, the voltage, current, power, and phase angle calibration parameters obtained above are integrated to form a complete calibration parameter set. These four parameters together constitute the correction matrix of the electricity meter metering model, and none can be omitted. Among them, the voltage and current parameters correct for amplitude propagation errors, while the power and phase angle parameters correct for energy conversion efficiency and time synchronization errors.
[0104] To more clearly illustrate the application value of the technical solution of this application in actual industrial production, the calibration method for small-signal interference provided in this application is described in detail below with reference to a specific application scenario of electricity meter products. It should be understood that the following scenarios are merely illustrative examples and not limitations on the scope of protection of this application. Any metering equipment with similar small-signal interference problems can be calibrated by referring to the ideas in this embodiment.
[0105] As a typical application scenario, the method of this application is particularly suitable for smart energy meters with high-speed power line carrier communication (HPLC) modules. In such energy meters, in order to ensure the effective transmission of communication signals, a coupling capacitor is usually set between the power line and the communication module. This coupling capacitor is physically equivalent to introducing a capacitive load into the metering circuit, causing the energy meter to generate significant reactive power interference readings under zero current or low current conditions. Due to the differences in capacitance tolerances of different batches of capacitors, parasitic parameters of PCB layout traces, and impedance characteristics of the communication module, this reactive power interference often exhibits large consistency fluctuations among different individual energy meters. In traditional production calibration, if fixed empirical values are used for compensation, it is very easy to cause some energy meters to over-compensate or under-compensate, resulting in out-of-tolerance reactive power metering at low current; if a multi-point calibration method is used to add additional low current test points, it will lead to a significant increase in the single calibration cycle. Using the method of the embodiments of this application, in the pre-calibration stage where only the rated voltage is applied, the energy meter can automatically collect and record the background of pure reactive power interference caused by the HPLC coupling capacitor as a pre-compensation parameter. Subsequently, during the single-point calibration of the inductive load, the capacitive interference component was removed from the total sampled values using an interference stripping algorithm, ensuring the purity of the calculated basic metrological parameters. After the calibration parameters were written, the residual interference bias was recalculated through resampling, and dedicated compensation parameters were generated and written to the chip.
[0106] As another typical application scenario, the method of this application is also applicable to energy meters that use manganese copper shunts as current sampling elements. Although the manganese copper sampling scheme is inexpensive and has good linearity, its sampling signal is weak and easily affected by leakage flux from the internal switching power supply transformer or magnetic field induction from high-current loops. This magnetic field interference manifests as a random bias superimposed on active and reactive power under small signal conditions, and is greatly affected by the assembly position, magnetic shielding effect, and power load status, showing significant individual differences. If conventional single-point calibration is used without special processing, the interference will be incorrectly fitted into the gain coefficient, leading to full-range measurement deviation; if a dedicated small-current calibration point is added, it will severely restrict production capacity. By using the method of this application and utilizing the pre-compensation parameters collected under zero-current conditions, the unique magnetic field interference background of the current meter can be accurately characterized. Through the subtraction stripping mechanism, the magnetic field interference is separated from the effective signal before single-point calibration, so that subsequent voltage, current, power, and phase calibrations are entirely based on the real load response. More importantly, the closed-loop compensation mechanism described above can generate personalized bias correction values for the unique magnetic field environment of each electricity meter.
[0107] Based on the above application scenarios, it can be seen that the small-signal interference calibration method for energy meters provided in this application successfully breaks through the traditional technical bottleneck that "high precision must rely on multi-point calibration" by innovatively designing a sequence of interference identification and stripping before basic calibration and bias compensation. Whether dealing with capacitive coupling interference from HPLC modules, magnetic field-induced interference from manganese-copper sampling, or other small-signal interference scenarios introduced by structural design and device layout, it can achieve the accuracy level of traditional multi-point calibration with a simplified single-source control process. This not only significantly reduces the occupation time of standard source equipment and production line energy consumption, but also provides a universal, efficient, and low-cost technical path to solve the consistency problem of mass production of energy meters in complex electromagnetic environments, possessing extremely high industrial promotion value and economic benefits.
[0108] This embodiment acquires the sampling voltage and current output by the metering chip under calibration conditions, as well as the rated voltage, rated current, standard apparent power, and standard power factor values issued by the standard source. It then calculates the voltage gain error based on the sampling voltage and the rated voltage, and the current gain error based on the sampling current and the rated current. Voltage calibration parameters are obtained based on the voltage gain error, and current calibration parameters are obtained based on the current gain error. Power calibration parameters and phase angle calibration parameters are determined based on multiple factors including the actual active power, the actual reactive power, the standard apparent power, and the standard power factor value. Finally, calibration parameters are obtained based on the voltage calibration parameters, the current calibration parameters, the power calibration parameters, and the phase angle calibration parameters. This avoids the thermal drift and time overhead caused by repeatedly switching the standard source output conditions, ensuring comprehensive calibration while improving calibration efficiency, perfectly balancing the production requirements of high precision and high efficiency.
[0109] For example, to help understand the implementation process of the small-signal interference energy meter calibration method obtained by combining this embodiment with the above embodiment one, please refer to... Figure 4 , Figure 4A simplified flowchart of a method for calibrating an energy meter to withstand small-signal interference is provided. Specifically: the standard source initially outputs only the rated voltage, and the energy meter's workflow is as follows: Step 1: Power on the energy meter; then the standard source outputs a pre-calibration command, and the ammeter's workflow is as follows: Step 2: Energy meter calibration initialization; Step 3: Collect the original active and reactive power samples of small-signal interference N times, filter the interference, and calculate the average. Then, save the original active and reactive power samples of small-signal interference, i.e., the initial interference active power and initial interference reactive power, as pre-compensation parameters. Step 4: Interference signal power sampling ends; then wait for the standard source's command response; under the standard source's output inductive conditions: applied rated voltage, rated current, and an angle of 60°, control the energy meter to enter Step 5: Energy meter power off, power on and restart; the calibration source sends a single-point calibration command to the energy meter, and the energy meter performs Step 6: N times of sampling of the original active and reactive power under calibration conditions; filter interference, calculate the average, and calculate the original sampling active and reactive power under calibration conditions, i.e., the initial active power and initial reactive power; Step 7: Based on small signal interference... The original sampled active and reactive power are used to calculate the actual sampled active and reactive power under calibration conditions, i.e., the actual active and reactive power; Step 8: Based on the calculated actual sampled active and reactive power under calibration conditions, single-point calibration is completed to obtain voltage, current, power, and phase angle error compensation values, i.e., calibration parameters; Step 9: Based on the obtained voltage, current, power, and phase angle error compensation values, the metering parameters are refreshed; Step 10: Continue to collect the calibrated and compensated sampled active and reactive power under calibration conditions N times; filter interference, calculate average, and calculate... Step 11: Calculate the sampled active power and reactive power after calibration compensation under calibration conditions; Step 12: Based on the standard active power and reactive power of the standard platform and the sampled active power and reactive power after calibration compensation, calculate the calibrated true small-signal interference active power and reactive power through the difference; Step 13: Complete the small-signal bias error compensation based on the calibrated true small-signal interference active power and reactive power, that is, write the calibration parameters and the small-signal power bias compensation parameters into the metering chip; Step 14: Calibration successful, and enter the waiting for the next command response from the standard source.
[0110] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the electricity meter calibration method for small signal interference in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0111] This application also provides a small-signal interference-free energy meter calibration device; please refer to [reference needed]. Figure 5 The small-signal interference-resistant energy meter calibration device includes: The acquisition module 10 is used to acquire the pre-compensation parameters output by the metering chip under small signal interference and the initial active power and initial reactive power output by the metering chip under calibration conditions.
[0112] The interference stripping module 20 is used to strip interference from the initial active power and the initial reactive power according to the pre-compensation parameters to obtain the actual active power and the actual reactive power.
[0113] The calibration module 30 is used to perform single-point calibration based on the actual active power and the actual reactive power to obtain calibration parameters.
[0114] The sampling module 40 is used to write the calibration parameters into the metering chip and resample in the calibration state to obtain the calibrated active power and calibrated reactive power.
[0115] The calibration module 30 is also used to complete the calibration based on the calibration parameters, the calibration active power, and the calibration reactive power.
[0116] The small-signal interference calibration device provided in this application, employing the small-signal interference calibration method described in the above embodiments, can solve the technical problems of low calibration efficiency and poor accuracy consistency of energy meters under small-signal interference. Compared with the prior art, the beneficial effects of the small-signal interference calibration device provided in this application are the same as those of the small-signal interference calibration method provided in the above embodiments, and other technical features in the small-signal interference calibration device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0117] In one embodiment, the calibration module 30 is further configured to acquire the standard active power value and standard reactive power value of the standard source; The difference in active power is calculated based on the calibrated active power and the standard active power value; Calculate the reactive power difference based on the calibrated reactive power and the standard reactive power value; Calibration is completed based on the active power difference, the reactive power difference, and the calibration parameters.
[0118] In one embodiment, the calibration module 30 is further configured to determine the calibration interference active power based on the active power difference; The calibration interference reactive power is determined based on the reactive power difference. The small signal power bias compensation parameters are determined based on the calibration interference active power and the calibration interference reactive power. The calibration parameters and the small signal power bias compensation parameters are written into the metering chip to complete the calibration.
[0119] In one embodiment, the interference stripping module 20 is further configured to obtain the initial interference active power and the initial interference reactive power based on the pre-compensation parameters; The actual active power is obtained by subtracting the initial disturbance active power from the initial active power. The actual reactive power is obtained by subtracting the initial disturbance reactive power from the initial reactive power.
[0120] In one embodiment, the calibration module 30 is further configured to acquire the sampling voltage and sampling current output by the metering chip when in calibration state, as well as the rated voltage, rated current, standard apparent power and standard power factor values issued by the standard source. The voltage gain error is obtained based on the sampled voltage and the rated voltage, and the current gain error is obtained based on the sampled current and the rated current. The voltage calibration parameters are obtained based on the voltage gain error, and the current calibration parameters are obtained based on the current gain error. Power calibration parameters and phase angle calibration parameters are determined based on multiple factors including the actual active power, the actual reactive power, the standard apparent power, and the standard power factor value. The calibration parameters are obtained based on the voltage calibration parameters, the current calibration parameters, the power calibration parameters, and the phase angle calibration parameters.
[0121] In one embodiment, the calibration module 30 is further configured to calculate the measured apparent power and the measured power factor value based on the actual active power and the actual reactive power; The power gain error is determined based on the standard apparent power and the measured apparent power. The power calibration parameters are obtained based on the power gain error. The power factor error is determined based on the standard power factor value and the measured power factor value. The power factor error is converted into a phase angle error, and the phase angle calibration parameters are obtained based on the phase angle error.
[0122] In one embodiment, the acquisition module 10 is further configured to acquire the original interference active power and the original interference reactive power output by the metering chip under the condition of small-signal interference with only the rated voltage applied. The original active power and the original reactive power of interference are filtered and averaged to obtain the initial active power and the initial reactive power of interference. The pre-compensation parameters are obtained based on the initial active power of the interference and the initial reactive power of the interference. Obtain the raw active power and raw reactive power under the calibration state with rated voltage, rated current and preset power factor applied; The original active power and the original reactive power are filtered and averaged to obtain the initial active power and the initial reactive power.
[0123] This application provides a small-signal interference-free energy meter calibration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the small-signal interference-free energy meter calibration method in the above embodiment 1.
[0124] The following is for reference. Figure 6 The diagram illustrates a structural schematic of an energy meter calibration device suitable for implementing small-signal interference in the embodiments of this application. The energy meter calibration device for small-signal interference in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), tablets, PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The small-signal interference meter calibration device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0125] like Figure 6As shown, the small-signal-interference-resistant energy meter calibration device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the small-signal-interference-resistant energy meter calibration device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, LCDs (Liquid Crystal Displays), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the low-signal-interference meter calibration equipment to exchange data wirelessly or via wired communication with other devices. Although the figure shows low-signal-interference meter calibration equipment with various systems, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.
[0126] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0127] The small-signal interference calibration device provided in this application, employing the small-signal interference calibration method described in the above embodiments, can solve the technical problems of low calibration efficiency and poor accuracy consistency of energy meters under small-signal interference. Compared with the prior art, the beneficial effects of the small-signal interference calibration device provided in this application are the same as those of the small-signal interference calibration method provided in the above embodiments, and other technical features of this small-signal interference calibration device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0128] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0129] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0130] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the energy meter calibration method for small signal interference in the above embodiments.
[0131] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or Flash Memory), optical fibers, CD-ROM (CD-Read Only Memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0132] The aforementioned computer-readable storage medium may be included in a small-signal-interference energy meter calibration device; or it may exist independently and not assembled into a small-signal-interference energy meter calibration device.
[0133] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by a small-signal interference-free energy meter calibration device, the small-signal interference-free energy meter calibration device performs the following actions: acquires pre-compensation parameters output by the metering chip under small-signal interference conditions and initial active power and initial reactive power output by the metering chip under calibration conditions; performs interference stripping on the initial active power and initial reactive power based on the pre-compensation parameters to obtain actual active power and actual reactive power; performs single-point calibration based on the actual active power and actual reactive power to obtain calibration parameters; writes the calibration parameters into the metering chip and resamples under calibration conditions to obtain calibrated active power and calibrated reactive power; and completes calibration based on the calibration parameters, the calibrated active power, and the calibrated reactive power.
[0134] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including LAN (Local Area Network) or WAN (Wide Area Network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0136] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0137] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for performing the above-described energy meter calibration method for small-signal interference. This solves the technical problems of low calibration efficiency and poor accuracy consistency of energy meters under small-signal interference. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the energy meter calibration method for small-signal interference provided in the above embodiments, and will not be repeated here.
[0138] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the energy meter calibration method for small signal interference as described above.
[0139] The computer program product provided in this application can solve the technical problems of low calibration efficiency and poor accuracy consistency of electricity meters under small signal interference. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the electricity meter calibration method for small signal interference provided in the above embodiments, and will not be repeated here.
[0140] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for calibrating an energy meter to mitigate small-signal interference, characterized in that, The energy meter calibration method for small signal interference includes: Obtain the pre-compensation parameters output by the metering chip under small-signal interference conditions, and the initial active power and initial reactive power output by the metering chip under calibration conditions. The initial active power and the initial reactive power are subjected to interference stripping based on the pre-compensation parameters to obtain the actual active power and the actual reactive power. Single-point calibration is performed based on the actual active power and the actual reactive power to obtain calibration parameters; The calibration parameters are written into the metering chip, and the sample is resampled under the calibration state to obtain the calibrated active power and calibrated reactive power. The calibration is completed based on the calibration parameters, the calibration active power, and the calibration reactive power. The steps for completing the calibration based on the calibration parameters, the calibration active power, and the calibration reactive power include: Obtain the standard active power value and standard reactive power value of the standard source; The difference in active power is calculated based on the calibrated active power and the standard active power value; Calculate the reactive power difference based on the calibrated reactive power and the standard reactive power value; Calibration is completed based on the active power difference, the reactive power difference, and the calibration parameters.
2. The method as described in claim 1, characterized in that, The step of completing the calibration based on the active power difference, the reactive power difference, and the calibration parameters includes: The calibration interference active power is determined based on the active power difference. The calibration interference reactive power is determined based on the reactive power difference. The small signal power bias compensation parameters are determined based on the calibration interference active power and the calibration interference reactive power. The calibration parameters and the small signal power bias compensation parameters are written into the metering chip to complete the calibration.
3. The method as described in claim 1, characterized in that, The step of performing interference stripping on the initial active power and the initial reactive power according to the pre-compensation parameters to obtain the actual active power and the actual reactive power includes: The initial active power and initial reactive power of the interference are obtained based on the pre-compensation parameters. The actual active power is obtained by subtracting the initial disturbance active power from the initial active power. The actual reactive power is obtained by subtracting the initial disturbance reactive power from the initial reactive power.
4. The method as described in claim 1, characterized in that, The step of performing single-point calibration based on the actual active power and the actual reactive power to obtain calibration parameters includes: Acquire the sampling voltage and sampling current output by the metering chip when it is in calibration state, as well as the rated voltage, rated current, standard apparent power, and standard power factor values issued by the standard source; The voltage gain error is obtained based on the sampled voltage and the rated voltage, and the current gain error is obtained based on the sampled current and the rated current. The voltage calibration parameters are obtained based on the voltage gain error, and the current calibration parameters are obtained based on the current gain error. Power calibration parameters and phase angle calibration parameters are determined based on multiple factors including the actual active power, the actual reactive power, the standard apparent power, and the standard power factor value. The calibration parameters are obtained based on the voltage calibration parameters, the current calibration parameters, the power calibration parameters, and the phase angle calibration parameters.
5. The method as described in claim 4, characterized in that, The steps for determining power calibration parameters and phase angle calibration parameters based on multiple factors including the actual active power, the actual reactive power, the standard apparent power, and the standard power factor value include: Calculate the measured apparent power and the measured power factor value based on the actual active power and the actual reactive power; The power gain error is determined based on the standard apparent power and the measured apparent power. The power calibration parameters are obtained based on the power gain error. The power factor error is determined based on the standard power factor value and the measured power factor value. The power factor error is converted into a phase angle error, and the phase angle calibration parameters are obtained based on the phase angle error.
6. The method according to any one of claims 1 to 5, characterized in that, The steps of obtaining the pre-compensation parameters output by the metering chip under small-signal interference and the initial active power and initial reactive power output by the metering chip under calibration conditions include: Obtain the original active power and original reactive power of the interference from the metering chip under the condition of small-signal interference with only the rated voltage applied; The original active power and the original reactive power of interference are filtered and averaged to obtain the initial active power and the initial reactive power of interference. The pre-compensation parameters are obtained based on the initial active power of the interference and the initial reactive power of the interference. Obtain the raw active power and raw reactive power under the calibration state with rated voltage, rated current and preset power factor applied; The original active power and the original reactive power are filtered and averaged to obtain the initial active power and the initial reactive power.
7. A small-signal interference-resistant energy meter calibration device, characterized in that, The device includes: The acquisition module is used to acquire the pre-compensation parameters output by the metering chip under small signal interference and the initial active power and initial reactive power output by the metering chip under calibration conditions. An interference stripping module is used to strip interference from the initial active power and the initial reactive power according to the pre-compensation parameters to obtain the actual active power and the actual reactive power. The calibration module is used to perform single-point calibration based on the actual active power and the actual reactive power to obtain calibration parameters. The sampling module is used to write the calibration parameters into the metering chip and resample in the calibration state to obtain the calibrated active power and calibrated reactive power. The calibration module is also used to complete the calibration based on the calibration parameters, the calibration active power, and the calibration reactive power; The calibration module is also used to obtain the standard active power value and standard reactive power value of the standard source; The difference in active power is calculated based on the calibrated active power and the standard active power value; Calculate the reactive power difference based on the calibrated reactive power and the standard reactive power value; Calibration is completed based on the active power difference, the reactive power difference, and the calibration parameters.
8. A small-signal interference-based energy meter calibration device, characterized in that, The small-signal interference-based energy meter calibration device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the small-signal interference-based energy meter calibration method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the energy meter calibration method for small signal interference as described in any one of claims 1 to 6.