Radar system angle calibration method, device, equipment and storage medium

文档序号:1555804 发布日期:2020-01-21 浏览:18次 中文

阅读说明:本技术 雷达系统角度标定方法、装置、设备及存储介质 (Radar system angle calibration method, device, equipment and storage medium ) 是由 崔春宽 汪子煜 谢意 王崇阳 何少斌 朱满 于 2019-10-18 设计创作,主要内容包括:本发明属于雷达系统标定技术领域,公开了一种雷达系统角度标定方法、装置、设备及存储介质。该方法包括:对当前道路环境进行检测,在当前道路环境符合预设条件时,通过雷达系统对所述当前道路环境中的多个目标参照物进行角度测量,获得多个测量角度,根据所述多个测量角度计算当前标定角度,将当前标定角度与预设标定角度进行比较,根据比较结果确定雷达系统的标定角度。通过对道路环境进行检测,并实时动态获取测量角度,提高了雷达系统角度标定的准确性与便捷性。(The invention belongs to the technical field of radar system calibration, and discloses a method, a device, equipment and a storage medium for radar system angle calibration. The method comprises the following steps: detecting the current road environment, when the current road environment meets the preset conditions, carrying out angle measurement on a plurality of target reference objects in the current road environment through a radar system to obtain a plurality of measurement angles, calculating the current calibration angle according to the plurality of measurement angles, comparing the current calibration angle with the preset calibration angle, and determining the calibration angle of the radar system according to the comparison result. By detecting the road environment and dynamically acquiring the measurement angle in real time, the accuracy and convenience of angle calibration of the radar system are improved.)

1. A method for calibrating an angle of a radar system is characterized by comprising the following steps:

detecting the current road environment;

when the current road environment meets a preset condition, angle measurement is carried out on a plurality of target reference objects in the current road environment through a radar system, and a plurality of measurement angles are obtained;

calculating a current calibration angle according to the plurality of measurement angles;

comparing the current calibration angle with a preset calibration angle;

and determining the calibration angle of the radar system according to the comparison result.

2. The method for calibrating angles of a radar system according to claim 1, wherein before the step of obtaining a plurality of measurement angles by using the radar system to measure angles of a plurality of target references in the current road environment when the current road environment meets a preset condition, the method further comprises:

and detecting the motion state of the target vehicle in real time, and measuring the angle when the motion state meets the preset state.

3. The method for calibrating angles of a radar system according to claim 2, wherein the step of obtaining a plurality of measurement angles by performing angle measurement on a plurality of target reference objects in the current road environment through the radar system when the current road environment meets a preset condition specifically comprises:

acquiring the current position of the target vehicle in real time;

acquiring the relative positions of the target vehicle and the plurality of target reference objects in real time;

and acquiring a plurality of measuring angles according to the current position and the relative position.

4. The method for calibrating angles of a radar system according to claim 1, wherein the step of calculating the current calibration angle from the plurality of measured angles includes:

acquiring a preset number of measurement angles, and calculating an average calibration angle according to the preset number of measurement angles;

and taking the average calibration angle as the current calibration angle.

5. The method of radar system angle calibration of claim 4, wherein the step of using the average calibration angle as the current calibration angle is followed by further comprising:

acquiring a preset number of average calibration angles, and calculating an angle variance according to the preset number of average calibration angles;

comparing the angle variance with a preset variance threshold, and calculating a target average calibration angle according to the preset number of average calibration angles when the angle variance is less than or equal to the preset variance threshold;

and taking the target average calibration angle as the current calibration angle.

6. The method for calibrating an angle of a radar system according to claim 1, wherein the step of determining the calibration angle of the radar system according to the comparison result includes:

calculating the absolute value of the difference value between the current calibration angle and a preset calibration angle;

when the absolute value of the difference value is smaller than or equal to a first preset threshold value, taking the preset calibration angle as a calibration angle of the radar system;

and when the absolute value of the difference is larger than a first preset threshold value, taking the current calibration angle as the calibration angle of the radar system.

7. The method for calibrating an angle of a radar system according to claim 6, wherein the step of using the current calibration angle as the calibration angle of the radar system when the absolute value of the difference is greater than the first predetermined threshold further comprises:

and when the absolute value of the difference is larger than a second preset threshold, taking the current calibration angle as a calibration angle of the radar system, and feeding back the calibration angle, wherein the second preset threshold is larger than the first preset threshold.

8. An angle calibration apparatus for a radar system, the apparatus comprising:

the detection module is used for detecting the current road environment;

the measuring module is used for measuring the angles of a plurality of target reference objects in the current road environment through a radar system when the current road environment meets a preset condition to obtain a plurality of measuring angles;

the calculation module is used for calculating the current calibration angle according to the plurality of measurement angles;

the comparison module is used for comparing the current calibration angle with a preset calibration angle;

and the calibration module is used for determining the calibration angle of the radar system according to the comparison result.

9. An apparatus for radar system angle calibration, the apparatus comprising: memory, a processor and a radar system angle calibration program stored on the memory and executable on the processor, the radar system angle calibration program being configured to implement the steps of the radar system angle calibration method according to any one of claims 1 to 7.

10. A storage medium having stored thereon a radar system angle calibration program, which when executed by a processor implements the steps of the radar system angle calibration method of any one of claims 1 to 7.

Technical Field

The invention relates to the technical field of radar systems, in particular to a method, a device, equipment and a storage medium for calibrating an angle of a radar system.

Background

The automobile blind area monitoring radar detects distance, direction and speed information of a target vehicle or an obstacle behind an automobile by using microwaves, and active safe driving behind the automobile is realized by using the information. The measurement of the target angle is a decisive influence factor for determining the lane position of the target relative to the vehicle, calculating the longitudinal vehicle speed, further calculating the collision time and the like, and has direct influence on the alarm result, and the measurement accuracy is particularly important. Therefore, the relative position of the millimeter wave radar and the vehicle body needs to be measured accurately, so as to ensure the accuracy of the measurement of the relative position of the target and the functional application. In general, before the automobile is off-line and leaves a factory, a special calibration station is provided to calibrate the installation angle of each radar provided with the blind area monitoring system, so that the normal function of the automobile after leaving the factory is ensured; and the calibration parameters can in principle not be changed any more. However, when a user uses the vehicle, accidents are inevitably caused, the metal plate of the vehicle body is deformed, the position of the radar relative to the vehicle body is changed, or the position of the radar is changed due to the replacement of hardware of the radar, and the millimeter wave radar needs to be calibrated again. The existing calibration radar technology needs to have a specific site and specific equipment to finish the calibration work of the millimeter wave radar, however, the calibration site often has strict construction requirements and higher cost.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention mainly aims to provide a method, a device, equipment and a storage medium for calibrating an angle of a radar system, and aims to solve the technical problems of high construction cost and limitation of a radar calibration site in the prior art.

In order to achieve the above object, the present invention provides a method for calibrating an angle of a radar system, the method comprising the steps of:

detecting the current road environment;

when the current road environment meets a preset condition, angle measurement is carried out on a plurality of target reference objects in the current road environment through a radar system, and a plurality of measurement angles are obtained;

calculating a current calibration angle according to the plurality of measurement angles;

comparing the current calibration angle with a preset calibration angle;

and determining the calibration angle of the radar system according to the comparison result.

Preferably, before the step of measuring angles of the multiple target reference objects in the current road environment by using a radar system when the current road environment meets the preset condition, the method further includes:

and detecting the motion state of the target vehicle in real time, and measuring the angle when the motion state meets the preset state.

Preferably, when the current road environment meets the preset condition, the step of performing angle measurement on the multiple target reference objects in the current road environment through a radar system to obtain multiple measurement angles specifically includes:

acquiring the current position of a target vehicle in real time;

acquiring relative positions of a target vehicle and the plurality of target reference objects in real time;

and acquiring a plurality of measuring angles according to the current position and the relative position.

