CN114280910B - Test method and system capable of reading time of power meter with high precision - Google Patents

Test method and system capable of reading time of power meter with high precision Download PDF

Info

Publication number
CN114280910B
CN114280910B CN202111616253.8A CN202111616253A CN114280910B CN 114280910 B CN114280910 B CN 114280910B CN 202111616253 A CN202111616253 A CN 202111616253A CN 114280910 B CN114280910 B CN 114280910B
Authority
CN
China
Prior art keywords
time
communication
electric power
power meter
reading
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
Application number
CN202111616253.8A
Other languages
Chinese (zh)
Other versions
CN114280910A (en
Inventor
柯时峰
张斌
徐斌
徐锋
沈彬
朱立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHEJIANG HARNPU POWER TECHNOLOGY CO LTD
Original Assignee
ZHEJIANG HARNPU POWER TECHNOLOGY CO LTD
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZHEJIANG HARNPU POWER TECHNOLOGY CO LTD filed Critical ZHEJIANG HARNPU POWER TECHNOLOGY CO LTD
Priority to CN202111616253.8A priority Critical patent/CN114280910B/en
Publication of CN114280910A publication Critical patent/CN114280910A/en
Application granted granted Critical
Publication of CN114280910B publication Critical patent/CN114280910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a test method and a test system capable of reading time of an electric power instrument with high precision, and belongs to the technical field of measurement of electric power instruments. The invention relates to a test method capable of reading time of an electric power instrument with high precision, which comprises the steps of firstly preliminarily determining a communication time range capable of obtaining a second jump time of a clock of the electric power instrument by setting a first stage for determining the jump range and a second stage for calculating a time error of the electric power instrument, then calculating test time according to the communication time range of the second jump time of the clock, obtaining a plurality of communication test times to gradually approach time points of the second jump of the electric power instrument, realizing the measurement of time variation of the electric power instrument after a plurality of times, and providing possibility for testing accurate time variation of the electric power instrument within 72 hours. Furthermore, by the method, the time accuracy of the read power meter is close to 0.01 second, 0.1 second is ensured, the problem of large clock error in the test of the power meter is effectively solved, and the method is simple, practical and feasible.

Description

Test method and system capable of reading time of power meter with high precision
Technical Field
The invention relates to a test method and a test system capable of reading time of an electric power instrument with high precision, and belongs to the technical field of measurement of electric power instruments.
Background
The clock accuracy of the electric energy meter is important, and the accuracy of charging is related. According to the requirements of GB/T17215.211-2021 general requirements of electrical measuring equipment (alternating current), test and experimental conditions part 11, namely measuring equipment, the deviation of the working clock of the standby power supply adopted by the electric energy meter is better than +/-1.5 s/72h. And because the 4 th to 5 th parts of the DL/T698.45-2017 electric energy information acquisition and management system: the electric energy meter communication protocols such as object-oriented interoperability data exchange protocol and DL/T645-2007 multifunctional electric energy meter communication protocol can only read the time data of year, month, day, minute and second but not the time data below the second, and when the technical index is tested, the problem of insufficient test time precision is encountered. Most of electric power meters are similar to electric energy meters, and can only read seconds through communication, and the problem of insufficient precision of test time is also solved.
Further, a chinese patent (publication) No. CN104483649 a) discloses a high precision time setting method and system applied to an electric energy meter, comprising: the clock testing instrument, the time setting device and the electric energy meter, wherein the time setting method comprises the following steps: (1) The time synchronization device reads the system time T of the clock tester through the first communication interface; (2) The time synchronization device writes the system time T into the electric energy meter to be time synchronized through a second communication interface; (3) The time synchronization device simultaneously reads the clock instrument system time T1 and the electric energy meter system time T2 through the first communication interface and the second communication interface respectively; (4) And (3) comparing the difference value between the T1 and the T2, if the difference value is smaller than a preset error threshold, the time synchronization is successful, otherwise, the step (1) is returned. The time reliability of the terminal system to be timed can be ensured, and the time synchronization accuracy can be ensured. The method further comprises the following steps: and sequentially carrying out time synchronization on the electric energy meters needing time synchronization until the time synchronization operation of all the electric energy meters is completed. Further, the first communication interface is an RS232 interface, and the second communication interface is an RS485 interface. Further, the predetermined error threshold is 1 second
However, the time setting error of the scheme is 1 second, the precision of the testing time is lower, the testing requirement of the existing electric energy meter cannot be met, and the popularization and the use are not facilitated.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a test method and a test system for reading the time of an electric power instrument with high precision, which are simple and practical in scheme, are feasible and can be used for preliminarily determining a communication time range capable of obtaining the second jump time of a clock of the electric power instrument, calculating the test time according to the communication time range of the second jump time of the clock, obtaining a plurality of communication test times to gradually approach the second jump time point of the electric power instrument, measuring the time variation of the electric power instrument after a plurality of times, ensuring that the time accuracy of the read electric power instrument is close to 0.01 second and ensuring 0.1 second, effectively solving the problem that the accurate clock error of the electric power instrument is large.
The second purpose of the invention is to provide a test method for preliminarily determining a communication time range capable of obtaining the second jump time of the clock of the electric power instrument, calculating the test time according to the communication time range of the second jump time of the clock, obtaining a plurality of communication test times to gradually approach the time point of the second value jump of the electric power instrument, measuring the time variation of the electric power instrument after a plurality of times, further ensuring that the time accuracy of the read electric power instrument is close to 0.01 second, ensuring 0.1 second, effectively solving the problem of large accurate clock error of the test electric power instrument, having a simple and practical scheme and being feasible and reading the time accuracy of 0.1 second of the electric power instrument.
In order to achieve one of the above objects, a first technical solution of the present invention is:
a test method capable of reading time of an electric power meter with high precision,
comprises a first stage and a second stage;
the first stage, for determining a jump range, comprises the following:
continuously reading the time of the power meter until the read time of the power meter changes so as to preliminarily determine a communication time range capable of obtaining the second jump time of the clock of the power meter and obtain a communication interval dTs;
the second stage is used for calculating the time error of the electric power meter and comprises the following contents:
according to the communication time range of the second jump time of the clock in the first stage, calculating the test time, and acquiring a plurality of communication test times to gradually approach the second value jump time points of the power instrument;
and then, reading the time of the electric power instrument according to the calculated communication test time, and calculating the time error of the electric power instrument to realize the measurement of the time variation of the electric power instrument after a plurality of times.
Through continuous exploration and test, the invention firstly preliminarily determines the communication time range of the clock second jump time of the electric power instrument by setting the first stage for determining the jump range and the second stage for calculating the time error of the electric power instrument, then calculates the test time according to the communication time range of the clock second jump time, and obtains a plurality of communication test times to gradually approach the time point of the second value jump of the electric power instrument, thereby realizing the measurement of the time variation of the electric power instrument after a plurality of times, and providing possibility for testing the accurate time variation of the electric power instrument within 72 hours.
Furthermore, by the method, the time accuracy of the read power instrument is close to 0.01 second, 0.1 second is ensured, the problem of large error of the accurate clock of the power instrument is effectively solved, meanwhile, the method can test the clock variation of the power instrument in a short time, and the scheme is simple, practical and feasible.
Furthermore, the invention can test the accurate value of the time change of the power meter after 72 hours, and provides an effective means for the clock detection of the power meter.
Furthermore, the invention is particularly suitable for detecting short-term time change of the electric energy meter.
As a preferable technical measure:
the communication time range is from the communication time Ts to the communication time Ts0, and is determined according to the received communication time period when the second value jump of the power instrument occurs;
the communication interval dTs is calculated as follows:
dTs=Ts0-Ts。
as a preferable technical measure:
the calculation method of the test time is as follows:
determining the millisecond time Tss of the communication time Ts and the millisecond time Tss0 of the communication time Ts0 according to the communication time Ts and the communication time Ts0 at the time of the second jump of the clock;
calculating a communication test time period of the time of the subsequent reading power meter by using the millisecond time Tss and the millisecond time Tss0, wherein the millisecond time period of the communication test time period is Tss-Tss 0;
the time of the power meter is then read once every ST cycle on the basis of the determined millisecond period until the time of change is less than STm milliseconds.
As a preferable technical measure:
the value of ST is 1, and the cycle unit is second; the value of STm is 10 in milliseconds;
in the process of successive approximation, the time of reading the electric power meter once every 1 second plus an offset dToff is required to be read for many times, and the reading time of reading the electric power meter once is Tmm;
Ts+n≤Tmm≤Ts0+n;
where n represents a second value, incremented by 1 second each reading;
the offset dToff is calculated as follows:
dToff=dTs/(2^n);
the calculation formula of the communication test time for reading the time of the primary power meter is as follows:
tsn = Ts0+ n seconds + s × dToff.
Due to the time-irreversible nature, it is practically impossible to attempt multiple readings within the Ts and Ts0 time period, but every 1 second, between Ts + n and Ts0+ n.
As a preferable technical measure:
the method for acquiring a plurality of communication test moments comprises the following steps:
and calculating the communication test time by a bisection method within the communication time Ts-Ts 0 of the jump of the second value of the power meter, wherein the minimum fineness of the bisection method is 10 milliseconds.
As a preferable technical measure:
the calculation formula of the dichotomy is as follows:
dToff=dTs/(2^n)
tsn = Ts0+ n seconds + s × dToff;
wherein, dToff is an offset;
n represents a second value, increasing by 1 second each reading;
tsn is the communication test time for reading the time of the primary power meter.
As a preferable technical measure:
the computer time for reading the time of the power meter adopts the computer time for receiving the first byte of the response frame of the power meter, so that the time error caused by the communication process can be eliminated to the maximum extent.
In order to achieve one of the above objects, a second technical solution of the present invention is:
a test method for reading 0.1 second accuracy time of an electric power meter,
the method comprises the following steps:
the method comprises the steps that firstly, a communication starting time period Ts-Ts 0 corresponding to second value jump of the electric power instrument is determined by continuously reading time of the electric power instrument, and a communication interval dTs is calculated according to the communication time period Ts-Ts 0;
secondly, calculating communication time by a dichotomy within a time period Ts-Ts 0 of the jump of the second value of the electric power meter, and gradually approaching the time point of the jump of the second value of the electric power meter, wherein the minimum fineness of the dichotomy is 10 milliseconds;
and thirdly, in the process of successive approximation, adding an offset dToff every 1 second, reading the time of the electric power meter once, and reading for many times to realize the measurement of the time variation of the electric power meter after a plurality of times.
Due to the time-irreversible nature, it is practically impossible to attempt multiple readings within the Ts and Ts0 time period, but every 1 second, between Ts + n and Ts0+ n, increasing by 1 second each reading.
The method for reading the accurate time of the electric power meter provided by the invention provides possibility for testing the accurate time change of the electric power meter within 72 hours. By the invention, the following problems are solved: (1) The time accuracy of the read power meter is close to 0.01 second, and 0.1 second is ensured; (2) testing the accurate clock error of the electric power instrument; (3) The problem of testing the clock variation of the power meter in a short time. The invention can test the accurate value of the time change of the power meter after 72 hours, and provides an effective means for the clock detection of the power meter.
In order to achieve one of the above objects, a third technical solution of the present invention is:
a test system capable of reading time of an electric power meter with high precision,
the testing method capable of reading the time of the power meter with high precision is applied;
the device comprises a test module, a computer and a standard clock;
the test module is used for testing the accurate value of the time change of the power meter after a plurality of times, and is deployed on the computer;
one port of the computer is connected to a standard clock through Ethernet, and the other port of the computer is communicated with the power meter.
The invention has simple and practical scheme and is convenient for production and manufacture.
As a preferable technical measure:
the standard clock is a GPS and/or a Beidou clock instrument;
the computer communicates with the power meter through RS485 or infrared or Bluetooth communication.
Compared with the prior art, the invention has the following beneficial effects:
through continuous exploration and tests, the communication time range of the second jump time of the clock of the electric power instrument is preliminarily determined, then the test time is calculated according to the communication time range of the second jump time of the clock, a plurality of communication test times are obtained to gradually approach the time point of the second value jump of the electric power instrument, the time variation of the electric power instrument after a plurality of times is measured, and the possibility is provided for testing the accurate time variation of the electric power instrument within 72 hours.
Furthermore, by the method, the time accuracy of the read power instrument is close to 0.01 second, 0.1 second is ensured, the problem of large error of the accurate clock of the power instrument is effectively solved, meanwhile, the method can test the clock variation of the power instrument in a short time, and the scheme is simple, practical and feasible.
Drawings
FIG. 1 is a schematic diagram of the cause of time reading error of a conventional electric energy meter;
FIG. 2 is a flow chart of the present invention for reading the accurate time of the electric energy meter;
FIG. 3 is a communication flow chart for reading the time of the electric energy meter according to the present invention;
FIG. 4 is a block diagram of a typical application scenario system of the present invention;
fig. 5 is a flow chart of the test of the 72-hour clock variation of the electric energy meter according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
On the contrary, the invention is intended to cover alternatives, modifications, equivalents and alternatives which may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, certain specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
One specific embodiment of the test method of the invention is as follows:
a test method capable of reading time of an electric power meter with high precision,
comprises a first stage and a second stage;
the first stage, for determining a jump range, comprises the following:
continuously reading the time of the power meter until the read time of the power meter changes so as to preliminarily determine a communication time range capable of obtaining the second jump time of the clock of the power meter and obtain a communication interval dTs;
the second stage is used for calculating the time error of the electric power meter and comprises the following contents:
according to the communication time range of the second jump time of the clock in the first stage, calculating the test time, and acquiring a plurality of communication test times to gradually approach the second value jump time points of the power instrument;
and then, reading the time of the electric power instrument according to the calculated communication test time, and calculating the time error of the electric power instrument to realize the measurement of the time variation of the electric power instrument after a plurality of times.
The test method is applied to a specific embodiment of the electric energy meter:
as shown in fig. 1, when communicating, the actual time in the electric energy meter is Tms (including time, minutes, seconds, milliseconds and even more accurate), the time of the computer is Tr (software acquisition is accurate to milliseconds), and the real time difference between the two is Tms-Tr. Due to the limitation of the communication protocol, the time value returned by the electric energy meter is Tm, namely the whole second part of the Tms time, the time difference obtained by calculation is Tm-Tr, and the difference value of the Tm-Tr and the Tms-Tm = dTm. In the case of random communication, the value of dTm is uncertain, and 0-straw (dTm) straw(s) is (are) 1 second, so that the requirement of accurate comparison time cannot be met.
The invention improves the time reading process, and can make 0 & ltdTm & lt 0.1 seconds, thereby realizing the accuracy of the time reading value of the electric energy meter reaching 0.1 second.
The process for reading the accurate time of the electric energy meter mainly comprises two stages:
stage (1): as shown in steps [1] to [7] of fig. 2, the time of the power meter is continuously read until the read time of the power meter changes, so as to preliminarily determine a communication time range in which the "second" transition time of the clock of the power meter can be obtained, and obtain a communication interval dTs (as shown in step [7] of fig. 2), which is the time required for one communication.
Stage (2): as shown in step [8] to step [21] of fig. 2, the time for reading the electric energy meter in the range of Ts to Ts0 is read once every 1 second by using the dichotomy (as shown in step [12] of fig. 2) until the time for change is less than 10ms (as shown in step [21] of fig. 2), and the time error is calculated.
The communication time refers to the computer time when the computer starts to send data frames to the electric energy meter, and is accurate to millisecond.
In the figures, the numbers before each step represent the serial number of the step.
Ts0, ts and Tsn are recorded communication time, are computer time when the computer starts to send the reading frame and comprise values of year, month, day, hour, minute, second and millisecond.
Tr is the computer time when the computer receives the first byte of the response frame of the electric energy meter, and comprises the values of year, month, day, hour, minute, second and millisecond.
Tm, tm1, tm2 are read times of the electric energy meter, including year, month, day, hour, minute, and second.
The detailed processes of the steps [2], [5] and [11] can be seen in FIG. 3.
The test method of the invention is applied to another specific embodiment of the electric energy meter:
a test method for reading the accuracy time of an electric energy meter of 0.1 second,
firstly, by continuously reading the time of the electric energy meter, determining the communication starting time periods Ts to Ts0 corresponding to the jump of the second value of the electric energy meter (steps [1] to [6] shown in fig. 2), and calculating the communication interval dTs (step [7] shown in fig. 2) according to the formula 1.
For example, at computer time 09. And the subsequent communication for reading the time of the electric energy meter is transmitted between 368 milliseconds and 531 milliseconds, so that the result data gradually approaches the real time of the jump of the second value of the electric energy meter.
dTs = Ts0-Ts (formula 1)
In the time period Ts to Ts0 of the jump of the 'second' value of the electric energy meter, the communication time (formula 2 and formula 3, as shown in step [8] to step [19] shown in FIG. 2) is calculated by the dichotomy, the time point of the jump of the 'second' value of the electric energy meter is gradually approached, and the minimum fineness of the dichotomy is 10 milliseconds (as shown in step [18] shown in FIG. 2).
Due to the time irreversible characteristic, it is practically impossible to try to read multiple times in the time periods Ts and Ts0, and in the process of successive approximation, the electric energy meter time is read every 1 second plus an offset dToff (as shown in step [12] to step [15] of fig. 2), and the calculation formula is as follows:
dToff = dTs/(2^n) (formula 2)
Tsn = Ts0+ n seconds + s × dToff (formula 3).
The computer time for reading the electric energy meter time is the computer time for receiving the first byte of the electric energy meter response frame (steps [6], [7] shown in fig. 3), so that the time error caused by the communication process can be eliminated to the maximum extent.
The method for reading the accurate time of the electric energy meter, provided by the invention, provides possibility for testing the accurate time change of the electric energy meter within 72 hours. By the invention, the following problems are solved: (1) The time accuracy of the read electric energy meter is close to 0.01 second, and 0.1 second is ensured; (2) testing the accurate clock error of the electric energy meter; (3) The clock variation of the electric energy meter is tested in a short time. The invention can test the accurate value of the time change of the electric energy meter after 72 hours, and provides an effective means for the clock detection of the electric energy meter.
One specific embodiment of the test system of the present invention:
a test system capable of reading the time change of an electric energy meter with high precision,
the electric energy meter is tested by applying the test method capable of reading the time change of the electric energy meter with high precision.
The device comprises a test module, a computer and a standard clock;
the test module is used for testing the accurate value of the time change of the electric energy meter after a plurality of times, and is deployed on the computer;
one port of the computer is connected to the standard clock through the Ethernet, and the other port of the computer is communicated with the electric energy meter.
When the invention is used, the test module is required to be arranged according to the flow of fig. 2 and 3, and then the test module is deployed on the computer. The computer is connected to a standard clock through Ethernet, and the standard clock can be a GPS/Beidou clock instrument and can also be other time reference equipment; the computer communicates with the electric energy meter through RS485 and also can communicate through infrared or Bluetooth. The specific connection is as shown in FIG. 4:
before the test module runs, the computer time is preferably synchronized with the standard clock.
The method for testing the clock change of the electric energy meter for 72 hours can be executed according to the steps shown in fig. 5, wherein the process of testing the time difference of the electric energy meter is the process set according to fig. 2 and 3, and the specific test results are as follows:
electric energy meter 1 Electric energy meter 2
Initial time in watch 2021/11/09 10:35:54 2021/11/09 10:36:03
Initial actual time 2021/11/09 10:35:45.61 2021/11/09 10:35:45.58
Initial time difference(s) 8.39 17.42
72 hours later in-watch time 2021/11/12 10:49:23 2021/11/12 10:49:31
Actual time after 72 hours 2021/11/12 10:49:14.67 2021/11/12 10:49:13.92
72 Hou waiting time error(s) 8.33 17.08
72 hours clock error(s) -0.06 -0.34
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (7)

1. A test method capable of reading time of an electric power meter with high precision is characterized in that,
comprises a first stage and a second stage;
the first stage, for determining a jump range, comprises the following:
continuously reading the time of the power meter until the read time of the power meter changes so as to preliminarily determine a communication time range capable of obtaining the second jump time of the clock of the power meter and obtain a communication interval dTs;
the second stage is used for calculating the time error of the electric power meter and comprises the following contents:
according to the communication time range of the second jump time of the clock in the first stage, calculating the test time, and acquiring a plurality of communication test times to gradually approach the second value jump time points of the power instrument;
the calculation method of the test time is as follows:
determining the millisecond time Tss of the communication time Ts and the millisecond time Tss0 of the communication time Ts0 according to the communication time Ts and the communication time Ts0 at the time of the second jump of the clock;
calculating a communication test time period of the time of the subsequent reading power meter by using the millisecond time Tss and the millisecond time Tss0, wherein the millisecond time period of the communication test time period is Tss-Tss 0;
then on the basis of the determined millisecond time period, reading the time of the power meter once every ST period until the time of change is less than STm milliseconds;
the value of ST is 1, and the cycle unit is second; the value of STm is 10 in milliseconds;
in the process of successive approximation, the time of reading the electric power meter once every 1 second plus an offset dToff is required to be read for many times, and the reading time of reading the electric power meter once is Tmm;
Ts+n≤Tmm≤Ts0+n;
where n represents a second value, increasing by 1 second for each reading;
the offset dToff is calculated as follows:
dToff=dTs/(2^n);
the calculation formula of the communication test time for reading the time of the primary power meter is as follows:
tsn = Ts0+ n seconds + s × dToff;
then, according to the calculated communication test time, reading the time of the electric power instrument, and calculating the time error of the electric power instrument to realize the measurement of the time variation of the electric power instrument after a plurality of times;
the method for acquiring a plurality of communication test moments comprises the following steps:
and calculating the communication test time by a bisection method within the communication time Ts-Ts 0 of the jump of the second value of the power meter, wherein the minimum fineness of the bisection method is 10 milliseconds.
2. A test method for reading the time of an electric power meter with high precision according to claim 1,
the communication time range is from the communication time Ts to the communication time Ts0, and the communication time range is determined according to the received communication time period when the second value jump occurs in the power instrument;
the communication interval dTs is calculated as follows:
dTs=Ts0-Ts。
3. a test method capable of reading time of an electric power meter with high precision according to claim 1,
the calculation formula of the dichotomy is as follows:
dToff=dTs/(2^n)
tsn = Ts0+ n seconds + s × dToff;
wherein dToff is an offset;
n represents a second value, increasing by 1 second each reading;
tsn is a communication test time when the time of the primary power meter is read.
4. A test method capable of reading time of an electric power meter with high precision according to claim 1,
the computer time for reading the time of the power meter is the computer time for receiving the first byte of the response frame of the power meter.
5. A test method for reading the accuracy time of an electric power meter at 0.1 second is characterized in that,
the method comprises the following steps:
step one, determining a communication starting time period Ts-Ts 0 corresponding to the second value jump of the electric power meter by continuously reading the time of the electric power meter, and calculating to obtain a communication interval dTs according to the communication time period Ts-Ts 0;
secondly, calculating communication time by a bisection method in a time period Ts-Ts 0 of the second value jump of the electric power instrument, and gradually approaching the time point of the second value jump of the electric power instrument, wherein the minimum fineness of the bisection method is 10 milliseconds;
and thirdly, in the process of gradual approximation, adding an offset dToff every 1 second, reading the time of the electric power meter once, and reading for many times to realize the measurement of the time variation of the electric power meter after a plurality of times.
6. A test system capable of reading time of an electric power meter with high precision is characterized in that,
the application of the test method for reading the time of the electric power meter with high precision as set forth in any one of claims 1-5;
the device comprises a test module, a computer and a standard clock;
the test module is used for testing the accurate value of the time change of the power meter after a plurality of times, and is deployed on the computer;
one port of the computer is connected to a standard clock through Ethernet, and the other port of the computer is communicated with the power meter.
7. A test system capable of reading time of an electric power meter with high precision according to claim 6,
the standard clock is a GPS and/or a Beidou clock instrument;
the computer communicates with the power meter through RS485 or infrared or Bluetooth communication.
CN202111616253.8A 2021-12-27 2021-12-27 Test method and system capable of reading time of power meter with high precision Active CN114280910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111616253.8A CN114280910B (en) 2021-12-27 2021-12-27 Test method and system capable of reading time of power meter with high precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111616253.8A CN114280910B (en) 2021-12-27 2021-12-27 Test method and system capable of reading time of power meter with high precision

Publications (2)

Publication Number Publication Date
CN114280910A CN114280910A (en) 2022-04-05
CN114280910B true CN114280910B (en) 2023-04-14

Family

ID=80876449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111616253.8A Active CN114280910B (en) 2021-12-27 2021-12-27 Test method and system capable of reading time of power meter with high precision

Country Status (1)

Country Link
CN (1) CN114280910B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3756066A (en) * 1971-04-16 1973-09-04 Greiner Electronic Ag Method and apparatus for testing timepieces
CN104483649A (en) * 2014-11-12 2015-04-01 珠海中慧微电子有限公司 High-precision time synchronization method and system applied to electric energy meter

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09257967A (en) * 1996-03-21 1997-10-03 Yazaki Corp Time correction device for fare calculation meter
CN101655545B (en) * 2009-09-02 2012-07-04 珠海市科荟电器有限公司 On-site verifying method of electric energy meter
KR101718949B1 (en) * 2015-06-19 2017-03-24 주식회사 인코어드 테크놀로지스 Method for correcting a power usage measurements between power usage measurement meter
CN208984962U (en) * 2018-08-14 2019-06-14 国网四川省电力公司电力科学研究院 Clock of power meter detection device and electric energy meter
CN111007709B (en) * 2019-12-27 2021-06-29 南方电网电力科技股份有限公司 Method, device and system for detecting daily timing error of electric energy meter
CN113760957A (en) * 2021-09-13 2021-12-07 华立科技股份有限公司 Retrieval method and system for historical data of electric energy meter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3756066A (en) * 1971-04-16 1973-09-04 Greiner Electronic Ag Method and apparatus for testing timepieces
CN104483649A (en) * 2014-11-12 2015-04-01 珠海中慧微电子有限公司 High-precision time synchronization method and system applied to electric energy meter

Also Published As

Publication number Publication date
CN114280910A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN103605062B (en) Partial discharge signal trigger phase synchronous clock source
CN103487649B (en) Method and device capable of measuring both frequency of continuous waves and frequency of pulse modulation carrier waves
CN106656451A (en) Time-keeping and timing precision test device, time-keeping precision test method and timing precision test method based on satellite timing system
CN216748451U (en) High-precision time service precision measurement system
CN103995198A (en) Analog input merging unit metering performance detection device and detection method thereof
CN102353429A (en) High-precision performance detector of resonant mode water level sensor and test method thereof
CN206618849U (en) A kind of optical pumped magnetometer magnetic gradient measurements device
CN106646321A (en) DC current transformer synchronous calibration method and system
CN114280910B (en) Test method and system capable of reading time of power meter with high precision
CN202939299U (en) Electronic transformer calibration device based on synchronous pulse output power supply
CN113702737A (en) Charging pile and testing method, device and equipment applied to charging pile
CN103616653B (en) System and method are tested with clock accuracy during a kind of electric energy quality monitoring terminal pair
CN103983935A (en) Indicating instrument detecting system and method
CN106932746B (en) Electronic current transformer performance test system and method
CN105629062A (en) Frequency detection method for variable frequency sine wave
CN205317925U (en) Intelligent ammeter metering error discriminating gear
CN109597457A (en) A kind of clock detection method and device based on programmable logic device
CN106019395B (en) A kind of electrical method receiving processing system and its method based on Correlation Identification
CN210953042U (en) Synchronous method flow testing device
CN101136627B (en) Method for automatically setting high-stability constant temperature crystal oscillator parameter
CN106371046A (en) Device for detecting angle difference resolution of merging unit tester
CN110726901B (en) Ranging method based on high-speed carrier zero-crossing synchronization and signal-to-noise ratio
CN1182402C (en) Homosequence specific phase frequency measurement method and high accuracy frequency meter
CN112068061A (en) Electronic transformer error measuring device and method
CN114895545A (en) Electric function test method of electric power instrument

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
CB03 Change of inventor or designer information

Inventor after: Ke Shifeng

Inventor after: Zhang Bin

Inventor after: Xu Bin

Inventor after: Xu Feng

Inventor after: Shen Bin

Inventor after: Zhu Lixin

Inventor before: Ke Shifeng

Inventor before: Zhang Bin

Inventor before: Xu Bin

Inventor before: Xu Feng

Inventor before: Shen Bin

Inventor before: Zhu Lixin

CB03 Change of inventor or designer information