A method, system and storage medium for compensating calibration signals of an electric energy meter
By collecting the working status data of the power meter, judging the working type and adjusting the parameters, the error problem of the power meter when using three-phase and single-phase is solved, and accurate measurement and improved applicability are achieved under different circumstances.
Patent Information
- Application Number
- CN202510615467.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-05-14
AI Technical Summary
Existing power meters are prone to large errors when used in three-phase and single-phase, especially when the error exceeds the standard allowable range when the signal is small, and the hardware design is difficult, resulting in insufficient applicability.
By regularly collecting the working status data of the power meter, judging its working type, and filtering out the corresponding comparison data tools in the preset database, obtaining standard correction values, and adjusting the internal parameters of the power meter to compensate for the error.
In various situations, reduce the error of the power meter, improve the applicability of the power meter, and ensure the accuracy of the measurement.
Smart Images

Figure CN120143044B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electricity meter calibration, and in particular, to a method and system for compensating calibration signals of an electricity meter and a storage medium. Background Art
[0002] In order to ensure that the measurement results of the electricity meter meet the specified accuracy requirements, the measured value of the electricity meter is compared with the standard value, and the parameters of the internal metering chip of the electricity meter are adjusted to compensate for the metering errors caused by reasons such as processing technology and power supply stability.
[0003] Currently, the general metering chip only provides two power calibration registers, so the electricity meter generally calibrates one or two points. For example, for calibration point 1, a voltage of 220V can be applied to the three phases of the electricity meter, the three-phase current is Ib, that is, a current of 5A, and the power factor is set to 1.0L, and then the gain calibration register is calibrated; for calibration point 2, a voltage of 220V can be applied to the three phases of the electricity meter, and the three-phase current is increased by 10% Ib, that is, a current of 0.5A, and then the active offset calibration register is calibrated.
[0004] In actual applications, some three-phase electricity meters are also required to be used as single-phase meters, and the error must reach the standard allowable range. At present, it is more difficult in the hardware design of some three-phase electricity meters with a smaller volume and using a transformer scheme, and it is easy to have a large induced current and interference between phases, resulting in a large error in the electricity meter when the signal is small, and even exceeding the standard allowable range. Summary of the Invention
[0005] In order to reduce the error of the electricity meter and improve the applicability of the electricity meter, this application provides a method and system for compensating calibration signals of an electricity meter and a storage medium.
[0006] In a first aspect, a method for compensating calibration signals of an electricity meter provided by this application adopts the following technical solution:
[0007] A method for compensating calibration signals of an electricity meter includes the following steps:
[0008] Regularly collect the working state data corresponding to the electricity meter to be compensated, where the working state data includes type determination data and numerical correction data;
[0009] Judge the working type of the electricity meter to be compensated according to the type determination data, and screen out the comparison data tool corresponding to the working type in a preset database, where the preset database stores several groups of comparison data tools corresponding to the working type;
[0010] Obtain the standard correction value corresponding to the numerical correction data according to the comparison data tool;
[0011] Use the standard calibration value as the compensation data for the meter to be compensated, and correct the actual calibration value of the meter to be compensated according to the compensation data.
[0012] By adopting the above technical solution, when the electric energy meter is in the actual working state, according to the collected working state data, the compensation data corresponding to the meter to be supplemented is obtained, and the supplementary data is used as the actual calibration value corresponding to the meter to be compensated, so that the small-signal errors of the electric energy meter in various different situations can be corrected correctly, thereby reducing the error of the electric energy meter and improving the applicability of the electric energy meter.
[0013] In some of the embodiments, the working types include three-phase working and single-phase working. Determining the working type of the meter to be compensated based on the type and determining data includes the following steps:
[0014] Obtain the phase type corresponding to the meter to be compensated and the phase voltage value corresponding to the phase type according to the type and determining data;
[0015] Compare the phase voltage value with the preset voltage value in sequence to determine whether the phase voltage value is similar to the preset voltage value;
[0016] If the phase voltage value is similar to the preset voltage value, mark the phase type corresponding to the phase voltage value to obtain a marked value;
[0017] Compare the marked value with a first preset value to determine whether the marked value is the same as the first preset value;
[0018] If the marked value is the same as the first preset value, determine that the meter to be compensated is the three-phase working;
[0019] If the marked value is not the same as the first preset value, determine that the meter to be compensated is the single-phase working.
[0020] By adopting the above technical solution, a marked value is obtained based on the phase voltage value and the preset voltage value, and the marked value is compared with the first preset value, so as to determine the working type of the current meter to be compensated, and call the comparison data tool corresponding to different working types in the preset database, reducing the data comparison time and improving the efficiency of obtaining the actual calibration value of the electric energy meter.
[0021] In some of the embodiments, screen out the comparison data tool corresponding to the working type in the preset database, wherein the generation method of the comparison data tool includes the following steps:
[0022] Obtain a number of calibration points and the applied data corresponding to the calibration points;
[0023] Apply the applied data to a standard test electric meter and obtain the calibration output value corresponding to the calibration point;
[0024] Classify according to the applied data to obtain several sets of working type sets, where each working type set includes several corresponding applied data and corresponding calibration output values;
[0025] Generate the comparison data tool according to the applied data corresponding to the working type set and the calibration output value, and the working type set and the comparison data tool are corresponding.
[0026] By adopting the above technical solution, the applied data is applied to a standard test electric meter to obtain the calibration output value corresponding to the calibration point, so as to classify according to different working types to obtain different working type sets, and each working type set has a corresponding comparison data tool, which is convenient for obtaining the compensation data of the electric meter to be compensated and reduces the data comparison time.
[0027] In some embodiments, the generating the comparison data tool according to the applied data corresponding to the working type set and the calibration output value includes the following steps:
[0028] Process the applied data to obtain relevant values, and the relevant values are in one-to-one correspondence with the calibration output value;
[0029] Perform fitting processing on the relevant values and the calibration output value to obtain the comparison data tool.
[0030] By adopting the above technical solution, process the data in each working type set to obtain the corresponding comparison data tool, which is convenient for the electric meter to be compensated to obtain the corresponding compensation data, reduces the data comparison time, and improves the efficiency of obtaining the actual calibration value of the electric meter.
[0031] In some embodiments, the obtaining several sets of calibration points and the applied data corresponding to the calibration points includes the following steps:
[0032] Obtain the rated calibration current corresponding to the electric meter to be calibrated and a set of preset factors, and randomly obtain a set of preset intervals, where the set of preset intervals includes several groups of preset intervals, and the set of preset factors includes several groups of preset factors;
[0033] Generate a set of detection currents according to the preset intervals and the rated calibration current, where the set of detection currents includes several groups of detection currents;
[0034] Randomly match the detected current with a preset factor to generate a set of calibration points, where the set of calibration points includes several groups of calibration points;
[0035] Use the detected current and the matched preset factor as the applied data corresponding to the calibration points.
[0036] By adopting the above technical solution, a set of calibration points and corresponding applied data are generated according to the rated calibration current and the preset interval, so that an accurate comparison data tool can be generated based on the obtained data, which is convenient for the meter to be compensated to obtain accurate compensation data, and further can reduce the error of the watt-hour meter and improve the applicability of the watt-hour meter.
[0037] In some embodiments, generating a set of detected currents according to the preset interval and the rated calibration current includes the following steps:
[0038] Successively use the preset interval and the updated rated calibration current as the temporary detected current, and determine whether the temporary detected current is less than the preset overcurrent;
[0039] If the temporary detected current is less than the preset overcurrent, store the temporary detected current in the set of detected currents and update the rated calibration current with the temporary detected current.
[0040] In some embodiments, before determining that the working state of the meter to be compensated is single-phase working, the following steps are further included:
[0041] Determine whether the marked value is a second preset value;
[0042] If the marked value is the second preset value, generate a meter detection signal and detect the meter to be compensated according to the meter detection signal.
[0043] In some embodiments, before using the standard calibration value as the compensation data for the meter to be compensated, the following steps are further included:
[0044] Obtain the corresponding current calibration value according to the meter to be compensated, where the current calibration value represents the value calibrated when the meter to be compensated leaves the factory;
[0045] Compare the current calibration value with the standard calibration value and determine whether the current calibration value is the same as the standard calibration value;
[0046] If the current calibration value is the same as the standard calibration value, generate a calibration end signal and control the normal operation of the meter to be compensated according to the calibration end signal.
[0047] In a second aspect, the present application provides an electric energy meter calibration signal compensation system, adopting the following technical solution:
[0048] An electric energy meter calibration signal compensation system, which executes the electric energy meter calibration signal compensation method described in the first aspect, includes:
[0049] A data acquisition module, which is used to regularly acquire the working state data corresponding to the meter to be compensated, and the working state data includes type determination data and numerical calibration data;
[0050] A curve acquisition module, which is used to judge the working type of the meter to be compensated according to the type determination data, and screen out the comparison data tool corresponding to the working type in a preset database;
[0051] A data acquisition module, which is used to acquire the standard calibration value corresponding to the numerical calibration data according to the comparison data tool;
[0052] A compensation data module, which is used to use the standard calibration value as the compensation data of the meter to be compensated, and correct the actual calibration value of the meter to be compensated according to the compensation data.
[0053] In a third aspect, the present application provides an electronic device, adopting the following technical solution:
[0054] An electronic device, which includes a processor and a memory coupled to each other, and a computer program capable of running on the processor is stored on the memory;
[0055] When the computer program is executed by the processor, it realizes the electric energy meter calibration signal compensation method described in the first aspect.
[0056] In summary, the present application includes at least one of the following beneficial technical effects:
[0057] 1. When the electric energy meter is in the actual working state, according to the acquired working state data, the compensation data corresponding to the meter to be supplemented is obtained, and the supplementary data is used as the actual calibration value corresponding to the meter to be compensated, so that the small signal error of the electric energy meter in various different situations can be corrected, thereby reducing the error of the electric energy meter and improving the applicability of the electric energy meter;
[0058] 2. The marked value is obtained based on the phase voltage value and the preset voltage value, and the marked value is compared with the first preset value, so as to judge the working type of the current meter to be compensated, and call the comparison data tools corresponding to different working types in the preset database, reducing the data comparison time and improving the efficiency of obtaining the actual calibration value of the electric energy meter. Description of the Drawings
[0059] Figure 1 It is a block diagram of the power meter calibration signal compensation method provided by an embodiment of the present application;
[0060] Figure 2 It is a block diagram of the working type acquisition method provided by an embodiment of the present application;
[0061] Figure 3 It is a block diagram of the acquisition method of the comparison data tool provided by an embodiment of the present application;
[0062] Figure 4 It is a block diagram of the acquisition method of the calibration point and the applied data provided by an embodiment of the present application;
[0063] Figure 5 It is a schematic structural diagram of the power meter calibration signal compensation system provided by an embodiment of the present application;
[0064] Figure 6 It is a block diagram of the electronic device provided by this embodiment.
[0065] Explanation of reference numerals: 10, data acquisition module; 20, curve acquisition module; 30, data acquisition module; 40, compensation data module; 51, processor; 52, memory; 53, computer program. Detailed implementation manners
[0066] To more clearly understand the purpose, technical solution and advantages of the present application, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. However, those of ordinary skill in the art should understand that the present application can be implemented without these details. In some cases, in order to avoid unnecessary descriptions from making the aspects of the present application obscure, well-known methods, processes, systems, components and / or circuits that have been described at a higher level will not be elaborated too much. For those of ordinary skill in the art, it is obvious that various changes can be made to the embodiments disclosed in the present application, and without departing from the principles and scope of the present application, the general principles defined in the present application can be applied to other embodiments and application scenarios. Therefore, the present application is not limited to the illustrated embodiments, but conforms to the broadest scope consistent with the scope claimed in the present application.
[0067] An embodiment of the present application discloses a power meter calibration signal compensation method, which is applied to an electronic device for power meter calibration signal compensation. The electronic device includes a processor and a memory that are coupled to each other, and a computer program capable of running on the processor is stored on the memory. When the computer program is executed by the processor, the power meter calibration signal compensation method is implemented.
[0068] As Figure 1 shown, the power meter calibration signal compensation method includes the following steps:
[0069] S100. Regularly collect the working status data corresponding to the electricity meter to be compensated.
[0070] Among them, the electricity meter to be compensated represents the electricity meter in the working state after calibration, and the working status data represents the specific data of the electricity meter to be compensated in the normal working state. The working status data includes type determination data and numerical calibration data. The type determination data represents the working type used to judge the electricity meter to be compensated. The type determination data includes the A-phase voltage value, the B-phase voltage value, and the C-phase voltage value. The numerical calibration data represents the data that needs to be compensated for the electricity meter to be compensated. The numerical calibration data includes the current value of the electricity meter to be compensated and the power factor, etc.
[0071] It should be noted here that since the electricity meter to be compensated is a three-phase electricity meter, but in actual use, voltages are not applied simultaneously. Therefore, it is necessary to collect the voltage values of the three phases of the electricity meter to be compensated separately.
[0072] It should be noted here that the processor regularly collects the working status data corresponding to the electricity meter to be compensated. This period is set in advance, for example, it can be set to 0.5 seconds or 0.9 seconds for collection, but it is not limited to this. This regular time limit is generally within one second.
[0073] It should be noted here that when the electricity meter is in the normal working state, it does not change the current working type all the time. Therefore, the processor regularly obtains the working status data. After each power-on of the electricity meter to be supplemented, multiple detections can be carried out. Specifically, when the electricity meter is in the working state, it will regularly read the current working status data of the electricity meter.
[0074] S200. Judge the working type of the electricity meter to be compensated according to the type determination data, and screen out the comparison data tool corresponding to the working type in the preset database.
[0075] Among them, the working types include three-phase working and single-phase working. The preset database stores several groups of comparison data tools corresponding to the working types. The processor judges the working type of the electricity meter to be compensated according to the collected type determination data.
[0076] Combined with Figure 2 , specifically judge the working type of the electricity meter to be compensated according to the type determination data, including the following steps:
[0077] S210. Obtain the phase type corresponding to the electricity meter to be compensated and the phase voltage value corresponding to the phase type according to the type determination data.
[0078] S220. Compare the phase voltage value with the preset voltage value in turn to judge whether the phase voltage value is similar to the preset voltage value.
[0079] S230, if the phase voltage value is similar to the preset voltage value, mark the phase type corresponding to the phase voltage value to obtain a marked value.
[0080] S240, compare the marked value with a first preset value to determine whether the marked value is the same as the first preset value.
[0081] S250, if the marked value is the same as the first preset value, determine that the electricity meter to be compensated is operating in three phases.
[0082] S260, if the marked value is not the same as the first preset value, determine that the electricity meter to be compensated is operating in single phase.
[0083] Among them, the phase types include three types: phase A, phase B, and phase C of the electricity meter to be compensated, and the phase voltage values are the phase A voltage value, the phase B voltage value, and the phase C voltage value. The preset voltage value is the voltage set in advance, that is, the voltage value when the electricity meter is working normally. Generally, the preset voltage value is set to 220V. It should be noted here that due to some situations, the electricity meter works under high voltage or low voltage conditions, and the preset voltage value can be set to other types of voltage values.
[0084] The processor determines the phase type corresponding to the electricity meter to be compensated and the phase voltage value corresponding to the phase type according to the type, and compares the phase voltage value of the phase type with the preset voltage value in turn. When the phase voltage value is similar to the preset voltage value, it indicates that the current phase is working. Therefore, mark the phase type corresponding to the phase voltage value to obtain a marked value. The marking mentioned here can specifically be a digital cumulative marking, and the marked value can be determined according to the number of phases in which the electricity meter to be compensated is working.
[0085] It should be noted here that there will be a certain deviation in the actually measured phase voltage value. When the phase voltage value is 220.05V or 219.95V and the preset voltage value is set to 220V, as long as the difference between the phase voltage value and the preset voltage value meets the preset deviation, it is determined that the phase voltage value is similar to the preset voltage value. The preset deviation can be set to 1V, but it is not limited to this.
[0086] Exemplarily, the processor obtains 220V of the A-phase voltage value, compares the A-phase voltage value with a preset voltage value, determines that the A-phase voltage value is similar to the preset voltage value, and then obtains a marked value of 1. Then, it obtains 220V of the B-phase voltage value, compares the B-phase voltage value with the preset voltage value, determines that the B-phase voltage value is similar to the preset voltage value, and then obtains a marked value of 2. Then, it obtains 220V of the C-phase voltage value, compares the C-phase voltage value with the preset voltage value, determines that the C-phase voltage value is similar to the preset voltage value, and then obtains a marked value of 3. Finally, the marked value corresponding to the electricity meter to be compensated is 3.
[0087] Exemplarily, the processor obtains 220V of the A-phase voltage value, compares the A-phase voltage value with a preset voltage value, determines that the A-phase voltage value is similar to the preset voltage value, and then obtains a marked value of 1. Then, it obtains 0V of the B-phase voltage value, compares the B-phase voltage value with the preset voltage value, determines that the B-phase voltage value is not similar to the preset voltage value, and then obtains a marked value of 1. Then, it obtains 0V of the C-phase voltage value, compares the C-phase voltage value with the preset voltage value, determines that the C-phase voltage value is not similar to the preset voltage value, and then obtains a marked value of 1. Finally, the marked value corresponding to the electricity meter to be compensated is 1.
[0088] The first preset value described in step S240 is set to 3, indicating that the electricity meter to be compensated is in a state where all three phases are working. If the marked value is the same as the first preset value, it is determined that the electricity meter to be compensated is working in three phases. If the marked value is different from the first preset value, it is determined that the electricity meter to be compensated is working in single phase.
[0089] It should be noted here that as mentioned in step S260, if the marked value is different from the first preset value, it indicates that the electricity meter to be compensated is in a single-phase working state or in a damaged state. Therefore, at this time, the processor specifically analyzes according to the specific value of the current marked value.
[0090] Specifically, when the marked value is 1, the processor determines that the electricity meter to be compensated is in a single-phase working state. When the marked value is 2 or 0, it is determined that the current electricity meter to be compensated is abnormal and needs to be detected. Therefore, the processor generates a detection signal to remind the staff to check the energized electricity meter to be compensated for any operation errors or meter damage.
[0091] It should be noted here that assuming that the A-phase voltage value, B-phase voltage value, and C-phase voltage value obtained by the processor are not 220V, and the preset voltage value is 220V. At this time, through comparison, the marked value is 0, but the processor needs to generate a detection signal to remind the staff to check the energized electricity meter to be compensated for any operation errors or meter damage.
[0092] The tool for screening out the comparison data corresponding to the work type described in step S200, where the preset database stores several groups of comparison data tools corresponding to the work type. These comparison data tools are all generated and stored in the preset database in advance, facilitating the processor to obtain the comparison data tools corresponding to the work type in the preset database.
[0093] It should be noted here that in order to reduce the data screening duration, the preset database is differentiated according to different work types, and each work type corresponds to a comparison data tool. As long as the corresponding work type is determined through the type to obtain the data, the corresponding comparison data tool is screened out in the preset database according to the work type. S300, obtain the standard calibration value corresponding to the numerical calibration data according to the comparison data tool.
[0094] Among them, the standard calibration value represents the standard value obtained based on the numerical calibration data during calibration. This standard calibration value is specifically the value obtained by applying the numerical calibration data to the standard test electric meter.
[0095] It should be noted here that the comparison data tool includes a comparison data curve, a comparison data set, and a comparison data formula.
[0096] S400, use the standard calibration value as the compensation data for the meter to be compensated, and calibrate the actual calibration value of the meter to be compensated according to the compensation data.
[0097] Among them, the compensation data represents the value of the internal parameters that the meter to be compensated needs to adjust. Replace the corresponding parameters inside the meter to be compensated with the standard calibration value, so that the meter to be compensated can be more accurate when measuring the electricity quantity and reduce the influence between phases. The compensation data is specifically to replace the register value in the meter to be compensated, thereby adjusting the output electricity quantity value of the meter to be compensated.
[0098] It should be noted here that since the meter to be compensated has three-phase operation and single-phase operation, therefore, for the meter to be compensated in different work types, the compensation data is also different.
[0099] Specifically, when the meter to be compensated is in three-phase operation, the compensation data includes gain data and active power data. The gain data is the data for modifying the gain calibration register inside the meter to be compensated, and the active power data is the data for modifying the active power offset calibration register.
[0100] When the meter to be compensated is in single-phase operation, the compensation data includes a pulse threshold value, which is the output duration of the meter pulse. Since electrical energy is the accumulation of power over a certain period, similarly, the watt-hour meter also accumulates the collected power values at very small time intervals (such as 100 us). When the accumulated value exceeds a threshold value, the watt-hour meter outputs a pulse, and the electrical energy is accumulated by one over the meter constant. For example, when the meter constant is 1000 imp / kwh, one pulse represents 0.001 kwh of electrical energy.
[0101] The pulse threshold value can be corrected under various different operating conditions of the watt-hour meter. After correction, when the meter acquires the voltage and current data through the current meter, and then determines which operating condition it is in, and then uses the corresponding pulse threshold value, so that the small-signal error of the watt-hour meter can be correct under various different conditions. Furthermore, the problem of excessive small-signal error existing currently can be solved.
[0102] Here, it should be noted that for obtaining the actual correction value, after the meter to be compensated is powered on, if the processor continuously acquires similar operating state data, the actual correction value processing will no longer be performed until the processor acquires a change in the operating state data. The processor continuously acquiring similar operating state data specifically means continuously acquiring similar operating state data for a preset number of times. The preset number of times can be set to 10 times, but is not limited to this. Refer to Figure 3 , in one of the embodiments, a comparison data tool corresponding to the working type is selected from a preset database. Among them, the generation method of the comparison data tool includes the following steps:
[0103] S500, obtain a number of calibration points and the applied data corresponding to the calibration points.
[0104] S600, apply the applied data to a standard test meter and obtain the calibration output value corresponding to the calibration point.
[0105] S700, classify according to the applied data to obtain a number of sets of working type sets.
[0106] S800, generate a comparison data tool based on the applied data and the calibration output value corresponding to the working type set.
[0107] Among them, the calibration point represents the point that needs to be detected when calibrating and detecting the meter, the applied data represents the data corresponding to each calibration point. The standard test meter represents the reference meter used for meter detection, and the value output by this meter is standard. The calibration output value represents the standard value corresponding to each calibration point. The working type set includes a number of corresponding applied data and corresponding calibration output values, and the working type set corresponds to the comparison data tool.
[0108] In one of the embodiments, a tool for generating comparison data based on the applied data corresponding to the set of work types and the corrected output value includes the following steps:
[0109] S810, process the applied data to obtain relevant values.
[0110] S820, perform fitting processing on the relevant values and the corrected output value to obtain a comparison data tool.
[0111] Among them, the relevant value represents processing the applied data to obtain a value related to the applied data, and the relevant value and the corrected output value are in one-to-one correspondence. Since the applied data includes the detected voltage, detected current, and power factor, for the convenience of generating the comparison data curve, the detected voltage, detected current, and power factor can be processed to generate relevant values, and the relevant values and the corrected output value are subjected to fitting processing to obtain the comparison data curve.
[0112] It should be noted here that the specific method for obtaining the relevant value is to perform weight processing on the applied data according to its influence ratio to obtain the corresponding value, and sum the applied data according to its corresponding weight to obtain the corresponding relevant value. The specific calculation formula is as follows:
[0113] F =
[0114] Among them, F is the relevant value, i represents the applied data, represents the weight of the i-th applied data, represents the i-th applied data.
[0115] Exemplarily, the applied data in this application includes the detected voltage, detected current, and power factor. Since the detected voltages are mostly the same, and the power factors include 1.0L and 0.5L, the weight of the detected voltage can be set to 0.1, the weight of the power factor can be set to 0.3, and the weight of the detected current can be set to 0.6. The corresponding detected voltage is set to 220V, the detected current is set to 0.5A, and the power factor is set to 1.0L. Therefore, the corresponding F = 22.6.
[0116] Perform data fitting on the relevant value corresponding to each group of applied data and the corrected output value to obtain the corresponding comparison data curve. The comparison data curve here includes the smoothest curve of the relevant value and the corrected output value. Count the relevant value and the corrected output value included in the comparison data curve. If half of the relevant value and the corrected output value are outside the comparison data curve, at this time, to ensure that the comparison value of the relevant value and the corrected output value can be stored to obtain a comparison value set, and store the comparison value set in a preset database as the comparison data tool in step S200.
[0117] In addition, for the convenience of calculation, polynomial fitting is directly performed on multiple groups of applied data and corrected output values. The specific fitting tool can use BATLAB to generate a polynomial function, and the polynomial function is stored in a preset database as a comparison data formula, serving as the comparison data tool in step S200 to facilitate the screening in step S200 to obtain the standard correction value corresponding to the numerical correction data.
[0118] Refer to Figure 4 , in one of the embodiments, obtaining several groups of correction points and the applied data corresponding to the correction points includes the following steps:
[0119] S510, obtain the rated correction current corresponding to the meter to be corrected and a preset factor set, and randomly obtain a preset interval set.
[0120] S520, generate a set of detection currents based on the preset intervals and the rated correction current.
[0121] S530, randomly match the detection currents with the preset factors to generate a set of correction points.
[0122] S540, use the detection currents and the matched preset factors as the applied data corresponding to the correction points.
[0123] Among them, the meter to be corrected represents the meter that needs to be corrected, the rated correction current represents the rated current corresponding to the meter to be corrected, the rated correction current is marked as Ib, the preset interval set includes several groups of preset intervals, the preset factor set includes several groups of preset factors, the detection current set includes several groups of detection currents, and the correction point set includes several groups of correction points.
[0124] In this embodiment, the preset factor set includes 1.0L and 0.5L. The preset factors are specifically power factors. When the power factor is 1.0L, it means that the meter is applying a pure resistive load. When the power factor is 0.5L, it means that the meter is applying an inductive or capacitive load, testing the accuracy of the meter to be corrected under pure active power and testing the accuracy of the meter to be corrected under reactive power conditions. The preset interval set includes 2%, 5%, 10%, 20%, etc., which are specifically set according to the actual situation. The detection currents in the detection current set are arranged in ascending order, and the preset interval is the interval between two adjacent detection currents. For example, two adjacent detection currents are 2%Ib and 4%Ib, that is, the interval between two adjacent detection currents is 2%Ib.
[0125] The step of generating a set of detection currents based on the preset intervals and the rated correction current mentioned in step S520 specifically includes the following steps:
[0126] S521, sequentially use the preset interval and the rated calibration current as the temporary detection current, and generate a comparison detection current based on the temporary detection current and the updated preset detection current.
[0127] S522, determine whether the comparison detection current is less than the preset overcurrent.
[0128] S523, if the comparison detection current is less than the preset overcurrent, store the comparison detection current in the detection current set, and update the preset detection current with the comparison detection current.
[0129] Among them, the initial preset detection current is set to 0, and the comparison detection current is generated based on the sum of the temporary detection current and the updated preset detection current. The preset overcurrent is the current when the electric meter is overloaded, that is, the preset overcurrent is 120%Ib. First, obtain the value 2% in the preset interval set, generate the temporary detection current 2%Ib with the rated calibration current, obtain the comparison detection current 2%Ib, determine that the comparison detection current is less than the preset overcurrent, then store the comparison detection current in the detection current set, and use the comparison detection current as the preset detection current, and repeat step S251 until the comparison detection current is greater than the preset overcurrent, end the loop, and generate the detection current set.
[0130] In step S530, randomly match the detection current with the preset factor to generate a set of calibration points. Specifically, sequentially obtain the detection currents in the detection current set, and then randomly match the preset factors in the preset factor set until all the detection currents are matched with the corresponding preset factors.
[0131] Of course, it is also possible to randomly match the preset factor with the detection current, or first extract a preset factor as the preset factor corresponding to all the detection currents in the detection current set, and then extract another preset factor as the preset factor corresponding to all the detection currents.
[0132] The calibration points in the set of calibration points are arranged according to the magnitude of the detection current, and the applied data for each group are not completely the same. It should be noted here that since the detection voltages are mostly the same, the applied data also includes the detection voltage.
[0133] In one of the embodiments, before determining that the working state of the meter to be compensated is single-phase working, the following steps are further included:
[0134] S261, determine whether the marked value is the second preset value.
[0135] S262, if the marked value is the second preset value, generate a meter detection signal, and detect the meter to be compensated based on the meter detection signal.
[0136] Among them, the second preset value is set to 0 or 2. When the marked value is 2 or 0, it is determined that the current electricity meter to be compensated is abnormal and needs to be detected. Therefore, the processor generates an electricity meter detection signal to remind the staff to check the energized electricity meter to be compensated to see if there are any operation errors or meter damages.
[0137] Here, it should be noted that assuming that the A-phase voltage value, B-phase voltage value, and C-phase voltage value obtained by the processor are not 220V, and the preset voltage value is 220V. At this time, through comparison, the marked value by the processor is 0, but the processor needs to generate an electricity meter detection signal to remind the staff to check the energized electricity meter to be compensated to see if there are any operation errors or meter damages.
[0138] In one of the embodiments, before using the standard calibration value as the compensation data for the electricity meter to be compensated, the following steps are further included:
[0139] S410, obtain the corresponding current calibration value according to the electricity meter to be compensated.
[0140] S420, compare the current calibration value with the standard calibration value, and judge whether the current calibration value is the same as the standard calibration value.
[0141] S430, if the current calibration value is the same as the standard calibration value, generate a calibration end signal, and control the normal operation of the electricity meter to be compensated according to the calibration end signal.
[0142] Among them, the current calibration value represents the value calibrated when the electricity meter to be compensated leaves the factory. For some calibrated electricity meters, the current calibration value is the same as the standard calibration value. Therefore, there is no need to calibrate the electricity meter to be compensated, and the processor can directly generate a calibration end signal and control the normal operation of the electricity meter to be compensated according to the calibration end signal.
[0143] The implementation principle is as follows:
[0144] First, the processor regularly collects the working state data corresponding to the electricity meter to be compensated. Specifically, the processor determines the phase type corresponding to the electricity meter to be compensated and the phase voltage value corresponding to the phase type according to the type. Compare the phase voltage value with the preset voltage value in turn to judge whether the phase voltage value is similar to the preset voltage value. If the phase voltage value is similar to the preset voltage value, mark the phase type corresponding to the phase voltage value to obtain the marked value. Compare the marked value with the first preset value to judge whether the marked value is the same as the first preset value. If the marked value is the same as the first preset value, it is determined that the electricity meter to be compensated is in three-phase operation. If the marked value is not the same as the first preset value, it is determined that the electricity meter to be compensated is in single-phase operation.
[0145] Next, the processor filters out the comparison data tool corresponding to the working type in the preset database, and obtains the standard calibration value corresponding to the numerical calibration data according to the comparison data tool.
[0146] Finally, the processor uses the standard calibration value as the compensation data for the meter to be compensated, and corrects the actual calibration value of the meter to be compensated according to the compensation data.
[0147] The embodiment of the present application also discloses an electric energy meter calibration signal compensation system.
[0148] As Figure 5 shown, the electric energy meter calibration signal compensation system includes a data acquisition module 10, a curve acquisition module 20 network-connected to the data acquisition module 10, a data acquisition module 30 network-connected to the curve acquisition module 20, and a compensation data module 40 network-connected to the data acquisition module 30.
[0149] Specifically, the data acquisition module 10 is used to periodically collect the working state data corresponding to the meter to be compensated, and the working state data includes type determination data and numerical calibration data. The curve acquisition module 20 is used to determine the working type of the meter to be compensated according to the type determination data, and filter out the comparison data tool corresponding to the working type in the preset database. The data acquisition module 30 is used to obtain the standard calibration value corresponding to the numerical calibration data according to the comparison data tool. The compensation data module 40 is used to use the standard calibration value as the compensation data for the meter to be compensated, and correct the actual calibration value of the meter to be compensated according to the compensation data.
[0150] The other functions executed in the above data acquisition module 10, curve acquisition module 20, data acquisition module 30, and compensation data module 40, as well as the technical details of each function, are the same as or similar to the corresponding features in the electric energy meter calibration signal compensation method described above, so they will not be elaborated here.
[0151] The embodiment of the present application also discloses an electronic device.
[0152] Referring to Figure 6 , the electronic device includes a processor 51 and a memory 52 that are coupled to each other, and a computer program 53 that can run on the processor 51 is stored on the memory 52. When the computer program 53 is executed by the processor 51, the electric energy meter calibration signal compensation method disclosed in the above embodiment is implemented.
[0153] The processor 51 may be a central processing unit, a general-purpose processor, a data signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It is used to run the program code stored in the memory 52 or process data.
[0154] The memory 52 can be a ROM or other type of static storage device that can store static information and instructions, a random access memory, or other type of dynamic storage device that can store information and instructions. It can also be an electrically erasable programmable read-only memory, a compact disc read-only memory, or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 52 can be an internal storage unit in some embodiments.
[0155] The processor 51 and the memory 52 are connected by a bus. The bus can include a path for transmitting information between the above components. The bus can be a peripheral component interconnect standard bus or an extended industry standard architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 6 only a thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.
[0156] Figure 6 Only an electronic device having a memory 52, a processor 51, and a bus is shown. Those skilled in the art can understand that Figure 6 the shown structure does not constitute a limitation on the electronic device. It can be a bus structure or a star structure. The electronic device can also include more or fewer components than shown in the figure, or combine certain components, or have different component deployments. Other existing or future possible electronic devices are applicable and should also be included in the protection scope and are included herein by reference.
[0157] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit and can be executed in other orders.
[0158] The above are all the preferred embodiments of this application. The protection scope of this application is not limited thereby. Therefore, all equivalent changes made according to the structure, shape, and principle of this application should be covered within the protection scope of this application.
Claims
1. A method for compensating calibration signals of an electric energy meter, characterized in that, Including the following steps: Regularly collect the working status data corresponding to the electricity meter to be compensated, where the working status data includes type determination data and numerical correction data; Judge the working type of the electricity meter to be compensated according to the type determination data, and screen out the comparison data tool corresponding to the working type in the preset database, where the preset database stores several groups of comparison data tools corresponding to the working types; The working types include three-phase working and single-phase working. Judging the working type of the electricity meter to be compensated according to the type determination data includes the following steps: Obtain the phase type corresponding to the electricity meter to be compensated and the phase voltage value corresponding to the phase type according to the type determination data; Compare the phase voltage value with the preset voltage value in sequence to judge whether the phase voltage value is similar to the preset voltage value; If the phase voltage value is similar to the preset voltage value, mark the phase type corresponding to the phase voltage value to obtain a marked value; Compare the marked value with the first preset value to judge whether the marked value is the same as the first preset value; If the marked value is the same as the first preset value, determine that the electricity meter to be compensated is the three-phase working; If the marked value is not the same as the first preset value, determine that the electricity meter to be compensated is the single-phase working; Obtain the standard correction value corresponding to the numerical correction data according to the comparison data tool; Use the standard correction value as the compensation data for the electricity meter to be compensated, and correct the actual correction value of the electricity meter to be compensated according to the compensation data.
2. The method for compensating the calibration signal of the electric energy meter according to claim 1, characterized in that Screen out the comparison data tool corresponding to the working type in the preset database. Among them, the generation method of the comparison data tool includes the following steps: Obtain several groups of correction points and the applied data corresponding to the correction points; Apply the applied data to the standard test electricity meter and obtain the correction output value corresponding to the correction point; Classify according to the applied data to obtain several groups of working type sets, where the working type sets include several corresponding applied data and corresponding correction output values; Generate the comparison data tool according to the applied data and the correction output value corresponding to the working type set, and the working type set and the comparison data tool are corresponding.
3. The electric energy meter calibration signal compensation method according to claim 2, characterized in that, Generating the comparison data tool according to the applied data and the correction output value corresponding to the working type set includes the following steps: Process the applied data to obtain relevant values, and the relevant values are in one-to-one correspondence with the correction output value; Perform fitting processing on the relevant values and the correction output value to obtain the comparison data tool.
4. The method for compensating the calibration signal of the watt-hour meter according to claim 2, characterized in that, Obtaining several groups of correction points and the applied data corresponding to the correction points includes the following steps: Obtain the rated correction current corresponding to the electricity meter to be corrected, a preset factor set, and randomly obtain a preset interval set, where the preset interval set includes several groups of preset intervals, and the preset factor set includes several groups of preset factors; Generate a set of detection currents based on the preset interval and the rated calibration current, where the set of detection currents includes several groups of detection currents; Randomly match the detection currents with a preset factor to generate a set of calibration points, where the set of calibration points includes several groups of calibration points; Use the detection currents and the matched preset factors as the application data corresponding to the calibration points.
5. The method for compensating the calibration signal of the electric energy meter according to claim 4, characterized in that, The generating a set of detection currents based on the preset interval and the rated calibration current includes the following steps: Successively use the preset interval and the rated calibration current as temporary detection currents, and generate comparison detection currents based on the temporary detection currents and the updated preset detection currents; Determine whether the comparison detection current is less than a preset overcurrent; If the comparison detection current is less than the preset overcurrent, store the comparison detection current in the set of detection currents, and update the preset detection current with the comparison detection current.
6. The method for compensating the calibration signal of the electric energy meter according to claim 1, characterized in that Before determining that the working state of the meter to be compensated is single-phase operation, the following steps are further included: Determine whether the marked value is a second preset value; If the marked value is the second preset value, generate a meter detection signal, and detect the meter to be compensated based on the meter detection signal.
7. The method for compensating the calibration signal of the electric energy meter according to claim 1, wherein Before using the standard calibration value as the compensation data for the meter to be compensated, the following steps are further included: Obtain a corresponding current calibration value based on the meter to be compensated, where the current calibration value represents the value calibrated when the meter to be compensated leaves the factory; Compare the current calibration value with the standard calibration value, and determine whether the current calibration value is the same as the standard calibration value; If the current calibration value is the same as the standard calibration value, generate a calibration end signal, and control the normal operation of the meter to be compensated based on the calibration end signal.
8. An electric energy meter calibration signal compensation system, characterized in that, Implementing a method for compensating a calibration signal of an electric energy meter according to any one of claims 1-7 includes: a data acquisition module (10), where the data acquisition module (10) is used to periodically acquire working state data corresponding to the meter to be compensated, and the working state data includes type determination data and numerical calibration data; a curve acquisition module (20), where the curve acquisition module (20) is used to determine the working type of the meter to be compensated based on the type determination data, and screen out a comparison data tool corresponding to the working type in a preset database; a data acquisition module (30), where the data acquisition module (30) is used to obtain a standard calibration value corresponding to the numerical calibration data based on the comparison data tool; a compensation data module (40), where the compensation data module (40) is used to use the standard calibration value as the compensation data for the meter to be compensated, and correct the actual calibration value of the meter to be compensated based on the compensation data.
9. An electronic device, characterized in that, The electronic device includes a processor (51) and a memory (52) that are coupled to each other, and a computer program (53) capable of running on the processor (51) is stored on the memory (52); when the computer program (53) is executed by the processor (51), it implements the electric energy meter calibration signal compensation method described in any one of claims 1-8.
Citation Information
Patent Citations
Ammeter calibration method and device, electronic equipment and storage medium
CN118625247A
Electric energy meter calibration method, calibration system and electric energy meter
CN119738771A