CN104978842A - Self-repair method of low-pressure concentrator clock - Google Patents
Self-repair method of low-pressure concentrator clock Download PDFInfo
- Publication number
- CN104978842A CN104978842A CN201510314588.2A CN201510314588A CN104978842A CN 104978842 A CN104978842 A CN 104978842A CN 201510314588 A CN201510314588 A CN 201510314588A CN 104978842 A CN104978842 A CN 104978842A
- Authority
- CN
- China
- Prior art keywords
- clock
- concentrator
- schedule
- samples
- value
- 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.)
- Granted
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a self-repair method of low-pressure concentrator clock. The method is as below: first, the concentrator determines whether the clock is abnormal through a set of logic judgment; if the clock is abnormal, the concentrator according to specific rules selects a number of electric energy meters managed by the concentrator and reads the clock; the error caused by meter reading channel delay and non-synchronization in and reading of the sample meter are eliminated, and the concentrator calculates the most credible value in all sample clock data according to the algorithm; and finally the proofreading of the concentrator clock. The entire clock repair process takes full advantage of inherent power meter and channel resources in a low-voltage transformer area, can conduct self-diagnosis and self-healing, and does not need artificial intervention. Through the method, when the clock is confirmed to be missing or inaccurate, the concentrator can conduct reverse timing by using the read meter clock to realize self-healing of the clock.
Description
Technical field
The present invention relates to the self-regeneration method of a kind of low pressure concentrator under loss of clock or clock abnormal conditions, belong to power information acquisition technique field.
Background technology
Along with the development of power information acquisition system, to 2015 the end of the year whole nation will have and realize long-range, automatic coppying meter more than 300,000,000 residents, relate to millions of Ge Tai district and concentrator devices.In the application model of power information acquisition system, clock is a core parameter, and clock is abnormal just to be shown more and more significantly on the impact that data acquisition and application produce.What current power information acquisition system adopted is top-down Clock management mechanism, by the clock source of satellite clock as system, main website server keeps synchronous by dedicated channel and satellite clock, what adopt from main website to concentrator is telecommunication mode, based on wireless public network (GPRS/CDMA), therefore usual with sky or week for the cycle carries out clock inspection and synchronous, then rely on the accuracy of the clock unit guarantee clock of concentrator itself at ordinary times.Under the so huge scale of construction, the clock that various factors causes is extremely very difficult to be avoided completely, the clock entanglement etc. that such as Clock battery inefficacy, clock crystal oscillator fault, device aging, software fault, extreme condition cause.Once clock is abnormal, especially concentrator clock is abnormal, and chain type will be caused to affect:
1), affect the judgement of concentrator to the period of checking meter, cause the task of checking meter normally not start;
2), affect markers when concentrator is checked meter, the such as freezing data of a copy reading future time point, cause copy reading failure;
3), affect concentrator data store, cause concentrator by real time data timing unloading be historical data time deposit wrong position;
4), affect the statistical function of concentrator, cause day to add up, the moon statistics, statistics at times mistake;
5), affect the alarm function of concentrator, comprise and judge the accuracy of anomalous event, the markers of reported event, cause wrong report, misrepresent deliberately, mislead to managerial personnel.
According to existing design, concentrator is when loss of clock or mistake, can only wait for that main website checks at next clock proof cycle and revises clock, usually after 1 day or many days, and at this moment often the impact not easily retrieved is created on the promptness of data acquisition, statistics and accuracy.
Summary of the invention
Technical matters to be solved by this invention is, there is provided the method for a kind of low pressure concentrator clock self-regeneration, by the method, concentrator can when confirmation clock have been lost or be wrong, when the ammeter clock utilizing copy reading to arrive comes reverse school, realize the self-regeneration of clock.
For solving the problems of the technologies described above, present invention employs following technical scheme.
A method for low pressure concentrator clock self-regeneration, is characterized in that carrying out according to following steps:
1), concentrator checks present clock with the fixed cycle, the validity according to following Logic judgment clock:
2000 ≤ Y ≤ 2100;
1 ≤ M ≤ 12;
m value is 1,3,5,7,8,10, and when 12,1≤D≤31;
M value is 4,6,9, and when 11,1≤D≤30;
M value be 2 and Y value is the integral multiple of 4 time, 1≤D≤29;
M value be 2 and the integral multiple of Y value non-4 time, 1≤D≤28;
0 ≤ h ≤ 23;
0 ≤ m ≤ 59;
0 ≤ s ≤ 59;
Y represents year, and M represents the moon, and D represents day, when h represents, and m representative point, s represents second;
2), when according to step 1), concentrator judges that present clock is invalid, then the sample choosing some according to following principle from the ammeter that this concentrator manages carries out clock copy reading:
during S≤30, n=S;
during S>30, n=30;
The ammeter total quantity of management in S presenting set, n representative sample quantity;
3), start concentrator timer and start the clock of copy reading n electric energy meter successively, the message of copy reading n-th schedule of samples being sent the moment is designated as t
n, the moment receiving schedule of samples returned packet is designated as t
n ' ; Then reject from sample for copy reading failure and the invalid ammeter of clock, the method for ammeter clock Effective judgement is with the determination methods of concentrator clock validity in step 1);
4), the half-duplex channel time delay in copy reading ammeter clock process is calculated for every schedule of samples:
;
5), the clock that schedule of samples returns is designated as T respectively
1, T
2... T
n, calculate revised schedule of samples clock according to the half-duplex channel time delay calculated in step 4):
T
n ' =T
n +δ
n;
6), being calculated as follows 2nd-n schedule of samples moment of checking meter checks meter relative to the 1st schedule of samples the time delay in moment:
△
n=t
n ' -t
1 ' ;
7) delay product, according to step 6) obtained, with t
1 ' for reference instant, calculate the clock of all schedule of samples at synchronization according to the following formula:
T
" n=T
n ' -△
n;
8), according to the following formula, at one time under benchmark, the time deviation sum of each schedule of samples relative to other schedule of samples is calculated:
;
9), set the optimal value of sample clock data as T
s, and obtain T by following formula
svalue:
during n≤2,
;
during n>2, search the minimum value in Pn, if minimum value is P
i, then T
s=T
" i;
10), the moment completing the calculating of sample clock optimal value is designated as t
s, and be calculated as follows the order for repairing concentrator clock
Scale value T
d:
T
d =T
S+ (t
s -t
1 ’ );
11), clock setting is T by concentrator
d, complete clock reparation.
Preferably, the record of each clock correction is kept in daily record for reviewing; The record of described clock correction comprises revises front clock and clock after revising.
The present invention compared with prior art, has the following advantages:
1), concentrator can the clock of active monitoring oneself whether normal, when confirming that clock is abnormal, the mode by copy reading electric supply meter carrys out teaching display stand reparation, thus ensures that task of checking meter is unaffected;
2), the clock method of repairing based on the cluster sampling to batch ammeter, and reduces by tailor-made algorithm the error that sample data discreteness and communication channel delay bring, and when sample size is sufficient, precision is higher;
3), clock repair process uses existing channel resource, without the need to increasing any hardware, and self diagnosis, self-healing, repair time is short, does not need manual intervention, and can not have an impact to normally checking meter;
4), be widely used in the centralized meter-reading system of the various communication modes such as carrier wave, wireless, RS485 and networking mode.
Embodiment
The present invention is further illustrated below in conjunction with instantiation.
1), concentrator checks present clock with the fixed cycle, the validity according to following Logic judgment clock:
2000 ≤ Y ≤ 2100;
1 ≤ M ≤ 12;
m value is 1,3,5,7,8,10, and when 12,1≤D≤31;
M value is 4,6,9, and when 11,1≤D≤30;
M value be 2 and Y value is the integral multiple of 4 time, 1≤D≤29;
M value be 2 and the integral multiple of Y value non-4 time, 1≤D≤28;
0 ≤ h ≤ 23;
0 ≤ m ≤ 59;
0 ≤ s ≤ 59;
Y represents year, and M represents the moon, and D represents day, and when h represents, m representative point, s represents second.
2), when according to step 1), concentrator judges that present clock is invalid, then the sample choosing some according to following principle from the ammeter that this concentrator manages carries out clock copy reading:
during S≤30, n=S;
during S>30, n=30;
S represents ammeter total quantity, n representative sample quantity.
3), start concentrator timer and start the clock of copy reading n electric energy meter successively, the moment that sends of copy reading the 1st schedule of samples message is designated as t
1, the moment receiving ammeter returned packet is designated as t
1 ' ; Equally, the moment that sends of copy reading 2nd-n schedule of samples message is designated as t respectively
2, t
3... t
n, the moment receiving schedule of samples message is designated as t respectively
2 ' , t
3 ' ... t
n ' ; Then reject from sample for copy reading failure and the invalid table of clock, the method for ammeter clock Effective judgement is with the determination methods of concentrator clock validity in step 1).
4), because low pressure centralized automatic meter-reading generally adopts power line carrier communication mode, be characterized in that communication channel delay is longer, so the half-duplex channel time delay in copy reading ammeter clock process must be calculated for every schedule of samples:
,
,……
。
5), the clock that schedule of samples returns is designated as T respectively
1, T
2... T
n, known T
nin fact be not t
n ' the clock of moment schedule of samples, but (t
n ' -δ
n) clock of moment schedule of samples, therefore need by the half-duplex channel time delay calculated in step 4) calculate revise after (i.e. real t
n ' moment) schedule of samples clock:
T
1=T
1+δ
1,T
2 ’ =T
2 +δ
2,…… T
n ’ =T
n+δ
n。
6) the copy reading process, due to n only shown successively performs, therefore T
1 ' -T
n ' be not the clock that n only shows synchronization, need unified to a reference instant.Calculating 2nd-n schedule of samples moment of checking meter checks meter relative to the 1st schedule of samples the time delay in moment:
△
1=t
1 ’ -t
1 ’ ,△
2=t
2 ’ -t
1 ’ ,…… △
n=t
n ’ -t
1 ’ 。
7), according to above-mentioned time delay, with t
1 ' for reference instant calculates the clock of all schedule of samples at synchronization, to compare:
T
" 1 = T
1 ’ -△
1, T
" 2 = T
2 ’ -△
2, …… T
" n = T
n ’ -△
n。
8), because ammeter belongs to measurement instrument, its clock accuracy is reliable generally, field statistics shows, clock of power meter error in actual motion is less than the ratio of 60 seconds higher than 99.5%, therefore the schedule of samples clock data of all acquisitions in theory discrete lines be smaller, but do not get rid of individual failure table and there will be larger deviation, need to be found out in sample data " accurately " by algorithm one, adopt with the following method, at one time under benchmark, calculate the time deviation sum of each schedule of samples relative to other schedule of samples:
……
。
9), set the optimal value of sample clock data as T
s, then T is obtained by following algorithm
svalue:
during n≤2,
;
during n>2, search P
1, P
2minimum value in Pn, supposes that minimum value is P
i, then T
s=T
" i.
10), the moment completing the calculating of sample clock optimal value is designated as t
s, then the desired value T for repairing concentrator clock is calculated by the following method
d:
T
d =T
S+ (t
s-t
1 ’ )
。
11), clock setting is T by concentrator
d, complete clock reparation.Meanwhile, the record (containing revising front clock, revising rear clock) of this clock correction will be kept in daily record for reviewing.
Claims (2)
1. a method for low pressure concentrator clock self-regeneration, is characterized in that carrying out according to following steps:
1), concentrator checks present clock with the fixed cycle, the validity according to following Logic judgment clock:
2000 ≤ Y ≤ 2100;
1 ≤ M ≤ 12;
m value is 1,3,5,7,8,10, and when 12,1≤D≤31;
M value is 4,6,9, and when 11,1≤D≤30;
M value be 2 and Y value is the integral multiple of 4 time, 1≤D≤29;
M value be 2 and the integral multiple of Y value non-4 time, 1≤D≤28;
0 ≤ h ≤ 23;
0 ≤ m ≤ 59;
0 ≤ s ≤ 59;
Y represents year, and M represents the moon, and D represents day, when h represents, and m representative point, s represents second;
2), when according to step 1), concentrator judges that present clock is invalid, then the sample choosing some according to following principle from the ammeter that this concentrator manages carries out clock copy reading:
during S≤30, n=S;
during S>30, n=30;
The ammeter total quantity of management in S presenting set, n representative sample quantity;
3), start concentrator timer and start the clock of copy reading n electric energy meter successively, the message of copy reading n-th schedule of samples being sent the moment is designated as t
n, the moment receiving schedule of samples returned packet is designated as t
n ' ; Then reject from sample for copy reading failure and the invalid ammeter of clock, the method for ammeter clock Effective judgement is with the determination methods of concentrator clock validity in step 1);
4), the half-duplex channel time delay in copy reading ammeter clock process is calculated for every schedule of samples:
;
5), the clock that schedule of samples returns is designated as T respectively
1, T
2... T
n, calculate revised schedule of samples clock according to the half-duplex channel time delay calculated in step 4):
T
n ' =T
n+δ
n;
6), being calculated as follows 2nd-n schedule of samples moment of checking meter checks meter relative to the 1st schedule of samples the time delay in moment:
△
n=t
n ' -t
1 ' ;
7) delay product, according to step 6) obtained, with t
1 ' for reference instant, calculate the clock of all schedule of samples at synchronization according to the following formula:
T
" n=T
n ' -△
n;
8), according to the following formula, at one time under benchmark, the time deviation sum of each schedule of samples relative to other schedule of samples is calculated:
;
9), set the optimal value of sample clock data as T
s, and obtain T by following formula
svalue:
during n≤2,
;
during n>2, search the minimum value in Pn, if minimum value is P
i, then T
s=T
" i;
10), the moment completing the calculating of sample clock optimal value is designated as t
s, and be calculated as follows the order for repairing concentrator clock
Scale value T
d:
T
d =T
S+ (t
s -t
1 ’ );
11), clock setting is T by concentrator
d, complete clock reparation.
2. the method for low pressure concentrator clock self-regeneration as claimed in claim 1, is characterized in that: be kept in daily record the record of each clock correction for reviewing; The record of described clock correction comprises revises front clock and clock after revising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510314588.2A CN104978842B (en) | 2015-06-10 | 2015-06-10 | A kind of method of low pressure concentrator clock self-regeneration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510314588.2A CN104978842B (en) | 2015-06-10 | 2015-06-10 | A kind of method of low pressure concentrator clock self-regeneration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104978842A true CN104978842A (en) | 2015-10-14 |
CN104978842B CN104978842B (en) | 2018-03-06 |
Family
ID=54275315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510314588.2A Active CN104978842B (en) | 2015-06-10 | 2015-06-10 | A kind of method of low pressure concentrator clock self-regeneration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978842B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105490768A (en) * | 2015-11-18 | 2016-04-13 | 积成电子股份有限公司 | Method for automatically calibrating concentrator clock chip |
CN106054106A (en) * | 2016-05-25 | 2016-10-26 | 宁波三星医疗电气股份有限公司 | Watt-hour meter clock abnormality automatic detection method based on power line carrier |
CN108020716A (en) * | 2017-11-17 | 2018-05-11 | 杭州海兴电力科技股份有限公司 | Method during based on distributed clock source to accurate pair of terminal |
CN108206721A (en) * | 2016-12-19 | 2018-06-26 | 成都长城开发科技有限公司 | Automatic meter reading system and its calibration method |
CN108234054A (en) * | 2016-12-31 | 2018-06-29 | 科大智能电气技术有限公司 | A kind of self-healing method of concentrator loss of clock self-test |
CN109088691A (en) * | 2018-08-30 | 2018-12-25 | 宁波迦南智能电气股份有限公司 | The calendar clock exception self-recovery method of electric energy meter concentrator |
CN113823075A (en) * | 2021-10-29 | 2021-12-21 | 长沙力合微智能科技有限公司 | Intelligent adjustment method and device for request waiting time delay of concentrator high-efficiency meter reading equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581700A (en) * | 2003-08-13 | 2005-02-16 | 惠普开发有限公司 | Regulation for clock |
CN101247123A (en) * | 2007-10-24 | 2008-08-20 | 吴明星 | Single-chip system clock calibration method |
CN101964689A (en) * | 2010-08-20 | 2011-02-02 | 惠州中城电子科技有限公司 | Method for improving time accuracy of electric energy information acquisition system |
US20110286400A1 (en) * | 2009-02-04 | 2011-11-24 | Zte Corporation | Method for sending and receiving clock, apparatus for transmitting clock |
CN103368719A (en) * | 2012-03-28 | 2013-10-23 | 北京华电信通科技有限公司 | Time setting system and time setting method in PLC-based electricity utilization information collecting system |
CN104464247A (en) * | 2014-12-12 | 2015-03-25 | 武汉中原电子信息公司 | Method for reducing time synchronization error of public network of concentrator |
-
2015
- 2015-06-10 CN CN201510314588.2A patent/CN104978842B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581700A (en) * | 2003-08-13 | 2005-02-16 | 惠普开发有限公司 | Regulation for clock |
CN101247123A (en) * | 2007-10-24 | 2008-08-20 | 吴明星 | Single-chip system clock calibration method |
US20110286400A1 (en) * | 2009-02-04 | 2011-11-24 | Zte Corporation | Method for sending and receiving clock, apparatus for transmitting clock |
CN101964689A (en) * | 2010-08-20 | 2011-02-02 | 惠州中城电子科技有限公司 | Method for improving time accuracy of electric energy information acquisition system |
CN103368719A (en) * | 2012-03-28 | 2013-10-23 | 北京华电信通科技有限公司 | Time setting system and time setting method in PLC-based electricity utilization information collecting system |
CN104464247A (en) * | 2014-12-12 | 2015-03-25 | 武汉中原电子信息公司 | Method for reducing time synchronization error of public network of concentrator |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105490768A (en) * | 2015-11-18 | 2016-04-13 | 积成电子股份有限公司 | Method for automatically calibrating concentrator clock chip |
CN106054106A (en) * | 2016-05-25 | 2016-10-26 | 宁波三星医疗电气股份有限公司 | Watt-hour meter clock abnormality automatic detection method based on power line carrier |
CN106054106B (en) * | 2016-05-25 | 2018-08-31 | 宁波三星医疗电气股份有限公司 | A kind of clock of power meter exception automatic testing method based on power line carrier |
CN108206721A (en) * | 2016-12-19 | 2018-06-26 | 成都长城开发科技有限公司 | Automatic meter reading system and its calibration method |
CN108206721B (en) * | 2016-12-19 | 2019-12-31 | 成都长城开发科技有限公司 | Automatic meter reading system and time correction method thereof |
CN108234054A (en) * | 2016-12-31 | 2018-06-29 | 科大智能电气技术有限公司 | A kind of self-healing method of concentrator loss of clock self-test |
CN108234054B (en) * | 2016-12-31 | 2019-07-12 | 科大智能电气技术有限公司 | A kind of self-healing method of concentrator loss of clock self-test |
CN108020716A (en) * | 2017-11-17 | 2018-05-11 | 杭州海兴电力科技股份有限公司 | Method during based on distributed clock source to accurate pair of terminal |
CN109088691A (en) * | 2018-08-30 | 2018-12-25 | 宁波迦南智能电气股份有限公司 | The calendar clock exception self-recovery method of electric energy meter concentrator |
CN113823075A (en) * | 2021-10-29 | 2021-12-21 | 长沙力合微智能科技有限公司 | Intelligent adjustment method and device for request waiting time delay of concentrator high-efficiency meter reading equipment |
CN113823075B (en) * | 2021-10-29 | 2022-07-05 | 深圳市力合微电子股份有限公司 | Intelligent adjustment method and device for request waiting time delay of concentrator high-efficiency meter reading equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104978842B (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104978842A (en) | Self-repair method of low-pressure concentrator clock | |
US20180046924A1 (en) | Whole-life-cycle power output classification prediction system for photovoltaic systems | |
CN102496072B (en) | System for estimating distributive state of intelligent transformer station | |
CN108616321A (en) | Clock synchronizing method, device, computer equipment and the storage medium of electric energy meter | |
US20140172329A1 (en) | System and method for wind generation forecasting | |
CN110471024A (en) | A kind of online remote checking method of intelligent electric meter based on metric data analysis | |
Mc Garrigle et al. | Quantifying the value of improved wind energy forecasts in a pool-based electricity market | |
CN102521080B (en) | Computer data recovery method for electricity-consumption information collecting system for power consumers | |
US9041550B2 (en) | Time diversified packet protocol | |
CN109239640B (en) | Electric meter clock correction method based on average difference value | |
CN111210093A (en) | Daily water consumption prediction method based on big data | |
CN103107914A (en) | Detection method and detection system for remote power acquisition terminal | |
CN109150100A (en) | Fault detection method, device, equipment and the storage medium of photovoltaic plant | |
CN103825272A (en) | Reliability determination method for power distribution network with distributed wind power based on analytical method | |
CN111711192B (en) | Real-time line loss analysis method and system for lean management of line loss of support station area | |
CN105134493A (en) | Information acquisition and storage method based on wind generator set control system | |
CN106254022A (en) | Time supervision based on clock synchronization apparatus and time delay query software system platform | |
CN108988975B (en) | Correction method and device for ammeter clock | |
CN107256442A (en) | Line loss calculation method based on mobile client | |
CN107276709A (en) | A kind of method for synchronizing time and system | |
CN106953708A (en) | A kind of clock synchronization system and its method of work based on industrial looped network | |
CN107292415A (en) | A kind of Forecasting Methodology of intelligent meter rotation time | |
CN102621954A (en) | Self-adaptive multi-signal-source time synchronization card device for smart grid and message analysis system | |
CN108020716B (en) | Method for accurately timing time of terminal based on distributed clock source | |
CN104299065B (en) | A kind of method that Correctness of model is verified between dispatching automation main preparation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 264003 Laishan City, Yantai province Venture Center, Shandong Applicant after: Yantai Dongfang Wisdom Electric Co., Ltd. Address before: 264003 Laishan City, Yantai province Venture Center, Shandong Applicant before: Yantai Dongfang Wisdom Electronic Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |