CN102315985A - Time synchronization precision test method for intelligent device adopting IEEE1588 protocols - Google Patents

Time synchronization precision test method for intelligent device adopting IEEE1588 protocols Download PDF

Info

Publication number
CN102315985A
CN102315985A CN201110251613A CN201110251613A CN102315985A CN 102315985 A CN102315985 A CN 102315985A CN 201110251613 A CN201110251613 A CN 201110251613A CN 201110251613 A CN201110251613 A CN 201110251613A CN 102315985 A CN102315985 A CN 102315985A
Authority
CN
China
Prior art keywords
time
intelligent apparatus
tested
switching value
test appearance
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
Application number
CN201110251613A
Other languages
Chinese (zh)
Other versions
CN102315985B (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.)
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Original Assignee
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Electric Power Research Institute of Guangdong Power Grid 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 XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd, Electric Power Research Institute of Guangdong Power Grid Co Ltd filed Critical XJ Electric Co Ltd
Priority to CN201110251613.9A priority Critical patent/CN102315985B/en
Publication of CN102315985A publication Critical patent/CN102315985A/en
Application granted granted Critical
Publication of CN102315985B publication Critical patent/CN102315985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a time synchronization precision test method for an intelligent device adopting IEEE1588 protocols. A time tester is used as a main clock, IEEE 1588 synchronous messages are sent to intelligent equipment to be tested for building the stable time synchronization; signal generation equipment simultaneously inputs switching value electric signals to the intelligent device to be tested and the time tester; the time tester and the intelligent device to be tested respectively capture timestamps of the input switching value electric signals, and the intelligent device to be tested generates generic object oriented substation event (GOOSE) messages to be sent to the time tester; and the time tester extracts the switching value input timestamps of the intelligent device to be tested in the received GOOSE messages, and the absolute value of the difference value of the timestamps and the timestamps of the time tester is the time synchronization error of the intelligent device to be tested. The time synchronization precision test method has the advantages that the time tester is utilized, the IEEE1588 protocols are adopted for carrying out the time synchronization, when the switching value input signals are changed, the timestamps during the switching value change are sent out through GOOSE messages, the message transmission real-time performance is ensured, and the test precision and the real-time performance are improved.

Description

Adopt the intelligent apparatus timing tracking accuracy method of testing of IEEE1588 agreement
Technical field
The invention belongs to the relaying protection automatic field of power engineering, relate to a kind of intelligent apparatus timing tracking accuracy method of testing of the IEEE1588 of employing agreement.
Background technology
The intelligent substation automation system network is simple in structure, and node is fixed, and is well suited for adopting IEEE1588 network time synchronization agreement, and the full name of IEEE1588 is " the precision interval clock synchronous protocol standard of network measure and control system "; Adopt the IEEE1588 time synchronizing method to save special-purpose Time Synchronization Network, principle is simple, and it is little that agreement realizes taking device resource, and configuration is simple.
The quality of the time synchronized performance of intelligent apparatus obtains through the measurement of time synchronized index.Mode such as IRIG-B, pulse per second (PPS) etc. synchronously can test out through oscilloscope or time test instrument accurately; But IEEE1588 is the network time synchronization agreement; Have only when tested intelligent apparatus itself has pulse per second (PPS) output, could test the timing tracking accuracy that it adopts the IEEE1588 agreement easily.
Adopt the intelligent apparatus synchronization accuracy test philosophy of IEEE1588 agreement as depicted in figs. 1 and 2.Among Fig. 1, time server adopts gps signal as time source, and its output pps pulse per second signal is as the benchmark of test.After time server and tested smart machine stabilizing synchronizing; Obtain pps pulse per second signal input oscilloscope or time test appearance from time server and tested smart machine respectively; Oscilloscope or time test appearance to two-way pulse per second (PPS) compare, the difference between the two-way pps pulse per second signal rising edge is exactly the timing tracking accuracy of tested smart machine.Among Fig. 2; Time test appearance self just adopts gps signal as time source, has benchmark second pulse signal, is incorporated into tester to the pulse per second (PPS) of tested smart machine then; Tester is compared to the pulse per second (PPS) of benchmark pulse per second (PPS) and equipment under test, obtains the timing tracking accuracy of tested smart machine.
The essence of these two kinds of methods is the same, all is based on the principle of pulse per second (PPS) comparison.But this its shortcoming of method based on pulse per second (PPS) comparison principle is also obvious: though the method principle is simple and can accurately measure time precision; But most of intelligent apparatus do not have the pps pulse per second signal output interface in the reality, and this has lost implementation condition with regard to feasible method based on pulse per second (PPS) comparison principle.So for intelligent apparatus, a kind of precision that does not rely on the method test intelligent apparatus of pulse per second (PPS) comparison of necessary searching.
Summary of the invention
The intelligent apparatus timing tracking accuracy method of testing that the purpose of this invention is to provide a kind of IEEE1588 of employing agreement is to solve the timing tracking accuracy method of testing of intelligent apparatus when not having the pulse per second (PPS) output interface that adopts the IEEE1588 agreement.
For realizing above-mentioned purpose, the intelligent apparatus timing tracking accuracy method of testing step of employing IEEE1588 agreement of the present invention is following:
(1) signal generating apparatus is electrically connected with tested intelligent apparatus, time test appearance respectively, tested intelligent apparatus is connected with the optical fiber mode with the time test appearance;
(2) the time test appearance sends the IEEE1588 sync message as master clock to tested smart machine, and it is synchronous that time test appearance and tested intelligent apparatus are set up stabilization time;
(3) signal generating apparatus is to the tested intelligent apparatus and the time test appearance while input switch amount signal of telecommunication;
(4) the time test appearance is caught the timestamp of the switching value signal of telecommunication of input; When intelligent apparatus receives the switching value input electrical signal, catch the switching value timestamp of input, and produce the GOOSE message immediately and send, comprise the timestamp that tested intelligent apparatus is caught in the said GOOSE message to the time test appearance;
(5) the time test appearance receives the GOOSE message that tested intelligent apparatus sends; And the tested intelligent apparatus switching value of extracting in the GOOSE message is stabbed input time; It is poor that switching value stamp input time of this timestamp and time test appearance acquisition self reception is done, and the absolute value of this difference is exactly the time synchronization error of tested intelligent apparatus.
Further, the time test appearance obtains two timestamps in the said step (5), the tested intelligent apparatus timestamp that the switching value that is respectively that the time test appearance self receives is stabbed and from the GOOSE message, extracted input time.
The intelligent apparatus timing tracking accuracy method of testing of employing IEEE1588 agreement of the present invention is utilized the time test appearance, adopts the IEEE1588 agreement to carry out time synchronized; Have switching value input electrical interface and Ethernet optical fiber interface; When the switching value input signal changed, the timestamp when changing switching value through the GOOSE message sent, and the GOOSE message maps directly to link layer and physical layer behind presentation layer; Guarantee the real-time of message transmissions, improved measuring accuracy and real-time.
Description of drawings
Fig. 1 is the test philosophy figure of a kind of intelligent apparatus synchronization accuracy in the prior art;
Fig. 2 is the test philosophy figure of another kind of intelligent apparatus synchronization accuracy in the prior art;
Fig. 3 is the test philosophy figure of the intelligent apparatus synchronization accuracy of embodiment;
Fig. 4 is the test philosophy figure of the intelligent apparatus synchronization accuracy of another embodiment;
Fig. 5 is the method for testing flow chart of embodiment.
Embodiment
GOOSE is that the IEC61850 standard is solution transformer station high-speed traffic demand, especially relaying protection tripping operation message transmission, and a kind of rapid message mechanism that proposes.The GOOSE message maps directly to link layer and physical layer behind presentation layer, can adopt the switched ethernet technology with priority and VLAN sign, has guaranteed the real-time of message transmissions.This point provides technological prerequisite for the timing tracking accuracy test of the intelligent apparatus of employing IEEE1588 agreement.
The method of testing of the intelligent apparatus clock synchronization accuracy that present patent application adopts; Utilize existing time test appearance, promptly can realize the IEEE1588 clock synchronization accuracy test to one type of intelligent apparatus, the characteristic of this type intelligent apparatus is: adopt IEEE1588 to carry out time synchronized; Do not have the pulse per second (PPS) output interface; Have switching value input electrical interface and Ethernet optical fiber interface, when the switching value input signal changed, the timestamp in the time of can changing switching value through the GOOSE message sent.
Fig. 3 is the synchronization accuracy test philosophy figure that the employing IEEE1588 of present patent application embodiment realizes the intelligent apparatus of time synchronized; Signal generating apparatus is connected with electric mode with tested intelligent apparatus; Signal generating apparatus is connected with electric mode with the time test appearance, and tested intelligent apparatus is connected with the optical fiber mode with the time test appearance.
At first, the time test appearance is as master clock, and tested intelligent apparatus is as from clock, and master clock is to sending sync message from clock, after one suitable period, can think this moment tested intelligent apparatus and the time synchronized of master clock stable.Signal generating apparatus is to tested intelligent apparatus and the time test appearance input switch amount signal of telecommunication simultaneously, and the time test appearance has higher timestamp resolution, can obtain accurately switching value and stab t input time 1When tested intelligent apparatus receives the switching value input signal, also can catch accurately switching value and stab t input time 2, tested intelligent apparatus immediately sends the GOOSE message, comprises switching value input correct time in the GOOSE message and stabs t 2The time test appearance receives the GOOSE message that tested intelligent apparatus sends, and from the GOOSE message, extracts t 2The time test appearance can stab t input time through comparing the switching value that self receives then 1With the timestamp t that from the GOOSE message, extracts 2Thereby, calculate time error of test this time of intelligent apparatus | t 1-t 2|.
As shown in Figure 5, present embodiment method of testing idiographic flow is following:
S1, build test environment: signal generating apparatus is electrically connected with tested intelligent apparatus, time test appearance respectively, and tested intelligent apparatus is connected with the optical fiber mode with the time test appearance; The time test appearance is as master clock, and sending IEEE1588 sync message and tested intelligent apparatus, to set up stabilization time synchronous;
S2, signal generating apparatus are to the tested intelligent apparatus and the time test appearance while input switch amount signal of telecommunication;
S3, time test appearance have high timestamp resolution, catch the timestamp of switching value input electrical signal accurately;
S4, when tested intelligent apparatus receives the switching value input electrical signal, can catch accurately switching value and stab input time, and produce the GOOSE message immediately and send, comprise the correct time that intelligent apparatus catches in the GOOSE message and stab to the time test appearance;
S5, time test appearance receive the GOOSE message, and the switching value of extracting in the GOOSE message is stabbed input time;
S6, time test appearance obtain 2 timestamps: switching value stamp input time that self receives and the timestamp that from the GOOSE message, extracts, the absolute value of these two time tolerances are exactly time synchronization error of test this time of intelligent apparatus;
In practical operation, this experiment should be carried out N time, wherein | t 1-t 2| maximum is the timing tracking accuracy that tested intelligent apparatus adopts the IEEE1588 agreement.
Fig. 4 is the test philosophy figure of the another embodiment of present patent application; Compare with Fig. 3; Time test appearance self output switching value output signal, this switching value output signal is input to time test appearance and tested intelligent apparatus simultaneously, and tested intelligent apparatus is connected with the optical fiber mode with the time test appearance simultaneously.Be integrated in the function of signal generating apparatus in the time test appearance among this embodiment, therefore no longer need independent signal generating apparatus, but testing process be identical with first kind of embodiment.
Above-described specific embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely specific embodiment of the present invention; Be not limited to the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (2)

1. intelligent apparatus timing tracking accuracy method of testing that adopts the IEEE1588 agreement is characterized in that the step of this method is following:
(1) signal generating apparatus is electrically connected with tested intelligent apparatus, time test appearance respectively, tested intelligent apparatus is connected with the optical fiber mode with the time test appearance;
(2) the time test appearance sends the IEEE1588 sync message as master clock to tested smart machine, and it is synchronous that time test appearance and tested intelligent apparatus are set up stabilization time;
(3) signal generating apparatus is to the tested intelligent apparatus and the time test appearance while input switch amount signal of telecommunication;
(4) the time test appearance is caught the timestamp of the switching value signal of telecommunication of input; When intelligent apparatus receives the switching value input electrical signal, catch the switching value timestamp of input, and produce the GOOSE message immediately and send, comprise the timestamp that tested intelligent apparatus is caught in the said GOOSE message to the time test appearance;
(5) the time test appearance receives the GOOSE message that tested intelligent apparatus sends; And the tested intelligent apparatus switching value of extracting in the GOOSE message is stabbed input time; It is poor that switching value stamp input time of this timestamp and time test appearance acquisition self reception is done, and the absolute value of this difference is exactly the time synchronization error of tested intelligent apparatus.
2. the intelligent apparatus timing tracking accuracy method of testing of employing IEEE1588 agreement according to claim 1; It is characterized in that: the time test appearance obtains two timestamps in the said step (5), the tested intelligent apparatus timestamp that the switching value that is respectively that the time test appearance self receives is stabbed and from the GOOSE message, extracted input time.
CN201110251613.9A 2011-08-30 2011-08-30 Time synchronization precision test method for intelligent device adopting IEEE1588 protocols Active CN102315985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110251613.9A CN102315985B (en) 2011-08-30 2011-08-30 Time synchronization precision test method for intelligent device adopting IEEE1588 protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110251613.9A CN102315985B (en) 2011-08-30 2011-08-30 Time synchronization precision test method for intelligent device adopting IEEE1588 protocols

