Laser radar calibration method, device, vehicle and storage medium

By obtaining vehicle status information in lidar and performing self-calibration, the problem of insufficient accuracy of lidar in obtaining external obstacle coordinate information is solved, and the navigation and obstacle avoidance capabilities of autonomous vehicles are improved.

CN114442073BActive Publication Date: 2024-10-11GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210050867.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2024-10-11
Estimated Expiration
2042-01-17

Smart Images

  • Figure CN114442073B_ABST
    Figure CN114442073B_ABST
Patent Text Reader

Abstract

The present application discloses a laser radar calibration method, device, vehicle and storage medium, the method comprising obtaining the state information of the vehicle, the state information comprising the speed of the vehicle and the yaw angular velocity of the vehicle; if the state information meets the first preset condition, the pitch angle and roll angle of the laser radar are calibrated; if the state information meets the second preset condition, the yaw angle of the laser radar is calibrated, and the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition. The method constrains the calibration of the laser radar through the first preset condition and the second preset condition, so that the angle information of the laser radar obtained by measurement is more accurate, and the accuracy of the laser radar calibration can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of laser radar technology, and more specifically, to a laser radar calibration method, device, vehicle and storage medium. Background Art

[0002] At present, LiDAR is a remote sensing method with low cost, good effect and wide application range. It is applied to self-driving cars and has the advantages of high resolution, strong anti-active interference ability, good low-altitude detection performance, light weight and flexibility. To achieve obstacle avoidance and other operations based on LiDAR, LiDAR usually obtains the coordinate data of external obstacles, and obtains the coordinate data of external obstacles in the vehicle coordinate system based on the position of LiDAR in the vehicle coordinate system. At this time, in order to ensure the accuracy of the coordinate information of external obstacles obtained by the vehicle, the accuracy of the position coordinates of external obstacles obtained by LiDAR will be particularly important. Summary of the invention

[0003] In view of the above problems, the present application proposes a laser radar calibration method, device, vehicle and storage medium to achieve self-calibration of the laser radar.

[0004] In a first aspect, an embodiment of the present application provides a laser radar calibration method, the method comprising: obtaining status information of the vehicle, the status information comprising the speed of the vehicle and the yaw angular velocity of the vehicle; if the status information meets a first preset condition, calibrating the pitch angle and the roll angle of the laser radar, the first preset condition being set according to the status information of the vehicle when the measurement accuracy of the pitch angle and the roll angle of the laser radar is greater than a first accuracy rate; if the status information meets a second preset condition, calibrating the yaw angle of the laser radar, the second preset condition being set according to the status information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than a second accuracy rate, the yaw angular velocity corresponding to the second preset condition being less than the yaw angular velocity corresponding to the first preset condition.

[0005] In the second aspect, the embodiment of the present application provides a laser radar calibration device, the device comprising: a state acquisition module, a first calibration module and a second calibration module. The state acquisition module is used to acquire the state information of the vehicle, the state information including the speed of the vehicle and the yaw rate of the vehicle; the first calibration module is used to calibrate the pitch angle and roll angle of the laser radar if the state information meets the first preset condition, the first preset condition is set according to the state information of the vehicle when the measurement accuracy of the pitch angle and roll angle of the laser radar is greater than the first accuracy rate; the second calibration module is used to calibrate the yaw angle of the laser radar if the state information meets the second preset condition, the second preset condition is set according to the state information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy rate, and the yaw rate corresponding to the second preset condition is less than the yaw rate corresponding to the first preset condition.

[0006] In a third aspect, an embodiment of the present application provides a vehicle, comprising: a vehicle body, a laser radar, one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the laser radar calibration method provided in the first aspect above.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the laser radar calibration method provided in the first aspect above.

[0008] The solution provided by the present application is to obtain the state information of the vehicle, wherein the state information includes the speed of the vehicle and the yaw rate of the vehicle; if the state information meets the first preset condition, the pitch angle and roll angle of the laser radar are calibrated, and the first preset condition is set according to the state information of the vehicle when the measurement accuracy of the pitch angle and roll angle of the laser radar is greater than the first accuracy rate; if the state information meets the second preset condition, the yaw angle of the laser radar is calibrated, and the second preset condition is set according to the state information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy rate, and the yaw rate corresponding to the second preset condition is less than the yaw rate corresponding to the first preset condition. This method can calibrate the corresponding parameters of the laser radar when the vehicle state meets the corresponding conditions, so that the angle information of the laser radar measured is more accurate, and the accuracy of the laser radar calibration can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A schematic flow chart of a laser radar calibration method provided in one embodiment of the present application is shown.

[0011] Figure 2 A schematic diagram of a laser radar coordinate system and a standard coordinate system in one embodiment of the present application is shown.

[0012] Figure 3 A schematic flow chart of a laser radar calibration method provided in another embodiment of the present application is shown.

[0013] Figure 4 A specific flow chart of step S230 in another embodiment of the present application is shown.

[0014] Figure 5 A specific flow chart of step S232 in another embodiment of the present application is shown.

[0015] Figure 6 A specific flow chart of step S260 in another embodiment of the present application is shown.

[0016] Figure 7 A schematic diagram showing the principle of laser radar acquiring yaw angle in another embodiment of the present application is shown.

[0017] Figure 8 A schematic diagram showing the principle of laser radar acquiring yaw angle in another embodiment of the present application is shown.

[0018] Fig. 9 A schematic diagram of the process of calibrating a laser radar in an embodiment of the present application is shown.

[0019] Fig.10 A structural block diagram of a laser radar calibration device provided in an embodiment of the present application is shown.

[0020] Fig.11 A structural block diagram of a vehicle provided in an embodiment of the present application is shown.

[0021] Fig.12 A structural block diagram of a computer-readable storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0023] Laser Detecting and Ranging (Lidar), or laser detection and ranging, determines the distance by emitting and receiving laser beams, measuring the time difference and phase difference of laser signals, measuring the angle by horizontal rotation scanning, and establishing a two-dimensional polar coordinate system based on these two parameters, and then obtaining three-dimensional height information by obtaining signals at different pitch angles. High-frequency lasers can obtain a large amount (about 1.5 million) of location point information (called point clouds) within one second, and perform three-dimensional modeling based on this information. Lidar is widely used in self-driving cars due to its high resolution, strong anti-active interference capability, good low-altitude detection performance, and light weight and portability.

[0024] The laser radar in the autonomous driving vehicle usually has its position in the vehicle coordinate system fixed when it is installed on the vehicle, that is, the coordinate data of the laser radar in the vehicle coordinate system is fixed. The laser radar obtains point cloud information of the environment and can obtain the coordinate data of the surrounding objects in the laser radar coordinate system. The vehicle processor can convert the coordinate data of the surrounding objects in the vehicle coordinate system based on the coordinate data obtained by the laser radar and the coordinate data of the laser radar itself in the vehicle coordinate system, and then realize the vehicle's obstacle avoidance and other functions based on the coordinate data. Therefore, in order for the vehicle to obtain the correct coordinate data of the surrounding objects, the laser radar needs to be calibrated so that the coordinate data of the surrounding objects in the laser radar coordinate system obtained by it is correct.

[0025] In view of the above problems, the inventors have proposed a laser radar calibration method, device, vehicle and storage medium provided in the embodiments of the present application. The specific laser radar calibration method will be described in detail in the subsequent embodiments.

[0026] The laser radar calibration method provided in the embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0027] See also Figure 1 , Figure 1 A schematic diagram of a laser radar calibration method according to an embodiment of the present application is shown below. Figure 1 The process shown is described in detail, and the laser radar calibration method can specifically include the following steps:

[0028] Step S110: Acquire status information of the vehicle, where the status information includes the speed of the vehicle and the yaw rate of the vehicle.

[0029] In the embodiment of the present application, in order to ensure the accuracy of the laser radar calibration and reduce errors, the vehicle can make the laser radar enter the self-calibration state when the vehicle's driving speed and driving direction meet certain conditions. At this time, the self-calibration of the laser radar based on the acquired vehicle state information will be more accurate. Therefore, the vehicle can obtain the current state information, including the vehicle's driving speed and the vehicle's yaw rate, to determine whether the vehicle meets the conditions for entering the calibration state. Among them, the vehicle can obtain the vehicle's yaw rate through the laser radar to determine whether the vehicle's driving direction is stable; the vehicle also needs to keep the driving speed above a certain value to ensure the accuracy of its laser radar calibration.

[0030] It can be understood that the vehicle's yaw rate is the value obtained by differentiating the yaw angle obtained by the laser radar with respect to time. Using the yaw rate instead of the yaw angle to confirm the vehicle's direction of travel can eliminate the error in the yaw angle caused by the possible bias of the laser radar. The magnitude of the yaw rate can be used to indicate the speed of change in the vehicle's forward direction. If the yaw rate is zero, it can be understood that the vehicle has not changed its direction of travel. Even if the laser radar itself has a bias at this time and the yaw angle measurement result is not zero, as long as the vehicle does not change its direction of travel, the yaw rate is zero.

[0031] Among them, the vehicle's calibration of the laser radar includes the calibration of the three angle information of the laser radar's pitch angle, roll angle and yaw angle, so that the three angles corresponding to the calibrated laser radar coincide with the standard angles, even if the laser radar's own coordinate system coincides with the standard coordinate system. It can be understood that the standard coordinate system is a coordinate system in which there is no deviation at each angle. The vehicle can convert the coordinate information of the external obstacle in the standard coordinate system into the coordinate information of the external obstacle in the vehicle coordinate system, and then perform operations such as obstacle avoidance or navigation based on these coordinate information. The calibrated laser radar can obtain the coordinate information of the objects around the vehicle in the laser radar coordinate system. The vehicle can convert the measured coordinate information into the coordinate information in the vehicle coordinate system based on the position of the laser radar in the vehicle coordinate system, and then perform operations such as obstacle recognition and direction recognition. If there is a deviation between the laser radar's coordinate system and the standard coordinate system, the coordinate information of the surrounding objects recognized by the laser radar does not match the actual coordinate information. There is a great safety hazard when the vehicle navigates or performs operations such as obstacle avoidance based on the wrong coordinate information. Therefore, the vehicle needs to self-calibrate the laser radar when the state information meets the preset conditions to ensure the accuracy of the laser radar.

[0032] In some embodiments, Figure 2As shown, the yaw angle of the laser radar can refer to the angle between the direction of travel of the vehicle in the horizontal plane and the straight line where the X-axis in its laser radar coordinate system is located, that is, the angle between the X-axis in the laser radar coordinate system and the XOZ plane in the vehicle coordinate system. The pitch angle can be the angle between the straight line where the X-axis in the laser radar coordinate system is located and the XOY plane in the vehicle coordinate system. The roll angle can be the angle between the Y-axis in the laser radar coordinate system and the XOY plane in the vehicle coordinate system. If there is no angle deviation in the laser radar, that is, the laser radar coordinate system OX′Y′Z′ coincides with the standard coordinate system OXYZ, then the corresponding yaw angle, pitch angle and roll angle of the laser radar should all be zero. Of course, the definitions of the yaw angle, pitch angle and roll angle of the laser radar can be different, but their meanings represented in the coordinate system should be the same.

[0033] In some implementations, the vehicle can obtain the current vehicle speed by obtaining the wheel speed of the vehicle and calculating it through a built-in formula. The sensor for obtaining the wheel speed may be a Hall sensor.

[0034] Step S120: If the status information meets the first preset condition, the pitch angle and roll angle of the laser radar are calibrated, and the first preset condition is set according to the status information of the vehicle when the measurement accuracy of the pitch angle and roll angle of the laser radar is greater than the first accuracy.

[0035] In an embodiment of the present application, the first preset condition is used to determine whether the current state of the vehicle can meet the conditions for accurately calibrating the roll angle and pitch angle of the laser radar, that is, if the current state information of the vehicle meets the first preset condition, then the accuracy of calibrating it by obtaining the pitch angle and roll angle of the laser radar is high. The limitation of the state information of the vehicle in the first preset condition can be obtained through actual experiments. Specifically, in the experiment, when the measurement accuracy of the pitch angle and roll angle of the laser radar is greater than the first accuracy rate, the state information corresponding to the vehicle at this time can be used as the first preset condition. When it is necessary to calibrate the laser radar of the vehicle, the state information of the vehicle is made to meet the first preset condition, so that the calibration of the pitch angle and roll angle has a higher accuracy. And the first accuracy rate can be set in advance. The higher the first accuracy rate, the more accurate the calibration of the pitch angle and roll angle of the laser radar. Among them, the first preset condition can limit the current driving speed and yaw rate of the vehicle, that is, only when the current driving speed and yaw rate of the vehicle meet the first preset condition, the results of calibrating the pitch angle and roll angle of the laser radar can be accurate. The vehicle can calibrate the pitch angle and roll angle of the laser radar at the same time, that is, the method for the vehicle to obtain the pitch angle and roll angle of the laser radar is the same, and different from the method for the vehicle to obtain the yaw angle of the laser radar. Therefore, if the state information of the vehicle meets the first preset condition, the vehicle can calibrate the laser radar based on the pitch angle and roll angle obtained by the laser radar.

[0036] From the above analysis, we can know that if the laser radar has no bias, that is, the laser radar coordinate system coincides with the standard coordinate system, then the pitch angle and roll angle corresponding to the measured laser radar should be zero. If the pitch angle or roll angle is not zero, the angle information of the laser radar can be compensated based on the measured angle. Please refer to Figure 2 , the standard coordinate system is the OXYZ coordinate system, and the laser radar coordinate system with deviation is the OX′Y′Z′ coordinate system. Assuming that the pitch angle measurement angle of the laser radar is 5°, it means that the laser radar coordinate system does not coincide with the standard coordinate system and there is an angle of 5° between the XOY plane in the laser radar coordinate system and the XOY plane in the standard coordinate system. At this time, the laser radar can be angle compensated to make the XOY plane in the laser radar coordinate system coincide with the XOY plane in the standard coordinate system.

[0037] In some embodiments, the first preset condition may not only limit the vehicle's state information, i.e., the driving speed and yaw rate, but may also limit the vehicle's current environment, including the flatness of the current road section, the distance from the vehicle in front, and the light intensity in the environment, so that the vehicle can more accurately calibrate the laser radar. The vehicle may obtain the brightness information in the environment through the vehicle-mounted sensor, and may also obtain the distance between the vehicle and the vehicle in front through the vehicle-mounted distance sensor, etc.

[0038] Step S130: If the status information meets the second preset condition, the yaw angle of the laser radar is calibrated, and the second preset condition is set according to the status information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy, and the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition.

[0039] In the embodiment of the present application, the second preset condition is used to determine whether the current state of the vehicle meets the condition for calibrating the yaw angle of the laser radar, wherein the restriction on the yaw angle of the vehicle in the second preset condition is more stringent than the restriction on the yaw angle of the vehicle in the first preset condition, that is, the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition. The limitation on the state information of the vehicle in the second preset condition is similar to the first preset condition. Through experiments, when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy, the state information corresponding to the vehicle at this time can be used as the second preset condition. When the vehicle needs to calibrate the laser radar, its state information meets the second preset condition, so that the calibration of the yaw angle can have a higher accuracy. It can be understood that the second accuracy can be preset, and the higher the second accuracy, the more accurate the calibration of the yaw angle of the laser radar. If the state information of the vehicle meets the second preset condition, the vehicle can calibrate it based on the measured yaw angle of the laser radar. It can be understood that if the vehicle's status information meets the second preset condition, then the vehicle's status information must meet the first preset condition. Therefore, the vehicle can not only calibrate the yaw angle of the laser radar, but also the pitch angle and roll angle of the laser radar.

[0040] According to the above analysis, the yaw angle is the angle between the X-axis in the laser radar coordinate system and the YOZ plane in the vehicle coordinate system, wherein the laser radar can use the angle between the vehicle's driving direction and the center axis of the laser radar as its corresponding yaw angle. In actual operation, the laser radar obtains the vehicle's driving direction by obtaining the lane line vector, that is, the laser radar uses the lane line vector as the vehicle's driving direction. It can be understood that this replacement must be performed when the vehicle's driving direction and the lane line direction completely coincide. Therefore, the vehicle can confirm whether the vehicle's driving direction coincides with the lane line vector based on the yaw angular velocity in its status information. The smaller the yaw angular velocity, the smaller the degree of change in the vehicle's driving direction, and the more accurate it is to use the lane line vector as the vehicle's driving direction.

[0041] It can be understood that if the yaw rate of the vehicle is large at a certain moment, it indicates that the vehicle's driving direction has changed at this moment. At this time, if the acquired lane line vector is used as the vehicle's driving direction, it is not only not substitutable, but also there must be an angle between the laser radar centerline and the lane line vector, and this angle is not necessarily caused by the laser radar's bias. If the yaw rate corresponding to the vehicle is very small, the vehicle can be regarded as traveling in a straight line. At this time, the lane line vector is used as the vehicle's driving direction with greater accuracy. At this time, if the yaw angle measured by the laser radar is not zero, then the angle must be caused by the laser radar's own bias. Therefore, when the vehicle's status information meets the second preset condition, the laser radar can be calibrated based on the acquired yaw angle.

[0042] In some embodiments, the vehicle may obtain the average yaw angle of the laser radar within a period of time when its status information meets the second preset condition, and calibrate the laser radar based on the average. Once the vehicle's driving direction deviates at any time within the period, and the distance between the vehicle and the lane line changes, that is, the yaw angular velocity corresponding to the vehicle changes significantly, then the yaw angle data of the laser radar obtained during this period of time is invalid, and the timing of the vehicle status information meeting the second preset condition can be restarted. When the duration of the vehicle status information meeting the second preset condition meets the preset duration, the average yaw angle of the laser radar obtained during the time length can be used as the effective yaw angle, and the vehicle can calibrate the laser radar based on the effective yaw angle.

