In our newly developed wireless network acquisition system, a network consists of a centralized terminal and 64 temperature measurement terminals. The data collected by the temperature measurement terminal is transmitted wirelessly to the centralized terminal, and then transmitted by the centralized terminal. In the terminal server, there are up to 40 networks in the same environment.
There is a function in the temperature measuring end, automatic time synchronization, which plays a vital role in the process of working in each network. If we do not perform automatic time synchronization, the transmission time of each node is random, then it is possible to collide with other node data, or it may not hit. Then the packet loss rate is not guaranteed.
After time synchronization, the upload time of each node is well-regulated. When everyone launches at the time of each interest, there will be no two points to launch together, and no data collision will occur. For example, the No. 1 machine is sent in 1 second, and the No. 2 machine is sent in 2 seconds, so that they can be shifted from each other. In order to ensure that the time is consistent,You have to ensure that each machine's 1 second is the same time, so you have to synchronize the time, so that everyone's 1 second is the same time point, 2 seconds is also the same time point. However, because the crystal oscillator is biased, after running for a long time, everyone's time will slowly shift from the original time, which may be fast or slow. So to ensure that the time deviation is within the allowable range,The crystal is required to have high precision and time synchronization with timing.
At this time, the advantage of automatic time synchronization is reflected, it can ensure that our 64 nodes can upload data to the centralized end in order, to ensure the normal operation of our wireless network acquisition system.