Preferably, the step of calculating the current calibration angle according to the plurality of measurement angles specifically includes:

acquiring a preset number of measurement angles, and calculating an average calibration angle according to the preset number of measurement angles;

and taking the average calibration angle as the current calibration angle.

Preferably, after the step of using the average calibration angle as the current calibration angle, the method further includes:

acquiring a preset number of average calibration angles, and calculating an angle variance according to the preset number of average calibration angles;

comparing the angle variance with a preset variance threshold, and calculating a target average calibration angle according to the preset number of average calibration angles when the angle variance is less than or equal to the preset variance threshold;

and taking the target average calibration angle as the current calibration angle.

Preferably, the step of determining the calibration angle of the radar system according to the comparison result specifically includes:

calculating the absolute value of the difference value between the current calibration angle and a preset calibration angle;

when the absolute value of the difference value is smaller than or equal to a first preset threshold value, taking the preset calibration angle as a calibration angle of the radar system;

and when the absolute value of the difference is larger than a first preset threshold value, taking the current calibration angle as the calibration angle of the radar system.

Preferably, after the step of using the current calibration angle as the calibration angle of the radar system when the absolute value of the difference is greater than a first preset threshold, the method further includes:

and when the absolute value of the difference is larger than a second preset threshold, taking the current calibration angle as a calibration angle of the radar system, and feeding back the calibration angle, wherein the second preset threshold is larger than the first preset threshold.

In addition, in order to achieve the above object, the present invention further provides an angle calibration apparatus for a radar system, the apparatus comprising:

the detection module is used for detecting the current road environment;

the measuring module is used for measuring the angles of a plurality of target reference objects in the current road environment through a radar system when the current road environment meets a preset condition to obtain a plurality of measuring angles;

the calculation module is used for calculating the current calibration angle according to the plurality of measurement angles;

the comparison module is used for comparing the current calibration angle with a preset calibration angle;

and the calibration module is used for determining the calibration angle of the radar system according to the comparison result.

In addition, in order to achieve the above object, the present invention further provides an angle calibration apparatus for a radar system, the apparatus comprising: a memory, a processor and a radar system angle calibration program stored on the memory and executable on the processor, the radar system angle calibration program being configured to implement the steps of the radar system angle calibration method as described above.

In addition, to achieve the above object, the present invention further provides a storage medium, which stores a radar system angle calibration program, and when the radar system angle calibration program is executed by a processor, the method of calibrating the radar system angle as described above is implemented.

According to the method, the current road environment is detected, when the current road environment meets the preset conditions, the radar system is used for measuring the angles of a plurality of target reference objects in the current road environment to obtain a plurality of measuring angles, the current calibration angle is calculated according to the plurality of measuring angles, the current calibration angle is compared with the preset calibration angle, the calibration angle of the radar system is determined according to the comparison result, the road environment is detected, the measuring angles are dynamically obtained in real time, and the accuracy and convenience of the radar system angle calibration are improved.

Drawings

Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;

FIG. 2 is a schematic flow chart of a first embodiment of an angle calibration method for a radar system according to the present invention;

FIG. 3 is a schematic flow chart of a second embodiment of an angle calibration method for a radar system according to the present invention;

FIG. 4 is a schematic flow chart illustrating a third embodiment of an angle calibration method for a radar system according to the present invention;

FIG. 5 is a schematic flow chart of a fourth embodiment of an angle calibration method for a radar system according to the present invention;

fig. 6 is a block diagram of a first embodiment of an angle calibration apparatus for a radar system according to the present invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Referring to fig. 1, fig. 1 is a schematic structural diagram of a radar system angle calibration device in a hardware operating environment according to an embodiment of the present invention.

As shown in fig. 1, the electronic device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.

Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a radar system angle calibration program.

In the electronic apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention may be disposed in a radar system angle calibration device, and the electronic device calls a radar system angle calibration program stored in the memory 1005 through the processor 1001 and executes the radar system angle calibration method provided in the embodiment of the present invention.

