CN100565390C - Based on method and the device thereof of GPS technology to the ammeter time service - Google Patents

Based on method and the device thereof of GPS technology to the ammeter time service Download PDF

Info

Publication number
CN100565390C
CN100565390C CN 200810060615 CN200810060615A CN100565390C CN 100565390 C CN100565390 C CN 100565390C CN 200810060615 CN200810060615 CN 200810060615 CN 200810060615 A CN200810060615 A CN 200810060615A CN 100565390 C CN100565390 C CN 100565390C
Authority
CN
China
Prior art keywords
ammeter
module
time service
gps
time
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.)
Expired - Fee Related
Application number
CN 200810060615
Other languages
Chinese (zh)
Other versions
CN101261494A (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.)
PUWELL TECHNOLOGIES (HANGZHOU) Co Ltd
Original Assignee
PUWELL TECHNOLOGIES (HANGZHOU) 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 PUWELL TECHNOLOGIES (HANGZHOU) Co Ltd filed Critical PUWELL TECHNOLOGIES (HANGZHOU) Co Ltd
Priority to CN 200810060615 priority Critical patent/CN100565390C/en
Publication of CN101261494A publication Critical patent/CN101261494A/en
Application granted granted Critical
Publication of CN100565390C publication Critical patent/CN100565390C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The present invention relates to ammeter is proofreaied and correct the method and apparatus of time service, relate in particular to a kind of based on the method and the device thereof of GPS technology to the ammeter time service.Based on the method for GPS technology, comprise the steps: a, use GPS to obtain current time information the ammeter time service; B, correction of timing current time; C, ammeter is carried out time service by the broadcast communication mode.The present invention also discloses in addition based on the device of GPS technology to the ammeter time service, comprises GPS receiver module, MCU module and broadcast communication module.The present invention can guarantee that the ammeter clock is accurate, can also prevent that Time of Day is by illegal forgery change.Simultaneously, the present invention has simple in structure, implements the characteristics convenient, that cost is low.

Description

Based on method and the device thereof of GPS technology to the ammeter time service
Technical field
The present invention relates to ammeter is carried out the method and apparatus of time service, relate in particular to a kind of based on the method and the device thereof of GPS technology to the ammeter time service.
Background technology
General implementation peak valley electricity segmentation valuation in the current residential electricity consumption, guarantee the accuracy of electricity metering, will guarantee to measure the clock accuracy of employed time-sharing electricity meter in the time range in serviceable life, and ammeter is not enough based on the accuracy of the internal clocking of crystal oscillator, so must regular calibration.Existing ammeter clock correction method is: appoint the special messenger to arrive the ammeter box infield, adopt infrared copying instrument that ammeter clock is one by one proofreaied and correct.But there are the following problems for this method:
(1) ammeter quantity is huge, and the staff is limited, so that each ammeter obtains a calibration cycle is longer, to produce clock jitter bigger in accumulation in the cycle.
(2) time accuracy of infrared copying instrument is not enough, proofreaies and correct the ammeter clock by it, also can cause the ammeter clock jitter.
(3) time of infrared copying instrument can be set by operating personnel, thereby can revise ammeter clock, the leak that exists operating personnel to practice fraud arbitrarily.
(4) infrared copying instrument is fixing clear text key, decoding easily, but code breaker's illegal modifications ammeter clock to the clock correction message of single ammeter.
(5) infrared copying instrument is expressly broadcasted for fixing the clock correction message of a plurality of ammeters, duplicates easily, though the clock ranges of single adjustment ammeter is limited, also has by illegal and utilizes to revise the possibility of ammeter clock.
Summary of the invention
For solve above-mentioned multiple rate scale use in the time accuracy and the inadequate problem of security that exist, an object of the present invention is to provide a kind of based on the method for GPS technology to the ammeter time service.Another object of the present invention provides a kind of based on the device of GPS technology to the ammeter time service, so not only makes the ammeter clock can keep accurately can also preventing that clock from illegally being changed.
In order to realize first above-mentioned purpose, the present invention has adopted following technical scheme:
Based on the method for GPS technology, comprise the steps: the ammeter time service
A, use GPS obtain current time information;
B, correction of timing current time;
C, ammeter is carried out time service by the broadcast communication mode.
As preferably, above-mentioned broadcast communication mode is infrared or 485 communication modes.
In order to realize second above-mentioned purpose, the present invention has adopted following technical scheme:
Based on the device of GPS technology to the ammeter time service, comprise GPS receiver module, MCU module and broadcast communication module, the MCU module regularly sends querying command to the GPS receiver module, and the message that the PPS that the GPS receiver module is sent handles and returns is decoded, make its internal clocking consistent with the current time, after the time arrives setting value, just transmit control signal to the broadcast communication module, drive the broadcast communication module ammeter in the ammeter box is carried out time service by the MCU module.
As preferably, above-mentioned broadcast communication module is used infrared or 485 communication modes carry out time service to ammeter in the ammeter box.
As preferably, above-mentioned MCU module receives to trigger behind the PPS signal that the GPS receiver module sends interrupts, the current time information of inside is all stored, and the temporal information that again decoding is obtained after the message information that GPS is sent all decodes adds that triggering the back finishes the used time to decoding.Can guarantee that like this MCU clock internal keeps more consistent than the height (error is in 1us) with gps clock.
As preferably, above-mentioned MCU module sends the order of one query time to the GPS module at set intervals and obtains correct time.Adjust the MCU clock by the temporal information that above-mentioned method obtains, the MCU clock jitter that factors such as compensation crystal oscillator error cause.
As preferably, above-mentioned broadcast communication module uses infrared communication that the ammeter in the ammeter box is carried out time service, and the broadcast communication module comprises a plurality of infrared LEDs, and a plurality of infrared LEDs are separately positioned on each orientation of device.Be placed in the ammeter box because ammeter is all concentrated, device only needs to guarantee that the infrared LED emissive power is enough, settles infrared LEDs in a plurality of directions, just can rely on the reflection of infrared signal in ammeter box to guarantee that each ammeter can both receive, the purpose when reaching unified school.
As preferably, described device comprises main frame and slave, main frame comprises above-mentioned GPS receiver module, MCU module and broadcast communication module and increases the serial communication port of communicating by letter with slave, and slave only comprises the serial communication port of MCU module and broadcast communication module and increase and main-machine communication; Main frame regularly obtains the standard time, temporal information is sent to the slave of no GPS receiver module again, by slave to separately the zone in ammeter carry out time service.Like this for ammeter time service in a plurality of ammeter boxes in the certain distance scope, as long as the main frame of a band of use GPS receiver module and a plurality of not with the slave of GPS module is beneficial to save system cost.
The invention has the beneficial effects as follows, can guarantee that the ammeter clock is accurate, can also prevent that clock is by illegal forgery change.Simultaneously, the present invention has simple in structure, implements the characteristics convenient, that cost is low.
Description of drawings
Fig. 1 is a module frame chart of the present invention.
Fig. 2 is a program flow diagram of the present invention.
Fig. 3 is the work synoptic diagram of principal and subordinate's machine mode.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is made a detailed explanation.
As depicted in figs. 1 and 2, based on the device of GPS technology to the ammeter time service, comprise GPS receiver module, MCU module and broadcast communication module, the MCU module regularly sends querying command to the GPS receiver module, and the GPS receiver module decoded to the message that the PPS that sends handles and returns, make its internal clocking consistent, after the time arrives setting value, just transmit control signal to the broadcast communication module, drive the broadcast communication module ammeter in the ammeter box is carried out time service by the MCU module with the current time.Above-mentioned broadcast communication module comprises a plurality of infrared LEDs, and a plurality of infrared LEDs are separately positioned on each orientation of device.
In real work, the timing of MCU module once, guarantees the punctual timing of MCU module internal clock when the GPS receiver module sends the querying command school.When the time (as 10 points) that arrival sets, the MCU module sends through the modulated control signal to the broadcast communication module, order when the school is broadcasted in all directions emission by a plurality of infrared LEDs on the device again, utilize the interior airtight environment of ammeter box to reflect, make all ammeters can both correctly receive order.
Be to guarantee the precision of time service, not only need to utilize PPS to eliminate the error that MCU and GPS receiver module call duration time are produced, the time-delay that also need utilize fixing offset compensation MCU and ammeter call duration time to be produced.
Specific implementation is to trigger interruption after MCU receives the PPS signal, the current time information of inside is all stored, when the message information that GPS is sent all the temporal information that again decoding obtained after coming out of decoding add that triggering the back finishes the used time to decoding and can guarantee MCU clock internal and gps clock maintenance more consistent than the height (error is in 1us).
Then can eliminate this time-delay by fixing compensation again for MCU and ammeter error that call duration time produces by calculating the time that signal post uses.
The byte number of the figure place * required transmission of call duration time=1/ baud rate * one byte
Suppose that call duration time is 100ms, if ammeter need be when 10 schools, then MCU order (the actual time that also needs to consider the ammeter processing signals) when just sending the school in 900 milliseconds in 9: 59: 59 can guarantee like this than higher time service precision.
Certainly, in the practical application of the infrared time dissemination system of ammeter, can adopt principal and subordinate's machine mode for the place that ammeter is installed in a plurality of table casees.As shown in Figure 3, main frame comprises above-mentioned GPS receiver module, MCU module and broadcast communication module and increases the serial communication port of communicating by letter with slave in the use principal and subordinate machine working method, and slave only comprises the serial communication port of MCU module and broadcast communication module and increase and main-machine communication.Main frame obtains the standard gps time, temporal information is sent to the slave of no GPS receiver module by serial communication port again.Have the GPS module as the infrared time dissemination system of the ammeter of main frame, regularly obtain the standard time, again temporal information is sent to each slave, the ammeter in the zone is separately carried out time service, can save cost greatly like this by slave.

Claims (5)

1. based on the device of GPS technology to the ammeter time service, it is characterized in that: comprise GPS receiver module, MCU module and broadcast communication module, the MCU module regularly sends querying command to the GPS receiver module, and the message that the PPS that the GPS receiver module is sent handles and returns is decoded, make its internal clocking consistent with the current time, after the time arrives setting value, just transmit control signal to the broadcast communication module, drive the broadcast communication module ammeter in the ammeter box is carried out time service by the MCU module; The MCU module receives to trigger behind the PPS signal that the GPS receiver module sends interrupts, the current time information of inside is all stored, and the temporal information that again decoding is obtained after the message information that GPS is sent all decodes adds that triggering the back finishes the used time to decoding.
2. according to claim 1 based on the device of GPS technology to the ammeter time service, it is characterized in that: the broadcast communication module uses infrared communication or 485 communication modes that ammeter in the ammeter box is carried out time service.
3. according to claim 1 based on the device of GPS technology to the ammeter time service, it is characterized in that: the MCU module sends the order of one query time to the GPS module at set intervals and obtains the standard time.
4. according to claim 2 based on the device of GPS technology to the ammeter time service, it is characterized in that: the broadcast communication module uses infrared communication that the ammeter in the ammeter box is carried out time service, the broadcast communication module comprises a plurality of infrared LEDs, and a plurality of infrared LEDs are separately positioned on each orientation of device.
5. according to claim 3 or 4 described based on the device of GPS technology to the ammeter time service, it is characterized in that: described device comprises main frame and slave, main frame comprises above-mentioned GPS receiver module, MCU module and broadcast communication module and increases the serial communication port of communicating by letter with slave, and slave only comprises the serial communication port of MCU module and broadcast communication module and increase and main-machine communication; Main frame regularly obtains the standard time, temporal information is sent to the slave of no GPS receiver module again, by slave to separately the zone in ammeter carry out time service.
CN 200810060615 2008-04-21 2008-04-21 Based on method and the device thereof of GPS technology to the ammeter time service Expired - Fee Related CN100565390C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810060615 CN100565390C (en) 2008-04-21 2008-04-21 Based on method and the device thereof of GPS technology to the ammeter time service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810060615 CN100565390C (en) 2008-04-21 2008-04-21 Based on method and the device thereof of GPS technology to the ammeter time service

Publications (2)

Publication Number Publication Date
CN101261494A CN101261494A (en) 2008-09-10
CN100565390C true CN100565390C (en) 2009-12-02

Family

ID=39961995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810060615 Expired - Fee Related CN100565390C (en) 2008-04-21 2008-04-21 Based on method and the device thereof of GPS technology to the ammeter time service

Country Status (1)

