Master-slave equipment time synchronization method

A device and master-slave technology, which is applied in the field of time synchronization of master and slave devices based on the same time source, can solve the problems of large time system error and the inability of communication channels to transmit business data, etc., and achieve the effect of reducing resource consumption

Pending Publication Date: 2020-11-20
SHIJIAZHUANG KE ELECTRIC
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the deviation of the crystal oscillator itself, the error of the time system of the device will gradually increase over time. If this problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Master-slave equipment time synchronization method
  • Master-slave equipment time synchronization method

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0046] A time synchronization method of a master-slave device, based on the completion of a time synchronization master station and a plurality of slave devices, and a satellite timing service device is set in the time synchronization master station; the time synchronization master station broadcasts a time synchronization command every T milliseconds, and the time synchronization command contains Current timestamp, time synchronization command received from the device. In this embodiment, T=120 milliseconds.

[0047] see figure 1 , This embodiment is a fault locating device for power distribution products: a transient recording type fault indicator. One of the core functions of this product is to record the ABC three-phase waves at the moment when the transmission line fails, and has a good effect on the three-phase synchronization. requirements, so that the master station can make fault judgment after receiving the waveform.

[0048] This product requires that the three-p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a master-slave equipment time synchronization method, belongs to the field of computer application, and relates to a synchronization method of sampling data, in particular to atime synchronization method of the master and slave equipment according to the same time source. The method is applied to a transient recording type fault indicator. A time synchronization main station broadcasts a time synchronization command every T milliseconds, and the time synchronization command comprises a current timestamp. The time synchronization main station adjusts a count value in alocal timer according to the difference of the continuous timestamps and the difference of the local time for sending the timestamps; and the slave device receives the time synchronization command, calculates the difference between the time stamps and the local time interval according to the interval between the continuously received time stamps and the local time interval, and adjusts the count value in the local timer according to the difference, thereby achieving the purpose of real-time dynamic tracking time synchronization. By adopting the scheme provided by the invention, the crystal oscillator oscillation count within a certain time is adjusted by taking the timestamp as a reference, the local clocks of the slave equipment are finely adjusted to be synchronous with the host, the clock synchronization of the plurality of slave equipment is realized, and the time difference between the slave equipment is within +/-2 microseconds.

Description

technical field [0001] The invention belongs to the field of computer applications and relates to a synchronization method for sampling data, in particular to a time synchronization method for master and slave devices based on the same time source. Background technique [0002] With the continuous development of science, technology and economy, whether it is enterprises or people's life, the demand for electricity has been further improved, and the State Grid Corporation has taken the power outage time as the assessment standard. In order to reduce the power outage time and quickly find the source of the fault, State Grid Corporation of China has widely used the fault indicator of transient state recording type. Its main feature is to record the three-phase waveform at the time of line failure and upload it to the master station for further analysis of the fault by the master station. This requires the synchronization of the three-phase waveform to be high, and the higher t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04J3/06
CPCH04J3/0661H04J3/0644
Inventor 高军利王强刘海涛吴纳磊徐少雄翟志国王琳贾海旭李英春张春豪胡金路
Owner SHIJIAZHUANG KE ELECTRIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products