An embodiment of the present invention provides a method for calibrating an angle of a radar system, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the method for calibrating an angle of a radar system according to the present invention.

In this embodiment, the method for calibrating the angle of the radar system includes the following steps:

step S10: detecting the current road environment;

in this embodiment, although the angle calibration of the radar system is dynamic, in an actual situation, not all sites are suitable for the angle calibration of the radar system, and therefore the current road environment where the target vehicle is located needs to be detected, and once the road environment is detected to meet the conditions, the dynamic calibration instruction is automatically triggered, and a user can also be prompted whether to start the dynamic calibration or not, and the dynamic calibration is set according to the actual situation.

Step S20: when the current road environment meets a preset condition, angle measurement is carried out on a plurality of target reference objects in the current road environment through a radar system, and a plurality of measurement angles are obtained;

it should be noted that, the road environment meeting the preset condition may be understood as a road having green belts or guardrails on both sides, that is, a road environment meeting the preset condition, when the road environment meets the condition, angle measurement is performed on a plurality of target reference objects by using a radar system, the target reference objects are measurement reference points on the guardrails on both sides of the road, in an actual situation, since a target vehicle is in a driving state, a plurality of target reference objects may be obtained, and then a plurality of target reference objects are obtained according to the plurality of target reference objects, since the beam frequency of the radar system is fast, a large number of measurement angles may be obtained in a short time, and in order to facilitate measurement, a preset frequency may be set for the obtaining frequency of the measurement angles.

Step S30: calculating a current calibration angle according to the plurality of measurement angles;

step S40: comparing the current calibration angle with a preset calibration angle;

step S50: and determining the calibration angle of the radar system according to the comparison result.

It is easy to understand that after a plurality of measurement angles are obtained within a period of time, the current calibration angle needs to be calculated according to the plurality of measurement angles, in this embodiment, the current calibration angle is obtained by calculating an average value of the plurality of measurement angles, a specific number of measurement angles required for calculating the average value is set according to a situation, all measurement angles in the whole measurement process can be calculated together as the average value, or the measurement angles can be calculated in a segmented average value manner, for example, assuming that 20 measurement angles are obtained now, the current calibration angle can be calculated according to the 20 measurement angles, or the 20 measurement angles can be divided into two groups of 10 measurement angles, and then 2 current calibration angles are calculated, which is not limited in this embodiment.

Further, the calculated current calibration angle is compared with a preset calibration angle, then the calibration angle of the radar system is determined according to the comparison result, and a new calibration angle of the radar system is written into the radar system, the preset calibration angle can be an initial calibration angle of the radar system which is set manually through offline calibration after the target vehicle leaves a factory, and the new calibration angle of the radar system can also be used as the preset calibration angle for next calibration, which is not limited in this embodiment.

According to the method and the device, the current road environment is detected, when the current road environment meets the preset conditions, the radar system is used for carrying out angle measurement on a plurality of target reference objects in the current road environment to obtain a plurality of measurement angles, the current calibration angle is calculated according to the plurality of measurement angles, the current calibration angle is compared with the preset calibration angle, the calibration angle of the radar system is determined according to the comparison result, and the accuracy and the convenience of the angle calibration of the radar system are improved.

Referring to fig. 3, fig. 3 is a schematic flow chart of a method for calibrating an angle of a radar system according to a second embodiment of the present invention.

Based on the first embodiment, before the step S20, the method further includes:

step S201: and detecting the motion state of the target vehicle in real time, and measuring the angle when the motion state meets the preset state.

It is easy to understand that the real-time detection of the motion state of the target vehicle includes the running speed, the running route, the current vehicle condition, and the like of the target vehicle, and the preset state includes that the vehicle speed meets the vehicle speed threshold value when the measurement is performed, and the normal running can be performed when the current vehicle condition is good, and the like.

Further, the step S20 specifically includes:

step S202: acquiring the current position of a target vehicle in real time;

step S203: acquiring relative positions of a target vehicle and the plurality of target reference objects in real time;

