Data synchronization sensing device and method
By using a unified clock module and microprocessor to identify time stamps in the sensing device, the problems of sensor data complexity and low calibration accuracy are solved, and efficient synchronization and accurate combination of sensing data are achieved.
Patent Information
- Application Number
- CN201810291011.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-03-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2038-03-30
AI Technical Summary
The data collected by sensors is complex and diverse, and the time calibration workload is heavy and the accuracy is low, making it difficult to achieve effective data synchronization.
Design a data synchronized sensing device, including a microprocessor, clock module and sensor module. A unified clock module drives each sensor module to ensure its time synchronization, and the microprocessor identifies the sensing data carrying time stamps. , combine data with the same time stamp to generate synchronized sensing data.
The difficulty and error of time calibration are reduced, the calibration accuracy is improved, and accurate synchronization of sensing data is achieved.
Smart Images

Figure CN108445808B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile robots, and in particular to a data synchronization sensing device and method. Background Art
[0002] Mobile robot is a comprehensive system that integrates multiple functions such as environmental perception, dynamic decision-making and planning, behavior control and execution. It concentrates the research results of multiple disciplines such as sensor technology, information processing, electronic engineering, computer engineering, automatic control engineering and artificial intelligence, represents the highest achievement of mechatronics, and is one of the most active fields of scientific and technological development. With the continuous improvement of robot performance, the application scope of mobile robots has been greatly expanded. It is not only widely used in industries such as industry, agriculture, medical care, and services, but also well used in harmful and dangerous occasions such as urban security, national defense and space exploration. Therefore, mobile robot technology has received widespread attention from countries around the world.
[0003] The traditional way of perception of mobile robots is to first collect data of the sensing object through multiple sensors, and then perform time calibration and combination on the collected data. Since the data collected by the sensors are complex and diverse, the workload of time calibration is large and the calibration accuracy is low. Summary of the invention
[0004] Based on this, it is necessary to provide a data synchronization sensing device and method to address the problems that the data collected by the sensor is complex and diverse, the workload of time calibration is large and the calibration accuracy is low.
[0005] A data synchronization sensing device comprises a microprocessor, a clock module and a sensor module, wherein the sensor module comprises at least two sensor modules, the microprocessor is connected to each sensor module in the sensor module, and the clock module is connected to each sensor module in the sensor module;
[0006] The clock module outputs driving information to each sensor module according to a preset driving frequency. Each sensor module collects sensor data of the sensing object according to the driving information, and outputs the sensor data carrying a time mark to the microprocessor. The microprocessor receives the sensor data carrying a time mark, identifies the time mark carried by the sensor data, combines the sensor data of each sensor module carrying the same time mark, and generates synchronous sensor data carrying a time mark.
[0007] In one embodiment, the sensor module includes a lidar module, a camera module and an IMU (Inertial measurement unit) module.
[0008] In one embodiment, the preset driving frequencies of the sensor modules are different.
[0009] In one embodiment, the time stamp has an accuracy equal to or less than milliseconds.
[0010] In one embodiment, the sensor data includes lidar sensor data, camera sensor data and IMU sensor data.
[0011] In one of the embodiments, the lidar sensing data includes 16-line, 32-line and 64-line 3D (dimensional) point cloud arrays, and the 16-line, 32-line and 64-line 3D point cloud arrays carry time tags.
[0012] In one of the embodiments, the camera sensing data includes black-and-white images and color images, and the black-and-white images and the color images carry time stamps.
[0013] In one embodiment, the IMU sensing data includes the angular velocity and acceleration of the sensing object, and the angular velocity and acceleration of the sensing object carry a time stamp.
[0014] In one of the embodiments, the synchronized sensing data carrying the time mark includes sensing data carrying the time mark and combined sensing data carrying the time mark, and the combined sensing data carrying the time mark is obtained by combining the sensing data carrying the time mark.
[0015] A data synchronization method for a data synchronization sensor device comprises the following steps:
[0016] Outputting driving information to each sensor module in the sensor module according to a preset driving frequency;
[0017] Through each sensor module, the sensor data of the sensing object is collected according to the driving information, and the sensor data with time stamp is output to the microprocessor;
[0018] The microprocessor receives the sensor data carrying the time mark, identifies the time mark carried by the sensor data, combines the sensor data of each sensor module carrying the same time mark, and generates the synchronous sensor data carrying the time mark.
[0019] The above-mentioned data synchronization sensing device and method adopt a unified clock module to drive each sensor module to work, so that the time of each sensor module corresponds to the time of the clock module, ensuring the time synchronization of the operation of each sensor module, and the output sensor data carrying time marks are also synchronized in time. The microprocessor only needs to identify the time mark carried by the sensor data to accurately combine the sensor data of each sensor module at the same time, without the need for complex time calibration and combination, thereby reducing the difficulty of time calibration, reducing the error of time calibration, and improving the calibration accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the structure of one embodiment of a sensor device for data synchronization of the present application;
[0021] Figure 2 A schematic diagram of the structure of one embodiment of a sensor device for data synchronization of the present application;
[0022] Figure 3 An illustrative diagram of one embodiment of a sensor device for data synchronization of the present application;
[0023] Figure 4 A flowchart of one embodiment of the sensing method for data synchronization of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the technical field of the present application. The terms used herein in the specification of the present application are only for the purpose of describing the specific embodiments and are not intended to limit the present application. It should be understood that the various steps in the flowchart of the present application are displayed in sequence according to the indication of the arrows, but these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps does not have strict order restrictions, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at a unified moment, but can be performed at different moments, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0026] like Figure 1 As shown, a data synchronization sensing device includes a microprocessor 100, a clock module 200 and a sensor module 300, wherein the sensor module 300 includes at least two sensor modules 302, the microprocessor 100 is connected to each sensor module 302 in the sensor module 300, and the clock module 200 is connected to each sensor module 302 in the sensor module 300;
[0027] The clock module 200 outputs driving information to each sensor module 302 according to a preset driving frequency. Each sensor module 302 collects sensor data of the sensing object according to the driving information, and outputs the sensor data carrying a time mark to the microprocessor 100. The microprocessor 100 receives the sensor data carrying a time mark, identifies the time mark carried by the sensor data, combines the sensor data of each sensor module 302 carrying the same time mark, and generates synchronous sensor data carrying a time mark.
[0028] Specifically, first, the clock module 200 outputs driving information to each sensor module 302 according to the preset driving frequency, and then each sensor module 302 collects the sensor data of the sensing object according to the driving information, and outputs the sensor data carrying the time mark to the microprocessor 100. Finally, the microprocessor 100 receives the sensor data carrying the time mark, identifies the time mark carried by the sensor data, combines the sensor data of each sensor module 302 carrying the same time mark, and generates synchronous sensor data carrying the time mark.
[0029] The process of combining the sensing data of each sensor module 302 carrying the same time stamp is a simple data combination process. For example, the sensing data carrying the time stamp output by each sensor module includes 3D point cloud data and color image data. After receiving and identifying the sensing data carrying the time stamp, the processor combines the 3D point cloud data and the color image data to obtain the 3D point cloud data, color image data and color 3D point cloud data carrying the same time stamp. The color 3D point cloud data obtained here is a simple superposition of the 3D point cloud data and the color image data.
[0030] The driving frequency refers to the frequency used to control the clock module 200 to periodically output driving information to each sensor module 302 in the sensor module 300. It is set when the clock module 200 is initialized, and the driving frequencies of each sensor module 302 are different. The driving information refers to the information used to trigger the operation of each sensor module 302 in the sensor module 300. When each sensor module 302 receives the driving information, it starts to collect the sensing data of the sensing object. The driving information can be a high level or a low level.
[0031] A unified clock module 200 is used to drive each sensor module 302 to work, and the time of the clock module 200 is used as a reference, that is, the time of each sensor module 302 corresponds to the time of the clock module 200, which can ensure the time synchronization of each sensor module 302, and the output sensor data carrying the time mark is also synchronized in time. When the microprocessor 100 is used to process the sensor data in the later stage, it only needs to identify the time mark carried by the sensor data to accurately combine the sensor data of each sensor module 302 at the same time, and there is no need to perform complex time calibration and combination, which reduces the difficulty of time calibration, reduces the error of time calibration, and improves calibration accuracy. The clock module 200 can be a GPS (Global Positioning System) clock module.
[0032] The above-mentioned data synchronized sensing device adopts a unified clock module to drive each sensor module to work, so that the time of each sensor module corresponds to the time of the clock module, ensuring the time synchronization of each sensor module. The output sensor data carrying time marks are also synchronized in time. The microprocessor only needs to identify the time mark carried by the sensor data to accurately combine the sensor data of each sensor module at the same time. There is no need for complex time calibration and combination, which reduces the difficulty of time calibration, reduces the error of time calibration, and improves the calibration accuracy.
[0033] like Figure 2 As shown, in one embodiment, the sensor module 300 includes a lidar module 304 , a camera module 306 and an IMU module 308 .
[0034] Specifically, the laser radar module 304 includes a laser radar sensor, which refers to a sensor that uses laser technology for measurement. The working principle of laser radar is very similar to that of radar. It uses laser as a signal source. The pulsed laser emitted by the laser hits the trees, roads, bridges and buildings on the ground, causing scattering. Part of the light wave will be reflected to the receiver of the laser radar. According to the laser ranging principle, the distance from the laser radar to the target point is calculated. The pulsed laser continuously scans the target object, and the data of all target points on the target object can be obtained. After imaging processing with this data, an accurate three-dimensional stereo image can be obtained. Its advantages are that it can realize non-contact long-distance measurement, fast speed, high accuracy, large range, strong resistance to light and electrical interference, etc.
[0035] The camera module 306 includes a camera sensor, which is an image sensor, a device that converts an optical image into an electronic signal, and is widely used in digital cameras and other electronic optical devices. The camera module 306 can be a monocular camera or a multi-camera camera. A monocular camera refers to a single color or grayscale camera, and a multi-camera camera refers to a camera system composed of two or more color or grayscale cameras. A monocular camera processes information quickly, and a multi-camera camera can shoot from different angles to obtain more information.
[0036] The IMU module 308 is a device for measuring the three-axis attitude angle (or angular rate) and acceleration of an object. Generally, an IMU includes three single-axis accelerometers and three single-axis gyroscopes. The accelerometers detect the acceleration signals of the object in the independent three axes of the carrier coordinate system, and the gyroscopes detect the angular velocity signals of the carrier relative to the navigation coordinate system, measure the angular velocity and acceleration of the object in three-dimensional space, and use them to calculate the attitude of the object.
[0037] In one embodiment, the preset driving frequencies of the sensor modules are different.
[0038] Specifically, the sensor module includes a laser radar module, a camera module and an IMU module. The relationship between the preset driving frequencies of the three sensor modules is:
[0039] f1 = m * f2;
[0040] f2 = n*f3;
[0041] Among them, f2 is the driving frequency of the camera module, f3 is the driving frequency of the laser radar module, f1 is the driving frequency of the IMU module, and m and n are integers greater than or equal to 1. The relationship between the trigger signals for triggering the three sensor modules to work according to the driving frequency is as follows: Figure 3 As shown, the clock module provides a global time axis.
[0042] Furthermore, the clock module may be a GPS clock module, such as Figure 3 As shown, this is the GPS timeline. The trigger signals of the three sensors are aligned in time, that is, the three sensors are driven simultaneously at a certain time point, and then the three sensors are driven separately at a fixed driving frequency, that is, at regular intervals, two or three sensors will be driven simultaneously again. This time interval is controlled by m and n, and users can adjust it as needed.
[0043] In one embodiment, the time stamp has an accuracy equal to or less than milliseconds.
[0044] In one embodiment, the sensor data includes lidar sensor data, camera sensor data and IMU sensor data.
[0045] Specifically, the sensor data includes the data of each sensor module with a time stamp. The lidar sensor data includes the 3D point cloud data of the sensor object with a time stamp, the camera sensor data includes the black and white image and color image of the sensor object with a time stamp, and the IMU sensor data includes the angular velocity and acceleration value of the sensor object with a time stamp.
[0046] In one of the embodiments, the lidar sensing data includes 16-line, 32-line and 64-line 3D point cloud arrays, and the 16-line, 32-line and 64-line 3D point cloud arrays carry time stamps.
[0047] Specifically, point cloud refers to the point data set of the product appearance surface obtained by measuring instruments in reverse engineering. Usually, the number of points obtained by using a 3D coordinate measuring machine is relatively small, and the distance between points is relatively large, which is called a sparse point cloud; while the point cloud obtained by using a 3D laser scanner or a photographic scanner has a large number of points and is relatively dense, which is called a dense point cloud. When a laser beam is irradiated onto the surface of an object, the reflected laser will carry information such as direction and distance. If the laser beam is scanned along a certain trajectory, the reflected laser point information will be recorded while scanning. Since the scanning is extremely fine, a large number of laser points can be obtained, thus forming a laser point cloud.
[0048] Furthermore, the accuracy of the output point cloud array can be set as needed. Point cloud arrays are often used in combination with other sensor data, mainly including camera sensor data, and their application areas include but are not limited to: intelligent driving, smart home, 3D reconstruction, digital earth, urban planning, disaster prevention and mitigation, marine mapping, etc.
[0049] In one of the embodiments, the camera sensing data includes black-and-white images and color images, and the black-and-white images and the color images carry time stamps.
[0050] Specifically, the form of the output image can be set as needed. An image is a similar and vivid description or portrait of an objective object, and is the most commonly used information carrier in human social activities. A black and white image refers to an image with only two colors, black and white. A color image refers to an image in which each pixel is composed of R, G, and B components. Each primary color component directly determines the intensity of its primary color. The color produced in this way is called true color.
[0051] In one embodiment, the IMU sensing data includes the angular velocity and acceleration of the sensing object, and the angular velocity and acceleration of the sensing object carry a time stamp.
[0052] Specifically, the angular velocity of the sensing object in the IMU sensing data refers to the arc traveled by the sensing object in a unit time when it moves on a circle with radians as the unit. Acceleration refers to the ratio of the change in velocity to the time taken for this change to occur. It is a physical quantity that describes the speed of an object. Acceleration is a vector, and its direction is the direction of the change in the object's velocity, which is the same as the direction of the resultant external force.
[0053] In one of the embodiments, the synchronized sensing data carrying the time mark includes sensing data carrying the time mark and combined sensing data carrying the time mark, and the combined sensing data carrying the time mark is obtained by combining the sensing data carrying the time mark.
[0054] Specifically, the time stamp carried on the synchronous sensor data is the same as the time stamp carried on the sensor data, and the time stamp carried on the combined sensor data is also the same as the time stamp carried on the sensor data. The combined sensor data can be composed of the sensor data of any two sensor modules in each sensor module, or can be composed of the sensor data of any three sensor modules in each sensor module. Commonly used combined sensor data include RGB-D (red green blue depth) point cloud data and current posture data, etc. The application fields of synchronous sensor data include but are not limited to: intelligent driving, smart home, three-dimensional reconstruction, digital earth, urban planning, disaster prevention and mitigation, marine surveying and mapping, etc.
[0055] like Figure 4 As shown, a data synchronization method for a data synchronization sensor device includes the following steps:
[0056] S200: Outputting driving information to each sensor module in the sensor module according to a preset driving frequency.
[0057] Specifically, the clock module outputs driving information to each sensor module in the sensor module according to a preset driving frequency. The driving frequency refers to the frequency used to control the clock module to periodically output driving information to each sensor module in the sensor module. It is set when the clock module is initialized, and the driving frequencies of each sensor module are different. The driving information refers to the information used to trigger the operation of each sensor module in the sensor module. When each sensor module receives the driving information, it starts to collect the sensing data of the sensing object. The driving information can be a high level or a low level.
[0058] S400: Collecting sensing data of the sensing object through each sensor module according to the driving information, and outputting the sensing data with a time stamp to the microprocessor.
[0059] Specifically, after receiving the driving information, each sensor module starts to collect the sensor data of the sensing object and outputs the sensor data to the microprocessor. The sensor data output by each sensor module carries a time stamp, which is set according to the time node when the driving information is received, and the accuracy of the time stamp is equal to or less than 1 millisecond. The clock module provides a global time axis, and the time stamps carried on all sensor data are based on the time of the clock module, so that the time stamps carried on all sensor data are synchronized. For example, if each sensor module collects data when the clock module displays 9:00, the time stamps carried on all sensor data are 9:00, which can ensure the time synchronization of the sensor data.
[0060] S600: Receive sensor data carrying a time stamp through a microprocessor, identify the time stamp carried by the sensor data, combine the sensor data of each sensor module carrying the same time stamp, and generate synchronous sensor data carrying the time stamp.
[0061] Specifically, a microprocessor refers to a central processing unit composed of one or a few large-scale integrated circuits, which perform the functions of control components and arithmetic logic components. The microprocessor can complete operations such as fetching instructions, executing instructions, and exchanging information with external memory and logic components. It is the operation control part of a microcomputer. It can form a microcomputer with memory and peripheral circuit chips. The time stamp carried on the synchronous sensor data is the same as the time stamp carried on the sensor data. The synchronous sensor data includes the sensor data of each sensor module and the combined sensor data after combining the sensor data of each sensor module. The combined sensor data includes RGB-D point cloud data and current posture data. For example, the microprocessor receives 32 lines of 3D point cloud array data output by the laser radar module and the color image data output by the camera module with a time stamp of 10:00, as well as 32 lines of 3D point cloud array data output by the laser radar module and the color image data output by the camera module with a time stamp of 10:01. The microprocessor combines the 32 lines of 3D point cloud array data and the color image data with the time stamp of 10:00 and the 32 lines of 3D point cloud array data and the color image data with the time stamp of 10:01 according to the time stamp on the sensor data, and combines the sensor data of the two types of sensor modules while outputting the original sensor data to generate and output RGBD point cloud data.
[0062] The above-mentioned data synchronization sensing method adopts a unified clock module to drive each sensor module to work, so that the time of each sensor module corresponds to the time of the clock module, ensuring the time synchronization of each sensor module. The output sensor data carrying time marks are also synchronized in time. The microprocessor only needs to identify the time mark carried by the sensor data to accurately combine the sensor data of each sensor module at the same time. There is no need for complex time calibration and combination, which reduces the difficulty of time calibration, reduces the error of time calibration, and improves the calibration accuracy.
[0063] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0064] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A data synchronization sensing device, characterized in that: It includes a microprocessor, a clock module and a sensor module, wherein the sensor module includes at least two sensor modules, the microprocessor is connected to each sensor module in the sensor module, and the clock module is connected to each sensor module in the sensor module; The clock module outputs driving information to each sensor module according to a preset driving frequency, each sensor module collects sensing data of a sensing object according to the driving information, and outputs the sensing data carrying a time mark to the microprocessor, the microprocessor receives the sensing data carrying a time mark, identifies the time mark carried by the sensing data, combines the sensing data of each sensor module carrying the same time mark, and generates synchronous sensing data carrying a time mark; The sensor module includes a laser radar module, a camera module and an IMU module, and the relationship between the preset driving frequencies of the laser radar module, the camera module and the IMU module is: f1=m*f2; f2=n*f3; Wherein, f2 is the driving frequency of the camera module, f3 is the driving frequency of the laser radar module, f1 is the driving frequency of the IMU module, and m and n are integers greater than or equal to 1; The preset driving frequencies of the sensor modules are different; the sensor data include lidar sensor data, camera sensor data and IMU sensor data; the clock module is a GPS clock module; the driving method of the three sensors is: the three sensors are driven simultaneously at a certain time point, and then the three sensors are driven separately according to a fixed driving frequency.
2. The data synchronization sensor device according to claim 1, characterized in that: The accuracy of the time stamp is equal to or less than millisecond level.
3. The data synchronization sensing device according to claim 1, characterized in that: The laser radar sensing data includes 16-line, 32-line and 64-line 3D point cloud arrays, and the 16-line, 32-line and 64-line 3D point cloud arrays carry time tags.
4. The data synchronization sensing device according to claim 1, characterized in that: The camera sensing data includes black-and-white images and color images, and the black-and-white images and color images carry time stamps.
5. The data synchronization sensing device according to claim 1, characterized in that: The IMU sensing data includes the angular velocity and acceleration of the sensing object, and the angular velocity and acceleration of the sensing object carry a time stamp.
6. The data synchronization sensing device according to claim 1, characterized in that: The synchronous sensing data carrying time marks includes the sensing data carrying time marks and combined sensing data carrying time marks, and the combined sensing data carrying time marks is obtained by combining the sensing data carrying time marks.
7. A data synchronization method for a data synchronization sensor device according to any one of claims 1 to 6, characterized in that: The following steps are involved: Outputting driving information to each sensor module in the sensor module according to a preset driving frequency; By means of the sensor modules, sensing data of the sensing objects are collected respectively according to the driving information, and the sensing data with time stamps are output to the microprocessor; Receiving the sensor data carrying the time stamp through the microprocessor, identifying the time stamp carried by the sensor data, combining the sensor data of each sensor module carrying the same time stamp, and generating synchronous sensor data carrying the time stamp; The sensor module includes a laser radar module, a camera module and an IMU module, and the relationship between the preset driving frequencies of the laser radar module, the camera module and the IMU module is: f1=m*f2; f2=n*f3; Wherein, f2 is the driving frequency of the camera module, f3 is the driving frequency of the laser radar module, f1 is the driving frequency of the IMU module, and m and n are integers greater than or equal to 1; The preset driving frequencies of the sensor modules are different; the sensor data include lidar sensor data, camera sensor data and IMU sensor data; the clock module is a GPS clock module; the driving method of the three sensors is: the three sensors are driven simultaneously at a certain time point, and then the three sensors are driven separately according to a fixed driving frequency.
8. The method according to claim 7, characterized in that The preset driving frequencies of the sensor modules are different.
9. The method according to claim 7, characterized in that: The accuracy of the time stamp is equal to or less than millisecond level.
10. The method according to claim 7, characterized in that The laser radar sensing data includes 16-line, 32-line and 64-line 3D point cloud arrays, and the 16-line, 32-line and 64-line 3D point cloud arrays carry time tags.
