Multi-sensor clock synchronization scheme for industrial forklift
Multi-sensor clock synchronization on industrial forklifts is realized through MCU, and the collaborative work of the clock verification system and edge computing unit is used to solve the problems of high cost and development difficulty in the existing technology and achieve efficient clock synchronization performance of industrial forklifts.
Patent Information
- Application Number
- CN202410993972.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-09-03
AI Technical Summary
Existing clock synchronization mechanisms and implementation methods mainly rely on high-cost and development-demanding FPGA or CPLD logic devices, which are difficult to meet applications with low performance requirements such as industrial forklifts. In particular, there are costs and development difficulties in multi-sensor clock synchronization.
The MCU is used to synchronize the clock synchronization mechanism with the edge computing unit, obtain the reference clock through the clock verification system, give multi-sensor data timestamps, and integrate and calibrate it in the edge computing unit to achieve multi-sensor clock synchronization.
It reduces development requirements and costs, while ensuring the clock synchronization performance of industrial forklifts, ensuring the synchronization and low latency of multi-sensor data transmission.
Smart Images

Figure CN118590176A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of clock synchronization, and in particular to a multi-sensor clock synchronization solution for an industrial forklift. Background Art
[0002] Clock synchronization includes frequency synchronization and phase synchronization. In scenarios such as unmanned driving and real-time localization and mapping (SLAM) that require sensor data in the context of the time dimension, high-precision clock synchronization between sensors is necessary. For example, in autonomous driving, multiple sensors such as cameras and radars are needed to perceive the surrounding environment. When the clocks of these sensors are not synchronized, the data they collect may have time deviations, resulting in errors or dangers in decision-making and planning.
[0003] With the widespread application of AI edge computing in various fields, there are more and more sensors on industrial forklifts for vehicle assisted driving and safety monitoring. Since various sensors have different delays when providing information to the edge computing unit after collecting information, the edge computing unit's algorithm will cause deviations when processing different collected information. At this time, a synchronization solution is needed to solve the clock synchronization problem.
[0004] Patent No. CN2021106382989 discloses a sensor network clock synchronization method and device. The sensor network is composed of one or more master nodes and several slave nodes. The slave node is a sensor node. The sensor node includes a sensor module, a conditioning module, a transmission module and a wake-up circuit. The sensor module and the wake-up circuit are connected to the conditioning module. The conditioning module and the transmission module are bidirectional signal transmission. The transmission module of the slave node transmits signal data with the remote master node. The master node sends a broadcast wake-up pulse to the sensor node. The master node sends a sampling time agreed short message with time compensation to the sensor node. The sensor node sets the synchronous sampling time according to the agreed short message. The above invention has the characteristics of improving the synchronization of sampled data, reducing the transmission and reception delay of the link, and effectively compensating the propagation delay.
[0005] Patent No. CN2022111531475 discloses a multi-sensor clock synchronization system and method. The multi-sensor clock synchronization system includes: a second pulse generation module, which is configured to generate a second pulse; a synchronization unit, which is configured to receive the second pulse from the second pulse generation module, and use the phase-locked frequency multiplication technology to generate multiple trigger signals based on the second pulse, and the multiple trigger signals are square wave signals with different frequencies; and multiple types of sensors, which are connected to the synchronization unit, wherein each type of sensor receives a corresponding trigger signal in the multiple trigger signals to trigger the sensor of that type to generate a measurement result, and the multiple types of sensors synchronously generate measurement results in response to the multiple trigger signals.
[0006] Although the above patents use different clock synchronization systems and methods to perform clock synchronization operations on multiple sensors, the existing commonly used clock synchronization mechanisms and implementation methods mainly use logic devices such as FPGA or CPLD to achieve high-performance clock synchronization, but the development requirements are relatively high and the cost is also relatively high, which is not conducive to industrial vehicle applications with low clock synchronization performance requirements. Summary of the invention
[0007] The purpose of the present invention is to provide a multi-sensor clock synchronization solution for industrial forklifts, which can realize the clock synchronization of multiple sensors on industrial forklifts by utilizing the clock synchronization mechanism of MCU and synchronizing with the edge computing unit, so as to reduce the development requirements and consumption costs and ensure the clock synchronization performance of the industrial forklift.
[0008] The present invention utilizes the following technical solutions: A multi-sensor clock synchronization scheme for industrial forklifts comprises the following steps; S1: The clock synchronization unit of the clock verification system obtains the reference clock as the synchronization clock of the clock verification system; S2: The edge computing unit of the clock verification system synchronizes the internal clock source according to the synchronization clock; S3: Multiple sensors assign timestamps to data and transmit them to the edge computing unit; S4: The edge computing unit integrates the acquired data and sends it to multiple sensors to complete multi-sensor clock synchronization.
[0009] Preferably, in step S1, the synchronous clock acquisition process of the clock verification system is: S11: In the clock calibration system, a reference clock source is selected as a reference clock; The reference clock source is a navigation module with built-in GPS time, an external high-precision clock, or an internal clock source; S12: The clock synchronization unit uses the network time protocol to periodically send a request to the reference clock to measure the clock deviation between the built-in clock and the reference clock; S13: Calculating the calibration value of the built-in clock and the reference clock according to the clock deviation; S14: The clock synchronization unit corrects the built-in clock using the calibration value to obtain a corrected clock; S15: The clock verification system uses the correction clock as the synchronization clock.
[0010] Preferably, in step S3, the process of assigning timestamps to data by multiple sensors is as follows: First, assign timestamps to the data in a corresponding manner according to the sensor type; Sensor types include active synchronous sensors and passive synchronous sensors. Active synchronous sensors use second pulses and serial ports to give timestamps to data. Passive synchronous sensors include two types. The first type uses a clock synchronization unit to give timestamps to data using a synchronous trigger operation. The second type uses an edge computing unit to give timestamps to data based on a synchronized clock using a precise time protocol. The time-stamped data is then transmitted to the edge computing unit.
[0011] Preferably, in step S4, the edge computing unit processes the data with the timestamp and performs time synchronization on multiple sensors in the following process: S41: The edge computing unit sorts the data in the order of timestamps to obtain a sorting table; S42: Calculate the clock deviation value and network delay rate of each sensor according to the sorting table and the internal clock source; S43: Calculate a calibration value of each sensor according to the clock deviation value and the network delay rate, and send the calibration value to the corresponding sensor; S44: The edge computing unit periodically checks the synchronization status of each sensor to ensure that each sensor data has a synchronized timestamp and synchronized trigger operation during transmission.
[0012] The present invention realizes clock synchronization of multiple sensors on an industrial forklift by utilizing the MCU to perform clock synchronization and synchronizing with the edge computing unit, thereby reducing development requirements and consumption costs and ensuring the clock synchronization performance of the industrial forklift. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0014] Figure 1 The block diagram of the multi-sensor clock synchronization scheme for industrial forklifts; Figure 2 Schematic diagram of the clock verification system used in multi-sensor clock synchronization solutions. DETAILED DESCRIPTION
[0015] The present invention is described in detail below with reference to the accompanying drawings and embodiments: like Figure 1-Figure 2 As shown, a multi-sensor clock synchronization solution for an industrial forklift according to the present invention comprises the following steps: S1: The clock synchronization unit of the clock verification system obtains the reference clock as the synchronization clock of the clock verification system; In the present invention, the synchronous clock acquisition process of the clock verification system is as follows: S11: In the clock calibration system, a reference clock source is selected as a reference clock; The reference clock source is a navigation module with built-in GPS time, an external high-precision clock, or an internal clock source; S12: The clock synchronization unit uses the network time protocol to periodically send a request to the reference clock to measure the clock deviation between the built-in clock and the reference clock; S13: Calculating the calibration value of the built-in clock and the reference clock according to the clock deviation; S14: The clock synchronization unit corrects the built-in clock using the calibration value to obtain a corrected clock; S15: The clock verification system uses the correction clock as the synchronization clock; S2: The edge computing unit of the clock verification system synchronizes the internal clock source according to the synchronization clock; S3: Multiple sensors assign timestamps to data and transmit them to the edge computing unit; In the present invention, the process of assigning timestamps to data by multiple sensors is as follows: First, assign timestamps to the data in a corresponding manner according to the sensor type; Sensor types include active synchronous sensors and passive synchronous sensors. Active synchronous sensors use second pulses and serial ports to give timestamps to data. Passive synchronous sensors include two types. The first type uses a clock synchronization unit to give timestamps to data using a synchronous trigger operation. The second type uses an edge computing unit to give timestamps to data based on a synchronized clock using a precise time protocol. Then, the time-stamped data is transmitted to the edge computing unit; S4: The edge computing unit integrates the acquired data and sends it to multiple sensors to complete multi-sensor clock synchronization; In the present invention, the edge computing unit processes the data with the timestamp and performs time synchronization on multiple sensors as follows: S41: The edge computing unit sorts the data in the order of timestamps to obtain a sorting table; S42: Calculate the clock deviation value and network delay rate of each sensor according to the sorting table and the internal clock source; S43: Calculate a calibration value of each sensor according to the clock deviation value and the network delay rate, and send the calibration value to the corresponding sensor; S44: The edge computing unit periodically checks the synchronization status of each sensor to ensure that each sensor data has a synchronized timestamp and synchronized trigger operation during transmission; Example: The clock synchronization unit of the clock verification system first obtains the reference clock from the navigation module with built-in GPS time (preferred) or the internal clock source, and uses the reference clock as the synchronization clock of the system; the clock synchronization unit uses the network time protocol to periodically send requests to the reference clock to measure the clock deviation between the built-in clock and the reference clock; the calibration value of the built-in clock and the reference clock is calculated based on the clock deviation; the clock synchronization unit uses the calibration value to calibrate the built-in clock to obtain the calibration clock; the clock verification system uses the calibration clock as the synchronization clock; the synchronization clock is given to the edge computing unit through PPS (pulse per second) and serial port (time data), so that the operating system of the edge computing unit synchronizes the clock source; Sensors with active synchronization functions (IMU, millimeter-wave radar, etc.) also actively add synchronization timestamps to data through PPS and serial ports, and send the timestamped data to the edge computing unit. Passive synchronization sensors (cameras, etc.) use the clock synchronization unit to give synchronization triggers, so that the data given by the sensor to the edge computing unit is synchronized. On the other hand, the edge computing unit uses the PTP (precision time protocol) method to synchronize the data timestamps with the obtained synchronization reference clock. The edge computing unit sorts the data in the order of timestamps to obtain a sorting table; calculates the clock deviation value and network delay rate of each sensor based on the sorting table and the built-in clock source; calculates the calibration value of each sensor based on the clock deviation value and the network delay rate, and sends the calibration value to the corresponding sensor; finally, in the edge computing unit, when multi-sensor data is transmitted to the edge computing unit, it can have synchronized timestamps and synchronized triggers, so that the edge computing algorithm can integrate these data more accurately and with low latency.
Claims
1. A multi-sensor clock synchronization scheme for industrial forklifts, Features: The steps include: S1: The clock synchronization unit of the clock verification system obtains the reference clock as the synchronization clock of the clock verification system; S2: The edge computing unit of the clock verification system synchronizes the internal clock source according to the synchronization clock; S3: Multiple sensors assign timestamps to data and transmit them to the edge computing unit; S4: The edge computing unit integrates the acquired data and sends it to multiple sensors to complete multi-sensor clock synchronization.
2. The multi-sensor clock synchronization solution for industrial forklifts according to claim 1, Features: In step S1, the synchronous clock acquisition process of the clock verification system is as follows: S11: In the clock calibration system, a reference clock source is selected as a reference clock; The reference clock source is a navigation module with built-in GPS time, an external high-precision clock, or an internal clock source; S12: The clock synchronization unit uses the network time protocol to periodically send a request to the reference clock to measure the clock deviation between the built-in clock and the reference clock; S13: Calculating the calibration value of the built-in clock and the reference clock according to the clock deviation; S14: The clock synchronization unit corrects the built-in clock using the calibration value to obtain a corrected clock; S15: The clock verification system uses the correction clock as the synchronization clock.
3. The multi-sensor clock synchronization solution for industrial forklift according to claim 1, Features: In step S3, the process of assigning timestamps to data by multiple sensors is as follows: First, assign timestamps to the data in a corresponding manner according to the sensor type; Sensor types include active synchronous sensors and passive synchronous sensors. Active synchronous sensors use second pulses and serial ports to give timestamps to data. Passive synchronous sensors include two types. The first type uses a clock synchronization unit to give timestamps to data using a synchronous trigger operation. The second type uses an edge computing unit to give timestamps to data based on a synchronized clock using a precise time protocol. The time-stamped data is then transmitted to the edge computing unit.
4. The multi-sensor clock synchronization solution for industrial forklift according to claim 1, Features: In step S4, the edge computing unit processes the data with the timestamp and performs time synchronization on multiple sensors in the following process: S41: The edge computing unit sorts the data in the order of timestamps to obtain a sorting table; S42: Calculate the clock deviation value and network delay rate of each sensor according to the sorting table and the internal clock source; S43: Calculate a calibration value of each sensor according to the clock deviation value and the network delay rate, and send the calibration value to the corresponding sensor; S44: The edge computing unit periodically checks the synchronization status of each sensor to ensure that each sensor data has a synchronized timestamp and synchronized trigger operation during transmission.
