CN212723685U - Multi-joint time synchronization device - Google Patents
Multi-joint time synchronization device Download PDFInfo
- Publication number
- CN212723685U CN212723685U CN202021349721.0U CN202021349721U CN212723685U CN 212723685 U CN212723685 U CN 212723685U CN 202021349721 U CN202021349721 U CN 202021349721U CN 212723685 U CN212723685 U CN 212723685U
- Authority
- CN
- China
- Prior art keywords
- time
- timing
- joint
- synchronization
- updating
- 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.)
- Active
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The utility model relates to a colony control technical field especially relates to a synchronous device is realized to many joints. Under the same networking network, for each joint, the current time and the updated time counting parameter are updated by using the received synchronous signals. And counting time by using the updated time parameter in the time period without receiving the synchronous signal. Under the conditions of unstable communication and low synchronous communication frequency, the effective cooperative work of multiple joints can be ensured.
Description
Technical Field
The utility model relates to a colony control technical field especially relates to a many joints time synchronizer and synchronous method thereof.
Background
In both group control systems and multi-joint synchronous systems, each joint or individual is independently controlled (with its own microcontroller). The crystal oscillators of the microcontrollers of the joints provide basic timing tasks, and due to crystal oscillator errors, timing speed of each joint is different, and time timing difference can occur under the condition of no synchronization. They need to be time synchronized in the process of completing a series of cooperative actions. In many cases, these joints or individuals are not wired and need to communicate with each other wirelessly to synchronize time. In the low-cost networking wireless communication process, packet loss and unstable communication frequently occur, synchronous signals cannot be reliably received every time, meanwhile, in order to reduce power consumption and communication data, the sending frequency of the synchronous signals is not high, so that counting of a long time is completed by means of a local crystal oscillator, and time errors are accumulated in the time. In order to obtain accurate synchronization signals, high requirements are placed on the reliability and power consumption of wireless communication, which is difficult to achieve in some low-cost and small-volume joints or individuals.
Disclosure of Invention
The utility model discloses an overcome prior art not enough, provide a many joints synchronizer at wireless network deployment control to realize many joints time synchronization, under the unstable and not high condition of synchronous communication frequency of communication, can also ensure that many joints can effective collaborative work.
In order to achieve the above object, the present invention provides a multi-joint time synchronizer, which comprises a time updating and timing module and a timing system algorithm control module, wherein under the same networking network, when a joint effectively receives a time synchronization signal for 1 time within a period of time, the time synchronization signal contains a current synchronous time value Tr, then the joint time updating and timing module updates the joint current time to be a synchronous time value Tr, and starts to time; meanwhile, the timing system algorithm control module updates the timing factor according to the error value error of the synchronous time and the local crystal oscillator time Tl, so that the error of the local crystal oscillator timing and the synchronous time is smaller and smaller, and the local time is consistent with the reference time. When the local time of all the joints is consistent with the reference time, realizing the time synchronization among the joints;
the timing system algorithm control module adopts the following specific calculation mode:
receiving a (k +1) th synchronization time updating signal, and calculating an error e (k +1) between the synchronization time Tr and the time Tl of the local time, namely Tr (k +1) -Tl (k + 1); the timing mode of the local time is as follows: t (k) + N w (k), w being a technical factor; when the time signal is updated at the k +1 time, updating w simultaneously; i.e., w (k +1) ═ w (k) + e (k + 1)/N;
similarly, at the time of the k +2 time updating, w (k +2) ═ w (k +1) + e (k + 2)/M;
the interval time between the (k +1) th time and the kth time is indefinite and is a time signal received by two adjacent joints, and the synchronous host possibly sends a plurality of synchronous time signals in the period, only because the network is unstable and is not received by the joints; and when the error e is smaller than the acceptable range, the synchronization time and the local time are considered to realize synchronization, and if the time of all joints in the network is synchronized, the synchronous cooperative work can be realized.
Compared with the prior art, the beneficial effects of the utility model reside in that: after receiving the synchronous signal, the current time of the joint is updated, the time counting parameter is also updated, the time counting is carried out by utilizing the updated time parameter in the time period without receiving the synchronous signal, and the effective cooperative work of the multiple joints can be ensured under the conditions of unstable communication and low synchronous communication frequency.
Drawings
FIG. 1 is a block diagram of the time synchronization of the present invention;
FIG. 2 is a control block diagram of the timing system algorithm of the present invention;
fig. 3 is a schematic diagram of the present invention for updating the local time and the synchronization time.
Detailed Description
The invention will be further described with reference to the accompanying drawings.
The utility model discloses a wireless synchronization time is the reference time. As shown in fig. 1, the time synchronizer of the present invention comprises a wireless time synchronization signal sending module, a time updating and timing module, and a timing system algorithm control module; the wireless time synchronization signal sending module is the same networking network used for sending the time synchronization signal. As shown in fig. 1-3, in the same networking network, when a joint effectively receives a time synchronization signal for 1 time within a period of time, and the time synchronization signal includes a currently synchronized time value Tr, the time updating and timing module of the joint updates the current time of the joint, updates the current time of the joint to the synchronized time value Tr, and starts timing according to the updated time value Tr; meanwhile, the timing system algorithm control module updates the timing factor according to the error value error of the synchronous time and the local crystal oscillator time Tl, so that the error of the local crystal oscillator timing and the synchronous time is smaller and smaller, and the local time is consistent with the reference time. Time synchronization between the joints is achieved when the local time of all the joints coincides with the reference time.
The specific calculation mode adopted by the timing system algorithm control module is as follows:
receiving a (k +1) th synchronization time updating signal, and calculating a time Tl error e (k +1) between the synchronization time Tr and the local time to be Tr (k +1) -Tl (k + 1); the timing mode of the local time is as follows: t (k) + N w (k), w is a technical factor. When the time signal is updated at the k +1 time, updating w simultaneously;
w (k +1) ═ w (k) + e (k +1)/N, similarly at the time update (k +2),
w(k+2)=w(k+1)+e(k+2)/M
the interval between the (k +1) th time and the (k) th time is indefinite, and is a time signal received by two adjacent joints, and during the interval, the synchronization master possibly sends a plurality of synchronization time signals, only because the network is unstable and is not received by the joints. But this does not affect the timing system algorithmic control of the joint.
When the error e is smaller than the acceptable range, the synchronization time (reference time) and the local time are considered to realize synchronization, and if all the joint time in the network is synchronized, the synchronous cooperative work can be realized.
The above embodiments are only used for illustrating the present invention, and not for limiting the present invention, and those skilled in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the present invention, so that all equivalent technical solutions also belong to the scope of the present invention, and the protection scope of the present invention should be defined by the claims.
Claims (1)
1. A multi-joint time synchronization system, characterized by: the system comprises a wireless time synchronization signal sending module, a time updating and timing module and a timing system algorithm control module; the wireless time synchronization signal sending module is the same networking network used for sending the time synchronization signal; and wherein, under the same networking network, the time updating and timing modules of each joint of the multi-joint time synchronization system can be used for updating the current time of the corresponding joint, so that when the corresponding joint has effectively received 1 time of the time synchronization signal containing the currently synchronized time value Tr within a period of time, updating the current time of the corresponding joint to a synchronous time value Tr, starting timing, and wherein the timing system algorithm control modules of the respective joints are operable to update the timing factor in accordance with the error value error of the synchronization time and the local crystal time Tl concurrently with the updating, so that the error between the timing of the local crystal oscillator and the synchronization time is smaller and smaller, the local time is consistent with the reference time, and finally the local time of all joints is consistent with the reference time, thereby realizing the time synchronization among all joints.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021349721.0U CN212723685U (en) | 2020-07-10 | 2020-07-10 | Multi-joint time synchronization device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202021349721.0U CN212723685U (en) | 2020-07-10 | 2020-07-10 | Multi-joint time synchronization device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212723685U true CN212723685U (en) | 2021-03-16 |
Family
ID=74982721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202021349721.0U Active CN212723685U (en) | 2020-07-10 | 2020-07-10 | Multi-joint time synchronization device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212723685U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778782A (en) * | 2021-06-21 | 2021-12-10 | 天津津航计算技术研究所 | Method for accurately calculating code running time under VxWorks |
-
2020
- 2020-07-10 CN CN202021349721.0U patent/CN212723685U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778782A (en) * | 2021-06-21 | 2021-12-10 | 天津津航计算技术研究所 | Method for accurately calculating code running time under VxWorks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107949047B (en) | Wireless sensor network consistency time synchronization method for reducing network communication traffic | |
CN111818614B (en) | UWB-based dynamic distributed ad hoc network scheduling method and system | |
CN113422665B (en) | Method and system for realizing time synchronization of vehicle-mounted system based on IPC mechanism | |
CN105634641B (en) | Based on architecture for exchanging can cascade network communication accurate timing system and method | |
CN105049309A (en) | Servo driver synchronization method based on POWERLINK real-time Ethernet | |
CN104243079A (en) | Microsecond clock synchronization method for real-time Ethernet | |
CN103209473A (en) | Information acquisition method for low-power-consumption wireless sensor network | |
CN106911414A (en) | Clock synchronizing method and device | |
CN212723685U (en) | Multi-joint time synchronization device | |
CN110798276A (en) | Time synchronization method and system for SDN (software defined network) of intelligent substation | |
CN110290579A (en) | Wireless ad hoc network method for synchronizing time, node and wireless ad hoc network under a kind of narrowband condition | |
WO2020119214A1 (en) | Synchronization method and device, network element, and computer storage medium | |
CN104836654B (en) | A kind of clock synchronizing method based on Ethernet POWERLINK | |
Pinho et al. | A robust gradient clock synchronization algorithm for wireless sensor networks | |
CN103002562A (en) | Hardware synchronizing method and system of wireless sensing network | |
CN104993897B (en) | A kind of pre-filled timestamp synchronous method suitable for WIA PA networks | |
CN111740800A (en) | Multi-precision clock synchronization method based on SDN framework 5G intelligent node | |
CN101426284B (en) | IEEE802.11 wireless local area network access point having continuous clock synchronization function and mobile station | |
CN109347588B (en) | Wide-area distributed system clock synchronization device and method based on LoRa | |
CN111106893A (en) | Self-calibration clock synchronization method for ad hoc network, master node, slave node and system | |
CN103957589A (en) | Multi-hop and low-cost distributed clock synchronization method | |
CN108377265B (en) | Real-time synchronization method for control protection distributed system in power system | |
CN101753241B (en) | Network synchronization method and system | |
CN107197514A (en) | The cognizable global clock synchronous method of wireless sensor network and the application in multihop network | |
CN115347965B (en) | Time synchronization optimization method with buffer mechanism based on improved moving average filtering |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |