Multi-sensor data acquisition method, device, equipment and medium
By synchronizing the lidar acquisition time and camera data acquisition in the autonomous driving perception system, the problem of resource waste and ghosting caused by multi-sensor signal acquisition is solved, data accuracy and processing efficiency are improved, the operation process is simplified and the cost is reduced. Collection costs.
Patent Information
- Application Number
- CN202410655574.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-03
AI Technical Summary
In autonomous driving perception solutions, signals collected by multiple sensors lead to a waste of data processing and computing resources, especially inaccurate data annotation and waste of resources due to ghosting problems between lidars.
By synchronizing the collection time of lidar, it is ensured that lidars with overlapping field of view collect data at the same object time node to reduce ghosting. The target duration is used to synchronize the lidar collection time, and the lidar collects the center position of the camera's view angle. Data collection is performed at regular intervals, and the collection time is adjusted to reduce errors.
It improves the accuracy of image data, reduces the extra workload of data annotation, reduces data processing and resource waste, simplifies the operation process, and reduces collection costs through data type conversion and efficient disk placement solutions.
Smart Images

Figure CN118584501A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of autonomous driving technology, and in particular to a multi-sensor data acquisition method, device, equipment and medium. Background Art
[0002] With the development of autonomous driving technology, more and more autonomous driving perception solutions have been proposed, and a large number of sensor collection signals have been applied to the development of autonomous driving perception solutions, such as lidar, front-view camera, fisheye camera, surround-view camera, lidar and other sensors.
[0003] However, collecting a large number of sensor signals may cause waste of data processing and data processing computing resources. Summary of the invention
[0004] In order to solve the problem of waste of resources such as data processing caused by collecting a large number of sensor signals in the technology, the present invention provides a multi-sensor data collection method, device, equipment and medium.
[0005] In a first aspect, a multi-sensor data collection method is provided, wherein the sensor includes a laser radar, and the data collection method includes:
[0006] Obtain the target range of data collection and preset parameters of the laser radar, including acquisition speed and viewing angle range;
[0007] Determine the target duration of data collection based on the collection speed and target range;
[0008] Determine the first acquisition moment of each laser radar according to preset parameters and target duration, and synchronize the first acquisition moments of each laser radar through the target duration;
[0009] Control each laser radar to start data collection at a corresponding first collection time to obtain first collection data.
[0010] In a possible embodiment, determining the first acquisition moment of each laser radar according to preset parameters and target duration includes:
[0011] Determine the acquisition duration of each laser radar according to preset parameters;
[0012] The acquisition duration is allocated according to the target duration, and the starting moment of each acquisition duration is determined as the first acquisition moment of each laser radar.
[0013] In a possible embodiment, the sensor further includes a camera, and controls each laser radar to start data collection at a corresponding first collection time. After obtaining the first collection data, the following steps are included:
[0014] When each laser radar collects the center position of the camera's viewing angle, the corresponding camera is controlled to collect data to obtain second collected data.
[0015] In a possible embodiment, when each laser radar collects the center position of the viewing angle, the corresponding camera is controlled to collect data to obtain second collected data, including:
[0016] Determine the second acquisition time according to the acquisition speed, the first acquisition time and the center position of the viewing angle;
[0017] The corresponding camera is controlled to collect data at a second collection time to obtain second collected data.
[0018] In a possible embodiment, the data collection method further includes:
[0019] Compare the first collected data with the second collected data to obtain error data;
[0020] The second acquisition time is adjusted according to the error data.
[0021] In a possible embodiment, when each laser radar collects the center position of the viewing angle, the corresponding camera is controlled to collect data, including:
[0022] In response to the camera collecting the laser of the laser radar at the center position of the viewing angle, the corresponding camera is controlled to collect data to obtain second collected data.
[0023] In a possible embodiment, after controlling each laser radar to start data collection at the corresponding first collection time, the method includes:
[0024] The data type of the collected data is converted into a single-precision floating point number, and the converted data is written to the solid state drive.
[0025] In a second aspect, a multi-sensor data acquisition device is provided, wherein the sensor includes a laser radar, and the data acquisition device includes:
[0026] An acquisition module is used to acquire the target range of data acquisition and preset parameters of the laser radar, including acquisition speed and viewing angle range;
[0027] A first determination module is used to determine the target duration of data collection according to the collection speed and the target range;
[0028] A synchronization module, used to determine the first acquisition moment of each laser radar according to preset parameters and target duration, and the first acquisition moments of each laser radar are synchronized through the target duration;
[0029] The first acquisition module is used to control each laser radar to start data acquisition at a corresponding first acquisition time to obtain first acquisition data.
[0030] In a third aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement a multi-sensor data acquisition method as described in any one of the first aspects.
[0031] In a fourth aspect, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement any multi-sensor data acquisition method as described in the first aspect.
[0032] The multi-sensor data collection method, device, equipment and medium provided by the embodiments of the present disclosure have the following technical effects:
[0033] The target duration is used to synchronize the laser radar acquisition time to ensure that the laser radars with overlapping field of view angles acquire the same object at the same time node. When synthesizing image data such as laser point clouds, the ghosting caused by different time nodes in the annotation process is reduced, and the image data obtained is more accurate. At the same time, it avoids the extra workload of data annotation caused by ghosting and other problems, reduces the waste of resources caused by data processing and data processing, and simplifies the operation process of operators.
[0034] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present disclosure or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0036] Figure 1 is a schematic diagram of a data annotation process provided by an exemplary embodiment of the present disclosure;
[0037] Figure 2 is a first schematic diagram of data collection by a semi-solid laser radar provided by an exemplary embodiment of the present disclosure;
[0038] Figure 3 is a schematic diagram of a projection error of point cloud data provided by an exemplary embodiment of the present disclosure;
[0039] Figure 4is a flow chart of a multi-sensor data collection method provided by an exemplary embodiment of the present disclosure;
[0040] Figure 5 is a flowchart of step S30 of a multi-sensor data collection method provided by an exemplary embodiment of the present disclosure;
[0041] Figure 6 is a second schematic diagram of data collection by a semi-solid laser radar provided by an exemplary embodiment of the present disclosure;
[0042] Figure 7 is a schematic diagram of an arrangement of sensors provided by an exemplary embodiment of the present disclosure;
[0043] Figure 8 is a flowchart of step S50 of a multi-sensor data collection method provided by an exemplary embodiment of the present disclosure;
[0044] Fig. 9 is a schematic diagram of data collection and distribution by multiple sensors provided by an exemplary embodiment of the present disclosure;
[0045] Fig.10 A schematic diagram of reprojection of point cloud data obtained without adjusting the acquisition time provided by an exemplary embodiment of the present disclosure;
[0046] Fig.11 A schematic diagram of reprojection obtained after adjusting the acquisition time provided by an exemplary embodiment of the present disclosure;
[0047] Fig.12 A flowchart of data storage provided by an exemplary embodiment of the present disclosure;
[0048] Fig.13 is a module diagram of a multi-sensor data acquisition device provided by an exemplary embodiment of the present disclosure;
[0049] Fig.14 It is a module diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0052] Among the existing autonomous driving perception solutions, the most commonly used solution is the BEV (Bird's Eye View) perception solution.
[0053] Taking a commonly used BEV perception solution as an example, the solution collects images through 8 cameras and effectively fuses the collected images. The system directly corrects the image data collected by all cameras and uniformly inputs them into the neural network to extract the features in the image. Then, the transformer model (a model based on the self-attention mechanism) is used to associate these features, and then project them into a vector space. At the same time, some image data collected by radar are added to finally obtain a bird's-eye view of the vehicle and its surrounding environment.
[0054] Such a BEV perception solution will apply a large number of sensors in combination, such as a combination of at least six cameras, at least one high-precision laser radar and a high-precision combined inertial navigation; or a combination of at least four fisheye cameras, at least at least one high-precision laser radar and a high-precision combined inertial navigation.
[0055] The above combinations are based on the use of mechanical laser radar. Compared with traditional mechanical laser radar, the field of view of semi-solid laser radar is generally only 120°. In order to cover the 360° acquisition area, at least 4 semi-solid laser radars are generally used in the perception solution of semi-solid laser radar, facing the front, back, left and right directions of the vehicle, which further increases the number of sensors.
[0056] Usually, after the sensor collects the corresponding image data, it will process the data to Figure 1 For example, Figure 1It is a schematic diagram of the data annotation process. Generally, the image data is processed to obtain a laser point cloud, and then the target object is annotated in 3D on the laser point cloud (i.e. the right part of the figure), and then the annotation result is projected onto the collected image data (i.e. the left part of the figure). Such reprojection mainly uses the calibration parameters of the camera, combined inertial navigation and laser radar to establish a spatial transformation matrix, which requires the laser point cloud and sensor to have extremely high calibration accuracy, and at the same time, it is necessary to ensure that multiple sensors shoot the same object at the same time as much as possible.
[0057] However, due to the presence of a large amount of data collected by sensors in the perception solution, the workload of subsequent data processing increases dramatically, especially when a semi-solid-state lidar perception solution is used. Figure 2 This is a schematic diagram of data collection by a semi-solid laser radar. In the figure, four semi-solid laser radars collect data of their respective field of view angles to obtain 360° of data collection area. This means that there is at least 30° of overlap between the semi-solid laser radars (the darker part in the figure). The image data collected in this area may cause ghosting on the laser point cloud during image processing. Figure 2 It can be seen from the marked area in the box that the annotation accuracy on the laser point cloud of the image annotation is reduced, resulting in projection errors in the process of projecting the annotation onto the image data. Figure 3 As shown in the box, the projected box label should correspond to the car body, but due to the ghosting, there is an error between the box label and the car body. Such an error will bring great harm to the perception of autonomous driving and seriously affect the safety of driving.
[0058] When such errors occur, it is usually necessary to annotate the image data with errors one by one or adjust the laser point cloud, which greatly increases the workload of data processing and causes a lot of waste of resources.
[0059] Based on this, an exemplary embodiment of the present disclosure provides a multi-sensor data acquisition method, wherein the sensor includes a laser radar, which is preferably a semi-solid laser radar in this embodiment, but can also be a mechanical laser radar. The specific selection depends on the usage scenario and is not particularly limited here.
[0060] See also Figure 4 , data collection methods include:
[0061] S10, obtaining the target range of data collection and the preset parameters of the laser radar.
[0062] Among them, the preset parameters include acquisition speed and viewing angle range.
[0063] For example, the acquisition speed can be the acquisition angular speed, the viewing angle range can be the field of view angle, and the target range can generally be the angle at which data is required to be acquired. The acquisition angular speed of a laser radar is about 2.4° to 3° / ms (degrees / millisecond), and the field of view angle is about 120°. The angle at which data is required to be acquired for an autonomous driving perception solution is usually 360°.
[0064] S20. Determine the target duration of data collection according to the collection speed and the target range.
[0065] Taking the above-mentioned laser radar as an example, in order to ensure full coverage of the collected image data, four laser radars will be installed on the vehicle. Based on the collection angular velocity of a laser radar and the angle at which data collection is required, the target duration is calculated to be approximately 120ms to 160ms, and 120ms is preferred in this embodiment.
[0066] S30. Determine the first acquisition moment of each laser radar according to preset parameters and target duration.
[0067] Among them, the first collection time of each laser radar is synchronized through the target duration, and the first collection time can specifically be the time when each of the laser radar starts to collect data.
[0068] Since laser radars usually use a clockwise collection method, the laser radars provided in this embodiment, taking 4 as an example, all use a clockwise collection method for relay collection. Therefore, in order to avoid ghosting in the overlapping parts of data collection by each laser radar, the first collection moment is synchronized using the target duration in this embodiment. The purpose of synchronizing the first collection moment is to ensure that the time nodes for each laser radar to collect the same object in the overlapping part are the same, thereby avoiding ghosting on the laser point cloud. By synchronizing through the target duration, the time node corresponding to the collection of a certain point by two adjacent laser radars can be set as a time node on the target duration, so that time synchronization can be achieved.
[0069] S40, controlling each laser radar to start data collection at a corresponding first collection time to obtain first collection data.
[0070] Among them, the first collected data may specifically include but is not limited to any one or more of image data, video data, point cloud data, etc. In this embodiment, image data is preferably used, and the specific selection can be made according to actual conditions.
[0071] In this embodiment, the acquisition time of the laser radar is synchronized by the target time length to ensure that the laser radars with overlapping field of view angles have the same time nodes when collecting the same object. When synthesizing image data such as laser point clouds, the ghosting caused by different time nodes in data annotation is reduced, and the obtained image data is more accurate. At the same time, it avoids the additional workload such as inaccurate data annotation caused by ghosting and other problems, reduces the waste of resources caused by data processing and data processing, and simplifies the operation process of operators.
[0072] In one embodiment, see Figure 5 , step S30 specifically includes:
[0073] S31. Determine the acquisition time of each laser radar according to preset parameters.
[0074] For example, the acquisition angular velocity of a laser radar is approximately 2.4°~3° / ms (degrees / millisecond), and the field of view angle is approximately 120°. The time required to acquire a corresponding field of view angle is approximately 40~50ms, so the acquisition time is 40~50ms, and preferably 40ms in this embodiment.
[0075] S32. Allocate the acquisition time according to the target time, and determine the starting time of each acquisition time as the first acquisition time of each laser radar.
[0076] This embodiment does not specifically limit the allocation method, and only needs to ensure that the entire target range can be covered. However, for ease of understanding, the laser radar and target range mentioned in the above embodiment are used as an example for explanation. Figure 6 , there are 4 laser radars on the vehicle, which are laser radar 61, laser radar 62, laser radar 63 and laser radar 64 in the figure. The acquisition time of each laser radar is 40ms, and the target time is 120ms. The target time can be evenly distributed into 4 lengths according to the number of laser radars, so that the corresponding laser radar is controlled to start acquisition every 30ms, that is, the first acquisition moment in this embodiment. Even if there is an overlap of 10ms between adjacent radars, since the time node of each laser radar for acquisition is synchronously controlled according to the corresponding target time, the acquisition time nodes of adjacent laser radars for the same object in the overlapped part are consistent.
[0077] In this embodiment, compared with the method of directly allocating the collection area of the laser radar by the field of view angle, allocating the first collection moment by the target duration can ensure that the collection time nodes of adjacent laser radars for the same object in the overlapping part of the field of view of the two can be consistent, effectively avoiding the generation of ghosting in the point cloud and reducing the workload of data processing.
[0078] In one embodiment, the sensor further includes a camera. The arrangement of the sensor can be seen in Figure 7 , including 4 laser radars 71, a front view camera 72 arranged in front of the vehicle, a rear view camera 73 arranged in front of the vehicle, 2 surround view fisheye cameras 74 respectively arranged in front and behind the vehicle body, and 4 side view cameras 75. It should be emphasized that the arrangement of the above cameras is only provided as an example for easy understanding in this embodiment, and the arrangement of the cameras is not limited to this.
[0079] On this basis, after step S40, the following steps are included:
[0080] S50. When each laser radar collects the center position of the camera's viewing angle, the corresponding camera is controlled to collect data to obtain second collected data.
[0081] Among them, the second collected data may specifically include but is not limited to any one or more of image data, video data, point cloud data, etc. In this embodiment, image data is preferably used, and the specific selection can be made according to actual conditions.
[0082] In this embodiment, by triggering the camera exposure, the laser radar can trigger the camera exposure when it collects the center position of the camera's field of view, so as to ensure that for the same object, the time node when the camera collects data is consistent with the time node when the radar collects data, thereby reducing the generation of ghosting and the amount of data processing.
[0083] For ease of understanding, two implementation methods for controlling the camera to collect data are provided below for illustration:
[0084] In one embodiment, see Figure 8 , S50 specifically includes:
[0085] S51. Determine a second acquisition time according to an acquisition speed, a first acquisition time, and a center position of a viewing angle.
[0086] Among them, the starting position of the laser radar for starting data collection and the center position of the camera's field of view are determined according to the first collection time and the center position of the field of view, the time required for the laser radar to collect from the starting position to the field of view position is determined according to the starting position, the center position of the field of view and the collection speed, and the second collection time when the field of view center position is collected is determined according to the first collection time and the required time.
[0087] S52: Control the corresponding camera to collect data at a second collection time to obtain second collected data.
[0088] In addition, in this embodiment, the second acquisition time can also be corrected according to the acquired data to reduce the acquisition error and improve the image accuracy. The specific means are as follows:
[0089] The first collected data and the second collected data are compared to obtain error data, and the second collection time is adjusted according to the error data.
[0090] Among them, taking the first acquired data and the second acquired data as image data as an example, the error data can be the position deviation of the same object in the point cloud in the first acquired data and the second acquired data. According to this position deviation, in this embodiment, the second acquisition time can be adjusted by any means such as algorithms, models, and manual correction.
[0091] In one implementation, S50 specifically includes:
[0092] In response to the camera collecting the laser of the laser radar at the center position of the viewing angle, the corresponding camera is controlled to collect data to obtain second collected data.
[0093] The camera can be provided with a laser collection device at the center of the viewing angle, and the camera collects data when the collection device collects the laser of the laser radar. However, in this embodiment, the collection device and the camera have high response speed requirements, because generally speaking, the collection speed of the laser radar is 2.4° to 3° / ms, and the low response speed will cause a deviation between the second collected data and the first collected data, resulting in ghosting.
[0094] For details on the allocation of multiple sensors by the multi-sensor data collection method provided in this embodiment, please refer to Fig. 9 :
[0095] Fig. 9 The multi-sensor configuration in is 4 laser radars with 10 cameras. The specific models and parameters can be found in the above embodiments, which will not be repeated here. In this embodiment, every 30ms is used as the first acquisition time of the corresponding laser radar 71, the second acquisition time of the front-view camera and the rear-view camera are the 80ms and 20ms respectively, the second acquisition time of the four side-view cameras are the 10ms, 30ms, 70ms and 90ms respectively, and the second acquisition time of the surround-view fisheye camera is the 20ms, 50ms, 80ms and 110ms respectively. The corresponding laser radar and camera are controlled to start data acquisition at the corresponding acquisition time. This ensures that each laser radar and camera can collect data once within the target range, and the data collection time for the same object is the same.
[0096] Finally, the data collection results adjusted by this embodiment can be as follows: Fig.10 and Fig.11 As shown, Fig.10 This is a schematic diagram of the reprojection of point cloud data without adjusting the acquisition time. Fig.11This is a schematic diagram of the reprojection of the point cloud data obtained after adjusting the acquisition time. Fig.10 It can be clearly seen that there is a ghosting between the point cloud data and the image data. This is caused by the two sensors collecting the same object at different times. Fig.11 The above problems have been obviously fixed, and more accurate point cloud data has been obtained.
[0097] In one embodiment, after step S40, the following steps are included:
[0098] The data type of the collected data is converted into a single-precision floating point number, and the converted data is written to the solid state drive.
[0099] Since the data collected by the sensor needs to be written to the disk (i.e. written to the hard disk as mentioned in this embodiment) after being processed by the middleware, it can be processed later. Taking the mainstream 2MP (total number of pixels) camera as an example, the original size of a single frame is 6MB (megabytes), 10 cameras generate 60MB of data within 150ms, and 4 laser radars generate 20MB of data at the same time. It can be inferred that the system needs to support a disk speed of 533MB / s. Such a disk requirement is slightly higher than the transmission speed of USB3.0 (a serial bus standard).
[0100] In this embodiment, the collected data is processed, and its original data type is double-precision floating point, that is, data occupying 32 bytes. In actual use, the precision of the data reaches single-precision floating point to meet the needs. Therefore, before being written to the disk, the collected data is converted from double-precision floating point to single-precision floating point, so that the collected data every 150ms is halved to 10MB. The required writing speed to the hard disk is 466MB / s, and USB3.0 can meet the requirements of writing to the disk. In this embodiment, by adding an externally powered USB3.0 interface, using a solid-state mobile hard disk, and using external heat dissipation facilities for the hard disk, the maximum transmission speed of USB3.0 can be exerted to complete continuous data writing to the disk.
[0101] Furthermore, to prevent the system from crashing due to unstable disk speed, when recording data, we can first write the data to the NVME (a storage device communication protocol) built-in hard disk through PCIe (a high-speed serial computer expansion bus standard) as a safe buffer transfer, and then write it to the solid-state hard disk with USB3.0 interface.
[0102] Furthermore, the sensor can pause for 1 second every 15 seconds during the data collection process to give the system sufficient time to write the data in the memory to the hard disk.
[0103] Fig.12The process of data storage in the above embodiment is given as follows: first, the sensor is driven by the acquisition software to collect data. The data collection speed is about 500MB / s, and the acquisition software stops for 1s every 15s of collection. The acquisition software first writes the collected data into the system memory, and the system memory writes it into the built-in NVME hard disk through PCIe, and finally writes it into the external solid-state mobile hard disk through the USB3.0 adapter with a speed of 500MB / s. The solid-state mobile hard disk is also equipped with a cooling facility for cooling.
[0104] The multi-sensor acquisition method provided in this embodiment has the following technical effects:
[0105] First, through multi-sensor data collection, a single vehicle can collect data required by various autonomous driving perception algorithms such as BEV, surround fisheye, front view, and lidar, saving collection costs. Second, in the process of labeling the collected data, since the collected data is synchronized through the target duration, it is possible to label one path of point cloud data and project it onto other collected data, effectively saving labeling costs, reducing data processing volume, and reducing resource waste and human resource waste. Third, the present disclosure reduces ghosting between data collected by the lidar and improves the re-projection accuracy of data collected by the lidar by synchronizing the first collection moment, so that the labeling results on the collected image data are more consistent with the target, effectively improving the labeling quality. Fourth, the drop-disk solution adopted by the present disclosure is more portable and efficient, and the cost is greatly reduced compared to traditional solutions.
[0106] An exemplary embodiment of the present disclosure also provides a multi-sensor data acquisition device, wherein the sensor includes a laser radar, see Fig.13 , the data acquisition device includes:
[0107] An acquisition module 130 is used to acquire a target range for data acquisition and preset parameters of the laser radar, wherein the preset parameters include an acquisition speed and a viewing angle range;
[0108] A first determination module 131 is used to determine a target duration of data collection according to a collection speed and a target range;
[0109] A synchronization module 132, used to determine the first acquisition moment of each laser radar according to preset parameters and target duration, and the first acquisition moments of each laser radar are synchronized through the target duration;
[0110] The first acquisition module 133 is used to control each laser radar to start data acquisition at a corresponding first acquisition time to obtain first acquisition data.
[0111] In one embodiment, the synchronization module 132 includes:
[0112] A second determination unit, used to determine the acquisition time of each laser radar according to preset parameters;
[0113] The allocation unit is used to allocate the collection time according to the target time, and determine the starting time of each collection time as the first collection time of each laser radar.
[0114] In one embodiment, the sensor further comprises a camera, and the data acquisition device further comprises:
[0115] The second acquisition module is used to control the corresponding camera to collect data when each laser radar collects the center position of the camera's viewing angle to obtain second collected data.
[0116] In one embodiment, the second acquisition module includes:
[0117] A third determining unit, configured to determine a second acquisition time according to the acquisition speed, the first acquisition time and the center position of the viewing angle;
[0118] The control unit controls the corresponding camera to collect data at a second collection time to obtain second collected data.
[0119] In one embodiment, the data acquisition device further comprises:
[0120] An error module is used to compare the first collected data with the second collected data to obtain error data;
[0121] The adjustment module is used to adjust the second acquisition time according to the error data.
[0122] In one embodiment, the second acquisition module is also used to control the corresponding camera to collect data in response to the camera collecting the laser of the laser radar at the center of the viewing angle, so as to obtain the second collected data.
[0123] In one embodiment, the data acquisition device further comprises:
[0124] The writing module is used to convert the data type of the collected data into a single-precision floating point number, and write the data after the type conversion into the solid state drive.
[0125] The device and method embodiments in this embodiment are based on the same application concept.
[0126] An exemplary embodiment of the present disclosure provides an electronic device, Fig.14 Yes Fig.14As shown, the electronic device 1400 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1410 (the processor 1410 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1430 for storing data, and one or more storage media 1420 (such as one or more mass storage devices) for storing application programs 1423 or data 1422. Among them, the memory 1430 and the storage medium 1420 can be short-term storage or permanent storage. The program stored in the storage medium 1420 may include one or more modules, each of which may include a series of instruction operations in the electronic device. Furthermore, the central processor 1410 can be configured to communicate with the storage medium 1420 to execute a series of instruction operations in the storage medium 1420 on the electronic device 1400. The electronic device 1400 may also include one or more power supplies 1460, one or more wired or wireless network interfaces 140, one or more input and output interfaces 1440, and / or one or more operating systems 1421, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0127] The input / output interface 1440 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 1400. In one example, the input / output interface 1440 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the input / output interface 1440 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0128] It can be understood by those skilled in the art that Fig.14 The structure shown is for illustration only and does not limit the structure of the above electronic device. Fig.14 More or fewer components as shown, or with Fig.14 Different configurations are shown.
[0129] An exemplary embodiment of the present disclosure also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction, at least one program, code set or instruction set related to a multi-sensor data acquisition method in a method embodiment, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the above-mentioned multi-sensor data acquisition method.
[0130] Optionally, in this embodiment, the storage medium may be located in at least one of the plurality of network electronic devices in the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0131] It should be noted that the above-mentioned sequence of the embodiments of the present disclosure is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0132] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0133] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0134] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A multi-sensor data acquisition method, characterized in that: The sensor includes a laser radar, and the data collection method includes: Acquire the target range of data collection and the preset parameters of the laser radar, wherein the preset parameters include collection speed and viewing angle range; Determining a target duration of data collection according to the collection speed and the target range; Determine the first acquisition moment of each of the laser radars according to the preset parameters and the target duration, and synchronize the first acquisition moments of the laser radars through the target duration; Control each of the laser radars to start data collection at a corresponding first collection time to obtain first collection data.
2. The data collection method according to claim 1, characterized in that: The determining the first acquisition moment of each of the laser radars according to the preset parameters and the target duration includes: Determine the acquisition time of each laser radar according to the preset parameters; The acquisition time is allocated according to the target time, and the starting moment of each acquisition time is determined as the first acquisition moment of each laser radar.
3. The data collection method according to claim 1, characterized in that: The sensor further includes a camera, and the controlling each of the laser radars to start data collection at a corresponding first collection time, after obtaining the first collection data, includes: When each of the laser radars collects the center position of the viewing angle of the camera, the corresponding camera is controlled to collect data to obtain second collected data.
4. The data collection method according to claim 3, characterized in that: When each of the laser radars collects the center position of the viewing angle, the corresponding camera is controlled to collect data to obtain second collected data, including: Determine a second acquisition time according to the acquisition speed, the first acquisition time and the center position of the viewing angle; The corresponding camera is controlled to collect data at the second collection time to obtain second collected data.
5. The data collection method according to claim 4, characterized in that: The data collection method further comprises: Comparing the first collected data with the second collected data to obtain error data; The second acquisition time is adjusted according to the error data.
6. The data collection method according to claim 3, characterized in that: When each of the laser radars collects the center position of the viewing angle, the corresponding camera is controlled to collect data, including: In response to the camera collecting the laser of the laser radar at the center position of the viewing angle, the corresponding camera is controlled to collect data to obtain second collected data.
7. The data collection method according to any one of claims 1 to 6, characterized in that: After controlling each of the laser radars to start data collection at the corresponding first collection time, the method includes: The data type of the collected data is converted into a single-precision floating point number, and the converted data is written to the solid state drive.
8. A multi-sensor data acquisition device, characterized in that: The sensor includes a laser radar, and the data acquisition device includes: An acquisition module, used to acquire a target range for data acquisition and preset parameters of the laser radar, wherein the preset parameters include an acquisition speed and a viewing angle range; A first determination module, configured to determine a target duration of data collection according to the collection speed and the target range; A synchronization module, used to determine the first acquisition moment of each of the laser radars according to the preset parameters and the target duration, and the first acquisition moments of the laser radars are synchronized by the target duration; The first acquisition module is used to control each of the laser radars to start data acquisition at a corresponding first acquisition time to obtain first acquisition data.
9. An electronic device, characterized in that: It includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the multi-sensor data acquisition method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the multi-sensor data acquisition method according to any one of claims 1 to 7.
