Clock synchronization method among wireless network devices

A technology for wireless network equipment and clock synchronization, applied in synchronization devices, wireless communications, time division multiplexing systems, etc. , to achieve the effect of clock phase

Active Publication Date: 2016-11-16
潘进
View PDF4 Cites 48 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Most of the wireless ad hoc networks and wireless sensor networks currently on the market are asynchronous communication networks. Each device node uses its own independent crystal oscillator and system clock to run the wireless network protocol, and uses a master-slave question and answer method for information exchange. Instruction transmission, these asynchronous wireless communication devices cannot guarantee the synchronous information collection and synchronous action execution between device nodes in the wireless network due to hardware crystal oscillator deviation, temperature drift, transmission delay error and other factors; and in some application environments, It is very important for synchronous collection of information and synchronous execution of actions, these asynchronous wireless communication devices are not competent for these tasks
[0003] At present, there are wireless networks designed with wireless token technology on the market. This kind of wireless network can only realize the synchronization between devices in the wireless airspace that the token command can reach, and cannot realize the synchronization between devices in multi-level cascaded wireless networks, and The synchronization accuracy depends on the independent crystal oscillator and system clock of the device nodes, the synchronization accuracy is not high and the error is large; as the temperature changes and the running time prolongs, the crystal frequency of each device node will shift, resulting in further increase in synchronization error
[0004] There are many wireless clock synchronization technologies in the field of wireless ad hoc networks and wireless sensor networks, but these wireless clock synchronization technologies are either complicated to implement, or have special requirements for the hardware of wireless network devices, or are affected by software operation delays and cause clock synchronization. The accuracy is not high enough, and these wireless clock synchronization technologies are difficult to be well applied in the fields of wireless ad hoc networks, wireless sensor networks, and low-power wireless networks
[0005] In many current wireless networking applications, in order to synchronize the clocks of device nodes, traditional NTP and SNTP protocols are used for time synchronization. Although this synchronization method is simple to implement, it can only realize time synchronization of point-to-point devices and can only be used for The synchronization of calendar time cannot realize the frequency and phase synchronization of the system clock, which is seriously interfered by wireless transmission multipath, and the synchronization accuracy is low; for the application environment with high synchronization accuracy, GPS clock synchronization hardware is usually added to each device to achieve High-precision clock synchronization. Although this synchronization method has high synchronization accuracy, it needs to add expensive GPS clock synchronization hardware and has high requirements for the CPU processor.
[0006] In the application environment of battery-powered low-power wireless ad hoc network and wireless sensor network equipment, a unified sleep clock needs to be configured for wireless devices to enter sleep. If the sleep clock is not synchronized, some devices will be woken up and some devices will still be in sleep Under such circumstances, wireless communication will cause some devices to be unable to receive communication commands; if the device is kept in the wake-up state for too long, it will increase the power consumption of the device and reduce the battery-powered device’s cruising time. Adding an expensive clock synchronization chip will further increase the power consumption of the device

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
  • Clock synchronization method among wireless network devices
  • Clock synchronization method among wireless network devices
  • Clock synchronization method among wireless network devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] The invention provides a method for clock synchronization between wireless network devices.

[0066] A method for clock synchronization between wireless network devices, comprising the following steps:

[0067] 1. The clock source device is interconnected with at least one clock slave device;

[0068] 2. The clock source device obtains the reference clock, and the clock slave device obtains the unsynchronized reference clock;

[0069] 3. Interaction of clock information between the clock source device and the clock slave device through the clock synchronization frame;

[0070] 4. The clock source device transmits the information including the reference clock frequency and phase to the clock slave device, and the CPU processor in the clock slave device calculates the reference clock of the clock source device, and corrects its own reference clock according to the reference clock;

[0071] Clock synchronization between wireless network devices is realized through the ab...

Embodiment 2

[0121] On the basis of Embodiment 1, the present invention can be implemented by using different CPUs and wireless communication modules, which will be further described below in conjunction with the accompanying drawings.

[0122] Equipment among the present invention has following several parts to form, as figure 2 as shown in:

[0123] 1, CPU processor, present embodiment adopts STM32F205RE chip, and this chip processor main clock is 120MHz, carries out frequency division by 12 to the main clock of 120MHz by the timer T1 of processor, produces the timing interruption of a 0.1us;

[0124] 2. The wireless communication module. In this embodiment, the SI4438 chip is used to transmit and receive wireless synchronous data, and at the same time, low-power transmission and reception of wireless data can be realized;

[0125] 3. External high-precision clock input interface. This embodiment uses the TIM2_CH1IO pin of the timer T2 of the STM32F205RE chip. When the device is used a...

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 provides a clock synchronization method among wireless network devices. The method comprises the steps that 1, a clock source device and at least one clock slave device are in network interconnection; 2, the clock source device obtains a reference clock, and the clock slave devices obtain unsynchronized reference clocks; 3, the clock source device interacts clock information with the clock slave devices through clock synchronization frames; 4, the clock source device transmits information containing the frequency and phase of the reference clock to the clock slave devices; the CPU processors in the clock slave devices calculate the reference clock of the clock source device and calibrate own reference clocks according to the reference clock; and the clock synchronization among the wireless network devices is realized through the steps. The synchronized reference clock can be used for synchronous scheduling of CPU system tasks, synchronous control of performance of instructions, high-precision synchronous measurement of external signals and synchronous measurement of high-speed moving objects, basic wireless take scheduling can be satisfied, and the synchronous awakening tasks of the devices in an ultra low-power-consumption application can be satisfied.

Description

technical field [0001] The invention relates to the field of wireless networks, in particular to a method for clock synchronization between wireless network devices. Background technique [0002] Wireless ad hoc networks and wireless sensor networks have been more and more widely used in the fields of Internet of Things, smart industry, smart transportation, smart city and smart home due to their advantages of simplicity, reliability, convenient deployment, and low cost. Most of the wireless ad hoc networks and wireless sensor networks currently on the market are asynchronous communication networks. Each device node uses its own independent crystal oscillator and system clock to run the wireless network protocol, and uses a master-slave question and answer method for information exchange. Instruction transmission, these asynchronous wireless communication devices cannot guarantee the synchronous information collection and synchronous action execution between device nodes in ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04W56/00H04J3/06
CPCH04J3/0638H04W56/0015Y02D30/70
Inventor 潘进
Owner 潘进
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