WO2023028823A1 - Radar calibration method and apparatus, and terminal device and storage medium - Google Patents

Radar calibration method and apparatus, and terminal device and storage medium Download PDF

Info

Publication number
WO2023028823A1
WO2023028823A1 PCT/CN2021/115602 CN2021115602W WO2023028823A1 WO 2023028823 A1 WO2023028823 A1 WO 2023028823A1 CN 2021115602 W CN2021115602 W CN 2021115602W WO 2023028823 A1 WO2023028823 A1 WO 2023028823A1
Authority
WO
WIPO (PCT)
Prior art keywords
earth
radar
markers
coordinates
fixed coordinate
Prior art date
Application number
PCT/CN2021/115602
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 深圳市速腾聚创科技有限公司
Priority to CN202180100014.9A priority Critical patent/CN117859072A/en
Priority to PCT/CN2021/115602 priority patent/WO2023028823A1/en
Publication of WO2023028823A1 publication Critical patent/WO2023028823A1/en

Links

Images

Classifications

    • 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/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating

Definitions

  • Embodiments of the present application provide a radar calibration method, device, terminal equipment, and storage medium, which can simplify the calibration process.
  • an embodiment of the present application provides a radar calibration method, the calibration method comprising:
  • N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line;
  • the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates are determined according to the latitude and longitude.
  • the method before extracting the three-dimensional coordinates of each marker from the radar point cloud data, the method further includes:
  • the radar point cloud data and the global positioning system data of each of the markers are reacquired.
  • the acquiring the global positioning system data of each of the markers includes:
  • the global positioning system data of each marker is continuously collected until each collection time reaches a preset time.
  • the determining the pose information of the radar in the earth-centered earth-fixed coordinate system includes:
  • the calculation formulas of the rotation matrix and the translation vector are:
  • the acquiring the radar point cloud data of N markers includes:
  • an embodiment of the present application provides a radar calibration device, the calibration device includes:
  • a three-dimensional coordinate extraction module configured to: extract the three-dimensional coordinates of each of the markers from the radar point cloud data;
  • An earth-centered, earth-fixed coordinate acquisition module configured to: acquire coordinates of an earth-centered, earth-fixed coordinate system corresponding to the three-dimensional coordinates;
  • a pose information determining module configured to: determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system;
  • a calibration module configured to: calibrate the radar according to the pose information.
  • the embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any one of the above-mentioned first aspects. Methods.
  • embodiments of the present application provide a computer program product, which, when the computer program product is run on a terminal device, causes the terminal device to execute the method described in any one of the foregoing first aspects.
  • FIG. 1 is a schematic flowchart of a calibration method for radar provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of how to set markers around the radar provided by an embodiment of the present application
  • FIG. 4 is a schematic flowchart of a second modification of the radar calibration method provided by an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a radar calibration device provided by an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of a first modification of the radar calibration device provided by an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of an earth-centered earth-fixed coordinate acquisition module provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the term “if” may be construed, depending on the context, as “when” or “once” or “in response to determining” or “in response to detecting “.
  • the phrase “if determined” or “if [the described condition or event] is detected” may be construed, depending on the context, to mean “once determined” or “in response to the determination” or “once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
  • references to "one embodiment” or “some embodiments” or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
  • Embodiments of the present application provide a radar calibration method, which is used to calibrate the radar.
  • the calibration method provided in this embodiment can be applied to wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) equipment, notebook computers, ultra-mobile personal computers (ultra-mobile personal computer, UMPC), personal digital assistant (personal digital assistant, PDA) and other terminal devices, the embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
  • FIG. 1 shows a schematic flow chart of a radar calibration method provided in this embodiment.
  • the method can be applied to the above-mentioned terminal device.
  • the calibration method provided in this embodiment includes step A1 to step A5.
  • Step A1 Obtain radar point cloud data of N markers, where N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line.
  • Step A1 is collecting data.
  • Fig. 2 is a schematic diagram of how markers provided in this embodiment are arranged around the radar.
  • N points are selected around an open area where radar base stations (referred to as radars) are set, and N markers are placed at these N points.
  • the markers are uniformly arranged around the radar.
  • the aforementioned markers are markers coated with special materials.
  • the aforementioned special material is a material whose reflectivity reaches a preset threshold, and may be a material with high reflectivity, that is, the reflectivity of the material is higher than that of surrounding objects.
  • the foregoing marker may be a cylindrical object, may also be a flat-shaped object, or may be a flat-shaped object with high reflectivity, and the present application is not limited thereto.
  • the number of the aforementioned markers is at least three, and it is necessary to ensure that any three markers are not on the same straight line (which may be called a non-linear arrangement).
  • the radar may be a multi-beam laser radar, a mechanical rotating laser radar or a solid-state laser radar, or other radars capable of precise distance measurement, and this application is not limited thereto.
  • Step A2 is to extract features.
  • one marker has a three-dimensional coordinate
  • Step A4 Determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system.
  • the position and orientation information of the radar in the earth-centered ground-fixed coordinate system can be determined according to these two coordinates.
  • rotation matrix and translation vector then the aforementioned pose information includes the rotation matrix and translation vector.
  • the position and orientation information of the radar in the earth-centered earth-fixed coordinate system can be obtained through optimization based on the three-dimensional point-to-point nonlinear characteristics, specifically by solving the objective function to determine the rotation matrix and translation vector, the aforementioned objective function (or determine The calculation formula of rotation matrix and translation vector) is:
  • R is the aforementioned rotation matrix
  • N is the number of markers;
  • p i is the aforementioned three-dimensional coordinates;
  • p' i is the coordinates of the aforementioned earth-centered, earth-fixed coordinate system ;
  • i is the serial number of the marker.
  • the number of markers is at least three, that is, N is an integer greater than or equal to three.
  • the number of markers can be three, four, five, six, seven or more than eight.
  • the way markers are distributed around the radar can vary. Among them, if the markers are evenly distributed around the radar, and the rotation matrix R and translation vector t change a little, the above objective function will have a large change, then the higher precision rotation matrix R and translation vector t can be solved .
  • Step A5. Calibrate the radar according to the pose information.
  • Step A5 is to calibrate the radar.
  • the radar After determining the pose information of the radar in the earth-centered ground-fixed coordinate system, the radar is calibrated using the pose information.
  • the calibration method provided by this embodiment first acquires the radar point cloud data of N markers, that is, collects data; wherein, N is an integer greater than or equal to three, and each marker is set around the radar. Any three markers are not located on the same straight line; then extract the three-dimensional coordinates of each marker from the radar point cloud data, and obtain the coordinates of the earth-centered ground-fixed coordinate system corresponding to the aforementioned three-dimensional coordinates, that is, extract features; according to the aforementioned three-dimensional Coordinates and the coordinates of the earth-centered earth-fixed coordinate system determine the pose information of the radar in the earth-centered earth-fixed coordinate system, that is, determine the three-dimensional pose; then calibrate the radar according to the pose information, that is, calibrate the radar; it can be seen that this embodiment provides radar
  • the calibration method only needs to complete by collecting data, extracting features, determining the three-dimensional pose and calibrating the radar.
  • the existing visual camera calibration method needs to be completed by collecting data, processing images, extracting and matching
  • this embodiment provides a radar calibration method. Since radar uses electromagnetic waves to detect objects, it is less affected by ambient light, specifically light intensity and weather, and can obtain accurate three-dimensional coordinate information.
  • the location information can be obtained through GPS (Global Positioning System, Global Positioning System), it is affected by the limitation of the number of satellites and multipath interference in some places, such as under some viaducts or next to streets with tall buildings. The accuracy of the information is poor and cannot be used, so it is impossible to attach precise latitude and longitude to the perceived objects.
  • This embodiment uses markers with known precise poses (the poses may include three translations and three rotations) to obtain the pose information of the radar in the earth-centered ground-fixed coordinate system, and use the pose information to perform radar Calibration, after completing the calibration, the radar can attach accurate latitude and longitude to the perceived objects.
  • Fig. 3 is a schematic flowchart of a first modification of the radar calibration method provided in this embodiment.
  • the aforementioned specified equipment such as high-precision GNSS equipment
  • the calibration method further includes step T1.
  • GPS (Global Positioning System, Global Positioning System) equipment was used to collect the global positioning system data of each marker.
  • a GPS device can be placed on the marker, such as placed on the top of the marker, and then the global positioning system data of the marker is collected; after the global positioning system data of a marker is collected, the aforementioned GPS device can be placed on the On the top of another marker, collect the GPS data of the other marker; until the GPS data of each marker is collected. Then, the terminal device obtains the global positioning system data of each marker from the GPS device.
  • step T1 may be to continuously collect the GPS data of each marker until each collection time reaches a preset time.
  • the global positioning system data collected by the GPS device will remain stable. Specifically, the global positioning system data may remain unchanged, so it can be guaranteed that the collected global positioning system data is stable and reliable.
  • the record files corresponding to the global positioning system data of each marker are named according to the order of collection, so as to facilitate the next step of processing.
  • step A3 (obtaining the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates) includes step A31 and step A32.
  • Step A31 extracting the latitude and longitude of each marker from the global positioning system data.
  • the aforementioned feature extraction program is run to extract the latitude and longitude of each marker from the aforementioned global positioning system data.
  • the extracted latitude and longitude may be stored in the aforementioned record file in sequence.
  • Step A32 Determine the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates according to the latitude and longitude.
  • the latitude and longitude can be converted into the coordinates of the earth-centered earth-fixed coordinate system through coordinate system conversion, and then the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates can be obtained.
  • Step P1 Determine the distance between any two markers according to the radar point cloud data to obtain the first distance.
  • Step P2. Determine the distance between any two markers according to the global positioning system data to obtain the second distance.
  • the distance between the two markers can also be calculated according to the GPS data; specifically, the GPS data contains multiple parameters, which can be calculated according to these parameters Find the distance between the two markers to get the second distance.
  • the first distance is obtained based on the radar point cloud data of the two markers, and the second distance is obtained based on the GPS data of the two markers.
  • the radar point cloud data is usually accurate. Therefore, the radar point cloud data Can be used to verify the accuracy of GPS data.
  • the size of the difference can be judged. If the difference indicates that the difference between the first distance and the second distance is small, specifically the difference is smaller than the preset value, it means that the collected global positioning The system data is accurate, and the global positioning system data can be used for subsequent processing; if the difference shows that the first distance and the second distance have a large difference, it can be specifically that the difference is greater than a preset value (at this time the difference meets the preset value). condition), it means that the accuracy of the collected GPS data does not meet the requirements, then re-collect the radar point cloud data and GPS data of each marker, and then repeat the above process until the difference is less than the preset value.
  • the accuracy of the GPS data is verified. If the accuracy of the GPS data does not meet the requirements, re-collect until the accuracy of the GPS data meets the requirements. It can avoid building a platform for collecting GPS data again, and can also obtain accurate GPS data for subsequent processing, thereby improving the accuracy of calibration.
  • the radar calibration method provided by the embodiment of the present application is based on three-dimensional nonlinear feature optimization, and calibration is performed according to the coordinates of three-dimensional coordinate points and the earth-centered earth-fixed coordinate system, which is a pose based on known targets (that is, markers)
  • the calibration method of obtaining the position and orientation information of the radar in the earth-centered ground-fixed coordinate system, the calibration process is simple, the calibration process takes very little time, and the calibration accuracy is high: the test results show that at 50 meters, the position accuracy is 10 cm Within, the angular accuracy is less than 0.15 degrees.
  • FIG. 5 shows a structural block diagram of a radar calibration device provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown.
  • the device includes a point cloud data acquisition module 1A, a three-dimensional coordinate extraction module 2A, an earth-centered ground-fixed coordinate acquisition module 3A, a pose information determination module 4A, and a calibration module 5A.
  • the point cloud data acquisition module 1A is used to: collect radar point cloud data of N markers, where N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line.
  • the three-dimensional coordinate extraction module 2A is configured to: extract the three-dimensional coordinates of each marker from the radar point cloud data.
  • the pose information determination module 4A is configured to: determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the aforementioned three-dimensional coordinates and the aforementioned coordinates of the earth-centered earth-fixed coordinate system.
  • the calibration module 5A calibrates the radar according to the aforementioned pose information.
  • Fig. 6 is a schematic structural diagram of a first modification of the radar calibration device provided in this embodiment.
  • the radar calibration device further includes a positioning data acquisition module 1T.
  • the positioning data acquisition module 1T is specifically configured to: continuously collect the global positioning system data of each marker until each collection time reaches a preset time.
  • FIG. 7 is a schematic structural diagram of the earth-centered earth-fixed coordinate acquisition module 3A provided in this embodiment.
  • the earth-centered earth-fixed coordinate acquisition module 3A includes a data extraction submodule 31A and a coordinate determination submodule 32A.
  • the data extraction sub-module 31A is configured to: extract the latitude and longitude of each marker from the global positioning system data.
  • the coordinate determining sub-module 32A is configured to determine the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates according to the latitude and longitude.
  • Fig. 8 is a schematic structural diagram of a second modification of the radar calibration device provided in this embodiment.
  • the radar calibration device further includes a first distance determination module 1P, a second distance determination module 2P, a difference determination module 3P and a judgment module 4P.
  • the first distance determination module 1P is configured to: determine the distance between any two markers according to the radar point cloud data to obtain the first distance.
  • the second distance determination module 2P is configured to: determine the distance between any two markers according to the global positioning system data to obtain the second distance.
  • the difference determination module 3P is configured to: determine the difference between the first distance and the second distance.
  • the judging module 4P is configured to: re-collect the radar point cloud data and global positioning system data of each marker if the difference satisfies the preset condition.
  • FIG. 9 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 9 of this embodiment includes: at least one processor 90 (only one is shown in Figure 9), a memory 91, and a computer stored in the memory 91 and capable of running on the at least one processor 90 Program 92; when the processor 90 executes the computer program 92, the steps in any of the foregoing method embodiments are implemented.
  • the processor 90 can be a central processing unit (Central Processing Unit, CPU), and the processor 90 can also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the storage 91 may be an internal storage unit of the terminal device 9 in some embodiments, such as a hard disk or memory of the terminal device.
  • the memory 91 may also be an external storage device of the terminal device in other embodiments, such as a plug-in hard disk equipped on the terminal device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash card (Flash Card), etc.
  • the memory 91 may also include both an internal storage unit of the terminal device and an external storage device.
  • the memory 91 is used to store operating systems, application programs, boot loaders (Boot Loader), data, and other programs, such as program codes of computer programs.
  • the memory 91 can also be used to temporarily store data that has been output or will be output.
  • the computer program 92 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 91 and executed by the processor 90 to complete the present application.
  • One or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 92 in the terminal device 9 .
  • the aforementioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the method of the above-mentioned embodiments in the present application can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium; the computer program is processed When executed by the controller, the steps in the above-mentioned various method embodiments can be realized.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • Embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.
  • Embodiments of the present application provide a computer program product, which enables the terminal device to implement the steps in the foregoing method embodiments when the computer program product is run on the terminal device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The present application is applicable to the technical field of radars. Provided are a radar calibration method and apparatus, and a terminal device and a storage medium. The calibration method comprises: acquiring radar point cloud data of N markers, wherein N is an integer greater than or equal to three, the markers are arranged around a radar, and any three of the markers are not located in the same straight line; extracting the three-dimensional coordinates of the markers from the radar point cloud data; acquiring coordinates, which correspond to the three-dimensional coordinates, in an earth-centered earth-fixed coordinate system; determining posture information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates in the earth-centered earth-fixed coordinate system; and calibrating the radar according to the posture information. By means of the embodiments of the present application, a calibration process can be simplified.

