A vision-based vibration suppression method for long flexible robotic arms
By placing a QR code at the end of a long flexible robotic arm and using visual processing technology to measure and suppress vibrations in real time, the problem of robotic arm vibration affecting operating accuracy and lifespan is solved, and an effective measurement and suppression method is provided that does not require direct installation of sensors. .
Patent Information
- Application Number
- CN202311748517.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-12-19
AI Technical Summary
Long flexible manipulators vibrate due to liquid-solid coupling characteristics and external excitation during operation, which affects operation accuracy and service life, and traditional measurement methods are difficult to effectively measure large-displacement vibrations.
Using a vision-based method, a QR code is placed at the end of the robotic arm, a binocular camera is used to collect images in real time, the end position is measured through visual processing and recognition algorithms, and the joint angle compensation value is calculated based on the inverse kinematics solution to suppress vibration in real time.
It achieves effective measurement and suppression of the vibration of a long flexible manipulator, avoids the interference of traditional sensor installation on the vibration characteristics of the manipulator, provides a non-contact measurement and suppression method that does not require direct installation of a camera, and improves operating accuracy and Equipment life.
Smart Images

Figure CN117961881B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of engineering machinery, and specifically discloses a vision-based long flexible mechanical arm vibration suppression method. Background Art
[0002] In order to solve the problems of long-distance operation and high-altitude operation, large-scale operation equipment such as aircraft shell cleaning vehicles, road aerial work vehicles, and concrete placing machines are usually equipped with large-sized robotic arms with multiple joints. Compared with the extremely rigid robotic arms installed on engineering vehicles such as excavators and loaders, multi-jointed and large-sized robotic arms will produce a certain degree of deformation when performing large-scale construction operations. Therefore, the robotic arms equipped with this type of equipment can be called long flexible robotic arms. Long flexible robotic arms have the characteristics of large operating range and flexible operation, which saves manpower, shortens the operation cycle, and reduces engineering costs. However, there are currently several problems with long flexible arms when performing construction operations, which will affect the operation effect of the long flexible arms.
[0003] When the existing long flexible robotic arms are operating, the arm frame will vibrate to a certain extent due to its own liquid-solid coupling characteristics, the long size of each arm rod and external excitation. This vibration will not only affect the operating accuracy of the long flexible robotic arms, but also have a certain impact on the service life of the whole machine components. More seriously, it may cause some operating accidents. Therefore, it is very important to design a method that can measure the end vibration amplitude in real time and suppress it when the long flexible robotic arms are operating.
[0004] Since most of the vibrations generated by the long flexible robotic arm during its operation are large-displacement vibrations, it is difficult to measure them using sensors such as laser vibrometers and accelerometers, while it is easy to measure the large-displacement vibrations generated by the arm using visual means. Therefore, the present invention combines visual means to measure the vibrations of the long flexible robotic arm during its movement, and combines a control method to suppress the vibrations. Summary of the invention
[0005] In view of the above problems, the present invention provides a method for suppressing vibration of a long flexible robotic arm based on vision. A black QR code is placed on the side of the end of the long flexible robotic arm. When the end of the long flexible robotic arm moves according to a preset trajectory, an image of the movement process of the center point of the QR code is collected by a binocular camera placed on the side of the robotic arm. The QR code placed on the end arm is recognized and tracked in real time using a visual processing and recognition algorithm, and the coordinates (x a ,y a ,z a ). Combined with the positional relationship between the long flexible arm base and the fixed camera, the real-time position of the end relative to the robotic arm coordinate system (x b ,yb ,z b ). The position error of the end of the robot arm caused by vibration is obtained based on the difference between the real-time position of the end of the robot arm and the preset position. Based on the obtained vibration error, the kinematic inverse solution of the robot arm is performed using the iteration method to obtain the compensation value of the joint angle. This angle is used as the real-time input of the compensation signal to achieve the effect of suppressing vibration.
[0006] The technical solution adopted by the present invention is: a vision-based long flexible mechanical arm vibration suppression method, comprising the following steps:
[0007] Step 1: The long flexible robotic arm moves according to a given motion trajectory, and the end position of the long flexible robotic arm is detected based on a binocular camera; when the robotic arm moves under this motion trajectory, the coordinates of the end coordinate point change with time as P(t)=(x(t),z(t)), where x(t) and z(t) are the x-axis and z-axis coordinate values corresponding to the end position at time t in the robotic arm coordinate system, and P(t)=(x(t),z(t)). The preset joint angle change of the robotic arm at time t is θ=(θ1,θ2,...,θ i ,...,θ n );θ i is the angle between the i-1th arm and the i-th arm, and n is the number of joints of the robot arm;
[0008] Step 2: Perform real-time image processing on the left and right images captured by the camera to extract the pixel coordinates of the end position (u1, v1), (u2, v2);
[0009] Step 3: According to the pixel coordinates obtained by the left and right cameras and the camera's intrinsic parameter matrix, the coordinates of the end position (x a ,y a ,z a );
[0010] Step 4: According to the positional relationship between the binocular camera coordinate system and the robotic arm coordinate system, the coordinates of the end position in the robotic arm coordinate system (x b ,y b ,z b );
[0011] Step 5: Compare the coordinates of the end position acquired by vision with the preset coordinates of the end position of the robotic arm. In the robotic arm coordinate system, the coordinate error caused by vibration is Δx;
[0012] Step 6: Combined with the coordinate error Δx caused by vibration, the angle compensation of each joint of the long flexible robotic arm is solved by the iterative method as Δθ=(Δθ1, Δθ2,,...,Δθ i ,...,Δθ n );
[0013] Step 7: Compensate the joint angle compensation amount to the preset joint angle change in step 1, thereby completing the vibration suppression of the long flexible robotic arm.
[0014] Furthermore, in step 1, a QR code is placed at the end of the end arm of the long flexible robotic arm to identify and track the pixel coordinates of the center point of the QR code.
[0015] Furthermore, in step 1, given the known position coordinates of the end of the long flexible arm P(t) = (x(t), z(t)), it can be seen that the relationship between each joint angle and the end coordinates is as follows:
[0016] z(t)=L1×sin(θ1)+L2sin(θ1+θ2)+....+L n sin(θ1+θ2+...+θ i ...+θ n )
[0017] Among them, L n Expressed as n-1, the length between the hinge point of the n-th arm and the end of the n-th arm.
[0018] Furthermore, the left and right cameras of the binocular camera used have the same specifications and models, and the left camera intrinsic parameter matrix T in step 5 is c1 and the right camera intrinsic parameter matrix T c2 for:
[0019]
[0020] Among them, (cx1,cy1) and (c x2 ,c y2 ) are the coordinates of the principal points of the left and right cameras, f x1 、f x2 、f y1 、f y2 are the focal lengths of the two binocular cameras in the x and y directions respectively.
[0021] Furthermore, the coordinates of the end position in the camera coordinate system are obtained as (x a ,y a ,z a )=(x1 / z a ,y1 / z a ,z a ), according to the positional relationship between the camera coordinate system and the robotic arm coordinate system, the end position coordinates in the robotic arm coordinate system are solved as (x b ,y b ,z b ).
[0022] Furthermore, the difference between the end position coordinates collected in real time during the movement of the robot arm in step 5 and the preset end position coordinates is: Δx = (x b (t)-x(t),z b (t)-z(t)).
[0023] Furthermore, the joint angle Θ' after compensation in step 7 is: Θ' = Θ + ΔΘ
[0024] The beneficial effects of the present invention are:
[0025] (1) The vision-based vibration measurement and suppression method of a long flexible robotic arm proposed in the present invention can effectively measure the vibration at the end of the robotic arm and suppress the vibration.
[0026] (2) Compared with traditional vibration measurement methods (sensor measurement methods such as accelerometers), the vision-based method for suppressing vibration of a long flexible robotic arm proposed in the present invention can directly obtain the end position change of the robotic arm caused by vibration based on the parallax principle of a binocular camera.
[0027] (3) The working environment of the long flexible robotic arm is relatively complex. Traditional vibration measurement methods usually require the installation of multiple sets of sensors on the robotic arm. The installation of these sensors will change the inherent vibration characteristics of the robotic arm itself. The machine vision method is used to measure and suppress vibration. This is a non-contact measurement method, so it is not easily affected by a series of noise interference such as arm vibration. This method does not require the camera to be directly installed and contacted with the robotic arm, and will not change the vibration characteristics of the object being measured. The vision-based vibration measurement and suppression method proposed in the present invention is more conducive to the construction operation of the long flexible robotic arm. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Vibration measurement and suppression control flow chart for a long flexible manipulator based on vision
[0029] Figure 2 The flowchart of the method for vibration measurement and suppression of a long flexible manipulator based on vision is shown;
[0030] Figure 3 The coordinate system of the long flexible robotic arm and the constructed visual system and the placement of the QR code;
[0031] Figure 4 This is a rendering of the binocular camera in the present invention detecting and tracking a QR code in real time;
[0032] Figure 5 The principle diagram of converting pixel coordinates into coordinate values in the camera coordinate system mentioned in the present invention. DETAILED DESCRIPTION
[0033] In order to better understand the present invention, the content of the present invention is further explained below in conjunction with the drawings and implementations. However, the content of the present invention is not limited to the following scenarios. The present invention is further explained below in conjunction with the drawings.
[0034] like Figure 1 The present invention proposes a long flexible mechanical arm vibration suppression method based on vision. Taking a mechanical arm with three sets of flexible arms and three sets of hydraulic actuators as an example, the vibration suppression control is performed in combination with visual means. The specific implementation steps of the present invention are as follows:
[0035] The working condition described in the present invention is that when engineering equipment with long flexible mechanical arms, such as aircraft cleaning mechanical arms, aerial work vehicles, and concrete placing machines, move according to a preset trajectory, due to the large size of the mechanical arms themselves and the "liquid-solid coupling" characteristics of the hydraulic mechanical arms, the end of the mechanical arms will produce corresponding vibrations during operation, thereby affecting the operating accuracy of the engineering equipment. Therefore, in order to ensure that the equipment equipped with long flexible mechanical arms can operate accurately at the end during movement, this patent combines visual means to suppress the vibration of the end of the mechanical arm.
[0036] Given the motion trajectory of the end of the flexible robotic arm is P(t) = (x(t), z(t)), and the change of each joint angle of the robotic arm over time when the end of the robotic arm moves according to the preset trajectory is θ = (θ1, θ2, θ3). Given the position coordinates of the end of the long flexible arm P(t) = (x(t), z(t)), it can be known that the relationship between each joint angle and the end coordinates is as follows:
[0037] x(t)=L1×cos(θ1)+L2 cos(θ1+θ2)+...+L n cos(θ1+θ2+...+θ i ...+θ n )
[0038] z(t)=L1×sin(θ1)+L2 sin(θ1+θ2)+...+L n sin(θ1+θ2+...+θ i ...+θ n )
[0039] Among them, L1 is the length between the hinge point of the robot arm base and the hinge point of the first and second arms; L2 is the length between the hinge point of the first and second arms and the hinge point of the second and third arms; L n It is the length between the hinge of the n-1 and n-th arm and the end of the n-th arm.
[0040] like Figure 2 As shown in Figure 1, when the robot arm moves, the rotation of the long flexible arm is not considered, and the midpoint of the binocular camera baseline is the origin of the camera coordinate system A.a , perpendicular to the baseline upward is the z direction of the coordinate system, the baseline is the x direction, and the direction perpendicular to xoz is the y direction; the origin of the long flexible arm coordinate system B is the center of the rotating base, perpendicular to the chassis and vertically upward is the z direction of the coordinate system, the plane where the long flexible arm is located is the oxz plane, and the rotation matrix of the camera coordinate system and the long flexible arm coordinate system is R.
[0041] is the positional relationship between the long flexible robot arm coordinate system and the visual measurement system coordinate system, where the xoy plane of the camera coordinate system A is parallel to the xoz plane of the robot arm coordinate system B. The x-axis of A is parallel to the x-axis of B, the y-axis of coordinate system A is parallel to the z-axis of coordinate system B, and the z-axis of coordinate system A is parallel to the y-axis of coordinate system B. In the world coordinate system, the origin coordinates of coordinate system A are (x A ,y A ,z A ), the coordinates of the center point of coordinate system B are (x B ,y B ,z B ).
[0042] The transformation matrix between the camera coordinate system A and the robot arm coordinate system B is:
[0043]
[0044] When the joints of the robotic arm move at preset angles, a QR code ( Figure 2 ), use the visual system combined with the QR code recognition code to identify and track the center point of the QR code in real time. The pixel coordinates of the center of the QR code in the left and right images are (u1, v1) and (u2, v2) respectively.
[0045] like Figure 3 , Figure 4 As shown, after knowing the pixel coordinates of the center of the QR code posted at the end in the left and right cameras, according to the left and right pixel coordinates and the camera's intrinsic parameter matrix T C , we can solve the coordinates of the center of the QR code in the camera coordinate system. The specific solution process is as follows:
[0046] Convert pixel coordinates to normalized plane coordinates:
[0047] x1=(u1-cx1) / fx1
[0048] y1=(v1-cy1) / fy1
[0049] x2=(u2-cx2) / fx2
[0050] y2=(v2-cy2) / fy2
[0051] Where b is the baseline length, f is the focal length of the camera, and x1 and x2 are the differences in the normalized plane coordinates.
[0052] Calculate the depth value of the QR code center point in the camera coordinate system z a =bf / (x1-x2)
[0053] Calculate the three-dimensional coordinates of the center point of the QR code in the camera coordinate system as (x a ,y a ,z a )=(x1 / z a ,y1 / z a ,z a ).
[0054] Let p A =(x a ,y a ,z a ), p B =(x b ,y b ,z b ), where p A 、p B It is the coordinate of the center point of the QR code (the end point of the robotic arm) in the camera coordinate system and the robotic arm coordinate system.
[0055] From the coordinate relationship between coordinate system A and coordinate system B, we can know that:
[0056]
[0057] Then the center coordinates of the QR code in the robot arm coordinate system are obtained as (x b ,y b ,z b ).
[0058] Since the robot arm is in the xoz plane, the coordinates of the end of the robot arm obtained by actual measurement in the xoz plane are (x b ,z b ).
[0059] When the end of the robot moves at the preset position P(t) = (x(t), z(t)), vibration will cause a deviation between the end position and the preset position. The actual position coordinates of the end in the robot arm coordinate system calculated by the visual system are (x b ,z b ), so the end position deviation caused by vibration is:
[0060] Δx=(x b (t)-x(t),z b (t)-z(t))
[0061] After obtaining the position deviation Δx, the compensated joint angle is solved. Given a simplified planar three-freedom manipulator, its inverse kinematics formula is as follows:
[0062]
[0063] in Represents the Cartesian space velocity of the robot end effector
[0064] X represents the end position of the robot arm, X = (x, y, ψ), ψ is the posture, ψ = θ1 + θ2 + θ3;
[0065] Θ is the joint angle, Θ=(θ1, θ2, θ3) T (rad);
[0066] J * is the pseudo-inverse of the Jacobian matrix J(Θ), J * =J(JJ T +λI) -1 ,J∈R 3×6 ; I = diag (1,1,1); λ is the damping factor;
[0067] J(Θ) is the Jacobian matrix, J(Θ)=[J e (θ),J c (Θ)] T ;
[0068] J e (Θ) is the position Jacobian matrix,
[0069] J c (Θ) is the posture Jacobian matrix,
[0070] In order to achieve vibration suppression of the robot arm, the above inverse kinematics formula can be equivalently expressed as:
[0071] Δθ=J * Δx
[0072] Where Δx is the end position deviation caused by vibration; ΔΘ is the compensation value of the joint angle. Combined with the known end position deviation, the compensation value of the joint angle ΔΘ can be solved.
[0073] After the compensation value of the joint angle is calculated, the joint angle of the robot arm is updated to: Θ'=Θ+ΔΘ, and the updated joint angle is used to control the movement of the end of the robot arm, thereby completing the vibration suppression of the long flexible robot arm.
[0074] The above embodiments are used to illustrate the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.
Claims
1. A vision-based long flexible robotic arm vibration suppression method, characterized in that: The following steps are involved: Step 1: The long flexible robotic arm moves according to a given motion trajectory, and the end position of the long flexible robotic arm is detected based on a binocular camera; when the robotic arm moves under this motion trajectory, the coordinates of the end coordinate point change with time as P(t)=(x(t),z(t)), where x(t) and z(t) are the x-axis and z-axis coordinate values corresponding to the preset end position at time t in the robotic arm coordinate system, and P(t)=(x(t),z(t)). The preset joint angle of the robotic arm at time t is θ=(θ1,θ2,...,θ i ,...,θ n );θ i is the angle between the i-1th arm and the i-th arm, and n is the number of joints of the robot arm; Step 2: Perform real-time image processing on the left and right images captured by the camera to extract the pixel coordinates of the end position (u1, v1), (u2, v2); Step 3: According to the pixel coordinates obtained by the left and right cameras and the camera's intrinsic parameter matrix, the coordinates of the end position (x a ,y a ,z a )=(x1 / z a ,y1 / z a ,z a ); x1 and y1 are the differences of the normalized plane horizontal and vertical coordinates when the pixel coordinates are converted to normalized plane coordinates; Step 4: According to the positional relationship between the binocular camera coordinate system and the robotic arm coordinate system, the coordinates of the end position in the robotic arm coordinate system (x b ,y b ,z b ); Step 5: Compare the coordinates of the end position acquired by vision with the preset coordinates of the end position of the robot arm. In the robot arm coordinate system, the difference between the end coordinates acquired in real time when the robot arm moves due to vibration and the preset end position coordinates is: Δx = (x b (t)-x(t),z b (t)-z(t)); Step 6: Combined with the coordinate error Δx caused by vibration, the angle compensation of each joint of the long flexible robotic arm is solved by the iterative method as Δθ=(Δθ1, Δθ2, ..., Δθ i ,...,Δθ n ); Step 7: The joint angle compensation amount is compensated to the preset joint angle change in step 1. The compensated joint angle Θ' is: Θ'=Θ+ΔΘ, thereby completing the vibration suppression of the long flexible robotic arm.
2. A vision-based long flexible robotic arm vibration suppression method according to claim 1, characterized in that: In step 1, a QR code is placed at the end of the end arm of the long flexible robotic arm to identify and track the pixel coordinates of the center point of the QR code.
3. A vision-based long flexible robotic arm vibration suppression method according to claim 1, characterized in that: In step 1, given the known position coordinates of the end of the long flexible arm P(t) = (x(t), z(t)), it can be seen that the relationship between each joint angle and the end coordinates is as follows: z(t)=L1×sin(θ1)+L2sin(θ1+θ2)+....+L n sin(θ1+θ2+...+θ i ...+θ n ) Among them, L n Expressed as n-1, the length between the hinge point of the n-th arm and the end of the n-th arm.
4. A vision-based long flexible robotic arm vibration suppression method according to claim 1, characterized in that: The left and right cameras of the binocular camera used have the same specifications and models. The left camera intrinsic parameter matrix T in step 5 is c1 and the right camera intrinsic parameter matrix T c2 for: Among them, (cx1,cy1) and (c x2 ,c y2 ) are the coordinates of the principal points of the left and right cameras, f x1 、f x2 、f y1 、f y2 are the focal lengths of the two binocular cameras in the x and y directions respectively.
Citation Information
Patent Citations
Positioning control method and system of flexible mechanical arm based on vision
CN109227538A
Mechanical arm real-time tracking method based on binocular vision guidance
CN112132894A