step S204: and acquiring a plurality of measuring angles according to the current position and the relative position.

In a specific implementation, the measurement angle is obtained according to a current position and a relative position, the current position is a specific position of the target vehicle in a current road environment, the relative position is a relative position of the target vehicle and a plurality of target reference objects, each target reference object corresponds to one relative position with the target vehicle, and the measurement angle is obtained according to a relative distance between the target vehicle and the target reference objects in the current road environment.

According to the radar system angle calibration method, the motion state of the target vehicle is detected in real time, the current position of the target vehicle and the relative positions of the target vehicle and the target reference objects are obtained in real time, when the motion state meets the preset state, a plurality of measurement angles are obtained according to the current position and the relative positions, and convenience and accuracy of radar system angle calibration are improved.

Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a method for calibrating an angle of a radar system according to a third embodiment of the present invention.

Based on the first embodiment, the step S30 specifically includes:

step S301: acquiring a preset number of measurement angles, and calculating an average calibration angle according to the preset number of measurement angles;

step S302: and taking the average calibration angle as the current calibration angle.

It should be noted that after a plurality of measurement angles are obtained, an average calibration angle is obtained by averaging a preset number of measurement angles, the preset number is set according to an actual situation, and after the average calibration angle is obtained, the average calibration angle is used as a current calibration angle.

Further, after the step S302, the method further includes:

step S3021: acquiring a preset number of average calibration angles, and calculating an angle variance according to the preset number of average calibration angles;

step S3022: comparing the angle variance with a preset variance threshold, and calculating a target average calibration angle according to the preset number of average calibration angles when the angle variance is less than or equal to the preset variance threshold;

step S3023: and taking the target average calibration angle as the current calibration angle.

It is easy to understand that, in an actual measurement process, in order to make the calibration angle more accurate, a preset number of average calibration angles need to be obtained, and angle variance calculation is performed on the preset number of average calibration angles, the calculated angle variance is compared with the preset variance, and when the calculated angle variance is less than or equal to the preset variance, it is indicated that the preset number of average calibration angles are in a stable state.

In the specific implementation, for example, 21 measurement angles are obtained, a primary average calibration angle is calculated according to 7 measurement angles, the calculated 3 average calibration angles are respectively 28 °, 30 °, and 32 °, the angle variance is calculated according to the average calibration angle is 2.66, and if the preset threshold of the angle variance is 3, it is known that the calculated angle variance 2.66 is smaller than the preset threshold, it indicates that the sequence of the average calibration angles is in a stable state, the target average calibration angle is calculated according to the 3 average calibration angles, and the target average calibration angle is taken as the current calibration angle of the radar system, that is, the current calibration angle is 30 °.

In the embodiment, the average calibration angle is calculated through the preset number of measurement angles, the angle variance of the average calibration angle is obtained, when the angle variance is smaller than or equal to the preset variance threshold, the average target calibration angle is calculated according to the preset number of average calibration angles, and the average target calibration angle is used as the current calibration angle of the radar system, so that the accuracy of the angle calibration of the radar system is improved.

Referring to fig. 5, fig. 5 is a schematic flow chart of a method for calibrating an angle of a radar system according to a fourth embodiment of the present invention.

Based on the first embodiment, the step S50 specifically includes:

step S501: calculating the absolute value of the difference value between the current calibration angle and a preset calibration angle;

step S502: when the absolute value of the difference value is smaller than or equal to a first preset threshold value, taking the preset calibration angle as a calibration angle of the radar system;

step S503: and when the absolute value of the difference is larger than a first preset threshold value, taking the current calibration angle as the calibration angle of the radar system.

In this embodiment, a difference absolute value between a current calibration angle of a radar system and a preset calibration angle is calculated, and the calculated difference absolute value is compared with a first preset threshold, so that in an actual measurement process, a certain error may exist in the measurement angle, and therefore, whether the measurement angle error is within an allowable range is determined by performing the difference absolute value and the preset threshold, when the difference absolute value is less than or equal to the first preset threshold, the preset calibration angle is used as the calibration angle of the radar system, when the difference absolute value is greater than the first preset threshold, the current calibration angle is used as the calibration angle of the radar system, and the first preset threshold may be 1.5 ° or 3 °, and the like, which is not limited in this embodiment.

Further, after step S503, the method further includes:

step S5031: and when the absolute value of the difference is larger than a second preset threshold, taking the current calibration angle as a calibration angle of the radar system, and feeding back the calibration angle, wherein the second preset threshold is larger than the first preset threshold.

It should be noted that, in this embodiment, when the absolute value of the difference is greater than the first preset threshold, the difference is subdivided into two stages, where the first stage is that the absolute value of the difference is greater than the first preset threshold and smaller than the second preset threshold, the current calibration angle is used as the calibration angle of the radar system, and the second stage is that the absolute value of the difference is greater than or equal to the second preset threshold, the current calibration angle is simultaneously fed back to the user, and it is prompted that there is a risk in the current calibration accuracy, and specific values of the first preset threshold and the second preset threshold may be set according to actual conditions, as long as the second preset threshold and the first preset threshold are satisfied.

In a specific implementation, for example, for convenience of understanding, it is assumed that an initial calibration angle of the radar system of the target vehicle a is 45 °, a current calibration angle is 44 ° obtained by measurement, an initial calibration angle of the radar system of the target vehicle B is 45 °, a current calibration angle is 43 ° obtained by measurement, an initial calibration angle of the radar system of the target vehicle a is 45 °, a current calibration angle is 40 ° obtained by measurement, absolute difference values calculated according to the initial calibration angle and the current calibration angle of the radar system are 1 °, 2 °, 5 °, a first preset threshold value is 1.5 °, a second preset threshold value is 3 °, and by comparing the absolute difference value with the first preset threshold value and the second preset threshold value, the absolute difference value of the radar system of the target vehicle a is smaller than the first preset threshold value, the absolute difference value of the radar system of the target vehicle B is larger than the first preset threshold value and smaller than the second preset threshold value, and the absolute value of the difference value of the radar system of the target vehicle C is greater than a second preset threshold value, so that the calibration angle of the radar system of the target vehicle A is 45 degrees, the calibration angle of the radar system of the target vehicle B is 43 degrees, the calibration angle of the radar system of the target vehicle C is 40 degrees, and the calibration angle of 40 degrees is fed back.

In this embodiment, the accuracy of angle calibration of the radar system is improved by calculating the absolute value of the difference between the current calibration angle and the preset calibration angle, taking the preset calibration angle as the calibration angle of the radar system when the absolute value of the difference is smaller than or equal to a first preset threshold, and taking the current calibration angle as the calibration angle of the radar system when the absolute value of the difference is larger than the first preset threshold.

The invention further provides a radar system angle calibration device.

Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of an angle calibration apparatus of a radar system according to the present invention.

As shown in fig. 6, the radar system angle calibration apparatus provided in the embodiment of the present invention includes:

the detection module 10 is used for detecting the current road environment;

in this embodiment, although the angle calibration of the radar system is dynamic, in an actual situation, not all sites are suitable for the angle calibration of the radar system, and therefore the current road environment where the target vehicle is located needs to be detected, and once the road environment is detected to meet the conditions, the dynamic calibration instruction is automatically triggered, and a user can also be prompted whether to start the dynamic calibration or not, and the dynamic calibration is set according to the actual situation.

The measuring module 20 is configured to perform angle measurement on a plurality of target reference objects in the current road environment through a radar system when the current road environment meets a preset condition, so as to obtain a plurality of measurement angles;

it should be noted that, the road environment meeting the preset condition may be understood as a road having green belts or guardrails on both sides, that is, a road environment meeting the preset condition, when the road environment meets the condition, angle measurement is performed on a plurality of target reference objects by using a radar system, the target reference objects are measurement reference points on the guardrails on both sides of the road, in an actual situation, since a target vehicle is in a driving state, a plurality of target reference objects may be obtained, and then a plurality of target reference objects are obtained according to the plurality of target reference objects, since the beam frequency of the radar system is fast, a large number of measurement angles may be obtained in a short time, and in order to facilitate measurement, a preset frequency may be set for the obtaining frequency of the measurement angles.

