CN113189534B - Electric energy meter error detection method, readable storage medium and electronic device - Google Patents
Electric energy meter error detection method, readable storage medium and electronic device Download PDFInfo
- Publication number
- CN113189534B CN113189534B CN202110472251.XA CN202110472251A CN113189534B CN 113189534 B CN113189534 B CN 113189534B CN 202110472251 A CN202110472251 A CN 202110472251A CN 113189534 B CN113189534 B CN 113189534B
- Authority
- CN
- China
- Prior art keywords
- electric energy
- energy meter
- active power
- pulse output
- power pulse
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/04—Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Recording Measured Values (AREA)
Abstract
The invention relates to an electric energy meter error detection method, a readable storage medium and electronic equipment, wherein when a change mark representing starting error detection work is detected, whether an electric energy meter is in an in-plant state is judged; otherwise, clearing the mark representing the error generated by the acceleration of the electric meter execution. For the electric meters in the state in the factory, respectively taking the read active power pulse output scaling value and the read active power pulse output acceleration value as a first temporary variable and a second temporary variable for storage; otherwise, clearing the mark representing the error generated by the acceleration of the electric meter execution, and respectively saving the read active power pulse output scaling value and the read active power pulse output standard value as a first temporary variable and a second temporary variable. When the two temporary variables are consistent, no processing is needed; otherwise, the second temporary variable is written to the pulse scaling register of the meter. Therefore, the error detection period of the ammeter can be effectively shortened, and the production efficiency of the ammeter before delivery is improved.
Description
Technical Field
The invention relates to the field of electric energy meters, in particular to an electric energy meter error detection method, a readable storage medium and electronic equipment.
Background
In the field of electric energy meters (also called electric energy meters), the measurement error of the electric energy meter is an important index for measuring the performance of the electric energy meter, and is also a key index which is required to be detected again when relevant departments check and accept the electric energy meter.
Before the electric energy meter leaves a factory, when the metering error of the electric energy meter needs to be detected, the error point values such as voltage, current, power factor, error limit and the like are generally tested, and then the data are compared with a standard value to judge whether the error of the electric energy meter to be detected meets the requirement.
Then, in the process of detecting the metering error of the electric energy meter, since there are many error points to be detected, even all the error points need to be detected, which will reduce the production efficiency of the electric energy meter. Of course, in the actual error detection process of the electric energy meter, three typical error points such as the basic current, the maximum current and the minimum electric quantity can be selected for detection, so as to detect whether the overall error is within the range required by the specification.
However, the error point of the minimum current consumes a long detection time, so that although the requirement of error detection is met, the production efficiency of the electric energy meter is reduced because a large amount of detection time is occupied.
Disclosure of Invention
The first technical problem to be solved by the present invention is to provide a method for detecting errors of an electric energy meter in view of the above prior art.
A second technical problem to be solved by the present invention is to provide a readable storage medium for the above prior art. The readable storage medium stores a computer program, and the computer program realizes the method for detecting the error of the electric energy meter when being executed by a processor.
A third technical problem to be solved by the present invention is to provide an electronic device in view of the above prior art. The electronic equipment comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the method for detecting the error of the electric energy meter is realized.
The technical scheme adopted by the invention for solving the first technical problem is as follows: an electric energy meter error detection method is characterized by comprising the following steps:
step 1, detecting whether a change mark representing starting error detection work appears on the electric energy meter;
step 2, judging and processing according to the detected change mark result condition:
when detecting that the change mark appears, turning to step 3; otherwise, turning to the step 1;
step 3, judging whether the electric energy meter is in the factory state or not:
when the electric energy meter is in the in-plant state, turning to step 4; otherwise, clearing the mark representing the error generated by accelerating the execution of the electric energy meter, and turning to the step 7;
step 4, judging whether the electric energy meter is in the in-plant production state:
when the electric energy meter is in the production state in the factory, turning to step 5; otherwise, clearing the mark representing the error generated by accelerating the execution of the electric energy meter, and turning to the step 7;
step 5, reading an active power pulse output scaling value of the electric energy meter, storing the active power pulse output scaling value as a first temporary variable of the electric energy meter, and turning to step 6;
step 6, reading an active power pulse output acceleration value of the electric energy meter, storing the active power pulse output acceleration value as a second temporary variable of the electric energy meter, and turning to step 9;
step 7, reading an active power pulse output scaling value of the electric energy meter, saving the active power pulse output scaling value as a first temporary variable of the electric energy meter, and turning to step 8;
step 8, reading an active power pulse output standard value of the electric energy meter, saving the active power pulse output standard value as a second temporary variable of the electric energy meter, and turning to step 9;
step 9, judging processing is carried out according to the saved first temporary variable and second temporary variable:
when the two are consistent, the treatment is not needed; otherwise, the second temporary variable is written to a pulse scaling register of the power meter.
In the method for detecting the error of the electric energy meter, the frequency of occurrence of the change mark representing the detection work of the starting error is 1 time/second.
In step 6, when the electric energy meter is in the in-plant production state, the electric energy meter manufacturer reads the active power pulse output acceleration value of the electric energy meter in a production setting mode.
Further, in the method for detecting the error of the electric energy meter, the reading rate of the active power pulse output acceleration value of the electric energy meter is 8 times of the reading rate of the active power pulse output standard value of the electric energy meter.
Still further, in the method for detecting the error of the electric energy meter, a Berlin metering chip BL6523 is arranged in the electric energy meter.
In an improved aspect, in the present invention, the method for detecting an error of an electric energy meter further includes: and 7-9, when the electric energy meter is not in the production state in the factory, clearing the active power pulse output acceleration value of the electric energy meter.
Further, in the method for detecting the error of the electric energy meter, when the electric energy meter is in a factory state, the furniture of the electric energy meter factory has the authority of modifying the parameters of the electric energy meter.
Still further, in the method for detecting the error of the electric energy meter, the electric energy meter is a single-phase electric energy meter.
The technical scheme adopted by the invention for solving the second technical problem is as follows: the readable storage medium, which stores the computer program, is characterized in that the computer program, when executed by the processor, implements any one of the methods for detecting errors of the electric energy meter.
The technical scheme adopted by the invention for solving the third technical problem is as follows: the electronic device is characterized by comprising a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the method for detecting the error of the electric energy meter is realized.
Compared with the prior art, the invention has the advantages that: the invention detects the occurrence condition of the change mark representing the starting error detection work, and judges whether the electric energy meter is in the in-plant state or not when the change mark is detected; otherwise, the flag indicating the error of the acceleration of the electric energy meter is cleared. Once the electric energy meter is judged to be in the in-plant state, respectively reading an active power pulse output scaling value and an active power pulse output acceleration value of the electric energy meter, and respectively saving the two read values as a first temporary variable and a second temporary variable; otherwise, after clearing the mark representing the error of accelerated execution of the electric energy meter, reading the active power pulse output scaling value and the active power pulse output standard value of the electric energy meter, and respectively saving the two values read at the moment as a first temporary variable and a second temporary variable. Finally, when the two saved temporary variables are judged to be consistent, no processing is needed; otherwise, the second temporary variable is written to the pulse scaling register of the power meter. Therefore, the error detection period aiming at the electric energy meter can be effectively shortened, and the production efficiency of the electric energy meter before delivery is improved.
Drawings
Fig. 1 is a schematic flow chart of an error detection method for an electric energy meter according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
The embodiment provides an error detection method for an electric energy meter, wherein the electric energy meter is a single-phase electric energy meter and is internally provided with a Berlin metering chip BL 6523. Specifically, referring to fig. 1, the method for detecting the error of the electric energy meter in the embodiment includes the following steps:
step 1, detecting whether a change mark representing starting error detection work appears on the electric energy meter; wherein, the frequency of occurrence of the change flag representing the start of the error detection operation is preferably set to 1 time/second;
step 2, judging and processing according to the detected change mark result condition:
when the change mark is detected, the error detection work of the electric energy meter is started, and the step 3 is carried out; otherwise, turning to the step 1;
step 3, judging whether the electric energy meter is in the factory state or not:
when the electric energy meter is in the factory state, the furniture of the electric energy meter factory has the authority of modifying the parameters of the electric energy meter, and the electric energy meter factory can randomly change the parameters in the electric energy meter according to the requirement and then go to the step 4; otherwise, the electric energy meter is not in the in-plant state at the moment, and the electric energy meter manufacturer does not have the authority of modifying the parameters of the electric energy meter at the moment, the mark representing the error generated by the execution acceleration of the electric energy meter is removed, and the step 7 is carried out;
step 4, judging whether the electric energy meter is in the in-plant production state:
when the electric energy meter is in the production state in the factory, turning to step 5; otherwise, clearing the mark representing the error generated by accelerating the execution of the electric energy meter, and turning to the step 7;
step 5, reading an active power pulse output scaling value of the electric energy meter, storing the active power pulse output scaling value as a first temporary variable of the electric energy meter, and turning to step 6;
step 6, reading an active power pulse output acceleration value of the electric energy meter, storing the active power pulse output acceleration value as a second temporary variable of the electric energy meter, and turning to step 9; in the embodiment, when the electric energy meter is in an in-plant production state, an electric energy meter manufacturer reads an active power pulse output acceleration value of the electric energy meter in a production setting mode;
step 7, reading an active power pulse output scaling value of the electric energy meter, saving the active power pulse output scaling value as a first temporary variable of the electric energy meter, and turning to step 8;
step 8, reading an active power pulse output standard value of the electric energy meter, saving the active power pulse output standard value as a second temporary variable of the electric energy meter, and turning to step 9;
step 9, judging processing is carried out according to the saved first temporary variable and second temporary variable:
when the two are consistent, the treatment is not needed; otherwise, the second temporary variable is written to a pulse scaling register of the power meter.
In this embodiment, when the electric energy meter performs steps 7 to 9 and is not in the in-plant production state, the active power pulse output acceleration value of the electric energy meter is cleared.
Of course, in the actual error detection of the electric energy meter, the reading rate of the active power pulse output acceleration value of the electric energy meter is 8 times of the reading rate of the active power pulse output standard value of the electric energy meter.
The embodiment also provides a readable storage medium. The readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the method for detecting the error of the electric energy meter in the embodiment is implemented.
In addition, the embodiment also provides the electronic equipment. The electronic device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the method for detecting the error of the electric energy meter in the embodiment is realized.
Although preferred embodiments of the present invention have been described in detail hereinabove, it should be clearly understood that modifications and variations of the present invention are possible to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. An electric energy meter error detection method is characterized by comprising the following steps:
step 1, detecting whether a change mark representing starting error detection work appears on the electric energy meter;
step 2, judging and processing according to the detected change mark result condition:
when detecting that the change mark appears, turning to step 3; otherwise, turning to the step 1;
step 3, judging whether the electric energy meter is in the factory state or not:
when the electric energy meter is in the in-plant state, turning to step 4; otherwise, clearing the mark representing the error generated by accelerating the execution of the electric energy meter, and turning to the step 7;
step 4, judging whether the electric energy meter is in the in-plant production state:
when the electric energy meter is in the production state in the factory, turning to step 5; otherwise, clearing the mark representing the error generated by accelerating the execution of the electric energy meter, and turning to the step 7;
step 5, reading an active power pulse output scaling value of the electric energy meter, storing the active power pulse output scaling value as a first temporary variable of the electric energy meter, and turning to step 6;
step 6, reading an active power pulse output acceleration value of the electric energy meter, storing the active power pulse output acceleration value as a second temporary variable of the electric energy meter, and turning to step 9;
step 7, reading an active power pulse output scaling value of the electric energy meter, saving the active power pulse output scaling value as a first temporary variable of the electric energy meter, and turning to step 8;
step 8, reading an active power pulse output standard value of the electric energy meter, saving the active power pulse output standard value as a second temporary variable of the electric energy meter, and turning to step 9;
step 9, judging processing is carried out according to the saved first temporary variable and second temporary variable:
when the two are consistent, the treatment is not needed; otherwise, the second temporary variable is written to a pulse scaling register of the power meter.
2. The method for detecting the error of the electric energy meter according to claim 1, wherein the frequency of occurrence of the change flag indicating the start of the error detection operation is 1 time/second.
3. The method for detecting the error of the electric energy meter according to the claim 1, wherein in the step 6, the electric energy meter manufacturer reads the output acceleration value of the active power pulse of the electric energy meter by a mode of a production setting when the electric energy meter is in an in-factory production state.
4. The method for detecting the error of the electric energy meter according to the claim 3, characterized in that the reading rate of the active power pulse output acceleration value of the electric energy meter is 8 times of the reading rate of the active power pulse output standard value of the electric energy meter.
5. The method for detecting the error of the electric energy meter according to any one of claims 1 to 4, wherein a Berkeley measuring chip BL6523 is arranged in the electric energy meter.
6. The method for detecting the error of the electric energy meter according to any one of claims 1 to 4, characterized by further comprising the following steps: and 7-9, when the electric energy meter is not in the production state in the factory, clearing the active power pulse output acceleration value of the electric energy meter.
7. The method for detecting the error of the electric energy meter according to any one of claims 1 to 4, wherein when the electric energy meter is in a factory state, the furniture of the electric energy meter factory has the authority of modifying the parameters of the electric energy meter.
8. The error detection method of the electric energy meter according to any one of claims 1 to 4, wherein the electric energy meter is a single-phase electric energy meter.
9. Readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for error detection of an electric energy meter according to any one of claims 1 to 8.
10. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for detecting an error in an electric energy meter according to any one of claims 1 to 8 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110472251.XA CN113189534B (en) | 2021-04-29 | 2021-04-29 | Electric energy meter error detection method, readable storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110472251.XA CN113189534B (en) | 2021-04-29 | 2021-04-29 | Electric energy meter error detection method, readable storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113189534A CN113189534A (en) | 2021-07-30 |
CN113189534B true CN113189534B (en) | 2022-04-26 |
Family
ID=76980573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110472251.XA Active CN113189534B (en) | 2021-04-29 | 2021-04-29 | Electric energy meter error detection method, readable storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113189534B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114692061A (en) * | 2022-03-16 | 2022-07-01 | 广东电网有限责任公司广州供电局 | Ammeter error correlation factor analysis method and system based on pearson correlation coefficient |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SU805182A1 (en) * | 1979-06-15 | 1981-02-15 | Предприятие П/Я А-3890 | Electronic electric power counter |
RO82642B1 (en) * | 1982-12-03 | 1983-09-30 | îNTREPRINDEREA DE APARATE ELECTRICE DE MASURAT | Method for determing the errors from the energy meters |
GB9607996D0 (en) * | 1996-04-18 | 1996-06-19 | Siemens Measurements Ltd | Improvements in or relating to commodity meters |
CN101556325A (en) * | 2009-05-27 | 2009-10-14 | 深圳市科陆电子科技股份有限公司 | Method for quickly verifying electric energy error |
CN102590784A (en) * | 2012-03-14 | 2012-07-18 | 沈阳时尚实业有限公司 | Single-phase intelligent energy meter distributed correction method |
CN105911506A (en) * | 2016-04-18 | 2016-08-31 | 青岛高科通信股份有限公司 | Correction method of electric energy meter and equipment |
CN106597351A (en) * | 2016-11-18 | 2017-04-26 | 云南电网有限责任公司电力科学研究院 | Electric energy meter verification device online real-time monitoring realization method |
CN111175686A (en) * | 2020-01-12 | 2020-05-19 | 深圳市江机实业有限公司 | Method for judging stability of metering error of single-phase intelligent electric energy meter in installation site |
-
2021
- 2021-04-29 CN CN202110472251.XA patent/CN113189534B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SU805182A1 (en) * | 1979-06-15 | 1981-02-15 | Предприятие П/Я А-3890 | Electronic electric power counter |
RO82642B1 (en) * | 1982-12-03 | 1983-09-30 | îNTREPRINDEREA DE APARATE ELECTRICE DE MASURAT | Method for determing the errors from the energy meters |
GB9607996D0 (en) * | 1996-04-18 | 1996-06-19 | Siemens Measurements Ltd | Improvements in or relating to commodity meters |
CN101556325A (en) * | 2009-05-27 | 2009-10-14 | 深圳市科陆电子科技股份有限公司 | Method for quickly verifying electric energy error |
CN102590784A (en) * | 2012-03-14 | 2012-07-18 | 沈阳时尚实业有限公司 | Single-phase intelligent energy meter distributed correction method |
CN105911506A (en) * | 2016-04-18 | 2016-08-31 | 青岛高科通信股份有限公司 | Correction method of electric energy meter and equipment |
CN106597351A (en) * | 2016-11-18 | 2017-04-26 | 云南电网有限责任公司电力科学研究院 | Electric energy meter verification device online real-time monitoring realization method |
CN111175686A (en) * | 2020-01-12 | 2020-05-19 | 深圳市江机实业有限公司 | Method for judging stability of metering error of single-phase intelligent electric energy meter in installation site |
Non-Patent Citations (1)
Title |
---|
利用MB95F418芯片实现智能电表的设计与研究;陈勇;《中国优秀博硕士学位论文全文数据库(硕士)·工程科技Ⅱ辑》;20120415(第04期);正文第1-57页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113189534A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113189534B (en) | Electric energy meter error detection method, readable storage medium and electronic device | |
CN107015891A (en) | Information processing method and test chip | |
US20230236252A1 (en) | Methods and devices for estimating state of charge of battery, and extracting charging curve of battery | |
CN102841831A (en) | System and method for testing server memory | |
CN115689534B (en) | Method, device, equipment and medium for managing service life of equipment based on big data | |
CN114924119B (en) | Clock chip and frequency measuring method | |
CN116360695A (en) | Data storage method and device based on hybrid energy storage power supply | |
CN116185777A (en) | Method, device and system for monitoring power consumption of server and server | |
CN114355212B (en) | Battery self-discharge detection method, device, computer equipment and storage medium | |
CN112240992B (en) | Protection polarity verification method, device and equipment based on line empty charge transient current | |
CN111382052A (en) | Code quality evaluation method and device and electronic equipment | |
CN112213577B (en) | Method and device for detecting electrical operation, computer key and storage medium | |
CN115113061A (en) | Method and related device for correcting SOC of battery | |
CN106291323B (en) | The chip fast powering-up detection of non-contact IC card and configuration method and device | |
KR20070060215A (en) | Method and apparatus of correcting full charge capacity and end of discharge voltage | |
CN112487747B (en) | Power element simulation method and device | |
CN116754919B (en) | Outfield life assessment method and device, electronic equipment and storage medium | |
CN111025223A (en) | Clock correction method, device, equipment and storage medium of electric energy meter | |
CN112748349B (en) | Battery leakage determination method, device, electronic device and storage medium | |
CN113779926B (en) | Circuit detection method and device, electronic equipment and readable storage medium | |
CN117805663B (en) | Battery testing method, device, equipment and medium based on running state | |
CN117148185B (en) | Method, device and storage medium for testing quiescent current of battery system | |
CN112463569B (en) | Internal performance evaluation method and system of concurrent system | |
CN118250168A (en) | Method and device for reading configuration information of optical port test fixture and optical port test fixture | |
TWI821056B (en) | Electronic device and reporting method of battery capacity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |