Calibration of sensor devices
By mapping and optimizing sensor data through neural networks, the spatial and temporal calibration challenges between sensor devices have been solved, enabling efficient and reliable calibration of multimodal sensor systems, especially LIDAR camera systems.
Patent Information
- Application Number
- CN202380089012.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-02-27
AI Technical Summary
In existing technologies, the spatial and temporal calibration process between sensor devices is time-consuming and labor-intensive, requires professional personnel to operate, and is difficult to calibrate multimodal sensor systems efficiently.
Neural networks are used to map and optimize sensor data. By jointly optimizing the weights of the neural network and the relative transformation of the sensor coordinate system, spatial and temporal calibration of the sensor device is achieved.
It enables efficient and reliable spatial and temporal calibration of sensor devices, applicable to multimodal sensor systems, especially LIDAR camera systems, reducing calibration costs and improving calibration scalability.
Smart Images

Figure CN120418682B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the calibration of sensor devices, particularly to the calibration of LIDAR camera systems, and more specifically, to the calibration of LIDAR camera systems for at least some autonomous vehicles. Background Technology
[0002] Sensor systems comprising multiple sensor devices face the challenge of spatial or spatiotemporal calibration of each sensor relative to the others. Each sensor device acquires sensor data in its local coordinate system based on its own pose. To comprehensively utilize all acquired sensor data, it is necessary to understand the spatial orientation of the sensor devices relative to a common coordinate system, as well as the time offset between the time frames of sensor data acquired by one sensor device and those acquired by another.
[0003] For example, Light Detection and Ranging (LIDAR) camera perception systems comprise one or more LIDAR devices for acquiring time-series datasets of 3D point clouds of perceived objects, and one or more camera devices for capturing time-series 2D images of these objects. These systems are used in a variety of applications. Multimodal sensor calibration is demanding because it requires handling different types of data formats (2D images and 3D point clouds). Specifically, vehicles such as automobiles, Automated Guided Vehicles (AGVs), and autonomous mobile robots can be equipped with such LIDAR camera perception systems for navigation, localization, and obstacle avoidance. In the automotive context, LIDAR camera perception systems can be comprised of Advanced Driver Assistance Systems (ADAS).
[0004] Both LIDAR devices and camera devices report information about their local coordinate systems. To ensure the proper functioning of a LIDAR camera system, precise spatial calibration of one or more LIDAR devices and one or more camera devices relative to each other is required. This means accurately determining the rotation (tensor) R and translation (tensor) T representing the spatial relationship between the LIDAR and camera devices. Furthermore, if the individual sensor devices are not synchronized with each other, for example, through some form of hardware synchronization, time calibration is also necessary.
[0005] Spatial calibration is the process of finding the spatial relationships (i.e., transformation matrices) between different sensor devices in a system (e.g., cameras, radar, LiDAR, inertial measurement units, etc.). Temporal calibration is the process of finding the time offset between data frames from different sensors.
[0006] These calibration processes present serious problems, and the traditional solution is to conduct experiments after installing the LiDAR camera system. These experiments are based on perceiving a specific target (checkerboard) visible to both sensor devices. Features such as corners and edges can be extracted from the point cloud and images of the known target (checkerboard), and these features can be used in an optimization process to find spatial calibration between the two sensor devices, thereby achieving feature matching. However, such experiments are both laborious and time-consuming, requiring careful operation by professionals. Summary of the Invention
[0007] In view of the above, the basic objective of this application is to provide a technology for accurate spatial and / or spatiotemporal calibration of sensor devices in a sensor system, especially spatial and / or spatiotemporal LIDAR camera calibration, with low cost, high reliability and high scalability.
[0008] The foregoing and other objectives are achieved through the subject matter of the independent claims. Other embodiments will be apparent from the dependent claims, the description, and the drawings.
[0009] According to a first aspect, a method is provided for calibrating a group of second sensor devices relative to a first sensor device, wherein the first sensor device is different from the second sensor devices. The method includes the following steps: the first sensor device acquires first sensor data (first observations) in a first coordinate system, and each of the second sensor devices acquires second sensor data (second observations) in a corresponding second coordinate system, wherein the second coordinate systems are mutually different and different from the first coordinate system; mapping the first sensor data and the second sensor data acquired by each of the second sensor devices (from the corresponding local second coordinate system) to a common coordinate system (different from the first and second coordinate systems) to obtain mapped first and second sensor data. The method further includes: training the neural network based on the mapped first and second sensor data by jointly optimizing (a) the weights of a neural network used to output a neural network representation of the environment captured by the first and second sensor devices and (b) a relative transformation from the first coordinate system to the second coordinate system (represented in the first coordinate system); and spatially calibrating each of the second sensor devices relative to the first sensor device based on the trained neural network (i.e., the acquired optimized relative transformation).
[0010] It goes without saying that the term "neural network" in this document refers to an artificial neural network. The first sensor device may be a camera device or a LiDAR device, and the second sensor device may include (a) at least one camera device, (b) at least one LiDAR device, and (c) at least one of at least one camera device and at least one LiDAR device. The camera device may be a time-of-flight camera, a depth camera, etc., and the LiDAR device may be a micro-electro-mechanical system (MEMS), a LiDAR device, a solid-state LiDAR device, etc.
[0011] Specifically, both the first and second sensor devices can be moved during the calibration process.
[0012] As is well known, neural networks are trained by optimizing their weights. Optimizing the weights is done by minimizing the difference between the output generated by the neural network and the training samples, i.e., minimizing the neural network's objective function (e.g., a loss function). In the method provided in the first aspect, not only are the weights optimized during training to obtain a neural network representation of the environment captured by the sensor devices (the environment captured by the sensor devices is represented by mapped sensor data), but also, while optimizing the weights, the relative transformation from the local first coordinate system of the first sensor device to the local second coordinate systems of each of the second sensor devices is jointly optimized.
[0013] Once the training process is complete, the optimized local transformations are known and can be easily used for the spatial calibration of the sensor devices. The method for calibrating a group of second sensor devices relative to a first sensor device, provided by the first aspect, enables the on-the-fly calibration of sensor devices in a reliable and cost-effective manner (e.g., during vehicle operation equipped with sensor devices). Specifically, multiple sensor systems, including sensor devices, can be individually calibrated during the training of the neural network to obtain a synthetic view of the environment. No specially designed target needs to be provided in the environment to perform the calibration process, thus allowing for rapid and efficient calibration. Furthermore, this method is well-suited for calibrating multimodal sensor systems that process different data formats (e.g., including camera devices providing 2D images and LiDAR devices providing 3D point clouds).
[0014] In cases where the second devices are out of sync, time calibration is required in addition to spatial calibration. Therefore, in one implementation of the method provided by the first aspect, the first sensor data includes a first time frame, and the second sensor data acquired by each of the second sensor devices includes a second time frame; the neural network is trained by (c) jointly optimizing the time offset of the second time frame of the second sensor data acquired by at least one of the second sensor devices relative to the first time frame, while optimizing the weights of the neural network and the relative transformation from the first coordinate system to the second coordinate system. The method provided by this implementation further includes: performing time calibration on the at least one of the second sensor devices relative to the first sensor device based on the trained neural network, i.e., the optimized time offset.
[0015] Therefore, at least one second sensor device is spatiotemporally calibrated relative to the first sensor device based on a trained neural network. If none of the second sensor devices are synchronized with the first sensor device, then all the second sensor devices in this group can be temporally calibrated according to this implementation. Unlike prior art, according to this implementation, spatial and temporal calibration can be performed jointly, thus enabling reliable and efficient implementation.
[0016] The observations from each sensor device need to be mapped to a common coordinate system. In one implementation of the method provided by the first aspect, this mapping can be conveniently performed based on the trajectory of the (moving) first sensor device in the common coordinate system (based on the trajectory interpolation function obtained from discrete position / pose measurements), the prior information of the relative transformation (represented in the first coordinate system), and the prior information of the time offset.
[0017] Prior information represents initial rough estimates, such as those obtained from some construction plans or computer-aided design (CAD) data.
[0018] According to one implementation of the method provided in the first aspect, the neural network includes a (deep) multilayer perceptron (MLP) (fully connected feedforward) neural network. Specifically, the neural network is trained using the Neural Radiance Field (NeRF) technique, proposed by B. Mildenhall et al. in a paper titled "Nerf: Representing scenes as neural radiance fields for view synthesis," presented at the 16th European Conference on Computer Vision (ECCV 2020) in Glasgow, UK, from August 23-28, 2020, and published by Springer in Cham in 2020. This technique has now become one of the most popular tools for view synthesis. The NeRF-trained neural network provides a neural field that includes color values and spatially correlated volumetric density values. This neural field can be queried at multiple locations along the light rays for volumetric rendering (see detailed description below). In this implementation, a neural network representation of the environment captured by the sensor device is provided, which is then used for subsequent volumetric rendering, producing a rendered image or point cloud, etc. During training, the difference between the rendered image or point cloud and the mapped sensor data is minimized.
[0019] According to this implementation, calibration can be performed based on a neural network trained with NeRF, where training includes not only optimizing weights (as described in the paper by Mildenhall et al.), but also optimizing relative transformations or relative transformations and time offsets, as mentioned above. Because NeRF provides high rendering quality with relatively low computational cost and memory requirements, it can be applied to methods for calibrating a set of second sensor devices relative to a first sensor device, especially when NeRF is running on embedded computing systems with limited computational resources.
[0020] According to one implementation, when the neural network is trained using neural radiation field technology, the joint optimization (a) of the weights of the neural network for outputting the neural network representation of the environment captured by the first and second sensor devices and (b) the relative transformation from the first coordinate system to the second coordinate system (represented in the first coordinate system) is performed by minimizing the objective function L according to the following equation:
[0021]
[0022] Where, time(n) iThis indicates that the timestamp is associated with the corresponding time frame n. i The associated function, θ represents the weight. This represents the relative transformation (represented in the first coordinate system). This indicates the pose of the first sensor device in the common coordinate system. Z represents ground-based true sensor data (e.g., images or point clouds). θ This represents neural network-based sensor data (e.g., images or point clouds rendered using volumetric rendering based on the neural field), where c0 represents the first sensor device / first coordinate system, and C represents the second sensor device (and second coordinate system). i The number, N i Let |i| represent the number of the second time frames acquired by the i-th second sensor device, and ||..|| represent the norm.
[0023] This objective function can be applied to the optimization process in the context of spatial calibration of sensor devices.
[0024] According to another implementation, when the neural network is trained using neural radiation field technology and spatiotemporal calibration of the sensor devices is to be achieved, the joint optimization of (a) the weights of the neural network used to output the neural network representation of the environment captured by the first and second sensor devices, (b) the relative transformation from the first coordinate system to the second coordinate system, and (c) the time offset of the second time frame acquired by at least one of the second sensor devices relative to the first time frame is performed by minimizing the objective function L according to the following equation:
[0025]
[0026] Where, time(n) i This indicates that the timestamp is associated with the corresponding time frame n. i The associated function, θ represents the weight. Denotes the relative transformation, dt i This indicates the time offset of the second time frame relative to the first time frame. This represents the trajectory of the first sensor device in the common coordinate system (a trajectory interpolation function obtained from discrete position / pose measurements). Z represents ground-based true sensor data (e.g., images or point clouds). θ This represents neural network-based sensor data (e.g., images or point clouds rendered using volumetric rendering based on the neural field), where c0 represents the first sensor device / first coordinate system, and C represents the second sensor device (and second coordinate system). i The number, Ni Let |i| represent the number of the second time frames acquired by the i-th second sensor device, and ||..|| represent the norm.
[0027] This objective function can be applied to the optimization process in the context of spatiotemporal calibration of sensor devices.
[0028] The method for calibrating a set of second sensor devices relative to a first sensor device, provided by the first aspect and its implementations above, can be applied to calibrating sensor systems mounted on vehicles, which may be (specifically, fully or partially autonomous) cars, autonomous mobile robots, or AGVs, etc. Therefore, according to one implementation, the first sensor device and the second sensor device are mounted on the vehicle. In this case, the method provided by the first aspect and its implementations can be performed during the movement of the vehicle. Reliable calibration based on the method provided by the first aspect and its implementations can successfully achieve fusion sensing of numerous (multimodal) sensor devices for tracking and detection verification, autonomous vehicle trajectory estimation based on multimodal sensor fusion, accurate 3D detection using a multi-camera system employing stereo algorithms, and so on.
[0029] At least one step of the training and calibration steps of the method provided by the first aspect and its implementation can be performed at a vehicle or at a remote site that provides the sensor data required for calibration, using the limited computing resources of an embedded computing system.
[0030] According to a second aspect, a computer program product including computer-readable instructions is provided. When the computer-readable instructions are executed on a computer (e.g., a computer installed in a vehicle), the computer-readable instructions are used to perform the steps of the method provided in the first aspect or any implementation thereof.
[0031] According to a third aspect, a calibration system is provided. The calibration system includes: a first sensor device for acquiring first sensor data in a first coordinate system; a set of second sensor devices different from the first sensor device, wherein each second sensor device is used to acquire second sensor data in a corresponding second coordinate system, the second coordinate systems being mutually different and different from the first coordinate system; a neural network; and a processing unit. The processing unit is used to map the first sensor data and the second sensor data acquired by each of the second sensor devices to a common coordinate system (different from the first and second coordinate systems) to obtain mapped first and second sensor data; and to train the neural network based on the mapped first and second sensor data by jointly optimizing (a) the weights of the neural network used to output a neural network representation of the environment captured by the first and second sensor devices and (b) a relative transformation from the first coordinate system to the second coordinate system. Furthermore, the processing unit is used to perform spatial calibration on each of the second sensor devices relative to the first sensor device based on the trained neural network.
[0032] The first sensor device may be a camera device or a LiDAR device, and the second sensor device may include (a) at least one camera device, (b) at least one LiDAR device, and (c) at least one of at least one camera device and at least one LiDAR device. The camera device may be a time-of-flight camera, a depth camera, etc., and the LiDAR device may be a MEMS LiDAR device, a solid-state LiDAR device, etc.
[0033] The calibration system provided by the third aspect and its implementations below offers the same or similar advantages as the method provided above in conjunction with the first aspect and its implementations. The calibration system provided by the third aspect and its implementations can be used to perform the method provided by the third aspect and its implementations.
[0034] According to an implementation method suitable for spatiotemporal calibration, the first sensor data includes a first time frame, and the second sensor data acquired by each of the second sensor devices includes a second time frame. The processing unit is configured to train the neural network by: (c) jointly optimizing the time offset of the second time frame acquired by at least one of the second sensor devices relative to the first time frame while optimizing the weights of the neural network and the relative transformation from the first coordinate system to the second coordinate system (represented in the first coordinate system); and performing time calibration on the at least one of the second sensor devices relative to the first sensor device based on the trained neural network.
[0035] The processing unit in the calibration system provided by the first aspect and its implementation can be used to map the first sensor data and the second sensor data acquired by each of the second sensor devices into the common coordinate system based on the trajectory of the first sensor device in the common coordinate system (the trajectory interpolation function obtained from discrete position / pose measurement values), the prior information of the relative transformation (represented in the first coordinate system), and the prior information of the time offset.
[0036] According to one implementation, the processing unit in the calibration system is used to train the neural network based on neural radiation field technology.
[0037] According to one implementation, the processing unit in the calibration system is used to train the neural network based on neural radiation field technology; by minimizing the objective function L according to the following equation, it jointly optimizes (a) the weights of the neural network used to output the neural network representation of the environment captured by the first and second sensor devices and (b) the relative transformation from the first coordinate system to the second coordinate system (represented in the first coordinate system):
[0038]
[0039] Where, time(n) i This indicates that the timestamp is associated with the corresponding time frame n. i The associated function, θ represents the weight. This represents the relative transformation. This indicates the pose of the first sensor device in the common coordinate system. Z represents ground-based true sensor data (e.g., images or point clouds). θThis represents neural network-based sensor data (e.g., images or point clouds rendered using volumetric rendering based on the neural field), where c0 represents the first sensor device / first coordinate system, and C represents the second sensor device (and second coordinate system). i The number, N i Let |i| represent the number of the second time frames acquired by the i-th second sensor device, and ||..|| represent the norm.
[0040] According to another implementation applicable to spatiotemporal calibration, the processing unit in the calibration system is configured to: train the neural network according to neural radiation field technology; and jointly optimize (a) the weights of the neural network used to output the neural network representation of the environment captured by the first and second sensor devices, (b) the relative transformation from the first coordinate system to the second coordinate system (represented in the first coordinate system), and (c) the time offset of the second time frame acquired by at least one of the second sensor devices relative to the first time frame by minimizing the objective function L according to the following formula:
[0041]
[0042] Where, time(n) i ) represents a function that associates a timestamp with its corresponding time frame ni, and θ represents the weight. Denotes the relative transformation, dt i This indicates the time offset of the second time frame relative to the first time frame. This represents the trajectory of the first sensor device in the common coordinate system (a trajectory interpolation function obtained from discrete position / pose measurements). Z represents ground-based true sensor data (e.g., images or point clouds). θ This represents neural network-based sensor data (e.g., images or point clouds rendered using volumetric rendering based on the neural field), where c0 represents the first sensor device / first coordinate system, and C represents the second sensor device (and second coordinate system). i The number, N i Let |i| represent the number of the second time frames acquired by the i-th second sensor device, and ||..|| represent the norm.
[0043] According to a fourth aspect, a vehicle is provided. The vehicle includes the calibration system provided in the third aspect or any implementation thereof. For example, the vehicle may be a car, an autonomous mobile robot, or an AGV.
[0044] Details of one or more embodiments are set forth in the accompanying drawings and the following description. Other features, objects, and advantages will be apparent from the specification, drawings, and claims. Attached Figure Description
[0045] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings, in which:
[0046] Figure 1 The purpose of spatial calibration of the sensor device is illustrated.
[0047] Figure 2 The purpose of time calibration for sensor devices is illustrated.
[0048] Figure 3 The principle of one embodiment of the method for calibrating sensor devices provided herein is illustrated.
[0049] Figure 4 and Figure 5 Spatiotemporal calibration of a sensor device provided in one embodiment is illustrated.
[0050] Figure 6 and Figure 7 Spatial calibration of a sensor device provided in one embodiment is shown.
[0051] Figure 8 This is a flowchart of a method for spatial calibration of a sensor device provided in one embodiment.
[0052] Figure 9 This is a flowchart of a method for spatial and temporal calibration of a sensor device provided in one embodiment.
[0053] Figure 10 A calibration system provided in one embodiment is shown. Detailed Implementation
[0054] This paper provides a method for calibrating sensor devices (especially spatial or spatiotemporal calibration of multimodal sensors) by jointly optimizing sensor observations and calibration parameters based on NeRF scene representations. Although the following description of embodiments relates to NeRF technology, other techniques based on explicit representations of the environment / scene using neural fields and image rendering can be suitably used in alternative embodiments.
[0055] A scheme is provided for spatial or spatiotemporal external calibration of multiple camera and LiDAR sensor setups typically used in ADAS and autonomous vehicles (e.g., including single or multiple cameras and single or multiple LiDARs) without any prior known target (i.e., providing targetless calibration). Spatiotemporal calibration involves finding the relative poses of all sensor devices relative to the master sensor device and the time offsets of time frames. These poses are represented by rotation (matrix) R, translation (matrix) T, and time offset dt.
[0056] Translation (T) and rotation (R) represent rigid spatial transformations between a coordinate system centered on the main sensor device and a coordinate system centered on each of the other sensor devices. Translation can include three types of translational motions along the three vertical axes x, y, and z. Rotation can include three types of rotational motions about the three vertical axes x, y, and z: roll, yaw, and pitch. Coordinate transformations from one coordinate system to another can be achieved through matrix multiplication.
[0057] Taking the commonly used calibration pinhole camera model in computer vision as an example, the pixel coordinates (u,v) of the projection of a 3D point (represented in its own coordinate system) are obtained by multiplying the 3D coordinates (subscript K) of that point in the camera coordinate system by the camera's internal matrix K (where f... x f y Corresponding to the focal length of the camera, in pixels, f x =f y Applicable to square pixel cameras, where u0 and v0 represent the projection of the camera's optical center onto the image plane:
[0058]
[0059] Wherein, the subscript L represents the coordinate system of the main sensor device, and R and T represent the rotation and translation of the coordinate system of the main sensor device relative to the coordinate system of one of the other sensor devices.
[0060] Figure 1 The purpose of spatial calibration of the sensor equipment is illustrated. Vehicle 10 is equipped with one or more LiDAR devices 1, at least a first camera device c0, and a second camera device c1. Figure 1 In the diagram, the coordinate system (system / frame) associated with vehicle 10 is represented by v, and the coordinate system (system / frame) associated with the camera device is represented by c. i (i∈C) indicates that the coordinate system (system / frame) associated with the LIDAR device is determined by l j (j∈L) represents the external calibration (= spatial calibration) of sensor equipment installed on the vehicle, which is determined by a set of relative transformations in the vehicle coordinate system v. This set of relative transformations describes the transformations between the vehicle coordinate system and the various coordinate systems of the camera / LIDAR device. For example... Figure 1 As shown, the relative transformations from the coordinate system of vehicle 10 to the coordinate systems of each sensor device l, c0, c1 define the corresponding external parameters for translation and rotation.
[0061] The vehicle coordinate system v can be replaced with the coordinate system of one of the sensor devices (the coordinate system of the "master sensor device"), for example, the coordinate system of the LIDAR device l.
[0062] Figure 2 This illustrates the purpose of time calibration for sensor devices. Consider a vehicle V, and the pose (pose measurement) of its main sensor device. The data is represented in a common (global) coordinate system w and acquired over time steps (timestamps) k (k = 0, 1, 2...n). Based on these observations, by interpolating the measured pose over discrete time steps k, a continuously differentiable trajectory interpolation function for the main sensor device's trajectory in the common coordinate system (including pose and the coordinate system fixed to the main sensor device) can be obtained. When other sensor devices c0 installed on vehicle V generate measurements along the vehicle trajectory at timestamp k′ (k′≠k), the purpose of time calibration is to determine a constant time offset dt between the observations (or interpolated observations) generated by the main sensor of vehicle V and the observations (or interpolated observations) generated by other sensor devices at k′=k+dt. In the following text, it is assumed that the time offset between the time frames captured by the main sensor device and the time frames captured by other sensor devices is constant.
[0063] According to the present invention, a neural network is trained based on data provided by a sensor device to represent the environment and acquire calibration parameters. For example, as shown by NeRF technology, the neural network outputs a neural field that can be used for volumetric rendering. Depending on the specific implementation, the neural network includes or consists of a (deep) MLP, i.e., a fully connected feedforward neural network, which is trained according to NeRF technology, proposed by B. Mildenhall et al. in a paper titled "Nerf: Representing scenes as neural radiance fields for view synthesis" presented at the 16th European Conference on Computer Vision – ECCV 2020 in Glasgow, UK, from August 23 to 28, 2020, and published by Springer in Cham in 2020. NeRF can acquire a neural network representation of the environment based on color values and spatially correlated volumetric density values (representing the neural field).
[0064] The input data to the neural network represents the coordinates (x, y, z) of a sampled set of 3D points and the corresponding viewing direction of the 3D points. The neural network trained by NERF outputs view-related color values (e.g., RGB) and volume density values σ. Therefore, the MLP utilizes the optimized weights Θ obtained during training to achieve...
[0065] Volumetric rendering is based on light rays passing through the scene (projected from all pixels in the image). The volume density σ(x,y,z) can be interpreted as the differential probability that the light ray terminates on an infinitesimal particle at (x,y,z). By collecting all volume density values along the ray direction, the cumulative transmittance T(s) along the ray direction can be calculated: The cumulative transmittance T(s) along the ray from the origin 0 to s represents the probability that the ray reaches s through its path but does not hit any particle.
[0066] The implicit representation (neural field) queries multiple locations along the ray and then combines the resulting samples into an image. The training objective of the NeRF neural network can be defined as:
[0067]
[0068] Where θ represents the trainable parameters (i.e., the weights of the neural network) in the implicit NeRF representation, and I n The training image is n (n∈N), I θ (T n K) is NeRF in pose T n (Image I) n Using camera parameters K (pose) n (Image I) n The generated (volume-rendered) image is obtained by taking camera parameters (e.g., resolution, field of view, etc.) and using an appropriate norm. For example, the L2 norm (L2 loss function) can be used.
[0069] A similar formula can be used to train NeRF using geometric information (e.g., depth maps from LiDAR devices):
[0070]
[0071] Among them, D n It is the training depth map n (n∈N), D θ (T n K) is NeRF in pose T n (Training Depth Map D) n Using LIDAR parameters K on the pose) n (Training Depth Map D)n The depth map is generated using LIDAR parameters, such as resolution and field of view.
[0072] The principle of one embodiment of the method for calibrating sensor devices based on NeRF technology provided in this article is as follows: Figure 3 As shown. The NeRF neural network is trained on a scene using multi-sensor observations from a sensor device rigidly mounted on a vehicle v. All available sensor observations are mapped to a common coordinate system 33 using the master sensor trajectory (or device / vehicle trajectory; see also the description above) 31 and external prior information (e.g., initial coarse estimates of calibration parameters obtained from some construction plan or CAD data) 32. The implicit representation F of the scene θ It is trained by minimizing the difference between the multimodal observations (color or depth) and the predicted modal generated by the ray travel based on the implicit representation obtained from a neural network known in the art.
[0073] According to the present invention, while optimizing the weights of the implicit representation, the same optimization objective function used to adjust the weights of the neural network is used to jointly (simultaneously in the same adjustment / backpropagation step) optimize the rigid external calibration between the sensor devices mounted on the vehicle. In the case of spatiotemporal calibration, while optimizing the weights of the implicit representation and the external calibration parameters, the same optimization objective function is also used to jointly optimize the acquisition time offset between the sensor devices. After training convergence is achieved, the optimized spatiotemporal calibration 35 of the vehicle's sensor devices is obtained.
[0074] Figure 4 and Figure 5 Spatiotemporal calibration of a sensor device based on NeRF technology is illustrated in one embodiment. For example, temporal and spatial calibration is performed directly on a device (e.g., a vehicle) equipped with one or more camera devices and one or more LiDAR devices. Temporal and spatial calibration can also be performed, at least in part, by a remote server providing the necessary data.
[0075] To train an implicit representation of the scene captured by the multimodal sensor devices, the observations of each sensor device need to be placed in a common coordinate system (global coordinate system, world coordinate system, w). This requires obtaining the pose prior information (first estimate) of each sensor device.
[0076] To calculate the pose prior information for each sensor device in a common coordinate frame, this example requires the following inputs (see...). Figure 4 (Input field)
[0077] • The trajectory of the main sensor device (e.g., a LiDAR device or the first camera c0) in a common coordinate system It can be easily achieved through Global Navigation Satellite System (GNSS), Simultaneous Localization and Mapping (SLAM), or Structure from Motion (SfM).
[0078] Acquired through technology, etc.
[0079] • Prior information on the external calibration of all (secondary, auxiliary) sensor devices that differ from the primary (first) sensor device, i.e., the relative transformation from the coordinate system of the primary sensor device to the coordinate systems of each of the secondary sensor devices (within the coordinate system of the primary sensor device).
[0080]
[0081] ·Main sensor device and second sensor device dt i Prior information about the time offset between them.
[0082] The pose prior information of each sensor device i for each observation in the common coordinate system can be calculated from these inputs using the following equation (see Figure 5 (51 and 52 in the text):
[0083]
[0084] Given the pose prior information of each observation of sensor device i in the common coordinate system, the observation of each sensor device i in the common coordinate system w can be obtained (see [reference]). Figure 4 (See 41). The observations of each sensor device in sensor device i in the common coordinate system w are used to train the neural network (see...). Figure 4 (42) Training the neural network 42 includes training the implicit representation of the corresponding scene, i.e., optimizing the weights of the neural network, and jointly optimizing the relative transformation. And the time offset dt. After achieving optimization convergence, the optimized actual relative transformation is obtained. (External space calibration) and time offset dt, i.e., obtained from the output of the neural network or based on the output of the neural network (see...). Figure 4 ).
[0085] Based on the objective given in Equation 1 above, the optimization problem for C cameras and the observations obtained over N time frames can be defined as:
[0086]
[0087] Where, time(n) i This indicates that the timestamp is associated with the corresponding time frame n. i Related functions, N i This represents the number of second time frames acquired by the i-th second sensor device. Training images. This represents the observations (sensor data) of the second sensor device in the common coordinate system. Camera parameters are not considered here because they will remain constant and therefore will not affect the target. Using the trajectory interpolation function (see Equation 3), we can obtain:
[0088]
[0089] in, It is the identity matrix. Because the image rendering function I... θ Relative to the differentiability of pose, relative transformation It can be added to the optimization parameter θ (weight); due to the differentiability of the trajectory interpolation function, the time offset can also be added to the optimization parameter.
[0090] Other devices can also process this information accordingly. For example, observations from a LiDAR device can be processed by converting ground truth images into data. n and the generated (i.e., rendered) image I θ Replace with ground truth LIDAR ray depth map D n (See Equation 2) and the depth map D generated based on neural field and volume rendering. θ The data is input into the optimization process. Due to the implicit representation with weights θ, the camera and LiDAR observations are tightly coupled during the optimization process.
[0091] Figure 6 and Figure 7 This illustrates spatial calibration of mutually synchronized sensor devices based on NeRF technology, as provided in one embodiment. (Combined with...) Figure 4 and Figure 5 Compared to the described embodiments, calibration is easier and faster when all sensor devices are synchronized with each other (e.g., hardware synchronization).
[0092] To calculate the pose prior information for each sensor device in a common coordinate frame, this example requires the following inputs (see...). Figure 6 (Input field)
[0093] • The pose of the main sensor device (e.g., a LiDAR device or the first camera c0) can be easily measured in a common coordinate system.
[0094] • Prior information on the external calibration of all (secondary, auxiliary) sensor devices that differ from the primary (first) sensor device, i.e., the relative transformation from the coordinate system of the primary sensor device to the coordinate systems of each of the secondary sensor devices (within the coordinate system of the primary sensor device).
[0095] The pose prior information for each observation of each sensor device i in the common coordinate system can be calculated from these inputs using the following equation:
[0096]
[0097] Given the pose prior information of each observation of sensor device i in the common coordinate system, the observation of each sensor device i in the common coordinate system w can be obtained (see [reference]). Figure 6 (See section 61). The observations of each sensor device in sensor device i in the common coordinate system w are used to train the neural network (see section 61). Figure 6 (62) After the training process is completed, the actual relative transformation is obtained. (External space calibration), which is obtained from or based on the output of a neural network (see...). Figure 6 ).
[0098] and combination Figure 4 and Figure 5 Compared to the described embodiments, the objective is simplified to:
[0099]
[0100] The process of jointly optimizing weights and external space calibration parameters is as follows: Figure 7 As shown. Observations generated by multiple sensor devices at different poses are used to train the implicit scene representation F. θ 72. Minimize the difference between the observed scene and the scene representation by updating the scene representation and the observation position (pose). 73.
[0101] Figure 8 A method 80 for spatially calibrating a second sensor device relative to a first sensor device is illustrated in one embodiment. Method 80 can be applied to situations where the second sensor device, requiring spatial calibration relative to the first sensor device, is synchronized with the first sensor device.
[0102] Method 80 includes: a first sensor device (e.g., a camera device or a LiDAR device, for example, Figure 1The LIDAR device shown in step 1) acquires first sensor data (e.g., images or point clouds of the environment at different time frames) in the first coordinate system (i.e., a coordinate system fixed to and moving with the first sensor device) in step S81, and second sensor data (e.g., a camera device, a LIDAR device, or a combination of a camera device and a LIDAR device, for example, ...). Figure 1 Each of the second sensor devices in the camera devices c0 and c1 shown acquires second sensor data (e.g., images or point clouds of the environment at different time frames) in a corresponding second coordinate system (each of the second sensor devices has a fixed second coordinate system), wherein the second coordinate systems are different from each other and are different from the first coordinate system.
[0103] Method 80 further includes: mapping the second sensor data acquired by each of the first sensor data and second sensor devices to a common (global, world) coordinate system S82 to obtain mapped first and second sensor data (i.e., mapped to the common coordinate system). Mapping S82 can be performed using the above-described combination... Figure 6 The execution is based on the prior information described in the "Input" field.
[0104] Method 80 further includes: training an S83 neural network based on the mapped first and second sensor data by jointly optimizing the weights of a neural network used to output a neural network representation of the environment captured by the first and second sensor devices and the relative transformation from the first coordinate system to the second coordinate system. The optimization process can be described in conjunction with the above. Figure 6 The example described is used to perform this; see Equation 7 for details.
[0105] Method 80 further includes: performing spatial calibration S84 on each of the second sensor devices relative to the first sensor device based on the trained neural network, i.e. using an optimized relative transformation from the first coordinate system to the second coordinate system.
[0106] Figure 9 An embodiment of a method 90 for spatial and temporal calibration of a second sensor device relative to a first sensor device is illustrated. This method is applicable when the second sensor device, requiring calibration relative to the first sensor device, is out of sync with the first sensor device.
[0107] Method 90 includes: a first sensor device (e.g., a camera device or a LiDAR device, for example, Figure 1The LIDAR device shown in step 1) acquires first sensor data (e.g., images or point clouds of the environment at different time frames) in the first coordinate system (i.e., a coordinate system fixed to and moving with the first sensor device) in step S91, and second sensor data (e.g., a camera device, a LIDAR device, or a combination of a camera device and a LIDAR device, for example, ...). Figure 1 Each of the second sensor devices in the shown camera devices (c0 and c1) acquires second sensor data (e.g., images or point clouds of the environment at different time frames) in a corresponding second coordinate system (each of the second sensor devices has a fixed second coordinate system), wherein the second coordinate systems are different from each other and different from the first coordinate system. The first sensor data includes a first time frame, and the second sensor data acquired by each of the second sensor devices includes a second time frame.
[0108] Method 90 further includes: mapping the second sensor data acquired by each of the first sensor data and second sensor devices to a common (global, world) coordinate system via S92 to obtain mapped first and second sensor data (i.e., mapped to the common coordinate system). Mapping S92 can be performed using the above-described combination... Figure 4 The execution is based on the prior information described in the "Input" field.
[0109] Method 90 further includes training the S93 neural network by simultaneously optimizing the time offset of the second time frame of the second sensor data acquired by at least one of the second sensor devices relative to the first time frame, while optimizing the weights of the neural network and the relative transformation from the first coordinate system to the second coordinate system. The optimization process can be based on the above combined with... Figure 4 The example described is used to perform this; see Equation 5 for details.
[0110] Method 90 further includes: performing spatial and temporal calibration of at least one of the second sensor devices relative to the first sensor device based on a trained neural network S94.
[0111] Figure 10 A calibration system 100 according to one embodiment is shown. The calibration system can be installed in a vehicle (e.g., an automobile). The calibration system 100 can be used to perform the method steps of method 80 or 90 described above.
[0112] Specifically, Figure 10 The calibration system 100 shown includes: a first sensor device (e.g., a camera device or a LiDAR device, for example, Figure 1The illustrated LIDAR device 1) is used to acquire first sensor data (e.g., images or point clouds of the environment at different time frames) in a first coordinate system (i.e., a coordinate system fixed to and moving with the first sensor device); and a second sensor device (e.g., a camera device, a LIDAR device, or a combination of a camera device and a LIDAR device, such as...). Figure 1 The camera devices c0 and c1 shown are used to acquire second sensor data (e.g., images or point clouds of the environment at different time frames) in corresponding second coordinate systems (each of the second sensor devices has a fixed second coordinate system), wherein the second coordinate systems are different from each other and different from the first coordinate system.
[0113] The calibration system 100 also includes a processing unit 103 and a neural network 104. The neural network 104 may be an MLP neural network. The processing unit 103 is used to map the second sensor data acquired by each of the first and second sensor devices to a common coordinate system to obtain mapped first and second sensor data. Figure 4 or Figure 6 The prior information described in the "Input" column maps the first and second sensor data to a common coordinate system.
[0114] Furthermore, processing unit 103 is configured to: train a neural network based on the mapped first and second sensor data by jointly optimizing (a) the weights of a neural network used to output the neural network representation of the environment captured by the first and second sensor devices and (b) the relative transformation from the first coordinate system to the second coordinate system; and perform spatial calibration of each of the second sensor devices relative to the first sensor device based on the trained neural network 104. The optimization process can be combined with the above description. Figure 6 The example described is used to perform this; see Equation 7 for details.
[0115] Alternatively, processing unit 103 is configured to: train the neural network based on the mapped first and second sensor data by jointly optimizing (a) the weights of a neural network used to output a neural network representation of the environment captured by the first and second sensor devices, (b) the relative transformation from the first coordinate system to the second coordinate system, and (c) the time offset of a second time frame acquired by at least one of the second sensor devices relative to the first time frame. The optimization process can be based on the above-described combination of... Figure 4 The example described is used to perform this; see Equation 5 for details.
[0116] In addition, the processing unit 103 is used to perform spatial or spatiotemporal calibration on each of the second sensor devices relative to the first sensor device based on the trained neural network 104.
[0117] Specifically, training neural network 104 can be done by combining the above methods respectively. Figure 4 and Figure 6 The embodiments shown are executed in the manner described.
[0118] It should be noted that, in Figures 3 to 10 In the illustrated embodiment, training the implicit scene representation and estimating the optimized spatiotemporal or spatial calibration parameters can be performed on the target device (e.g., a vehicle). When computational power is limited, data can be recorded by the device, and optimization can be performed partially or entirely during the device's "offline time." Recorded data can be sent from the device to an external processing unit where spatiotemporal or spatial calibration is to be performed. When embedded computing resources are sufficiently powerful, the optimized calibration parameters from the host device can be obtained without data transmission.
[0119] Based on accurately estimated time and space calibration parameters, any number of sensor devices, such as camera devices and / or LIDAR devices, can be reliably calibrated at a relatively low cost.
[0120] Embodiments of the above-described methods and apparatus can be appropriately integrated into vehicles such as automobiles, AGVs, and autonomous mobile robots to facilitate navigation, positioning, and obstacle avoidance. Vehicle series equipped with multiple sensors can be calibrated or recalibrated in real-time. In one exemplary scenario, an initial sensor calibration is provided to the vehicle (e.g., based on CAD blueprints). During the first drive, data is collected to apply the spatiotemporal or spatial calibration process provided in the above embodiments. After calibration optimization, the vehicle software can then enable automated functions.
[0121] In the automotive context, embodiments of the above methods and apparatus can be comprised of ADAS (Advanced Driver Assistance Systems). In the context of autonomous driving / ADAS applications, reliable calibration of sensor devices facilitates the fusion perception of numerous sensor devices for tracking and detection verification, autonomous vehicle trajectory estimation based on multimodal sensor fusion, and accurate 3D detection using multi-camera systems employing stereo algorithms, among other applications.
[0122] All the embodiments discussed above are not intended to be limiting, but rather to illustrate the features and advantages of the invention. It should be understood that some or all of the above features can also be combined in different ways.
Claims
1. A method (80, 90) for calibrating a set of second sensor devices (102) relative to a first sensor device (101), characterized in that, The first sensor device (101) is different from the second sensor device (102), and the method includes the following steps: The first sensor device (101) acquires first sensor data in the first coordinate system (S81, S91), and each of the second sensor devices (102) acquires second sensor data in the corresponding second coordinate system. The second coordinate systems are different from each other and are different from the first coordinate system. The first sensor data includes a first time frame, and the second sensor data includes a second time frame. Each time frame is associated with a timestamp and contains the corresponding sensor observation value. The pose of the first sensor device in a common coordinate system and the relative transformation from the first coordinate system to the second coordinate system for each second sensor device are obtained. The relative transformation includes the rotation matrix and translation vector to be optimized. Based on the timestamp associated with the first time frame and the pose of the first sensor device in the common coordinate system, first mapping data is obtained; and based on the timestamp associated with the second time frame, the pose of the first sensor device in the common coordinate system, and the corresponding relative transformation, second mapping data is obtained. Based on the first mapping data and the second mapping data, a neural network (S83) (104) is trained by jointly optimizing the following: (a) The weights of the neural network (104) representing the environment captured by the first sensor device (101) and the second sensor device (102). (b) The relative transformation from the first coordinate system to the second coordinate system corresponding to each second sensor; The neural network (104) is trained according to the neural radiation field technology (S83, S93). During the training process, the difference between the first sensor data and the second sensor data rendered by the neural radiation field and the corresponding sensor data after mapping is minimized. Based on the trained neural network (104), each of the second sensor devices (102) is spatially calibrated relative to the first sensor device (101) (S84, S94).
2. The method (80, 90) according to claim 1, characterized in that, The neural network (104) is trained (S93) by optimizing the weights of the neural network (104) and the relative transformation from the first coordinate system to the second coordinate system, while jointly optimizing (c) the time offset of the second time frame of the second sensor data acquired by at least one of the second sensor devices (102) relative to the first time frame. The method further includes: Based on the trained neural network (104), time calibration is performed on at least one of the second sensor devices (102) relative to the first sensor device (101) (S94).
3. The method according to claim 2, characterized in that, The acquisition of the first mapping data and the second mapping data is based on the trajectory of the first sensor device (101) in the common coordinate system, the prior information of the relative transformation, and the prior information of the time offset.
4. The method (80, 90) according to claim 1, characterized in that, The joint optimization (a) is used to output the weights of the neural network (104) representing the environment captured by the first sensor device (101) and the second sensor device (102), and (b) the relative transformation from the first coordinate system to the second coordinate system is achieved by minimizing the objective function according to the following equation. To be executed: in, This indicates that the timestamp is matched with the corresponding time frame. Related functions, Indicates the weight, This represents the relative transformation. This indicates the pose of the first sensor device (101) in the common coordinate system. This represents ground-based true sensor data. This represents a sensor data representation based on a neural network (104). This refers to the first sensor device. Indicates the second sensor device The quantity of (102) This represents the number of second time frames acquired by the i-th second sensor device. Represents the norm.
5. The method (80, 90) according to claim 2 or 3, characterized in that, The joint optimization (a) the weights of the neural network (104) representing the environment captured by the first sensor device (101) and the second sensor device (102), (b) the relative transformation from the first coordinate system to the second coordinate system, and (c) the time offset of the second time frame acquired by at least one of the second sensor devices (102) relative to the first time frame, is achieved by minimizing the objective function according to the following equation. To be executed: in, This indicates that the timestamp is matched with the corresponding time frame. Related functions, Indicates the weight, This represents the relative transformation. This indicates the time offset of the second time frame relative to the first time frame. This represents the trajectory of the first sensor device (101) in the common coordinate system. This represents ground-based true sensor data. This represents a sensor data representation based on a neural network (104). This refers to the first sensor device. Indicates the second sensor device The quantity of (102) This represents the number of the second time frames acquired by the i-th second sensor device. Represents the norm.
6. The method (80, 90) according to any one of claims 1 to 3, characterized in that, The first sensor device (101) is a camera device or a light detection and ranging LIDAR device, and the second sensor device (102) includes (a) at least one camera device, (b) at least one LIDAR device, and (c) at least one of at least one camera device and at least one LIDAR device.
7. The method (80, 90) according to claim 6, characterized in that, The first sensor device (101) and the second sensor device (102) are installed on the vehicle.
8. The method (80, 90) according to claim 7, characterized in that, The method is performed during the movement of the vehicle.
9. The method according to claim 7 or 8 (80, 90), characterized in that, At least one of the training (S83, S93) and calibration (S84, S94) steps is performed in the vehicle or at a remote site.
10. A computer program product comprising computer-readable instructions, characterized in that, When the computer-readable instructions are executed on a computer, the computer-readable instructions are used to perform the steps of the method (80, 90) according to any one of the preceding claims.
11. A calibration system (100), characterized in that, include: The first sensor device (101) is used to acquire first sensor data in the first coordinate system; A set of second sensor devices (102) different from the first sensor device (101), wherein each second sensor device is used to acquire second sensor data in a corresponding second coordinate system. The second coordinate systems are different from each other and are different from the first coordinate system. The first sensor data includes a first time frame, and the second sensor data includes a second time frame. Each time frame is associated with a timestamp and contains the corresponding sensor observation value. The pose of the first sensor device in a common coordinate system and the relative transformation from the first coordinate system to the second coordinate system for each second sensor device are obtained. The relative transformation includes the rotation matrix and translation vector to be optimized. Based on the timestamp associated with the first time frame and the pose of the first sensor device in the common coordinate system, first mapping data is obtained; and based on the timestamp associated with the second time frame, the pose of the first sensor device in the common coordinate system, and the corresponding relative transformation, second mapping data is obtained. Neural network (104); Processing unit (103) is used to perform the following operations: Based on the first mapping data and the second mapping data, the neural network (104) is trained by jointly optimizing the following two: (a) The weights of the neural network (104) representing the environment captured by the first sensor device (101) and the second sensor device (102). (b) The relative transformation from the first coordinate system to the second coordinate system corresponding to each second sensor; The neural network (104) is trained based on neural radiation field technology. During the training process, the difference between the first sensor data and the second sensor data rendered by the neural radiation field and the corresponding sensor data after mapping is minimized. Based on the trained neural network (104), each of the second sensor devices in the second sensor devices (102) is spatially calibrated relative to the first sensor device (101).
12. The calibration system (100) according to claim 11, characterized in that, The processing unit (103) is used for: The neural network (104) is trained by optimizing the weights of the neural network (104) and the relative transformation from the first coordinate system to the second coordinate system, while jointly optimizing the time offset of the second time frame relative to the first time frame acquired by at least one of the second sensor devices (102). According to the trained neural network (104), at least one of the second sensor devices in the second sensor device (102) is time-calibrated relative to the first sensor device (101).
13. The calibration system (100) according to claim 11 or 12, characterized in that, The processing unit (103) is used to obtain the first mapping data and the second mapping data based on the trajectory of the first sensor device (101) in the common coordinate system, the prior information of the relative transformation and the prior information of the time offset.
14. The calibration system (100) according to claim 11, characterized in that, The processing unit (103) is used for: Minimize the objective function according to the following equation The joint optimization includes (a) the weights of the neural network (104) representing the environment captured by the first sensor device (101) and the second sensor device (102) and (b) the relative transformation from the first coordinate system to the second coordinate system: in, This indicates that the timestamp is matched with the corresponding time frame. Related functions, Indicates the weight, This represents the relative transformation. This indicates the pose of the first sensor device (101) in the common coordinate system. This represents ground-based true sensor data. This represents a sensor data representation based on a neural network (104). This refers to the first sensor device. Indicates the second sensor device The quantity of (102) This represents the number of second time frames acquired by the i-th second sensor device. Represents the norm.
15. The calibration system (100) according to claim 12, characterized in that, The processing unit (103) is used for: Minimize the objective function according to the following equation The joint optimization includes (a) the weights of the neural network (104) representing the environment captured by the first sensor device (101) and the second sensor device (102), (b) the relative transformation from the first coordinate system to the second coordinate system, and (c) the time offset of the second time frame acquired by at least one of the second sensor devices (102) relative to the first time frame. in, This indicates that the timestamp is matched with the corresponding time frame. Related functions, Indicates the weight, This represents the relative transformation. This indicates the time offset of the second time frame relative to the first time frame. This represents the trajectory of the first sensor device (101) in the common coordinate system. This represents ground-based true sensor data. This represents a sensor data representation based on a neural network (104). This refers to the first sensor device. Indicates the second sensor device The quantity of (102) This represents the number of the second time frames acquired by the i-th second sensor device. Represents the norm.
16. The calibration system (100) according to claim 11 or 12, characterized in that, The first sensor device (101) is a camera device or a LIDAR device, and the second sensor device (102) includes (a) at least one camera device, (b) at least one LIDAR device, and (c) at least one of at least one camera device and at least one LIDAR device.
17. A vehicle, characterized in that, Includes the calibration system (100) according to any one of claims 11 to 16.