A calculating module 30, configured to calculate a current calibration angle according to the plurality of measurement angles;

a comparison module 40, configured to compare the current calibration angle with a preset calibration angle;

and the calibration module 50 is used for determining the calibration angle of the radar system according to the comparison result.

It is easy to understand that after a plurality of measurement angles are obtained within a period of time, the current calibration angle needs to be calculated according to the plurality of measurement angles, in this embodiment, the current calibration angle is obtained by calculating an average value of the plurality of measurement angles, a specific number of measurement angles required for calculating the average value is set according to a situation, all measurement angles in the whole measurement process can be calculated together as the average value, or the measurement angles can be calculated in a segmented average value manner, for example, assuming that 20 measurement angles are obtained now, the current calibration angle can be calculated according to the 20 measurement angles, or the 20 measurement angles can be divided into two groups of 10 measurement angles, and then 2 current calibration angles are calculated, which is not limited in this embodiment.

Further, the calculated current calibration angle is compared with a preset calibration angle, then the calibration angle of the radar system is determined according to the comparison result, and a new calibration angle of the radar system is written into the radar system, the preset calibration angle can be an initial calibration angle of the radar system which is set manually through offline calibration after the target vehicle leaves a factory, and the new calibration angle of the radar system can also be used as the preset calibration angle for next calibration, which is not limited in this embodiment.

According to the method and the device, the current road environment is detected, when the current road environment meets the preset conditions, the radar system is used for carrying out angle measurement on a plurality of target reference objects in the current road environment to obtain a plurality of measurement angles, the current calibration angle is calculated according to the plurality of measurement angles, the current calibration angle is compared with the preset calibration angle, the calibration angle of the radar system is determined according to the comparison result, and the accuracy and the convenience of the angle calibration of the radar system are improved.

In an embodiment, the vehicle angle measuring device further includes a judging module, configured to detect a motion state of the target vehicle in real time, and measure an angle when the motion state satisfies a preset state.

In an embodiment, the measurement module 20 is further configured to obtain a current position of the target vehicle in real time; acquiring the relative positions of the target vehicle and the plurality of target reference objects in real time; and acquiring a plurality of measuring angles according to the current position and the relative position.

In an embodiment, the calculating module 30 is further configured to obtain a preset number of measurement angles, and calculate an average calibration angle according to the preset number of measurement angles; and taking the average calibration angle as the current calibration angle.

In an embodiment, the calculating module 30 is further configured to obtain a preset number of average calibration angles, and calculate an angle variance according to the preset number of average calibration angles; comparing the angle variance with a preset variance threshold, and calculating a target average calibration angle according to the preset number of average calibration angles when the angle variance is less than or equal to the preset variance threshold; and taking the target average calibration angle as the current calibration angle.

In an embodiment, the calibration module 50 is further configured to calculate an absolute value of a difference between the current calibration angle and a preset calibration angle; when the absolute value of the difference value is smaller than or equal to a first preset threshold value, taking the preset calibration angle as a calibration angle of the radar system; and when the absolute value of the difference is larger than a first preset threshold value, taking the current calibration angle as the calibration angle of the radar system.

In an embodiment, the calibration module 50 is further configured to, when the absolute value of the difference is greater than a second preset threshold, use the current calibration angle as a calibration angle of the radar system, and feed back the calibration angle, where the second preset threshold is greater than the first preset threshold.

Other embodiments or specific implementation methods of the radar system angle calibration device of the present invention may refer to the above method embodiments, and are not described herein again.

In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a radar system angle calibration program, and the radar system angle calibration program, when executed by a processor, implements the steps of the radar system angle calibration method described above.

It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.

Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种用于星载微波辐射计的在轨辐射校正方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!