Disclosure of Invention
The invention discloses a visual target spot arrangement method based on laser radar grid map coupling, aiming at pain spots which lack a high-precision coupling method in a grid map constructed by a laser radar and an actual scene.
The technical scheme of the invention is as follows:
a visual target spot arrangement method based on laser radar grid map coupling is characterized in that firstly, laser tracker measuring equipment is introduced to realize the coupling of a grid map coordinate system constructed by a laser radar and a laser tracker coordinate system; the arrangement of the visual target points is determined based on coordinate coupling uncertainty, measurement uncertainty and motion uncertainty.
The coupling method of the grid map coordinate system and the laser tracker coordinate system in the AGV field comprises the following steps: in an operation scene, the laser tracker is arranged in a region which is close to the center and is less in shielding; establishing a right-hand Cartesian coordinate system, namely a laser tracker coordinate system, which is also an actual scene coordinate system, by taking the laser tracker as an origin; placing a plurality of target ball seats of the laser tracker on the AGV for placing target balls; the laser tracker continuously measures the target balls carried on the target ball seat and ensures that the geometric center of the target ball seat is coincident with the motion center of the AGV; the method comprises the steps that a laser tracker measures a plurality of target balls of an AGV at each station to obtain coordinates of the target balls under the laser tracker; in a scene, a plurality of scattered stations are arranged, and the AGV position posture p at the measuring station i is recordediThe number of target balls is NbqAnd the measured AGV pose obtained by the ith measurement is as follows:
in the formula (I), the compound is shown in the specification,
shows the k target ball in the ith measurement AGV poseA measurement of coordinates;
after all the measurements are finished, the position and posture of the AGV measured by the laser tracker are obtained
Wherein p is
iRepresenting the pose of the AGV under the coordinate system of the laser tracker, P is a set of measurement coordinates of the laser tracker, N
pRepresenting the number of matching measurement points;
obtaining the pose of the AGV under a grid map coordinate system by an AMCL probability method
Wherein, x
iThe coordinate of the AGV under the grid map coordinate system is represented, and X is a coordinate set of the AGV under the grid coordinate system;
coupling the two coordinate systems, namely solving a rotation matrix as R and a translation vector as t, so that the coupling error function E (R, t) of the two coordinate systems is minimum:
and solving to obtain a rotation matrix R and a translation vector t.
U, V is a verification rotation matrix | R | ═ 1 obtained by SVD decomposition of a positive definite matrix H generated in the solving process; when | R | ═ 1 or the measured point cloud of the two coordinate systems has a mirror image relationship, then:
the coupling error is noted as σTransformThen the coupling error of the method is:
the visual target placement comprises the following:
the visual target is pasted on the ground or the ceiling, the pose of the visual target is obtained by combining and measuring a laser tracker and a T-Probe, and if the AGV wants to identify the visual target and reaches the positioning accuracy sigma, the method comprises the following steps:
recording the uncertainty of the X-direction motion as
Uncertainty of Y-direction motion
The distance of movement in the X direction is d
xThe distance of movement in the Y direction is d
yThen the AGV motion uncertainty is
Side length of visual target point is d
TagAnd the uncertainty of the camera identification visual target point is sigma
camSide length d of rectangular field of view of camera
FOV(ii) a The moving distance of AGV in X direction is d
xDistance d of movement in the Y direction
yHas a motion uncertainty of
Number A
iThe measurement uncertainty of the visual target under the laser tracker system is
The d constraint equation of the maximum arrangement interval of the visual target points is as follows:
and setting a precision guarantee margin coefficient C, determining the maximum arrangement interval of the visual target points as d, and solving to obtain:
under the measurement of the visual target point by the laser tracker, the obtained pose is
N
bqNumber of target points, m
iAnd (5) a visual target point with a table type label i.
In the formula (I), the compound is shown in the specification,
the k-th T-Probe measurement data of the target point marked by the index i is shown, and n is the total number of times of measurement of the target point.
Coupling the visual target point to a grid map coordinate system to obtain the pose of the visual target point in the grid map, and marking as
The rotation matrix of the laser tracker coordinate system and the grid map coordinate system is coupled is R, the translation vector is t, then:
M'=R·M+t (10)
the invention has the beneficial effects that:
1) high-precision measuring equipment such as a laser tracker is introduced, and a high-precision measuring reference is utilized to improve the precision of coordinate system coupling and target point arrangement.
2) The coordinate system has less coupling measurement times and high coupling calculation precision.
3) The visual target points are flexibly laid in combination with the actual aviation manufacturing scene, and the method is flexible and robust.
The method can be widely applied to the field of aviation manufacturing, and after the visual target is fused with the grid map, the navigation positioning precision of the AGV can be effectively improved.
Detailed Description
The present invention will be further described with reference to the following drawings and examples, it being understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to be limiting.
As shown in fig. 1-3.
A visual target point arrangement method based on laser radar grid map coupling comprises the following two aspects:
1.1 designing a method for coupling a grid map coordinate system constructed by a laser radar and a laser tracker coordinate system (namely an actual scene coordinate system) by introducing laser tracker measuring equipment;
1.2 study a visual target placement method based on coordinate coupling uncertainty, measurement uncertainty and motion uncertainty analysis.
In the AGV field, a grid map coordinate system and a laser tracker coordinate system (namely an actual scene coordinate system) are coupled, and the coupling method comprises the following contents:
in the present coupling method, as illustrated in the left diagram of fig. 1, in the operation scene, the laser tracker is arranged in the area close to the center of the scene and less sheltered. A right-hand Cartesian coordinate system is established by taking the laser tracker as an origin, and is called as a laser tracker coordinate system and also is an actual scene coordinate system.
And placing target ball seats of a plurality of laser trackers on the AGV for placing target balls. The laser tracker constantly measures the target ball that carries on the target ball seat, need guarantee as far as possible that target ball seat geometric centre and AGV center of motion coincide, and the signaling is 4 target ball seats in figure 2, places more target ball seats around the center of motion, can improve measurement accuracy.
The laser tracker measures a plurality of target balls of the AGV at each station position to obtain the coordinates of the target balls under the laser tracker. In a scene, a plurality of scattered stations are arranged, and the position and pose p of the AGV at the measuring station i are recordediThe number of target balls is NbqAnd if so, the measured AGV pose obtained by the ith measurement is as follows:
in the formula (I), the compound is shown in the specification,
and the measured value of the k target sphere coordinate in the ith AGV pose is shown.
After all the measurements are finished, the position and posture of the AGV measured by the laser tracker are obtained
Wherein p is
iRepresenting the pose of the AGV under the coordinate system of the laser tracker, P is a set of measurement coordinates of the laser tracker, N
pIndicating the number of matching measurement points.
Obtaining the pose of the AGV under a grid map coordinate system by an AMCL probability method
Wherein, x
iAnd X is a coordinate set of the AGV in the grid coordinate system.
Coupling the two coordinate systems, namely solving a rotation matrix as R and a translation vector as t, so that the coupling error function E (R, t) of the two coordinate systems is minimum:
and solving to obtain a rotation matrix R and a translation vector t.
U, V is a verification rotation matrix | R | ═ 1 obtained by SVD decomposition of the positive definite matrix H generated in the solving process. When | R | ═ 1 or the measured point cloud of the two coordinate systems has a mirror image relationship, then:
the coupling error is noted as σTransformThen the coupling error of the method is:
the visual target placement method comprises the following steps:
the visual target is pasted on the ground or the ceiling, the pose of the visual target is obtained by combining and measuring a laser tracker and a T-Probe, and if the AGV wants to identify the visual target and reaches the positioning accuracy sigma, the method comprises the following steps:
recording the uncertainty of the X-direction motion as
Uncertainty of Y-direction motion
The distance of movement in the X direction is d
xThe distance of movement in the Y direction is d
yThen the AGV motion uncertainty is
Side length of visual target point is d
TagAnd the uncertainty of the camera identification visual target point is sigma
camSide length d of rectangular field of view of camera
FOV(ii) a The moving distance of AGV in X direction is d
xIn the Y directionDistance d of movement
yHas a motion uncertainty of
Number A
iThe measurement uncertainty of the visual target under the laser tracker system is
The d constraint equation of the maximum arrangement interval of the visual target points is as follows:
and setting a precision guarantee margin coefficient C, determining the maximum arrangement interval of the visual target points as d, and solving to obtain:
under the measurement of the visual target point by the laser tracker, the obtained pose is
N
bqNumber of target points, m
iAnd (5) a visual target point with a table type label i.
In the formula (I), the compound is shown in the specification,
the k-th T-Probe measurement data of the target point marked by the index i is shown, and n is the total number of times of measurement of the target point.
Coupling the visual target point to a grid map coordinate system to obtain the pose of the visual target point in the grid map, and marking as
Laser tracker coordinate system andand if the rotation matrix coupled with the grid map coordinate system is R and the translation vector is t, then:
M'=R·M+t (10)
the details are as follows:
1. as shown in fig. 1 and fig. 2, in order to realize the precise coupling relation between the laser tracker coordinate system and the grid map coordinate system, the following coordinate system coupling method is designed.
a) As shown in FIG. 2, a target tee is disposed on the AGV. The laser tracker is a high-precision optical measuring device in the field of industrial measurement, and can be combined with a reflecting target ball to quickly complete high-precision measurement. And measuring a plurality of target ball seats of the AGV by using the laser tracker to obtain the pose of the AGV under the laser tracker.
The laser tracker measures a plurality of target balls of the AGV at each station position to obtain the coordinates of the target balls under the laser tracker. Recording ith measurement AGV pose piThe number of target balls is NbqAnd then, the measured AGV pose at the station position i is:
b) as shown in fig. 1, the AGVs are driven to a plurality of target stations, and the positions and postures of the AGVs at the stations are measured by the laser tracker, so as to obtain the poses of the AGVs under the coordinate system of the laser tracker.
Wherein p isiRepresenting the pose of the AGV in the ith measurement under the coordinate system of the laser tracker, P is a set of measurement coordinates of the laser tracker, and N ispIndicating the number of matching measurement points.
c) When the laser tracker measures, in the grid map, the pose of the AGV in the grid map is obtained by using self-positioning modes such as an AMCL Monte Carlo self-positioning algorithm and the like:
wherein x isiThe coordinate of the AGV under the grid map coordinate system is calculated for the ith time, X is the coordinate set of the AGV under the grid coordinate system, NpIndicating the number of matching measurement points.
d) The two coordinate systems are coupled by means of different poses of the AGV under the two coordinate systems.
Coupling the two coordinate systems, namely solving a rotation matrix as R and a translation vector as t, so that the coupling error function E (R, t) of the two coordinate systems is minimum:
and solving to obtain a rotation matrix R and a translation vector t.
U, V is a verification rotation matrix | R | ═ 1 obtained by SVD decomposition of the positive definite matrix H generated in the solving process. When | R | ═ 1 or the measured point cloud of the two coordinate systems has a mirror image relationship, then:
e) uncertainty in coordinate system coupling, i.e. coupling error
The coupling error is noted as σTransformThen the coupling error of the method is:
2. as shown in fig. 3, the uncertainty of the AGV identifying the target and traveling to the target station is studied, and the visual target placement interval is designed in combination with the uncertainty and the accuracy requirement.
a) Determining the precision requirement sigma after the AGV identifies the visual target;
b) determining camera recognition target uncertainty sigma
camNumber A
iThe measurement uncertainty of the visual target under the laser tracker system is
Coordinate system coupling uncertainty σ
Transform;
c) Determining the distance of movement and calculating the uncertainty of movement
Recording the uncertainty of the X-direction motion as
Uncertainty of Y-direction motion
The distance of movement in the X direction is d
xThe distance of movement in the Y direction is d
yThen the AGV motion uncertainty is:
d) as shown in fig. 3, a constraint equation of the visual target placement interval d is obtained according to the measurement uncertainty relationship:
e) and (3) setting a precision guarantee margin coefficient C according to an uncertainty constraint equation, and solving the maximum arrangement interval of the visual target points as d:
f) arranging the visual target point at the laser interval, wherein the arrangement interval of the visual target point is less than or equal to the maximum arrangement interval d, and the visual target point is obtained by measuring by combining a laser tracker and a T-ProbePose under tracking is M ═ M0,m1,…,mNN denotes the number of target spots, m1Visual target point of table label 1.
In the formula (I), the compound is shown in the specification,
the k-th T-Probe measurement data of the target point marked by the index i is shown, and n is the total number of times of measurement of the target point.
g) Coupling the visual target point to a grid map coordinate system to obtain the pose of the visual target point in the grid map, and marking as M '═ M'0,m'1,…,m'NAnd if the rotation matrix and the translation vector of the laser tracker coordinate system and the grid map coordinate system are coupled are known as R, t, then:
M'=R·M+t
the foregoing is only a preferred embodiment of this invention and it should be noted that modifications can be made by those skilled in the art without departing from the principle of the invention and these modifications should also be considered as the protection scope of the invention.
The present invention is not concerned with parts which are the same as or can be implemented using prior art techniques.