[0043] The laser radar calibration method provided in the embodiment of the present application obtains state information such as the speed and yaw rate of the vehicle. If the state information meets the first preset condition, the pitch angle and roll angle of the laser radar are calibrated. If the state information meets the second preset condition, the yaw angle of the laser radar is calibrated, wherein the yaw rate in the second preset condition is less than the yaw rate in the first preset condition. When the vehicle state meets the corresponding conditions, the corresponding parameters of the laser radar are calibrated, so that the angle information of the laser radar obtained by measurement is more accurate, and the accuracy of the laser radar calibration can be improved.

[0044] See also Figure 3 , Figure 3 A schematic diagram of a laser radar calibration method according to another embodiment of the present invention is shown below. Figure 3 The process shown is described in detail, and the laser radar calibration method can specifically include the following steps:

[0045] Step S210: Acquire status information of the vehicle, where the status information includes the speed of the vehicle and the yaw rate of the vehicle.

[0046] In the embodiment of the present application, step S210 can refer to the contents of other embodiments and will not be repeated here.

[0047] In some embodiments, before obtaining the status information, the vehicle may also determine the environment in which the vehicle is currently located to confirm whether the surrounding environment is suitable for self-calibration of the laser radar. If the vehicle confirms that the laser radar can be self-calibrated, the vehicle may send a calibration signal to the laser radar to instruct the laser radar to enter the calibration state, wherein the calibration state means that the angle information of the laser radar can be adjusted.

[0048] In some embodiments, the vehicle can obtain relevant information in the environment in which the vehicle is located through a series of sensors to determine whether the laser radar is currently capable of being calibrated. Specifically, the distance to surrounding vehicles can be measured to confirm that the distance remains within an appropriate range; the brightness sensor can also be used to obtain the brightness in the current environment to determine whether it is sufficient to support entering the calibration state. If the surrounding environment information obtained by the vehicle through the sensor meets the preset conditions, the laser radar can automatically enter the calibration state. Thereafter, the vehicle's status information is further used to determine whether the first preset condition and the second preset condition are met, and then the laser radar's various angles of information are calibrated.

[0049] In some embodiments, the vehicle can obtain a calibration signal through an externally connected calibration tool, thereby instructing the laser radar to enter a calibration state, and the calibration tool can send a calibration signal to the vehicle according to the user's operation. At this time, the laser radar can measure the yaw rate of the vehicle, so that the vehicle can determine whether its state information meets the preset conditions.

[0050] Step S220: If the status information meets the first preset condition, obtain the pitch angle and roll angle of the laser radar, and obtain the duration for which the status information meets the first preset condition.

[0051] In the embodiment of the present application, the first preset condition can limit the vehicle's driving speed to a range greater than or equal to 50 kilometers per hour (km / h) to avoid inaccurate measurement of the pitch angle and roll angle of the laser radar due to too low speed; the vehicle's yaw rate can also be limited to a range less than 2 degrees per second (degree / s) to avoid inaccurate measurement of the pitch angle and roll angle of the laser radar due to the vehicle changing the driving direction, wherein the smaller the yaw rate, the more stable the vehicle's driving, and the more accurate the angle information measured. That is, when the vehicle's state information meets the first preset condition, the measurement accuracy of the pitch angle and roll angle of the laser radar at this time is greater than the first accuracy, and the laser radar can be calibrated based on the pitch angle and roll angle measured at this time, and the calibration result will also have greater accuracy.

[0052] Step S230: If the duration is greater than or equal to a first time length, the pitch angle and roll angle of the laser radar are calibrated based on the acquired pitch angle and roll angle, and the first time length is the continuous time length for determining the effectiveness of the pitch angle and roll angle.

[0053] In the embodiment of the present application, the laser radar can obtain several point cloud maps per second, and each point cloud corresponds to the status information of the vehicle, that is, the driving speed and yaw rate of the vehicle. If the vehicle status information corresponding to the point cloud meets the first preset condition, the point cloud is regarded as a valid point cloud. If the vehicle status information corresponding to each point cloud obtained by the laser radar within a period of time meets the first preset condition, the vehicle can regard the time period as a valid time period, determine the pitch angle and roll angle corresponding to the valid time period as valid, and calibrate the laser radar based on the pitch angle and roll angle of the laser radar obtained from the point cloud data within the time period. Therefore, the vehicle can obtain the duration of its status information meeting the first preset condition. If the duration is greater than or equal to the first time length, the vehicle can calibrate the laser radar based on the pitch angle and roll angle of the laser radar obtained during the duration. If the duration of the vehicle status information meeting the first preset condition is greater than or equal to the first time length, it indicates that the driving state of the vehicle is stable at this time, and the pitch angle and roll angle of the laser radar can be calibrated based on the obtained pitch angle and roll angle.

[0054] In some embodiments, the vehicle can obtain multiple sets of laser radar angle information within a continuous period of time. When calibrating the laser radar, these angle information can be screened, or the angle average can be calculated, etc., and the laser radar can be updated based on the finally obtained angle information, which can effectively reduce errors.

[0055] In some embodiments, Figure 4 As shown, in step S230, the pitch angle and roll angle of the laser radar are calibrated, which may include the following steps:

[0056] Step S231: Based on the ground detection algorithm, obtain the ground normal vector.

[0057] In an embodiment of the present application, the method for the laser radar to obtain its pitch angle and roll angle can be obtained by converting the obtained ground normal vector. Among them, based on the ground detection algorithm, that is, ground detection based on plane fitting, the laser radar can obtain the ground normal vector of the road surface that the current vehicle passes through, so as to obtain the pitch angle and roll angle of the laser radar based on the ground normal vector. It can be understood that if there is an angle deviation of the laser radar, that is, there is a deviation between the laser radar coordinate system and the standard coordinate system, then there will also be an angle deviation between the ground normal vector obtained by the laser radar and the actual standard normal vector. The vehicle can obtain the angle deviation to convert it into the pitch angle and roll angle of the laser radar, and then calibrate the laser radar.

[0058] Step S232: Calibrate the pitch angle and roll angle of the laser radar based on the ground normal vector.

