Unlock instant, AI-driven research and patent intelligence for your innovation.

High-precision time synchronization method based on RS485

An RS485, high-precision technology, applied in the field of high-precision time synchronization based on RS485, can solve the problems of high cost of high-precision time synchronization, failure to meet the requirements of time synchronization, and non-universal, etc., to achieve high versatility, low cost, and improved The effect of time precision

Active Publication Date: 2020-11-24
YANTAI DONGFANG WISDOM ELECTRIC
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention proposes a high-precision time synchronization method based on RS485, the purpose of which is to overcome the problems of high-precision time synchronization in the prior art, high cost and non-universal use, and low-precision time synchronization that cannot meet the time synchronization requirements

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
  • High-precision time synchronization method based on RS485
  • High-precision time synchronization method based on RS485

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:

[0027] figure 2 It is a structural schematic diagram of an embodiment of the present invention, and the time-setting master device and the time-setting device are connected through the RS485 bus.

[0028] The time synchronization master device includes a GPS circuit with an antenna, a CPU (the model is STM32F407) and an RS485 transceiver circuit (the driver chip model is THVD1500). The serial port of described GPS circuit is connected with the serial port of CPU, is used for CPU to read second-level absolute time, and the second pulse signal of GPS circuit is directly connected to the input port of CPU, is used for CPU to obtain the jump of second; RS485 transceiver circuit The sending and receiving ports are connected to the CPU.

[0029] The time-synchronized device includes a real-time clock circuit (chip model is RX8025T), CPU (model is STM32F407...

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 high-precision time synchronization method based on RS485. The method comprises the steps that a time synchronization main device sends a first time synchronization message to a time synchronization through RS485 to carry out second-level time synchronization; the time synchronization device receives the first time synchronization message, writes the analyzed time into areal-time clock, sends a response message, configures a timer, and combines the second-level time of the real-time clock and the millisecond-level time of the timer into millisecond-level to-be-corrected time of the time synchronization device; the time synchronization main device sends a second time synchronization message containing millisecond-level absolute time corresponding to the absolute time clock edge after receiving the response message; and the time synchronization device receives the second time-synchronized message, analyzes the millisecond-level absolute time, obtains to-be-corrected time corresponding to the absolute time clock edge, and corrects the internal real-time time of the time-synchronized device by taking a difference value between the millisecond-level absolute time and the to-be-corrected time as a correction value. The time synchronization precision is improved, the universality is high, and the cost is low.

Description

technical field [0001] The invention relates to the technical field of time synchronization of electric equipment, in particular to an RS485-based high-precision time synchronization method. Background technique [0002] At present, the time synchronization methods of electric power equipment mainly include: Ethernet time synchronization, IRIG-B time synchronization, GPS time synchronization and ordinary RS485 time synchronization methods. [0003] Ethernet NTP time synchronization: The advantage is that the clock accuracy can reach the millisecond level without additional hardware support. The disadvantage is that simple devices that do not support Ethernet cannot achieve it, and the time accuracy has a great correlation with the processing speed of the device processor, and the accuracy cannot be achieved. ensure. [0004] Ethernet IEEE1588 protocol time synchronization: the advantage is that the clock accuracy is high, up to 100 nanoseconds, and the disadvantage is that ...

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/06G04R40/06
CPCH04J3/0635G04R40/06
Inventor 黄蕙袁阔吴震
Owner YANTAI DONGFANG WISDOM ELECTRIC