WO2023143132A1 - Sensor data calibration - Google Patents

Sensor data calibration Download PDF

Info

Publication number
WO2023143132A1
WO2023143132A1 PCT/CN2023/072107 CN2023072107W WO2023143132A1 WO 2023143132 A1 WO2023143132 A1 WO 2023143132A1 CN 2023072107 W CN2023072107 W CN 2023072107W WO 2023143132 A1 WO2023143132 A1 WO 2023143132A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
reference system
test equipment
data
moving speed
Prior art date
Application number
PCT/CN2023/072107
Other languages
French (fr)
Chinese (zh)
Inventor
王昌龙
庞勃
刘长江
臧波
Original Assignee
北京三快在线科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京三快在线科技有限公司 filed Critical 北京三快在线科技有限公司
Publication of WO2023143132A1 publication Critical patent/WO2023143132A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • G01C25/005Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass initial alignment, calibration or starting-up of inertial devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/40Means for monitoring or calibrating

Abstract

During a sensor data calibration process, image data, radar data and inertial data at multiple moments during a movement process of a test device are acquired (S100); a motion trajectory of the test device is determined according to the inertial data and the image data, and the movement velocity of the test device under an image reference frame is determined according to the motion trajectory (S102); and the Doppler velocity in the movement process of the test device is determined according to the radar data, and the Doppler velocity and the movement velocity of the test device under the image reference frame are registered so as to calibrate sensor data (S104).

Description

