Four-degree-of-freedom mechanical arm remote control system and method for operational flying robot
Through the four-degree-of-freedom manipulator remote control system, combined with drones and depth cameras, and using the algorithms of Jacobian pseudo-inverse and Newton iteration methods, the safety and efficiency problems of long-distance operations in complex environments are solved, and the problem of safety and efficiency in long-distance operations in the ocean, high altitude, etc. Stable operation in the environment reduces the risk and cost of manual operations.
Patent Information
- Application Number
- CN202010000903.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-02
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-01-02
AI Technical Summary
In complex and inaccessible environments, existing technology is difficult to achieve efficient and safe long-distance operations. Especially in ocean, high altitude and fire environments, manual operations have safety hazards and high costs.
Using a four-degree-of-freedom robotic arm remote control system, combined with a quad-rotor drone, RealSense depth camera and a four-degree-of-freedom robotic arm, the end effector is grasped and released through the inverse solution algorithm of Jacobian pseudo-inverse and Newton iteration methods. Operation, using wireless communication and image systems for real-time control to ensure stable operation of the robotic arm in complex environments.
It achieves real-time control of long-distance operations in complex environments, reduces personal safety risks, improves operating efficiency, and ensures stable operation of the robotic arm in strange configurations, avoiding the occurrence of multiple solutions.
Smart Images

Figure CN111015673B
Abstract
Description
Technical Field
[0001] The invention relates to the field of dynamic grasping of an operating flying robot, and relates to a four-degree-of-freedom mechanical arm remote control system and method for an operating flying robot. Background Art
[0002] For many complex environments that are inaccessible or difficult to reach, such as marine environments, high altitude environments, fire environments, etc., people need to use certain tools to reach them or it may be dangerous for people to get close. When working in these complex environments, people can use image systems, combined with mechanical automation and human subjective initiative, to remotely operate in real time, which can greatly save costs, improve work efficiency, and ensure personal safety. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a four-degree-of-freedom robotic arm remote control system and method for an operational flying robot.
[0004] To achieve the above object, the present invention adopts the following technical solution:
[0005] A four-degree-of-freedom robotic arm remote control system for an operational flying robot comprises a flying robot and a control terminal; the flying robot comprises a quad-rotor drone, a slave control unit, a RealSense depth camera and a four-degree-of-freedom robotic arm; the four-degree-of-freedom robotic arm is connected to the bottom of the quad-rotor drone; the RealSense depth camera is arranged at the front end of the bottom of the quad-rotor drone.
[0006] Furthermore, the four-degree-of-freedom robotic arm establishes a spatial base coordinate system with the Z-axis of joint 1 in the vertical downward direction, and is composed of an MX-64R servo, including joint 1 rotating around the Z-axis, joints 2 and 3 rotating around the X-axis, and an end effector that can perform grasping and releasing operations, thereby realizing the grasping and releasing of the end effector as the fourth degree of freedom.
[0007] Furthermore, the connecting frames at the joints 1, 2, 3 and the end effector are 3D printed with special lightweight materials, and the standard connecting parts are aluminum alloy connecting parts.
[0008] Furthermore, the slave control unit adopts an ArduinomegaADK slave controller, and the four-degree-of-freedom robotic arm utilizes a MAX485 module to realize half-duplex asynchronous serial port communication with the ArduinomegaADK slave controller.
[0009] Furthermore, the control terminal is wirelessly connected to the slave control unit via a zigbee module.
[0010] A control method for a four-degree-of-freedom mechanical arm teleoperation system of a flying robot comprises the following steps:
[0011] Step S1: The control terminal detects the remote working environment in real time through the RealSense depth camera;
[0012] Step S2: Click the point to be grasped on the image system in real time, and the main end window control system extracts the contour of the object represented by the point, extracts feature points using the contour as the recognition feature, and obtains the three-dimensional pose estimation point;
[0013] Step S3: using the inverse solution algorithm improved by the Jacobi pseudo-inverse and Newton iteration method, based on the current spatial posture of the four-degree-of-freedom manipulator, calculate the optimal solution for the end effector to continuously and smoothly move to the target point without jumping;
[0014] Step S4: Transmit each turning angle information to the slave control unit via Zigbee, and the slave control unit feeds back a signal to the control terminal;
[0015] Step S5: The slave control unit controls the end effector to grasp or release the target object.
[0016] Furthermore, the step S2 is specifically as follows:
[0017] Step S21: extracting the outline of the target object through the RealSense depth camera;
[0018] Step S22: using the contour of the target object as the identification feature of the target object, and extracting the center point of the contour;
[0019] Step S23: The RealSense depth camera and the four-degree-of-freedom robotic arm are stereo calibrated, and the target object is reconstructed in three dimensions to achieve spatial positioning of the target object and obtain three-dimensional pose estimation points.
[0020] Furthermore, the four-degree-of-freedom robot arm (3) DH is modeled as follows:
[0021] Get the DH parameters of the four-degree-of-freedom robot, including a i , α i ,d i and θ i ,
[0022] where a i Indicates along Axis, from Move to The distance; α i Indicates winding Axis, from Rotate to Angle; d i Indicates along Axis, from Move to The distance; θ i Indicates winding Axis, from Rotate to Angle
[0023] The transformation matrix of the link coordinate system {i} relative to the coordinate system {i-1} is listed by the DH parameters of the four-degree-of-freedom manipulator (3):
[0024]
[0025] Among them, Rot(z i-1 ,θ i ) represents the winding z i-1 Axis rotation θ i Angle; Trans(z i-1 ,d i ) represents the direction along z i-1 Axis movement d i Distance; Trans(x i ,a i ) indicates that along x i Axis movement a i Distance; Rot(x i ,a i ) represents the rotation around x i Axis rotation α i angle;
[0026] According to the matrix transformation relationship (1), for each set of rotation angles of joint 1 (4), joint 2 (5), and joint 3 (6), the spatial sitting posture of the end effector (7) relative to the base coordinates can be uniquely calculated as:
[0027]
[0028] Combined with formula (2), the end position of the four-degree-of-freedom robot (3) is given by
[0029]
[0030] There are multiple solutions when back-calculating the joint angle of each joint;
[0031] In the process of solving the problem, the idea of Newton's iteration method is continued, and the result of the nth solution is used as the initial value of the n+1th iteration. The differential motion vector of the four-degree-of-freedom manipulator (3) is:
[0032]
[0033] Where d corresponds to the differential translation of the joint; δ corresponds to the differential rotation vector of the joint; J(θ) is a 6×3 Jacobian matrix relative to the base coordinate system;
[0034] The differential in equation (4) can be expressed as D = J(θ)Δθ (5)
[0035] From Δθ=θ n+1 -θ n The basic form of establishing Newton's iteration method is:
[0036] θ n+1 =θ n +J -1 (θ n )D n (6)
[0037] The differential motion can also be expressed as the current posture T cur Move to the target position T end :
[0038] T end =T cur (I+Δ)
[0039] Right now
[0040] Where I is the unit diagonal matrix;
[0041] Combined with formula (7), according to the differential transformation operator
[0042] Δ=Trans(dx,dy,dz)Rot(k,dθ)-I (8)
[0043] The differential motion vector is obtained as:
[0044] D=[d x d y d z δ x δ y δ z ] T (9).
[0045] Furthermore, in order to avoid the phenomenon that the four-degree-of-freedom manipulator cannot be solved at a singular configuration, the Jacobian pseudo-inverse matrix J is used in the iteration process. + (θ n ) instead of its inverse matrix J -1 (θ n ), as follows:
[0046] Step 1: During the iteration process, if the initial value deviates from the root θ of θ0, the Newton iteration rule may diverge. To ensure monotonicity, add the Newton downhill method algorithm:
[0047] ||D(θ k+1 )||<||D(θ k )|| (10)
[0048] The initial downhill factor is λ=1, and λ is gradually reduced by half until equation (10) is satisfied;
[0049] Step 2: During the iteration process, there is a Jacobian matrix J(θ n ) may not exist, use its generalized inverse J + (θ n ) is substituted, and the iteration formula is:
[0050] θ n+1 =θ n +λJ + (θ n )D n (11)
[0051] Where 0<λ≤1;
[0052] Step 3: For the solution of singular configurations, continuing the iterative method may cause the Jacobian matrix to be irreversible. For this reason, the result of the previous iteration is fine-tuned, that is,
[0053] θ0=θ0+σ (12)
[0054] The value of σ is a small angle;
[0055] Step 4: Add preset constraints to the rotation range of each joint angle according to the mechanical structure of the four-degree-of-freedom robotic arm to ensure that the four-degree-of-freedom robotic arm is not damaged.
[0056] Compared with the prior art, the present invention has the following beneficial effects:
[0057] The present invention realizes functions by transmitting two-way information feedback, and can perform real-time long-distance operations in certain complex environments that are inaccessible or difficult for humans to reach. At the same time, the robotic arm can work offline to complete command tasks in real time. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is a structural diagram of the working flying robot of the present invention;
[0059] Figure 2 is a control flow chart in one embodiment of the present invention;
[0060] Figure 3 is a flow chart of an improved inverse solution algorithm based on Jacobi pseudo-inverse and Newton iteration method in one embodiment of the present invention;
[0061] Figure 4 1. is a diagram of a control terminal of a four-degree-of-freedom mechanical arm teleoperation system of an operational flying robot in one embodiment of the present invention;
[0062] In the figure, 1-quadrotor drone, 2-RealSense depth camera, 3-four-degree-of-freedom robotic arm, 4-joint 1, 5-joint 2, 6-joint 3, 7-end effector. DETAILED DESCRIPTION
[0063] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0064] Please refer to Figure 1 The present invention provides a four-degree-of-freedom mechanical arm remote control system for an operational flying robot, comprising a flying robot and a control terminal; the flying robot comprises a quad-rotor drone, a slave control unit, a RealSense depth camera and a four-degree-of-freedom mechanical arm; the four-degree-of-freedom mechanical arm is connected to the bottom of the quad-rotor drone; the RealSense depth camera is arranged at the front end of the bottom of the quad-rotor drone. The four-degree-of-freedom mechanical arm establishes a spatial base coordinate system with the Z axis of joint 1 in the vertical downward direction, and is composed of an MX-64R servo, including joint 1 rotating around the Z axis, joints 2 and 3 rotating around the X axis, and an end effector capable of grasping and releasing, so as to realize the grasping and releasing of the end effector as the fourth degree of freedom.
[0065] In this embodiment, the joints 1, 2, 3 and the connecting frame at the end effector are 3D printed with special lightweight materials. Standard connectors are made of aluminum alloy.
[0066] In this embodiment, the slave control unit adopts an ArduinomegaADK slave controller, and the four-DOF robotic arm uses a MAX485 module to realize half-duplex asynchronous serial communication with the Arduinomega ADK slave controller.
[0067] In this embodiment, the control terminal is wirelessly connected to the slave control unit through a Zigbee module. The function is realized by transmitting two-way information feedback. The operator operates the master controller and transmits signals to the slave control unit through the image system to realize remote real-time operation tasks. At the same time, the slave control unit can feedback real-time signals to the master window control terminal. The master window control terminal adds the function of remote operation of the end effector in the working space. Its functional principle is that the master control system transmits Δx, Δy, and Δz increments to the slave control system through the Zigbee module wireless transparent transmission. The slave control unit receives the increments and maps them to the terminal space to obtain the terminal posture. The inverse solution algorithm and the minimum path method based on the improved Jacobi pseudo-inverse and Newton iteration method are used to solve the terminal posture into the actual rotation angle of each joint, and the four-degree-of-freedom robotic arm is controlled to realize remote real-time teleoperation.
[0068] A control method for a four-degree-of-freedom mechanical arm teleoperation system of an operational flying robot comprises the following steps:
[0069] Step S1: The control terminal detects the remote working environment in real time through the RealSense depth camera;
[0070] Step S2: Click the point to be grasped on the image system in real time, and the main end window control system extracts the contour of the object represented by the point, extracts feature points using the contour as the recognition feature, and obtains the three-dimensional pose estimation point;
[0071] Step S3: using the inverse solution algorithm improved by the Jacobi pseudo-inverse and Newton iteration method, based on the current spatial posture of the four-degree-of-freedom manipulator, calculate the optimal solution for the end effector to continuously and smoothly move to the target point without jumping;
[0072] Step S4: Transmit each turning angle information to the slave control unit via Zigbee, and the slave control unit feeds back a signal to the control terminal;
[0073] Step S5: The slave control unit controls the end effector to grasp or release the target object.
[0074] In this embodiment, step S2 is specifically as follows:
[0075] Step S21: extracting the outline of the target object through the RealSense depth camera;
[0076] Step S22: using the contour of the target object as the identification feature of the target object, and extracting the center point of the contour;
[0077] Step S23: The RealSense depth camera and the four-degree-of-freedom robotic arm are stereo calibrated, and the target object is reconstructed in three dimensions to achieve spatial positioning of the target object and obtain three-dimensional pose estimation points.
[0078] Furthermore, the four-degree-of-freedom robot arm (3) DH is modeled as follows:
[0079] link <![CDATA[α i / (°)]]> <![CDATA[a i / (mm)]]> <![CDATA[d i / (mm)]]> <![CDATA[θ i ]]> Joint range 1 -90 <![CDATA[a1]]> <![CDATA[d1]]> <![CDATA[θ1]]> [-80°,80°] 2 0 <![CDATA[a2]]> 0 <![CDATA[θ2]]> [-170°,-10°] 3 90 <![CDATA[a3]]> 0 <![CDATA[θ3]]> [-130°,-130°]
[0080] where a i Indicates along Axis, from Move to The distance; α i Indicates winding Axis, from Rotate to Angle; d i Indicates along Axis, from Move to The distance; θ i Indicates winding Axis, from Rotate to Angle
[0081] The transformation matrix of the link coordinate system {i} relative to the coordinate system {i-1} is listed by the DH parameters of the four-degree-of-freedom manipulator (3):
[0082]
[0083] Among them, Rot(z i-1 ,θ i ) represents the winding z i-1 Axis rotation θ i Angle; Trans(z i-1 ,d i ) represents the direction along z i-1 Axis movement d i Distance; Trans(x i ,a i ) indicates that along x i Axis movement a i Distance; Rot(x i ,a i ) represents the rotation around x i Axis rotation α i angle;
[0084] According to the matrix transformation relationship (1), for each set of rotation angles of joint 1 (4), joint 2 (5), and joint 3 (6), the spatial sitting posture of the end effector (7) relative to the base coordinates can be uniquely calculated as:
[0085]
[0086] Combined with formula (2), the end position of the four-degree-of-freedom robot (3) is given by
[0087]
[0088] There are multiple solutions when back-calculating the joint angle of each joint;
[0089] In the process of solving the problem, the idea of Newton's iteration method is continued, and the result of the nth solution is used as the initial value of the n+1th iteration. The differential motion vector of the four-degree-of-freedom manipulator (3) is:
[0090]
[0091] Where d corresponds to the differential translation of the joint; δ corresponds to the differential rotation vector of the joint; J(θ) is a 6×3 Jacobian matrix relative to the base coordinate system;
[0092] The differential in equation (4) can be expressed as D = J(θ)Δθ (5)
[0093] From Δθ=θn+1 -θ n The basic form of establishing Newton's iteration method is:
[0094] θ n+1 =θ n +J -1 (θ n )D n (6)
[0095] The differential motion can also be expressed as the current posture T cur Move to the target position T end :
[0096] T end =T cur (I+Δ)
[0097] Right now
[0098] Where I is the unit diagonal matrix;
[0099] Combined with formula (7), according to the differential transformation operator
[0100] Δ=Trans(dx,dy,dz)Rot(k,dθ)-I (8)
[0101] The differential motion vector is obtained as:
[0102] D=[d x d y d z δ x δ y δ z ] T (9).
[0103] In this embodiment, in order to avoid the phenomenon that the four-degree-of-freedom manipulator cannot be solved at a singular configuration, the Jacobian pseudo-inverse matrix J is used in the iteration process. + (θ n ) instead of its inverse matrix J -1 (θ n ), as follows:
[0104] Step 1: During the iteration process, if the initial value deviates from the root θ of θ0, the Newton iteration rule may diverge. To ensure monotonicity, add the Newton downhill method algorithm:
[0105] ||D(θ k+1 )||<||D(θ k )|| (10)
[0106] The initial downhill factor is λ=1, and λ is gradually reduced by half until equation (10) is satisfied;
[0107] Step 2: During the iteration process, there is a Jacobian matrix J(θ n ) may not exist, use its generalized inverse J + (θ n ) is substituted, and the iteration formula is:
[0108] θ n+1 =θ n +λJ + (θ n )D n (11)
[0109] Where 0<λ≤1;
[0110] Step 3: For the solution of singular configurations, continuing the iterative method may cause the Jacobian matrix to be irreversible. For this reason, the result of the previous iteration is fine-tuned, that is,
[0111] θ0=θ0+σ (12)
[0112] The value of σ is a small angle;
[0113] Step 4: Add preset constraints to the rotation range of each joint angle according to the mechanical structure of the four-degree-of-freedom robotic arm to ensure that the four-degree-of-freedom robotic arm is not damaged.
[0114] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
Claims
1. A four-degree-of-freedom robotic arm teleoperation system for an operational flying robot. It is characterized in that It includes a flying robot and a control terminal; the flying robot includes a quad-rotor drone, a slave control unit, a RealSense depth camera and a four-degree-of-freedom robotic arm; the four-degree-of-freedom robotic arm is connected to the bottom of the quad-rotor drone; the RealSense depth camera is arranged at the front end of the bottom of the quad-rotor drone; the four-degree-of-freedom robotic arm is composed of an MX-64R servo, including a joint 1 rotating around the Z axis, joints 2 and 3 rotating around the X axis and an end effector capable of grasping and releasing, so that the end effector grasps and releases as the fourth degree of freedom; The control method of the four-degree-of-freedom mechanical arm remote control system of the working flying robot comprises the following steps: Step S1: The control terminal detects the remote working environment in real time through the RealSense depth camera; Step S2: Click the point to be grasped on the image system in real time, and the main end window control system extracts the contour of the object represented by the point, extracts feature points using the contour as the recognition feature, and obtains the three-dimensional pose estimation point; Step S3: using the inverse solution algorithm improved by the Jacobi pseudo-inverse and Newton iteration method, based on the current spatial posture of the four-degree-of-freedom manipulator, calculate the optimal solution for the end effector to continuously and smoothly move to the target point without jumping; Step S4: Transmit each turning angle information to the slave control unit via Zigbee, and the slave control unit feeds back a signal to the control terminal; Step S5: The slave control unit controls the end effector to grasp or release the target object; The step S2 is specifically as follows: Step S21: extracting the outline of the target object through the RealSense depth camera; Step S22: using the contour of the target object as the identification feature of the target object, and extracting the center point of the contour; Step S23: calibrate the RealSense depth camera and the four-degree-of-freedom robotic arm in stereo, and perform three-dimensional reconstruction of the target object to achieve spatial positioning of the target object and obtain three-dimensional pose estimation points; The modeling of the four-degree-of-freedom manipulator DH is as follows: Get the DH parameters of the four-degree-of-freedom robot, including a i , α i d i and θ i , where a i Indicates along Axis, from Move to The distance; α i Indicates winding Axis, from Rotate to Angle; d i Indicates along Axis, from Move to The distance; θ i Indicates winding Axis, from Rotate to Angle The transformation matrix of the link coordinate system {i} relative to the coordinate system {i-1} is listed by the DH parameters of the four-degree-of-freedom robot: Among them, Rot(z i-1 ,θ i ) represents the winding z i-1 Axis rotation θ i Angle; Trans(z i-1 ,d i ) represents the direction along z i-1 Axis movement d i Distance; Trans(x i ,a i ) indicates that along x i Axis movement a i Distance; Rot(x i ,a i ) represents the rotation around x i Axis rotation α i angle; According to the matrix transformation relationship (1), for each set of rotation angles of joint 1, joint 2, and joint 3, the spatial pose of the end effector relative to the base coordinates can be uniquely calculated as: Combined with formula (2), the end position of the four-degree-of-freedom manipulator is given by There are multiple solutions when back-calculating the joint angle of each joint; In the process of solving, the idea of Newton's iteration method is continued, and the result of the nth solution is used as the initial value of the n+1th iteration. The differential motion vector of the four-degree-of-freedom manipulator is: Where d corresponds to the differential translation of the joint; δ corresponds to the differential rotation vector of the joint; J(θ) is a 6×3 Jacobian matrix relative to the base coordinate system; The differential in equation (4) can be expressed as D=J(θ)Δθ (5) From Δθ=θ n+1 -θ n The basic form of establishing Newton's iteration method is: i n+1 =θ n +J -1 (i n )D n (6) The differential motion can also be expressed as the current posture T cur Move to the target position T end : T end =T cur (I+Δ) Right now Where I is the unit diagonal matrix; Combined with formula (7), according to the differential transformation operator Δ=Trans(dx,dy,dz)Rot(dθ)-I (8) The differential motion vector is obtained as: D=[d x d y d z d x d y d z ] T (9); In order to avoid the phenomenon that the four-degree-of-freedom manipulator cannot be solved at a singular configuration, the Jacobian pseudo-inverse matrix J is used in the iteration process. + (θ n ) instead of its inverse matrix J -1 (θ n ), as follows: Step 1: During the iteration process, if the initial value deviates from θ 0 The root θ sought may diverge from the Newton iteration rule. To ensure monotonicity, the Newton downhill method is added: ||D(θ n+1 )||<||D(θ n )|| (10) The initial downhill factor is λ=1, and λ is gradually reduced by half until equation (10) is satisfied; Step 2: During the iteration process, there is a Jacobian matrix J(θ n ) may not exist, use its generalized inverse J + (θ n ) is substituted, and the iteration formula is: i n+1 =θ n +λJ + (i n )D n (11) Where 0<λ≤1; Step 3: For the solution of singular configurations, continuing the iterative method may cause the Jacobian matrix to be irreversible. For this reason, the result of the previous iteration is fine-tuned, that is, i 0 =θ 0 +s (12) The value of σ is a small angle; Step 4: Adding preset constraints to the rotation range of each joint angle according to the mechanical structure of the four-degree-of-freedom robotic arm to ensure that the four-degree-of-freedom robotic arm is not damaged; The connecting frames at the joints 1, 2, 3 and the end effector are 3D printed with lightweight materials, and the standard connecting parts are aluminum alloy connecting parts.
2. A four-degree-of-freedom mechanical arm teleoperation system for an operational flying robot according to claim 1, Features: The slave control unit adopts an Arduino megaADK slave controller, and the four-degree-of-freedom robotic arm utilizes a MAX485 module to realize half-duplex asynchronous serial port communication with the Arduino mega ADK slave controller.
3. The four-degree-of-freedom mechanical arm teleoperation system of the working flying robot according to claim 1, Features: The control terminal is wirelessly connected to the slave control unit via a zigbee module.
