CN102005723A - IEEE1588-based data synchronization method for fiber differential protection device - Google Patents

IEEE1588-based data synchronization method for fiber differential protection device Download PDF

Info

Publication number
CN102005723A
CN102005723A CN2010105468077A CN201010546807A CN102005723A CN 102005723 A CN102005723 A CN 102005723A CN 2010105468077 A CN2010105468077 A CN 2010105468077A CN 201010546807 A CN201010546807 A CN 201010546807A CN 102005723 A CN102005723 A CN 102005723A
Authority
CN
China
Prior art keywords
ptp
clock
ieee1588
differential protection
sampling
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
CN2010105468077A
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.)
ZHUHAI TOP INTELLIGENCE ELECTRIC CO Ltd
Original Assignee
ZHUHAI TOP INTELLIGENCE ELECTRIC 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 ZHUHAI TOP INTELLIGENCE ELECTRIC CO Ltd filed Critical ZHUHAI TOP INTELLIGENCE ELECTRIC CO Ltd
Priority to CN2010105468077A priority Critical patent/CN102005723A/en
Publication of CN102005723A publication Critical patent/CN102005723A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses an IEEE1588-based data synchronization method for a fiber differential protection device, which comprises the following steps that: one of two bilateral devices, namely precision time protocol (PTP) clocks which are connected with a fiber optic Ethernet is automatically determined as a PTP master clock, and the other one is determined as a PTP slave clock through best master clock (BMC) algorithm; the PTP slave clock carries out fine adjustment on the PTP clocks at the same side of the PTP slave clock according to the IEEE1588 protocol, so that the PTP master clock and the PTP slave clock are synchronous; and the PTP master clock and the PTP slave clock capture the PPS input, adjust the sampling interval and start the A/D sampling, so that the synchronized sampling at the two sides of the fiber differential protection device can be guaranteed. The method of the invention has the advantages that: the synchronization precision is high; the time deviations of pulse per second (PPS) at the two sides of the fiber differential protection device and the time deviation of each sampling pulse are all less than 1 mu s; the methods for adjusting sample data by complex algorithms are abandoned, and the data synchronization method is totally independent of differential protection and has nothing to do with the sampled data.

Description

Method of data synchronization based on the fiber differential protection device of IEEE1588
Technical field
The present invention relates to a kind of communication of power system method, particularly a kind of method of data synchronization of the fiber differential protection device based on IEEE1588.
Background technology
Optical fiber differential protective in protecting electrical power system in occupation of critical role.Though the differential protection principle is simple, it also will solve the synchronous problem of both sides protective device sampled data except facing the common problem of protective device exploitation.The method of data synchronization that traditional fiber differential protection device is commonly used has following several: method, clock correction method, the same footwork of GPS, the same footwork of reference vector, sampling sequence number adjustment method etc. are adjusted in sampled data revised law, sampling instant.There is following problem at present in these methods: the both sides crystal oscillator is required height, and the sampling interval is inhomogeneous, to the hardware requirement height.GPS is subjected to the influence of factors such as natural environment and social environment with footwork, and needs relevant hardware support etc.Since the promulgation of IEEE1588 standard, IEEE1588 more and more payes attention in the application in automatic measure control field, supports that the hardware of IEEE1588 is also more and more, therefore IEEE1588 is applied to the protecting electrical power system field and has great importance.
Summary of the invention
In order to solve above-mentioned technical problem, the purpose of this invention is to provide a kind of method of data synchronization that can be applicable to the fiber differential protection device both sides simply, accurately based on the fiber differential protection device of IEEE1588.
The technical scheme that the present invention is adopted for its technical problem of solution is:
Method of data synchronization based on the fiber differential protection device of IEEE1588 may further comprise the steps:
A. the both sides device that links to each other with optical-fibre channel moves the IEEE1588 agreement respectively, sends, receives the PTP message packet;
B. the both sides device moves the best master clock BMC algorithm in the IEEE1588 agreement respectively, determines that the side in the device of both sides is the PTP master clock, and opposite side is that PTP is from clock;
C.PTP according to IEEE1588 agreement calculated data communication channel delay and this side clock synchronization compliant with precision time protocol deviation with respect to the PTP master clock, and finely tunes this side clock synchronization compliant with precision time protocol according to result of calculation from the clock lateral root;
D. judge that whether PTP is synchronous with the PTP master clock from clock, then returns step C if not; If the clock synchronization sign then is set;
E. principal and subordinate's clock is caught the PPS input, adjusts sampling timing at interval, and starts the A/D sampling.
The invention has the beneficial effects as follows: the inventive method synchronization accuracy height; the time deviation of both sides PPS pulse per second (PPS) time deviation and each sampling pulse is all less than 1us; abandoned the method for adjusting sampled data by complicated algorithm; method of data synchronization is totally independent of differential protection, and is irrelevant with sampled data.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples:
Fig. 1 is the flow chart of method of data synchronization of the present invention;
Fig. 2 is the connection diagram of fiber differential protection device of the present invention.
Embodiment
With reference to Fig. 1, the method for data synchronization based on the fiber differential protection device of IEEE1588 may further comprise the steps:
A. the both sides device that links to each other with optical-fibre channel moves the IEEE1588 agreement respectively, sends, receives the PTP message packet; The model of the PHY chip of Ethernet is DP83640 in the device of both sides, the adjustable high accuracy PTP of a 125MHZ of inner sustain (precision time protocol) clock, and exportable pulse per second (PPS) PPS (pulse per second);
B. the both sides device moves the best master clock BMC algorithm in the IEEE1588 agreement respectively, determines that the side in the device of both sides is the PTP master clock, and opposite side is that PTP is from clock;
C.PTP according to IEEE1588 agreement calculated data communication channel delay and this side clock synchronization compliant with precision time protocol deviation with respect to the PTP master clock, and finely tunes this side clock synchronization compliant with precision time protocol according to result of calculation from the clock lateral root;
D. judge that whether PTP is synchronous with the PTP master clock from clock, then returns step C if not; If the clock synchronization sign then is set; When PTP from clock then can be considered during with respect to the deviation of PTP master clock less than 1us PTP from clock synchronization in the PTP master clock.
E. principal and subordinate's clock is caught the PPS input, adjusts the sampling interval, and starts the A/D sampling; When both sides PPS is synchronous; every two adjacent PPS inputs were 1 second blanking time; the sample rate of setting device is N time/second; then sampling timing is spaced apart 1/N second; each side is from capturing the current PPS input time of this side; go to trigger the A/D sampling at interval according to sampling timing, can guarantee fiber differential protection device both sides sample-synchronous.
If a side device re-powers or optical-fibre channel disconnects the back and reappears when connecting abnormal conditions and occurring, the free-running operation respectively of the clock of both sides device, the PPS of both sides device not necessarily keeps synchronously, repeats above-mentioned steps A-E process and then can make a side device be synchronized with the opposite side device once more.
With reference to Fig. 2, fiber optic Ethernet passage both sides device is connected with MAC on being integrated in CPU by PHY, the PHY chip adopts DP83640, the adjustable high accuracy PTP of a 125MHZ of inner sustain, and the exportable pulse per second (PPS) PPS that samples with triggering A/D that catches for the both sides device.CPU passes through the deviation of PTP protocol engine computable number according to communication channel delay and principal and subordinate's clock synchronization compliant with precision time protocol, and finely tunes local clock synchronization compliant with precision time protocol according to result of calculation; CPU can also catch local PPS pulse per second (PPS) from PHY, and goes to trigger the A/D sampling by preset sampling frequency at interval with timing sampling.
More than be that preferable enforcement of the present invention is specified, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite of spirit of the present invention, modification that these are equal to or replacement all are included in the application's claim institute restricted portion.

Claims (1)

1. based on the method for data synchronization of the fiber differential protection device of IEEE1588, it is characterized in that: may further comprise the steps:
A. the both sides device that links to each other with optical-fibre channel moves the IEEE1588 agreement respectively, sends, receives the PTP message packet;
B. the both sides device moves the best master clock BMC algorithm in the IEEE1588 agreement respectively, determines that the side in the device of both sides is the PTP master clock, and opposite side is that PTP is from clock;
C.PTP according to IEEE1588 agreement calculated data communication channel delay and this side clock synchronization compliant with precision time protocol deviation with respect to the PTP master clock, and finely tunes this side clock synchronization compliant with precision time protocol according to result of calculation from the clock lateral root;
D. judge that whether PTP is synchronous with the PTP master clock from clock, then returns step C if not; If the clock synchronization sign then is set;
E. principal and subordinate's clock is caught the PPS input, adjusts the sampling interval, and starts the A/D sampling.
CN2010105468077A 2010-11-16 2010-11-16 IEEE1588-based data synchronization method for fiber differential protection device Pending CN102005723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105468077A CN102005723A (en) 2010-11-16 2010-11-16 IEEE1588-based data synchronization method for fiber differential protection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105468077A CN102005723A (en) 2010-11-16 2010-11-16 IEEE1588-based data synchronization method for fiber differential protection device