Publications (2)

Publication Number Publication Date
CN102315985A true CN102315985A (en) 2012-01-11
CN102315985B CN102315985B (en) 2015-01-07

Family

ID=45428822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110251613.9A Active CN102315985B (en) 2011-08-30 2011-08-30 Time synchronization precision test method for intelligent device adopting IEEE1588 protocols

Country Status (1)

Country Link
CN (1) CN102315985B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611086A (en) * 2012-03-27 2012-07-25 许继集团有限公司 Centralized protection system and method for region distribution network
CN103676734A (en) * 2013-11-30 2014-03-26 许继电气股份有限公司 Intelligent electrical device of master-slave modular structure
CN104836705A (en) * 2015-05-13 2015-08-12 国家电网公司 Method for performing calibration time delay error testing on time delay calibration switch of intelligent substation
CN104883235A (en) * 2015-06-26 2015-09-02 上海远景数字信息技术有限公司 Clock time synchronization precision improving method based on PTP protocol
CN105490797A (en) * 2014-09-17 2016-04-13 珠海优特电力科技股份有限公司 GOOSE mechanism-based signal synchronizing system and method
CN106094495A (en) * 2016-06-15 2016-11-09 国网江苏省电力公司电力科学研究院 Intelligent electronic equipment of transformer substation timing tracking accuracy and the method for testing of punctual precision
CN103746962B (en) * 2013-12-12 2017-01-25 华南理工大学 GOOSE electric real-time message encryption and decryption method
CN106451763A (en) * 2016-08-23 2017-02-22 江苏方天电力技术有限公司 Intelligent substation-level bus network system without requiring global synchronous system
CN111756593A (en) * 2019-03-28 2020-10-09 北京米文动力科技有限公司 Self-testing method and testing method for synchronization precision of time synchronization system
CN112383378A (en) * 2020-10-27 2021-02-19 许继集团有限公司 PTP (precision time protocol) -based substation network device time synchronization detection method and system
CN113507337A (en) * 2021-07-21 2021-10-15 中国第一汽车股份有限公司 Method, device, medium and equipment for determining clock synchronization precision
CN114221731A (en) * 2021-12-09 2022-03-22 北京罗克维尔斯科技有限公司 Time synchronization precision determination method and system and electronic equipment
CN114221731B (en) * 2021-12-09 2024-04-16 北京罗克维尔斯科技有限公司 Time synchronization precision determining method and system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452353A (en) * 2002-04-12 2003-10-29 昂科信息技术(上海)有限公司 Method and device for intelligent allocation of virtual network section of radio local network and transmission of data
WO2003090411A1 (en) * 2002-04-18 2003-10-30 Sarnoff Corporation Methods and apparatus for providing ad-hoc networked sensors and protocols
CN101741139A (en) * 2009-12-28 2010-06-16 广东电网公司电力科学研究院 Method and device thereof for detecting communication state of digital transformer substation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452353A (en) * 2002-04-12 2003-10-29 昂科信息技术(上海)有限公司 Method and device for intelligent allocation of virtual network section of radio local network and transmission of data
WO2003090411A1 (en) * 2002-04-18 2003-10-30 Sarnoff Corporation Methods and apparatus for providing ad-hoc networked sensors and protocols
CN101741139A (en) * 2009-12-28 2010-06-16 广东电网公司电力科学研究院 Method and device thereof for detecting communication state of digital transformer substation

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611086A (en) * 2012-03-27 2012-07-25 许继集团有限公司 Centralized protection system and method for region distribution network
CN103676734A (en) * 2013-11-30 2014-03-26 许继电气股份有限公司 Intelligent electrical device of master-slave modular structure
CN103746962B (en) * 2013-12-12 2017-01-25 华南理工大学 GOOSE electric real-time message encryption and decryption method
CN105490797A (en) * 2014-09-17 2016-04-13 珠海优特电力科技股份有限公司 GOOSE mechanism-based signal synchronizing system and method
CN104836705A (en) * 2015-05-13 2015-08-12 国家电网公司 Method for performing calibration time delay error testing on time delay calibration switch of intelligent substation
CN104883235A (en) * 2015-06-26 2015-09-02 上海远景数字信息技术有限公司 Clock time synchronization precision improving method based on PTP protocol
CN106094495B (en) * 2016-06-15 2018-06-19 国网江苏省电力公司电力科学研究院 The test method of intelligent electronic equipment of transformer substation timing tracking accuracy and punctual precision
CN106094495A (en) * 2016-06-15 2016-11-09 国网江苏省电力公司电力科学研究院 Intelligent electronic equipment of transformer substation timing tracking accuracy and the method for testing of punctual precision
CN106451763A (en) * 2016-08-23 2017-02-22 江苏方天电力技术有限公司 Intelligent substation-level bus network system without requiring global synchronous system
CN106451763B (en) * 2016-08-23 2019-03-19 江苏方天电力技术有限公司 A kind of intelligent substation station level bus network system without global synchronization system
CN111756593A (en) * 2019-03-28 2020-10-09 北京米文动力科技有限公司 Self-testing method and testing method for synchronization precision of time synchronization system
CN112383378A (en) * 2020-10-27 2021-02-19 许继集团有限公司 PTP (precision time protocol) -based substation network device time synchronization detection method and system
CN113507337A (en) * 2021-07-21 2021-10-15 中国第一汽车股份有限公司 Method, device, medium and equipment for determining clock synchronization precision
CN113507337B (en) * 2021-07-21 2022-06-14 中国第一汽车股份有限公司 Method, device, medium and equipment for determining clock synchronization precision
CN114221731A (en) * 2021-12-09 2022-03-22 北京罗克维尔斯科技有限公司 Time synchronization precision determination method and system and electronic equipment
CN114221731B (en) * 2021-12-09 2024-04-16 北京罗克维尔斯科技有限公司 Time synchronization precision determining method and system and electronic equipment

Also Published As

Publication number Publication date
CN102315985B (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN102315985B (en) Time synchronization precision test method for intelligent device adopting IEEE1588 protocols
CN102055544B (en) System and method for synchronously monitoring secondary equipment time of power supply system
CN102833025B (en) E1/Ethernet protocol conversion precise delay computational methods, module and transducer
CN106451763B (en) A kind of intelligent substation station level bus network system without global synchronization system
CN102638324B (en) Method and device for realizing precise time synchronization
CN106547240B (en) A kind of port sample rate can separate configurations site acquisition and control public terminals and method
CN103368137B (en) Multi-terminal self-repairing data synchronization differential protection method based on network self-repairing
WO2012075881A1 (en) Ieee1588-based sampled value multi-interface synchronization system for multiple slave clocks
CN108872910B (en) Timing system and method for online verification of power quality monitoring device
CN102201983A (en) Method, terminal and system for measuring asymmetric time delay of transmission link
CN102315928B (en) Test method of IED network clock synchronization precision based on GOOSE mechanism
CN103812593B (en) High precision distribution type fiber-optic clock synchronization system
CN110649579A (en) Differential protection method and device based on wireless communication
CN104579623A (en) Network time-setting system and method for secondary equipment of electric power system
CN104468014A (en) Method for improving time synchronization precision under complex network environment
CN102917284A (en) Precise clock synchronization method based on PON (Passive Optical Network) system
CN207884639U (en) A kind of network node, temporal noise transmission characteristic measuring device and synchronous communication network
CN103178920A (en) Multi-channel synchronization method in test system of digital transformer substation
CN103051487B (en) Electrically-based industry network measure and the method for testing of control system clock synchronization protocol
CN106549822B (en) Method and device for testing response time of time synchronization message and test equipment
CN103399264A (en) Online monitoring and positioning system for local discharge of high-voltage cable
CN106341744B (en) A kind of system and method for testing synchronous passive optical network synchronizing characteristics
CN105472483A (en) Passive optical network data collection method based on secondary sampling
CN204190778U (en) The point-to-point optical fiber time synchronizer of a kind of high accuracy
CN112383378A (en) PTP (precision time protocol) -based substation network device time synchronization detection method and 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
C14 Grant of patent or utility model
GR01 Patent grant