CN109407498A - A kind of clock of power meter test method and clock of power meter test device - Google Patents

A kind of clock of power meter test method and clock of power meter test device Download PDF

Info

Publication number
CN109407498A
CN109407498A CN201810007231.3A CN201810007231A CN109407498A CN 109407498 A CN109407498 A CN 109407498A CN 201810007231 A CN201810007231 A CN 201810007231A CN 109407498 A CN109407498 A CN 109407498A
Authority
CN
China
Prior art keywords
pulses
counted number
clock
electric energy
energy meter
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.)
Pending
Application number
CN201810007231.3A
Other languages
Chinese (zh)
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.)
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Sichuan Electric Power 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 Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Priority to CN201810007231.3A priority Critical patent/CN109407498A/en
Publication of CN109407498A publication Critical patent/CN109407498A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04DAPPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES
    • G04D7/00Measuring, counting, calibrating, testing or regulating apparatus
    • G04D7/12Timing devices for clocks or watches for comparing the rate of the oscillating member with a standard
    • G04D7/1207Timing devices for clocks or watches for comparing the rate of the oscillating member with a standard only for measuring
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing 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)
  • Electric Clocks (AREA)

Abstract

The application belongs to electric energy meter testing field, provides a kind of clock of power meter test method, clock of power meter test device, test equipment and computer readable storage medium.Wherein, the clock of power meter test method, comprising: count counted number of pulses of the common crystals of non-constant temperature within the first clock cycle, obtain the first counted number of pulses;Counted number of pulses of the common crystals within the second clock period is counted, the second counted number of pulses is obtained;Based on first counted number of pulses and second counted number of pulses, the clocking error of the electric energy meter is calculated.Technical solution provided herein is not needed using constant-temperature crystal oscillator, therefore is not necessarily to preheating before testing;And test benchmark is the 1PPS clock output signal of GPS module, is influenced by annual aging characteristic lower, therefore can guarantee the long-term measuring accuracy to clock of power meter error.

Description

A kind of clock of power meter test method and clock of power meter test device
Technical field
The application belongs to electric energy meter testing field more particularly to a kind of clock of power meter test method, clock of power meter are surveyed Trial assembly sets, test equipment and computer readable storage medium.
Background technique
The construction dynamics of smart grid is continued to increase recently as country, the quantity explosive growth of intelligent electric energy meter, Clock of power meter precision is the foundation of intelligent electric energy meter timing, and quality determines the accuracy of intelligent electric energy meter complete machine timing, Therefore, clock of power meter accuracy test is the key link of factory test.
Currently, each electric energy meter manufacturer mainly realizes clock of power meter accuracy test by purchase high end frequency meter, Most high end frequency meter needs longer preheating time before to clock of power meter accuracy test using constant-temperature crystal oscillator;And Using the frequency meter of constant-temperature crystal oscillator, due to influence factors such as annual aging characteristics, after long-time service, for clock of power meter error Measuring accuracy not can guarantee.
Summary of the invention
In view of this, this application provides a kind of clock of power meter test method, clock of power meter test device, tests to set Standby and computer readable storage medium, it is ensured that the long-term measuring accuracy of clock of power meter error, and do not need compared with Long preheating time.
The application first aspect provides a kind of clock of power meter test method, comprising:
Counted number of pulses of the common crystals of non-constant temperature within the first clock cycle is counted, the first counted number of pulses is obtained, Wherein, first clock cycle is the 1PPS of GPS (Global Positioning System, global positioning system) module The output period of (1Pulse Per Second, a pulse per second) signal;
Counted number of pulses of the common crystals within the second clock period is counted, the second counted number of pulses is obtained, wherein The second clock period is the electric energy meter current clock cycle;
Based on first counted number of pulses and second counted number of pulses, the clocking error of the electric energy meter is calculated.
The application second aspect provides a kind of clock of power meter test device, comprising:
First statistic unit is obtained for counting counted number of pulses of the common crystals of non-constant temperature within the first clock cycle To the first counted number of pulses, wherein first clock cycle is the output period of the 1PPS signal of GPS module;
Second statistic unit obtains for counting counted number of pulses of the common crystals within the second clock period Two counted number of pulses, wherein the second clock period is the electric energy meter current clock cycle;
First error computing unit is calculated for being based on first counted number of pulses and second counted number of pulses The clocking error of the electric energy meter.
The application third aspect provides a kind of test equipment, including memory, processor and is stored in the storage In device and the computer program that can run on the processor, which is characterized in that the processor executes the computer journey The step of method as described above is realized when sequence.
The application fourth aspect provides a kind of computer readable storage medium, the computer-readable recording medium storage There is computer program, which is characterized in that the step of computer program realizes method as described above when being executed by processor.
Therefore counted number of pulses of the common crystals of non-constant temperature within the first clock cycle is counted first, obtain One counted number of pulses, and counted number of pulses of the statistics common crystals within the second clock period, obtain the second pulsimeter Numerical value, wherein first clock cycle is the output period of the 1PPS signal of GPS module, and the second clock period is electric energy meter The current clock cycle calculates the clocking error of electric energy meter secondly, being based on the first counted number of pulses and the second counted number of pulses. The 1PPS signal of GPS module is the high precision clock that frequency is 1Hz, error is 20ns, and the clock frequency of electric energy meter is also 1Hz, Therefore, in technical scheme, using 1PPS signal as benchmark signal, the clocking error of electric energy meter is tested, is counted 1PPS signal exports the count value of the common crystals in the period and the count value of the common crystals in the clock of power meter period, leads to Two count values are crossed, to calculate the clocking error of electric energy meter.Technical solution provided herein is not needed using constant-temperature crystal oscillator, Therefore without preheating before testing;And test benchmark be GPS module 1PPS clock output signal, by annual aging characteristic influenced compared with It is low, therefore can guarantee the long-term measuring accuracy to clock of power meter error.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the structural schematic diagram of clock of power meter test macro provided by the present application;
Fig. 2 is the implementation process schematic diagram for the clock of power meter test method that the embodiment of the present application one provides;
Fig. 3 is the implementation process schematic diagram for the clock of power meter test method that the embodiment of the present application two provides;
Fig. 4 is the structural schematic diagram for the clock of power meter test device that the embodiment of the present application three provides;
Fig. 5 is the structural schematic diagram for the test equipment that the embodiment of the present application four provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate the technical solution of the application, the following is a description of specific embodiments.
Attached drawing 1 provides clock of power meter test macro, as shown in Figure 1, the clock of power meter test macro includes test Equipment 101, GPS module 102, the common crystals 104 of electric energy meter to be measured 103 and non-constant temperature, test equipment 101 have been internally integrated Counter 105, the 1PPS signal output port of GPS module pass through the input of the input terminal linkage counter 105 of test equipment 101 End, the clock output port of electric energy meter to be measured pass through another input of another input terminal linkage counter 105 of test equipment 101 End, non-constant temperature common crystals 104 pass through 101 linkage counter 105 of test equipment as the clock input of counter 105.Wherein, Above-mentioned counter 105 also can be set outside test equipment 101, and GPS module and non-constant temperature common crystals also can integrate Inside test equipment.Electric energy meter to be measured can pass through jockey connecting test equipment.When electric energy meter provided herein Clock test method is applied in test equipment 101.
Embodiment one
The clock of power meter test method provided below the embodiment of the present application one is described, and please refers to attached drawing 2, this Shen Please clock of power meter test method include: in embodiment
Step S201: counted number of pulses of the common crystals of non-constant temperature within the first clock cycle is counted, the first arteries and veins is obtained Rush count value;
In the embodiment of the present application, above-mentioned first clock cycle is the output period of the 1PPS signal of GPS module.In general, GPS module 1PPS signal is period 1s, error 20ns, that is, 0.02PPM (Part PerMillion, hundred a ten thousandths) High precision clock, in actual test, the standard time clock precision tested the clock of electric energy meter has to reach 0.1PPM, therefore, the 1PPS signal accuracy of GPS module can be used as reference signal and come pair much higher than 0.1PPM needed for test The clock signal of electric energy meter is tested.
In the embodiment of the present application, test equipment counts pulse of the common crystals within the output period of 1PPS signal first Count value.To guarantee measuring accuracy, the frequency of common crystals is the bigger the better, and in actual test, the frequency of common crystals is general For 1MHz or more.
Step S202: counted number of pulses of the above-mentioned common crystals within the second clock period is counted, the second pulsimeter is obtained Numerical value;
In the embodiment of the present application, above-mentioned second counted number of pulses is the electric energy meter current clock cycle.Due to common brilliant The frequency of oscillation of vibration can be different in different moments frequency of oscillation with time drift, therefore, in order to guarantee the reliability of test, When the counted number of pulses to common crystals counts, when the output period and electric energy meter current clock cycle of 1PPS signal Between registration it is bigger, test result is more reliable.
Step S203: it is based on above-mentioned first counted number of pulses and above-mentioned second counted number of pulses, calculates above-mentioned electric energy meter Clocking error;
In the embodiment of the present application, it is based on the first counted number of pulses and the second counted number of pulses, it can be according to error meter Formula is calculated to calculate the present clock error of electric energy meter, it is preferable that above-mentioned error calculation formula can be with are as follows:
Such as: the frequency of common crystals is 10MHz, and the first counted number of pulses is 10M+50, and the second counted number of pulses is 10M+70 is a, then the current clock frequency test result of electric energy meter are as follows:Compared to the 1Hz with standard, electric energy meter Present clock error are as follows:
Further, after calculating the present clock error of electric energy meter, it can also judge that the clock of the electric energy meter misses Whether difference, when testing out clock of power meter error not in preset error range, can show in default range Screen output prompt information can also export alarm, prompt tester's clock of power meter error unqualified.For example, general feelings Under condition, the requirement to clock of power meter error is to be less than 0.5s daily therefore to calculate to obtain each clock to electric energy meter Error requirements range is [- 5.79PPM, 5.79PPM], when test equipment tests out clock of power meter error not within the above range When, prompt information can be exported and prompt the clocking error of the electric energy meter unqualified.
In the embodiment of the present application, step-by-step counting of the common crystals of non-constant temperature within the first clock cycle is counted first Value, obtains the first counted number of pulses, and counted number of pulses of the above-mentioned common crystals of statistics within the second clock period, obtains the Two counted number of pulses calculate the clocking error of electric energy meter secondly, being based on the first counted number of pulses and the second counted number of pulses.GPS The 1PPS signal of module is the high precision clock that frequency is 1Hz, error is 20ns, and the clock frequency of electric energy meter is also 1Hz, because This, using 1PPS signal as benchmark signal, tests the clocking error of electric energy meter in technical scheme, statistics 1PPS signal exports the count value of the common crystals in the period and the count value of the common crystals in the clock of power meter period, leads to Two count values are crossed, to calculate the clocking error of electric energy meter.Technical solution provided herein is not needed using constant-temperature crystal oscillator, Therefore without preheating before testing;And test benchmark be GPS module 1PPS clock output signal, by annual aging characteristic influenced compared with It is low, therefore can guarantee the long-term measuring accuracy to clock of power meter error.
Embodiment two
The clock of power meter test method provided below the embodiment of the present application two is described, and please refers to attached drawing 3, this Shen Please clock of power meter test method include: in embodiment
Step S301: counted number of pulses of the common crystals of non-constant temperature within the first clock cycle is counted, the first arteries and veins is obtained Rush count value;
Step S302: counted number of pulses of the above-mentioned common crystals within the second clock period is counted, the second pulsimeter is obtained Numerical value;
In embodiments of the present invention, above-mentioned steps S301 and S302 is identical as above-mentioned steps S201 and S202 respectively, specifically It can be found in the associated description of above-mentioned steps S201 to S202, details are not described herein again.
Step S303: judge above-mentioned first counted number of pulses whether in preset count range;
In the embodiment of the present application, above-mentioned preset count range receives the good feelings of signal in GPS module to indicate Under condition, the range of the first counted number of pulses.When GPS module receive signal it is good in the case where, the 1PPS signal of GPS module can be with Frequency 1Hz, the high precision clock of error 20ns are remained, but in the case where working as GPS module reception poor signal, 1PPS signal It is possible that biggish error, if using 1PPS signal as test benchmark again at this time, it is clear that be unreasonable.Therefore, at this Apply in embodiment, in order to avoid occurring to the test of clock of power meter error in the case where GPS module receives poor signal Biggish deviation can carry out reasonable evaluation to the first counted number of pulses first.In the embodiment of the present application, it is preset with counting model Enclose, when the first counted number of pulses is in count range, then represent at this time GPS module receive signal it is good, may be used as testing Benchmark;When the first counted number of pulses is not in count range, then represents GPS module at this time and receive signal difference, 1PPS at this time Signal not can be used as test benchmark.
Above-mentioned count range can be arranged according to the frequency values of common crystals and error amount, for example, if common crystals Nominal frequency value be fMHz, nominal frequency error is δ PPM, the then frequency error of the common crystals are as follows: f δ Hz, if assuming The time error of a cycle of 1PPS is 20ns, then count range can be set are as follows: [f × 106-fδ-20×10-9(f× 106- f δ), f × 106+fδ+20×10-9(f×106+fδ)].Count range can also be according to the history come out before First counted number of pulses is arranged, for example, first pulsimeter in a clock cycle on measuring electric energy meter can be stored in advance Numerical value of NA upper period, and default fluctuation range Δ, then count range are as follows: [NA upper periodΔ, NA upper period+ Δ], if measured by current First counted number of pulses is in above-mentioned count range, then it is assumed that GPS module reception signal at this time is good, otherwise it is assumed that GPS mould Block receives signal difference, and 1PPS signal at this time not can be used as test benchmark.
If above-mentioned first counted number of pulses thens follow the steps S304 in preset count range, otherwise, step is executed S305。
Step S304: it is based on above-mentioned first counted number of pulses and above-mentioned second counted number of pulses, calculates above-mentioned electric energy meter Clocking error;
In embodiments of the present invention, above-mentioned steps S304 is identical as above-mentioned steps S203, and for details, reference can be made to above-mentioned steps The associated description of S203, details are not described herein again.
Step S305: it is based on third counted number of pulses and above-mentioned second counted number of pulses, calculates the clock of above-mentioned electric energy meter Error.
In the embodiment of the present application, above-mentioned third counted number of pulses is pre-stored common crystals in GPS module Counted number of pulses in the output period of 1PPS signal.When the first counted number of pulses is not in preset count range, then not It can calculate the error of electric energy meter present clock period according to the first counted number of pulses at this time, but with pre-stored third Counted number of pulses replaces the first counted number of pulses, tests the error of electric energy meter present clock period.Above-mentioned third arteries and veins Rushing count value can be arranged according to the first counted number of pulses of history in count range come out before, example It such as, can be the first counted number of pulses N on measurement electric energy meter when a clock cycleA upper periodIt is stored in advance, as third arteries and veins Rush count value.
In the embodiment of the present application, step-by-step counting of the common crystals of non-constant temperature within the first clock cycle is counted first Value, obtains the first counted number of pulses, and counted number of pulses of the above-mentioned common crystals of statistics within the second clock period, obtains the Two counted number of pulses, secondly, judge the first counted number of pulses whether in preset count range, if in default range, It is then based on the first counted number of pulses and the second counted number of pulses, calculates the clocking error of electric energy meter, if not within a preset range, Based on third counted number of pulses and the second counted number of pulses, the clocking error of electric energy meter is calculated.By judging the first step-by-step counting Whether value is in preset count range, it is ensured that only in the case where GPS module reception signal is good, just utilizes 1PPS Signal tests clock of power meter, and compared to embodiment one, technical solution provided by embodiment two can further really The reliability of test result is protected, and technical solution provided herein is not needed using constant-temperature crystal oscillator, therefore tests preceding nothing It needs to preheat;And test benchmark is the 1PPS clock output signal of GPS module, is influenced by annual aging characteristic lower, therefore can be protected Demonstrate,prove the long-term measuring accuracy to clock of power meter error.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Embodiment three
The embodiment of the present application three also provides a kind of clock of power meter test device, as shown in figure 4, clock of power meter test dress Setting 400 includes the first statistic unit 401, the second statistic unit 402 and first error computing unit 403.
First statistic unit 401, for counting counted number of pulses of the common crystals of non-constant temperature within the first clock cycle, Obtain the first counted number of pulses, wherein above-mentioned first clock cycle is the output period of the 1PPS signal of GPS module;
Second statistic unit 402 is obtained for counting counted number of pulses of the above-mentioned common crystals within the second clock period Second counted number of pulses, wherein the above-mentioned second clock period is the electric energy meter current clock cycle;
First error computing unit 403, for being based on above-mentioned first counted number of pulses and above-mentioned second counted number of pulses, meter Count stating the clocking error of electric energy meter in.
Preferably, above-mentioned clock of power meter test device 400 further include:
Judging unit, for judging above-mentioned first counted number of pulses whether in preset count range;
Above-mentioned first error computing unit is specifically used for:
When above-mentioned first counted number of pulses is in above-mentioned count range, based on above-mentioned first counted number of pulses and above-mentioned the Two counted number of pulses calculate the clocking error of above-mentioned electric energy meter.
Preferably, above-mentioned clock of power meter test device 400 further include:
Second error calculation unit is used for when above-mentioned first counted number of pulses is not in above-mentioned count range, based on third Counted number of pulses and above-mentioned second counted number of pulses, calculate the clocking error of above-mentioned electric energy meter, wherein above-mentioned third step-by-step counting Value is counted number of pulses of the pre-stored common crystals within the output period of the 1PPS signal of GPS module.
Preferably, above-mentioned first error computing unit 403 is specifically used for:
Based on above-mentioned first counted number of pulses and above-mentioned second counted number of pulses, electric energy meter is calculated according to error calculation formula Clocking error, above-mentioned error calculation formula are as follows:
Further, above-mentioned clock of power meter test device 400 further include:
Error judgment unit, for judging the clocking error of above-mentioned electric energy meter whether in preset error range;
Prompt unit, if the clocking error for above-mentioned electric energy meter exports prompt information not in above-mentioned error range, Above-mentioned prompt information is unqualified to prompt the clocking error of above-mentioned electric energy meter.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above-mentioned apparatus, due to Embodiment of the present invention method is based on same design, concrete function and bring technical effect, and for details, reference can be made to embodiments of the method Part, details are not described herein again.
Example IV
Fig. 5 is the schematic diagram for the test equipment that the embodiment of the present application four provides.As shown in figure 5, the test of the embodiment is set Standby 5 include: processor 50, memory 51 and are stored in the meter that can be run in above-mentioned memory 51 and on above-mentioned processor 50 Calculation machine program 52.Above-mentioned processor 50 realizes the step in above-mentioned each embodiment when executing above-mentioned computer program 52, such as Step S201 to S203 shown in Fig. 2.Alternatively, above-mentioned processor 50 realizes above-mentioned each device when executing above-mentioned computer program 52 The function of each unit in embodiment, such as the function of module 401 to 403 shown in Fig. 4.
Above-mentioned test equipment 5 may include, but be not limited only to, processor 50, memory 51.Those skilled in the art can manage Solution, Fig. 5 is only the example of test equipment 5, does not constitute the restriction to test equipment 5, may include more or more than illustrating Few component perhaps combines certain components or different components, such as above-mentioned test equipment can also be set including input and output Standby, network access equipment, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
Above-mentioned memory 51 can be the internal storage unit of above-mentioned test equipment 5, such as the hard disk or interior of test equipment 5 It deposits.Above-mentioned memory 51 is also possible to the External memory equipment of above-mentioned test equipment 5, such as be equipped in above-mentioned test equipment 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, above-mentioned memory 51 can also both include the storage inside list of above-mentioned test equipment 5 Member also includes External memory equipment.Above-mentioned memory 51 is for storing needed for above-mentioned computer program and above-mentioned test equipment Other programs and data.Above-mentioned memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, on The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, above-mentioned meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, above-mentioned computer program includes computer program code, above-mentioned computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry above-mentioned computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Above above-described embodiment is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of clock of power meter test method characterized by comprising
Counted number of pulses of the common crystals of non-constant temperature within the first clock cycle is counted, the first counted number of pulses is obtained, wherein First clock cycle is the output period of the 1PPS signal of GPS module;
Counted number of pulses of the common crystals within the second clock period is counted, obtains the second counted number of pulses, wherein described The second clock period is the electric energy meter current clock cycle;
Based on first counted number of pulses and second counted number of pulses, the clocking error of the electric energy meter is calculated.
2. clock of power meter test method as described in claim 1, which is characterized in that the common crystals of the non-constant temperature of statistics After the counted number of pulses in the first clock cycle, further includes:
Judge first counted number of pulses whether in preset count range;
It is described to be based on first counted number of pulses and second counted number of pulses, calculate the clocking error of the electric energy meter Are as follows: when first counted number of pulses is in the count range, it is based on first counted number of pulses and second arteries and veins Count value is rushed, the clocking error of the electric energy meter is calculated.
3. clock of power meter test method as claimed in claim 2, which is characterized in that judgement first step-by-step counting After whether value is in preset count range, further includes:
When first counted number of pulses is not in the count range, it is based on third counted number of pulses and second pulse Count value calculates the clocking error of the electric energy meter, wherein the third counted number of pulses is that pre-stored common crystals exist Counted number of pulses in the output period of the 1PPS signal of GPS module.
4. clock of power meter test method as described in claim 1, which is characterized in that described to be based on first step-by-step counting Value and second counted number of pulses, calculate the clocking error of the electric energy meter, comprising: based on first counted number of pulses and Second counted number of pulses calculates the clocking error of electric energy meter, the error calculation formula according to error calculation formula are as follows:
5. clock of power meter test method according to any one of claims 1 to 4, which is characterized in that described based on described First counted number of pulses and second counted number of pulses, after the clocking error for calculating the electric energy meter, further includes:
Judge the clocking error of the electric energy meter whether in preset error range;
If the clocking error of the electric energy meter not in the error range, exports prompt information, the prompt information to Prompt the clocking error of the electric energy meter unqualified.
6. a kind of clock of power meter test device characterized by comprising
First statistic unit obtains for counting counted number of pulses of the common crystals of non-constant temperature within the first clock cycle One counted number of pulses, wherein first clock cycle is the output period of the 1PPS signal of GPS module;
Second statistic unit obtains the second arteries and veins for counting counted number of pulses of the common crystals within the second clock period Rush count value, wherein the second clock period is the electric energy meter current clock cycle;
First error computing unit, for being based on first counted number of pulses and second counted number of pulses, described in calculating The clocking error of electric energy meter.
7. clock of power meter test device as claimed in claim 6, which is characterized in that the clock of power meter test device is also Include:
Judging unit, for judging first counted number of pulses whether in preset count range;
The first error computing unit is specifically used for:
When first counted number of pulses is in the count range, it is based on first counted number of pulses and second arteries and veins Count value is rushed, the clocking error of the electric energy meter is calculated.
8. clock of power meter test device as claimed in claim 7, which is characterized in that the clock of power meter test device is also Include:
Second error calculation unit is used for when first counted number of pulses is not in the count range, based on third pulse Count value and second counted number of pulses, calculate the clocking error of the electric energy meter, wherein the third counted number of pulses Are as follows: counted number of pulses of the pre-stored common crystals within the output period of the 1PPS signal of GPS module.
9. a kind of test equipment, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810007231.3A 2018-01-04 2018-01-04 A kind of clock of power meter test method and clock of power meter test device Pending CN109407498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810007231.3A CN109407498A (en) 2018-01-04 2018-01-04 A kind of clock of power meter test method and clock of power meter test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810007231.3A CN109407498A (en) 2018-01-04 2018-01-04 A kind of clock of power meter test method and clock of power meter test device

Publications (1)

Publication Number Publication Date
CN109407498A true CN109407498A (en) 2019-03-01

Family

ID=65463930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810007231.3A Pending CN109407498A (en) 2018-01-04 2018-01-04 A kind of clock of power meter test method and clock of power meter test device

Country Status (1)

Country Link
CN (1) CN109407498A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111007709A (en) * 2019-12-27 2020-04-14 广东电科院能源技术有限责任公司 Method, device and system for detecting daily timing error of electric energy meter
CN111208539A (en) * 2019-12-18 2020-05-29 中国航空工业集团公司成都飞机设计研究所 High-precision GNSS simulator time synchronization method
CN112147561A (en) * 2020-08-13 2020-12-29 国网浙江省电力有限公司营销服务中心 Multi-core intelligent electric meter clock precision test system based on low-power-consumption Bluetooth
CN112578332A (en) * 2020-12-23 2021-03-30 无锡芯明圆微电子有限公司 Electric energy meter self-calibration method based on chip built-in RC oscillator
CN112713881A (en) * 2020-12-10 2021-04-27 国网四川省电力公司电力科学研究院 Synchronous clock maintaining system and method based on edge calculation
CN114609891A (en) * 2022-03-10 2022-06-10 深圳市轱辘车联数据技术有限公司 Method and device for determining time, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452019A (en) * 2007-12-03 2009-06-10 扬智科技股份有限公司 Clocking frequency comparing unit and method
CN101848076A (en) * 2010-05-10 2010-09-29 新邮通信设备有限公司 Clock signal holding method and device
CN102156404A (en) * 2010-12-16 2011-08-17 国网电力科学研究院 Time synchronizing method capable of recognizing GPS input signals in self-adapting manner
CN102566410A (en) * 2012-02-16 2012-07-11 北京华力创通科技股份有限公司 Method and device for calibrating local clock based on satellite time service
CN103454905A (en) * 2013-09-13 2013-12-18 烟台东方英达康自动化技术有限公司 Method for synchronizing time
CN103901271A (en) * 2012-12-25 2014-07-02 东莞市泰斗微电子科技有限公司 Frequency test method and frequency test system
CN104375004A (en) * 2013-08-14 2015-02-25 苏州海博智能***有限公司 Method and system for measuring crystal oscillator frequency error
CN105026938A (en) * 2013-02-04 2015-11-04 三菱电机株式会社 Signal processing apparatus
CN106027187A (en) * 2016-04-29 2016-10-12 国家电网公司 GPS (Global Positioning System) synchronizing signal frequency source circuit
CN106130547A (en) * 2016-06-20 2016-11-16 大唐微电子技术有限公司 A kind of clock frequency calibration steps and device
CN106411295A (en) * 2016-09-30 2017-02-15 西电通用电气自动化有限公司 IRIG-B punctuality clock drift compensation method and circuit

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452019A (en) * 2007-12-03 2009-06-10 扬智科技股份有限公司 Clocking frequency comparing unit and method
CN101848076A (en) * 2010-05-10 2010-09-29 新邮通信设备有限公司 Clock signal holding method and device
CN102156404A (en) * 2010-12-16 2011-08-17 国网电力科学研究院 Time synchronizing method capable of recognizing GPS input signals in self-adapting manner
CN102566410A (en) * 2012-02-16 2012-07-11 北京华力创通科技股份有限公司 Method and device for calibrating local clock based on satellite time service
CN103901271A (en) * 2012-12-25 2014-07-02 东莞市泰斗微电子科技有限公司 Frequency test method and frequency test system
CN105026938A (en) * 2013-02-04 2015-11-04 三菱电机株式会社 Signal processing apparatus
CN104375004A (en) * 2013-08-14 2015-02-25 苏州海博智能***有限公司 Method and system for measuring crystal oscillator frequency error
CN103454905A (en) * 2013-09-13 2013-12-18 烟台东方英达康自动化技术有限公司 Method for synchronizing time
CN106027187A (en) * 2016-04-29 2016-10-12 国家电网公司 GPS (Global Positioning System) synchronizing signal frequency source circuit
CN106130547A (en) * 2016-06-20 2016-11-16 大唐微电子技术有限公司 A kind of clock frequency calibration steps and device
CN106411295A (en) * 2016-09-30 2017-02-15 西电通用电气自动化有限公司 IRIG-B punctuality clock drift compensation method and circuit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111208539A (en) * 2019-12-18 2020-05-29 中国航空工业集团公司成都飞机设计研究所 High-precision GNSS simulator time synchronization method
CN111208539B (en) * 2019-12-18 2023-06-23 中国航空工业集团公司成都飞机设计研究所 High-precision GNSS simulator time synchronization method
CN111007709A (en) * 2019-12-27 2020-04-14 广东电科院能源技术有限责任公司 Method, device and system for detecting daily timing error of electric energy meter
CN112147561A (en) * 2020-08-13 2020-12-29 国网浙江省电力有限公司营销服务中心 Multi-core intelligent electric meter clock precision test system based on low-power-consumption Bluetooth
CN112713881A (en) * 2020-12-10 2021-04-27 国网四川省电力公司电力科学研究院 Synchronous clock maintaining system and method based on edge calculation
CN112578332A (en) * 2020-12-23 2021-03-30 无锡芯明圆微电子有限公司 Electric energy meter self-calibration method based on chip built-in RC oscillator
CN112578332B (en) * 2020-12-23 2023-12-29 无锡芯明圆微电子有限公司 Electric energy meter self-calibration method based on chip built-in RC oscillator
CN114609891A (en) * 2022-03-10 2022-06-10 深圳市轱辘车联数据技术有限公司 Method and device for determining time, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109407498A (en) A kind of clock of power meter test method and clock of power meter test device
CN101876693B (en) Electric energy metering chip-based terminal calibration system
CN108063617A (en) The clock frequency calibration method and system of a kind of low frequency RC oscillators
CN109270482B (en) Online evaluation method for metering accuracy of voltage transformer and terminal equipment
CN110244256A (en) A kind of intelligent electric energy meter fault recognition method, device and equipment
CN109375151B (en) Monitoring channel scheduling method and device for electric energy meter metering error on-line monitoring technology
CN110033130A (en) The monitoring method and device of abnormal traffic
CN101959298B (en) Method and device for calibrating slow timing clock and terminal
CN104297716A (en) Intelligent electric meter RTC calibrating method
CN106970346A (en) A kind of method and system for electric energy measuring equipment remote calibration
CN102879641A (en) Frequency measurement method and system
CN205067714U (en) Single -phase electric energy meter calibrating installation and single -phase electric energy meter credible test platform that resets
CN100595716C (en) Method and apparatus for synchronizing clock of distributed processing system
CN112910086B (en) Intelligent substation data verification method and system
CN110174922A (en) A kind of calibration method and device of HSI clock frequency
CN112540290A (en) Test method and device for clock frequency calibration, storage medium and terminal
CN109188335A (en) Clock of power meter offset detection system and method
CN208984962U (en) Clock of power meter detection device and electric energy meter
CN103513698B (en) A kind of clock signal calibration, device and electronic equipment
CN103024778A (en) Method for improving real-time clock precision on wireless communication terminal
CN109698696A (en) Clock division method, apparatus, system, system on chip and storage medium
RU197324U1 (en) INTELLIGENT METER OF ELECTRIC ENERGY WITH REMOTE CONTROL OF ENCRYPTION OF INFORMATION
CN104198981A (en) Method and device for quality determination of smart electric energy meters
CN106960386A (en) User's reference appraisal procedure and device
CN202119853U (en) Distributed control system card member calibrating device

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20220701

AD01 Patent right deemed abandoned