Publications (1)

Publication Number Publication Date
CN102005723A true CN102005723A (en) 2011-04-06

Family

ID=43812874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105468077A Pending CN102005723A (en) 2010-11-16 2010-11-16 IEEE1588-based data synchronization method for fiber differential protection device

Country Status (1)

Country Link
CN (1) CN102005723A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532692A (en) * 2013-10-18 2014-01-22 广州南方电力集团科技发展有限公司 Double-passage double-mode redundant optical fiber longitudinal difference power distribution terminal data synchronization method
CN103731252A (en) * 2013-12-18 2014-04-16 电信科学技术第五研究所 Improvement method and system for IEEE1588 unicast negotiation mechanism
CN105334727A (en) * 2014-08-06 2016-02-17 国家电网公司 Synchronization method and device based on multiple measurement points

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232457A (en) * 2008-02-22 2008-07-30 浙江大学 High-precision real-time synchronization method based on IEEE1588

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孔令彬,文赫胜,陈向文: "IEEE1588精密时钟同步关键技术研究", 《计算机测量与控制》 *
汪祺航,吴在军,赵上林,黄伟: "IEEE1588时钟同步技术在数字化变电站中的应用", 《电力系统保护与控制》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532692A (en) * 2013-10-18 2014-01-22 广州南方电力集团科技发展有限公司 Double-passage double-mode redundant optical fiber longitudinal difference power distribution terminal data synchronization method
CN103731252A (en) * 2013-12-18 2014-04-16 电信科学技术第五研究所 Improvement method and system for IEEE1588 unicast negotiation mechanism
CN103731252B (en) * 2013-12-18 2017-01-11 电信科学技术第五研究所 Improvement method and system for IEEE1588 unicast negotiation mechanism
CN105334727A (en) * 2014-08-06 2016-02-17 国家电网公司 Synchronization method and device based on multiple measurement points
CN105334727B (en) * 2014-08-06 2017-11-14 国家电网公司 Synchronous method and device based on more measurement points

Similar Documents

Publication Publication Date Title
CN103763055B (en) The method of precise synchronization time a kind of
CN103532652B (en) A kind of time synchronism apparatus and method
US20150358700A1 (en) Apparatus and method for enabling a passive optical network on supporting time synchronization
US9323286B2 (en) Ad-hoc synchronization of industrial control networks
WO2016004644A1 (en) Method and apparatus for monitoring ethernet clock synchronization
EP2749968A1 (en) Time control device, time control method, and program
CN108768577B (en) Communication network time service method and system based on PTP time synchronization signal
CN107786293A (en) Method for synchronizing time, clock equipment, from clockwork and clock synchronization system
CN103995471A (en) Clock synchronization method of distributed control system
US10027468B1 (en) Ethernet physical layer circuit and clock recovery method thereof
CN102916758B (en) Ethernet time synchronism apparatus and the network equipment
CN107800529B (en) Clock frequency synchronization method of network node
CN106656397B (en) Clock synchronizing method and device
CN105515704A (en) Clock synchronization method and optical network unit
CN106559157A (en) A kind of clock synchronizing method, device and communication equipment
CN104468014A (en) Method for improving time synchronization precision under complex network environment
CN109683567A (en) Based on system clock synchronizing method in RS485 network
CN102005723A (en) IEEE1588-based data synchronization method for fiber differential protection device
CN103532693A (en) Time synchronizing device and method
CN103686982A (en) Method for time synchronization based on clock information and node equipment
CN107181553B (en) A kind of method that servo-driver inside carries out exact time synchronization
WO2013163793A1 (en) Automatic time and frequency synchronization over an asynchronous network
CN105759600A (en) Beidou Satellite-based power grid system time-service system
EP3070926B1 (en) Synchronous camera
Kohler A practical implementation of an IEEE1588 supporting Ethernet switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110406