传感器数据的标定Calibration of sensor data
本申请要求于2022年01月29日提交的申请号为202210112012.8、申请名称为“一种传感器数据的标定方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210112012.8 and the application name "A Calibration Method and Device for Sensor Data" filed on January 29, 2022, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及计算机技术领域,尤其涉及传感器数据的标定。The present application relates to the field of computer technology, in particular to calibration of sensor data.
背景技术Background technique
目前,随着无人驾驶技术领域的发展,无人驾驶设备的行驶安全愈发重要。而基于图像数据和雷达数据融合的障碍物检测、分类的方法,由于其检测结果、分类结果等较为准确的特点,被广泛应用于障碍物检测、分类等场景中。而图像数据和雷达数据融合的前提是对雷达传感器和图像传感器的标定。At present, with the development of unmanned driving technology, the driving safety of unmanned driving equipment is becoming more and more important. The obstacle detection and classification method based on the fusion of image data and radar data is widely used in obstacle detection and classification scenarios due to its relatively accurate detection results and classification results. The premise of image data and radar data fusion is the calibration of radar sensor and image sensor.
发明内容Contents of the invention
本申请提供传感器数据的标定。本申请采用下述技术方案:This application provides calibration of sensor data. The application adopts the following technical solutions:
本申请提供一种传感器数据的标定方法,包括:This application provides a calibration method for sensor data, including:
获取测试设备移动过程中多个时刻的传感器数据,所述传感器数据至少包括图像数据、雷达数据和惯性数据;Acquiring sensor data at multiple moments during the movement of the test equipment, the sensor data at least including image data, radar data and inertial data;
根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,并根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度;determining the motion trajectory of the testing device according to the inertial data and the image data, and determining the moving speed of the testing device in the image reference system according to the motion trajectory;
根据所述雷达数据,确定所述测试设备移动过程中的多普勒速度,并将所述多普勒速度和所述测试设备在所述图像参考系下的移动速度进行配准,以对所述传感器数据进行标定。According to the radar data, determine the Doppler velocity during the moving process of the test equipment, and register the Doppler velocity and the moving velocity of the test equipment in the image reference system, so as to Calibrate the above sensor data.
在一些实施方式中,根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,包括:In some embodiments, according to the inertial data and the image data, determining the motion trajectory of the testing device includes:
根据所述惯性数据和所述图像数据,确定所述测试设备在惯性参考系下所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置;According to the inertial data and the image data, determine the angular velocity, acceleration, and observation position of the image marker respectively corresponding to the multiple moments of the test equipment under the inertial reference system;
根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解。According to the angular velocities, accelerations and observed positions of the image markers respectively corresponding to the multiple moments, the motion trajectory of the test equipment in the world reference system is solved.
在一些实施方式中,根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解,包括:In some implementations, according to the angular velocity, acceleration, and observed position of the image marker corresponding to the multiple moments, the motion trajectory of the test device in the world reference system is solved, including:
根据所述测试设备在世界参考系下待解的运动轨迹,确定所述多个时刻分别对应的待解的第一参数,所述第一参数用于求解所述运动轨迹;According to the motion trajectory to be solved of the test equipment in the world reference system, determine the first parameters to be solved respectively corresponding to the multiple moments, and the first parameters are used to solve the motion trajectory;
针对所述多个时刻中的每个时刻,根据该时刻对应的待解的第一参数,确定所述世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在所述惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置;For each of the plurality of moments, according to the first parameter to be solved corresponding to the moment, determine the conversion relationship between the world reference frame and the inertial reference frame, and determine the test equipment in the inertial Estimated angular velocity, estimated acceleration, and estimated position of image markers in the frame of reference;
以该时刻分别对应的所述角速度和所述预估角速度相同、所述加速度和所述预估加速度相同、所述图像标记物的观测位置和预估位置相同,构建约束条件,对所述运动轨迹进行求 解。The angular velocity corresponding to this moment is the same as the estimated angular velocity, the acceleration is the same as the estimated acceleration, and the observed position of the image marker is the same as the estimated position, constructing constraint conditions for the motion Find the trajectory untie.
在一些实施方式中,根据该时刻对应的待解的第一参数,确定世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置,包括:In some implementations, according to the first parameter to be solved corresponding to this moment, the conversion relationship between the world reference frame and the inertial reference frame is determined, and the estimated angular velocity, estimated Estimated positions of acceleration and image markers, including:
根据该时刻对应的待解的第一参数中的所述测试设备的位姿,确定该时刻待解的所述世界参考系和惯性参考系之间的转换关系,其中,所述第一参数包括所述测试设备的位姿、加速度偏置、角速度偏置以及图像标记物的观测位置;According to the pose of the test device in the first parameter to be solved corresponding to this moment, determine the conversion relationship between the world reference frame and the inertial reference frame to be solved at this moment, wherein the first parameter includes The pose, acceleration offset, angular velocity offset and observation position of the image marker of the test equipment;
根据所述待解的转换关系、所述第一参数中待解的角速度偏置、待解的加速度偏置、待解的所述图像标记物的观测位置,分别确定所述测试设备的预估加速度、预估角速度以及图像标记物的预估位置。According to the transformation relationship to be solved, the angular velocity offset to be solved in the first parameter, the acceleration offset to be solved, and the observed position of the image marker to be solved, respectively determine the estimated value of the test device Acceleration, estimated angular velocity, and estimated position of image markers.
在一些实施方式中,根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度,包括:In some implementations, determining the moving speed of the test device under the image reference system according to the motion track includes:
根据所述运动轨迹,确定所述采集设备在世界参考系下所述多个时刻分别对应的移动速度;According to the movement trajectory, determining the movement speeds of the collection device corresponding to the multiple moments in the world reference system;
根据所述多个时刻所述采集设备的位姿,确定所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系;According to the poses and postures of the acquisition device at the multiple moments, determine the conversion relationship between the world reference frame and the inertial reference frame respectively corresponding to the multiple moments;
根据所述采集设备在世界参考系下所述多个时刻的移动速度、所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系以及预设的所述惯性参考系到图像参考系之间的转换关系,确定所述测试设备在所述图像参考系下所述多个时刻的移动速度。According to the moving speed of the acquisition device at the multiple moments in the world reference system, the conversion relationship between the world reference system and the inertial reference system corresponding to the multiple moments, and the preset inertial reference system The conversion relationship between the image reference system and the image reference system is used to determine the moving speed of the test equipment at the multiple moments in the image reference system.
在一些实施方式中,将所述多普勒速度和所述测试设备在图像参考系下的移动速度进行配准,以对所述传感器数据进行标定,包括:In some embodiments, registering the Doppler velocity and the moving velocity of the test device in an image reference system to calibrate the sensor data includes:
针对所述多个时刻中的每个时刻,根据获取到的雷达数据和预设的各方向分量,确定该时刻各方向分量上的多普勒速度;For each of the plurality of moments, according to the acquired radar data and the preset directional components, determine the Doppler velocity in each directional component at that moment;
根据该时刻所述测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度;According to the moving speed of the test equipment in the image reference system at this moment, the calibration relationship between the radar reference system and the image reference system to be solved, and the preset components in each direction, it is determined that the test equipment is to be solved in each direction component moving speed;
对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,以对所述传感器数据进行标定。The moving velocity to be solved in each direction component is registered with the Doppler velocity in each direction component, and the calibration relationship is solved, so as to calibrate the sensor data.
在一些实施方式中,根据该时刻所述测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度,包括:In some implementations, according to the moving speed of the test device under the image reference system at this moment, the calibration relationship to be solved between the radar reference system and the image reference system, and the preset direction components, it is determined that the test device is in The moving speed to be solved on each direction component, including:
根据所述测试设备上设置的雷达传感器和图像传感器的内部时钟之间的待解时间差,确定该时刻所述测试设备在图像参考系下的待解的移动速度,所述待解的移动速度包含所述待解时间差;According to the time difference to be solved between the internal clock of the radar sensor set on the test device and the image sensor, determine the moving speed to be solved of the test device at this moment under the image reference system, and the moving speed to be solved includes The time difference to be resolved;
根据该时刻所述测试设备在图像参考系下待解的移动速度、雷达参考系和所述图像参考系之间待解的转换关系,确定所述测试设备在雷达参考系下待解的移动速度;According to the moving speed of the test equipment to be solved in the image reference system at this moment, the conversion relationship to be solved between the radar reference system and the image reference system, determine the moving speed of the test equipment in the radar reference system to be solved ;
根据预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度;According to each preset direction component, determine the moving speed of the test equipment to be solved on each direction component;
对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,包括:Register the moving speed to be solved on each direction component and the Doppler speed on each direction component, and solve the calibration relationship, including:
对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述转换关系和所述时间差,作为所述标定关系。 The moving velocity to be solved in each direction component is registered with the Doppler velocity in each direction component, and the conversion relationship and the time difference are calculated as the calibration relationship.
在一些实施方式中,所述方法还包括:In some embodiments, the method also includes:
根据确定出的标定关系以及采集到的传感器数据,确定各时刻分别对应的所述测试设备在所述图像参考系和所述雷达参考系中的位姿差距,并判断所述位姿差距是否大于预设的误差阈值;According to the determined calibration relationship and the collected sensor data, determine the pose gap of the test equipment corresponding to each moment in the image reference frame and the radar reference frame, and judge whether the pose gap is greater than Preset error thresholds;
若所述位姿差距大于所述误差阈值,则确定传感器数据需要校准,并将所述传感器数据进行存储;If the pose difference is greater than the error threshold, it is determined that the sensor data needs to be calibrated, and the sensor data is stored;
若所述位姿差距不大于所述误差阈值,则确定传感器数据无需校准。If the pose difference is not greater than the error threshold, it is determined that sensor data does not need to be calibrated.
本申请提供一种传感器数据的标定装置,包括:The application provides a calibration device for sensor data, including:
获取模块,用于获取测试设备移动过程中多个时刻的传感器数据,所述传感器数据至少包括图像数据、雷达数据和惯性数据;An acquisition module, configured to acquire sensor data at multiple moments during the movement of the test equipment, the sensor data at least including image data, radar data and inertial data;
轨迹确定模块,用于根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,并根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度;A trajectory determination module, configured to determine the motion trajectory of the test device according to the inertial data and the image data, and determine the moving speed of the test device in the image reference system according to the motion trajectory;
标定模块,用于根据所述雷达数据,确定所述测试设备移动过程中的多普勒速度,并将所述多普勒速度和所述测试设备在图像参考系下的移动速度进行配准,以对所述传感器数据进行标定。a calibration module, configured to determine the Doppler velocity during the moving process of the test equipment according to the radar data, and register the Doppler velocity with the moving velocity of the test equipment in the image reference system, to calibrate the sensor data.
在一些实施方式中,所述轨迹确定模块,用于根据所述惯性数据和所述图像数据,确定所述测试设备在惯性参考系下所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解。In some implementations, the trajectory determination module is configured to determine the angular velocity, acceleration and image markers of the test equipment corresponding to the multiple moments in the inertial reference system according to the inertial data and the image data According to the observation positions of the angular velocities, accelerations, and image markers corresponding to the multiple moments, the motion trajectory of the test equipment in the world reference system is solved.
在一些实施方式中,所述轨迹确定模块,用于根据所述测试设备在世界参考系下待解的运动轨迹,确定所述多个时刻分别对应的待解的第一参数,所述第一参数用于求解所述运动轨迹,针对所述多个时刻中的每个时刻,根据该时刻对应的待解的第一参数,确定所述世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在所述惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置,以该时刻分别对应的所述角速度和所述预估角速度相同、所述加速度和所述预估加速度相同、所述图像标记物的观测位置和预估位置相同,构建约束条件,对所述运动轨迹进行求解。In some implementations, the trajectory determination module is configured to determine the first parameters to be solved respectively corresponding to the multiple moments according to the motion trajectory to be solved of the test equipment in the world reference system, the first The parameters are used to solve the motion trajectory, and for each of the multiple moments, according to the first parameter to be solved corresponding to the moment, determine the conversion relationship between the world reference frame and the inertial reference frame, and Determine the estimated angular velocity, estimated acceleration, and estimated position of the image marker of the test device in the inertial reference system, and the angular velocity corresponding to this moment is the same as the estimated angular velocity, and the acceleration and The estimated acceleration is the same, the observed position of the image marker is the same as the estimated position, a constraint condition is constructed, and the motion trajectory is solved.
在一些实施方式中,所述轨迹确定模块,用于根据该时刻对应的待解的第一参数中的所述测试设备的位姿,确定该时刻待解的所述世界参考系和惯性参考系之间的转换关系,其中,所述第一参数包括所述测试设备的位姿、加速度偏置、角速度偏置以及图像标记物的观测位置;根据所述待解的转换关系、所述第一参数中待解的角速度偏置、待解的加速度偏置、待解的所述图像标记物的观测位置,分别确定所述测试设备的预估加速度、预估角速度以及图像标记物的预估位置。In some implementations, the trajectory determination module is configured to determine the world reference frame and the inertial reference frame to be solved at this moment according to the pose of the test device in the first parameter to be solved corresponding to the moment The conversion relationship between, wherein, the first parameter includes the posture, acceleration offset, angular velocity offset and the observation position of the image marker of the test equipment; according to the conversion relationship to be solved, the first Among the parameters, the angular velocity offset to be solved, the acceleration offset to be solved, and the observed position of the image marker to be solved are determined respectively to determine the estimated acceleration, estimated angular velocity, and estimated position of the image marker of the test device .
在一些实施方式中,所述轨迹确定模块,用于根据所述运动轨迹,确定所述测试设备在世界参考系下所述多个时刻分别对应的移动速度,根据所述多个时刻所述测试设备的位姿,确定所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系,根据所述测试设备在世界参考系下所述多个时刻的移动速度、所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系以及预设的所述惯性参考系到图像参考系之间的转换关系,确定所述测试设备在所述图像参考系下所述多个时刻的移动速度。In some implementations, the trajectory determination module is configured to determine the moving speeds of the test equipment corresponding to the multiple moments in the world reference system according to the motion trajectory, and the test equipment according to the multiple moments The pose of the device, determine the conversion relationship between the world reference system and the inertial reference system corresponding to the multiple times, according to the moving speed of the test equipment at the multiple times in the world reference system, the The conversion relationship between the world reference system and the inertial reference system corresponding to multiple times and the preset conversion relationship between the inertial reference system and the image reference system determine the position of the test equipment in the image reference system The movement speed at various times described below.
在一些实施方式中,所述标定模块,用于针对所述多个时刻中的每个时刻,根据获取到的雷达数据和预设的各方向分量,确定该时刻各方向分量上的多普勒速度,根据该时刻所述 测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度,对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,以对所述传感器数据进行标定。In some implementations, the calibration module is configured to, for each of the multiple moments, determine the Doppler in each direction component at that moment according to the acquired radar data and preset each direction component speed, according to the moment The moving speed of the test equipment in the image reference system, the calibration relationship to be solved between the radar reference system and the image reference system, and the preset components in each direction determine the moving speed of the test equipment in each direction component to be solved. The moving velocity to be solved in each direction component is registered with the Doppler velocity in each direction component, and the calibration relationship is solved to calibrate the sensor data.
在一些实施方式中,所述标定模块,用于根据所述测试设备上设置的雷达传感器和图像传感器的内部时钟之间的待解时间差,确定该时刻所述测试设备在图像参考系下的待解的移动速度,所述待解的移动速度包含所述待解时间差,根据该时刻所述测试设备在图像参考系下待解的移动速度、雷达参考系和所述图像参考系之间待解的转换关系,确定所述测试设备在雷达参考系下待解的移动速度,根据预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度,对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述转换关系和所述时间差,作为所述标定关系。In some embodiments, the calibration module is configured to determine the waiting time of the testing equipment under the image reference system at this moment according to the waiting time difference between the internal clock of the radar sensor and the image sensor set on the testing equipment. The moving speed to be solved, the moving speed to be solved includes the time difference to be solved, according to the moving speed to be solved of the test equipment in the image reference system at this moment, the radar reference system and the image reference system to be solved The conversion relationship of the test equipment to be solved in the radar reference system is determined. According to the preset components in each direction, the moving speed of the test equipment to be solved in each direction component is determined. The moving velocity of the solution is registered with the Doppler velocity in each direction component, and the conversion relationship and the time difference are calculated as the calibration relationship.
在一些实施方式中,所述标定模块,还用于根据确定出的标定关系以及采集到的传感器数据,确定各时刻分别对应的所述测试设备在所述图像参考系和所述雷达参考系中的位姿差距,并判断所述位姿差距是否大于预设的误差阈值,若所述位姿差距大于所述误差阈值,则确定传感器数据需要校准,并将所述传感器数据进行存储,若所述位姿差距不大于所述误差阈值,则确定传感器数据无需校准。In some implementations, the calibration module is further configured to determine, according to the determined calibration relationship and the collected sensor data, that the test equipment corresponding to each moment is in the image reference system and the radar reference system pose difference, and judge whether the pose difference is greater than the preset error threshold, if the pose difference is greater than the error threshold, then determine that the sensor data needs to be calibrated, and store the sensor data, if the If the pose difference is not greater than the error threshold, it is determined that the sensor data does not need to be calibrated.
本申请提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述传感器数据的标定方法。The present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor. The processor implements the above sensor data calibration method when executing the program.
本申请提供了一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述传感器数据的标定方法。The present application provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above sensor data calibration method is realized.
本申请提供了一种计算机程序产品,所述计算机程序产品包括计算机程序或指令,所述计算机程序或指令被处理器执行,以使计算机实现上述传感器数据的标定方法。The present application provides a computer program product, the computer program product includes a computer program or an instruction, and the computer program or instruction is executed by a processor, so that the computer implements the above sensor data calibration method.
本申请采用的上述至少一个技术方案能够达到以下有益效果:The above at least one technical solution adopted in the present application can achieve the following beneficial effects:
在本申请提供的传感器数据的标定方法中,获取测试设备移动过程中多个时刻的图像数据、雷达数据和惯性数据,根据惯性数据和图像数据,确定所述测试设备的运动轨迹,根据运动轨迹,确定测试设备在图像参考系下的移动速度,再根据雷达数据,确定测试设备移动过程中的多普勒速度,并将所述多普勒速度和测试设备在图像参考系下的移动速度进行配准,以对传感器数据进行标定。In the sensor data calibration method provided in the present application, the image data, radar data and inertial data at multiple moments during the movement of the test equipment are obtained, and the motion trajectory of the test equipment is determined according to the inertial data and image data. , determine the moving speed of the test equipment under the image reference system, and then determine the Doppler speed during the moving process of the test equipment according to the radar data, and compare the Doppler speed with the moving speed of the test equipment under the image reference system Registration to calibrate sensor data.
从上述方法中可以看出,本方案在雷达传感器和图像传感器的采集范围不重叠时,也可应用,且不需要在重叠视野范围内移动的标定物,标定过程更加方便,提高了确定传感器数据的标定效率。It can be seen from the above method that this scheme can also be applied when the acquisition ranges of the radar sensor and the image sensor do not overlap, and does not require calibration objects moving within the overlapping field of view, the calibration process is more convenient, and the accuracy of determining the sensor data is improved. calibration efficiency.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The schematic embodiments and descriptions of the application are used to explain the application and do not constitute an improper limitation to the application. In the attached picture:
图1为本申请提供的传感器数据的标定方法的流程示意图;Fig. 1 is the schematic flow chart of the calibration method of the sensor data provided by the present application;
图2为本申请提供的传感器标定的场景示意图;FIG. 2 is a schematic diagram of a sensor calibration scenario provided by the present application;
图3为本申请提供的传感器数据的标定装置的示意图;Fig. 3 is the schematic diagram of the calibration device of the sensor data provided by the present application;
图4为本申请提供的对应于图1的电子设备示意图。 FIG. 4 is a schematic diagram of an electronic device corresponding to FIG. 1 provided in the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
在传感器数据校正领域,常用的传感器数据标定方法是基于图像传感器和雷达传感器的采集范围存在重合区域实现的。In the field of sensor data correction, the commonly used sensor data calibration method is based on the overlapping areas of the acquisition ranges of image sensors and radar sensors.
示例性的,可控制雷达传感器和图像传感器静止,并控制标定物进行移动。然后,根据标定物移动过程中采集到的雷达数据,确定标定物在各时刻的第一位置,以及根据采集到的图像数据,确定标定物在各时刻的第二位置。之后,针对每个时刻,根据第一位置和第二位置相同的约束条件,确定雷达传感器和图像传感器的标定参数。Exemplarily, the radar sensor and the image sensor can be controlled to be stationary, and the calibration object can be controlled to move. Then, according to the radar data collected during the movement of the calibration object, the first position of the calibration object at each time is determined, and according to the collected image data, the second position of the calibration object at each time is determined. After that, for each moment, according to the constraint condition that the first position and the second position are the same, the calibration parameters of the radar sensor and the image sensor are determined.
但是,相关技术是基于图像传感器和雷达传感器的采集范围存在重合区域实现的,若图像传感器和雷达传感器的采集范围之间不存在重合区域时,将无法对无人驾驶设备中的图像传感器和雷达传感器的标定参数进行确定,使得相关技术的标定效率较差。However, the related technology is based on the fact that there is an overlapping area between the acquisition ranges of the image sensor and the radar sensor. The calibration parameters of the sensor are determined, so that the calibration efficiency of the related technology is poor.
基于此,亟需一种新的传感器数据的标定方法。Based on this, a new calibration method for sensor data is urgently needed.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by various embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
图1为本申请提供的传感器数据的标定方法的流程示意图,包括以下步骤:Fig. 1 is a schematic flow chart of the calibration method of sensor data provided by the present application, including the following steps:
S100:获取测试设备移动过程中多个时刻的传感器数据,所述传感器数据至少包括图像数据、雷达数据和惯性数据。S100: Acquire sensor data at multiple moments during the movement of the testing device, where the sensor data at least includes image data, radar data and inertial data.
区别于相关技术中基于图像传感器和雷达传感器的采集范围存在重合区域,在重合区域内设置移动的标定物来对图像传感器和雷达传感器进行标定的方法。本申请提供一种新的传感器数据标定方法,使得不需要设置图像传感器和雷达传感器存在重合区域,而是将雷达传感器和图像传感器设置在测试设备中,移动测试设备来确定多个时刻分别对应的图像数据、雷达数据和惯性数据。以基于多个时刻分别对应的传感器数据对各传感器数据之间的标定关系进行确定。Different from the method in the related art based on the overlapping areas of the acquisition ranges of the image sensor and the radar sensor, a moving calibration object is set in the overlapping area to calibrate the image sensor and the radar sensor. This application provides a new sensor data calibration method, so that there is no need to set the overlapping area between the image sensor and the radar sensor, but the radar sensor and the image sensor are set in the test equipment, and the mobile test equipment is used to determine the corresponding points at multiple times. imagery data, radar data and inertial data. The calibration relationship between the sensor data is determined based on the sensor data respectively corresponding to a plurality of time points.
基于此,可获取测试设备移动过程中多个时刻的传感器数据,其中,该传感器数据包括:图像数据、雷达数据和惯性数据。Based on this, sensor data at multiple moments during the moving process of the test equipment can be obtained, wherein the sensor data includes: image data, radar data and inertial data.
在本申请提供的一个或多个实施例中,在无人驾驶设备行驶过程中,该无人驾驶设备可按照预设的频率获取传感器数据,该传感器数据为用于对传感器数据标定关系所需的数据,该传感器数据至少包括:图像数据、惯性数据和雷达数据。当然。该测试设备也可将采集到的传感器数据发送至服务器,由服务器执行后续步骤,确定雷达传感器和图像传感器之间的标定关系。为了方便描述,后续以该测试设备执行该传感器数据的标定过程为例进行说明。In one or more embodiments provided by the present application, during the driving process of the unmanned equipment, the unmanned equipment can acquire sensor data according to a preset frequency, and the sensor data is required for calibrating the relationship of the sensor data The sensor data includes at least: image data, inertial data and radar data. certainly. The test equipment can also send the collected sensor data to the server, and the server performs subsequent steps to determine the calibration relationship between the radar sensor and the image sensor. For the convenience of description, the calibration process of the sensor data performed by the test equipment is taken as an example for description in the following.
示例性的,该测试设备可获取自身采集到的图像数据、惯性数据以及雷达数据。其中,该测试设备可为无人驾驶设备,也可为有人驾驶设备,还可为手持设备,则可控制测试设备移动,或手持该测试设备移动,并在测试设备移动过程中,采集传感器数据。Exemplarily, the testing device can acquire image data, inertial data and radar data collected by itself. Wherein, the test equipment can be unmanned equipment, manned equipment, or handheld equipment, which can control the movement of the test equipment, or hold the test equipment to move, and collect sensor data during the movement of the test equipment .
另外,在本申请中,该传感器数据的标定方法应用于在地面放置标定物,控制测试设备移动过程中,由图像传感器采集标定物的位置,由惯性传感器确定多个时刻的惯性数据以及由雷达传感器确定多个时刻的多普勒速度的场景。如图2所示。In addition, in this application, the sensor data calibration method is applied to placing calibration objects on the ground, controlling the movement of test equipment, collecting the position of calibration objects by image sensors, determining inertial data at multiple times by inertial sensors, and using radar A scenario where the sensor determines the Doppler velocity at multiple instants. as shown in picture 2.
图2为本申请提供的传感器标定的场景示意图。图中,白色立方体为测试设备,设置在白色立方体上的三个灰色立方体分别为雷达传感器、惯性传感器和图像传感器,地面上固定 有图像标记物,图像传感器可采集包含标记物的图像数据,雷达传感器可通过墙面的多普勒效应采集各个方向分量上的多普勒速度,惯性传感器可采集多个时刻对应的惯性数据。其中,图像标记物可为二维码、棋盘格等,测试设备、雷达传感器、图像传感器以及惯性传感器等都为简化形式,具体的形式以及固定方式可根据需要进行设置,本申请对此不做限制。FIG. 2 is a schematic diagram of a sensor calibration scenario provided by the present application. In the picture, the white cube is the test equipment, and the three gray cubes set on the white cube are radar sensor, inertial sensor and image sensor respectively, fixed on the ground There are image markers, the image sensor can collect image data containing markers, the radar sensor can collect Doppler velocity in various direction components through the Doppler effect of the wall, and the inertial sensor can collect inertial data corresponding to multiple moments. Among them, the image markers can be two-dimensional codes, checkerboards, etc., and the test equipment, radar sensors, image sensors, and inertial sensors are all in simplified form. The specific form and fixing method can be set according to needs, and this application does not make any limit.
需要说明的是,本申请中的上述多个时刻,为连续的多个时刻,以保证可根据获取到的惯性数据和图像数据等,确定出测试设备的运动轨迹即可,不需获取测试设备移动过程中每个时刻的传感器数据。It should be noted that the above-mentioned multiple moments in this application are multiple consecutive moments, so as to ensure that the motion track of the test equipment can be determined according to the acquired inertial data and image data, without obtaining the test equipment Sensor data at every moment during the movement.
S102:根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,并根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度。S102: Determine a motion track of the test device according to the inertial data and the image data, and determine a moving speed of the test device in an image reference system according to the motion track.
在本申请提供的一个或多个实施例中,在测试设备移动过程中,测试设备在图像参考系下的运动轨迹与在雷达参考系下的运动轨迹实际上为相同轨迹,因此,若将测试设备在图像参考系下的运动轨迹和在雷达参考系下的运动轨迹进行配准,即可确定出图像参考系和雷达参考系之间的标定关系。In one or more embodiments provided by the present application, during the moving process of the test equipment, the motion trajectory of the test equipment under the image reference system and the motion trajectory under the radar reference system are actually the same trajectory. Therefore, if the test equipment The calibration relationship between the image reference system and the radar reference system can be determined by registering the movement trajectory of the device under the image reference system and the movement trajectory under the radar reference system.
基于此,该测试设备可根据获取到的惯性数据和图像数据,确定自身的运动轨迹。Based on this, the test device can determine its own motion trajectory according to the acquired inertial data and image data.
其中,获取到的惯性数据和图像数据为多个时刻分别对应的。其目的是基于多个时刻分别对应的惯性数据和图像数据,确定该测试设备在世界参考系下的运动轨迹。其中,该运动轨迹为测试设备移动过程中多个时刻分别对应的惯性数据和图像数据对应的,也就是说,确定出的运动轨迹不是该测试设备移动过程对应的整个轨迹,而是测试设备移动过程中获取到的多个时刻分别对应的传感器数据确定出的连续轨迹。Wherein, the acquired inertial data and image data correspond to multiple time points respectively. Its purpose is to determine the trajectory of the test equipment in the world reference system based on the inertial data and image data corresponding to multiple moments. Wherein, the motion trajectory corresponds to the inertia data and image data corresponding to multiple moments during the moving process of the test equipment, that is to say, the determined motion trajectory is not the entire trajectory corresponding to the moving process of the testing equipment, but the movement of the testing equipment The continuous trajectory determined by the sensor data corresponding to multiple moments acquired in the process.
进一步的,由于根据雷达数据确定测试设备在雷达参考系下的轨迹所需的计算量与计算难度较大,但根据获取到的雷达数据的多普勒效应,确定测试设备的多普勒速度的计算量与计算难度都较小,因此,该测试设备可确定自身移动过程中的多普勒速度,以及自身在图像参考系下的移动速度,并将多普勒速度和移动速度配准,即可得到较为准确的标定关系。Further, due to the large amount of calculation and difficulty required to determine the trajectory of the test equipment in the radar reference system based on the radar data, the Doppler velocity of the test equipment can be determined according to the Doppler effect of the acquired radar data. The calculation amount and calculation difficulty are small, therefore, the test equipment can determine the Doppler velocity during its own movement, as well as its own moving velocity in the image reference system, and register the Doppler velocity and the moving velocity, that is, A more accurate calibration relationship can be obtained.
基于此,该测试设备可根据确定出的运动轨迹,确定该测试设备在图像参考系下的移动速度。Based on this, the test device can determine the moving speed of the test device in the image reference system according to the determined motion track.
示例性的,该测试设备可根据确定出的运动轨迹,确定该测试设备多个时刻中的每个相邻时刻之间分别对应的位移,再根据该位移,确定该测试设备多个时刻分别对应的移动速度。Exemplarily, the test device can determine the corresponding displacement between each adjacent time in multiple moments of the test device according to the determined motion trajectory, and then determine the corresponding displacements of the test device at multiple times according to the displacement. movement speed.
更进一步的,上述确定测试设备的运动轨迹的步骤,可如下述方法所示:Furthermore, the above-mentioned steps of determining the motion trajectory of the test equipment can be shown in the following method:
示例性的,该测试设备可根据获取到的惯性数据和图像数据,确定该测试设备在惯性参考系下多个时刻分别对应的角速度、加速度和图像标记物的观测位置。Exemplarily, the test device can determine the angular velocity, acceleration and observation position of the image marker corresponding to the test device at multiple moments in the inertial reference system according to the acquired inertial data and image data.
然后,该测试设备可根据多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对测试设备在世界参考系下的运动轨迹进行求解。Then, the testing equipment can solve the motion trajectory of the testing equipment in the world reference system according to the angular velocity, acceleration and observed position of the image marker corresponding to multiple moments.
之后,根据解算得到的运动轨迹,该测试设备可确定自身在世界参考系下的运动轨迹。After that, according to the motion trajectory obtained by the solution, the test device can determine its own motion trajectory in the world reference system.
另外,由于物体的运动轨迹可由物体在多个时刻分别对应的位姿确定,因此,该测试设备可基于多个时刻分别对应的位姿,确定测试设备自身的运动轨迹。In addition, since the motion trajectory of the object can be determined by the corresponding poses of the object at multiple times, the test device can determine the motion trajectory of the test device itself based on the poses corresponding to the multiple times.
示例性的,由于测试设备在多个时刻分别对应的位姿为未知量,因此,该测试设备可基于自身在多个时刻分别对应的位姿,以及自身在世界参考系下待解的运动轨迹,确定用于确定该运动轨迹的多个时刻分别对应的待解的第一参数。Exemplarily, since the poses corresponding to the test equipment at multiple moments are unknown quantities, the test equipment can be based on the poses corresponding to itself at multiple moments and the motion trajectory to be solved in the world reference system , to determine the first parameters to be solved respectively corresponding to multiple moments for determining the motion trajectory.
然后,该测试设备可针对多个时刻中的每个时刻,根据该时刻对应的待解的第一参数,确定世界参考系和惯性参考系之间的转换关系,以及确定该测试设备在惯性参考系下的预估 角速度、预估加速度以及图像标记物的预估位置。Then, for each of the multiple moments, the test device can determine the conversion relationship between the world reference frame and the inertial reference frame according to the first parameter to be solved corresponding to the moment, and determine the time when the test device is in the inertial reference frame. Department of Estimates Angular velocity, estimated acceleration, and estimated position of image markers.
之后,该测试设备能够以该时刻分别对应的角速度和预估角速度相同、加速度和预估加速度相同、图像标记物的观测位置和预估位置相同,构建约束条件,对该测试设备的运动轨迹进行求解。Afterwards, the test equipment can establish constraint conditions based on the angular velocity corresponding to the moment is the same as the estimated angular velocity, the acceleration is the same as the estimated acceleration, and the observed position of the image marker is the same as the estimated position. solve.
进一步的,由于预估角速度、预估加速度以及图像标记物的预估位置都在惯性参考系中,则该测试设备需基于世界参考系和惯性参考系之间的转换关系,确定多个时刻分别对应的预估角速度、预估加速度以及图像标记物的预估位置。Furthermore, since the estimated angular velocity, estimated acceleration, and estimated position of the image marker are all in the inertial reference frame, the test equipment needs to determine the respective The corresponding estimated angular velocity, estimated acceleration, and estimated position of the image marker.
示例性的,该测试设备可根据该时刻对应的待解的第一参数中的该测试设备的位置和姿态,确定该时刻待解的世界参考系和惯性参考系之间的转换关系。则基于该待解的转换关系、该第一参数中待解的角速度偏置、待解的加速度偏置、待解的图像标记物的观测位置等,分别确定测试设备在惯性参考系中的预估加速度、预估角速度以及图像标记物的预估位置。其中,测试设备的位置和姿态可以称为测试设备的位姿。Exemplarily, the test device can determine the conversion relationship between the world reference frame and the inertial reference frame to be solved at the moment according to the position and attitude of the test device in the first parameter to be solved corresponding to the moment. Then, based on the conversion relationship to be solved, the angular velocity offset to be solved in the first parameter, the acceleration offset to be solved, the observation position of the image marker to be solved, etc., respectively determine the expected position of the test equipment in the inertial reference system. estimated acceleration, estimated angular velocity, and estimated position of image markers. Wherein, the position and attitude of the test equipment may be referred to as the pose of the test equipment.
另外,上述对测试设备的运动轨迹进行解算的步骤,可由下述方式进行确定:In addition, the above-mentioned steps of calculating the motion trajectory of the test equipment can be determined in the following manner:
以上述构建测试设备的运动轨迹由B-样条算法建模为例,可构建第一参数:x=[xq T,xp T,ba T,bw T,lT]。其中,针对多个时刻中的每个时刻,xq为该时刻测试设备在世界参考系中的姿态,xp为该时刻测试设备在世界参考系中的位置,ba为该时刻对应的加速度偏置,bw为该时刻对应的角速度偏置,l为该时刻图像标记物的观测位置,其中,图像标记物的观测位置可用图像标记物中各图像特征点的位置来表征,如,图像标记物的中心点的位置,图像标记物的边缘点的位置等。该图像标记物可为棋盘格、二维码等多种类型,且标记物的形状可为三角形、矩形、圆形、多边形等多种形状,图像标记物的形状和类型可根据需要进行设置。T表示矩阵的转置。Taking the motion trajectory of the above-mentioned construction test equipment modeled by the B-spline algorithm as an example, the first parameter can be constructed: x=[x q T , x p T , b a T , b w T , l T ]. Among them, for each of the multiple moments, x q is the attitude of the test device in the world reference system at that moment, x p is the position of the test device in the world reference system at this moment, b a is the acceleration corresponding to this moment offset, b w is the angular velocity offset corresponding to this moment, l is the observation position of the image marker at this moment, where the observation position of the image marker can be characterized by the position of each image feature point in the image marker, for example, the image The position of the central point of the marker, the position of the edge point of the image marker, etc. The image marker can be of various types such as checkerboard, two-dimensional code, etc., and the shape of the marker can be various shapes such as triangle, rectangle, circle, polygon, etc., and the shape and type of the image marker can be set according to needs. T represents the transpose of the matrix.
于是,可确定预估加速度为其中,p为预估,k为第k个时刻,为k时刻对应的预估加速度,为k时刻世界参考系到惯性参考系的旋转矩阵,为k时刻世界参考系到惯性参考系的平移矩阵的两次求导,即,k时刻世界参考系中测试设备的加速度,gw为当前时刻的重力加速度,由于其方向向下,因此用负号表示其方向的影响,ba为加速度的偏置。其中,世界参考系到惯性参考系的旋转矩阵以及世界参考系到惯性参考系的平移矩阵均基于世界参考系和惯性参考系之间的转换关系确定。Then, the estimated acceleration can be determined as Among them, p is the estimate, k is the kth moment, is the estimated acceleration corresponding to time k, is the rotation matrix from the world reference system to the inertial reference system at time k, is the two derivations of the translation matrix from the world reference system to the inertial reference system at time k, that is, the acceleration of the test equipment in the world reference system at time k, and g w is the gravitational acceleration at the current time. Since its direction is downward, negative The sign indicates the influence of its direction, and b a is the bias of acceleration. Wherein, the rotation matrix from the world reference system to the inertial reference system and the translation matrix from the world reference system to the inertial reference system are determined based on the conversion relationship between the world reference system and the inertial reference system.
同样的,可确定预估角速度其中,为k时刻对应的预估角速度,为k时刻世界参考系到惯性参考系的旋转矩阵的一次导数,该预估角速度可根据旋转矩阵导数的推导公式:确定,通过反对称矩阵的特点,可确定上述预估角速度的确定公式。Similarly, the estimated angular velocity can be determined in, is the estimated angular velocity corresponding to time k, is the primary derivative of the rotation matrix from the world reference system to the inertial reference system at time k, and the estimated angular velocity can be derived according to the derivation formula of the rotation matrix derivative: Determination, through the characteristics of the anti-symmetric matrix, the determination formula of the above-mentioned estimated angular velocity can be determined.
同样的,该测试设备还可确定图像标记物的预估位置其中,j为图像传感器采集图像的时刻,pj代表第j时刻采集到的图像,针对每个图像采集的时刻,为该时刻世界参考系到图像参考系之间的平移矩阵,为该时刻世界参考系到图像参考系之间的旋转矩阵,l为该时刻世界参考系中图像标记物的观测位置,∏()表示将括号内的内容进行归一化,w[ ,ζ]表示将图像参考系中的图像标记物的观测位置转换到像素参考系中,确定图像标记物所在像素的位置。其中,可根据j时刻的世界参考系和惯性参考系之间的转换关系,以及预先确定的惯性参考系和图像参考系之间的转换关系确定。 Likewise, the test equipment can also determine the estimated position of image markers Among them, j is the moment when the image sensor collects the image, p j represents the image collected at the jth moment, and for each image collection moment, is the translation matrix between the world reference system and the image reference system at this moment, is the rotation matrix between the world reference system and the image reference system at this moment, l is the observation position of the image marker in the world reference system at this moment, ∏() means to normalize the contents in brackets, w[ ,ζ] Indicates that the observed position of the image marker in the image reference system is transformed into the pixel reference system, and the position of the pixel where the image marker is located is determined. in, and It can be determined according to the conversion relationship between the world reference frame and the inertial reference frame at time j, and the predetermined conversion relationship between the inertial reference frame and the image reference frame.
于是,根据上述确定出的多个时刻分别对应的预估加速度、预估角速度、图像标记物的预估位置,以及惯性参考系中的多个时刻分别对应的加速度角速度和图像标记物的观测位置可构建约束条件其中, Therefore, according to the estimated accelerations, estimated angular velocities, and estimated positions of the image markers corresponding to the multiple moments determined above, and the accelerations corresponding to the multiple moments in the inertial reference frame angular velocity and the observation position of the image marker Constraints can be constructed in,
即,该测试设备可基于多个时刻分别对应的预估加速度和加速度、预估角速度和角速度以及图像标记物的观测位置和预估位置之间的差异最小为约束条件,对该测试设备的第一参数进行解算,确定该测试设备的运动轨迹。That is to say, the test equipment can be based on the minimum difference between the estimated acceleration and acceleration, estimated angular velocity and angular velocity, and the observed position and estimated position of the image marker corresponding to multiple times respectively. One parameter is calculated to determine the motion trajectory of the test equipment.
需要说明的是,上述惯性参考系到图像参考系之间的转换关系为预先确定好的。世界参考系到惯性参考系之间的旋转矩阵和平移矩阵可根据多个时刻测试设备在世界参考系中的位姿确定,本申请对根据位姿确定世界参考系到惯性参考系之间的旋转矩阵和平移矩阵的方式不做限定。It should be noted that the conversion relationship between the inertial reference frame and the image reference frame is predetermined. The rotation matrix and translation matrix between the world reference system and the inertial reference system can be determined according to the poses of the test equipment in the world reference frame at multiple moments. This application determines the rotation between the world reference frame and the inertial reference frame according to the pose The matrix and the way of translating the matrix are not limited.
另外,本申请建模运动轨迹的方式还可采用贝塞尔曲线等多种建模方式,采用何种运动轨迹构建方式,根据多个时刻对应的惯性数据和图像数据对运动轨迹进行解算,可根据需要进行设置,本申请对此不做限制。In addition, the method of modeling the motion trajectory in this application can also use various modeling methods such as Bezier curves, and which type of motion trajectory construction method is used to solve the motion trajectory according to the inertial data and image data corresponding to multiple moments. It can be set as required, which is not limited in this application.
S104:根据所述雷达数据,确定所述测试设备移动过程中的多普勒速度,并将所述多普勒速度和所述测试设备在图像参考系下的移动速度进行配准,以对所述传感器数据进行标定。S104: According to the radar data, determine the Doppler velocity during the moving process of the test equipment, and register the Doppler velocity with the moving velocity of the test equipment in the image reference system, so as to Calibrate the above sensor data.
在本申请提供的一个或多个实施例中,如前所述的,该测试设备可基于该多普勒速度和移动速度,对图像参考系和雷达参考系的转换关系进行求解。因此,该测试设备可确定各方向分量上的多普勒速度。In one or more embodiments provided in the present application, as mentioned above, the test device can solve the conversion relationship between the image reference frame and the radar reference frame based on the Doppler velocity and the moving velocity. Thus, the test equipment can determine the Doppler velocity in each direction component.
示例性的,该测试设备可针对多个时刻中的每个时刻,根据获取到的雷达数据和预设的雷达的各方向分量,确定该测试设备在各方向分量上的多普勒速度。Exemplarily, the test device can determine the Doppler velocity of the test device in each direction component according to the acquired radar data and the preset radar direction components for each time point.
其中,针对每个方向分量,该方向分量由俯仰角和方位角构成,则该方向分量上的多普勒速度为该俯仰角和方位角对应的多普勒速度。如,假设方向分量为俯仰角为30°,方位角为60°组成的,则该方向分量上的多普勒速度为俯仰角为30°,方位角为60°对应的速度分量。Wherein, for each direction component, the direction component is composed of a pitch angle and an azimuth angle, and the Doppler velocity on the direction component is the Doppler velocity corresponding to the pitch angle and the azimuth angle. For example, assuming that the direction component is composed of a pitch angle of 30° and an azimuth angle of 60°, the Doppler velocity on the direction component is the velocity component corresponding to a pitch angle of 30° and an azimuth angle of 60°.
需要说明的是,上述多普勒速度为雷达传感器根据多普勒效应确定出的,也就是说,针对每个方向分量,该方向分量上的多普勒速度可测量得到。It should be noted that the above-mentioned Doppler velocity is determined by the radar sensor according to the Doppler effect, that is, for each direction component, the Doppler velocity on the direction component can be measured.
进一步的,由于多普勒速度为静止物体相对于测试设备的移动速度,则该多普勒速度与测试设备的移动速度为方向相反、大小相等的速度,因此,在确定出多普勒速度的情况下,该测试设备可将多普勒速度和测试设备在图像参考系下的移动速度进行配准,确定雷达参考系和图像参考系之间的标定关系。Further, since the Doppler velocity is the moving velocity of the stationary object relative to the test equipment, the Doppler velocity and the moving velocity of the test equipment are opposite in direction and equal in magnitude, therefore, the Doppler velocity is determined Under certain circumstances, the test equipment can register the Doppler velocity and the moving speed of the test equipment under the image reference system to determine the calibration relationship between the radar reference system and the image reference system.
示例性的,该测试设备可根据多个时刻移动速度的方向,将各方向分量上的多普勒速度确定为该测试设备与移动速度方向相同的多普勒速度,进而将该多普勒速度和移动速度配准,确定该雷达参考系和所述图像参考系之间的标定关系。Exemplarily, the testing equipment can determine the Doppler velocity in each direction component as the Doppler velocity in the same direction as the testing equipment and the moving velocity according to the direction of the moving velocity at multiple moments, and then the Doppler velocity Registering with the moving speed to determine the calibration relationship between the radar reference frame and the image reference frame.
于是,在确定出图像传感器和雷达传感器之间的标定关系后,该测试设备可根据确定出的标定关系,对获取到的传感器数据进行标定。如,根据标定关系,将获取到的传感器数据中的雷达数据,转换到图像参考系中,执行目标物识别等步骤,再根据识别结果等,确定测试设备的运动策略等。Therefore, after determining the calibration relationship between the image sensor and the radar sensor, the test device can calibrate the acquired sensor data according to the determined calibration relationship. For example, according to the calibration relationship, the radar data in the acquired sensor data is converted into the image reference system, the target recognition and other steps are performed, and then the motion strategy of the test equipment is determined according to the recognition results.
当然,在确定出标定关系之后,还可将该标定关系用于障碍物检测、障碍物分类等多种场景,该标定关系的应用可根据需要进行设置,本申请对此不做限制。 Of course, after the calibration relationship is determined, the calibration relationship can also be used in various scenarios such as obstacle detection and obstacle classification, and the application of the calibration relationship can be set according to needs, which is not limited in this application.
示例性的,该标定的传感器数据,可为测试设备该次移动过程中采集到的传感器数据,也可为测试设备后续移动时候采集到的传感器数据。当然,还可为与测试设备结构类似的无人设备在执行配送任务等过程中采集到的传感器数据。对何种传感器数据进行标定可根据需要进行设置,本申请对此不做限制。Exemplarily, the calibrated sensor data may be sensor data collected during this movement of the test equipment, or may be sensor data collected during a subsequent movement of the test equipment. Of course, it can also be sensor data collected by an unmanned device similar in structure to the test device during delivery tasks and the like. The sensor data to be calibrated can be set according to needs, which is not limited in this application.
更进一步的,由于雷达参考系和所述图像参考系之间的标定关系是待解的,因此,根据测试设备在图像参考系下的移动速度的方向,确定出的测试设备在雷达参考系下的移动速度的方向可能存在误差。Furthermore, since the calibration relationship between the radar reference system and the image reference system is to be solved, according to the direction of the moving speed of the test equipment in the image reference system, the determined test equipment is in the radar reference system. There may be errors in the direction of the moving speed.
基于此,该测试设备能够以多普勒速度的各方向分量为准,根据预设的各方向分量,确定测试设备在各移动方向分量上的移动速度,再以各方向分量上的移动速度和各方向分量上的多普勒速度之间的差距最小,对标定关系进行求解。Based on this, the testing equipment can determine the moving speed of the testing equipment in each moving direction component based on the various direction components of the Doppler velocity, and then use the moving speed and The difference between the Doppler velocities in each direction component is the smallest, and the calibration relationship is solved.
示例性的,该测试设备可根据步骤S102中确定出的测试设备在世界参考系中的运动轨迹,确定多个时刻图像参考系下该测试设备的移动速度。Exemplarily, the test device may determine the moving speed of the test device in the image reference system at multiple moments according to the motion trajectory of the test device in the world reference system determined in step S102.
然后,针对多个时刻中的每个时刻,该测试设备可基于该图像参考系与雷达参考系之间待解的标定关系以及图像参考系下该测试设备的移动速度,确定雷达参考系下各方向分量上待解的移动速度。其中,该待解的移动速度中包含有待解的标定关系。该标定关系至少包括图像参考系与雷达参考系之间的旋转矩阵和平移矩阵。Then, for each of the plurality of times, the test device can determine each of the radar reference frames based on the unresolved calibration relationship between the image reference frame and the radar reference frame and the moving speed of the test device in the image reference frame. The speed of movement to be solved for in the direction component. Wherein, the moving speed to be solved includes a calibration relationship to be solved. The calibration relationship at least includes a rotation matrix and a translation matrix between the image reference frame and the radar reference frame.
之后,该测试设备可对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,以解算该标定关系。其中,配准方法可为以各方向分量上的待解的移动速度和多普勒速度差距最小为优化目标,对优化目标进行解算。Afterwards, the test device can register the moving velocity to be solved in each direction component and the Doppler velocity in each direction component, so as to solve the calibration relationship. Wherein, the registration method may take the minimum difference between the moving speed to be solved and the Doppler speed in each direction component as the optimization goal, and solve the optimization goal.
另外,上述对测试设备待解的移动速度和多普勒速度进行解算的步骤,可由下述方式进行确定:In addition, the above-mentioned steps of calculating the moving velocity and Doppler velocity to be solved by the test equipment can be determined in the following manner:
示例性的,通过可确定测试设备在图像参考系下的移动速度。其中,为i时刻测试设备在图像参考系下的移动速度,为i时刻世界参考系到图像参考系之间的旋转矩阵,vw(ti)为i时刻世界参考系下测试设备的移动速度,可通过该时刻的测试设备的位移变化量的一阶导数确定。可根据i时刻的世界参考系到惯性参考系的转换关系,以及预先确定的惯性参考系到图像参考系之间的转换关系确定。Exemplary, by The speed of movement of the test equipment in the frame of reference of the image can be determined. in, is the moving speed of the test device in the image reference system at time i, is the rotation matrix between the world reference system and the image reference system at time i, v w (t i ) is the moving speed of the test equipment in the world reference system at time i, which can pass the first derivative of the displacement change of the test equipment at this time Sure. It can be determined according to the conversion relationship between the world reference system and the inertial reference system at time i, and the predetermined conversion relationship between the inertial reference system and the image reference system.
则根据待解的图像参考系与雷达参考系之间的标定关系,可确定该时刻雷达参考系下待解的移动速度其中,vr(ti)为i时刻雷达参考系下测试设备的移动速度,为i时刻雷达参考系到图像参考系之间的旋转矩阵,wc(ti)标识i时刻测试设备在图像参考系中的角速度,代表反对称矩阵,为i时刻图像参考系到雷达参考系之间的平移矩阵。Then according to the calibration relationship between the image reference system to be solved and the radar reference system, the moving speed to be solved in the radar reference system at this moment can be determined Among them, v r (t i ) is the moving speed of the test equipment in the radar reference frame at time i, is the rotation matrix between the radar reference frame and the image reference frame at time i, w c (t i ) identifies the angular velocity of the test equipment in the image reference frame at time i, represents an antisymmetric matrix, is the translation matrix between the image reference frame and the radar reference frame at time i.
然后,该测试设备可根据预设的各方向分量,确定雷达参考系下各方向分量上待解的移动速度则根据步骤S104确定的多普勒速度,可确定下述代价函数:其中,为俯仰角,θ为方位角。Then, the test equipment can determine the moving speed to be solved on each direction component in the radar reference system according to the preset each direction component Then according to the Doppler velocity determined in step S104, the following cost function can be determined: in, is the pitch angle, and θ is the azimuth angle.
则使代价函数最小为目标,即对雷达参考系到图像参考系之间的转换关系进行求解。之后,将求解得到的转换关系作为雷达参考系和所述图像参考系之间的标定关系。 The goal is to minimize the cost function, that is, to solve the conversion relationship between the radar reference frame and the image reference frame. Afterwards, the conversion relationship obtained by solving is used as a calibration relationship between the radar reference system and the image reference system.
进一步的,由于雷达传感器到图像传感器其内部有自身的时钟系统,因此,在确定标定关系时,还可确定雷达传感器内部时钟系统和图像传感器内部时钟系统之间的时间差。也就是说,标定关系包括图像参考系和雷达参考系之间的转换关系以及雷达传感器内部时钟系统和图像传感器内部时钟系统之间的时间差。Further, since the radar sensor and the image sensor have their own internal clock systems, when determining the calibration relationship, the time difference between the internal clock system of the radar sensor and the internal clock system of the image sensor can also be determined. That is to say, the calibration relationship includes the conversion relationship between the image reference frame and the radar reference frame and the time difference between the internal clock system of the radar sensor and the internal clock system of the image sensor.
示例性的,针对该测试设备在雷达参考系下的多个时刻中的每个时刻ts,根据测试设备上设置的雷达传感器的内部时钟和图像传感器的内部时钟之间待解的时间差td,确定该时刻该测试设备在图像参考系下的移动速度,即,ti=ts-td时刻的移动速度。Exemplarily, for each time t s of the multiple times of the test device under the radar reference system, according to the time difference t d to be resolved between the internal clock of the radar sensor and the internal clock of the image sensor set on the test device , to determine the moving speed of the test device in the image reference system at this moment, that is, the moving speed at the moment t i =t s −t d .
其次,该测试设备可根据该时刻该测试设备在图像参考系下的移动速度、雷达参考系和该图像参考系待解的转换关系,确定该测试设备在雷达参考系下待解的移动速度 Secondly, the testing device can determine the moving speed of the testing device in the radar reference system according to the moving speed of the testing device in the image reference system at that moment, the conversion relationship between the radar reference system and the image reference system to be solved
然后,该测试设备可根据预设的各方向分量,确定该测试设备在各方向分量上待解的移动速度。Then, the test device can determine the moving speed of the test device to be resolved in each direction component according to the preset direction components.
之后,对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算该转换关系和该时间差,并将解算得到的该转换关系和该时间差作为该标定关系。其中,td为雷达传感器内部时钟系统和图像传感器内部时钟系统之间的时间差。Afterwards, register the moving velocity to be solved in each direction component and the Doppler velocity in each direction component, solve the conversion relationship and the time difference, and use the conversion relationship and the time difference obtained from the solution as the calibration relation. Among them, t d is the time difference between the internal clock system of the radar sensor and the internal clock system of the image sensor.
其中,图像参考系下测试设备待解的移动速度包含有待解的时间差,在有时间差的情况下,雷达参考系下测试设备待解的移动速度中包含待解的时间差,以及待解的图像参考系和雷达参考系之间的待解的旋转矩阵和平移矩阵。Among them, the moving speed of the test equipment under the image reference system includes the time difference to be solved. If there is a time difference, the moving speed of the test equipment under the radar reference system includes the time difference to be solved and the image reference to be solved The rotation matrix and translation matrix to be solved between the radar frame and the radar reference frame.
基于图1提供的传感器数据的标定方法,获取测试设备移动过程中多个时刻的图像数据、雷达数据和惯性数据,根据惯性数据和图像数据,确定所述测试设备的运动轨迹,根据运动轨迹,确定测试设备在图像参考系下的移动速度,再根据雷达数据,确定测试设备移动过程中的多普勒速度,并将所述多普勒速度和测试设备在图像参考系下的移动速度进行配准,以对传感器数据进行标定。本方案在雷达传感器和图像传感器的采集范围不重叠时也可应用,且不需要在重叠视野范围内移动的标定物,标定过程更加方便,提高了确定传感器数据的标定效率。Based on the calibration method of the sensor data provided in Fig. 1, image data, radar data and inertial data at multiple moments in the moving process of the test equipment are obtained, and according to the inertial data and image data, the motion track of the test equipment is determined, and according to the motion track, Determine the moving speed of the test equipment under the image reference system, and then determine the Doppler speed during the moving process of the test equipment according to the radar data, and match the Doppler speed with the moving speed of the test equipment under the image reference system standard to calibrate sensor data. This solution can also be applied when the acquisition ranges of the radar sensor and the image sensor do not overlap, and does not require a calibration object moving within the overlapping field of view, the calibration process is more convenient, and the calibration efficiency of determining sensor data is improved.
另外,由于测试设备抖动等因素的影响,可能出现图像传感器和雷达传感器之间的位置关系发生变化的情况,因此,该测试设备在移动过程中,还可判断是否需要重新确定标定关系。In addition, due to factors such as shaking of the testing equipment, the positional relationship between the image sensor and the radar sensor may change. Therefore, the testing equipment can also determine whether the calibration relationship needs to be re-determined during the moving process.
示例性的,该测试设备可根据确定出的标定关系以及采集到的传感器数据,确定多个时刻分别对应的测试设备在图像参考系和雷达参考系中的位姿差距,并判断该位姿差距是否大于预设的误差阈值。若该位姿差距大于误差阈值,则该测试设备可确定传感器数据需要校准,并将所述传感器数据进行存储。若该位姿差距不大于误差阈值,则该测试设备可确定传感器数据无需校准。Exemplarily, the test device can determine the pose gap between the image reference system and the radar reference frame of the test device corresponding to multiple times according to the determined calibration relationship and the collected sensor data, and judge the pose gap Whether it is greater than the preset error threshold. If the pose difference is greater than the error threshold, the testing device may determine that the sensor data needs to be calibrated, and store the sensor data. If the pose difference is not greater than an error threshold, the testing device may determine that sensor data does not require calibration.
当然,该测试设备还可将预设时长内的传感器数据进行存储,并在位姿差距大于预设的误差阈值时,根据预存的预设时长的传感器数据确定标定关系,以避免出现较大差距时仍需采集一段时间的传感器数据才能进行标定,使得标定效率较低的情况。预设时长可根据需要进行设置,本申请对此不做限制。Of course, the test equipment can also store the sensor data within a preset time period, and determine the calibration relationship according to the pre-stored sensor data of a preset time length when the pose difference is greater than the preset error threshold, so as to avoid a large gap Sometimes it is still necessary to collect sensor data for a period of time before calibration, which makes the calibration efficiency low. The preset duration can be set as required, which is not limited in this application.
进一步的,在测试设备移动过程中,还可能出现测试设备抖动等情况导致确定出位姿差异较大的情况。而通常测试设备抖动的情况会在较短时间内消失。因此,该测试设备还可将位姿差异大于误差阈值的次数进行记录,以提高判断结果的准确性。并当位姿差异小于误差 阈值时,认为该标定关系仍然正确。则当该位姿差异大于误差阈值的次数到达预设的次数阈值时,认为确定出的该标定关系不再可靠。Furthermore, during the moving process of the testing equipment, there may also be situations such as shaking of the testing equipment, which may lead to a relatively large difference in determined poses. Usually, the jitter of the test equipment will disappear in a short period of time. Therefore, the test device can also record the number of times the pose difference is greater than the error threshold, so as to improve the accuracy of the judgment result. And when the pose difference is less than the error When the threshold value is reached, the calibration relationship is considered to be still correct. Then, when the number of times the pose difference is greater than the error threshold reaches the preset number threshold, it is considered that the determined calibration relationship is no longer reliable.
另外,在确定出标定关系后,该测试设备可根据获取到的传感器数据和标定关系,确定点云数据以及点云数据在所述图像参考系下的投影,进而将该投影和所述传感器数据中的图像数据进行融合,确定融合结果,并对融合结果进行障碍物检测,确定障碍物的位置。In addition, after determining the calibration relationship, the test equipment can determine the point cloud data and the projection of the point cloud data in the image reference system according to the acquired sensor data and the calibration relationship, and then the projection and the sensor data Fusion of the image data in the image, determine the fusion result, and perform obstacle detection on the fusion result, and determine the position of the obstacle.
当然,上述融合图像数据和点云数据确定障碍物位置的方式,仅为标定关系的用途之一,在确定出标定关系之后,还可将该标定关系用于障碍物检测、障碍物分类等多种场景,该标定关系的应用可根据需要进行设置,本申请对此不做限制。Of course, the above method of merging image data and point cloud data to determine the position of obstacles is only one of the uses of the calibration relationship. After the calibration relationship is determined, the calibration relationship can also be used for obstacle detection, obstacle classification, etc. In this scenario, the application of the calibration relationship can be set as required, which is not limited in this application.
以上为本申请的一个或多个实施例提供的传感器数据的标定方法,基于同样的思路,本申请还提供了相应的传感器数据的标定装置,如图3所示。The above is the sensor data calibration method provided by one or more embodiments of the present application. Based on the same idea, the present application also provides a corresponding sensor data calibration device, as shown in FIG. 3 .
图3为本申请提供的传感器数据的标定装置,包括:Fig. 3 is the calibration device of the sensor data provided by the application, including:
获取模块200,用于获取测试设备移动过程中多个时刻的传感器数据,所述传感器数据至少包括图像数据、雷达数据和惯性数据。The acquiring module 200 is configured to acquire sensor data at multiple moments during the moving process of the testing device, the sensor data at least including image data, radar data and inertial data.
轨迹确定模块202,用于根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,并根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度。The trajectory determination module 202 is configured to determine the motion trajectory of the test device according to the inertial data and the image data, and determine the moving speed of the test device in the image reference system according to the motion trajectory.
标定模块204,用于根据所述雷达数据,确定所述测试设备移动过程中的多普勒速度,并将所述多普勒速度和所述测试设备在图像参考系下的移动速度进行配准,确定雷达参考系和所述图像参考系之间的标定关系,以对所述传感器数据进行标定。A calibration module 204, configured to determine the Doppler velocity during the moving process of the test equipment according to the radar data, and register the Doppler velocity with the moving velocity of the test equipment in the image reference system , determining a calibration relationship between the radar reference frame and the image reference frame, so as to calibrate the sensor data.
在一些实施方式中,所述轨迹确定模块202,用于根据所述惯性数据和所述图像数据,确定所述测试设备在惯性参考系下所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解。In some implementations, the trajectory determination module 202 is configured to determine the angular velocity, acceleration and image markers of the test equipment corresponding to the multiple moments in the inertial reference system according to the inertial data and the image data According to the observed position of the object, according to the angular velocity, acceleration and observed position of the image marker corresponding to the multiple times, the motion track of the test equipment in the world reference system is solved.
在一些实施方式中,所述轨迹确定模块202,用于根据所述测试设备在世界参考系下待解的运动轨迹,确定所述多个时刻分别对应的待解的第一参数,所述第一参数用于求解所述运动轨迹,针对所述多个时刻中的每个时刻,根据该时刻对应的待解的第一参数,确定所述世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在所述惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置,以该时刻分别对应的所述角速度和所述预估角速度相同、所述加速度和所述预估加速度相同、所述图像标记物的观测位置和预估位置相同,构建约束条件,对所述运动轨迹进行求解。In some implementations, the trajectory determination module 202 is configured to determine the first parameters to be solved respectively corresponding to the multiple moments according to the motion trajectory to be solved of the test equipment in the world reference system, the first parameter A parameter is used to solve the motion trajectory, and for each of the multiple moments, according to the first parameter to be solved corresponding to the moment, determine the conversion relationship between the world reference frame and the inertial reference frame, And determine the estimated angular velocity, estimated acceleration, and estimated position of the image marker of the test device under the inertial reference system, and the angular velocity corresponding to this moment is the same as the estimated angular velocity, and the acceleration The same as the estimated acceleration, the observed position of the image marker is the same as the estimated position, a constraint condition is constructed, and the motion track is solved.
在一些实施方式中,所述轨迹确定模块202,用于根据该时刻对应的待解的第一参数中的所述测试设备的位姿,确定该时刻待解的所述世界参考系和惯性参考系之间的转换关系,其中,所述第一参数包括所述测试设备的位姿、加速度偏置、角速度偏置以及图像标记物的观测位置;根据所述待解的转换关系、所述第一参数中待解的角速度偏置、待解的加速度偏置、待解的所述图像标记物的观测位置,分别确定所述测试设备的预估加速度、预估角速度以及图像标记物的预估位置。In some implementations, the trajectory determination module 202 is configured to determine the world reference frame and inertial reference to be solved at this moment according to the pose of the test device in the first parameter to be solved corresponding to this moment The conversion relationship between systems, wherein, the first parameter includes the posture, acceleration offset, angular velocity offset and the observation position of the image marker of the test equipment; according to the conversion relationship to be solved, the second In one parameter, the angular velocity offset to be solved, the acceleration offset to be solved, and the observed position of the image marker to be solved are determined respectively to determine the estimated acceleration, the estimated angular velocity, and the estimated image marker of the test device Location.
在一些实施方式中,所述轨迹确定模块202,用于根据所述运动轨迹,确定所述测试设备在世界参考系下所述多个时刻分别对应的移动速度,根据所述多个时刻所述测试设备的位姿,确定所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系,根据所述测试设备在世界参考系下所述多个时刻的移动速度、所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系以及预设的所述惯性参考系到图像参考系之间的转换关系, 确定所述测试设备在所述图像参考系下所述多个时刻的移动速度。In some implementations, the trajectory determination module 202 is configured to determine, according to the motion trajectory, the moving speeds of the test equipment corresponding to the multiple moments in the world reference system, and according to the The pose of the test equipment, determine the conversion relationship between the world reference frame and the inertial reference system corresponding to the multiple moments, according to the moving speed of the test equipment at the multiple moments in the world reference system, the The conversion relationship between the world reference system and the inertial reference system corresponding to the multiple times and the preset conversion relationship between the inertial reference system and the image reference system, A velocity of movement of the test device at the plurality of time instants in the image reference frame is determined.
在一些实施方式中,所述标定模块204,用于针对所述多个时刻中的每个时刻,根据获取到的雷达数据和预设的各方向分量,确定该时刻各方向分量上的多普勒速度,根据该时刻所述测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度,对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,以对所述传感器数据进行标定。In some implementations, the calibration module 204 is configured to, for each of the multiple moments, determine the Doppler in each direction component at that moment according to the acquired radar data and the preset each direction component. Le velocity, according to the moving speed of the test equipment in the image reference system at this moment, the calibration relationship to be solved between the radar reference system and the image reference system, and the preset components in each direction, determine the components of the test equipment in each direction The moving speed to be resolved is registered, the moving speed to be solved in each direction component is registered with the Doppler velocity in each direction component, and the calibration relationship is solved to calibrate the sensor data.
在一些实施方式中,所述标定模块204,用于根据所述测试设备上设置的雷达传感器和图像传感器的内部时钟之间的待解时间差,确定该时刻所述测试设备在图像参考系下的待解的移动速度,所述待解的移动速度包含所述待解时间差,根据该时刻所述测试设备在图像参考系下待解的移动速度、雷达参考系和所述图像参考系之间待解的转换关系,确定所述测试设备在雷达参考系下待解的移动速度,根据预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度,对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述转换关系和所述时间差,作为所述标定关系。In some implementations, the calibration module 204 is configured to determine, according to the time difference to be resolved between the internal clocks of the radar sensor and the image sensor set on the test device, to determine the value of the test device under the image reference system at this moment. The moving speed to be solved, the moving speed to be solved includes the time difference to be solved, according to the moving speed to be solved of the test equipment in the image reference system at this moment, the waiting time between the radar reference system and the image reference system The conversion relationship of the solution is to determine the moving speed of the test equipment to be solved in the radar reference system, and to determine the moving speed of the test equipment to be solved in each direction component according to the preset components in each direction. The moving velocity to be solved is registered with the Doppler velocity in each direction component, and the conversion relationship and the time difference are calculated as the calibration relationship.
在一些实施方式中,所述标定模块204,还用于根据确定出的所述标定关系以及采集到的传感器数据,确定各时刻分别对应的所述测试设备在所述图像参考系和所述雷达参考系中的位姿差距,并判断所述位姿差距是否大于预设的误差阈值,若所述位姿差距大于所述误差阈值,则确定传感器数据需要校准,并将所述传感器数据进行存储,若所述位姿差距不大于所述误差阈值,则确定传感器数据无需校准。In some implementations, the calibration module 204 is further configured to determine, according to the determined calibration relationship and the collected sensor data, the test equipment corresponding to each moment in the image reference system and the radar The pose difference in the reference system, and judge whether the pose difference is greater than a preset error threshold, if the pose difference is greater than the error threshold, then determine that the sensor data needs to be calibrated, and store the sensor data , if the pose difference is not greater than the error threshold, it is determined that the sensor data does not need to be calibrated.
本申请还提供了一种非临时性计算机可读存储介质,该非临时性计算机可读存储介质存储有计算机程序,计算机程序可用于执行上述图1提供的传感器数据的标定方法。The present application also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores a computer program, and the computer program can be used to execute the sensor data calibration method provided in FIG. 1 above.
本申请还提供了一种计算机程序产品,该计算机程序产品包括计算机程序或指令,该计算机程序或指令被处理器执行,以使计算机实现上述图1提供的传感器数据的标定方法。The present application also provides a computer program product, the computer program product includes a computer program or an instruction, and the computer program or instruction is executed by a processor, so that the computer implements the sensor data calibration method provided in FIG. 1 above.
本申请还提供了图4所示的电子设备的示意结构图。如图4所述,在硬件层面,该电子设备包括处理器、内部总线、网络接口、内存以及非易失性存储器,当然还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,以实现上述图1所述的传感器数据的标定方法。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。The present application also provides a schematic structural diagram of the electronic device shown in FIG. 4 . As shown in FIG. 4 , at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and of course may also include hardware required by other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, so as to realize the sensor data calibration method described in FIG. 1 above. Of course, in addition to the software implementation, this application does not exclude other implementations, such as logic devices or the combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, and can also be hardware or logic device.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description  Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished as an improvement in hardware (for example, improvements in circuit structures such as diodes, transistors, and switches) or improvements in software (improvement in method flow). However, with the development of technology, the improvement of many current method flows can be regarded as the direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware physical modules. For example, a programmable logic device (Programmable Logic Device, PLD) (such as a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)) is such an integrated circuit, and its logic function is determined by programming the device by a user. It is programmed by the designer to "integrate" a digital system on a PLD, instead of asking a chip manufacturer to design and make a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this kind of programming is mostly realized by "logic compiler (logic compiler)" software, which is similar to the software compiler used when writing programs. The original code must also be written in a specific programming language, which is called a hardware description language (Hardware Description) Language, HDL), and there is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL ( Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently the most commonly used. It should also be clear to those skilled in the art that only a little logical programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit for realizing the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable way, for example the controller may take the form of a microprocessor or processor and a computer readable medium storing computer readable program code (such as software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers and embedded microcontrollers, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that, in addition to realizing the controller in a purely computer-readable program code mode, it is entirely possible to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as structures within the hardware component. Or even, means for realizing various functions can be regarded as a structure within both a software module realizing a method and a hardware component.
上述实施例阐明的系统、装置、模块或单元,可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。示例性的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be realized by computer chips or entities, or by products with certain functions. A typical implementing device is a computer. Exemplary, a computer may be, for example, a personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device Or a combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above devices, functions are divided into various units and described separately. Of course, when implementing the present application, the functions of each unit can be implemented in one or more pieces of software and/or hardware.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本申请中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in the present application is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiment.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above descriptions are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims (19)

  1. 一种传感器数据的标定方法,其中,所述方法包括:A calibration method for sensor data, wherein the method includes:
    获取测试设备移动过程中多个时刻的传感器数据,所述传感器数据至少包括图像数据、雷达数据和惯性数据;Acquiring sensor data at multiple moments during the movement of the test equipment, the sensor data at least including image data, radar data and inertial data;
    根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,并根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度;determining the motion trajectory of the testing device according to the inertial data and the image data, and determining the moving speed of the testing device in the image reference system according to the motion trajectory;
    根据所述雷达数据,确定所述测试设备移动过程中的多普勒速度,并将所述多普勒速度和所述测试设备在所述图像参考系下的移动速度进行配准,以对所述传感器数据进行标定。According to the radar data, determine the Doppler velocity during the moving process of the test equipment, and register the Doppler velocity and the moving velocity of the test equipment in the image reference system, so as to Calibrate the above sensor data.
  2. 如权利要求1所述的方法,其中,根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,包括:The method according to claim 1, wherein, according to the inertial data and the image data, determining the motion trajectory of the testing device comprises:
    根据所述惯性数据和所述图像数据,确定所述测试设备在惯性参考系下所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置;According to the inertial data and the image data, determine the angular velocity, acceleration, and observation position of the image marker respectively corresponding to the multiple moments of the test equipment under the inertial reference system;
    根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解。According to the angular velocities, accelerations and observed positions of the image markers respectively corresponding to the multiple moments, the motion trajectory of the test equipment in the world reference system is solved.
  3. 如权利要求2所述的方法,其中,根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解,包括:The method according to claim 2, wherein, according to the angular velocities, accelerations, and observation positions of the image markers corresponding to the plurality of moments, solving the motion trajectory of the test equipment in the world reference system includes:
    根据所述测试设备在世界参考系下待解的运动轨迹,确定所述多个时刻分别对应的待解的第一参数,所述第一参数用于求解所述运动轨迹;According to the motion trajectory to be solved of the test equipment in the world reference system, determine the first parameters to be solved respectively corresponding to the multiple moments, and the first parameters are used to solve the motion trajectory;
    针对所述多个时刻中的每个时刻,根据该时刻对应的待解的第一参数,确定所述世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在所述惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置;For each of the plurality of moments, according to the first parameter to be solved corresponding to the moment, determine the conversion relationship between the world reference frame and the inertial reference frame, and determine the test equipment in the inertial Estimated angular velocity, estimated acceleration, and estimated position of image markers in the frame of reference;
    以该时刻分别对应的所述角速度和所述预估角速度相同、所述加速度和所述预估加速度相同、所述图像标记物的观测位置和预估位置相同,构建约束条件,对所述运动轨迹进行求解。The angular velocity corresponding to this moment is the same as the estimated angular velocity, the acceleration is the same as the estimated acceleration, and the observed position of the image marker is the same as the estimated position, constructing constraint conditions for the motion track solution.
  4. 如权利要求3所述的方法,其中,根据该时刻对应的待解的第一参数,确定所述世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在所述惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置,包括:The method according to claim 3, wherein, according to the first parameter to be solved corresponding to the moment, determine the conversion relationship between the world reference frame and the inertial reference frame, and determine the The estimated angular velocity, estimated acceleration, and estimated position of image markers under the system, including:
    根据该时刻对应的待解的第一参数中的所述测试设备的位姿,确定该时刻待解的所述世界参考系和惯性参考系之间的转换关系,其中,所述第一参数包括所述测试设备的位姿、加速度偏置、角速度偏置以及图像标记物的观测位置;According to the pose of the test device in the first parameter to be solved corresponding to this moment, determine the conversion relationship between the world reference frame and the inertial reference frame to be solved at this moment, wherein the first parameter includes The pose, acceleration offset, angular velocity offset and observation position of the image marker of the test equipment;
    根据所述待解的转换关系、所述第一参数中待解的角速度偏置、待解的加速度偏置、待解的所述图像标记物的观测位置,分别确定所述测试设备的预估加速度、预估角速度以及图像标记物的预估位置。According to the transformation relationship to be solved, the angular velocity offset to be solved in the first parameter, the acceleration offset to be solved, and the observed position of the image marker to be solved, respectively determine the estimated value of the test device Acceleration, estimated angular velocity, and estimated position of image markers.
  5. 如权利要求1-4任一所述的方法,其中,根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度,包括:The method according to any one of claims 1-4, wherein, according to the motion trajectory, determining the moving speed of the test device under the image reference system comprises:
    根据所述运动轨迹,确定所述测试设备在世界参考系下所述多个时刻分别对应的移动速度;According to the motion trajectory, determine the moving speeds of the test equipment corresponding to the multiple moments in the world reference system;
    根据所述多个时刻所述测试设备的位姿,确定所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系; According to the poses and postures of the test equipment at the multiple moments, determine the conversion relationship between the world reference frame and the inertial reference frame respectively corresponding to the multiple moments;
    根据所述测试设备在世界参考系下所述多个时刻的移动速度、所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系以及预设的所述惯性参考系到图像参考系之间的转换关系,确定所述测试设备在所述图像参考系下所述多个时刻的移动速度。According to the moving speed of the test equipment at the multiple moments in the world reference system, the conversion relationship between the world reference system and the inertial reference system corresponding to the multiple moments, and the preset inertial reference system The conversion relationship between the image reference system and the image reference system is used to determine the moving speed of the test equipment at the multiple moments in the image reference system.
  6. 如权利要求1-4任一所述的方法,其中,将所述多普勒速度和所述测试设备在所述图像参考系下的移动速度进行配准,以对所述传感器数据进行标定,包括:The method according to any one of claims 1-4, wherein the Doppler velocity is registered with the moving velocity of the test device in the image reference system to calibrate the sensor data, include:
    针对所述多个时刻中的每个时刻,根据获取到的雷达数据和预设的各方向分量,确定该时刻各方向分量上的多普勒速度;For each of the plurality of moments, according to the acquired radar data and the preset directional components, determine the Doppler velocity in each directional component at that moment;
    根据该时刻所述测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度;According to the moving speed of the test equipment in the image reference system at this moment, the calibration relationship between the radar reference system and the image reference system to be solved, and the preset components in each direction, it is determined that the test equipment is to be solved in each direction component moving speed;
    对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,以对所述传感器数据进行标定。The moving velocity to be solved in each direction component is registered with the Doppler velocity in each direction component, and the calibration relationship is solved, so as to calibrate the sensor data.
  7. 如权利要求6所述的方法,其中,根据该时刻所述测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度,包括:The method according to claim 6, wherein, according to the moving speed of the test equipment under the image reference system at this moment, the calibration relationship to be solved between the radar reference system and the image reference system, and the preset direction components, determine The moving speed of the test equipment to be solved on each direction component includes:
    根据所述测试设备上设置的雷达传感器和图像传感器的内部时钟之间的待解时间差,确定该时刻所述测试设备在图像参考系下的待解的移动速度,所述待解的移动速度包含所述待解时间差;According to the time difference to be solved between the internal clock of the radar sensor set on the test device and the image sensor, determine the moving speed to be solved of the test device at this moment under the image reference system, and the moving speed to be solved includes The time difference to be resolved;
    根据该时刻所述测试设备在图像参考系下待解的移动速度、雷达参考系和所述图像参考系之间待解的转换关系,确定所述测试设备在雷达参考系下待解的移动速度;According to the moving speed of the test equipment to be solved in the image reference system at this moment, the conversion relationship to be solved between the radar reference system and the image reference system, determine the moving speed of the test equipment in the radar reference system to be solved ;
    根据预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度;According to each preset direction component, determine the moving speed of the test equipment to be solved on each direction component;
    对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,包括:Register the moving speed to be solved on each direction component and the Doppler speed on each direction component, and solve the calibration relationship, including:
    对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述转换关系和所述时间差,作为所述标定关系。The moving velocity to be solved in each direction component is registered with the Doppler velocity in each direction component, and the conversion relationship and the time difference are calculated as the calibration relationship.
  8. 如权利要求1-4任一所述的方法,其中,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    根据确定出的标定关系以及采集到的传感器数据,确定各时刻分别对应的所述测试设备在所述图像参考系和所述雷达参考系中的位姿差距,并判断所述位姿差距是否大于预设的误差阈值;According to the determined calibration relationship and the collected sensor data, determine the pose gap of the test equipment corresponding to each moment in the image reference frame and the radar reference frame, and judge whether the pose gap is greater than Preset error thresholds;
    若所述位姿差距大于所述误差阈值,则确定传感器数据需要校准,并将所述传感器数据进行存储;If the pose difference is greater than the error threshold, it is determined that the sensor data needs to be calibrated, and the sensor data is stored;
    若所述位姿差距不大于所述误差阈值,则确定传感器数据无需校准。If the pose difference is not greater than the error threshold, it is determined that sensor data does not need to be calibrated.
  9. 一种传感器数据的标定装置,其中,所述装置包括:A calibration device for sensor data, wherein the device includes:
    获取模块,用于获取测试设备移动过程中多个时刻的传感器数据,所述传感器数据至少包括图像数据、雷达数据和惯性数据;An acquisition module, configured to acquire sensor data at multiple moments during the movement of the test equipment, the sensor data at least including image data, radar data and inertial data;
    轨迹确定模块,用于根据所述惯性数据和所述图像数据,确定所述测试设备的运动轨迹,并根据所述运动轨迹,确定所述测试设备在图像参考系下的移动速度;A trajectory determination module, configured to determine the motion trajectory of the test device according to the inertial data and the image data, and determine the moving speed of the test device in the image reference system according to the motion trajectory;
    标定模块,用于根据所述雷达数据,确定所述测试设备移动过程中的多普勒速度,并将所述多普勒速度和所述测试设备在图像参考系下的移动速度进行配准,以对所述传感器数据进行标定。a calibration module, configured to determine the Doppler velocity during the moving process of the test equipment according to the radar data, and register the Doppler velocity with the moving velocity of the test equipment in the image reference system, to calibrate the sensor data.
  10. 如权利要求9所述的装置,其中,所述轨迹确定模块,用于根据所述惯性数据和所述 图像数据,确定所述测试设备在惯性参考系下所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置;根据所述多个时刻分别对应的角速度、加速度和图像标记物的观测位置,对所述测试设备在世界参考系下的运动轨迹进行求解。The device according to claim 9, wherein said trajectory determining module is configured to use said inertial data and said Image data, determine the angular velocity, acceleration and observation position of the image marker corresponding to the multiple moments of the test equipment under the inertial reference system; Position, solve the motion track of the test equipment in the world reference system.
  11. 如权利要求10所述的装置,其中,所述轨迹确定模块,用于根据所述测试设备在世界参考系下待解的运动轨迹,确定所述多个时刻分别对应的待解的第一参数,所述第一参数用于求解所述运动轨迹;针对所述多个时刻中的每个时刻,根据该时刻对应的待解的第一参数,确定所述世界参考系和惯性参考系之间的转换关系,以及确定所述测试设备在所述惯性参考系下的预估角速度、预估加速度和图像标记物的预估位置;以该时刻分别对应的所述角速度和所述预估角速度相同、所述加速度和所述预估加速度相同、所述图像标记物的观测位置和预估位置相同,构建约束条件,对所述运动轨迹进行求解。The device according to claim 10, wherein the trajectory determination module is configured to determine the first parameters to be solved respectively corresponding to the multiple times according to the motion trajectory to be solved of the test equipment in the world reference system , the first parameter is used to solve the motion trajectory; for each of the multiple moments, according to the first parameter to be solved corresponding to the moment, determine the distance between the world reference frame and the inertial reference frame conversion relationship, and determine the estimated angular velocity, estimated acceleration, and estimated position of the image marker of the test device under the inertial reference system; the angular velocity corresponding to this moment is the same as the estimated angular velocity , the acceleration is the same as the estimated acceleration, the observed position of the image marker is the same as the estimated position, constructing constraint conditions, and solving the motion trajectory.
  12. 如权利要求11所述的装置,其中,所述轨迹确定模块,用于根据该时刻对应的待解的第一参数中的所述测试设备的位姿,确定该时刻待解的所述世界参考系和惯性参考系之间的转换关系,其中,所述第一参数包括所述测试设备的位姿、加速度偏置、角速度偏置以及图像标记物的观测位置;根据所述待解的转换关系、所述第一参数中待解的角速度偏置、待解的加速度偏置、待解的所述图像标记物的观测位置,分别确定所述测试设备的预估加速度、预估角速度以及图像标记物的预估位置。The device according to claim 11, wherein the trajectory determining module is configured to determine the world reference to be solved at this moment according to the pose of the test device in the first parameter to be solved corresponding to the moment The conversion relationship between the frame and the inertial reference frame, wherein the first parameter includes the pose, acceleration offset, angular velocity offset, and observation position of the image marker of the test device; according to the conversion relationship to be solved , the angular velocity offset to be resolved, the acceleration offset to be resolved, and the observed position of the image marker to be resolved in the first parameter, respectively determine the estimated acceleration, estimated angular velocity, and image marker of the test device the estimated location of the object.
  13. 如权利要求9-12任一所述的装置,其中,所述轨迹确定模块,用于根据所述运动轨迹,确定所述测试设备在世界参考系下所述多个时刻分别对应的移动速度;根据所述多个时刻所述测试设备的位姿,确定所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系;根据所述测试设备在世界参考系下所述多个时刻的移动速度、所述多个时刻分别对应的所述世界参考系和所述惯性参考系的转换关系以及预设的所述惯性参考系到图像参考系之间的转换关系,确定所述测试设备在所述图像参考系下所述多个时刻的移动速度。The device according to any one of claims 9-12, wherein the trajectory determination module is configured to determine the moving speeds of the test equipment corresponding to the multiple moments in the world reference system according to the movement trajectory; According to the poses of the test equipment at the multiple moments, determine the conversion relationship between the world reference frame and the inertial reference frame corresponding to the multiple moments; according to the test equipment in the world reference system, The moving speed at multiple times, the conversion relationship between the world reference frame and the inertial reference system corresponding to the multiple times, and the preset conversion relationship between the inertial reference system and the image reference system are determined. The moving speed of the test equipment at the multiple moments in the image reference system.
  14. 如权利要求9-12任一所述的装置,其中,所述标定模块,用于针对所述多个时刻中的每个时刻,根据获取到的雷达数据和预设的各方向分量,确定该时刻各方向分量上的多普勒速度;根据该时刻所述测试设备在图像参考系下的移动速度、雷达参考系和所述图像参考系待解的标定关系、预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度;对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述标定关系,以对所述传感器数据进行标定。The device according to any one of claims 9-12, wherein the calibration module is configured to, for each of the multiple moments, determine the The Doppler velocity on each direction component at the moment; according to the moving speed of the test equipment under the image reference system at this moment, the calibration relationship to be solved between the radar reference system and the image reference system, and the preset components in each direction, determine The moving speed of the test equipment to be solved in each direction component; the moving speed to be solved in each direction component and the Doppler speed in each direction component are registered, and the calibration relationship is solved, so that the Calibration of sensor data.
  15. 如权利要求14所述的装置,其中,所述标定模块,用于根据所述测试设备上设置的雷达传感器和图像传感器的内部时钟之间的待解时间差,确定该时刻所述测试设备在图像参考系下的待解的移动速度,所述待解的移动速度包含所述待解时间差;根据该时刻所述测试设备在图像参考系下待解的移动速度、雷达参考系和所述图像参考系之间待解的转换关系,确定所述测试设备在雷达参考系下待解的移动速度;根据预设的各方向分量,确定所述测试设备在各方向分量上待解的移动速度;对各方向分量上待解的移动速度和各方向分量上的多普勒速度进行配准,解算所述转换关系和所述时间差,作为所述标定关系。The device according to claim 14, wherein the calibration module is configured to determine the time difference between the radar sensor and the internal clock of the image sensor set on the test equipment to determine the The moving speed to be solved in the reference system, the moving speed to be solved includes the time difference to be solved; according to the moving speed to be solved in the image reference system of the test equipment at this moment, the radar reference system and the image reference The conversion relationship to be solved between the systems is used to determine the moving speed of the test equipment to be solved under the radar reference system; according to the preset components in each direction, the moving speed of the test equipment to be solved in each direction component is determined; The moving velocity to be resolved in each direction component is registered with the Doppler velocity in each direction component, and the conversion relationship and the time difference are calculated as the calibration relationship.
  16. 如权利要求9-12任一所述的装置,其中,所述标定模块,还用于根据确定出的标定关系以及采集到的传感器数据,确定各时刻分别对应的所述测试设备在所述图像参考系和所述雷达参考系中的位姿差距,并判断所述位姿差距是否大于预设的误差阈值;若所述位姿差距大于所述误差阈值,则确定传感器数据需要校准,并将所述传感器数据进行存储;若所述位姿差距不大于所述误差阈值,则确定传感器数据无需校准。 The device according to any one of claims 9-12, wherein the calibration module is further configured to determine the corresponding time points of the test equipment in the image according to the determined calibration relationship and the collected sensor data. The pose gap between the reference frame and the radar reference frame, and determine whether the pose gap is greater than a preset error threshold; if the pose gap is greater than the error threshold, it is determined that the sensor data needs to be calibrated, and The sensor data is stored; if the pose difference is not greater than the error threshold, it is determined that the sensor data does not need to be calibrated.
  17. 一种非临时性计算机可读存储介质,其中,所述非临时性计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述权利要求1-8任一项所述的方法。A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1-8 is implemented. method.
  18. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现上述权利要求1-8任一项所述的方法。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the program, it implements the method described in any one of claims 1-8 method.
  19. 一种计算机程序产品,其中,所述计算机程序产品包括计算机程序或指令,所述计算机程序或指令被处理器执行,以使计算机实现上述权利要求1-8任一项所述的方法。 A computer program product, wherein the computer program product includes a computer program or instruction, and the computer program or instruction is executed by a processor, so that the computer implements the method described in any one of claims 1-8 above.
PCT/CN2023/072107 2022-01-29 2023-01-13 Sensor data calibration WO2023143132A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210112012.8 2022-01-29
CN202210112012.8A CN116558545A (en) 2022-01-29 2022-01-29 Calibration method and device for sensor data

Publications (1)

Publication Number Publication Date
WO2023143132A1 true WO2023143132A1 (en) 2023-08-03

Family

ID=87470484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/072107 WO2023143132A1 (en) 2022-01-29 2023-01-13 Sensor data calibration

Country Status (2)

Country Link
CN (1) CN116558545A (en)
WO (1) WO2023143132A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117589203A (en) * 2024-01-18 2024-02-23 陕西太合智能钻探有限公司 Gyroscope calibration method
CN117589203B (en) * 2024-01-18 2024-05-10 陕西太合智能钻探有限公司 Gyroscope calibration method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782496A (en) * 2019-09-06 2020-02-11 深圳市道通智能航空技术有限公司 Calibration method, calibration device, aerial photographing equipment and storage medium
US20210003693A1 (en) * 2018-04-12 2021-01-07 FLIR Belgium BVBA Adaptive doppler radar systems and methods
CN112815939A (en) * 2021-01-04 2021-05-18 清华大学深圳国际研究生院 Pose estimation method for mobile robot and computer-readable storage medium
CN113091771A (en) * 2021-04-13 2021-07-09 清华大学 Laser radar-camera-inertial navigation combined calibration method and system
CN113643321A (en) * 2021-07-30 2021-11-12 北京三快在线科技有限公司 Sensor data acquisition method and device for unmanned equipment
CN113655453A (en) * 2021-08-27 2021-11-16 阿波罗智能技术(北京)有限公司 Data processing method and device for sensor calibration and automatic driving vehicle
CN113933818A (en) * 2021-11-11 2022-01-14 阿波罗智能技术(北京)有限公司 Method, device, storage medium and program product for calibrating laser radar external parameter

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210003693A1 (en) * 2018-04-12 2021-01-07 FLIR Belgium BVBA Adaptive doppler radar systems and methods
CN110782496A (en) * 2019-09-06 2020-02-11 深圳市道通智能航空技术有限公司 Calibration method, calibration device, aerial photographing equipment and storage medium
CN112815939A (en) * 2021-01-04 2021-05-18 清华大学深圳国际研究生院 Pose estimation method for mobile robot and computer-readable storage medium
CN113091771A (en) * 2021-04-13 2021-07-09 清华大学 Laser radar-camera-inertial navigation combined calibration method and system
CN113643321A (en) * 2021-07-30 2021-11-12 北京三快在线科技有限公司 Sensor data acquisition method and device for unmanned equipment
CN113655453A (en) * 2021-08-27 2021-11-16 阿波罗智能技术(北京)有限公司 Data processing method and device for sensor calibration and automatic driving vehicle
CN113933818A (en) * 2021-11-11 2022-01-14 阿波罗智能技术(北京)有限公司 Method, device, storage medium and program product for calibrating laser radar external parameter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117589203A (en) * 2024-01-18 2024-02-23 陕西太合智能钻探有限公司 Gyroscope calibration method
CN117589203B (en) * 2024-01-18 2024-05-10 陕西太合智能钻探有限公司 Gyroscope calibration method

Also Published As

Publication number Publication date
CN116558545A (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US20210190497A1 (en) Simultaneous location and mapping (slam) using dual event cameras
WO2021213432A1 (en) Data fusion
US20200124421A1 (en) Method and apparatus for estimating position
WO2019119289A1 (en) Positioning method and device, electronic apparatus, and computer program product
JP2018523865A (en) Information processing method, device, and terminal
KR20190041315A (en) Inertial-based navigation device and Inertia-based navigation method based on relative preintegration
JP2022510418A (en) Time synchronization processing method, electronic devices and storage media
US11181379B2 (en) System and method for enhancing non-inertial tracking system with inertial constraints
WO2017008454A1 (en) Robot positioning method
CN108871311B (en) Pose determination method and device
WO2021169420A1 (en) Visual positioning on basis of multiple image frames
CN111427061A (en) Robot mapping method and device, robot and storage medium
US20180075609A1 (en) Method of Estimating Relative Motion Using a Visual-Inertial Sensor
CN107917707B (en) Method and device for determining pedestrian direction under any posture and electronic equipment
CN108549376A (en) A kind of navigation locating method and system based on beacon
CN114136315B (en) Monocular vision-based auxiliary inertial integrated navigation method and system
Tomažič et al. Fusion of visual odometry and inertial navigation system on a smartphone
CN113933818A (en) Method, device, storage medium and program product for calibrating laser radar external parameter
KR20180076441A (en) Method and apparatus for detecting object using adaptive roi and classifier
Deng et al. Global optical flow-based estimation of velocity for multicopters using monocular vision in GPS-denied environments
CN113763549A (en) Method, device and storage medium for simultaneous positioning and mapping by fusing laser radar and IMU
JP7351892B2 (en) Obstacle detection method, electronic equipment, roadside equipment, and cloud control platform
WO2023143132A1 (en) Sensor data calibration
CN109945864B (en) Indoor driving positioning fusion method and device, storage medium and terminal equipment
CN112461258A (en) Parameter correction method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23746014

Country of ref document: EP

Kind code of ref document: A1