Description

雷达的标定方法、装置、终端设备及存储介质Radar calibration method, device, terminal equipment and storage medium 技术领域technical field
本申请属于雷达技术领域,尤其涉及一种雷达的标定方法、装置、终端设备及存储介质。The present application belongs to the technical field of radar, and in particular relates to a radar calibration method, device, terminal equipment and storage medium.
背景技术Background technique
由于无人驾驶技术和通信技术的迅速发展,出现了很多为无人驾驶提供基础设施建设的服务公司。车路协同系统就是目前比较热门的一个项目,由于当前成本比较高,大多安装在某个路口或者特定的路段,作为一个示范工程进行展示。Due to the rapid development of unmanned driving technology and communication technology, many service companies that provide infrastructure construction for unmanned driving have emerged. Vehicle-road coordination system is currently a popular project. Due to the current high cost, it is mostly installed at a certain intersection or a specific road section and displayed as a demonstration project.
车路协同系统需要给感知出来的物体附上精确(一般为厘米级)的经纬度。目前是通过视觉相机来感知物体,进而给感知出来的物体附上经纬度。在使用视觉相机之前,需要对视觉相机进行标定。现有的视觉相机的标定方法需要通过采集数据、处理图像、提取和匹配特征点、确定三维位姿和标定视觉相机来完成,标定所需的步骤较多,导致标定过程复杂。The vehicle-road coordination system needs to attach precise (generally centimeter-level) latitude and longitude to the perceived objects. At present, the object is perceived through the visual camera, and then the longitude and latitude are attached to the perceived object. Before using the vision camera, the vision camera needs to be calibrated. The existing visual camera calibration method needs to be completed by collecting data, processing images, extracting and matching feature points, determining the three-dimensional pose, and calibrating the visual camera. Many steps are required for calibration, which makes the calibration process complicated.
技术问题technical problem
本申请的实施例提供一种雷达的标定方法、装置、终端设备及存储介质,能简化标定过程。Embodiments of the present application provide a radar calibration method, device, terminal equipment, and storage medium, which can simplify the calibration process.
技术解决方案technical solution
第一方面,本申请的实施例提供一种雷达的标定方法,所述标定方法包括:In the first aspect, an embodiment of the present application provides a radar calibration method, the calibration method comprising:
获取N个标志物的雷达点云数据,N为大于等于三的整数,各所述标志物设置于雷达的周围,任意三个所述标志物不位于同一条直线;Obtain radar point cloud data of N markers, N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line;
从所述雷达点云数据提取各所述标志物的三维坐标;extracting the three-dimensional coordinates of each of the markers from the radar point cloud data;
获取与所述三维坐标对应的地心地固坐标系的坐标;Acquiring the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates;
根据所述三维坐标以及所述地心地固坐标系的坐标,确定所述雷达在地心地固坐标系的位姿信息;determining the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system;
根据所述位姿信息标定所述雷达。The radar is calibrated according to the pose information.
在第一方面的一种可能的实现方式中,所述标定方法还包括:In a possible implementation manner of the first aspect, the calibration method further includes:
获取各所述标志物的全球定位系统数据;obtaining global positioning system data for each of said markers;
相应的,所述获取与所述三维坐标对应的地心地固坐标系的坐标,包括:Correspondingly, the acquiring the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates includes:
从所述全球定位系统数据提取各所述标志物的经纬度;extracting the latitude and longitude of each of the markers from the global positioning system data;
根据所述经纬度确定与所述三维坐标对应的地心地固坐标系的坐标。The coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates are determined according to the latitude and longitude.
在第一方面的一种可能的实现方式中,在所述从所述雷达点云数据提取各所述标志物 的三维坐标之前,还包括:In a possible implementation manner of the first aspect, before extracting the three-dimensional coordinates of each marker from the radar point cloud data, the method further includes:
根据所述雷达点云数据确定任意两个所述标志物之间的距离,得到第一距离;determining the distance between any two markers according to the radar point cloud data to obtain a first distance;
根据所述全球定位系统数据确定任意两个所述标志物之间的距离,得到第二距离;determining the distance between any two of the markers according to the global positioning system data to obtain a second distance;
确定所述第一距离与所述第二距离之间的差值;determining a difference between the first distance and the second distance;
若所述差值满足预设条件,则重新获取各所述标志物的雷达点云数据和全球定位系统数据。If the difference satisfies the preset condition, the radar point cloud data and the global positioning system data of each of the markers are reacquired.
在第一方面的一种可能的实现方式中,所述获取各所述标志物的全球定位系统数据,包括:In a possible implementation manner of the first aspect, the acquiring the global positioning system data of each of the markers includes:
持续采集各所述标志物的全球定位系统数据,直至各采集时间达到预设时间。The global positioning system data of each marker is continuously collected until each collection time reaches a preset time.
在第一方面的一种可能的实现方式中,所述确定所述雷达在地心地固坐标系的位姿信息,包括:In a possible implementation manner of the first aspect, the determining the pose information of the radar in the earth-centered earth-fixed coordinate system includes:
确定所述雷达在地心地固坐标系的旋转矩阵和平移向量。Determine the rotation matrix and translation vector of the radar in the earth-centered earth-fixed coordinate system.
在第一方面的一种可能的实现方式中,所述旋转矩阵和所述平移向量的计算公式为:In a possible implementation manner of the first aspect, the calculation formulas of the rotation matrix and the translation vector are:
Figure PCTCN2021115602-appb-000001
Figure PCTCN2021115602-appb-000001
其中,R为所述旋转矩阵,t为所述平移向量,N为所述标志物的数量,p i为所述三维坐标,p′ i为所述地心地固坐标系的坐标。 Wherein, R is the rotation matrix, t is the translation vector, N is the number of markers, p i is the three-dimensional coordinates, and p' i is the coordinates of the earth-centered earth-fixed coordinate system.
在第一方面的一种可能的实现方式中,所述获取N个标志物的雷达点云数据,包括:In a possible implementation of the first aspect, the acquiring the radar point cloud data of N markers includes:
获取N个均匀设置于雷达周围的标志物的雷达点云数据。Obtain the radar point cloud data of N markers uniformly arranged around the radar.
第二方面,本申请的实施例提供一种雷达的标定装置,所述标定装置包括:In the second aspect, an embodiment of the present application provides a radar calibration device, the calibration device includes:
点云数据采集模块,用于获取N个标志物的雷达点云数据,N为大于等于三的整数,各所述标志物设置于雷达的周围,任意三个所述标志物不位于同一条直线;The point cloud data acquisition module is used to obtain radar point cloud data of N markers, N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line ;
三维坐标提取模块,用于:从所述雷达点云数据提取各所述标志物的三维坐标;A three-dimensional coordinate extraction module, configured to: extract the three-dimensional coordinates of each of the markers from the radar point cloud data;
地心地固坐标获取模块,用于:获取与所述三维坐标对应的地心地固坐标系的坐标;An earth-centered, earth-fixed coordinate acquisition module, configured to: acquire coordinates of an earth-centered, earth-fixed coordinate system corresponding to the three-dimensional coordinates;
位姿信息确定模块,用于:根据所述三维坐标以及所述地心地固坐标系的坐标,确定所述雷达在地心地固坐标系的位姿信息;A pose information determining module, configured to: determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system;
标定模块,用于:根据所述位姿信息标定所述雷达。A calibration module, configured to: calibrate the radar according to the pose information.
第三方面,本申请的实施例提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面中任一项所述的方法。In the third aspect, the embodiments of the present application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, The method described in any one of the above-mentioned first aspects is implemented.
第四方面,本申请的实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中任一项所述的方法。In a fourth aspect, the embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any one of the above-mentioned first aspects. Methods.
第五方面,本申请的实施例提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的方法。In a fifth aspect, embodiments of the present application provide a computer program product, which, when the computer program product is run on a terminal device, causes the terminal device to execute the method described in any one of the foregoing first aspects.
有益效果Beneficial effect
本申请的实施例与现有技术相比存在的有益效果是:The beneficial effect that the embodiment of the present application exists compared with prior art is:
本申请的实施例中,先获取N个标志物的雷达点云数据,也即进行采集数据;其中,N为大于等于三的整数,各标志物设置于雷达的周围,任意三个标志物不位于同一条直线;然后从雷达点云数据提取各标志物的三维坐标,以及获取与前述三维坐标对应的地心地固坐标系的坐标,也即进行提取特征;根据前述三维坐标以及地心地固坐标系的坐标,确定雷达在地心地固坐标系的位姿信息,也即确定三维位姿;然后根据位姿信息标定雷达,也即标定雷达;可见,本申请的实施例提供的雷达的标定方法只需通过采集数据、提取特征、确定三维位姿和标定雷达来完成。现有的视觉相机的标定方法则需要通过采集数据、处理图像、提取和匹配特征点、确定三维位姿和标定视觉相机来完成;相比之下,本申请的实施例提供雷达的标定方法更简单,能简化标定过程。In the embodiment of the present application, the radar point cloud data of N markers is obtained first, that is, the data is collected; wherein, N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not Located on the same straight line; then extract the three-dimensional coordinates of each marker from the radar point cloud data, and obtain the coordinates of the earth-centered ground-fixed coordinate system corresponding to the aforementioned three-dimensional coordinates, that is, extract features; according to the aforementioned three-dimensional coordinates and the earth-centered ground-fixed coordinates system coordinates, determine the radar pose information in the earth-centered ground-fixed coordinate system, that is, determine the three-dimensional pose; It only needs to be completed by collecting data, extracting features, determining 3D pose and calibrating radar. The existing visual camera calibration method needs to be completed by collecting data, processing images, extracting and matching feature points, determining the three-dimensional pose and calibrating the visual camera; in contrast, the embodiment of the application provides a radar calibration method that is more Simple, can simplify the calibration process.
本申请的实施例的一些可能的实现方式具有如下有益效果:Some possible implementations of the embodiments of the present application have the following beneficial effects:
在采集完全球定位系统数据之后,就对全球定位系统数据的精度进行验证,如果全球定位系统数据的精度不符合要求则重新进行采集,直至全球定位系统数据的精度符合要求,能避免再次搭建采集全球定位系统数据的平台,也能获取到准确的全球定位系统数据用于后续处理,进而能提高标定的精度。After collecting the complete GPS data, verify the accuracy of the GPS data. If the accuracy of the GPS data does not meet the requirements, re-collect until the accuracy of the GPS data meets the requirements, which can avoid building another collection The GPS data platform can also obtain accurate GPS data for subsequent processing, thereby improving the calibration accuracy.
附图说明Description of drawings
为了更清楚地说明本申请的实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings that need to be used in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only the application. For some embodiments of the present invention, those of ordinary skill in the art can also obtain other drawings based on these drawings on the premise of not paying creative efforts.
图1是本申请一实施例提供的雷达的标定方法的流程示意图;FIG. 1 is a schematic flowchart of a calibration method for radar provided by an embodiment of the present application;
图2是本申请一实施例提供的标志物在雷达周围如何设置的示意图;Fig. 2 is a schematic diagram of how to set markers around the radar provided by an embodiment of the present application;
图3是本申请一实施例提供的雷达的标定方法的第一种变型方式的流程示意图;FIG. 3 is a schematic flowchart of a first modification of the radar calibration method provided by an embodiment of the present application;
图4是本申请一实施例提供的雷达的标定方法的第二种变型方式的流程示意图;FIG. 4 is a schematic flowchart of a second modification of the radar calibration method provided by an embodiment of the present application;
图5是本申请一实施例提供的雷达的标定装置的结构示意图;Fig. 5 is a schematic structural diagram of a radar calibration device provided by an embodiment of the present application;
图6是本申请一实施例提供的雷达的标定装置的第一种变型方式的结构示意图;Fig. 6 is a schematic structural diagram of a first modification of the radar calibration device provided by an embodiment of the present application;
图7是本申请一实施例提供的地心地固坐标获取模块的结构示意图;Fig. 7 is a schematic structural diagram of an earth-centered earth-fixed coordinate acquisition module provided by an embodiment of the present application;
图8是本申请一实施例提供的雷达的标定装置的第二种变型方式的结构示意图;Fig. 8 is a schematic structural diagram of a second modification of the radar calibration device provided by an embodiment of the present application;
图9是本申请一实施例提供的终端设备的结构示意图。FIG. 9 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本申请所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图1至9及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings 1 to 9 and the embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请的实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and techniques are presented for a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and/or collections thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification and appended claims of the present application, the terms "first", "second", "third" and so on are only used to distinguish descriptions, and should not be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference to "one embodiment" or "some embodiments" or the like in the specification of the present application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless specifically stated otherwise.
本申请的实施例提供一种雷达的标定方法,该标定方法用于对雷达进行标定。本实施 例提供的标定方法可以应用于可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、个人数字助理(personal digital assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。Embodiments of the present application provide a radar calibration method, which is used to calibrate the radar. The calibration method provided in this embodiment can be applied to wearable devices, vehicle-mounted devices, augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) equipment, notebook computers, ultra-mobile personal computers (ultra-mobile personal computer, UMPC), personal digital assistant (personal digital assistant, PDA) and other terminal devices, the embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
图1示出本实施例提供的雷达的标定方法的示意性流程图,作为示例而非限定,该方法可以应用于上述终端设备。本实施例提供的标定方法包括步骤A1至步骤A5。FIG. 1 shows a schematic flow chart of a radar calibration method provided in this embodiment. As an example but not a limitation, the method can be applied to the above-mentioned terminal device. The calibration method provided in this embodiment includes step A1 to step A5.
步骤A1、获取N个标志物的雷达点云数据,N为大于等于三的整数,各标志物设置于雷达的周围,任意三个标志物不位于同一条直线。Step A1. Obtain radar point cloud data of N markers, where N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line.
步骤A1为采集数据。Step A1 is collecting data.
图2是本实施例提供的标志物在雷达周围如何设置的示意图。参考图2,在设置有雷达基站(简称为雷达)的空旷区域周围选择N个点,在这N个点放置N个标志物。在一些实施例中,各标志物均匀设置于雷达的周围。其中,前述标志物为涂有特殊材料的标志物。在一些实施例中,前述特殊材料为反射率达到预设阈值的材料,可以是具有高反射率的材料,也即该材料的反射率比周围的物体的反射率高。前述标志物可以是圆柱物体,也可以是平板状物体,或者可以是具有高反射率的平板状物体,本申请不以此为限。前述标志物的数量至少为三个,且需要保证任意三个标志物不在同一条直线上(可称为非直线的排列)。此外,应保证标志物能够被雷达识别到,以便雷达采集各标志物的点云数据;其中,点云密度应当达到设计要求。Fig. 2 is a schematic diagram of how markers provided in this embodiment are arranged around the radar. Referring to FIG. 2 , N points are selected around an open area where radar base stations (referred to as radars) are set, and N markers are placed at these N points. In some embodiments, the markers are uniformly arranged around the radar. Wherein, the aforementioned markers are markers coated with special materials. In some embodiments, the aforementioned special material is a material whose reflectivity reaches a preset threshold, and may be a material with high reflectivity, that is, the reflectivity of the material is higher than that of surrounding objects. The foregoing marker may be a cylindrical object, may also be a flat-shaped object, or may be a flat-shaped object with high reflectivity, and the present application is not limited thereto. The number of the aforementioned markers is at least three, and it is necessary to ensure that any three markers are not on the same straight line (which may be called a non-linear arrangement). In addition, it should be ensured that the markers can be recognized by the radar so that the radar can collect the point cloud data of each marker; among them, the point cloud density should meet the design requirements.
雷达可以是多线束激光雷达,也可以是机械旋转式激光雷达或者固态激光雷达,或者可以是其他可以实现精确测距的雷达,本申请不以此为限。The radar may be a multi-beam laser radar, a mechanical rotating laser radar or a solid-state laser radar, or other radars capable of precise distance measurement, and this application is not limited thereto.
完成放置标志物之后,启动雷达,采集各标志物的点云数据,从而获取到雷达点云数据。After placing the markers, start the radar and collect the point cloud data of each marker to obtain the radar point cloud data.
在其他一些实施例中,各标志物可以不均匀设置于雷达的周围,比如集中设置于雷达的某一边。In some other embodiments, the markers may be arranged unevenly around the radar, such as concentrated on a certain side of the radar.
步骤A2、从雷达点云数据提取各标志物的三维坐标。Step A2, extracting the three-dimensional coordinates of each marker from the radar point cloud data.
步骤A2为提取特征。Step A2 is to extract features.
在获取到雷达点云数据之后,运行特征提取程序,从雷达点云数据提取各标志物的三维坐标。其中,前述三维坐标是标志物在雷达视野中的位置。After the radar point cloud data is obtained, the feature extraction program is run to extract the three-dimensional coordinates of each marker from the radar point cloud data. Wherein, the aforementioned three-dimensional coordinates are the positions of the markers in the radar field of view.
在一些实施例中,一个标志物具有一个三维坐标,那么,N个标志物就对应N个三维坐标,分别记为p i=(x i,y i,z i),i=1,2,...,N。 In some embodiments, one marker has a three-dimensional coordinate, then N markers correspond to N three-dimensional coordinates, which are respectively recorded as p i =(xi , y i , z i ), i=1, 2, ..., N.
步骤A3、获取与三维坐标对应的地心地固坐标系的坐标。Step A3, obtaining the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates.
步骤A3也为提取特征。Step A3 is also feature extraction.
在获取到标志物的三维坐标之后,可以根据该三维坐标获取到对应的地心地固坐标系的坐标,具体可以是采用指定设备,比如高精度GNSS(Global Navigation Satellite System,全球导航卫星系统)设备,在前述三维坐标所在的位置进行测量,由该指定设备直接输出对应的地心地固坐标系的坐标,从而获取到对应的地心地固坐标系的坐标。After the three-dimensional coordinates of the landmarks are obtained, the coordinates of the corresponding earth-centered and earth-fixed coordinate system can be obtained according to the three-dimensional coordinates. Specifically, designated equipment can be used, such as high-precision GNSS (Global Navigation Satellite System, Global Navigation Satellite System) equipment , measure at the position where the aforementioned three-dimensional coordinates are located, and the designated device directly outputs the coordinates of the corresponding earth-centered earth-fixed coordinate system, thereby obtaining the corresponding coordinates of the earth-centered earth-fixed coordinate system.
一个三维坐标对应一个地心地固坐标系的坐标,那么,N个三维坐标就对应N个地心地固坐标系的坐标,分别记为p′ i=(x′ i,y′ i,z′ i),i=1,2,...,N。 One three-dimensional coordinate corresponds to the coordinates of one earth-centered earth-fixed coordinate system, then, N three-dimensional coordinates correspond to the coordinates of N earth-centered earth-fixed coordinate systems, respectively recorded as p′ i =(x′ i , y′ i , z′ i ), i=1, 2, . . . , N.
步骤A4、根据三维坐标以及地心地固坐标系的坐标,确定雷达在地心地固坐标系的位姿信息。Step A4: Determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system.
步骤A4为确定三维位姿。Step A4 is to determine the three-dimensional pose.
在获取到前述三维坐标以及对应的地心地固坐标系的坐标之后,根据这两种坐标就可以确定雷达在地心地固坐标系的位姿信息,具体可以是确定雷达在地心地固坐标系的旋转矩阵和平移向量,那么,前述位姿信息包括旋转矩阵和平移向量。After obtaining the aforementioned three-dimensional coordinates and the corresponding coordinates of the earth-centered ground-fixed coordinate system, the position and orientation information of the radar in the earth-centered ground-fixed coordinate system can be determined according to these two coordinates. rotation matrix and translation vector, then the aforementioned pose information includes the rotation matrix and translation vector.
在一些实施例中,可以根据三维点到点非线性特征优化获得雷达在地心地固坐标系的位姿信息,具体是通过求解目标函数来确定旋转矩阵和平移向量,前述目标函数(或者说确定旋转矩阵和平移向量的计算公式)为:In some embodiments, the position and orientation information of the radar in the earth-centered earth-fixed coordinate system can be obtained through optimization based on the three-dimensional point-to-point nonlinear characteristics, specifically by solving the objective function to determine the rotation matrix and translation vector, the aforementioned objective function (or determine The calculation formula of rotation matrix and translation vector) is:
Figure PCTCN2021115602-appb-000002
Figure PCTCN2021115602-appb-000002
其中,R为前述旋转矩阵;t为前述平移向量,t=(x,y,z);N为标志物的数量;p i为前述三维坐标;p′ i为前述地心地固坐标系的坐标;i为标志物的序号。 Wherein, R is the aforementioned rotation matrix; t is the aforementioned translation vector, t=(x, y, z); N is the number of markers; p i is the aforementioned three-dimensional coordinates; p' i is the coordinates of the aforementioned earth-centered, earth-fixed coordinate system ; i is the serial number of the marker.
为了保证上述目标函数具有唯一解,标志物的数量至少为三个,也即N为大于等于三的整数。标志物的数量可以是三个、四个、五个、六个、七个或者八个以上。In order to ensure that the above objective function has a unique solution, the number of markers is at least three, that is, N is an integer greater than or equal to three. The number of markers can be three, four, five, six, seven or more than eight.
标志物在雷达周围的分布方式可以多样的。其中,如果标志物在雷达周围是均匀分布的,旋转矩阵R和平移向量t变化一点,上述目标函数就会有较大的变化,那么就能求解得较高精度的旋转矩阵R和平移向量t。The way markers are distributed around the radar can vary. Among them, if the markers are evenly distributed around the radar, and the rotation matrix R and translation vector t change a little, the above objective function will have a large change, then the higher precision rotation matrix R and translation vector t can be solved .
步骤A5、根据位姿信息标定雷达。Step A5. Calibrate the radar according to the pose information.
步骤A5为标定雷达。Step A5 is to calibrate the radar.
在确定雷达在地心地固坐标系的位姿信息之后,使用该位姿信息对雷达进行标定。After determining the pose information of the radar in the earth-centered ground-fixed coordinate system, the radar is calibrated using the pose information.
完成标定之后,在实际使用中,利用旋转矩阵R和平移向量t,就可以将雷达识别的物体的局部位置坐标(x,y,z)转换成地心地固坐标系中的坐标。进一步可以得到该坐标对 应的经纬度;具体而言,在地心地固坐标系中,坐标与经纬度是对应的,因此,可以根据前述坐标得到对应的经纬度。如此,完成标定的雷达就可以给感知出来的物体附上经纬度。After the calibration is completed, in actual use, using the rotation matrix R and the translation vector t, the local position coordinates (x, y, z) of the object identified by the radar can be converted into coordinates in the earth-centered ground-fixed coordinate system. Further, the latitude and longitude corresponding to the coordinate can be obtained; specifically, in the earth-centered earth-fixed coordinate system, the coordinate corresponds to the latitude and longitude, so the corresponding latitude and longitude can be obtained according to the aforementioned coordinates. In this way, the calibrated radar can attach the latitude and longitude to the perceived objects.
根据上述内容可知,本实施例提供的标定方法,先获取N个标志物的雷达点云数据,也即进行采集数据;其中,N为大于等于三的整数,各标志物设置于雷达的周围,任意三个标志物不位于同一条直线;然后从雷达点云数据提取各标志物的三维坐标,以及获取与前述三维坐标对应的地心地固坐标系的坐标,也即进行提取特征;根据前述三维坐标以及地心地固坐标系的坐标,确定雷达在地心地固坐标系的位姿信息,也即确定三维位姿;然后根据位姿信息标定雷达,也即标定雷达;可见,本实施例提供雷达的标定方法只需通过采集数据、提取特征、确定三维位姿和标定雷达来完成。现有的视觉相机的标定方法则需要通过采集数据、处理图像、提取和匹配特征点、确定三维位姿和标定视觉相机来完成;相比之下,本实施例提供雷达的标定方法更简单,能简化标定过程。According to the above content, it can be known that the calibration method provided by this embodiment first acquires the radar point cloud data of N markers, that is, collects data; wherein, N is an integer greater than or equal to three, and each marker is set around the radar. Any three markers are not located on the same straight line; then extract the three-dimensional coordinates of each marker from the radar point cloud data, and obtain the coordinates of the earth-centered ground-fixed coordinate system corresponding to the aforementioned three-dimensional coordinates, that is, extract features; according to the aforementioned three-dimensional Coordinates and the coordinates of the earth-centered earth-fixed coordinate system determine the pose information of the radar in the earth-centered earth-fixed coordinate system, that is, determine the three-dimensional pose; then calibrate the radar according to the pose information, that is, calibrate the radar; it can be seen that this embodiment provides radar The calibration method only needs to complete by collecting data, extracting features, determining the three-dimensional pose and calibrating the radar. The existing visual camera calibration method needs to be completed by collecting data, processing images, extracting and matching feature points, determining the three-dimensional pose and calibrating the visual camera; in contrast, the radar calibration method provided in this embodiment is simpler, Can simplify the calibration process.
此外,视觉相机的标定方法需通过视觉成像测量物体的三维位姿,但是视觉成像受环境光照的影响较大,而且很难获得精确的三维坐标信息。相比之下,本实施例提供雷达的标定方法,由于雷达是利用电磁波探测物体,受环境光照的影响较小,具体是受光照强度以及天气的影响比较小,能获得精确的三维坐标信息。In addition, the calibration method of the visual camera needs to measure the three-dimensional pose of the object through visual imaging, but the visual imaging is greatly affected by the ambient light, and it is difficult to obtain accurate three-dimensional coordinate information. In contrast, this embodiment provides a radar calibration method. Since radar uses electromagnetic waves to detect objects, it is less affected by ambient light, specifically light intensity and weather, and can obtain accurate three-dimensional coordinate information.
虽然通过GPS(Global Positioning System,全球定位系统)能获得位置信息,但是在一些地方受搜到卫星数量限制和多径干扰的影响,比如在某些高架桥下面或者高楼林立的街道旁边,获得的位置信息精度较差,不能够使用,也就无法给感知出来的物体附上精确的经纬度。本实施例利用已知精确位姿(该位姿可以包括三个平移量和三个旋转量)的标志物,获得雷达在地心地固坐标系的位姿信息,利用该位姿信息对雷达进行标定,完成标定的雷达后续能给感知出来的物体附上精确的经纬度。Although the location information can be obtained through GPS (Global Positioning System, Global Positioning System), it is affected by the limitation of the number of satellites and multipath interference in some places, such as under some viaducts or next to streets with tall buildings. The accuracy of the information is poor and cannot be used, so it is impossible to attach precise latitude and longitude to the perceived objects. This embodiment uses markers with known precise poses (the poses may include three translations and three rotations) to obtain the pose information of the radar in the earth-centered ground-fixed coordinate system, and use the pose information to perform radar Calibration, after completing the calibration, the radar can attach accurate latitude and longitude to the perceived objects.
图3是本实施例提供的雷达的标定方法的第一种变型方式的流程示意图。前述指定设备(比如高精度GNSS设备)无法直接获取与三维坐标对应的地心地固坐标系的坐标,那么就需要先获取与三维坐标对应的经纬度,然后再根据该经纬度确定地心地固坐标系的坐标。参考图3,在一些实施例中,标定方法还包括步骤T1。Fig. 3 is a schematic flowchart of a first modification of the radar calibration method provided in this embodiment. The aforementioned specified equipment (such as high-precision GNSS equipment) cannot directly obtain the coordinates of the earth-centered ground-fixed coordinate system corresponding to the three-dimensional coordinates, so it is necessary to first obtain the latitude and longitude corresponding to the three-dimensional coordinates, and then determine the coordinates of the earth-centered ground-fixed coordinate system according to the longitude and latitude. coordinate. Referring to Fig. 3, in some embodiments, the calibration method further includes step T1.
步骤T1、获取各标志物的全球定位系统数据。Step T1, acquiring global positioning system data of each marker.
采用GPS(Global Positioning System,全球定位系统)设备采集各标志物的全球定位系统数据。具体可以将一台GPS设备放置于标志物,比如放置于标志物的顶部,然后采集该标志物的全球定位系统数据;完成采集一个标志物的全球定位系统数据之后,可以将前述GPS设备放置于另一标志物的顶部,采集该另一标志物的全球定位系统数据;直至完成采集各标志物的全球定位系统数据。然后,终端设备从GPS设备获取各标志物的全球定位 系统数据。GPS (Global Positioning System, Global Positioning System) equipment was used to collect the global positioning system data of each marker. Specifically, a GPS device can be placed on the marker, such as placed on the top of the marker, and then the global positioning system data of the marker is collected; after the global positioning system data of a marker is collected, the aforementioned GPS device can be placed on the On the top of another marker, collect the GPS data of the other marker; until the GPS data of each marker is collected. Then, the terminal device obtains the global positioning system data of each marker from the GPS device.
在一些实施例中,步骤T1可以是持续采集各标志物的全球定位系统数据,直至各采集时间达到预设时间。In some embodiments, step T1 may be to continuously collect the GPS data of each marker until each collection time reaches a preset time.
具体而言,在将GPS设备放置于各标志物的顶部时,需要保持GPS设备天线的静止和稳定,然后录取数据10秒以上,达到预设时间。在预设时间内,GPS设备采集到的全球定位系统数据会保持稳定,具体可以是全球定位系统数据一直不变,那么就能保证采集到全球定位系统数据是稳定可靠的。Specifically, when placing the GPS device on top of each marker, it is necessary to keep the antenna of the GPS device still and stable, and then record data for more than 10 seconds, reaching the preset time. Within the preset time, the global positioning system data collected by the GPS device will remain stable. Specifically, the global positioning system data may remain unchanged, so it can be guaranteed that the collected global positioning system data is stable and reliable.
在一些实施例中,各标志物的全球定位系统数据对应的记录文件按照采集顺序进行命名,方便下一步处理。In some embodiments, the record files corresponding to the global positioning system data of each marker are named according to the order of collection, so as to facilitate the next step of processing.
参考图3,前述步骤A3(获取与三维坐标对应的地心地固坐标系的坐标),包括步骤A31和步骤A32。Referring to FIG. 3 , the aforementioned step A3 (obtaining the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates) includes step A31 and step A32.
步骤A31、从全球定位系统数据提取各标志物的经纬度。Step A31, extracting the latitude and longitude of each marker from the global positioning system data.
在获取到各标志物的全球定位系统数据之后,运行前述特征提取程序,从前述全球定位系统数据提取各标志物的经纬度。可以将提取到的经纬度按照顺序保存在前述记录文件中。After the global positioning system data of each marker is acquired, the aforementioned feature extraction program is run to extract the latitude and longitude of each marker from the aforementioned global positioning system data. The extracted latitude and longitude may be stored in the aforementioned record file in sequence.
步骤A32、根据经纬度确定与三维坐标对应的地心地固坐标系的坐标。Step A32: Determine the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates according to the latitude and longitude.
在获取到各标志物的经纬度之后,通过坐标系转换,可以将该经纬度转换为地心地固坐标系的坐标,那么就可以获取到与三维坐标对应的地心地固坐标系的坐标。After obtaining the latitude and longitude of each marker, the latitude and longitude can be converted into the coordinates of the earth-centered earth-fixed coordinate system through coordinate system conversion, and then the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates can be obtained.
图4是本实施例提供的雷达的标定方法的第二种变型方式的流程示意图。参考图4,在一些实施例中,在步骤A31(从全球定位系统数据提取各标志物的经纬度)之前,还包括步骤P1至步骤P4。Fig. 4 is a schematic flowchart of a second modification of the radar calibration method provided in this embodiment. Referring to FIG. 4 , in some embodiments, before step A31 (extracting the latitude and longitude of each marker from the global positioning system data), steps P1 to P4 are further included.
步骤P1、根据雷达点云数据确定任意两个标志物之间的距离,得到第一距离。Step P1. Determine the distance between any two markers according to the radar point cloud data to obtain the first distance.
在前述步骤A1获取N个标志物的雷达点云数据之后,可以根据雷达点云数据计算到两个标志物的距离,具体可以是从雷达点云数据提取任意两个标志物的三维坐标,然后根据这两个三维坐标计算对应的两个标志物之间的距离,得到第一距离。After obtaining the radar point cloud data of N markers in the aforementioned step A1, the distance to the two markers can be calculated according to the radar point cloud data, specifically, the three-dimensional coordinates of any two markers can be extracted from the radar point cloud data, and then Calculate the distance between the corresponding two markers according to the two three-dimensional coordinates to obtain the first distance.
步骤P2、根据全球定位系统数据确定任意两个标志物之间的距离,得到第二距离。Step P2. Determine the distance between any two markers according to the global positioning system data to obtain the second distance.
在前述步骤T1获取各标志物的全球定位系统数据之后,根据全球定位系统数据也可以计算出两个标志物之间的距离;具体的,全球定位系统数据包含多个参数,可以根据这些参数计算出两个标志物之间的距离,得到第二距离。After obtaining the GPS data of each marker in the aforementioned step T1, the distance between the two markers can also be calculated according to the GPS data; specifically, the GPS data contains multiple parameters, which can be calculated according to these parameters Find the distance between the two markers to get the second distance.
步骤P3、确定第一距离与第二距离之间的差值。Step P3. Determine the difference between the first distance and the second distance.
在得到第一距离和第二距离之后,计算第一距离与第二距离之间的差值,该差值可以 是绝对值,也可以是实数。After obtaining the first distance and the second distance, calculate the difference between the first distance and the second distance, and the difference can be an absolute value or a real number.
步骤P4、若差值满足预设条件,则重新采集各标志物的雷达点云数据和全球定位系统数据。Step P4, if the difference satisfies the preset condition, re-collect the radar point cloud data and GPS data of each marker.
第一距离是根据两个标志物的雷达点云数据得到的,第二距离则是根据两个标志物的全球定位系统数据得到的,雷达点云数据通常是准确的,因此,雷达点云数据可用于验证全球定位系统数据是否准确。The first distance is obtained based on the radar point cloud data of the two markers, and the second distance is obtained based on the GPS data of the two markers. The radar point cloud data is usually accurate. Therefore, the radar point cloud data Can be used to verify the accuracy of GPS data.
在得到前述差值之后,可以对该差值的大小进行判断,如果该差值表明第一距离与第二距离相差较小,具体可以是差值小于预设值,就表示采集到的全球定位系统数据是准确的,该全球定位系统数据可以用于后续的处理;如果该差值表明第一距离与第二距离相差较大,具体可以是差值大于预设值(此时差值满足预设条件),就表示采集到的全球定位系统数据的精度不满足要求,则重新采集各标志物的雷达点云数据和全球定位系统数据,然后重复上述过程,直至差值小于预设值。After the aforementioned difference is obtained, the size of the difference can be judged. If the difference indicates that the difference between the first distance and the second distance is small, specifically the difference is smaller than the preset value, it means that the collected global positioning The system data is accurate, and the global positioning system data can be used for subsequent processing; if the difference shows that the first distance and the second distance have a large difference, it can be specifically that the difference is greater than a preset value (at this time the difference meets the preset value). condition), it means that the accuracy of the collected GPS data does not meet the requirements, then re-collect the radar point cloud data and GPS data of each marker, and then repeat the above process until the difference is less than the preset value.
根据上述内容可知,在采集完全球定位系统数据之后,就对全球定位系统数据的精度进行验证,如果全球定位系统数据的精度不符合要求则重新进行采集,直至全球定位系统数据的精度符合要求,能避免再次搭建采集全球定位系统数据的平台,也能获取到准确的全球定位系统数据用于后续处理,进而能提高标定的精度。According to the above content, after collecting the complete GPS data, the accuracy of the GPS data is verified. If the accuracy of the GPS data does not meet the requirements, re-collect until the accuracy of the GPS data meets the requirements. It can avoid building a platform for collecting GPS data again, and can also obtain accurate GPS data for subsequent processing, thereby improving the accuracy of calibration.
本申请的实施例提供的雷达的标定方法,基于三维非线性特征优化,根据三维坐标点和地心地固坐标系的坐标进行标定,为一种基于已知目标(也即标志物)的位姿信息获得雷达在地心地固坐标系的位姿信息的标定方法,标定过程简单,标定过程所花费的时间也很少,标定精度较高:测试结果表明,在50米处,位置精度在10厘米以内,角度精度为小于0.15度。The radar calibration method provided by the embodiment of the present application is based on three-dimensional nonlinear feature optimization, and calibration is performed according to the coordinates of three-dimensional coordinate points and the earth-centered earth-fixed coordinate system, which is a pose based on known targets (that is, markers) The calibration method of obtaining the position and orientation information of the radar in the earth-centered ground-fixed coordinate system, the calibration process is simple, the calibration process takes very little time, and the calibration accuracy is high: the test results show that at 50 meters, the position accuracy is 10 cm Within, the angular accuracy is less than 0.15 degrees.
对应于上文实施例所述方法,图5示出本申请的实施例提供的雷达的标定装置的结构框图,为了便于说明,仅示出与本申请实施例相关的部分。Corresponding to the method described in the above embodiment, FIG. 5 shows a structural block diagram of a radar calibration device provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown.
参考图5,该装置包括点云数据采集模块1A、三维坐标提取模块2A、地心地固坐标获取模块3A、位姿信息确定模块4A和标定模块5A。Referring to FIG. 5 , the device includes a point cloud data acquisition module 1A, a three-dimensional coordinate extraction module 2A, an earth-centered ground-fixed coordinate acquisition module 3A, a pose information determination module 4A, and a calibration module 5A.
点云数据采集模块1A,用于:采集N个标志物的雷达点云数据,N为大于等于三的整数,各标志物设置于雷达的周围,任意三个标志物不位于同一条直线。The point cloud data acquisition module 1A is used to: collect radar point cloud data of N markers, where N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line.
三维坐标提取模块2A,用于:从雷达点云数据提取各标志物的三维坐标。The three-dimensional coordinate extraction module 2A is configured to: extract the three-dimensional coordinates of each marker from the radar point cloud data.
地心地固坐标获取模块3A,用于:获取与三维坐标对应的地心地固坐标系的坐标。The earth-centered-ground-fixed coordinate acquiring module 3A is configured to: acquire the coordinates of the earth-centered ground-fixed coordinate system corresponding to the three-dimensional coordinates.
位姿信息确定模块4A,用于:根据前述三维坐标以及前述地心地固坐标系的坐标,确定雷达在地心地固坐标系的位姿信息。The pose information determination module 4A is configured to: determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the aforementioned three-dimensional coordinates and the aforementioned coordinates of the earth-centered earth-fixed coordinate system.
标定模块5A,根据前述位姿信息标定雷达。The calibration module 5A calibrates the radar according to the aforementioned pose information.
图6是本实施例提供的雷达的标定装置的第一种变型方式的结构示意图。参考图6,在一些实施例中,雷达的标定装置还包括定位数据获取模块1T。Fig. 6 is a schematic structural diagram of a first modification of the radar calibration device provided in this embodiment. Referring to FIG. 6 , in some embodiments, the radar calibration device further includes a positioning data acquisition module 1T.
定位数据获取模块1T,用于:获取各标志物的全球定位系统数据。The positioning data acquisition module 1T is configured to: acquire global positioning system data of each marker.
在一些实施例中,定位数据获取模块1T,具体用于:持续采集各标志物的全球定位系统数据,直至各采集时间达到预设时间。In some embodiments, the positioning data acquisition module 1T is specifically configured to: continuously collect the global positioning system data of each marker until each collection time reaches a preset time.
图7是本实施例提供的地心地固坐标获取模块3A的结构示意图。参考图7,,地心地固坐标获取模块3A包括数据提取子模块31A和坐标确定子模块32A。FIG. 7 is a schematic structural diagram of the earth-centered earth-fixed coordinate acquisition module 3A provided in this embodiment. Referring to FIG. 7 , the earth-centered earth-fixed coordinate acquisition module 3A includes a data extraction submodule 31A and a coordinate determination submodule 32A.
数据提取子模块31A,用于:从全球定位系统数据提取各标志物的经纬度。The data extraction sub-module 31A is configured to: extract the latitude and longitude of each marker from the global positioning system data.
坐标确定子模块32A,用于:根据经纬度确定与三维坐标对应的地心地固坐标系的坐标。The coordinate determining sub-module 32A is configured to determine the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates according to the latitude and longitude.
图8是本实施例提供的雷达的标定装置的第二种变型方式的结构示意图。参考图8,在一些实施例中,雷达的标定装置还包括第一距离确定模块1P、第二距离确定模块2P、差值确定模块3P和判断模块4P。Fig. 8 is a schematic structural diagram of a second modification of the radar calibration device provided in this embodiment. Referring to FIG. 8 , in some embodiments, the radar calibration device further includes a first distance determination module 1P, a second distance determination module 2P, a difference determination module 3P and a judgment module 4P.
第一距离确定模块1P,用于:根据雷达点云数据确定任意两个标志物之间的距离,得到第一距离。The first distance determination module 1P is configured to: determine the distance between any two markers according to the radar point cloud data to obtain the first distance.
第二距离确定模块2P,用于:根据全球定位系统数据确定任意两个标志物之间的距离,得到第二距离。The second distance determination module 2P is configured to: determine the distance between any two markers according to the global positioning system data to obtain the second distance.
差值确定模块3P,用于:确定第一距离与第二距离之间的差值。The difference determination module 3P is configured to: determine the difference between the first distance and the second distance.
判断模块4P,用于:若差值满足预设条件,则重新采集各标志物的雷达点云数据和全球定位系统数据。The judging module 4P is configured to: re-collect the radar point cloud data and global positioning system data of each marker if the difference satisfies the preset condition.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of the present application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat them here.
图9为本申请一实施例提供的终端设备的结构示意图。如图9所示,该实施例的终端设备9包括:至少一个处理器90(图9中仅示出一个)、存储器91以及存储在存储器91中并可在至少一个处理器90上运行的计算机程序92;处理器90执行计算机程序92时实现上述任意各个方法实施例中的步骤。FIG. 9 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in Figure 9, the terminal device 9 of this embodiment includes: at least one processor 90 (only one is shown in Figure 9), a memory 91, and a computer stored in the memory 91 and capable of running on the at least one processor 90 Program 92; when the processor 90 executes the computer program 92, the steps in any of the foregoing method embodiments are implemented.
终端设备9可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该终端设备可包括,但不仅限于,处理器90和存储器91。本领域技术人员可以理解,图9仅仅是终端设备的举例,并不构成对终端设备的限定,可以包括比图示更多或更少的部件, 或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备、总线等。The terminal device 9 may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. The terminal device may include, but is not limited to, a processor 90 and a memory 91 . Those skilled in the art can understand that FIG. 9 is only an example of a terminal device, and does not constitute a limitation to the terminal device. It may include more or less components than those shown in the figure, or combine certain components, or different components, such as It may also include input and output devices, network access devices, buses, etc.
处理器90可以是中央处理单元(Central Processing Unit,CPU),该处理器90还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 90 can be a central processing unit (Central Processing Unit, CPU), and the processor 90 can also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
存储器91在一些实施例中可以是终端设备9的内部存储单元,例如终端设备的硬盘或内存。存储器91在另一些实施例中也可以是终端设备的外部存储设备,例如终端设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器91还可以既包括终端设备的内部存储单元也包括外部存储设备。存储器91用于存储操作系统、应用程序、引导装载程序(Boot Loader)、数据以及其他程序等,例如计算机程序的程序代码等。存储器91还可以用于暂时地存储已经输出或者将要输出的数据。The storage 91 may be an internal storage unit of the terminal device 9 in some embodiments, such as a hard disk or memory of the terminal device. The memory 91 may also be an external storage device of the terminal device in other embodiments, such as a plug-in hard disk equipped on the terminal device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash card (Flash Card), etc. Further, the memory 91 may also include both an internal storage unit of the terminal device and an external storage device. The memory 91 is used to store operating systems, application programs, boot loaders (Boot Loader), data, and other programs, such as program codes of computer programs. The memory 91 can also be used to temporarily store data that has been output or will be output.
示例性的,计算机程序92可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器91中,并由处理器90执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序92在终端设备9中的执行过程。Exemplarily, the computer program 92 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 91 and executed by the processor 90 to complete the present application. One or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 92 in the terminal device 9 .
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, reference may be made to the corresponding process in the foregoing method embodiments, and details will not be repeated here.
前述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储 于计算机可读存储介质中;该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质包括:能够将计算机程序代码携带到装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the aforementioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the method of the above-mentioned embodiments in the present application can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium; the computer program is processed When executed by the controller, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. Computer-readable media include: any entity or device capable of carrying computer program code to a device/terminal device, recording media, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media. Such as U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
本申请的实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.
本申请的实施例提供一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备可实现上述各个方法实施例中的步骤。Embodiments of the present application provide a computer program product, which enables the terminal device to implement the steps in the foregoing method embodiments when the computer program product is run on the terminal device.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/device and method can be implemented in other ways. For example, the device/device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or Components may be combined or integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
前述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The foregoing units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含 在本申请的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still implement the foregoing embodiments Modifications to the technical solutions described in the examples, or equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the application, and should be included in the Within the protection scope of this application.

Claims (10)

  1. 一种雷达的标定方法,其特征在于,所述标定方法包括:A radar calibration method, characterized in that the calibration method comprises:
    获取N个标志物的雷达点云数据,N为大于等于三的整数,各所述标志物设置于雷达的周围,任意三个所述标志物不位于同一条直线;Obtain radar point cloud data of N markers, N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located on the same straight line;
    从所述雷达点云数据提取各所述标志物的三维坐标;extracting the three-dimensional coordinates of each of the markers from the radar point cloud data;
    获取与所述三维坐标对应的地心地固坐标系的坐标;Acquiring the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates;
    根据所述三维坐标以及所述地心地固坐标系的坐标,确定所述雷达在地心地固坐标系的位姿信息;determining the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system;
    根据所述位姿信息标定所述雷达。The radar is calibrated according to the pose information.
  2. 如权利要求1所述的标定方法,其特征在于,所述标定方法还包括:The calibration method according to claim 1, further comprising:
    获取各所述标志物的全球定位系统数据;obtaining global positioning system data for each of said markers;
    相应的,所述获取与所述三维坐标对应的地心地固坐标系的坐标,包括:Correspondingly, the acquiring the coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates includes:
    从所述全球定位系统数据提取各所述标志物的经纬度;extracting the latitude and longitude of each of the markers from the global positioning system data;
    根据所述经纬度确定与所述三维坐标对应的地心地固坐标系的坐标。The coordinates of the earth-centered earth-fixed coordinate system corresponding to the three-dimensional coordinates are determined according to the latitude and longitude.
  3. 如权利要求2所述的标定方法,其特征在于,在所述从所述雷达点云数据提取各所述标志物的三维坐标之前,还包括:The calibration method according to claim 2, wherein, before extracting the three-dimensional coordinates of each of the markers from the radar point cloud data, further comprising:
    根据所述雷达点云数据确定任意两个所述标志物之间的距离,得到第一距离;determining the distance between any two markers according to the radar point cloud data to obtain a first distance;
    根据所述全球定位系统数据确定任意两个所述标志物之间的距离,得到第二距离;determining the distance between any two of the markers according to the global positioning system data to obtain a second distance;
    确定所述第一距离与所述第二距离之间的差值;determining a difference between the first distance and the second distance;
    若所述差值满足预设条件,则重新获取各所述标志物的雷达点云数据和全球定位系统数据。If the difference satisfies the preset condition, the radar point cloud data and the global positioning system data of each of the markers are reacquired.
  4. 如权利要求2所述的标定方法,其特征在于,所述获取各所述标志物的全球定位系统数据,包括:The calibration method according to claim 2, wherein said obtaining the global positioning system data of each said marker comprises:
    持续采集各所述标志物的全球定位系统数据,直至各采集时间达到预设时间。The global positioning system data of each marker is continuously collected until each collection time reaches a preset time.
  5. 如权利要求1所述的标定方法,其特征在于,所述确定所述雷达在地心地固坐标系的位姿信息,包括:The calibration method according to claim 1, wherein the determining the pose information of the radar in the earth-centered earth-fixed coordinate system comprises:
    确定所述雷达在地心地固坐标系的旋转矩阵和平移向量。Determine the rotation matrix and translation vector of the radar in the earth-centered earth-fixed coordinate system.
  6. 如权利要求5所述的标定方法,其特征在于,所述旋转矩阵和所述平移向量的计算公式为:The calibration method according to claim 5, wherein the calculation formulas of the rotation matrix and the translation vector are:
    Figure PCTCN2021115602-appb-100001
    Figure PCTCN2021115602-appb-100001
    其中,R为所述旋转矩阵,t为所述平移向量,N为所述标志物的数量,p i为所述三维 坐标,p′ i为所述地心地固坐标系的坐标。 Wherein, R is the rotation matrix, t is the translation vector, N is the number of markers, p i is the three-dimensional coordinates, and p' i is the coordinates of the earth-centered earth-fixed coordinate system.
  7. 如权利要求1至6任一项所述的标定方法,其特征在于,所述获取N个标志物的雷达点云数据,包括:The calibration method according to any one of claims 1 to 6, wherein said acquiring the radar point cloud data of N markers comprises:
    获取N个均匀设置于雷达周围的标志物的雷达点云数据。Obtain the radar point cloud data of N markers uniformly arranged around the radar.
  8. 一种雷达的标定装置,其特征在于,所述标定装置包括:A calibration device for radar, characterized in that the calibration device comprises:
    点云数据采集模块,用于:获取N个标志物的雷达点云数据,N为大于等于三的整数,各所述标志物设置于雷达的周围,任意三个所述标志物不位于同一条直线;The point cloud data acquisition module is used to: obtain radar point cloud data of N markers, N is an integer greater than or equal to three, each marker is set around the radar, and any three markers are not located in the same straight line;
    三维坐标提取模块,用于:从所述雷达点云数据提取各所述标志物的三维坐标;A three-dimensional coordinate extraction module, configured to: extract the three-dimensional coordinates of each of the markers from the radar point cloud data;
    地心地固坐标获取模块,用于:获取与所述三维坐标对应的地心地固坐标系的坐标;An earth-centered, earth-fixed coordinate acquisition module, configured to: acquire coordinates of an earth-centered, earth-fixed coordinate system corresponding to the three-dimensional coordinates;
    位姿信息确定模块,用于:根据所述三维坐标以及所述地心地固坐标系的坐标,确定所述雷达在地心地固坐标系的位姿信息;A pose information determining module, configured to: determine the pose information of the radar in the earth-centered earth-fixed coordinate system according to the three-dimensional coordinates and the coordinates of the earth-centered earth-fixed coordinate system;
    标定模块,用于:根据所述位姿信息标定所述雷达。A calibration module, configured to: calibrate the radar according to the pose information.
  9. 一种终端设备,其特征在于,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的方法。A terminal device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, the computer program according to claims 1 to 1 is implemented. 7. The method described in any one.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