[0059] In an embodiment of the present application, after obtaining the ground normal vector, the vehicle can convert the ground normal vector into the pitch angle and roll angle corresponding to the laser radar, and calibrate the laser radar based on the obtained pitch angle and roll angle. It can be understood that if the laser radar itself has a bias, and its pitch angle or roll angle deviates from the standard value, then there must be an angle between the ground normal vector obtained and the normal phase quantity that should actually be obtained. At this time, the vehicle can calibrate the pitch angle and roll angle of the laser radar based on the ground normal vector. Among them, the ground normal vector can only calibrate the pitch angle and roll angle of the laser radar, but cannot calibrate the yaw angle of the laser radar. That is, if the yaw angle of the laser radar is biased, the bias cannot be reflected in the ground normal vector obtained by the laser radar.

[0060] In some embodiments, the vehicle can be normalized by the normal vector (N x , N y , N z ) is regarded as the normal vector in the horizontal plane, that is, the vector (0,0,1), based on the obtained ground normal vector (N x ′,N y ′,N z ′) and the following formula to obtain the pitch angle (pitch) and roll angle (roll) angle data of the laser radar:

[0061] N x ′=sin(pitch(rad))

[0062] N y ′=-sin(roll(rad))×cos(pitch(rad))

[0063] N z ′=cos(roll(rad))×cos(pitch(rad))

[0064] In some embodiments, Figure 5 As shown, in step S232, the pitch angle and roll angle of the laser radar are calibrated based on the ground normal vector, which may include the following steps:

[0065] Step S2321: obtaining the angle between the ground normal vector and the standard normal vector as the first angle, wherein the standard normal vector is the ground normal vector in a preset state, and the preset state is that the ground normal vector is parallel to the horizontal plane normal vector.

[0066] In some embodiments, after obtaining the ground normal vector measured by the laser radar, the vehicle can use the angle between the ground normal vector and the standard normal vector as the first angle. Among them, the standard normal vector is the ground normal vector in a preset state, that is, the normal vector of the ground when the ground is parallel to the horizontal plane, and the standard normal vector can also be understood as a vector parallel to the horizontal plane normal vector. In the coordinate system, the standard normal vector can be the normal vector corresponding to the XOY plane in the standard coordinate system, that is, the vector (0,0,1), and the standard coordinate system is the coordinate system corresponding to the laser radar when there is no bias. Based on the standard normal vector, the vehicle can use the angle between the ground normal vector and the standard normal vector as the first angle to calibrate the angle information of the laser radar based on the first angle. It can be understood that if the laser radar itself is biased, that is, the coordinate system of the laser radar does not coincide with the standard coordinate system, then the first angle obtained by the vehicle is not zero. At this time, the first angle can be converted into the pitch angle and roll angle corresponding to the laser radar to compensate for the pitch angle and roll angle of the laser radar.

[0067] Step S2322: Based on the first angle, calibrate the pitch angle and roll angle of the laser radar.

[0068] In some embodiments, after obtaining the first angle, the vehicle can convert the first angle into the pitch angle and roll angle corresponding to the laser radar. According to the analysis of the above embodiment, the first angle can be converted into the pitch angle between the X-axis in the laser radar coordinate system and the XOY plane in the standard coordinate system, and the roll angle between the Y-axis in the laser radar coordinate system and the XOY plane in the standard coordinate system. If the first angle is not zero, the pitch angle or roll angle corresponding to the laser radar is not zero, that is, there is a deviation in the pitch angle or roll angle corresponding to the laser radar. At this time, the pitch angle and roll angle obtained based on the first angle are the bias angles of the laser radar. Therefore, the vehicle can compensate the laser radar based on the pitch angle and roll angle, so that the ground normal vector in the environment obtained by the compensated laser radar can coincide with the standard normal vector, thereby eliminating the error caused by the laser radar bias.

[0069] Step S240: If the duration is greater than or equal to a second time length, it is determined that the calibration is completed, the second time length is greater than the first time length, and the second time length is a continuous time length for determining that the calibration is valid.

[0070] In an embodiment of the present application, to ensure accurate calibration of the laser radar, the vehicle can calibrate the laser radar based on the acquired pitch angle and roll angle when the duration is greater than or equal to the first time length. The vehicle can also repeat the calibration step after calibrating the pitch angle and roll angle of the laser radar once, that is, repeat the steps of acquiring the pitch angle and roll angle and calibrating the laser radar when the duration is greater than or equal to the first time length, until the total duration is greater than or equal to the second time length. At this time, the calibration of the pitch angle and roll angle of the laser radar can be regarded as a valid calibration. Obviously, the second time length is greater than the first time length. The repeated steps can further improve the accuracy of the laser radar self-calibration, and can effectively avoid errors in any calibration of the pitch angle and roll angle of the laser radar.

[0071] Specifically, each time the laser radar is calibrated, the duration of time that the vehicle's status information meets the first preset condition must be greater than or equal to the first time length. At this time, the vehicle can use the angle information of the laser radar obtained within the first time length as a set of valid data to self-calibrate the laser radar based on this set of valid data. At the same time, the vehicle can obtain multiple sets of valid data, and the duration corresponding to each set of valid data may not be continuous. The vehicle can calibrate the laser radar multiple times based on multiple sets of valid data to reduce errors and improve the accuracy of the laser radar self-calibration. If the total duration corresponding to multiple sets of valid data is greater than the second time length, the vehicle can determine that the calibration of the pitch angle and roll angle of the laser radar is completed.

[0072] Step S250: If the status information meets the second preset condition, obtain the yaw angle of the laser radar, and obtain the duration of the status information meeting the second preset condition.

[0073] In the embodiment of the present application, the second preset condition can limit the vehicle's speed to a range greater than or equal to 50 kilometers per hour (km / h) to avoid inaccurate measurement of the laser radar's yaw angle due to too low a speed; the vehicle's yaw angular velocity can also be limited to a range less than 0.5 degrees per second (degree / s) to avoid inaccurate measurement of the laser radar's yaw angle due to the vehicle changing its driving direction. Among them, the smaller the vehicle's yaw angular velocity, the more stable the vehicle's driving, and the more accurate its measured angle information. That is, when the vehicle's state information meets the second preset condition, the measurement accuracy of the laser radar's yaw angle at this time is greater than the second accuracy, and the laser radar can be calibrated based on the yaw angle measured at this time, and the calibration result will also have greater accuracy.

[0074] Specifically, the laser radar can obtain several point cloud images per second, and the vehicle can determine whether the point cloud is valid based on the status information corresponding to each point cloud, that is, if the status information of the vehicle corresponding to the point cloud meets the second preset condition, the point cloud is taken as a valid point cloud, and the vehicle can obtain the yaw angle of the laser radar based on the continuous valid point cloud to calibrate the laser radar. Therefore, the vehicle can obtain the duration of the status information meeting the second preset condition, that is, when the valid point cloud exceeds a certain number continuously, the yaw angle data of the laser radar is obtained based on the continuous point cloud. For example, if the laser radar can obtain 10 point cloud data per second, and the duration of the vehicle's status information meeting the second preset condition is 6s, the laser radar can obtain 60 consecutive point cloud data within these 6s. Since the status information of the vehicle corresponding to these 60 point clouds all meet the second preset condition, the vehicle can obtain the yaw angle corresponding to the laser radar based on the 60 point clouds. Obviously, the yaw angle of the laser radar obtained at this time is accurate and can reflect the offset degree of the yaw angle of the laser radar. Therefore, the vehicle can calibrate the laser radar based on the obtained yaw angle.

[0075] Step S260: If the duration is greater than or equal to a third time length, the yaw angle of the laser radar is calibrated based on the acquired yaw angle, and the third time length is the continuous time length for determining that the yaw angle is valid.

[0076] In the embodiment of the present application, when the duration of the vehicle status information meeting the second preset condition is greater than or equal to the third duration, the time period can be regarded as a valid time period, and the yaw angle data obtained by the vehicle within the third time length is regarded as valid data, and the yaw angle of the laser radar is calibrated based on the valid data. The valid data of the yaw angle refers to the angle between the vehicle driving direction and the center of the optical axis obtained by the laser radar within the third time length.

[0077] In some embodiments, Figure 6 As shown, the yaw angle of the laser radar is calibrated in step S260, which may include the following steps:

[0078] Step S261: Obtain the angle between the lane line vector and the vehicle's traveling direction vector as the second angle.

[0079] In the embodiment of the present application, the vehicle can use the laser radar to obtain the lane line information during the vehicle driving process, and the lane line is fitted into the lane line by extracting the set or physical features using the least square method. The lane line identified is highly accurate. The laser radar can detect the lane line vector in each frame of the acquired point cloud, such as Figure 7As shown in the figure, from a bird's-eye view, the lane line information obtained by the laser radar in each frame is a black circle. If the laser radar has no bias, the lane line vector is used as the vehicle's driving direction. The detected vehicle's driving direction should be parallel to the center of the laser radar's optical axis, that is, the yaw angle is zero. If the laser radar has a bias, such as Figure 8 As shown, the vehicle's status information at this time meets the second preset condition, indicating that the vehicle's driving direction is the same as the lane line vector, but due to the bias of the laser radar, its optical axis center is not parallel to the vehicle's driving direction, so the optical axis center will form an angle with the detected lane line vector, that is, the angle offset in the figure, which is the offset angle of the laser radar's yaw angle.

[0080] Step S262: Calibrate the yaw angle of the laser radar based on the second angle.

[0081] In the embodiment of the present application, after the vehicle obtains the second angle based on the lane line vector, the yaw angle of the laser radar can be compensated based on the second angle so that the optical axis center of the laser radar is the same as the driving direction of the vehicle. After the offset angle of the laser radar is calibrated, the coordinate data of the external obstacle obtained by the laser radar can be accurately used and then converted into coordinate data in the vehicle coordinate system to realize the vehicle's obstacle avoidance and other functions.

[0082] Step S270: If the duration is greater than or equal to a fourth time length, it is determined that the calibration is completed, the fourth time length is greater than the third time length, and the fourth time length is a continuous time length for determining that the calibration is valid.

[0083] In the embodiment of the present application, as described in the above steps, in order to ensure the accuracy of the calibration of the laser radar yaw angle, the vehicle can calibrate the yaw angle of the laser radar multiple times. Specifically, if the duration of the vehicle's status information meeting the second preset condition is greater than or equal to the third time length, the vehicle can use the yaw angle data of the laser radar obtained within the third time length as a valid data, and calibrate the laser radar based on the valid data, and then obtain multiple valid data, each of which can calibrate the laser radar to improve the accuracy of the laser radar calibration. If the total time length corresponding to the multiple valid data is greater than the fourth time length, the vehicle determines that the calibration of the yaw angle of the laser radar is completed, that is, the fourth time length is the time length for determining the validity of the laser radar yaw angle calibration, and it is obvious that the fourth time length is greater than the third time length corresponding to each valid data.

[0084] Exemplarily, the corresponding relationship between the vehicle status information and the angle to be calibrated of the laser radar is shown in the following table:

[0085] Speed>50 km / h Yaw rate <2 degrees per second Calibrate pitch and roll angles Yaw rate <0.5 degrees per second Yaw angle calibration

[0086] Among them, after the laser radar enters the calibration state, it can be determined whether to calibrate it based on the angle information obtained by the laser radar based on the vehicle's state information, that is, the vehicle's driving speed and the vehicle's yaw angular velocity. If the vehicle's state information meets the first preset condition, that is, the vehicle's speed is greater than 50 kilometers per hour (km / h) and the vehicle's yaw angular velocity is less than 2 degrees per second (degree / s), the vehicle can calibrate the pitch angle and roll angle of the laser radar; if the vehicle's state information meets the second preset condition, that is, the vehicle's speed is greater than 50 kilometers per hour (km / h) and the vehicle's yaw angular velocity is less than 0.5 degrees per second (degree / s), the vehicle can calibrate the yaw angle of the laser radar. At the same time, since the vehicle's state information also meets the first preset condition at this time, the pitch angle and roll angle of the laser radar can also be calibrated.

[0087] In some embodiments, the first time length and the third time length may be the same, 5 seconds, and the second time length and the fourth time length may be the same, 2 minutes. However, since the screening criteria for valid data for calibrating the pitch angle and roll angle of the laser radar are different from those for calibrating the yaw angle of the laser radar, that is, the yaw angular velocity in the vehicle status information corresponding to the valid data for calibrating the yaw angle of the laser radar is smaller, there may be a road section whose corresponding pitch angle and roll angle can be used to calibrate the laser radar, but its corresponding yaw angle cannot be used to calibrate the laser radar.

[0088] It can be understood that in the process of calibrating the laser radar, the same calibration method is used to calibrate the pitch angle and roll angle of the laser radar, and another calibration method is used for the yaw angle of the laser radar. Therefore, in the embodiment of the present application, there is no sequential relationship between the calibration of the pitch angle and roll angle of the laser radar and the calibration of the yaw angle of the laser radar. In some embodiments, the calibration of the pitch angle, roll angle and yaw angle of the laser radar can be performed simultaneously, or the yaw angle of the laser radar can be calibrated first, and then the pitch angle and roll angle of the laser radar are calibrated. There is no limitation here.

[0089] The laser radar calibration method provided in the embodiment of the present application obtains the state information of the vehicle, wherein the state information includes the speed of the vehicle and the yaw rate of the vehicle; if the state information meets the first preset condition and the duration is greater than or equal to the first time length, the pitch angle and roll angle are obtained, and the pitch angle and roll angle of the laser radar are calibrated, and when the duration is greater than or equal to the second time length, the calibration of the pitch angle and roll angle is determined to be completed; if the state information meets the second preset condition and the duration is greater than or equal to the third time length, the yaw angle is obtained, and the yaw angle of the laser radar is calibrated, and when the duration is greater than or equal to the fourth time length, the calibration of the yaw angle is determined to be completed. This method can accurately self-calibrate the laser radar device in the vehicle and improve the robustness of the self-calibration.

[0090] The laser radar calibration method provided in the embodiment of the present application is as follows: Fig. 9 As shown, the overall process can be as follows: the vehicle obtains its own state information, including the vehicle's driving speed and the vehicle's yaw angular velocity, and determines whether the vehicle's state information meets the calibration access conditions. If the vehicle's state information meets the calibration access conditions, the subsequent action of calibrating the laser radar can be performed. If not, the step of obtaining the vehicle's state information is returned until the vehicle's state information meets the calibration access conditions. If the vehicle's state information meets the access conditions, the vehicle can calibrate the pitch angle and roll angle of the laser radar based on the ground detection algorithm, and can also calibrate the yaw angle of the laser radar based on the lane line detection result.

[0091] See also Fig.10 , which shows a structural block diagram of a laser radar calibration device 200 provided in an embodiment of the present application, and the laser radar calibration device 200 includes: a state acquisition module 210, a first calibration module 220 and a second calibration module 230. Among them, the state acquisition module 210 is used to obtain the state information of the vehicle, and the state information includes the speed of the vehicle and the yaw angular velocity of the vehicle; the first calibration module 220 is used to calibrate the pitch angle and roll angle of the laser radar if the state information meets the first preset condition, and the first preset condition is set according to the state information of the vehicle when the measurement accuracy of the pitch angle and roll angle of the laser radar is greater than the first accuracy rate; the second calibration module 230 is used to calibrate the yaw angle of the laser radar if the state information meets the second preset condition, and the second preset condition is set according to the state information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy rate, and the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition.

[0092] As a possible implementation, the first calibration module 220 includes a first duration acquisition unit, a first calibration unit, and a first calibration determination unit. The first duration acquisition unit is used to obtain the pitch angle and roll angle of the laser radar if the state information meets the first preset condition, and obtain the duration of the state information meeting the first preset condition; the first calibration unit is used to calibrate the pitch angle and roll angle of the laser radar based on the acquired pitch angle and roll angle if the duration is greater than or equal to the first time length, and the first time length is the continuous time length for determining the effectiveness of the pitch angle and roll angle; the first calibration determination unit is used to determine that the calibration is completed if the duration is greater than or equal to the second time length, and the second time length is greater than the first time length, and the second time length is the continuous time length for determining the effectiveness of the calibration.

[0093] As a possible implementation, the second calibration module 230 includes a second duration acquisition unit, a second calibration unit, and a second calibration determination unit. The second duration acquisition unit is used to acquire the yaw angle of the laser radar if the state information meets the second preset condition, and acquire the duration of the state information meeting the second preset condition; the second calibration unit is used to calibrate the yaw angle of the laser radar based on the acquired yaw angle if the duration is greater than or equal to a third time length, and the third time length is the continuous time length for determining the validity of the yaw angle; the second calibration determination unit is used to determine that the calibration is completed if the duration is greater than or equal to a fourth time length, and the fourth time length is greater than the third time length, and the fourth time length is the continuous time length for determining the validity of the calibration.

[0094] As a possible implementation, the first preset condition includes a speed greater than or equal to 50 kilometers per hour and a yaw rate less than 2 degrees per second, and the second preset condition includes a speed greater than or equal to 50 kilometers per hour and a yaw rate less than 0.5 degrees per second.

[0095] As a possible implementation, the pitch angle and roll angle of the laser radar are calibrated, including a normal vector acquisition unit and a calibration unit. The normal vector acquisition unit is used to obtain a ground normal vector based on a ground detection algorithm; the calibration unit is used to calibrate the pitch angle and roll angle of the laser radar based on the ground normal vector.

[0096] As a possible implementation, the calibration unit includes a first angle acquisition component and a calibration component. The first angle acquisition component is used to acquire the angle between the ground normal vector and the standard normal vector as the first angle, the standard normal vector is the ground normal vector in a preset state, and the preset state is that the ground normal vector is parallel to the horizontal plane normal vector; the calibration component is used to calibrate the pitch angle and roll angle of the laser radar based on the first angle.

[0097] As a possible implementation, the yaw angle of the laser radar is calibrated, including: a second angle acquisition unit and a third calibration unit. The second angle acquisition unit is used to obtain the angle between the lane line vector and the vehicle's travel direction vector as the second angle; the third calibration unit is used to calibrate the yaw angle of the laser radar based on the second angle.

[0098] As a possible implementation, the laser radar calibration device 200 further includes a signal acquisition module for acquiring the calibration signal, and the calibration signal is used to instruct the laser radar to enter a calibration state.

[0099] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0100] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0101] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0102] In summary, in the laser radar calibration method provided by the present application, the state information of the vehicle is obtained, and the state information includes the speed of the vehicle and the yaw angular velocity of the vehicle; if the state information meets the first preset condition, the pitch angle and roll angle of the laser radar are calibrated; if the state information meets the second preset condition, the yaw angle of the laser radar is calibrated, and the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition. By calibrating the corresponding parameters of the laser radar when the vehicle state meets the corresponding conditions, the angle information of the laser radar measured is made more accurate, which can improve the accuracy of the laser radar calibration.

[0103] Please refer to Fig.11, which shows a structural block diagram of a vehicle 100 provided in an embodiment of the present application. The vehicle 100 in the present application may include one or more of the following components: a vehicle body 110, a laser radar 120, a processor 130, a memory 140, and one or more applications, wherein the laser radar 120, the processor 130, and the memory 140 are installed in the vehicle body 110, the one or more applications may be stored in the memory 130 and configured to be executed by one or more processors 130, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.

[0104] The laser radar 120 may include pulse laser radar and continuous wave laser radar, and may use ultraviolet light, visible light or near infrared light to image objects. The imaged materials may include non-metallic objects, rocks, rain, compounds, aerosols, clouds, and single molecules.

[0105] The processor 130 may include one or more processing cores. The processor 130 uses various interfaces and lines to connect various parts of the entire computer device, and executes various functions of the computer device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 140, and calling data stored in the memory 140. Optionally, the processor 130 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 130 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 130, but may be implemented separately through a communication chip.

[0106] The memory 140 may include a random access memory (RAM) or a read-only memory (ROM). The memory 140 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 140 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created by the computer device during use (such as a phone book, audio and video data, chat record data), etc.

[0107] Please refer to Fig.12 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0108] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.

[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A laser radar calibration method, characterized in that: The method is applied to a vehicle equipped with a laser radar, and the method comprises: Acquiring state information of the vehicle, the state information including the speed of the vehicle and the yaw rate of the vehicle; If the state information meets a first preset condition, the pitch angle and the roll angle of the laser radar are calibrated, and the first preset condition is set according to the state information of the vehicle when the measurement accuracy of the pitch angle and the roll angle of the laser radar is greater than a first accuracy rate; If the status information meets the second preset condition, the yaw angle of the laser radar is calibrated. The second preset condition is set according to the status information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy. The yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition.

2. The method according to claim 1, characterized in that If the state information meets the first preset condition, calibrating the pitch angle and the roll angle of the laser radar includes: If the state information meets the first preset condition, obtain the pitch angle and roll angle of the laser radar, and obtain the duration of the state information meeting the first preset condition; If the duration is greater than or equal to a first time length, the pitch angle and roll angle of the laser radar are calibrated based on the acquired pitch angle and roll angle, and the first time length is a continuous time length for determining that the pitch angle and roll angle are valid; If the duration is greater than or equal to a second time length, it is determined that the calibration is completed, the second time length is greater than the first time length, and the second time length is a continuous time length for determining that the calibration is valid.

3. The method according to claim 1, characterized in that If the state information meets the second preset condition, calibrating the yaw angle of the laser radar, and the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition, including: If the state information meets the second preset condition, obtain the yaw angle of the laser radar, and obtain the duration of time that the state information meets the second preset condition; If the duration is greater than or equal to a third time length, calibrating the yaw angle of the laser radar based on the acquired yaw angle, the third time length being a continuous time length for determining that the yaw angle is valid; If the duration is greater than or equal to a fourth time length, it is determined that the calibration is completed, the fourth time length is greater than the third time length, and the fourth time length is a continuous time length for determining that the calibration is valid.

4. The method according to claim 1, characterized in that: The first preset condition includes: the speed is greater than or equal to 50 kilometers per hour, and the yaw rate is less than 2 degrees per second; The second preset condition includes: the speed is greater than or equal to 50 kilometers per hour, and the yaw angular velocity is less than 0.5 degrees per second.

5. The method according to any one of claims 1 to 4, characterized in that: The calibrating the pitch angle and the roll angle of the laser radar includes: Based on the ground detection algorithm, obtain the ground normal vector; Based on the ground normal vector, the pitch angle and roll angle of the laser radar are calibrated.

6. The method according to claim 5, characterized in that The step of calibrating the pitch angle and the roll angle of the laser radar based on the ground normal vector includes: Obtaining an angle between the ground normal vector and a standard normal vector as a first angle, wherein the standard normal vector is the ground normal vector in a preset state, and the preset state is that the ground normal vector is parallel to the horizontal plane normal vector; Based on the first angle, the pitch angle and roll angle of the laser radar are calibrated.

7. The method according to any one of claims 1 to 4, characterized in that: The calibrating the yaw angle of the laser radar includes: Obtaining the angle between the lane line vector and the vehicle's traveling direction vector as a second angle; Based on the second angle, the yaw angle of the laser radar is calibrated.

8. A laser radar calibration device, characterized in that: The device is applied to a vehicle equipped with a laser radar, and comprises: a state acquisition module, a first calibration module and a second calibration module, wherein: The state acquisition module is used to acquire the state information of the vehicle, wherein the state information includes the speed of the vehicle and the yaw rate of the vehicle; The first calibration module is used to calibrate the pitch angle and the roll angle of the laser radar if the state information meets a first preset condition, and the first preset condition is set according to the state information of the vehicle when the measurement accuracy of the pitch angle and the roll angle of the laser radar is greater than a first accuracy rate; The second calibration module is used to calibrate the yaw angle of the laser radar if the status information meets a second preset condition, the second preset condition is set according to the status information of the vehicle when the measurement accuracy of the yaw angle of the laser radar is greater than the second accuracy, and the yaw angular velocity corresponding to the second preset condition is less than the yaw angular velocity corresponding to the first preset condition.

9. A vehicle, characterized in that: include: Body, LiDAR, one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the method according to any one of claims 1 to 7.