Country Link
CN (1) CN100565390C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807044B (en) * 2009-12-18 2011-08-10 安徽鑫龙电器股份有限公司 Clock timing method of multifunctional meter
CN102436172A (en) * 2011-12-02 2012-05-02 河南省电力公司南阳供电公司 Multifunctional watt-hour meter and GPS timing system
CN102636692A (en) * 2012-04-13 2012-08-15 上海大亚科技有限公司 Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time
CN103513568B (en) * 2013-09-24 2014-09-03 国家电网公司 Automatic time comparing method capable of breaking limit of intelligent electric power meter hardware
CN105004917A (en) * 2014-04-16 2015-10-28 西安邮电大学 GNSS ammeter key circuit, and method for time calibration of digital ammeter end through the same
CN105281859B (en) * 2014-07-01 2018-03-23 福建吉星智能科技股份有限公司 A kind of precision time service method based on GPS
CN106163026B (en) * 2015-03-25 2018-11-20 福建吉星智能科技股份有限公司 A kind of synchronous quick control method of sudden strain of a muscle of modulator
CN105824233A (en) * 2016-06-02 2016-08-03 南京林洋电力科技有限公司 Initiative time service module based on Beidou/GPS and ammeter initiative time service method
CN108111242A (en) * 2017-12-27 2018-06-01 广州市迪士普音响科技有限公司 A kind of net broadcast system and its broadcasting method
CN110515294B (en) * 2018-05-22 2021-06-01 福建师范大学 Rapid high-precision time service method of embedded GPS terminal
CN113259035A (en) * 2020-03-26 2021-08-13 安徽智芯能源科技有限公司 Clock synchronization method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
一种基于CSCD校时方法的研究. 薛明,吉吟东,孙新亚.电网技术,第25卷第6期. 2001
一种基于CSCD校时方法的研究. 薛明,吉吟东,孙新亚.电网技术,第25卷第6期. 2001 *
远程数据采集系统的分析与实现. 李文,徐红喆,黄涛,张安强.第六届全国计算机应用联合学术会议论文集. 2002
远程数据采集系统的分析与实现. 李文,徐红喆,黄涛,张安强.第六届全国计算机应用联合学术会议论文集. 2002 *

Also Published As

Publication number Publication date
CN101261494A (en) 2008-09-10

Similar Documents

Publication Publication Date Title
CN100565390C (en) Based on method and the device thereof of GPS technology to the ammeter time service
CN101202545B (en) High-accuracy data receiving time service instrument
CN101494495B (en) Method for implementing split-second precision synchronism using spread-spectrum answering machine
MX2007003515A (en) System for automatically enforcing a demand reset in a fixed network of electricity meters.
CN101047434B (en) Time tag synchronous method, system and device
Chen et al. Ultra-low power time synchronization using passive radio receivers
CN103226324A (en) High-precision time-frequency source capable of being tamed to time-frequency standard in real time
CN101834684A (en) GPS clock synchronization method for distributed acoustic positioning system
CN110928176B (en) Multifunctional time service equipment supporting multiple time service technologies
CN101371104B (en) Device for bidirectional remote water-meter reading by means of radio, for invoicing in accordance with consumption time bands
CN203149306U (en) Beidou GPS dual-mode time service device
CN203224727U (en) Dual-clock source time service system based on radio communication network and GPS
CN102004441A (en) Adaptive crystal oscillator frequency timekeeping method
US20060009927A1 (en) Dual source real time clock synchronization system and method
CN110515294A (en) A kind of quick high accuracy time service method of Embedded GPS terminal
CN103078401B (en) The system and method for transformer station's time synchronized and sample-synchronous
CN106444351A (en) Multi-source decoding timing system and working method thereof
CN103765915B (en) Method, flowmeter and the server related to the method for distance-reading flow measuring apparatus
CN207965516U (en) It is a kind of based on the underwater clock synchronization system inductively communicated
CN103529690A (en) Wall clock for receiving Beidou satellite time and wall clock time calibrating method
CN201185428Y (en) Time synthesis measuring instrument
CN202043293U (en) Micropower wireless communication system and device thereof
EP3702734B1 (en) Radio communication device with high precision real time clock
CN2906784Y (en) Mobile communication data channel-based remote metering system
CN207603651U (en) UWB Precise Position Systems with time-domain synchronizing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091202

Termination date: 20160421