CN115079111A - Zero calibration and compensation method, equipment and storage medium of radar scanning mechanism - Google Patents
Zero calibration and compensation method, equipment and storage medium of radar scanning mechanism Download PDFInfo
- Publication number
- CN115079111A CN115079111A CN202210805528.0A CN202210805528A CN115079111A CN 115079111 A CN115079111 A CN 115079111A CN 202210805528 A CN202210805528 A CN 202210805528A CN 115079111 A CN115079111 A CN 115079111A
- Authority
- CN
- China
- Prior art keywords
- rotation
- rotating mechanism
- target
- rotation mechanism
- zero
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000007246 mechanism Effects 0.000 title claims abstract description 481
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000001514 detection method Methods 0.000 claims abstract description 169
- 230000008569 process Effects 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 22
- 238000009434 installation Methods 0.000 claims description 17
- 241001061225 Arcos Species 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 10
- 230000003068 static effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000011900 installation process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/40—Means for monitoring or calibrating
- G01S7/4004—Means for monitoring or calibrating of parts of a radar system
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar Systems Or Details Thereof (AREA)
Abstract
Description
技术领域technical field
本发明涉及雷达标定技术领域,尤其涉及一种雷达扫描机构的零位标定及补偿方法、设备及存储介质。The invention relates to the technical field of radar calibration, in particular to a zero position calibration and compensation method, device and storage medium of a radar scanning mechanism.
背景技术Background technique
雷达扫描机构的主要工作之一是采集三维空间中障碍物的位置信息,然后通过电磁波探测采集障碍物到测量系统的距离信息。零位误差则是雷达扫描机构标校中的一个重要技术指标。One of the main tasks of the radar scanning mechanism is to collect the position information of obstacles in the three-dimensional space, and then collect the distance information from the obstacles to the measurement system through electromagnetic wave detection. The zero error is an important technical index in the calibration of the radar scanning mechanism.
雷达扫描机构中的旋转机构的零位标校需要借助编码器,而旋转机构的编码器在安装过程中难以保证其零点与该旋转机构的零位完全重合,故装机后需要对雷达扫描机构进行零位标定。The zero position calibration of the rotating mechanism in the radar scanning mechanism requires the help of an encoder, and it is difficult to ensure that the zero point of the encoder of the rotating mechanism is completely coincident with the zero position of the rotating mechanism during the installation process. Therefore, the radar scanning mechanism needs to be calibrated after installation. Zero calibration.
目前,一方面,雷达扫描机构的零位标定通常采用激光跟踪仪,但其成本高昂且标定流程繁杂。另一方面,雷达扫描机构需要探测仓库内物料的高度进而推算出物料的实际库存情况,这就要求雷达扫描机构具备较高的运动精度以避免出现偏差,然而,雷达扫描机构的几何误差是不可避免的,因此如何对雷达扫描机构进行零位标定,且对存在的零位误差进行补偿,成为目前亟需解决的技术问题。At present, on the one hand, the zero position calibration of the radar scanning mechanism usually uses a laser tracker, but its cost is high and the calibration process is complicated. On the other hand, the radar scanning mechanism needs to detect the height of the material in the warehouse and then calculate the actual inventory of the material, which requires the radar scanning mechanism to have high motion accuracy to avoid deviations. However, the geometric error of the radar scanning mechanism is impossible. Therefore, how to calibrate the zero position of the radar scanning mechanism and compensate the existing zero position error has become a technical problem that needs to be solved urgently at present.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种雷达扫描机构的零位标定及补偿方法、设备及存储介质,以解决目前雷达扫描机构的零位标定的过程较复杂的问题。Embodiments of the present invention provide a zero position calibration and compensation method, device and storage medium for a radar scanning mechanism, so as to solve the problem that the current zero position calibration process of the radar scanning mechanism is relatively complicated.
第一方面,本发明实施例提供了一种雷达扫描机构的零位标定及补偿方法,雷达扫描机构包括雷达安装面、第一旋转机构、第二旋转机构以及雷达探测单元,第一旋转机构旋转或摆动装配在雷达安装面,第二旋转机构铰接在第一旋转机构的自由端,雷达探测单元设置于第二旋转机构的自由端,其中第二旋转机构的旋转轴线与第一旋转机构的旋转轴线相互垂直,零位标定及补偿方法包括:In a first aspect, an embodiment of the present invention provides a zero position calibration and compensation method for a radar scanning mechanism. The radar scanning mechanism includes a radar mounting surface, a first rotating mechanism, a second rotating mechanism, and a radar detection unit. The first rotating mechanism rotates. Or swing mounted on the radar installation surface, the second rotating mechanism is hinged on the free end of the first rotating mechanism, the radar detection unit is arranged on the free end of the second rotating mechanism, wherein the rotation axis of the second rotating mechanism and the rotation of the first rotating mechanism The axes are perpendicular to each other, and the zero calibration and compensation methods include:
当对目标旋转机构进行零位标定及补偿时,控制第一旋转机构和第二旋转机构中目标旋转机构以外的旋转机构保持静止,并控制目标旋转机构由初始位置旋转至多个不同位置,记录目标旋转机构在多个不同位置时雷达探测单元与目标标定板之间的探测距离,目标旋转机构为第一旋转机构或第二旋转机构,目标标定板位于雷达探测单元的探测区域内且目标标定板平行或垂直于雷达安装面;When performing zero calibration and compensation on the target rotation mechanism, control the rotation mechanisms other than the target rotation mechanism in the first rotation mechanism and the second rotation mechanism to remain stationary, and control the target rotation mechanism to rotate from the initial position to multiple different positions, and record the target rotation mechanism. The detection distance between the radar detection unit and the target calibration plate when the rotation mechanism is in multiple different positions, the target rotation mechanism is the first rotation mechanism or the second rotation mechanism, the target calibration plate is located in the detection area of the radar detection unit, and the target calibration plate parallel or perpendicular to the radar mounting surface;
根据目标旋转机构在初始位置和实际零位处的探测距离,确定目标旋转机构的零位偏移量,其中实际零位为探测距离最短时目标旋转机构所处的位置;According to the detection distance of the target rotation mechanism at the initial position and the actual zero position, determine the zero position offset of the target rotation mechanism, wherein the actual zero position is the position of the target rotation mechanism when the detection distance is the shortest;
以实际零位为基准,控制目标旋转机构旋转多个预设角度,记录目标旋转机构旋转至多个预设角度处时,雷达探测单元探测到的与目标标定板之间的探测距离;Based on the actual zero position, control the target rotation mechanism to rotate at multiple preset angles, and record the detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism rotates to multiple preset angles;
根据目标旋转机构在实际零位和多个预设角度处的探测距离计算目标旋转机构的多个实际旋转角度,并根据多个预设角度和多个实际旋转角度构建目标旋转机构的补偿模型。The multiple actual rotation angles of the target rotation mechanism are calculated according to the detection distances of the target rotation mechanism at the actual zero position and multiple preset angles, and a compensation model of the target rotation mechanism is constructed according to the multiple preset angles and multiple actual rotation angles.
在一种可能的实现方式中,控制第一旋转机构和第二旋转机构中目标旋转机构以外的旋转机构保持静止,具体为:In a possible implementation manner, controlling the rotation mechanisms other than the target rotation mechanism in the first rotation mechanism and the second rotation mechanism to remain stationary, specifically:
控制第一旋转机构和第二旋转机构中目标旋转机构以外的旋转机构处于第一位置并在第一位置处保持静止,第一位置为相应的旋转机构与目标标定板垂直时的位置。The rotation mechanisms other than the target rotation mechanism in the first rotation mechanism and the second rotation mechanism are controlled to be in a first position and remain stationary at the first position, and the first position is the position when the corresponding rotation mechanism is perpendicular to the target calibration plate.
在一种可能的实现方式中,目标旋转机构的零位偏移量θ0为:In a possible implementation, the zero offset θ 0 of the target rotating mechanism is:
θ0=arcos(r+l0)/(r+l初);θ 0 =arcos(r+l 0 )/(r+ l );
其中,θ0为目标旋转机构的零位偏移量,r为雷达探测单元的转动半径,Among them, θ 0 is the zero offset of the target rotating mechanism, r is the turning radius of the radar detection unit,
l初为目标旋转机构在初始位置时雷达探测单元与目标标定板之间的探测距离,l0为目标旋转机构在实际零位时雷达探测单元与目标标定板之间的探测距离。l is the detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism is in the initial position, and l 0 is the detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism is in the actual zero position.
在一种可能的实现方式中,根据多个预设角度和多个实际旋转角度构建目标旋转机构的补偿模型的步骤包括:In a possible implementation manner, the step of constructing a compensation model of the target rotation mechanism according to multiple preset angles and multiple actual rotation angles includes:
将多个预设角度作为输入、多个实际旋转角度作为输出,进行数据拟合处理,得到表征实际旋转角度与预设角度关系的补偿模型。Using multiple preset angles as inputs and multiple actual rotation angles as outputs, data fitting processing is performed to obtain a compensation model representing the relationship between the actual rotation angle and the preset angle.
在一种可能的实现方式中,将多个预设角度作为输入、多个实际旋转角度作为输出,进行数据拟合处理,具体包括:In a possible implementation manner, multiple preset angles are used as inputs and multiple actual rotation angles are used as outputs to perform data fitting processing, which specifically includes:
根据最小二乘法对多个预设角度、多个实际旋转角度进行数据拟合处理。Perform data fitting processing on multiple preset angles and multiple actual rotation angles according to the least squares method.
在一种可能的实现方式中,实际旋转角度与预设角度关系的补偿模型为:In a possible implementation manner, the compensation model for the relationship between the actual rotation angle and the preset angle is:
θ=a*θx+b;θ=a*θ x +b;
其中,θ为实际旋转角度,θx为预设角度,a和b为进行拟合得到的系数值。Among them, θ is the actual rotation angle, θ x is the preset angle, and a and b are the coefficient values obtained by fitting.
在一种可能的实现方式中,第一旋转机构沿第一旋转机构的旋转轴线180度摆动,第二旋转机构沿第二旋转机构的旋转轴线180度摆动。In a possible implementation manner, the first rotation mechanism swings 180 degrees along the rotation axis of the first rotation mechanism, and the second rotation mechanism swings 180 degrees along the rotation axis of the second rotation mechanism.
在一种可能的实现方式中,第一旋转机构沿第一旋转机构的旋转轴线360度转动,第二旋转机构沿第二旋转机构的旋转轴线180度摆动。In a possible implementation manner, the first rotation mechanism rotates 360 degrees along the rotation axis of the first rotation mechanism, and the second rotation mechanism swings 180 degrees along the rotation axis of the second rotation mechanism.
第二方面,本发明实施例提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上第一方面或第一方面的任一种可能的实现方式所述方法的步骤。In a second aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program The steps of the method described above in the first aspect or any possible implementation manner of the first aspect are implemented.
第三方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上第一方面或第一方面的任一种可能的实现方式所述方法的步骤。In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the first aspect or any of the first aspect above. A possible implementation of the steps of the described method.
本发明实施例与现有技术相比存在的有益效果是:The beneficial effects that the embodiment of the present invention has compared with the prior art are:
本发明在对目标旋转机构进行零位标定及补偿时,首先,通过控制第一旋转机构或第二旋转机构中的一个旋转机构保持静止,控制另一个旋转机构从初始位置旋转至多个不同位置,并记录该旋转机构在多个不同位置时雷达探测单元与目标标定板之间的距离,通过该旋转机构在初始位置和实际零位时的探测距离,从而确定该旋转机构的零位偏移量。然后,控制该旋转机构以实际零位为基准,旋转多个预设角度,并记录该旋转机构旋转至多个预设角度时,雷达探测单元探测到的与目标标定板之间的探测距离,通过该旋转机构在实际零位和多个预设角度处的探测距离计算该旋转机构的多个实际旋转角度,进而确定该旋转机构的补偿模型。从而,通过雷达扫描机构本身的雷达探测单元即可对雷达扫描机构进行零位标定,且通过简单的几何关系即可得到雷达扫描机构的补偿模型。When the present invention performs zero-position calibration and compensation on the target rotating mechanism, firstly, by controlling one of the first rotating mechanism or the second rotating mechanism to remain stationary, and controlling the other rotating mechanism to rotate from the initial position to a plurality of different positions, And record the distance between the radar detection unit and the target calibration plate when the rotating mechanism is in multiple different positions, and determine the zero offset of the rotating mechanism through the detection distance of the rotating mechanism at the initial position and the actual zero position . Then, control the rotating mechanism to rotate multiple preset angles based on the actual zero position, and record the detection distance between the radar detection unit and the target calibration plate when the rotating mechanism rotates to multiple preset angles, and pass The detection distance of the rotation mechanism at the actual zero position and a plurality of preset angles calculates a plurality of actual rotation angles of the rotation mechanism, and then determines the compensation model of the rotation mechanism. Therefore, the zero-position calibration of the radar scanning mechanism can be performed through the radar detection unit of the radar scanning mechanism itself, and the compensation model of the radar scanning mechanism can be obtained through a simple geometric relationship.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明实施例提供的雷达扫描机构的零位标定及补偿方法的流程示意图;1 is a schematic flowchart of a zero-position calibration and compensation method for a radar scanning mechanism provided by an embodiment of the present invention;
图2是本发明实施例提供的一种雷达扫描机构的结构示意图;2 is a schematic structural diagram of a radar scanning mechanism provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种雷达扫描机构的结构示意图;3 is a schematic structural diagram of another radar scanning mechanism provided by an embodiment of the present invention;
图4是本发明实施例提供的图2中的雷达扫描机构安装标定板后对第二旋转机构进行标定的结构示意图;4 is a schematic structural diagram of the second rotating mechanism calibrated after the radar scanning mechanism in FIG. 2 is installed with a calibration plate according to an embodiment of the present invention;
图5是本发明实施例提供的图2中的雷达扫描机构安装标定板后对第一旋转机构进行标定的结构示意图;5 is a schematic structural diagram of calibrating the first rotating mechanism after the radar scanning mechanism in FIG. 2 is installed with a calibration plate according to an embodiment of the present invention;
图6是本发明实施例提供的图4中的雷达扫描机构的第二旋转机构的零位标定示意图;FIG. 6 is a schematic diagram of zero position calibration of the second rotating mechanism of the radar scanning mechanism in FIG. 4 according to an embodiment of the present invention;
图7是本发明实施例提供的图5中的雷达扫描机构的第一旋转机构的零位标定示意图;FIG. 7 is a schematic diagram of zero position calibration of the first rotating mechanism of the radar scanning mechanism in FIG. 5 according to an embodiment of the present invention;
图8是本发明实施例提供的图4中的雷达扫描机构的第二旋转机构的误差补偿示意图;FIG. 8 is a schematic diagram of error compensation of the second rotation mechanism of the radar scanning mechanism in FIG. 4 according to an embodiment of the present invention;
图9是本发明实施例提供的图5中的雷达扫描机构的第一旋转机构的误差补偿示意图;FIG. 9 is a schematic diagram of error compensation of the first rotation mechanism of the radar scanning mechanism in FIG. 5 according to an embodiment of the present invention;
图10是本发明实施例提供的雷达扫描机构的零位标定及补偿装置的结构示意图;10 is a schematic structural diagram of a zero position calibration and compensation device of a radar scanning mechanism provided by an embodiment of the present invention;
图11是本发明实施例提供的电子设备的示意图。FIG. 11 is a schematic diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures and technologies are set forth in order to provide a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图通过具体实施例来进行说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the following descriptions will be given through specific embodiments in conjunction with the accompanying drawings.
正如背景技术中所介绍的,雷达扫描机构中的每个旋转机构的零位都需要借助编码器确定,而编码器在安装过程中难以保证其零点与该旋转机构的零位完全重合,故装机后需要对每个旋转机构进行零位标定。As described in the background art, the zero position of each rotating mechanism in the radar scanning mechanism needs to be determined with the help of an encoder, and it is difficult for the encoder to ensure that its zero point completely coincides with the zero position of the rotating mechanism during the installation process. Afterwards, zero calibration is required for each rotating mechanism.
然而,现有的精度较高的标定方法较复杂,成本较高,而简单的标定方法则会存在人为误差,无法满足客户对雷达扫描机构运动精度较高的需求。However, the existing calibration methods with higher accuracy are more complicated and costly, while the simple calibration methods will have human errors and cannot meet the customer's demand for higher motion accuracy of the radar scanning mechanism.
为了解决现有技术问题,如图1所示,本发明实施例提供了一种雷达扫描机构的零位标定及补偿方法,详述如下:In order to solve the problem of the prior art, as shown in FIG. 1 , an embodiment of the present invention provides a zero-position calibration and compensation method of a radar scanning mechanism, which is described in detail as follows:
其中,本方法中的雷达扫描机构包括旋转或摆动装配在雷达安装面上的第一旋转机构、铰接在第一旋转机构自由端的第二旋转机构,且第二旋转机构的旋转轴线与第一旋转机构的旋转轴线相互垂直,在第二旋转机构的自由端设有一雷达探测单元。第一旋转机构和第二旋转机构转动时,会带动雷达探测单元运动。Wherein, the radar scanning mechanism in this method includes a first rotating mechanism that is assembled on the radar installation surface by rotation or swing, and a second rotating mechanism hinged on the free end of the first rotating mechanism, and the rotation axis of the second rotating mechanism is the same as that of the first rotating mechanism. The rotation axes of the mechanisms are perpendicular to each other, and a radar detection unit is arranged at the free end of the second rotation mechanism. When the first rotating mechanism and the second rotating mechanism rotate, they will drive the radar detection unit to move.
图2为雷达扫描机构一实施例的结构示意图,结合图2,雷达扫描机构包括一个第一旋转机构10,一个第二旋转机构20和雷达探测单元。其中,第一旋转机构10可以沿其旋转轴线360度转动,第二旋转机构20可以沿其旋转轴线180度摆动。第一旋转机构10的旋转端装配在雷达安装面上,第二旋转机构20的一端与第一旋转机构10的自由端铰接,第二旋转机构20的自由端设有雷达探测单元。此处需要说明的是,第二旋转机构20的旋转轴线与第一旋转机构10的旋转轴线在空间上相互垂直。为了后续描述方便,将第一旋转机构10的旋转轴线称为第一轴线11,第二旋转机构20的旋转轴线称为第二轴线21。FIG. 2 is a schematic structural diagram of an embodiment of the radar scanning mechanism. With reference to FIG. 2 , the radar scanning mechanism includes a
当雷达扫描机构工作时,由于第一旋转机构10能够沿第一轴线11进行360度转动,第二旋转机构20能够沿第二轴线21进行180度摆动,使得雷达探测单元能够沿着第一轴线11和第二轴线21的两个转动维度进行转动。When the radar scanning mechanism works, since the first
图3为雷达扫描机构另一实施例的结构示意图,结合图3,雷达扫描机构包括一个第一旋转机构10,一个第二旋转机构20和雷达探测单元。其中,第一旋转机构10可以沿其旋转轴线180度摆动,第二旋转机构20可以沿其旋转轴线180度摆动。第一旋转机构10的摆动端铰接在雷达安装面上,第二旋转机构20的一端与第一旋转机构10的自由端铰接,第二旋转机构20的自由端设有雷达探测单元。此处需要说明的是,第二旋转机构20的旋转轴线与第一旋转机构10的旋转轴线在空间上相互垂直。为了后续描述方便,将第一旋转机构10的旋转轴线称为第一轴线11,第二旋转机构20的旋转轴线称为第二轴线21。FIG. 3 is a schematic structural diagram of another embodiment of the radar scanning mechanism. With reference to FIG. 3 , the radar scanning mechanism includes a
当雷达扫描机构工作时,由于第一旋转机构10能够沿第一轴线11进行180度摆动,第二旋转机构20能够沿第二轴线21进行180度摆动,使得雷达探测单元能够沿着第一轴线11和第二轴线21的两个转动维度进行转动。When the radar scanning mechanism is working, since the first
需要说明的是,图2和图3中所示的雷达扫描机构仅为本发明实施例提供的零位标定及补偿方法所适用的两个实施例,并非限定,对于其他类型的雷达扫描机构,同样可以应用本发明实施例所提供的零位标定及补偿方法进行零位标定及补偿,此处就不在一一列举。It should be noted that the radar scanning mechanisms shown in FIG. 2 and FIG. 3 are only two applicable embodiments of the zero-position calibration and compensation methods provided by the embodiments of the present invention, and are not limited. For other types of radar scanning mechanisms, Similarly, the zero-position calibration and compensation method provided by the embodiments of the present invention can be applied to perform zero-position calibration and compensation, which will not be listed one by one here.
图2和图3中的雷达扫描机构在进行零位标定及补偿时的方法是相同的。此处以图2中的雷达扫描机构为例,对其零位标定及补偿的方法进行说明。The radar scanning mechanism in Fig. 2 and Fig. 3 have the same method for zero calibration and compensation. Taking the radar scanning mechanism in FIG. 2 as an example, the method of zero calibration and compensation will be described here.
雷达扫描机构的零位标定及补偿方法,详述如下:The zero-position calibration and compensation method of the radar scanning mechanism is described in detail as follows:
步骤S110、当对目标旋转机构进行零位标定及补偿时,控制第一旋转机构和第二旋转机构中目标旋转机构以外的旋转机构保持静止,并控制目标旋转机构由初始位置旋转至多个不同位置,记录目标旋转机构在多个不同位置时雷达探测单元与目标标定板之间的探测距离。Step S110, when performing zero calibration and compensation on the target rotation mechanism, control the rotation mechanisms other than the target rotation mechanism in the first rotation mechanism and the second rotation mechanism to remain stationary, and control the target rotation mechanism to rotate from the initial position to a plurality of different positions. , and record the detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism is in multiple different positions.
其中,本发明实施例零位标定及补偿方法用于对雷达扫描机构中的第一旋转机构和第二旋转机构进行零位标定和补偿,在具体实现时,需对第一旋转机构和第二旋转机构分别进行标定和补偿。其中,将待进行零位标定和补偿的旋转机构记为目标旋转机构,目标旋转机构为第一旋转机构或第二旋转机构。The zero-position calibration and compensation method in the embodiment of the present invention is used to perform zero-position calibration and compensation for the first rotating mechanism and the second rotating mechanism in the radar scanning mechanism. The rotation mechanism is calibrated and compensated separately. Wherein, the rotation mechanism to be calibrated and compensated for the zero position is marked as the target rotation mechanism, and the target rotation mechanism is the first rotation mechanism or the second rotation mechanism.
为了实现对雷达扫描机构的零位标定及补偿,需要在雷达探测区域内设置标定板,标定板可以为带有间距图案阵列的平板,如此设置,通过标定板可以确定物理尺寸和像素之间的换算关系,进而大幅提高检测及测量的精度。在一些实施例中,为了实现对第一旋转机构和第二旋转机构分别进行零位标定和补偿,可以在雷达探测单元的探测区域内设置两个标定板,其中一个标定板用于对第一旋转机构进行标定,另一个标定板用于对第二旋转机构进行标定。且两个标定板中,其中一个标定板与雷达安装面平行,另一个标定板与雷达安装面垂直。In order to realize the zero-position calibration and compensation of the radar scanning mechanism, it is necessary to set a calibration plate in the radar detection area, and the calibration plate can be a flat plate with a spacing pattern array. Conversion relationship, thereby greatly improving the accuracy of detection and measurement. In some embodiments, in order to perform zero calibration and compensation for the first rotating mechanism and the second rotating mechanism, respectively, two calibration plates may be provided in the detection area of the radar detection unit, one of which is used for the first calibration plate. The rotation mechanism is calibrated, and another calibration plate is used to calibrate the second rotation mechanism. And among the two calibration boards, one of the calibration boards is parallel to the radar installation surface, and the other calibration board is perpendicular to the radar installation surface.
在一实施例中,两个标定板可以分别记为第一标定板32以及第二标定板31。其中,第二标定板31用于对第二旋转机构20进行标定,第一标定板32用于对第一旋转机构10进行标定。标定板在雷达探测空间内的放置位置满足以下条件:第一标定板32与雷达安装面垂直,第二标定板31与雷达安装面平行,当待标定的第一旋转机构10或第二旋转机构20位于实际零位时,第一旋转机构10与第一标定板32的距离最短,第二旋转机构20与第二标定板31的距离最短。In one embodiment, the two calibration plates may be respectively denoted as the
结合参考图4和图5,对于雷达扫描机构,其第一旋转机构10的摆动端铰接在雷达安装面上,第二旋转机构20的一端与第一旋转机构10的自由端铰接。理想情况下,零位状态是在第一旋转机构10和第二旋机构20各自的编码器上显示为0度时,第一旋转机构10和第二旋转机构20均与雷达安装面呈垂直状态。而在实际情况中,由于各种安装或结构误差,当第一旋转机构10和第二旋转机构20各自的编码器显示为0度时,第一旋转机构10和第二旋转机构20与雷达安装面并非垂直状态,而是存在一定的角度偏差,因此需要对其进行零位标定。以零位状态时,雷达安装面与第一旋转机构10垂直为例,此时,第一标定板32与雷达安装面垂直设置,第二标定板31与雷达安装面呈平行设置,在进行零位标定和补偿时,第一标定板32和第二标定板31用于将雷达探测单元发射到第一标定板32或第二标定板31的目标点的探测波反射回雷达探测单元,根据雷达测距原理即可计算得到雷达探测单元与标定板上目标点的距离。4 and 5 , for the radar scanning mechanism, the swinging end of the first
在对雷达扫描机构进行零位标定和补偿时,使雷达探测单元处于工作状态,然后通过控制第一旋转机构10和第二旋转机构20的旋转,带动雷达探测单元分别运行到第一标定板以及第二标定板的多个不同位置,并分别记录雷达探测单元距离第一标定板或第二标定板的探测数据。When performing zero calibration and compensation on the radar scanning mechanism, the radar detection unit is in a working state, and then by controlling the rotation of the
在确定第二旋转机构的零位及补偿模型时,保持第一旋转机构静止,控制第二旋转机构20转动至多个不同位置、并分别记录当第二旋转机构20在多个不同位置时雷达探测单元距离第二标定板31的探测数据。为了便于标定,如图4所示,可以保持第一旋转机构10与第二标定板31垂直,且保持第一旋转机构10静止,然后控制第二旋转机构20转动至多个不同位置。When determining the zero position and compensation model of the second rotating mechanism, keep the first rotating mechanism stationary, control the second
同样的,在确定第一旋转机构的零位及补偿模型时,保持第二旋转机构20静止,控制第一旋转机构10转动至多个不同位置,并分别记录当第一旋转机构10在多个不同位置时,雷达探测单元距离第一标定板32的探测数据。为了便于标定,如图5所示,可以保持第二旋转机构20与第一标定板32垂直,且保持第二旋转机构20静止,控制第一旋转机构10转动至多个不同位置。Similarly, when determining the zero position and compensation model of the first rotating mechanism, keep the second
步骤S120、根据目标旋转机构在初始位置和实际零位处的探测距离,确定目标旋转机构的零位偏移量。Step S120: Determine the zero position offset of the target rotating mechanism according to the detection distance of the target rotating mechanism at the initial position and the actual zero position.
其中,实际零位为探测距离最短时目标旋转机构所处的位置,初始位置为雷达扫描机构安装在雷达安装面上后,第一旋转机构10或第二旋转机构20各自的编码器显示为0度时的位置。The actual zero position is the position of the target rotating mechanism when the detection distance is the shortest, and the initial position is that after the radar scanning mechanism is installed on the radar mounting surface, the respective encoders of the first
在对第二旋转机构20的零位进行标定时,保持第一旋转机构10静止,从而保证雷达扫描机构仅在一个平面内运动,从而即可对第二旋转机构20的零位进行标定及补偿。When calibrating the zero position of the second
具体的,如图4所示,在保持第一旋转机构10静止后,可以保持第一旋转机构10与第二标定板31垂直,控制第二旋转机构20从第二旋转机构20的初始位置转动到第二旋转机构20的实际零位。此处的第二旋转机构20的初始位置为第二旋转机构20自身的零位,第二旋转机构20的实际零位为第二旋转机构20转动时,雷达探测单元垂直与第二标定板31的位置,也就是雷达探测单元距离第二标定板31的探测数据最小时的位置。然后,分别记录雷达探测单元分别在第二旋转机构20的初始位置和第二旋转机构20的实际零位时距离第二标定板31的探测数据。Specifically, as shown in FIG. 4 , after keeping the first
基于上面的探测数据,根据几何关系,即可确定第二旋转机构的零位偏移量。如图6所示,第二旋转机构20在第二旋转机构20的初始位置和第二旋转机构20的实际零位时,记录的雷达探测单元分别距离第二标定板31的探测数据,根据几何关系,即可确定第二旋转机构20的初始位置与实际零位的零位偏移量。Based on the above detection data, and according to the geometric relationship, the zero offset of the second rotating mechanism can be determined. As shown in FIG. 6 , when the second
具体的计算过程如下:The specific calculation process is as follows:
第二旋转机构20的初始位置与第二旋转机构20的实际零位的零位偏移量为θ0,The zero position offset between the initial position of the second
θ0=arcos(r+l0)/(r+l初);θ 0 =arcos(r+l 0 )/(r+ l );
其中,r为雷达探测单元的转动半径,l初为雷达探测单元在初始位置距离第二标定板31的探测数据,l0为雷达探测单元在实际零位距离第二标定板31的探测数据。Wherein, r is the turning radius of the radar detection unit, l is the detection data of the radar detection unit at the initial position from the
在对第一旋转机构10的零位进行标定时,保持第二旋转机构20静止,从而保证雷达扫描机构仅在一个平面内运动,从而即可对第一旋转机构10的零位进行标定及补偿。When calibrating the zero position of the first
具体的,如图5所示,在保持第二旋转机构20静止后,可以保持第二旋转机构20与第一标定板32垂直,,控制第一旋转机构10从第一旋转机构10的初始位置转动到第一旋转机构10的实际零位。此处的第一旋转机构10的初始位置为第一旋转机构10自身的零位,第一旋转机构10的实际零位为第一旋转机构10转动时,雷达探测单元垂直与第一标定板32的位置,也就是雷达探测单元距离第一标定板32的探测数据最小时的位置。然后,记录雷达探测单元分别在第一旋转机构10的初始位置和第一旋转机构10的实际零位时距离第一标定板32的探测数据。Specifically, as shown in FIG. 5 , after the second
同样的道理,基于上面探测数据,根据几何关系,即可确定第一旋转机构的零位偏移量。如图7所示,第一旋转机构10在第一旋转机构10的初始位置和第一旋转机构10的实际零位时,分别记录的雷达探测单元分别距离第一标定板32的探测数据,确定第一旋转机构10的初始位置与实际零位的零位偏移量。In the same way, based on the above detection data, the zero offset of the first rotating mechanism can be determined according to the geometric relationship. As shown in FIG. 7 , when the
具体的计算过程如下:The specific calculation process is as follows:
第一旋转机构10的初始位置与第一旋转机构10的实际零位的零位偏移量为α0,The zero position offset between the initial position of the first
α0=arcos(r+k0)/(r+k初);α 0 =arcos(r+k 0 )/(r+ k );
其中,r为雷达探测单元的转动半径,k初为雷达探测单元在初始位置距离第一标定板32的探测数据,k0为雷达探测单元在初始位置距离第一标定板32的探测数据。Among them, r is the turning radius of the radar detection unit, k is the detection data of the radar detection unit at the initial position from the
步骤S130、以实际零位为基准,控制目标旋转机构旋转多个预设角度,记录目标旋转机构旋转至多个预设角度处时,雷达探测单元探测到的与目标标定板之间的探测距离。Step S130: Control the target rotation mechanism to rotate at multiple preset angles based on the actual zero position, and record the detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism rotates to multiple preset angles.
确定第二旋转机构20的实际零位后,仍然保持第一旋转机构10静止,控制第二旋转机构20从第二旋转机构20的实际零位转动多个预设角度,并分别对应记录雷达探测单元距离第二标定板31的探测数据。After the actual zero position of the second
同样的,确定第一旋转机构10的实际零位后,仍然保持第二旋转机构20静止,控制第一旋转机构10从第一旋转机构10的实际零位转动多个预设角度,并分别对应记录雷达探测单元距离第一标定板32的探测数据。Similarly, after the actual zero position of the first
步骤S140、根据目标旋转机构在实际零位和多个预设角度处的探测距离计算目标旋转机构的多个实际旋转角度,并根据多个预设角度和多个实际旋转角度构建目标旋转机构的补偿模型。Step S140: Calculate multiple actual rotation angles of the target rotation mechanism according to the detection distances of the target rotation mechanism at the actual zero position and multiple preset angles, and construct the target rotation mechanism according to the multiple preset angles and multiple actual rotation angles. Compensation model.
由于雷达扫描机构的第一旋转机构和第二旋转机构均存在几何误差,因此,第一旋转机构和第二旋转机构的实际旋转角度和预设角度之间也会存在误差。Since both the first rotation mechanism and the second rotation mechanism of the radar scanning mechanism have geometric errors, there will also be errors between the actual rotation angle and the preset angle of the first rotation mechanism and the second rotation mechanism.
在确定第二旋转机构20的实际零位、且控制第二旋转机构20从第二旋转机构20的实际零位转动多个预设角度,通过得到的雷达探测单元距离第二标定板31的探测数据,即可根据几何关系计算第二旋转机构20的实际零位与初始位置的偏差角度和误差补偿模型。After determining the actual zero position of the second
具体的,如图8所示,基于所有预设角度相对应的雷达探测单元距离第二标定板31的探测数据、雷达探测单元在第二旋转机构20的实际零位距离第二标定板31的探测数据,即可确定第二旋转机构20按照所有预设角度转动时相对应的所有实际旋转角度。需要说明的是,预设角度为第二旋转机构20从其实际零位开始旋转的角度。Specifically, as shown in FIG. 8 , based on the detection data of the radar detection unit from the
例如:第二旋转机构20设定的预设角度为θx,在θx时对应的雷达探测单元的探测数据为lx,由于机构存在几何误差,因此,实际旋转角度θ与预设角度θx之间存在误差,根据图8中的几何关系即可计算出第二旋转机构20的实际转动角度θ,计算方式如下:For example: the preset angle set by the second
θ=arcos(r+lx)/(r+l0)。θ=arcos(r+l x )/(r+l 0 ).
通过对所有预设角度、以及所有预设角度相对应的所有实际旋转角度进行拟合处理,即可建立第二旋转机构20的误差补偿模型。The error compensation model of the second
具体的,可以采用最小二乘法建立预设角度与实际旋转角度之间的误差模型,格式如:θ=a*θx+b。其中,θ为实际旋转角度,θx为预设角度,a和b为进行拟合得到的系数值。Specifically, an error model between the preset angle and the actual rotation angle may be established by using the least squares method, and the format is for example: θ=a*θ x +b. Among them, θ is the actual rotation angle, θ x is the preset angle, and a and b are the coefficient values obtained by fitting.
同样的,第一旋转机构10的误差补偿模型的计算,与第二旋转机构20的计算原理相同。Similarly, the calculation of the error compensation model of the
在确定第一旋转机构10的实际零位、且控制第一旋转机构10从第一旋转机构10的实际零位转动多个预设角度,通过得到的雷达探测单元距离第一标定板32的探测数据,即可根据几何关系计算第一旋转机构10的偏差角度和误差补偿模型。After determining the actual zero position of the first
具体的,如图9所示,基于所有预设角度相对应的雷达探测单元距离第一标定板32的探测数据、雷达探测单元在第一旋转机构10的实际零位距离第一标定板32的探测数据,确定第一旋转机构10按照所有预设角度转动时相对应的所有实际旋转角度。需要说明的是,这里的预设角度为第一旋转机构10从其实际零位摆动的角度。Specifically, as shown in FIG. 9 , based on the detection data of the radar detection unit corresponding to all preset angles from the
例如:第一旋转机构10设定的预设角度为αx,在αx时对应的雷达探测单元的探测数据为kx,由于机构存在几何误差,因此,实际旋转角度α与预设角度αx之间存在误差,根据图9中的几何关系即可计算出第一旋转机构10的实际旋转角度α,计算方式如下:For example, the preset angle set by the first
α=arcos(r+kx)/(r+k0)。α=arcos(r+k x )/(r+k 0 ).
通过对所有预设角度、以及所有预设角度相对应的所有实际旋转角度进行拟合处理,即可建立第一旋转机构10的误差补偿模型。The error compensation model of the first
具体的,可以采用最小二乘法建立预设转动角度与实际转动角度之间的误差模型,格式如:α=c*αx+d。其中,α为实际旋转角度,αx为设定的预设角度,c和d为进行拟合得到的系数值。Specifically, an error model between the preset rotation angle and the actual rotation angle can be established by using the least square method, and the format is for example: α=c*α x +d. Among them, α is the actual rotation angle, α x is the set preset angle, and c and d are the coefficient values obtained by fitting.
本发明在对目标旋转机构进行零位标定及补偿时,首先,通过控制第一旋转机构或第二旋转机构中的一个旋转机构保持静止,控制另一个旋转机构从初始位置旋转至多个不同位置,并记录该旋转机构在多个不同位置时雷达探测单元与目标标定板之间的距离,通过该旋转机构在初始位置和实际零位时的探测距离,从而确定该旋转机构的零位偏移量。然后,控制该旋转机构以实际零位为基准,旋转多个预设角度,并记录该旋转机构旋转至多个预设角度处时,雷达探测单元探测到的与目标标定板之间的探测距离,通过该旋转机构在实际零位和多个预设角度处的探测距离计算该旋转机构的多个实际旋转角度,确定该旋转机构的补偿模型。从而,通过机构本身的雷达探测单元即可对雷达扫描机构进行零位标定,且通过简单的几何关系即可得到雷达扫描机构的补偿模型。When the present invention performs zero-position calibration and compensation on the target rotating mechanism, firstly, by controlling one of the first rotating mechanism or the second rotating mechanism to remain stationary, and controlling the other rotating mechanism to rotate from the initial position to a plurality of different positions, And record the distance between the radar detection unit and the target calibration plate when the rotating mechanism is in multiple different positions, and determine the zero offset of the rotating mechanism through the detection distance of the rotating mechanism at the initial position and the actual zero position . Then, control the rotating mechanism to rotate multiple preset angles based on the actual zero position, and record the detection distance between the radar detection unit and the target calibration plate when the rotating mechanism rotates to multiple preset angles, A plurality of actual rotation angles of the rotation mechanism are calculated through the detection distances of the rotation mechanism at the actual zero position and a plurality of preset angles, and a compensation model of the rotation mechanism is determined. Therefore, the zero-position calibration of the radar scanning mechanism can be performed through the radar detection unit of the mechanism itself, and the compensation model of the radar scanning mechanism can be obtained through a simple geometric relationship.
下面结合图2中的雷达扫描机构,对该雷达扫描机构的零位标定及补偿方法进行详细的描述。The zero position calibration and compensation method of the radar scanning mechanism will be described in detail below with reference to the radar scanning mechanism in FIG. 2 .
将图2所示的雷达扫描机构安装到探测空间,且安装两个标定板后,如图4所示。Install the radar scanning mechanism shown in Figure 2 into the detection space, and install two calibration boards, as shown in Figure 4.
保持第一旋转机构10与第二标定板31垂直,且保持第一旋转机构10静止,控制第二旋转机构20从第二旋转机构20的初始位置转动,其中,第二旋转机构20的初始位置的关节转角为0度,此时雷达探测单元距离第二标定板31的探测数据为l初=200.29mm。控制第二旋转机构20左右摆动,当雷达探测单元距离第二标定板31的探测数据最小时,即雷达探测单元垂直与第二标定板31的位置为第二旋转机构20的实际零位,此时的探测数据为l0=200.25mm。Keep the
由于雷达扫描机构存在几何误差,雷达扫描机构编码器读取的转角与第二旋转机构20实际转动的角度θ0之间存在误差,第二旋转机构20的实际转角θ0可根据几何关系求得,实际转角θ0与雷达探测单元的转动半径r=83mm、雷达探测单元测量的探测数据l初和l0之间存在如下函数关系:Due to the geometric error of the radar scanning mechanism, there is an error between the rotation angle read by the encoder of the radar scanning mechanism and the actual rotation angle θ 0 of the second
θ0=arcos(r+l0)/(r+l初);θ 0 =arcos(r+l 0 )/(r+ l );
从而即可计算得到第二旋转机构20的实际零位与初始位置的偏差角度为θ0=0.963°,即当第二旋转机构20到达其初始位置后,在正向转动0.963°即到达其实际零位。Therefore, the deviation angle between the actual zero position and the initial position of the second
继续保持第一旋转机构10与第二标定板31垂直,且保持第一旋转机构10静止,使第二旋转机构20相正向摆动,摆动的预设角度分别为10°、12°、14°、16°、18°、20°、22°、24°、26°、28°、30°,记录雷达探测单元的探测数据分别为:204.99mm、207.06mm、209.5mm、212.37mm、215.65mm、319.4mm、223.65mm、228.43mm、233.7mm、239.58mm、246.14mm。由于雷达扫描机构存在几何误差,第二旋转机构20的实际转动角度θ与预设转动角度θx之间存在误差,根据几何关系计算实际转动角度:Continue to keep the first
θ=arcos(r+lx)/(r+l0);θ=arcos(r+l x )/(r+l 0 );
计算得到的实际转角θ分别为10.41°、12.44°、14.45°、16.47°、18.48°、20.5°、22.53°、24.56°、26.57°、28.59°、30.62°。用最小二乘法建立预设转动角度θx与实际转动角度θ的误差模型:The calculated actual rotation angles θ are 10.41°, 12.44°, 14.45°, 16.47°, 18.48°, 20.5°, 22.53°, 24.56°, 26.57°, 28.59°, 30.62°, respectively. Use the least square method to establish the error model between the preset rotation angle θ x and the actual rotation angle θ:
θ=1.0102*θx+0.3073;θ=1.0102*θ x +0.3073;
最后,将第二旋转机构20的实际零位与初始位置的偏差角度θ0=0.963°,以及第二旋转机构20的误差补偿模型输入至第二旋转机构20的控制程序中,完成第二旋转机构20的补偿。Finally, the deviation angle θ 0 =0.963° between the actual zero position of the second
然后,确定第一旋转机构10的零位、零位偏差角度以及误差补偿模型。Then, the zero position, the zero position deviation angle, and the error compensation model of the first
首先,保持第二旋转机构20与第一标定板32垂直,且保持第二旋转机构20静止,控制第一旋转机构10从第一旋转机构10的初始位置转动,其中,第一旋转机构10的初始位置的关节转角为0度,此时雷达探测单元距离第一标定板32的探测数据为k初=180.18mm。使第一旋转机构10左右摆动,当雷达探测单元正向转动至某角度时,探测数据的数值最小,即雷达探测单元垂直与第一标定板32的位置为第一旋转机构10的实际零位,此时的探测数据为k0=180.11mm。First, keep the second
由于雷达扫描机构存在几何误差,雷达扫描机构编码器读取的转角与第一旋转机构10的实际转角α0之间存在误差,第一旋转机构10的实际转角α0可根据几何关系求得,实际转角α0与雷达探测单元的转动半径r=83mm、雷达探测单元测量的探测数据k初和k0之间存在如下函数关系:Due to the geometric error of the radar scanning mechanism, there is an error between the rotation angle read by the encoder of the radar scanning mechanism and the actual rotation angle α0 of the first
α0=arcos(r+k0)/(r+k初);α 0 =arcos(r+k 0 )/(r+ k );
从而即可计算得到第一旋转机构10的实际零位与初始位置的偏差角度为α0=1.32°,即当第二旋转机构20到达初始位置后,在正向转动1.32°即到达其实际零位。Therefore, the deviation angle between the actual zero position of the first
继续保持第二旋转机构20与第一标定板32垂直,且保持第二旋转机构20静止,使第一旋转机构10相正向摆动,摆动的预设角度分别为10°、12°、14°、16°、18°、20°、22°、24°、26°、28°、30°,记录雷达探测单元的探测数据分别为:184.57mm、186.5mm、188.77mm、191.42mm、194.34mm、197.97mm、201.89mm、206.31mm、211.23mm、216.68mm、222.74mm。由于雷达扫描机构存在几何误差,第一旋转机构10的实际转动角度α与预设转动角度αx之间存在误差,根据几何关系计算实际转动角度:Continue to keep the second
α=arcos(r+kx)/(r+k0);α=arcos(r+k x )/(r+k 0 );
计算实际转角α分别为10.48°、12.5°、14.5°、16.51°、18.53°、20.54°、22.55°、24.57°、26.59°、28.6°、30.62°。用最小二乘法建立设定转动角度αx与实际转动角度α的误差模型:The calculated actual rotation angles α are 10.48°, 12.5°, 14.5°, 16.51°, 18.53°, 20.54°, 22.55°, 24.57°, 26.59°, 28.6°, 30.62°, respectively. Use the least squares method to establish the error model between the set rotation angle α x and the actual rotation angle α:
α=1.0069*αx+0.4073;α=1.0069*α x +0.4073;
最后,将第一旋转机构10的实际零位与初始位置的偏差角度α0=1.32°,以及第一旋转机构10的误差补偿模型输入至第一旋转机构10的控制程序中,完成第一旋转机构10的补偿。Finally, the deviation angle α 0 =1.32° between the actual zero position of the first
在本发明实施例中,雷达扫描机构的零位标定及误差补偿过程中,利用其自带的雷达探测单元的探测数据的几何关系即可确定该雷达扫描机构的零位,及零位偏差角。再确定零位后,还可以根据几何关系,即可确定两个旋转机构的误差补偿模型,零位标定方法简单。In the embodiment of the present invention, in the process of zero position calibration and error compensation of the radar scanning mechanism, the zero position and the zero position deviation angle of the radar scanning mechanism can be determined by using the geometric relationship of the detection data of the radar detection unit that comes with it. . After the zero position is determined again, the error compensation model of the two rotating mechanisms can be determined according to the geometric relationship, and the zero position calibration method is simple.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
以下为本发明的装置实施例,对于其中未详尽描述的细节,可以参考上述对应的方法实施例。The following are apparatus embodiments of the present invention, and for details that are not described in detail, reference may be made to the above-mentioned corresponding method embodiments.
图10示出了本发明实施例提供的雷达扫描机构的零位标定及补偿装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 10 shows a schematic structural diagram of the zero position calibration and compensation device of the radar scanning mechanism provided by the embodiment of the present invention. For the convenience of description, only the part related to the embodiment of the present invention is shown, and the details are as follows:
如图10所示,雷达扫描机构的零位标定及补偿装置1000,雷达扫描机构包括雷达安装面、第一旋转机构、第二旋转机构以及雷达探测单元,第一旋转机构旋转或摆动装配在雷达安装面,第二旋转机构铰接在第一旋转机构的自由端,雷达探测单元设置于第二旋转机构的自由端,其中第二旋转机构的旋转轴线与第一旋转机构的旋转轴线相互垂直,零位标定及补偿装置1000包括:As shown in FIG. 10 , the zero position calibration and compensation device 1000 of the radar scanning mechanism, the radar scanning mechanism includes a radar mounting surface, a first rotating mechanism, a second rotating mechanism and a radar detection unit, and the first rotating mechanism rotates or swings and is assembled on the radar The installation surface, the second rotating mechanism is hinged on the free end of the first rotating mechanism, the radar detection unit is arranged on the free end of the second rotating mechanism, wherein the rotating axis of the second rotating mechanism and the rotating axis of the first rotating mechanism are perpendicular to each other, zero The position calibration and compensation device 1000 includes:
第一旋转模块1100,用于当对目标旋转机构进行零位标定及补偿时,控制第一旋转机构和第二旋转机构中目标旋转机构以外的旋转机构保持静止,并控制目标旋转机构由初始位置旋转至多个不同位置,记录目标旋转机构在多个不同位置时雷达探测单元与目标标定板之间的探测距离,目标旋转机构为第一旋转机构或第二旋转机构,目标标定板位于雷达探测单元的探测区域内且目标标定板平行或垂直于雷达安装面;The
零位偏移模块1200,用于根据目标旋转机构在初始位置和实际零位处的探测距离,确定目标旋转机构的零位偏移量,其中实际零位为探测距离最短时目标旋转机构所处的位置;The zero offset
第二旋转模块1300,用于以实际零位为基准,控制目标旋转机构旋转多个预设角度,记录目标旋转机构旋转至多个预设角度处时,雷达探测单元探测到的与目标标定板之间的探测距离;The
补偿确定模块1400,用于根据目标旋转机构在实际零位和多个预设角度处的探测距离计算目标旋转机构的多个实际旋转角度,并根据多个预设角度和多个实际旋转角度构建目标旋转机构的补偿模型。The
在一种可能的实现方式中,第一旋转模块1100,用于控制第一旋转机构和第二旋转机构中目标旋转机构以外的旋转机构处于第一位置并在第一位置处保持静止,第一位置为相应的旋转机构与目标标定板垂直时的位置。In a possible implementation manner, the
在一种可能的实现方式中,目标旋转机构的零位偏移量θ0为:In a possible implementation, the zero offset θ 0 of the target rotating mechanism is:
θ0=arcos(r+l0)/(r+l初);θ 0 =arcos(r+l 0 )/(r+ l );
其中,θ0为目标旋转机构的零位偏移量,r为雷达探测单元的转动半径,l初为目标旋转机构在初始位置时雷达探测单元与目标标定板之间的探测距离,l0为目标旋转机构在实际零位时雷达探测单元与目标标定板之间的探测距离。Among them, θ 0 is the zero offset of the target rotation mechanism, r is the turning radius of the radar detection unit, l is the detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism is at the initial position, and l 0 is The detection distance between the radar detection unit and the target calibration plate when the target rotation mechanism is at the actual zero position.
在一种可能的实现方式中,补偿确定模块1400,用于将多个预设角度作为输入、多个实际旋转角度作为输出,进行数据拟合处理,得到表征实际旋转角度与预设角度关系的补偿模型。In a possible implementation manner, the
在一种可能的实现方式中,补偿确定模块1400,用于根据最小二乘法对多个预设角度、多个实际旋转角度进行数据拟合处理。In a possible implementation manner, the
在一种可能的实现方式中,实际旋转角度与预设角度关系的补偿模型为:In a possible implementation manner, the compensation model for the relationship between the actual rotation angle and the preset angle is:
θ=a*θx+b;θ=a*θ x +b;
其中,θ为实际转动角度,θx为预设角度,a和b为进行拟合得到的系数值。Among them, θ is the actual rotation angle, θ x is the preset angle, and a and b are the coefficient values obtained by fitting.
在一种可能的实现方式中,第一旋转机构沿第一旋转机构的旋转轴线180度摆动,第二旋转机构沿第二旋转机构的旋转轴线180度摆动。In a possible implementation manner, the first rotation mechanism swings 180 degrees along the rotation axis of the first rotation mechanism, and the second rotation mechanism swings 180 degrees along the rotation axis of the second rotation mechanism.
在一种可能的实现方式中,第一旋转机构沿第一旋转机构的旋转轴线360度转动,第二旋转机构沿第二旋转机构的旋转轴线180度摆动。In a possible implementation manner, the first rotation mechanism rotates 360 degrees along the rotation axis of the first rotation mechanism, and the second rotation mechanism swings 180 degrees along the rotation axis of the second rotation mechanism.
图11是本发明实施例提供的电子设备的示意图。如图11所示,该实施例的电子设备11包括:处理器110、存储器111以及存储在所述存储器111中并可在所述处理器110上运行的计算机程序112。所述处理器110执行所述计算机程序112时实现上述各个雷达扫描机构的零位标定及补偿方法实施例中的步骤,例如图1所示的步骤110至步骤140。或者,所述处理器30执行所述计算机程序32时实现上述各装置实施例中各模块的功能,例如图10所示模块1100至1400的功能。FIG. 11 is a schematic diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 11 , the
示例性的,所述计算机程序112可以被分割成一个或多个模块,所述一个或者多个模块被存储在所述存储器111中,并由所述处理器110执行,以完成本发明。所述一个或多个模块可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序112在所述电子设备11中的执行过程。例如,所述计算机程序112可以被分割成图10所示的模块1100至1400。Exemplarily, the computer program 112 may be divided into one or more modules, and the one or more modules are stored in the
所述电子设备11可包括,但不仅限于,处理器110、存储器111。本领域技术人员可以理解,图11仅仅是电子设备11的示例,并不构成对电子设备11的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备还可以包括输入输出设备、网络接入设备、总线等。The
所称处理器110可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called
所述存储器111可以是所述电子设备11的内部存储单元,例如电子设备11的硬盘或内存。所述存储器111也可以是所述电子设备11的外部存储设备,例如所述电子设备11上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器111还可以既包括所述电子设备11的内部存储单元也包括外部存储设备。所述存储器111用于存储所述计算机程序以及所述电子设备所需的其他程序和数据。所述存储器111还可以用于暂时地存储已经输出或者将要输出的数据。The
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置/电子设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/电子设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other manners. For example, the above-described embodiments of the apparatus/electronic device are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个雷达扫描机构的零位标定及补偿方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the above-mentioned embodiments of the zero position calibration and compensation method of each radar scanning mechanism can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, Read-Only Memory (ROM), Random Access Memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal, software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Excluded are electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it is still possible to implement the foregoing implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210805528.0A CN115079111B (en) | 2022-07-08 | 2022-07-08 | Zero position calibration and compensation method, device and storage medium of radar scanning mechanism |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210805528.0A CN115079111B (en) | 2022-07-08 | 2022-07-08 | Zero position calibration and compensation method, device and storage medium of radar scanning mechanism |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115079111A true CN115079111A (en) | 2022-09-20 |
| CN115079111B CN115079111B (en) | 2024-12-13 |
Family
ID=83259644
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210805528.0A Active CN115079111B (en) | 2022-07-08 | 2022-07-08 | Zero position calibration and compensation method, device and storage medium of radar scanning mechanism |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115079111B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012068216A (en) * | 2010-09-27 | 2012-04-05 | Mazda Motor Corp | Sensor orientation deviation detecting device |
| US20150323354A1 (en) * | 2014-05-12 | 2015-11-12 | Faro Technologies, Inc. | Robust index correction of an angular encoder in a three-dimensional coordinate measurement device |
| CN109343015A (en) * | 2018-11-28 | 2019-02-15 | 中国空空导弹研究院 | A calibration device and calibration method for aligning the mechanical axis of the guidance radar with the electric axis |
| KR101962398B1 (en) * | 2018-10-01 | 2019-03-26 | 엘아이지넥스원 주식회사 | Method and Apparatus for Compensating Target Information Error of Radar |
| CN113359093A (en) * | 2020-03-05 | 2021-09-07 | 华为技术有限公司 | Radar testing method and device |
| CN114488170A (en) * | 2022-01-21 | 2022-05-13 | 森思泰克河北科技有限公司 | Non-coaxial lidar and lidar ranging compensation method |
-
2022
- 2022-07-08 CN CN202210805528.0A patent/CN115079111B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012068216A (en) * | 2010-09-27 | 2012-04-05 | Mazda Motor Corp | Sensor orientation deviation detecting device |
| US20150323354A1 (en) * | 2014-05-12 | 2015-11-12 | Faro Technologies, Inc. | Robust index correction of an angular encoder in a three-dimensional coordinate measurement device |
| KR101962398B1 (en) * | 2018-10-01 | 2019-03-26 | 엘아이지넥스원 주식회사 | Method and Apparatus for Compensating Target Information Error of Radar |
| CN109343015A (en) * | 2018-11-28 | 2019-02-15 | 中国空空导弹研究院 | A calibration device and calibration method for aligning the mechanical axis of the guidance radar with the electric axis |
| CN113359093A (en) * | 2020-03-05 | 2021-09-07 | 华为技术有限公司 | Radar testing method and device |
| CN114488170A (en) * | 2022-01-21 | 2022-05-13 | 森思泰克河北科技有限公司 | Non-coaxial lidar and lidar ranging compensation method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115079111B (en) | 2024-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8773667B2 (en) | Sphere bar probe | |
| US20210252700A1 (en) | Hybrid visual servoing method based on fusion of distance space and image feature space | |
| US20220327739A1 (en) | Pose calibration method, robot and computer readable storage medium | |
| CN109343037B (en) | Optical detector installation error detection device, method and terminal equipment | |
| CN112799025A (en) | Method and system for obtaining deviation between millimeter wave radar and calibration platform and electronic equipment | |
| CN114049401A (en) | Binocular camera calibration method, device, equipment and medium | |
| CN114236511A (en) | Radar calibration method, radar, upper computer, calibration system and storage medium | |
| CN115685873A (en) | A laser cutting machine bevel cutting compensation method, system and computing terminal | |
| CN111360833B (en) | Mechanical arm origin position calibration method and system, control terminal and mechanical arm | |
| CN105627954A (en) | Included angle measuring method and device and included angle adjusting method and device | |
| CN115079111A (en) | Zero calibration and compensation method, equipment and storage medium of radar scanning mechanism | |
| CN112346037B (en) | Calibration method, device and equipment of vehicle-mounted laser radar and vehicle | |
| CN114167393A (en) | Position calibration method and device for traffic radar, storage medium and electronic device | |
| CN112388602A (en) | Calibration method, device and equipment of mobile robot | |
| CN112478540B (en) | Method and device for controlling rotation of tray | |
| CN108235777A (en) | Calibration method, device, storage medium and terminal equipment of an ADAS camera | |
| CN114935749A (en) | Navigation radar calibration method, equipment and medium | |
| CN114488046A (en) | Radar calibration method and calibration terminal | |
| CN114325619A (en) | Error calibration method, system, medium and electronic device for goniometric system | |
| CN104101337A (en) | Correction method for electronic compass | |
| CN115683190B (en) | Angle Measurement Error Compensation Method for Optical Turntable Encoders Based on Embedded Control Software | |
| CN115100295B (en) | Calibration method and device for SCARA robot end camera | |
| CN115436918A (en) | A method and device for correcting the horizontal angle between laser radar and unmanned vehicle | |
| CN110376840B (en) | A kind of imaging equipment calibration method, device, system and terminal equipment | |
| CN111862141B (en) | Evaluation methods, devices, media and electronic equipment for AGV device motion accuracy |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |