Screw-based seven-degree-of-freedom robot arm joint angle solving method and related device

By combining spinor theory with the Paden-Kahan subproblem, the inverse kinematics of a seven-DOF manipulator is solved in the form of a Paden-Kahan subproblem. This solves the problems of complex modeling and low solution efficiency in existing technologies, and achieves efficient and accurate joint angle solutions.

CN120030264BActive Publication Date: 2026-11-27HANGZHOU INNOVATION RES INST OF BEIJING UNIV OF AERONAUTICS & ASTRONAUTICS +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510105977.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2026-11-27
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

Existing technologies make it difficult to directly apply screw theory to solve the analytical inverse kinematics of a seven-DOF manipulator, resulting in complex modeling and low solution efficiency.

Method used

By employing spinor theory and the Paden-Kahan subproblem form, the forward kinematic equations are transformed into Paden-Kahan subproblems for solution, and the rotation angle of each joint is obtained through preset configuration parameter constraints.

Benefits of technology

The inverse kinematics solution process is simplified, improving efficiency and accuracy, and ensuring accurate calculation of joint angles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030264B_ABST
    Figure CN120030264B_ABST
Patent Text Reader

Abstract

The application provides a kind of solving method of joint angle of seven-degree-of-freedom robot arm based on screw and related device, and relates to the field of robot.The electronic device obtains the forward kinematics equation of the robot arm based on screw and the end pose of the robot arm.The forward kinematics equation is converted into the Paden-Kahan subproblem form to solve the end pose, and the rotation angle of each joint under the constraint of the preset configuration parameter is obtained.In this way, by introducing the screw theory and the Paden-Kahan subproblem solving technology, the complex inverse kinematics solving process is simplified, the solving efficiency and accuracy are improved, and the accurate solution of each joint angle is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of robotics, and more specifically, to a method and related apparatus for solving the joint angles of a seven-DOF robotic arm based on spinors. Background Technology

[0002] In recent years, seven-DOF robotic arms have become a research hotspot in robotics, demonstrating broad application prospects in various fields such as human-robot collaboration, medical surgery, automotive painting, and aerospace. The kinematic model of a robotic arm describes the mapping relationship between joint space and task space, including forward kinematics solutions and inverse kinematics solutions. Compared with forward kinematics solutions, solving inverse kinematics solutions is more complex and is the core problem in robotic arm kinematics modeling. Currently, the most commonly used method for robot kinematics modeling is the Denavit-Hartenberg (DH) method.

[0003] However, kinematic modeling of robotic arms based on the DH method has certain limitations. First, DH parameters are closely related to the specific configuration of the robotic arm, making it difficult to construct a unified robotic arm model. Second, the modeling process requires establishing local coordinate systems at each joint and analyzing the relative motion relationships between adjacent coordinate systems, a process that is not only complex but also lacks intuitive geometric interpretation. In recent years, screw theory has been increasingly widely used in kinematic modeling of robotic arms, parallel robots, and CNC machine tools. Compared with the DH method, the screw theory method only requires establishing a global coordinate system fixed to the base and a tool coordinate system fixed to the end flange. By using the topological information of each joint in the global coordinate system, the motion of the robotic arm can be clearly described in the global coordinate system. This method not only effectively avoids the singularity problem that may be caused by using local coordinate systems but also significantly simplifies the number of coordinate systems, making the kinematic modeling process more concise and clear. In the process of solving the inverse kinematics solution, the screw theory method can clearly define the conditions for the generation of multiple solutions and the number of solutions, thereby simplifying the selection process.

[0004] In practice, it has been found that although screw theory has many advantages, its three fundamental subproblems are only applicable to manipulators with specific configurations and cannot directly solve for the analytical inverse kinematics of a seven-DOF manipulator. Therefore, few studies have applied screw theory to the analytical inverse kinematics of a seven-DOF manipulator. Summary of the Invention

[0005] To overcome at least one deficiency in the prior art, this application provides a method and related apparatus for solving the joint angles of a seven-DOF robotic arm based on rotation, specifically including:

[0006] In a first aspect, this application provides a method for solving the joint angles of a seven-DOF robotic arm based on spinor, the method comprising:

[0007] Obtain the positive kinematic equations of the robotic arm based on spinor and the end effector pose of the robotic arm;

[0008] The forward kinematic equations are converted into Paden-Kahan subproblems to solve for the end-effector pose, thereby obtaining the rotation angle of each joint under the constraints of preset configuration parameters.

[0009] Secondly, this application provides a device for solving the joint angles of a seven-DOF robotic arm based on spinor, the device comprising:

[0010] The data acquisition module is used to acquire the positive kinematic equation of the robotic arm based on spinor and the end-effector pose of the robotic arm;

[0011] The inverse angle module is used to convert the forward kinematic equations into Paden-Kahan subproblems to solve the end pose, and obtain the rotation angle of each joint under the constraints of preset configuration parameters.

[0012] Thirdly, this application also provides a storage medium storing a computer program, which, when executed by a processor, implements the aforementioned method for solving the joint angles of a seven-DOF robotic arm based on spinors.

[0013] Fourthly, this application also provides an electronic device, which includes a processor and a memory. The memory stores a computer program, and when the computer program is executed by the processor, it implements the aforementioned method for solving the joint angles of a seven-degree-of-freedom robotic arm based on spinors.

[0014] Compared with the prior art, this application has the following beneficial effects:

[0015] This application provides a method and related apparatus for solving the joint angles of a seven-DOF robotic arm based on screws. The electronic device acquires the forward kinematics equations of the robotic arm based on screws and the end effector pose. The forward kinematics equations are converted into a Paden-Kahan subproblem form to solve for the end effector pose, obtaining the rotation angle of each joint under preset configuration parameter constraints. Thus, by introducing screw theory and Paden-Kahan subproblem solving techniques, the complex inverse kinematics solution process is simplified, improving solution efficiency and accuracy, and ensuring accurate solution of each joint angle. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 A flowchart illustrating the method for solving the joint angles of a seven-DOF robotic arm based on spinor provided in this application embodiment;

[0018] Figure 2 A schematic diagram of a seven-degree-of-freedom robotic arm with an SRS configuration provided in an embodiment of this application;

[0019] Figure 3 A schematic diagram of the arm angle of a seven-DOF robotic arm with an SRS configuration provided in an embodiment of this application;

[0020] Figure 4 A schematic diagram of the structure of the seven-DOF robotic arm joint angle solving device based on spinor provided in the embodiments of this application;

[0021] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0023] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0024] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0025] In the description of this application, it should be noted that the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0026] Based on the above statement, as introduced in the background technology, although spinor theory has many advantages, the three basic subproblems of spinor theory are only applicable to manipulators with specific configurations, and therefore cannot directly solve the analytical inverse kinematics solution of a seven-DOF manipulator.

[0027] Based on the discovery of the aforementioned technical problems, the inventors, through creative labor, proposed the following technical solutions to solve or improve these problems. It should be noted that the deficiencies in the solutions of the prior art are the result of the inventors' practical experience and careful research. Therefore, the discovery process of the aforementioned problems and the solutions proposed in the embodiments of this application below should be considered contributions made by the inventors to this application during the inventive process, and should not be construed as technical content known to those skilled in the art.

[0028] Therefore, embodiments of this application (hereinafter referred to as "this embodiment") provide a method for solving the joint angles of a seven-DOF robotic arm based on spinor. For example... Figure 1 As shown, the method includes:

[0029] S1, obtain the forward kinematic equations of the robotic arm based on spinor and the end effector pose of the robotic arm.

[0030] S2 transforms the forward kinematic equations into a Paden-Kahan subproblem to solve for the end-effector pose, obtaining the rotation angle of each joint under the constraints of the preset configuration parameters.

[0031] Thus, by introducing spinor theory and Paden-Kahan subproblem solving techniques, the complex inverse kinematics solution process is simplified, the solution efficiency and accuracy are improved, and the accurate solution of each joint angle is ensured.

[0032] It is worth noting that the electronic device implementing the spinor-based seven-DOF robotic arm joint angle solution method can be, but is not limited to, a controller custom-developed for the robotic arm (e.g., an embedded device), or a host computer capable of communicating with the robotic arm's controller, issuing control commands to the controller. This host computer can be, but is not limited to, a mobile terminal, tablet computer, laptop computer, desktop computer, etc.

[0033] To make the solution provided in this embodiment clearer, the following uses the host computer as an example to illustrate... Figure 1 Each step of the method shown is described in detail. However, it should be understood that the operations in the flowchart may not be implemented in sequence, and steps without logical contextual relationships may be reversed in order or implemented simultaneously. Furthermore, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowchart, or remove one or more operations from the flowchart. Therefore, please refer to [link to relevant documentation]. Figure 1 The method includes:

[0034] S1, obtain the forward kinematic equations of the robotic arm based on spinor and the end effector pose of the robotic arm.

[0035] It should be understood that screw is a mathematical tool used to describe the motion of rigid bodies. Combining linear and angular velocities, screw can concisely represent the translational and rotational motions of a rigid body. Screw theory provides a convenient framework for handling the joint motions of robotic arms, the pose control of end effectors, and the kinematics of multi-rigid-body systems. Taking a screw as an example, when tightening a screw, the screw simultaneously rotates and translates: rotation is about its axis, while translation is forward motion along the axis. Screw is precisely the tool that combines these two types of motion to describe them.

[0036] To make the following embodiments easier to understand, the following explanation uses a seven-DOF robotic arm with an SRS configuration as an example. Figure 2 As shown in the figure, the global coordinate system is represented by {G}, the tool coordinate system is represented by {T}, and ω i (i = 1, 2, ..., 7) is a unit vector along the positive direction of the axes of the robotic arm's joints, r i (i = 1, 2, ..., 7) are the coordinates of any point on the joint axis.

[0037] based on Figure 2 The modeling process of the seven-DOF robotic arm with the SRS configuration shown is as follows:

[0038] The basic units of kinematic modeling based on spinor theory are the spinor ξ and the matrix exponential expression of spinor motion. The rotational rotation of a joint can be expressed as:

[0039]

[0040] In the formula v i =r i ×ω i ω i r is a unit vector along the positive direction of the axis of joint i (hereinafter referred to as the i-th joint; a larger value of i indicates that it is closer to the end of the robotic arm, and i is a positive integer ≤ 7). i Let be any point on the axis of the i-th joint in the global coordinate system. Then the matrix exponent expression for the spinor of the i-th joint is:

[0041]

[0042] In the formula, θ i I is the rotation angle of the i-th joint. 3×3 It is a 3×3 identity matrix. The operator "^" indicates that ω i ∈R 3 Mapped to From this, we can obtain the matrix exponential expression for the twist of each joint. The forward kinematics equation of the seven-DOF robotic arm can then be expressed as:

[0043]

[0044] In the formula, g st (0) is the initial pose of the tool coordinate system relative to the global coordinate system.

[0045] also, Figure 2 The seven-DOF robotic arm shown also possesses unique self-motion characteristics. See [link / reference] Figure 3 The diagram shown is a simplified representation. With the end effector pose fixed, links SE and EW can rotate continuously around the straight line SW. Taking plane BSW as the reference plane, when θ3 = 0, the robot arm plane BSE... V When W coincides with the reference plane, the seven-DOF robotic arm degenerates into a six-DOF virtual robotic arm. Plane SEW and plane SE V The angle between W and W is defined as the arm angle ψ. Furthermore, a configuration parameter GC is introduced to control the global manifold of the robotic arm. k This specifies the branch for the inverse kinematics solution. The configuration parameters of the second joint are called the first configuration parameters, denoted as GC2. The configuration parameters of the second virtual joint of the virtual robotic arm are called the virtual configuration parameters, denoted as GC. 2v The configuration parameters of the fourth joint are called the second configuration parameters, denoted as GC4, and the configuration parameters of the sixth joint are called the third configuration parameters, denoted as GC6.

[0046] It should be understood that configuration parameters are parameters used to describe the geometric configuration or branch selection of a robotic arm in a specific motion state. Their main function is to help determine the unique solution for the robotic arm in inverse kinematics, especially when multiple solutions exist. Due to the redundancy of a seven-DOF robotic arm, its inverse kinematics typically has an infinite number of solutions. The role of arm angles and configuration parameters is to narrow down the range of solutions by specifying certain conditions, thereby selecting a specific solution that meets the task requirements.

[0047] Based on the above embodiments' explanation of the forward kinematics equations, virtual robotic arm, and configuration parameters, the following will continue with... Figure 1 Step S2 will be explained below:

[0048] S2 transforms the forward kinematic equations into a Paden-Kahan subproblem to solve for the end-effector pose, obtaining the rotation angle of each joint under the constraints of the preset configuration parameters.

[0049] Regarding the Paden-Kahan subproblems, it should be understood that they are a method for solving complex inverse kinematics problems in robotic arm kinematics, and are divided into three types: subproblem 1 deals with motion on a single rotational or translational axis, subproblem 2 deals with the angle between two rotational axes, and subproblem 3 deals with more complex geometric relationships. In this embodiment, by applying these subproblems, the inverse kinematics problem of a seven-DOF robotic arm can be effectively simplified and decomposed. That is, when solving for the angle of the fourth joint, subproblem 3 is used to handle specific geometric relationships, while when solving for the angles of the first, second, and third joints, subproblems 1 and 2 are used to handle different rotational and translational motions, thereby greatly simplifying the solution process and making the kinematic modeling of the robotic arm more efficient and accurate.

[0050] In this embodiment, the seven joints of the robotic arm are referred to as the i-th joint, where a larger value of i indicates that it is closer to the end of the robotic arm, and i is a positive integer ≤ 7. Furthermore, the robotic arm, after its arm surface is aligned with the reference plane, is degenerated into a six-degree-of-freedom virtual robotic arm. The arm surface is the plane formed by the shoulder, elbow, and wrist of the robotic arm, and the reference plane is the plane formed by the base, shoulder, and wrist of the robotic arm. The six joints of the virtual robotic arm are referred to as the n-th virtual joint, where a larger value of n indicates that it is closer to the end of the robotic arm, and n is a positive integer ≤ 7 and n ≠ 3. Except for the third joint, the joints of the virtual robotic arm correspond one-to-one with the joints of the seven-degree-of-freedom robotic arm. For example, the first virtual joint of the virtual robotic arm corresponds to the first joint of the seven-degree-of-freedom robotic arm, and the second virtual joint of the virtual robotic arm corresponds to the second joint of the seven-degree-of-freedom robotic arm. Other correspondences can be obtained by analogy, which will not be elaborated upon in this embodiment.

[0051] In addition, the aforementioned preset configuration parameters include the first configuration parameters of the second joint, the second configuration parameters of the fourth joint, the third configuration parameters of the sixth joint, and the virtual configuration parameters of the second virtual joint.

[0052] Based on the above description of the robotic arm, virtual robotic arm, and preset configuration parameters, step S2 may include:

[0053] S2-1, by using the end pose, the forward kinematic equations are transformed into a Paden-Kahan subproblem of the third kind for solution, and the rotation angle of the fourth joint under the constraint of the second configuration parameter is obtained.

[0054] The expression for the rotation angle of the fourth joint is:

[0055]

[0056] In the formula, θ4 represents the rotation angle of the fourth joint, and θ0 = atan2(ω4) T (u1'×v1'),u1' T v1'), δ' 2 =δ 2 -|ω4 T (p1-q1)| 2 , δ=||g1r6-r2||, p1=r6, q1=r2, g1=g st (θ i )*g st (0) -1 GC4 represents the second configuration parameter, ω4 represents the unit vector in the positive direction of the fourth joint, r6 represents any point on the axis of the sixth joint, r2 represents any point on the axis of the second joint, and g st (0) indicates the initial pose of the end-effector coordinate system relative to the global coordinate system, g st (θ i ) represents the terminal pose.

[0057] The derivation process of the rotation angle of the fourth joint will be explained next:

[0058] It should be understood that during the self-motion of the seven-DOF robotic arm, the angle of the fourth joint (elbow joint) remains unchanged; therefore, this embodiment first solves for the angle of the fourth joint. Given the end-effector pose g of the robotic arm... st (θ i Then, multiply both sides of the forward kinematic equation by g on the right. st (0) -1 We can obtain:

[0059]

[0060] In the formula, g1 = gst (θ i )*g st (0) -1 Then, based on the properties of spin, if point r lies on the axis of joint i, then we have This is true. Therefore, we can conclude that:

[0061]

[0062] In the formula, r2 is the intersection of the axes of the first, second, and third joints, and r6 is the intersection of the axes of the fifth, sixth, and seventh joints. According to formula (5), we can obtain:

[0063]

[0064] Taking advantage of the property that the distance between two points in a rigid body motion remains constant, we can obtain the following by taking the measure of both sides of equation (6):

[0065]

[0066] Since equation (7) conforms to the form of Paden-Kahan subproblem 3, where p1 = r6, q1 = r2, δ = ||g1r6-r2||, according to Paden-Kahan subproblem 3, we can obtain:

[0067]

[0068] In the formula, δ' 2 =δ 2 -|ω4 T (p1-q1)| 2 θ0 can be obtained by the following formula:

[0069] θ0=atan2(ω4 T (u1'×v1'),u1' T v1') (9)

[0070] S2-2, obtain the rotation angle of the first virtual joint and the rotation angle of the second virtual joint under the virtual configuration parameter constraints.

[0071] As described in the above embodiments, the virtual robotic arm represents a six-degree-of-freedom robotic arm degenerated by aligning its arm surface with a reference plane. The arm surface is the plane formed by the shoulder, elbow, and wrist of the robotic arm, while the reference plane is the plane formed by the base, shoulder, and wrist of the robotic arm. The six joints of the virtual robotic arm are referred to as the nth virtual joint. A larger value of n indicates that the joint is closer to the end of the robotic arm. n is a positive integer ≤ 7 and ≠ 3. Therefore, except for the third joint, the joints of the virtual robotic arm correspond one-to-one with the joints of the seven-degree-of-freedom robotic arm.

[0072] In this embodiment, the expression for the rotation angle of the first virtual joint is:

[0073]

[0074] The expression for the rotation angle of the second virtual joint is:

[0075]

[0076] In the formula, This represents the rotation angle of the first virtual joint. The rotation angle of the second virtual joint is represented by c2 = z2 + r2, where z2 = α2ω1 + β2ω2 + γ2(ω1 × ω2).

[0077] u2 = p2 - r2, v2 = q2 - r2, q2 = g1r6, GC 2v Let r1 represent the virtual configuration parameters, r2 represent the unit vector in the positive direction of the first joint, r2 represent a point on the axis of the second joint, and r6 represent a point on the axis of the sixth joint. This represents the spin of the fourth virtual joint.

[0078] The derivation process of the rotation angles of the first and second virtual joints will be explained next:

[0079] In the virtual robotic arm, according to the forward kinematics equation (4), we can obtain:

[0080]

[0081] Multiplying both sides of equation (10) by r6 on the right, we get:

[0082]

[0083] Equation (11) conforms to the form of Paden-Kahan subproblem 2, where q2 = g1r6. Then equation (11) can be transformed into two Paden-Kahan subproblems 1:

[0084]

[0085] In the formula, c2 = z2 + r2, and z2 can be obtained by the following formula:

[0086] z2=α2ω1+β2ω2+γ2(ω1×ω2)

[0087]

[0088] In the formula, u2 = p2 - r2, v2 = q2 - r2. At this point, we can apply Paden-Kahan subproblem 1 to solve equation (12), and obtain:

[0089]

[0090] S2-3, based on the rotation angle of the first virtual joint and the rotation angle of the second virtual joint shown, obtain the rotation angles of the first joint, the second joint, and the third joint under the constraints of the first configuration parameters.

[0091] The rotation angles of the first joint, the second joint, and the third joint are as follows:

[0092]

[0093] In the formula, θ1 represents the rotation angle of the first joint, θ2 represents the rotation angle of the second joint, θ3 represents the rotation angle of the third joint, and a sij ,b sij ,c sij These are matrices A s B s C s The (i,j)th element,

[0094] 0 sw is the unit vector of the line connecting the shoulder and wrist, ψ represents the arm angle of the robotic arm, and GC2 represents the first configuration parameter. The matrix exponential expression representing the spinor of the first virtual joint The attitude matrix, The matrix exponential expression representing the spinor of the second virtual joint The attitude matrix, The pose matrix representing the line connecting the shoulder and elbow in a virtual robotic arm.

[0095] The derivation process of the rotation angles of the first joint, the second joint, and the third joint will be explained next:

[0096] Based on virtual joints and The link SE in the virtual robotic arm can be obtained. V Attitude matrix:

[0097]

[0098] According to the Rodriguez rotation formula, the attitude matrix of link SE in the actual robotic arm can be obtained:

[0099]

[0100] In the formula, The value can be obtained from the following formula:

[0101]

[0102] In the formula, 0 sw is the unit vector of vector sw, [ 0 sw×] is 0 The skew-symmetric matrix of sw. The vector sw can be obtained from the coordinates of points S and W.

[0103] Substituting equation (18) into equation (17), we get:

[0104]

[0105] In the formula, According to the forward kinematic equation shown in equation (3), we can obtain:

[0106]

[0107] Combining equations (19) and (20), we can obtain:

[0108]

[0109] In the formula, a sij ,b sij ,c sij These are matrices A s B s C s The (i,j)th element.

[0110] S2-4 uses the end pose, the rotation angle of the first joint, the rotation angle of the second joint, and the rotation angles of the third and fourth joints to transform the forward kinematic equations into Paden-Kahan subproblems of the first and second types for solution, and obtains the rotation angles of the fifth joint and the sixth joint under the constraint of the third configuration parameter.

[0111] The expression for the rotation angle of the fifth joint is:

[0112]

[0113] The expression for the rotation angle of the sixth joint is:

[0114]

[0115] In the formula, θ5 represents the rotation angle of the fifth joint, θ6 represents the rotation angle of the sixth joint, c5=z5+r6, z5=α5ω5+β5ω6+γ5(ω5×ω6),

[0116] p5 = r7, q5 = g2r7 ω5 represents the unit vector in the positive direction of the fifth joint, ω6 represents the unit vector in the positive direction of the sixth joint, r7 represents a point located on the axis of the seventh joint but not on the axis of the sixth joint, and GC6 represents the third configuration parameter.

[0117] The derivation process of the rotation angles of the fifth and sixth joints will be explained next:

[0118] Multiply both sides of equation (4) by the left side. We can obtain:

[0119]

[0120] In the formula,

[0121] Taking a point r7 on the axis of the seventh joint, but not on the axis of the sixth joint, multiplying both sides of equation (22) by r7 on the right, we get:

[0122]

[0123] Equation (23) conforms to the form of Paden-Kahan subproblem 2, where p5 = r7, q5 = g2r7. Therefore, equation (23) can be transformed into two Paden-Kahan subproblems 1:

[0124]

[0125] In the formula, c5 = z5 + r6, and z5 can be obtained by the following formula:

[0126] z5=α5ω5+β5ω6+γ5(ω5×ω6)

[0127]

[0128] In the formula, u5 = p5 - r6, v5 = q5 - r6. Applying the Paden-Kahan subproblem 1 to solve equation (23), we obtain:

[0129]

[0130] S2-5, using the end pose, the rotation angles of the first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint, the forward kinematic equations are transformed into a Paden-Kahan subproblem of the first kind for solution, and the rotation angle of the seventh joint is obtained.

[0131] The expression for the rotation angle of the seventh joint is:

[0132]

[0133] In the formula, θ7 represents the rotation angle of the seventh joint, p7 = r7′, q7 = g3r7′. r7′ represents a point not on the axis of the seventh joint, r7 represents a point on the axis of the seventh joint, and ω7 represents a unit vector in the positive direction of the seventh joint.

[0134] The derivation process of the rotation angle of the seventh joint will be explained next:

[0135] Multiply by the left side of both sides of equation (4) We can obtain:

[0136]

[0137] In the formula,

[0138] Taking a point r7′ that is not on the axis of joint 7, and multiplying both sides of equation (28) by r7′ on the right, we can obtain:

[0139]

[0140] Equation (29) conforms to the form of Paden-Kahan subproblem 1, where p7 = r7′, q7 = g3r7′, and we can obtain:

[0141]

[0142] Therefore, in this embodiment, the rotation angle of the fourth joint is first solved using the third type of Paden-Kahan subproblem. Then, the angles of the virtual joints are solved using the concept of a virtual robotic arm, further deriving the rotation angles of the first, second, and third joints. Finally, the rotation angles of the fifth, sixth, and seventh joints are solved again using the Paden-Kahan subproblem, combining these angles. This staged solution method not only ensures the accuracy of the solution but also improves the overall solution efficiency.

[0143] Compared to the existing DH method, this embodiment simplifies the modeling process by using spinor theory to solve the inverse kinematics. Furthermore, under the constraints of preset configuration parameters, it clarifies the conditions for multiple solutions and makes the number of solutions readily apparent. Therefore, it significantly improves the simplicity of modeling and the efficiency of the solution, while also enhancing the flexibility and reliability of the robotic arm operation.

[0144] Based on the same inventive concept as the screw-based seven-DOF robotic arm joint angle solving method provided in this embodiment, this embodiment also provides a screw-based seven-DOF robotic arm joint angle solving device. This device includes at least one software functional module that can be stored in a memory or embedded in an electronic device. The processor in the electronic device executes the executable module stored in the memory. Examples include the software functional module and computer program included in this device.

[0145] Please refer to Figure 4 Functionally, the device may include:

[0146] The data acquisition module 11 is used to acquire the forward kinematic equation of the robotic arm based on spinor and the end-effector pose of the robotic arm;

[0147] The inverse angle module 12 is used to convert the forward kinematic equations into Paden-Kahan subproblems to solve for the end pose, and obtain the rotation angle of each joint under the constraints of preset configuration parameters.

[0148] In this embodiment, the data acquisition module is used to implement... Figure 1 In step S1, the inverse angle solution module 12 is used to implement... Figure 1 Step S2 in the above steps. Therefore, for a detailed description of each of the above modules, please refer to the specific implementation method of the corresponding step.

[0149] Optionally, the seven joints of the robotic arm are referred to as the nth joint, with a larger value of n indicating that the joint is closer to the end of the robotic arm. The inverse angle solution module 12 is also specifically used for:

[0150] By utilizing the end-effector pose, the forward kinematic equations are transformed into a Paden-Kahan subproblem of the third kind for solution, and the rotation angle of the fourth joint under the constraints of the preset configuration parameters is obtained.

[0151] Obtain the rotation angles of the first and second virtual joints of the virtual robotic arm. The virtual robotic arm represents a six-degree-of-freedom robotic arm degenerated by aligning its arm surface with a reference plane. The arm surface is the plane formed by the shoulder, elbow, and wrist of the robotic arm, while the reference plane is the plane formed by the base, shoulder, and wrist of the robotic arm. The six joints of the virtual robotic arm are referred to as the nth virtual joint. A larger value of n indicates that the joint is closer to the end of the robotic arm. n is a positive integer ≤ 7 and ≠ 3. Except for the third joint, the joints of the virtual robotic arm correspond one-to-one with the joints of the seven-degree-of-freedom robotic arm.

[0152] Based on the rotation angle of the first virtual joint and the rotation angle of the second virtual joint, the rotation angles of the first joint, the second joint, and the third joint under the constraints of the preset configuration parameters are obtained.

[0153] By using the end pose, the rotation angles of the first joint, the rotation angles of the second joint, the rotation angles of the third joint and the fourth joint, the forward kinematic equations are transformed into Paden-Kahan subproblems of the first and second types for solution, and the rotation angles of the fifth joint and the sixth joint under the constraints of the preset configuration parameters are obtained.

[0154] By using the end-effector pose, the rotation angles of the first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint, the forward kinematic equations are transformed into a Paden-Kahan subproblem of the first kind for solution, and the rotation angle of the seventh joint under the constraints of the preset configuration parameters is obtained.

[0155] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0156] It should also be understood that if the above embodiments are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0157] Therefore, this embodiment also provides a storage medium, which is a computer-readable storage medium. This storage medium stores a computer program, which, when executed by a processor, implements the spinor-based seven-DOF robotic arm joint angle solution method provided in this embodiment. The storage medium can be any medium capable of storing program code, such as a USB flash drive, external hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0158] This embodiment also provides an electronic device for implementing a screw-based method for solving the joint angles of a seven-DOF robotic arm. The electronic device may include a processor 22 and a memory 21. The memory 21 stores a computer program, and the processor reads and executes the computer program corresponding to the above-described embodiments in the memory 21 to implement the screw-based method for solving the joint angles of a seven-DOF robotic arm provided in this embodiment.

[0159] See also Figure 5 The electronic device also includes a communication unit 23. The memory 21, processor 22 and communication unit 23 are electrically connected to each other directly or indirectly through system bus 24 to realize data transmission or interaction.

[0160] The memory 21 can be an information recording device based on any electronic, magnetic, optical, or other physical principles, used to record execution instructions, data, etc. In some embodiments, the memory 21 can be, but is not limited to, volatile memory, non-volatile memory, memory drive, etc.

[0161] In some embodiments, the volatile memory may be random access memory (RAM); in some embodiments, the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, etc.; in some embodiments, the storage drive may be a disk drive, solid-state drive, any type of storage disk (such as optical disc, DVD, etc.), or similar storage media, or a combination thereof.

[0162] The communication unit 23 is used to send and receive data over a network. In some embodiments, the network may include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include wired or wireless network access points, such as base stations and / or network switching nodes, through which one or more components of the service request processing system can connect to the network to exchange data and / or information.

[0163] The processor 22 may be an integrated circuit chip with signal processing capabilities, and may include one or more processing cores (e.g., a single-core processor or a multi-core processor). By way of example only, the processor described above may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction-set Processor (ASIP), a Graphics Processing Unit (GPU), a Physics Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller unit, a Reduced Instruction Set Computing (RISC) computer, or a microprocessor, or any combination thereof.

[0164] Understandable. Figure 5The structure shown is for illustrative purposes only. Electronic devices may also have more advanced features. Figure 5 Showing more or fewer components, or having with Figure 5 The different configurations shown. Figure 5 The components shown can be implemented using hardware, software, or a combination thereof.

[0165] It should be understood that the apparatus and methods disclosed in the above embodiments can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0166] The above descriptions are merely various embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for solving the joint angles of a seven-DOF robotic arm based on spinors, characterized in that, The seven joints of the robotic arm are respectively referred to as the first... joint, A larger value indicates that the value is closer to the end of the robotic arm. Positive integers; The robotic arm, after its arm surface coincides with the reference plane, degenerates into a six-degree-of-freedom virtual robotic arm. The arm surface is the plane formed by the shoulder, elbow, and wrist of the robotic arm, and the reference plane represents the plane formed by the base, shoulder, and wrist of the robotic arm. The six joints of the virtual robotic arm are respectively referred to as the... Virtual joints A larger value indicates that the value is closer to the end of the robotic arm. 7 and n A positive integer of 3, except for the third joint, the joints of the virtual robotic arm correspond one-to-one with the joints of the seven-degree-of-freedom robotic arm; The method includes: Obtain the positive kinematic equations of the robotic arm based on spinor and the end effector pose of the robotic arm; The forward kinematic equations are transformed into Paden-Kahan subproblems to solve for the end-effector pose, yielding the rotation angle of each joint under preset configuration parameter constraints. These preset configuration parameters include the first configuration parameter of the second joint, the second configuration parameter of the fourth joint, the third configuration parameter of the sixth joint, and the virtual configuration parameter of the second virtual joint. This step specifically includes: The positive kinematic equations are transformed into a third type of Paden-Kahan subproblem using the end-effector pose, and the rotation angle of the fourth joint under the constraints of the second configuration parameters is obtained. Obtain the rotation angles of the first virtual joint and the second virtual joint under the constraints of the virtual configuration parameters; Based on the rotation angle of the first virtual joint and the rotation angle of the second virtual joint, the rotation angles of the first joint, the second joint, and the third joint under the constraints of the first configuration parameters are obtained. The forward kinematic equations are transformed into Paden-Kahan subproblems of type I and type II using the end pose, the rotation angle of the first joint, the rotation angle of the second joint, the rotation angle of the third joint, and the rotation angle of the fourth joint, respectively, to obtain the rotation angle of the fifth joint and the rotation angle of the sixth joint under the constraint of the third configuration parameter. The forward kinematic equations are transformed into a Paden-Kahan subproblem of the first type and solved using the end-effector pose, the rotation angles of the first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint, to obtain the rotation angle of the seventh joint.

2. The method for solving the joint angles of a seven-DOF robotic arm based on spinor as described in claim 1, characterized in that, The expression for the rotation angle of the fourth joint is: In the formula, This indicates the rotation angle of the fourth joint. , , , , , , This represents the second configuration parameter. This represents the unit vector in the positive direction of the fourth joint. This represents any point on the axis of the sixth joint. This represents any point on the axis of the second joint. This indicates the initial pose of the end-effector coordinate system relative to the global coordinate system. This indicates the end-effector pose.

3. The method for solving the joint angles of a seven-DOF robotic arm based on spinor as described in claim 2, characterized in that, The expression for the rotation angle of the first virtual joint is: The expression for the rotation angle of the second virtual joint is: In the formula, This represents the rotation angle of the first virtual joint. This indicates the rotation angle of the second virtual joint. , , , , , , , This represents the virtual configuration parameters. This represents the unit vector in the positive direction of the first joint. This represents the unit vector in the positive direction of the second joint. This represents a point on the axis of the second joint. This represents a point on the axis of the sixth joint. This represents the spin of the fourth virtual joint.

4. The method for solving the joint angles of a seven-DOF robotic arm based on spinor as described in claim 3, characterized in that, The rotation angles of the first joint, the second joint, and the third joint are respectively: In the formula, This indicates the rotation angle of the first joint. This indicates the rotation angle of the second joint. Indicates the rotation angle of the third joint. They are matrices The One element, , , It is the unit vector of the line connecting the shoulder and wrist. This indicates the arm angle of the robotic arm. Indicates the first configuration parameter. The matrix exponential expression representing the spinor of the first virtual joint The attitude matrix, The matrix exponential expression representing the spinor of the second virtual joint The attitude matrix, The pose matrix representing the line connecting the shoulder and elbow in a virtual robotic arm.

5. The method for solving the joint angles of a seven-DOF robotic arm based on spinor as described in claim 4, characterized in that, The expression for the rotation angle of the fifth joint is: The expression for the rotation angle of the sixth joint is: In the formula, This indicates the rotation angle of the fifth joint. This indicates the rotation angle of the sixth joint. , , , , , , , This represents the unit vector in the positive direction of the fifth joint. This represents the unit vector in the positive direction of the sixth joint. This indicates a point on the axis of the seventh joint, but not on the axis of the sixth joint. This represents the third configuration parameter.

6. The method for solving the joint angles of a seven-DOF robotic arm based on spinor as described in claim 5, characterized in that, The rotation angle of the seventh joint is: In the formula, Indicates the rotation angle of the seventh joint. , , This indicates a point that is not on the axis of the seventh joint. This indicates a point located on the axis of the seventh joint. This represents the unit vector in the positive direction of the seventh joint.

7. A device for solving the joint angles of a seven-DOF robotic arm based on spinor, characterized in that, The seven joints of the robotic arm are respectively referred to as the first... joint, A larger value indicates that the value is closer to the end of the robotic arm. Positive integers; The robotic arm, after its arm surface coincides with the reference plane, degenerates into a six-degree-of-freedom virtual robotic arm. The arm surface is the plane formed by the shoulder, elbow, and wrist of the robotic arm, and the reference plane represents the plane formed by the base, shoulder, and wrist of the robotic arm. The six joints of the virtual robotic arm are respectively referred to as the... Virtual joints A larger value indicates that the value is closer to the end of the robotic arm. 7 and n A positive integer of 3, except for the third joint, the joints of the virtual robotic arm correspond one-to-one with the joints of the seven-degree-of-freedom robotic arm; The device includes: The data acquisition module is used to acquire the positive kinematic equation of the robotic arm based on spinor and the end-effector pose of the robotic arm; An inverse angle module is used to convert the forward kinematic equations into Paden-Kahan subproblems to solve the end pose, and obtain the rotation angle of each joint under the constraints of preset configuration parameters. The preset configuration parameters include the first configuration parameter of the second joint, the second configuration parameter of the fourth joint, the third configuration parameter of the sixth joint, and the virtual configuration parameter of the second virtual joint. The inverse angle solution module is specifically used to convert the forward kinematic equation into a third type of Paden-Kahan subproblem using the end pose, and to obtain the rotation angle of the fourth joint under the constraints of the second configuration parameters. Obtain the rotation angles of the first virtual joint and the second virtual joint under the constraints of the virtual configuration parameters; Based on the rotation angle of the first virtual joint and the rotation angle of the second virtual joint, the rotation angles of the first joint, the second joint, and the third joint under the constraints of the first configuration parameters are obtained. The forward kinematic equations are transformed into Paden-Kahan subproblems of type I and type II using the end pose, the rotation angle of the first joint, the rotation angle of the second joint, the rotation angle of the third joint, and the rotation angle of the fourth joint, respectively, to obtain the rotation angle of the fifth joint and the rotation angle of the sixth joint under the constraint of the third configuration parameter. The forward kinematic equations are transformed into a Paden-Kahan subproblem of the first type and solved using the end-effector pose, the rotation angles of the first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint, to obtain the rotation angle of the seventh joint.

8. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method for solving the joint angles of a seven-DOF robotic arm based on spinors as described in any one of claims 1-6.

9. An electronic device, characterized in that, The electronic device includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, it implements the method for solving the joint angles of a seven-degree-of-freedom robotic arm based on spinors as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Optimization method of five-degree-of-freedom first-end symmetric mechanical arm inverse kinematics calculation

    CN110181522A

  • Mechanical arm inverse kinematics solving method, mechanical arm and computer readable medium

    CN117325148A