PCT/CN2021/115602 2021-08-31 2021-08-31 Radar calibration method and apparatus, and terminal device and storage medium WO2023028823A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180100014.9A CN117859072A (en) 2021-08-31 2021-08-31 Radar calibration method and device, terminal equipment and storage medium
PCT/CN2021/115602 WO2023028823A1 (en) 2021-08-31 2021-08-31 Radar calibration method and apparatus, and terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/115602 WO2023028823A1 (en) 2021-08-31 2021-08-31 Radar calibration method and apparatus, and terminal device and storage medium

Publications (1)

Publication Number Publication Date
WO2023028823A1 true WO2023028823A1 (en) 2023-03-09

Family

ID=85410681

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115602 WO2023028823A1 (en) 2021-08-31 2021-08-31 Radar calibration method and apparatus, and terminal device and storage medium

Country Status (2)

Country Link
CN (1) CN117859072A (en)
WO (1) WO2023028823A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107796370A (en) * 2016-08-30 2018-03-13 北京四维图新科技股份有限公司 For obtaining the method, apparatus and mobile mapping system of conversion parameter
CN110849363A (en) * 2019-12-03 2020-02-28 深圳市镭神智能系统有限公司 Pose calibration method, system and medium for laser radar and combined inertial navigation
CN111678533A (en) * 2019-03-11 2020-09-18 武汉小狮科技有限公司 Calibration method for inertial navigation equipment and laser radar
CN112034431A (en) * 2020-09-25 2020-12-04 新石器慧拓(北京)科技有限公司 Radar and RTK external reference calibration method and device
CN112684432A (en) * 2019-10-18 2021-04-20 北京万集科技股份有限公司 Laser radar calibration method, device, equipment and storage medium
CN113093130A (en) * 2021-04-15 2021-07-09 武汉理工大学 Radar two-dimensional installation attitude calibration method and system based on global positioning system target

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107796370A (en) * 2016-08-30 2018-03-13 北京四维图新科技股份有限公司 For obtaining the method, apparatus and mobile mapping system of conversion parameter
CN111678533A (en) * 2019-03-11 2020-09-18 武汉小狮科技有限公司 Calibration method for inertial navigation equipment and laser radar
CN112684432A (en) * 2019-10-18 2021-04-20 北京万集科技股份有限公司 Laser radar calibration method, device, equipment and storage medium
CN110849363A (en) * 2019-12-03 2020-02-28 深圳市镭神智能系统有限公司 Pose calibration method, system and medium for laser radar and combined inertial navigation
CN112034431A (en) * 2020-09-25 2020-12-04 新石器慧拓(北京)科技有限公司 Radar and RTK external reference calibration method and device
CN113093130A (en) * 2021-04-15 2021-07-09 武汉理工大学 Radar two-dimensional installation attitude calibration method and system based on global positioning system target

Also Published As

Publication number Publication date
CN117859072A (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN110322500B (en) Optimization method and device for instant positioning and map construction, medium and electronic equipment
CN110927708B (en) Calibration method, device and equipment of intelligent road side unit
CN109521403B (en) Parameter calibration method, device and equipment of multi-line laser radar and readable medium
CN109270545B (en) Positioning true value verification method, device, equipment and storage medium
CN110764111B (en) Conversion method, device, system and medium of radar coordinates and geodetic coordinates
CN111127563A (en) Combined calibration method and device, electronic equipment and storage medium
CN109285188B (en) Method and apparatus for generating position information of target object
CN112667837A (en) Automatic image data labeling method and device
US8817093B2 (en) Photogrammetric networks for positional accuracy
CN110349212B (en) Optimization method and device for instant positioning and map construction, medium and electronic equipment
CN110260857A (en) Calibration method, device and the storage medium of vision map
CN111080682A (en) Point cloud data registration method and device
CN112739983A (en) Method for correcting point cloud data and related device
CN113592951A (en) Method and device for calibrating external parameters of vehicle-road cooperative middle-road side camera and electronic equipment
CN113050022B (en) Image positioning method and device based on rotary antenna and terminal equipment
WO2023028823A1 (en) Radar calibration method and apparatus, and terminal device and storage medium
CN116246029A (en) Data synchronization method, device, terminal equipment and computer readable storage medium
US20210348938A1 (en) Sensor calibration for space translation
CN113112551B (en) Camera parameter determining method and device, road side equipment and cloud control platform
CN114910875A (en) Radar and camera combined calibration method, device and medium
CN110930455B (en) Positioning method, positioning device, terminal equipment and storage medium
CN110634159A (en) Target detection method and device
CN116295466A (en) Map generation method, map generation device, electronic device, storage medium and vehicle
CN110389349B (en) Positioning method and device
CN113763457A (en) Method and device for calibrating drop terrain, electronic equipment and storage medium

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: 21955393

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180100014.9

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE