CN102636692A - Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time - Google Patents

Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time Download PDF

Info

Publication number
CN102636692A
CN102636692A CN2012101080945A CN201210108094A CN102636692A CN 102636692 A CN102636692 A CN 102636692A CN 2012101080945 A CN2012101080945 A CN 2012101080945A CN 201210108094 A CN201210108094 A CN 201210108094A CN 102636692 A CN102636692 A CN 102636692A
Authority
CN
China
Prior art keywords
time
data acquisition
acquisition module
electric meter
real
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
CN2012101080945A
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.)
DAYA SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Original Assignee
DAYA SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
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 DAYA SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI filed Critical DAYA SCIENCE AND TECHNOLOGY Co Ltd SHANGHAI
Priority to CN2012101080945A priority Critical patent/CN102636692A/en
Publication of CN102636692A publication Critical patent/CN102636692A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method for acquiring real-time time of a data acquisition module of an intelligent electric meter based on master station time. The method is characterized in that: in the previous time synchronization process of the intelligent electric meter, the data acquisition module stores the time difference between the master station time and the electric meter time into a memory chip; and in the next time synchronization, the data acquisition module adds the master station time and the time difference in the memory chip to obtain the real-time time. Thus, the real-time time of the data acquisition module can be acquired in an intelligent electric meter without a clock chip and a clock chip power supply, the problem that the real-time time can not be acquired in the case of power failure of batteries in the prior art is solved, the energy waste caused by the power supply of the batteries is avoided, and the entire power consumption of the intelligent electric meter is reduced. The method for acquiring real-time time of a data acquisition module of an intelligent electric meter based on master station time has the advantages of simple and convenient application mode, low realization cost and relatively wide application range.

Description

Realize that based on main station time the intelligent electric meter data acquisition module obtains the method for real-time time
Technical field
The present invention relates to the intelligent electric meter applied technical field, particularly intelligent electric meter real-time time acquisition methods technical field specifically is meant a kind of method of obtaining real-time time based on main station time realization intelligent electric meter data acquisition module.
Background technology
Intelligent electric meter includes data acquisition module, in order to gather the electricity consumption data and to send to main website.Since need to confirm exactly the time, correct with the time period that guarantees data acquisition, therefore on data acquisition module, to realize the real-time clock function.The intelligent electric meter of prior art all includes an independently clock chip and to the battery of this clock chip power supply.Under the situation that the assurance clock chip does not cut off the power supply, can correct real-time time be provided to data acquisition module.But this kind intelligent electric meter, under the situation of battery runs down, data acquisition module just can't obtain real-time time, and also can cause the waste of the energy to the clock chip power supply with battery.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art; Provide a kind of and can under the situation that does not have clock chip and supplying cell, realize the real-time clock function, battery runs down can't obtain real-time time in the prior art thereby solve; And powered battery causes the problem of energy dissipation; And application mode is easy, realizes with low costly, and what have wide range of applications realizes that based on main station time the intelligent electric meter data acquisition module obtains the method for real-time time.
Main website connects the data acquisition module of said intelligent electric meter through network, and described intelligent electric meter also comprises storage chip, and described storage chip connects described data acquisition module.In order to realize above-mentioned purpose, of the present inventionly realize that based on main station time the method that the intelligent electric meter data acquisition module obtains real-time time may further comprise the steps:
(1) described data acquisition module starts, and the ammeter time of obtaining intelligent electric meter;
(2) described data acquisition module before described storage chip reads once to when operation time main station time and the mistiming of ammeter time;
(3) described data acquisition module with described ammeter time and described mistiming be set at the real-time time of data acquisition module, and store described real-time time into storage chip;
(4) described main website through described network to the data acquisition module of intelligent electric meter carry out to the time operation;
(5) described data acquisition module with described real-time time as main website to the time time;
(6) described data acquisition module deposits main station time and the mistiming of ammeter time in described storage chip.
Should realize that the intelligent electric meter data acquisition module obtained in the method for real-time time based on main station time; Before described storage chip does not store once to when operation time main station time with the situation of the mistiming of ammeter time under, described data acquisition module before described storage chip reads once to the time when operating main station time and the mistiming of ammeter time be 0.
Should realize that the intelligent electric meter data acquisition module obtained in the method for real-time time based on main station time; Described data acquisition module is specially real-time time described ammeter time and described mistiming and that be set at data acquisition module: the real-time time that described data acquisition module is a data acquisition module with described ammeter time set.
Should realize that the intelligent electric meter data acquisition module obtained in the method for real-time time based on main station time; Before described storage chip stores once to when operation time main station time and the situation of the mistiming of ammeter time under, described ammeter time and described mistiming and be main station time.
Should realize that the intelligent electric meter data acquisition module obtained in the method for real-time time based on main station time, described storage chip is a flash memory, and described flash memory comprises real-time time register cell and mistiming register cell.
That has adopted this invention realizes that based on main station time the intelligent electric meter data acquisition module obtains the method for real-time time; Intelligent electric meter preceding once to the time process in; Data acquisition module deposits main station time and the mistiming of ammeter time in described storage chip; And after once to the time in; Data acquisition module with the mistiming addition in main station time and the storage chip as real-time time, thereby can in the intelligent electric meter that need not clock chip and clock chip power supply, realize the real-time time of data acquisition module, solved the problem that battery runs down in the prior art can't obtain real-time time; The energy dissipation of also having avoided powered battery to cause has reduced the overall power of intelligent electric meter.And of the present invention to realize that based on main station time the intelligent electric meter data acquisition module obtains the application mode of method of real-time time easy, realizes with low costly, and range of application is also comparatively extensive.
Description of drawings
Fig. 1 is the annexation figure of main website, intelligent electric meter and data acquisition module in the method for the present invention.
Fig. 2 the present invention is based on main station time to realize that the intelligent electric meter data acquisition module obtains the flow chart of steps of the method for real-time time.
Fig. 3 is provided with the schematic flow sheet of real-time time when in practical application, restarting data acquisition module for method of the present invention.
Fig. 4 for method of the present invention in practical application main website to seeking time difference constantly and the schematic flow sheet of real-time time is set.
The main frame that Fig. 5 is adopted in practical application for method of the present invention to the time operation interface synoptic diagram.
Embodiment
In order more to be expressly understood technology contents of the present invention, the special following examples of lifting specify.
As shown in Figure 1, be the annexation figure of main website, intelligent electric meter and data acquisition module.Wherein, Main website connects the data acquisition module of said intelligent electric meter through network; Described intelligent electric meter also comprises the storage chip (not shown); Described storage chip is for connecting the flash memory of described data acquisition module, and this flash memory comprises real-time time register cell and mistiming register cell.
See also shown in Figure 2ly, realize that for the present invention is based on main station time the intelligent electric meter data acquisition module obtains the flow chart of steps of the method for real-time time, this method may further comprise the steps:
(1) described data acquisition module starts, and the ammeter time of obtaining intelligent electric meter;
(2) described data acquisition module before described storage chip reads once to when operation time main station time and the mistiming of ammeter time;
(3) described data acquisition module with described ammeter time and described mistiming be set at the real-time time of data acquisition module, and store described real-time time into storage chip;
(4) described main website through described network to the data acquisition module of intelligent electric meter carry out to the time operation;
(5) described data acquisition module with described real-time time as main website to the time time;
(6) described data acquisition module deposits main station time and the mistiming of ammeter time in described storage chip.
A kind of preferred embodiment in; Before described storage chip does not store once to when operation time main station time with the situation of the mistiming of ammeter time under, in the described step (2) data acquisition module before described storage chip reads once to the time when operating main station time and the mistiming of ammeter time be 0.Accordingly; Data acquisition module described in the step (3) is specially real-time time described ammeter time and described mistiming and that be set at data acquisition module: the real-time time that described data acquisition module is a data acquisition module with described ammeter time set.
In another preferred embodiment, before described storage chip stores once to when operation time main station time with the situation of the mistiming of ammeter time under, described ammeter time and described mistiming and be main station time then.
In practical application; Of the present inventionly realize that based on main station time the main implementation that the intelligent electric meter data acquisition module obtains the method for real-time time is that main station time is used as the standard time; The time of ammeter is the time as a reference, realizes the real-time time of data acquisition module.Shown in Fig. 3 and 4, specifically take following steps:
When 1, data acquisition module powers on, obtain the time of intelligent electric meter.
2, obtain main station time and the mistiming of intelligent electric meter time, if main website never carried out time operation then is designated as 0 with this mistiming to the data acquisition module.
3, the time of intelligent electric meter adds the mistiming of main website and intelligent electric meter, if main website to the data acquisition module had to the time operation, then both sums should be main station time; If main website was not done time operation the data acquisition module, then their both sums are the ammeter time, are made as the real-time time of data acquisition module this time.
4, when main website to the data acquisition module do to the time during operation, the time of obtaining main station time and intelligent electric meter, obtain both mistiming, this mistiming in the flash chip.
When 5, data acquisition module powers on next time, bring into operation from step 1 again.
In practical application, of the present invention based on main station time realize the main frame that method adopted that the intelligent electric meter data acquisition module obtains real-time time to the time operation interface as shown in Figure 5.Particularly, main website is to constantly, and data acquisition module (onu) calculates the mistiming of main website and ammeter, and it is following that the program of real-time time (rtc) of data acquisition module is set:
Figure BDA0000152951380000041
Figure BDA0000152951380000051
Read the ammeter time when Onu powers on, the program that the rtc time is set is following:
Figure BDA0000152951380000061
That has adopted this invention realizes that based on main station time the intelligent electric meter data acquisition module obtains the method for real-time time; Intelligent electric meter preceding once to the time process in; Data acquisition module deposits main station time and the mistiming of ammeter time in described storage chip; And after once to the time in; Data acquisition module with the mistiming addition in main station time and the storage chip as real-time time, thereby can in the intelligent electric meter that need not clock chip and clock chip power supply, realize the real-time time of data acquisition module, solved the problem that battery runs down in the prior art can't obtain real-time time; The energy dissipation of also having avoided powered battery to cause has reduced the overall power of intelligent electric meter.And of the present invention to realize that based on main station time the intelligent electric meter data acquisition module obtains the application mode of method of real-time time easy, realizes with low costly, and range of application is also comparatively extensive.
In this instructions, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, instructions and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (5)

1. realize that based on main station time the intelligent electric meter data acquisition module obtains the method for real-time time for one kind; Described main website connects the data acquisition module of said intelligent electric meter through network; Described intelligent electric meter also comprises storage chip; Described storage chip connects described data acquisition module, it is characterized in that, described method may further comprise the steps:
(1) described data acquisition module starts, and the ammeter time of obtaining intelligent electric meter;
(2) described data acquisition module before described storage chip reads once to when operation time main station time and the mistiming of ammeter time;
(3) described data acquisition module with described ammeter time and described mistiming be set at the real-time time of data acquisition module, and store described real-time time into storage chip;
(4) described main website through described network to the data acquisition module of intelligent electric meter carry out to the time operation;
(5) described data acquisition module with described real-time time as main website to the time time;
(6) described data acquisition module deposits main station time and the mistiming of ammeter time in described storage chip.
2. the method for obtaining real-time time based on main station time realization intelligent electric meter data acquisition module according to claim 1; It is characterized in that; Before described storage chip does not store once to when operation time main station time with the situation of the mistiming of ammeter time under, described data acquisition module before described storage chip reads once to the time when operating main station time and the mistiming of ammeter time be 0.
3. the method for obtaining real-time time based on main station time realization intelligent electric meter data acquisition module according to claim 2; It is characterized in that; Described data acquisition module is specially real-time time described ammeter time and described mistiming and that be set at data acquisition module:
The real-time time that described data acquisition module is a data acquisition module with described ammeter time set.
4. the method for obtaining real-time time based on main station time realization intelligent electric meter data acquisition module according to claim 1; It is characterized in that; Before described storage chip stores once to when operation time main station time and the situation of the mistiming of ammeter time under, described ammeter time and described mistiming and be main station time.
5. the method for obtaining real-time time based on main station time realization intelligent electric meter data acquisition module according to claim 1; It is characterized in that; Described storage chip is a flash memory, and described flash memory comprises real-time time register cell and mistiming register cell.
CN2012101080945A 2012-04-13 2012-04-13 Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time Pending CN102636692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101080945A CN102636692A (en) 2012-04-13 2012-04-13 Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101080945A CN102636692A (en) 2012-04-13 2012-04-13 Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time

Publications (1)

Publication Number Publication Date
CN102636692A true CN102636692A (en) 2012-08-15

Family

ID=46621161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101080945A Pending CN102636692A (en) 2012-04-13 2012-04-13 Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time

Country Status (1)

Country Link
CN (1) CN102636692A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147294A (en) * 2018-08-09 2019-01-04 北京市腾河智慧能源科技有限公司 The method of the overproof lower copy reading data of clock of power meter is solved in communication module
CN110677211A (en) * 2019-09-27 2020-01-10 宁波三星医疗电气股份有限公司 Time synchronization method and device and power acquisition terminal
CN113783650A (en) * 2021-08-25 2021-12-10 浙江万胜智能科技股份有限公司 Method for realizing accurate time synchronization of intelligent electric meter and intelligent terminal based on characteristic current

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5216357A (en) * 1987-04-10 1993-06-01 Schlumberger Industries, Inc. Real time solid state register having battery backup
CN101261494A (en) * 2008-04-21 2008-09-10 杭州普维光电技术有限公司 Method and its device for time service based on GPS technology
CN201583648U (en) * 2009-12-10 2010-09-15 河南省电力公司郑州供电公司 Clock remote timing device of electric energy meter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5216357A (en) * 1987-04-10 1993-06-01 Schlumberger Industries, Inc. Real time solid state register having battery backup
CN101261494A (en) * 2008-04-21 2008-09-10 杭州普维光电技术有限公司 Method and its device for time service based on GPS technology
CN201583648U (en) * 2009-12-10 2010-09-15 河南省电力公司郑州供电公司 Clock remote timing device of electric energy meter

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
卢中南等: "基于嵌入式LINUX的电能量数据采集终端的开发研究", 《微计算机信息》 *
李炜等: "基于GPS授时的异地同步数据采集系统", 《测控技术》 *
杨丽珺: "利用电力负荷管理系统实现对计量表计远程校时", 《云南电力技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147294A (en) * 2018-08-09 2019-01-04 北京市腾河智慧能源科技有限公司 The method of the overproof lower copy reading data of clock of power meter is solved in communication module
CN110677211A (en) * 2019-09-27 2020-01-10 宁波三星医疗电气股份有限公司 Time synchronization method and device and power acquisition terminal
CN113783650A (en) * 2021-08-25 2021-12-10 浙江万胜智能科技股份有限公司 Method for realizing accurate time synchronization of intelligent electric meter and intelligent terminal based on characteristic current

Similar Documents

Publication Publication Date Title
CN103096419B (en) A kind of terminal management method and access point and terminal
EP2899557B1 (en) Method and mobile terminal for revising power level of mobile terminal
CN109147294B (en) Method for reading data under condition of clock out-of-tolerance of electric energy meter in communication module
CN102636692A (en) Method for acquiring real-time time of data acquisition module of an intelligent electric meter based on master station time
CN203070509U (en) Wireless meter reading concentrator
CN105375502A (en) Real-time control method and system for photovoltaic electric quantity
CN102427267A (en) Modular charging system for electric automobile
CN103617475A (en) A system and a method of energy efficiency management used for a micro remote tracker
CN105491208A (en) Method for storing electric quantity information of mobile terminal, and mobile terminal
CN104916102A (en) Intelligent gas meter wireless communication and control method
CN202127259U (en) use and management system for power charging and using of electromobile storage battery
CN108039717B (en) Capacity configuration method and device for converter station in multi-terminal flexible direct-current power grid
CN104916103A (en) Intelligent instrument wireless communication and control method
CN103956805A (en) Electric power conversion and measurement and control method of wave power generation system
CN204992647U (en) Solar energy control of charge and discharge system
US10886778B2 (en) Remote monitoring system and related method for solar power generation devices
CN105937746A (en) Solar streetlamp
CN203645712U (en) Engineering vehicle network control system and engineering vehicle
CN115940277B (en) Energy scheduling method, device, electronic equipment and readable storage medium
CN203180623U (en) Elevator hybrid power supply device
CN109449472A (en) A kind of methanol fuel cell shell and preparation method thereof
CN205105404U (en) General sensor node able to programme
CN202406135U (en) Embedded electric energy acquisition gateway based on Cortex-M3
CN209962156U (en) Clock circuit based on ESP32 chip
CN107317364A (en) Solar powered method and apparatus based on multi-feature recognition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120815