CN106656395A - Improved system and method for synchronous time measurement in power grid based on self-learning - Google Patents
Improved system and method for synchronous time measurement in power grid based on self-learning Download PDFInfo
- Publication number
- CN106656395A CN106656395A CN201710006019.0A CN201710006019A CN106656395A CN 106656395 A CN106656395 A CN 106656395A CN 201710006019 A CN201710006019 A CN 201710006019A CN 106656395 A CN106656395 A CN 106656395A
- Authority
- CN
- China
- Prior art keywords
- time
- network
- message
- request message
- clock
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0641—Change of the master or reference, e.g. take-over or failure of the master
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0682—Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses an improved system and method for synchronous time measurement in a power grid based on network self-learning and mainly solves a problem of large impact probability of a 1588 synchronous protocol delay request message in a grid network and other messages in the grid network. A self-learning module is added into the original synchronous measurement system, all kinds of network messages are received through the network, the arrival time of the messages is recorded, and the optimal sending time of the delay request message of a synchronous module is computed and arranged, so that the impact probability of the delay request message and other messages in the network is reduced. The synchronous measurement method is that a network self-learning function is added on the original 1588 synchronous protocol, a self-learning method learns an arrival rule of other messages of the network, computing the optimal sending time of the delay request message and controls the 1588 synchronous protocol module to send the delay request message at the computed optimal sending time of the delay request message, so that the impact probability of the delay request message and other messages is reduced, the synchronous measurement precision in the power grid is improved and the delay of other messages of the network is reduced.
Description
Technical field
The present invention relates to technical field of communication network, more particularly to a kind of power grid time is judged by self-learning method realization
Synchro measure postpones request message and sends time method, specifically a kind of to be based on the improved power grid time synchro measure system of self study
System and method.Postpone request message and other message collision probability problems of too of electrical network in for solving electrical network during synchro measure,
By synchronized certainty of measurement and reduce electrical network other message delays.
Background technology
China's electrical network has tentatively built up with large-sized unit, wants the modernization of feature large-scale based on automation and super-pressure unit
Network system, it is various to communicate and the automation based on computer technology in order to ensure the safety of electrical network and the operation of economy
Device is widely used, and such as power failure recorder, synchronized phase measurement device, dispatching automation device, transformer station calculate
Machine monitoring system and thermal power plant turbine unit automatic control system etc..The normal work and use of these devices be unable to do without unified the whole network
Time synchronized.Additionally, all carrying real-time clock inside various microcomputer type devices, constant error during its operation cannot be avoided, with
The increase of run time, accumulated error will be increasing, so as to cannot correctly calculate the time, therefore, also require that by outer
Periodically input makes its time synchronized to portion's time source.
With the development of IT technologies, possibility is become for electrical network time service by network, current NTP is main
There is two kinds of NTP and PTP based on 1588 agreements.
NTP (Network Time Protocol) is the agreement for being designed to each computer time in synchronizing network, its
Up to 0.1ms in LAN, on the internet its precision can reach 1-50ms to synchronization accuracy where the overwhelming majority.
PTP (Precision Time Protocol) precision time protocol, with respect to NTP, PTP improves the synchronous essence of equipment
Degree, its synchronization accuracy can reach delicate (us) level.PTP protocol has 4 kinds of type of messages, including sync message, follows message, postpones
Request message and delayed response message.
Existing synchronized procotol commonly uses the PTP protocol of 1588 agreements, but does not consider PTP messages with electricity
Impact in net between other network messages.Because other messages in network are random arrival, therefore existing method cannot
Other message arrival times in prediction network, limited by the network bandwidth, in practical application, when PTP messages and other networks of electrical network
The delay that sync message or network message are likely to cause during message collisions does not know, and will also result in other network messages and postpones to increase
Plus.
The content of the invention
It is an object of the invention to provide a kind of improved power grid time synchronized measurement system based on network self study, real
The collision of sync message and other network messages of electrical network is reduced on the premise of not affecting each node synchronization accuracy of electrical network now.
The present invention is a kind of based on the improved power grid time synchronized measurement system of network self study, and electrical network infrastructure device includes
Fault wave recording device, synchronized phase measurement device, dispatching automation device, transformer substation computer monitoring device and power plant units
Automaton, these equipment are referred to as Devices to test, and Devices to test is connected to 1588 protocol time synchronizations by switch
In module, by 1588 protocol time synchronizations, 1588 agreements include the master clock in network and from clock to electrical network, during 1588 agreement
Between synchronization module by switch network interface as synchronous with the master clock in electrical network from clock, it is characterised in that 1588
Self study measuring apparatus module is attached with protocol time synchronization module, self study measuring apparatus module obtains net by switch
Network other messages, while being recorded come each Devices to test of automatic network by time output interface on 1588 protocol time synchronization modules
Other message arrival times, calculate in improved 1588 protocol sync message postpone request message the optimal transmission time,
By configuring output interface, 1588 protocol time synchronization modules are set and postpone the request message transmission time, 1588 protocol times are same
Step module sends when the optimal transmission time and postpones request message, synchronous with master clock by network interface, reduces and postpones to ask
Message and the collision probability of other messages in electrical network, realize more accurate network time synchronization.
The present invention or one kind are based on the improved power grid time method for synchronously measuring of network self study, it is characterised in that bag
Following steps are included:
(1) in network transmission, 1588 protocol sync messages transmitted, follow message, postpone request message and postpone request and ring
Answer message, and the network of each Devices to test output other messages;
(2) other messages of network reach self study measuring apparatus module by switch, while self study measuring apparatus mould
Block also reads the arrival time of other messages of network by 1588 protocol time synchronization module time output interfaces, and arrives for all
Other messages for reaching stamp timestamp and are transmitted to next node;
(3) when self study measuring apparatus module records and stores a period of time interior all other messages of arrival and its reaches
Between, by self-learning method according to other message arrival times in described a period of time and time difference probability distribution, calculate
Optimal PTP postpones request message and sends the time;
(4) 1588 protocol time synchronization modules postpone according to the calculated optimal PTP of self study measuring apparatus module please
Message time is sought, postpones to send delay request using mode of unicast to network master clock on request message time point in optimal PTP
Message reduces postponing the collision probability of request message and other messages of network, 1588 protocol time synchronization module meters to master clock
Calculate the time error from clock and master clock, and eliminate time error, after 1588 protocol time synchronization module error concealments with
Master clock synchronization, updates local zone time, from clock and master clock it is stably synchronous before time-out record other messages arrival time;
(5) from clock and master clock keep it is stable it is synchronous after, return to step 2, self study measuring apparatus module is opened again
Record begin constantly from other messages of each Devices to test and its arrival time, and according to its arrival time data for the previous period
Constantly update and calculate the optimal PTP delays request message transmission time, send PTP in Best Times and postpone request message, to reduce
PTP postpones the probability of other network messages collisions of request message and electrical network, reduces synchronous error.
Compared with prior art, Fa Benming advantages
1. postpone request message in traditional power grid time synchronization system easily to collide with other messages in electrical network, cause synchronous mistake
Difference increase, electrical network other message delays increase, the present invention is additionally arranged self study measuring apparatus mould on original 1588 protocol module
Block, with self study measuring apparatus module other message arrival times of network are recorded, and are calculated optimal delay request message and are sent the time,
And time transmission delay request message is sent in optimal delay request message, reduce postponing request message with other messages in electrical network
Collision probability, it is possible to decrease the delay of disparate networks signal in electrical network, improves timing tracking accuracy.
2. compared with common 1588 agreement, the present invention only changes and postpones the request message transmission time, will not according to 1588 views
Reduce synchronization accuracy of 1588 agreements from clock.The present invention can optimize the time synchronized measurement system in electrical network.
3. the self study measuring apparatus module of the present invention can be to be realized, by interface and 1588 agreements with FPGA circuitry mode
Time synchronized module is connected by interface, while being connected with switch by network interface, with low cost, installs configuration simply
Advantage.
Description of the drawings
Fig. 1 is that the system of the present invention constitutes schematic diagram;
Fig. 2 is the composition schematic diagram of the self study measuring apparatus module of the present invention;
Fig. 3 is the method for synchronously measuring schematic diagram of the present invention;
Fig. 4 is the improved 1588 agreement schematic diagram of the present invention.
Specific embodiment
Existing synchronized procotol commonly uses PTP protocol, but does not consider PTP messages with other nets in electrical network
, there is other messages of network and the mutual collision problem of sync message in the impact between network message.To realize the object of the invention, technology
Scheme and advantage become more apparent, and with reference to the accompanying drawings the present invention is described in detail.
Embodiment 1
The present invention is a kind of based on the improved power grid time synchronized measurement system of network self study, and electrical network infrastructure device includes
Fault wave recording device, synchronized phase measurement device, dispatching automation device, transformer substation computer monitoring device and power plant units
Automaton etc., the said equipment is referred to as Devices to test, and Devices to test is connected to 1588 agreements each via switch
In time synchronized module, 1588 protocol time synchronization module abbreviation synchronization modules, electrical network by 1588 protocol time synchronizations, 1588
Agreement include network in master clock with from clock, 1588 protocol time synchronization modules by switch network interface be used as from when
Clock is synchronous with the master clock in electrical network, and referring to Fig. 1, the present invention is attached with self study measurement on 1588 protocol time synchronization modules
EM equipment module, self study measuring apparatus module abbreviation self-learning module.Self study measuring apparatus module obtains net by switch
Network other messages, while being recorded come each Devices to test of automatic network by time output interface on 1588 protocol time synchronization modules
Other message arrival times, calculate in improved 1588 protocol sync message postpone request message the optimal transmission time,
By configuring output interface, 1588 protocol time synchronization modules are set and postpone the request message transmission time, 1588 protocol times are same
Step module sends when the optimal transmission time and postpones request message, synchronous with master clock by network interface, reduces and postpones to ask
Message and the collision probability of other messages in electrical network, realize more accurate network time synchronization.
As the 1588 protocol time synchronization modules from clock in the present invention, most preferably send out in the delay request message for calculating
Send when sending the time and postpone request message, due to having learnt network other arrival time interval of message probability by self-learning method
Distribution, therefore delay request message and other message collision probabilities of network can be reduced, synchronized precision is improved, here it is this
The bright improvement for 1588 synchronous protocols based on network system.
From for the angle of practical application, the present invention is attached with self study measurement and sets on 1588 protocol time synchronization modules
When standby module, sync message and network other messages pass through switch, self study measuring apparatus module receives network other messages,
And other network messages arrival time is obtained by 1588 protocol time synchronization module time output interfaces, constantly record and storage
Other messages of network and its arrival time, by self-learning method, according to the arrival time calculating of other messages of the network of storage
Go out optimal delay request message and send the time, and 1588 protocol time synchronization modules are set in the optimal delay request message for calculating
The transmission time sends and postpones request message.Send and postpone request message due to sending the time in optimal delay request message, can be with
Reduce the collision probability for postponing request message and other messages of network.
It is synchronous with master clock by network interface, the collision probability for postponing request message and other messages in electrical network is reduced,
Realize more accurate network time synchronization.
Embodiment 2
Overall based on the improved power grid time synchronized measurement system of network self study is constituted with embodiment 1, and self study is surveyed
Amount EM equipment module is interacted with 1588 protocol time synchronization module data double-ways, and self-learning module connects network by network interface,
It is connected with each Devices to test by time output interface, self-learning module receives network other messages by network interface, while
Other message arrival times of network are read by time output interface and is recorded.And other messages are arrived according to the Devices to test of record
Up to the time, the delay in precision time protocol (PTP) message is predicted and calculated by machine learning, data mining and statistical analysis
Request message most preferably sends the time, sends PTP in Best Times and postpones request message to the master clock in network, to reduce PTP
Postpone the probability of other network messages collisions of request message and electrical network, reduce synchronous error.
Self study process can use machine learning, the data mining algorithms such as C4.5 algorithms, EM algorithm in the present invention,
Predict that optimal delay request message sends the time according to other message arrival times of network by probability statistics.
Embodiment 3
Overall based on the improved power grid time synchronized measurement system of network self study is constituted with embodiment 1-2, self study
Measuring apparatus module can realize that, referring to Fig. 2, self study measuring apparatus module uses FPGA in this example by FPGA circuitry or computer
Realize.Memory cell, computing unit are provided with self study measuring apparatus module, wherein, memory cell connection network interface is received
Network message, network message arrival time and stored messages are obtained by time input interface from 1588 protocol time synchronization modules
Arrival time data.Computing unit is connected with memory cell, reads the message arrival time data of memory cell and is calculated
Optimal delay request message sends the time, and computing unit arranges improved 1588 protocol time synchronization mould by configuring output interface
Block postpones request message and sends the time.
During work, self-learning module is connected by network interface with the switch in network, is input into network message, meanwhile,
Self study measuring apparatus module obtains network message arrival time by time input interface, is that network message stamps timestamp,
Computing unit calculates optimal delay request message and sends the time according to the network message arrival time data that memory cell is stored,
And by postponing the delay request message that request message sends the time and configures output interface 1588 protocol time synchronization modules of setting
The transmission time.
Embodiment 4
The present invention or it is a kind of be based on the improved power grid time method for synchronously measuring of network self study, be it is above-mentioned based on
Realize in the improved power grid time synchronized measurement system of network self study, referring to Fig. 3, include following steps:
(1) in network transmission, 1588 protocol sync messages transmitted, follow message, postpone request message and postpone request and ring
Answer message, and the network of each Devices to test output other messages;
(2) other messages of network reach self study measuring apparatus module by switch, while self study measuring apparatus mould
Block also reads the arrival time of other messages of network by 1588 protocol time synchronization module time output interfaces, and arrives for all
Other messages for reaching stamp timestamp and are transmitted to next node;
(3) when self study measuring apparatus module records and stores a period of time interior all other messages of arrival and its reaches
Between, by self-learning method according to other message arrival times in described a period of time and time difference probability distribution, calculate
Optimal PTP postpones request message and sends the time;In this example, a period of time value is 4 minutes.
(4) 1588 protocol time synchronization modules postpone according to the calculated optimal PTP of self study measuring apparatus module please
Message time is sought, postpones to send delay request using mode of unicast to network master clock on request message time point in optimal PTP
Message reduces postponing the collision probability of request message and other messages of network to master clock, forms improved 1588 agreement.1588
Protocol time synchronization module calculates the time error from clock and master clock, and eliminates time error, and 1588 protocol times are same
It is synchronous with master clock after step module error concealment, update local zone time, from clock and master clock it is stably synchronous before time-out record
Other message arrival times.
(5) from clock and master clock keep it is stable it is synchronous after, i.e., when fluctuating error scope is less than consensus standard, return step
Rapid 2, self study measuring apparatus module restarts constantly record from other message arrival times of each Devices to test, and according to it
Arrival time data for the previous period are constantly updated and calculate the optimal PTP delays request message transmission time, are sent out in Best Times
Send PTP to postpone request message, to reduce the probability that PTP postpones other network messages collisions of request message and electrical network, reduce synchronous
Error.
In brief, referring to Fig. 3, self study measuring apparatus module has specifically included following steps when working:
1) other messages of network enter self study measuring apparatus module by switch network interface.
2) self study measuring apparatus module by 1588 protocol time synchronization module time output interfaces obtain network other
Message arrival time is simultaneously stored in memory cell.
3) a period of time Intranet of the self study measuring apparatus module computing module according to storage after a period of time data is stored
Other message arrival times of network calculate optimal delay request message and send the time.
4) self study measuring apparatus module controls 1588 protocol time synchronization modules in optimal delay request transmission time
Delay request message is sent, it is synchronous with master clock, and temporarily cease and record other network messages arrival time.
5) 1588 protocol time synchronization modules and master clock keep it is stable it is synchronous after self study measuring apparatus module open again
Beginning records other messages arrival time.
6) self study measuring apparatus module persistently calculates renewal optimal delay request transmission time, controls 1588 protocol times
Synchronization module sends in the optimal delay request transmission time for calculating and postpones request message.
Embodiment 5
Based on the improved power grid time method for synchronously measuring of network self study with embodiment 4, a period of time described in step 3
Value is in 3-5 minutes.According to all kinds of message frequencies in electrical network, setting 3-5 minutes can fully learn in electrical network for the self study time
The periodicity of all kinds of messages sends rule.In this example, a period of time value is 3 minutes.
Embodiment 6
Based on the improved power grid time method for synchronously measuring of network self study with embodiment 4-5, described in step 3 by from
Learning method is specifically included according to other message arrival time distributions in described a period of time:
3.1) other message arrival times of network in self-learning method record a period of time;
3.2) each other arrival time interval of message probability distribution of Devices to test each two network are counted;
3.3) according to other arrival time interval of message probability distribution, the less time interval of distribution probability is chosen;
3.4) plus the less time interval of distribution probability chosen were obtained into optimal PTP last message arrival time to postpone
Request message sends the time.
Self study measuring apparatus module completes optimal delay request message and sends time series analysis by above-mentioned steps, obtains
Optimal delay request message sends the time.
Embodiment 7
Based on the improved power grid time method for synchronously measuring of network self study with embodiment 4-6,1588 described in step 4
Protocol time synchronization module eliminates synchronous with master clock after time error, updates the process of local zone time and includes:
4.1. master clock periodically sends sync message to from clock initially with multicast;
4.2 be then followed by master clock send follow message give from clock, this follows in message and is sent comprising sync message
When precise time timestamp value;
4.3 receive sync message and write down the timestamp value of reception from clock;
4.4 from clock using mode of unicast optimal delay request message send the time send delay request message to it is main when
Clock, and write down the timestamp value for sending, optimal delay request message send the time be from clock other messages of last network to
Up to the time plus the less time interval of distribution probability chosen;
The present invention employs self study mode in this step and improves 1588 agreements in electrical network, during the last period for having learnt
Between network other messages reach rules, change delay request message and send the time, reduce delay request message and network
The collision probability of other messages.
4.5 master clocks are received after delay request message, write down the timestamp value of reception, and produce delay request response therewith
Message is fed back to from clock, and the response message includes the reception timestamp value for postponing request message;
4.6 it is last calculated by synchronized algorithm according to the time values of this four records from clock it is inclined with the time of master clock
Difference, so as to adjust the local zone time from clock according to time deviation, to realize from clock and the time synchronized of master clock.
The synchronizing process based on improved 1588 agreement of self-learning method is further illustrated with reference to Fig. 4:
(1) master clock sends first sync message to from clock, and records transmission time t1;
(2) sync message time t2 is received from clock log
(3) master clock send follow message to from clock, follow message include time t1;
(4) from clock receive sync message and follow after message self-learning module calculate Best Times send postpone please
Seek message;
(5) master clock record receives delay request message time t3;
(6) master clock sends and postpones request response message to from clock, and delay request response message includes time t1;
Time t1, t2, t3 and t4 are obtained from clock after the completion of above-mentioned steps, by formula OFFSET=(t1-t2+t3-
T4 error OFFSET between master-salve clock)/2 is obtained, and is corrected synchronous with master clock from clock time.
Compared with common 1588 agreement, the present invention only changes and postpones the request message transmission time, according to 1588 agreement formula
OFFSET=(t1-t2+t3-t4)/2, does not result in agreement mistake in computation, will not reduce synchronous essence of 1588 agreements from clock
Degree.
Embodiment 8
Based on the improved power grid time synchronized measurement system of network self study and method with embodiment 1-7, the base of the present invention
Can also describe from another angle in the improved power grid time synchronized measurement system of network self study, i.e., including Devices to test and
Measuring apparatus.
A. Devices to test module
Devices to test module includes fault wave recording device, synchronized phase measurement device, dispatching automation device, transformer station's meter
The electrical network infrastructure device such as machine monitoring device and power plant units automaton is calculated, electricity grid network message is exported.
B. measuring apparatus module, including:
(B1) 1588 protocol time synchronization module:It is synchronous with PTP master clocks by 1588 agreements, it is that electrical network other equipment is carried
For precision clock source.
(B2) self study measuring apparatus module:For log history network message arrival time, and by machine learning, number
According to excavating and the method such as statistical analysis prediction PTP postpones request message and most preferably sends the time, with reduce PTP postpone request message and
The probability of electrical network other network messages collision.
Comprised the following steps based on the improved power grid time method for synchronously measuring of network self study:
(1) in network transmission, 1588 protocol sync messages transmitted, follow message, postpone request message and postpone request and ring
Answer message, and the network of each Devices to test output other messages.
(2) network comprising time synchronized message other messages reach self study measuring apparatus modules, and self study measurement sets
Standby module reads other message arrival times of network and arrives for all by 1588 protocol time synchronization module time output interfaces
Other messages for reaching stamp timestamp and are transmitted to next node.
(3) all arrival times for reaching other messages in self study measuring apparatus module record a period of time, by certainly
Learning method calculates optimal PTP and postpones request message according to its other interior for the previous period message arrival time distribution
Send the time.In this example, a period of time value is 5 minutes.
(4) self study measuring apparatus module is adopted according to the optimal PTP delay request message times for calculating to network master clock
Sent with mode of unicast and postpone request message to master clock, self study measuring apparatus module is calculated from clock according to 1588 agreements
With the time error of master clock, 1588 protocol time synchronization modules eliminate synchronous with master clock after time error, when updating local
Between, from clock and master clock it is stably synchronous before suspend and record other messages arrival time.
(5) from clock and master clock keep it is stable it is synchronous after, return to step 2 restarts by 1588 protocol times
Synchronization module time output interface is constantly recorded from other message arrival times of each Devices to test, and according to it for the previous period
Arrival time data constantly update to calculate optimal PTP and postpone request message and send the time, sending that PTP postpones with Best Times please
Message is sought, to reduce the probability that PTP postpones other network messages collisions of request message and electrical network, synchronous error is reduced.
In sum, the improved power grid time synchronized measurement system and side based on network self study disclosed by the invention
Method, mainly solves 1588 synchronous protocols delay request message in electricity grid network excessive with other message collision probabilities in electricity grid network
Problem.The present invention sets up self-learning module in original synchronized measurement system, and by network disparate networks message, record report are received
Literary arrival time, calculate and arrange synchronization module optimal delay request message and send the time, to reduce request message and net are postponed
The collision probability of network other messages.Method for synchronously measuring is:Network self study is increased on the basis of original 1588 synchronous protocol
Function, with self-learning method learning network, other messages reach rule, calculate optimal delay request message and send the time, and control
1588 protocol synchronization modules send time transmission and postpone request message in the optimal delay request message for calculating, and reduce and postpone request
The collision probability of message and network other messages, can improve synchro measure precision in electrical network, and reduce network other messages when
Prolong.
Claims (7)
1. a kind of to be based on the improved power grid time synchronized measurement system of network self study, electrical network infrastructure device is filled including failure wave-recording
Put, synchronized phase measurement device, dispatching automation device, transformer substation computer monitoring device and power plant units automatically control dress
Put, these equipment are referred to as Devices to test, Devices to test is connected on 1588 protocol time synchronization modules by switch, electrical network
By 1588 protocol time synchronizations, 1588 agreements include the master clock in network and from clock, 1588 protocol time synchronization modules
By switch network interface as synchronous with the master clock in electrical network from clock, it is characterised in that same in 1588 protocol times
Self study measuring apparatus module is attached with step module, self study measuring apparatus module obtains network by switch, and other are reported
Text, while being recorded come other reports of each Devices to test of automatic network by time output interface on 1588 protocol time synchronization modules
Literary arrival time, the optimal transmission time for postponing request message in improved 1588 protocol sync message is calculated, by configuring
Output interface, arrange 1588 protocol time synchronization modules postpone request message send the time, 1588 protocol time synchronization modules in
Send during the optimal transmission time and postpone request message, it is synchronous with master clock by network interface, reduce and postpone request message and electricity
The collision probability of other messages in net, realizes more accurate network time synchronization.
2. according to claim 1 based on the improved power grid time synchronized measurement system of network self study, it is characterised in that
Self study measuring apparatus module is counted on up to time interval probability according to other message arrival times of Devices to test of record, is led to
The delay request message crossed in machine learning, data mining and statistical analysis calculating precision time protocol (PTP) message is most preferably sent out
The time is sent, request message is postponed to the master clock in network in the optimal time transmission PTP that sends.
3. according to claim 1 based on the improved power grid time synchronized measurement system of network self study, it is characterised in that
Memory cell, computing unit are provided with self study measuring apparatus module, wherein, memory cell connection network interface receives network report
Text, when obtaining network message arrival time and stored messages from 1588 protocol time synchronization modules by time input interface and reaching
Between data;Computing unit is connected with memory cell, reads the message arrival time data of memory cell and is calculated and most preferably prolongs
Late request message sends the time, and computing unit arranges improved 1588 protocol time synchronization module delay by configuring output interface
Request message sends the time.
4. it is a kind of to be based on the improved power grid time method for synchronously measuring of network self study, it is characterised in that to include following steps:
(1) in network transmission, 1588 protocol sync messages transmitted, follow message, postpone request message and postpone request response and report
Text, and network other messages of each Devices to test output;
(2) other messages of network reach self study measuring apparatus module by switch, while self study measuring apparatus module is also
Read the arrival time of network other messages by 1588 protocol time synchronization module time output interfaces, and for all arrival
Other messages stamp timestamp and are transmitted to next node;
(3) self study measuring apparatus module records and stores all other messages of arrival and its arrival time in a period of time, leads to
Self-learning method is crossed according to other message arrival times in described a period of time and time difference probability distribution, is calculated optimal
PTP postpones request message and sends the time;
(4) 1588 protocol time synchronization modules postpone request report according to the calculated optimal PTP of self study measuring apparatus module
The literary time, postpone to send delay request message using mode of unicast to network master clock on request message time point in optimal PTP
To master clock, reduce postponing the collision probability of request message and other messages of network, 1588 protocol time synchronization modules are calculated
From the time error of clock and master clock, eliminate time error, after 1588 protocol time synchronization modules and error concealment with it is main when
Clock synchronization, updates local zone time, from clock and master clock it is stably synchronous before time-out record other messages arrival time;
(5) from clock and master clock keep it is stable it is synchronous after, return to step 2, self study measuring apparatus module restarts not
Disconnected record is constantly updated from other message arrival times of each Devices to test according to its arrival time data for the previous period
Calculate optimal PTP and postpone the request message transmission time, send PTP in Best Times and postpone request message.
5. the improved power grid time method for synchronously measuring based on network self study according to claim 4, its feature exists
In a period of time value described in step 3 is in 3-5 minutes.
6. the improved power grid time method for synchronously measuring based on network self study according to claim 4, its feature exists
In, being distributed according to its other interior for the previous period message arrival time by self-learning method described in step 3, concrete bag
Include:
Other message arrival times of network in 3.1 self-learning methods record a period of time;
Each other arrival time interval of message probability distribution of Devices to test each two network of 3.2 statistics;
3.3 according to other arrival time interval of message probability distribution, choose the less time interval of distribution probability;
Last message arrival time is obtained optimal PTP by 3.4 plus the less time interval of distribution probability chosen postpones request
Message sends the time.
7. the improved power grid time method for synchronously measuring based on network self study according to claim 4, its feature exists
In 1588 protocol time synchronization modules described in step 4 eliminate synchronous with master clock after time error, update local zone time
Process includes:
4.1. master clock periodically sends sync message to from clock initially with multicast;
4.2 master clocks send and follow message to from clock, and this follows precise time when sending comprising sync message in message to stab
Value;
4.3 receive sync message and write down the timestamp value of reception from clock;
4.4 send delay request message to master clock using mode of unicast from clock in the optimal delay request message transmission time,
And write down the timestamp value for sending, optimal delay request message send the time be from clock when last network other messages are reached
Between plus choose the less time interval of distribution probability;
4.5 master clocks are received after delay request message, write down the timestamp value of reception, and produce delay request response message therewith
Feed back to from clock, the response message includes the reception timestamp value for postponing request message;
4.6 it is last time deviation with master clock is calculated by synchronized algorithm according to the time values of this four records from clock, from
And the local zone time from clock is adjusted according to time deviation, to realize from clock and the time synchronized of master clock.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710006019.0A CN106656395B (en) | 2017-01-05 | 2017-01-05 | Based on the improved power grid time synchronized measurement system of self study and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710006019.0A CN106656395B (en) | 2017-01-05 | 2017-01-05 | Based on the improved power grid time synchronized measurement system of self study and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656395A true CN106656395A (en) | 2017-05-10 |
CN106656395B CN106656395B (en) | 2018-12-18 |
Family
ID=58844160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710006019.0A Active CN106656395B (en) | 2017-01-05 | 2017-01-05 | Based on the improved power grid time synchronized measurement system of self study and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656395B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679133A (en) * | 2017-09-22 | 2018-02-09 | 电子科技大学 | A kind of method for digging for being practically applicable to the real-time PMU data of magnanimity |
CN109171725A (en) * | 2018-08-14 | 2019-01-11 | 上海联影医疗科技有限公司 | Magnetic resonance signal synchronous method and magnetic resonance system |
US11467241B2 (en) | 2018-08-14 | 2022-10-11 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for signal synchronization in MRI device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447861A (en) * | 2008-12-29 | 2009-06-03 | 中兴通讯股份有限公司 | IEEE 1588 time synchronization system and implementation method thereof |
CN101631080A (en) * | 2009-08-14 | 2010-01-20 | 重庆邮电大学 | Industrial Ethernet switch based on EPA protocol and message forwarding method |
CN103580846A (en) * | 2013-08-23 | 2014-02-12 | 北京东土科技股份有限公司 | Method and system for transmitting precision clock message by spanning non-1588 network |
WO2016110084A1 (en) * | 2015-01-06 | 2016-07-14 | 中兴通讯股份有限公司 | Method, device and system for precision time protocol time synchronization in aggregation network |
CN106301996A (en) * | 2015-06-26 | 2017-01-04 | 中国移动通信集团公司 | The method and device that a kind of PTP message is tested automatically |
-
2017
- 2017-01-05 CN CN201710006019.0A patent/CN106656395B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447861A (en) * | 2008-12-29 | 2009-06-03 | 中兴通讯股份有限公司 | IEEE 1588 time synchronization system and implementation method thereof |
CN101631080A (en) * | 2009-08-14 | 2010-01-20 | 重庆邮电大学 | Industrial Ethernet switch based on EPA protocol and message forwarding method |
CN103580846A (en) * | 2013-08-23 | 2014-02-12 | 北京东土科技股份有限公司 | Method and system for transmitting precision clock message by spanning non-1588 network |
WO2016110084A1 (en) * | 2015-01-06 | 2016-07-14 | 中兴通讯股份有限公司 | Method, device and system for precision time protocol time synchronization in aggregation network |
CN106301996A (en) * | 2015-06-26 | 2017-01-04 | 中国移动通信集团公司 | The method and device that a kind of PTP message is tested automatically |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679133A (en) * | 2017-09-22 | 2018-02-09 | 电子科技大学 | A kind of method for digging for being practically applicable to the real-time PMU data of magnanimity |
CN107679133B (en) * | 2017-09-22 | 2020-01-17 | 电子科技大学 | Mining method applicable to massive real-time PMU data |
CN109171725A (en) * | 2018-08-14 | 2019-01-11 | 上海联影医疗科技有限公司 | Magnetic resonance signal synchronous method and magnetic resonance system |
US11467241B2 (en) | 2018-08-14 | 2022-10-11 | Shanghai United Imaging Healthcare Co., Ltd. | Systems and methods for signal synchronization in MRI device |
Also Published As
Publication number | Publication date |
---|---|
CN106656395B (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105450384A (en) | Synchronous clock time synchronization apparatus for communication module | |
CN102421187B (en) | High-accuracy clock synchronization method of wireless sensor network | |
CN100414466C (en) | Multi-event sequential recording and testing system | |
CN105450323B (en) | A kind of SOE time synchronization control methods and system | |
CN101958785B (en) | Transfer time difference-based numerical control system on-site bus time synchronization method and device | |
US20060069939A1 (en) | Device in a modularized system for effecting time-stamping of events/reference events | |
CN110798276B (en) | Time synchronization method and system for SDN (software defined network) of intelligent substation | |
CN106961312B (en) | A kind of structure of network instrument clock synchronization system and method | |
CN102104475A (en) | IEEE 1588-based synchronization system and synchronization method thereof | |
US20220413474A1 (en) | Control system | |
CN103378993A (en) | Slave clock monitoring method based on PTP | |
CN101697502A (en) | Method for precisely synchronizing wireless sensor network under coal mine | |
CN103929293A (en) | Asymmetrically-delayed time synchronization method and system | |
CN108599888A (en) | A kind of distributed network clock synchronizing system | |
CN110380923B (en) | In-situ component protection ring network testing device | |
CN109150357A (en) | The method for synchronizing time of hybrid bus based on RS485 and Ethernet | |
CN106656395B (en) | Based on the improved power grid time synchronized measurement system of self study and method | |
CN107276709B (en) | A kind of method for synchronizing time and system | |
CN105743598A (en) | Industrial Ethernet clock synchronization method and system | |
CN112003768B (en) | Multi-node test system and method for executing multi-node test | |
CN104243079A (en) | Microsecond clock synchronization method for real-time Ethernet | |
CN108957231B (en) | Distributed system and method for data interaction between host machine and submachine of distributed system | |
CN202353572U (en) | Institute of Electrical and Electronic Engineers (IEEE) 1588 time synchronization system for electronic type mutual inductor merging units | |
CN103647614A (en) | Method for reliably improving time synchronization precision based on IEEE1588 protocol | |
CN105553593B (en) | One kind is based on many time source PTP data syn-chronizations of SDH and time monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |