Master-slave mapping method, robotic arm system and storage medium for parallel platform

By adopting the master-slave mapping method of parallel platforms in the robotic arm system, the coordinate system conversion and inverse kinematics solution are simplified, the complex problem of robotic arm control is solved, and the control efficiency and accuracy are improved.

CN115609561BActive Publication Date: 2024-10-11NOAHTRON INTELLIGENCE MEDTECH HANGZHOU CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202211037843.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-10-11
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

The control of the robotic arm is complex, mainly because the kinematics solution relies on the establishment of the coordinate system, which affects the complexity of the kinematics algorithm.

Method used

Using the master-slave mapping method of the parallel platform, by establishing the calculation coordinate system and the user coordinate system between the static platform and the moving platform, the transformation relationship is obtained, and the displacement of the master operator is mapped to the end position of the moving platform, and through inverse kinematics The algorithm controls the movement of the telescopic rod and reduces the computational complexity.

Benefits of technology

It simplifies the control complexity of the robotic arm, improves control efficiency, saves computing resources, and improves motion accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115609561B_ABST
    Figure CN115609561B_ABST
Patent Text Reader

Abstract

The present application relates to a master-slave mapping method of a parallel platform, a robotic arm system and a storage medium. The method includes: establishing a computing coordinate system of the parallel platform on a static platform, establishing a slave user coordinate system on the static platform and establishing a master user coordinate system on a master operator; obtaining a first conversion relationship between the slave user coordinate system and the computing coordinate system; mapping the displacement of the end of the master operator in the master user coordinate system to the end of the moving platform in the slave user coordinate system according to a set proportional coefficient, and obtaining a first target position of the end of the moving platform in the slave user coordinate system; determining a second target position of the end of the moving platform in the computing coordinate system according to the first conversion relationship and the first target position; according to the second target position, solving the motion of each telescopic rod of the parallel platform through an inverse kinematics algorithm, and controlling the motion of the parallel platform according to the motion of each telescopic rod. Through the present application, the control of the robotic arm is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control, and in particular to a master-slave mapping method, a robotic arm system and a storage medium for a parallel platform. Background Art

[0002] To realize the master-slave control of the robot arm, it is necessary to solve the kinematics of the master hand, the kinematics of the slave hand, and the motion mapping algorithm from the master hand to the slave hand. The solution of the kinematics depends on the establishment of the coordinate system. The way the coordinate system is established will affect the complexity of the kinematic algorithm. Summary of the invention

[0003] The embodiments of the present application provide a master-slave mapping method of a parallel platform, a robotic arm system and a storage medium to solve the problem of complex robotic arm control in related technologies.

[0004] In a first aspect, an embodiment of the present application provides a master-slave mapping method for a parallel platform, which is applied to a robotic arm system, wherein the robotic arm system includes a parallel platform and a master manipulator, wherein the parallel platform includes a static platform, a dynamic platform, and a plurality of telescopic rods arranged between the static platform and the dynamic platform, and the master-slave mapping method for the parallel platform includes:

[0005] A calculation coordinate system of the parallel platform is established on the static platform, a slave user coordinate system is established on the static platform, and a master user coordinate system is established on the master operator, wherein the calculation coordinate system coincides with the origin of the slave user coordinate system, and the Z axes of the slave user coordinate system and the master user coordinate system are parallel to the Z axis of the reference coordinate system;

[0006] Acquire a first transformation relationship between the slave user coordinate system and the calculation coordinate system;

[0007] Mapping the displacement of the end of the master manipulator in the master user coordinate system to the end of the moving platform in the slave user coordinate system according to a set proportionality coefficient, and obtaining a first target position of the end of the moving platform in the slave user coordinate system;

[0008] Determining a second target position of the end of the moving platform in the calculation coordinate system according to the first conversion relationship and the first target position;

[0009] According to the second target position, the movement amount of each telescopic rod of the parallel platform is solved by an inverse kinematics algorithm, and the movement of the parallel platform is controlled according to the movement amount of each telescopic rod.

[0010] In some embodiments, obtaining the first transformation relationship between the slave user coordinate system and the calculation coordinate system includes:

[0011] Acquire a second transformation relationship between the reference coordinate system and the slave user coordinate system, and acquire a third transformation relationship between the reference coordinate system and the calculation coordinate system;

[0012] The first conversion relationship is determined according to the second conversion relationship and the third conversion relationship.

[0013] In some embodiments, the reference coordinate system is a base coordinate system of the robotic arm system; the robotic arm system further includes a serial robotic arm, and the parallel platform is mounted at the end of the serial robotic arm; wherein obtaining a third transformation relationship between the reference coordinate system and the calculation coordinate system includes:

[0014] Establishing a joint coordinate system of each joint in the serial robot arm;

[0015] Obtain the DH parameters of the joint coordinate system of the first joint in the serial robot arm and the reference coordinate system, and determine the conversion relationship between the reference coordinate system and the joint coordinate system of the first joint Wherein, the first joint is a joint directly connected to the base, and the DH parameter is a traditional DH parameter or an improved DH parameter;

[0016] Obtain the DH parameters of the joint coordinate system of the i-th joint and the joint coordinate system of the i-1-th joint in the serial robot arm, and determine the conversion relationship between the joint coordinate system of the i-1-th joint and the joint coordinate system of the i-th joint Wherein, i=2, 3, 4, ..., N; N is the total number of joints of the serial robot arm;

[0017] According to the conversion relationship and conversion relationship Determine the conversion relationship between the reference coordinate system and the joint coordinate system of the Nth joint That is the third transformation relationship, in which the joint coordinate system of the Nth joint completely coincides with the calculation coordinate system.

[0018] In some of the embodiments, the serial robotic arm includes a rotating joint and a moving joint; wherein, the Z-axis of the joint coordinate system of the rotating joint is set along the rotation axis, and the Z-axis of the joint coordinate system of the moving joint is set along the moving direction, the reference coordinate system and the joint coordinate system of each joint are both left-handed or right-handed, and when the joint before the rotating joint is a moving joint, the origin of the joint coordinate system of the rotating joint coincides with the origin of the joint coordinate system of the moving joint.

[0019] In some of the embodiments, the rotation angle of the Z axis in the DH parameters of the rotary joint in the serial robot arm is not 0 or 2π.

[0020] In some embodiments, obtaining the second transformation relationship between the reference coordinate system and the slave user coordinate system includes:

[0021] Obtaining a user's viewing angle value relative to the robotic arm system;

[0022] A second conversion relationship between the reference coordinate system and the slave user coordinate system is determined according to the viewing angle value and the third conversion relationship.

[0023] In some of the embodiments, when the robotic arm system operates with a single arm, the viewing angle value is determined based on configuration information input by a user.

[0024] In some embodiments, when the first serial robot arm and the second serial robot arm in the robot arm system work simultaneously, obtaining the second conversion relationship between the reference coordinate system and the slave user coordinate system includes:

[0025] Establishing a first slave user coordinate system of the first serial robot and a second slave user coordinate system of the second serial robot, wherein the X-axis direction of the first slave user coordinate system is the same as and collinear with the X-axis direction of the second slave user coordinate system, and the origin of the first slave user coordinate system coincides with the origin of the calculation coordinate system of the first serial robot, and the origin of the second slave user coordinate system coincides with the origin of the calculation coordinate system of the second serial robot;

[0026] Determine the angle between the X-axis direction of the first slave user coordinate system and the X-axis direction of the reference coordinate system, and determine the second transformation relationship between the reference coordinate system and the first slave user coordinate system and the second slave user coordinate system respectively based on the angle and the transformation relationship between the reference coordinate system and the calculation coordinate system of each serial robot arm.

[0027] In a second aspect, an embodiment of the present application provides a robotic arm system, including a parallel platform, a main manipulator, a memory and a controller, the parallel platform including a static platform, a dynamic platform and a plurality of telescopic rods arranged between the static platform and the dynamic platform, the memory storing a computer program, and the controller being configured to run the computer program to execute the master-slave mapping method of the parallel platform described in the first aspect.

[0028] In some embodiments, the robotic arm system further includes a serial robotic arm, and the parallel platform is mounted on the end of the serial robotic arm.

[0029] In a third aspect, an embodiment of the present application provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the master-slave mapping method of the parallel platform described in the first aspect when running.

[0030] Compared with the related art, the master-slave mapping method, robotic arm system and storage medium of the parallel platform provided in the embodiments of the present application solve the problem of complex robotic arm control in the related art and reduce the complexity of robotic arm control.

[0031] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0033] Figure 1 It is a flow chart of the master-slave mapping method of the parallel platform in an embodiment of the present application.

[0034] Figure 2 It is a flow chart of the coordinate conversion method of an embodiment of the present application.

[0035] Figure 3 It is a schematic diagram of the structure of the robotic arm system provided in the preferred embodiment of the present application.

[0036] Figure 4 It is a schematic diagram of the reference coordinate system and the joint coordinate system of the robotic arm system provided in the preferred embodiment of the present application.

[0037] Figure 5 It is a schematic diagram of the user coordinate system when the dual arms of the robotic arm system provided by the preferred embodiment of the present application are working.

[0038] Figure 6 It is a schematic diagram of the master-slave mapping method of the parallel platform of the preferred embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means, and should not be understood as insufficient contents disclosed in the present application.

[0040] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0041] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to greater than or equal to two. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first", "second", "third" and the like involved in the present application are merely used to distinguish similar objects and do not represent a specific ordering of the objects.

[0042] In view of the problem of complex control of a manipulator system in the related art, a master-slave mapping method of a parallel platform is provided in this embodiment. The master-slave mapping method of the parallel platform is applied to a manipulator system including a parallel platform and a master manipulator, wherein the parallel platform includes a static platform, a dynamic platform, and a plurality of telescopic rods arranged between the static platform and the dynamic platform.

[0043] Figure 1 is a flowchart of the master-slave mapping method of the parallel platform of the embodiment of the present application, such as Figure 1 As shown, the process includes the following steps:

[0044] Step S101, establish a computing coordinate system of the parallel platform on the static platform, establish a slave user coordinate system on the static platform, and establish a master user coordinate system on the master operator, wherein the computing coordinate system coincides with the origin of the slave user coordinate system, and the Z axes of the slave user coordinate system and the master user coordinate system are parallel to the Z axis of the reference coordinate system.

[0045] Step S102: obtaining a first transformation relationship between the user coordinate system and the calculation coordinate system.

[0046] Step S103, mapping the displacement of the end of the master manipulator in the master user coordinate system to the end of the moving platform in the slave user coordinate system according to the set proportional coefficient, and obtaining the first target position of the end of the moving platform in the slave user coordinate system.

[0047] Step S104: determining a second target position of the end of the moving platform in the calculation coordinate system according to the first conversion relationship and the first target position.

[0048] Step S105: according to the second target position, the movement amount of each telescopic rod of the parallel platform is solved by an inverse kinematics algorithm, and the movement of the parallel platform is controlled according to the movement amount of each telescopic rod.

[0049] The parallel platform of this embodiment can realize the movement of multiple degrees of freedom. Taking the Stewart parallel platform with six degrees of freedom as an example, the Stewart parallel platform includes a static platform, a dynamic platform and a plurality of telescopic components arranged between the static platform and the dynamic platform, which can realize the movement of six degrees of freedom in space, namely displacement along the X-axis, displacement along the Y-axis, displacement along the Z-axis, rotation around the X-axis, rotation around the Y-axis and rotation around the Z-axis. The Stewart parallel platform is supported by 6 telescopic components. Compared with the passive arm of the cantilever beam structure in series, it has large rigidity and stable structure. Moreover, due to its large rigidity, the parallel structure has a higher bearing capacity than the series structure under the same dead weight or volume. The error at the end of the passive arm of the cantilever beam structure in series is the accumulation and amplification of the errors of each joint, so the error is large and the precision is low, while the parallel platform does not have such an error accumulation and amplification relationship, and the micro-motion precision is high, which is more suitable for performing high-precision surgical operations. In addition, in terms of position solution, the inverse solution of the parallel platform is very easy, and it is easy to obtain the motion posture of each telescopic component of the parallel platform according to the coordinate position.

[0050] Based on the characteristic that the inverse solution of the parallel platform is very easy, in the above steps, by establishing the main user coordinate system and the slave user coordinate system, the control amount of the main operator in the main user coordinate system is mapped to the slave user coordinate system in the form of displacement, and then the position information of the second target position in the calculation coordinate system is obtained by converting the slave user coordinate system and the calculation coordinate system. According to the position information, the motion posture of each telescopic component of the parallel platform can be easily obtained by inverse solution. Compared with the related technology of solving the position information of the end of the parallel platform by forward kinematics, the above method greatly reduces the computational complexity, improves the control efficiency, and saves computing resources.

[0051] The above-mentioned reference coordinate system is also called the global coordinate system, and the coordinate system can be selected arbitrarily. However, for more convenient calculation, in the embodiment of the present application, the base coordinate system established at the bottom center of the base of the robot system is selected as the reference coordinate system.

[0052] It should be noted that in the above embodiment, the master user coordinate system and the slave user coordinate system can be the same coordinate system or different coordinate systems. When they are the same coordinate system, that is to say, the origin and each coordinate axis of the master user coordinate system and the slave user coordinate system completely coincide, that is, the coordinate origin of the master user coordinate system also coincides with the calculation coordinate system on the static platform. When they are different coordinate systems, the coordinate origin of the master user coordinate system can be set at the end of the master manipulator, and each coordinate axis is parallel to each coordinate axis of the slave user coordinate system, so as to facilitate calculation.

[0053] In some of the embodiments, the first transformation relationship between the user coordinate system and the computing coordinate system can be obtained by: obtaining the second transformation relationship between the reference coordinate system and the user coordinate system, and obtaining the third transformation relationship between the reference coordinate system and the computing coordinate system; and determining the first transformation relationship based on the second transformation relationship and the third transformation relationship.

[0054] In some embodiments, the reference coordinate system is a base coordinate system of the robotic arm system; the robotic arm system further comprises a serial robotic arm, and the parallel platform is mounted at the end of the serial robotic arm. Figure 2 is a flow chart of the coordinate conversion method of an embodiment of the present application, such as Figure 2 As shown, obtaining the third transformation relationship between the reference coordinate system and the calculation coordinate system includes the following steps:

[0055] Step S201, establishing the joint coordinate system of each joint in the serial robot arm.

[0056] The control of the serial robot arm is usually based on the DH parameters or improved DH parameters for coordinate system transformation. The two connected joints are adjacent joints. The transformation of the joint coordinate system of two adjacent joints is usually represented by DH parameters or improved DH parameters. Taking DH parameters as an example, the coordinate systems of two adjacent joints can overlap with each other by rotating θ around the Z axis, translating d, and then rotating α around the X axis and translating a. The above θ, d, α and a are DH parameters. It can be seen that the simpler the DH parameters, the simpler the transformation of the coordinate systems of two adjacent joints.

[0057] In order to simplify the DH parameters, in this embodiment, the Z-axis of the joint coordinate system of the rotating joint is set along the rotation axis, and the Z-axis of the joint coordinate system of the moving joint is set along the moving direction. The reference coordinate system and the joint coordinate system of each joint are both left-handed or right-handed systems, and when the joint before the rotating joint is a moving joint, the origin of the joint coordinate system of the rotating joint coincides with the origin of the joint coordinate system of the moving joint.

[0058] In a serial robot, in most cases, when a rotary joint receives a command for a rotation angle of 0 or 2π, it may not be necessary to distinguish between the two, but instead remain stationary or rotate 2π in the set direction according to the pre-set setting. However, in some cases, it is necessary to distinguish between the two angles. In the case where it is necessary to distinguish between the 0 or 2π angles, the rotation angle of the Z axis in the DH parameters of the rotary joint is not 0 or 2π to avoid confusion between the rotation angles of 0 or 2π.

[0059] Step S202, obtaining the DH parameters of the joint coordinate system of the first joint in the serial robot arm and the reference coordinate system, and determining the conversion relationship between the reference coordinate system and the joint coordinate system of the first joint Among them, the first joint is a joint directly connected to the base, and the DH parameters are traditional DH parameters or improved DH parameters.

[0060] Step S203, obtaining the DH parameters of the joint coordinate system of the i-th joint and the joint coordinate system of the i-1-th joint in the serial robot arm, and determining the conversion relationship between the joint coordinate system of the i-1-th joint and the joint coordinate system of the i-th joint Wherein, i=2,3,4,…,N; N is the total number of joints of the serial robot arm.

[0061] Step S204: According to the conversion relationship and conversion relationship Determine the transformation relationship between the reference coordinate system and the joint coordinate system of the Nth joint This is the third transformation relationship, in which the joint coordinate system of the Nth joint completely coincides with the calculation coordinate system.

[0062] After establishing the joint coordinate system of each joint, the DH parameters between adjacent joints can be obtained in sequence, and based on the DH parameters, the conversion relationship between the reference coordinate system of the robot system and the calculation coordinate system of the serial robot can be determined.

[0063] Among them, according to the DH rule, the homogeneous transformation of the coordinates of the i-1th joint to the coordinates of the i-th joint is constructed as a sequence with two rotations and two transformations, which can be expressed as follows using a matrix:

[0064]

[0065] Where i = 2, 3, 4, ..., N; N is the total number of rotating joints and moving joints of the serial robot. The DH parameter of the first joint of the serial robot represents the conversion of the coordinate system between the first joint and the reference coordinate system, which is denoted as Then the transformation relationship between the reference coordinate system and the joint coordinate system of the first joint is:

[0066]

[0067] It can be seen that this transformation relationship is exactly the same as the homogeneous transformation form from the coordinates of the i-1th joint to the coordinates of the i-th joint.

[0068] In getting and After that, the transformation matrix from the 0th coordinate system (reference coordinate system) to the joint coordinate system of the Nth joint can be expressed as:

[0069]

[0070] Among them, the Nth joint is the terminal joint.

[0071] The value determined in step S204 above It represents the coordinate transformation relationship between the reference coordinate system and the calculation coordinate system. According to this transformation relationship, the coordinate transformation between the reference coordinate system and the calculation coordinate system can be realized.

[0072] The embodiments of the present application are described and illustrated below through preferred embodiments.

[0073] Figure 3 is a schematic diagram of the structure of the mechanical arm system provided by the preferred embodiment of the present application, such as Figure 3 The robotic arm system shown includes a serial robotic arm, which includes a mobile joint 1, a rotating joint 2, a mobile joint 3, a rotating joint 4, a rotating joint 5, a mobile joint 6, a rotating joint 7, a mobile joint 8, a rotating joint 9 and a mobile joint 10 in sequence. In addition, the robotic arm system also includes a base 11 fixedly connected to the mobile joint 1. Figure 4 Schematic diagram of the reference coordinate system and joint coordinate system of the robotic arm system provided by the preferred embodiment of the present application. Figure 4 The master-slave mapping method of the parallel platform of the preferred embodiment includes the following steps:

[0074] Step 1: Establish a reference coordinate system at the base of the serial robot arm and a joint coordinate system of each joint according to the rules of the world coordinate system.

[0075] The origin F0 of the reference coordinate system F0-X0Y0Z0 is fixed to the base of the robot arm, the Z0 axis points from F0 to the mobile joint 1, the Y0 axis points from the base F0 to the serial robot arm, and the X0 axis points in accordance with the right-hand coordinate system.

[0076] The origin L1 of the joint coordinate system L1-X1Y1Z1 of the mobile joint 1 is fixedly connected to the mobile joint 1, and the directions of the coordinate axes are the same as the directions of the corresponding axes of the reference coordinate system.

[0077] The origin R2 of the joint coordinate system R2-X2Y2Z2 of the rotary joint 2 is fixed on the rotary joint 2 and coincides with L1. The direction of Z2 is the same as that of the Z1 axis, and the directions of the X2 axis and the Y2 axis are opposite to those of the X1 axis and the Y1 axis respectively.

[0078] The origin L3 of the joint coordinate system L3-X3Y3Z3 of the mobile joint 3 is fixed on the mobile joint 3, the Z3 axis points from the L1 point to the L3 point, and the X3 axis and the Y3 axis point to the same direction as the X2 axis and the Z2 axis respectively.

[0079] The origin R4 of the joint coordinate system R4-X4Y4Z4 of the revolute joint 4 is fixed on the revolute joint 4 and coincides with the point L3 ( Figure 4 In order to clearly indicate the joint coordinate system of the mobile joint 3 and the joint coordinate system of the rotating joint 4, L3 and R4 are marked separately, the same below), the direction of the Z4 axis is opposite to the direction of the Y3 axis. Initially, the directions of the X4 axis and the Y4 axis are opposite to the directions of the X3 axis and the Z3 axis respectively.

[0080] The origin R5 of the joint coordinate system R5-X5Y5Z5 of the rotary joint 5 is fixed on the rotary joint 5, the direction of the Z5 axis is the same as the direction of the Z4 axis, and initially, the directions of the X5 axis and the Y5 axis are opposite to those of the X4 axis and the Y4 axis respectively.

[0081] The origin L6 of the joint coordinate system L6-X6Y6Z6 of the mobile joint 6 is fixed on the mobile joint 6, the Z6 axis points from the R5 point to the L6 point, and the X6 axis and the Y6 axis point to the same as the X5 axis and the Z5 axis respectively.

[0082] The origin R7 of the joint coordinate system R7-X7Y7Z7 of the rotary joint 7 is fixed on the rotary joint 7 and coincides with the point L6. Initially, the directions of the Z7 axis and the Y7 axis are opposite to those of the Y6 axis and the X6 axis, respectively, and the directions of the X7 axis and the Z6 axis are the same.

[0083] The origin L8 of the joint coordinate system L8-X8Y8Z8 of the mobile joint 8 is fixed on the mobile joint 8, the Z8 axis points from the L8 point to the R7 point, and the directions of the X8 and Y8 axes are the same as those of the X7 and Y7 axes, respectively.

[0084] The origin R9 of the joint coordinate system R9-X9Y9Z9 of the rotating joint 9 is fixedly connected to the rotating joint 9 and coincides with the point L8. The direction of the Z9 axis is opposite to that of the Y8 axis. Initially, the direction of the X9 axis is opposite to that of the Z8 axis, and the direction of the Y9 axis is the same as that of the X8 axis.

[0085] Move the joint coordinate system L of joint 10 10 -X 10 Y 10 Z 10 The origin L 10 Fixedly connected to the mobile joint 10, Z10 The axis points from point R9 to point L 10 Point, X 10 Axis and Y 10 The directions of the axes are the same as those of the X9 and Z9 axes respectively.

[0086] The length of F0R2 is l1, the length of R2R4 is l2, the length of R4R5 is l3, the length of R5R7 is l4, the length of R7R9 is l5, and the length of R9L 10 The length of is l6, and points L1, R2, L3, R4, R5, L6 and R7 are located on the same horizontal plane.

[0087] Step 2, obtain DH parameters and calculate the transformation relationship from the reference coordinate system to the end joint of the serial robot arm.

[0088] The DH parameters are shown in Table 1. In Table 1, in order to avoid confusing the rotation angles 0 and 2π of the revolute joint, the rotation angle of the Z axis in the DH parameters avoids the two positions of 0 and 2π.

[0089] Table 1 Figure 4 DH parameter table of the tandem manipulator shown

[0090]

[0091] Solve the transformation matrix from the Stewart calculation coordinate system to the reference coordinate system, that is, move the joint coordinate system L 10 -X 10 Y 10 Z 10 The transformation matrix and inverse matrix to the reference coordinate system F0-X0Y0Z0:

[0092] According to the robot's forward kinematics, the transformation matrix between two adjacent joints is:

[0093]

[0094] The transformation matrix from the mth joint (including the degrees of freedom of the mth joint) to the nth joint can be expressed as:

[0095]

[0096] The transformation matrix of a single tandem robot from the base to the Stewart platform static platform can be solved That is, the transformation matrix from the reference coordinate system to the Stewart calculation coordinate system, named T trans_mach_st , and the transformation matrix from the Stewart calculation coordinate system to the reference coordinate system is the inverse matrix

[0097] Step 3: Perform coordinate transformation between the reference coordinate system and the Stewart calculation coordinate system according to the transformation matrix and the inverse matrix of the transformation matrix.

[0098] The embodiment of the present application simplifies the motion mapping of master-slave control by establishing a user coordinate system. In the case where the robot arm system works as a single arm, the master-slave mapping method of the parallel platform of the preferred embodiment also includes the following steps:

[0099] Step S205 , establishing a slave user coordinate system, wherein an XY coordinate plane of the slave user coordinate system is parallel to an XY plane of the reference coordinate system, and the origin of the slave user coordinate system coincides with the origin of the calculation coordinate system.

[0100] Step S206, obtaining the viewing angle value input by the user, and determining the conversion relationship between the user coordinate system and the reference coordinate system according to the viewing angle value and the conversion relationship between the reference coordinate system and the calculation coordinate system.

[0101] The rotation angle around the Z axis from the XY coordinate plane of the user coordinate system established in step S205 is the viewing angle value. When working with a single arm, the viewing angle value is input by the user according to the viewing angle and is named θ theta_mach_user , according to the definition of user coordinates, the transformation matrix from the user coordinate system to the reference coordinate system can be obtained:

[0102]

[0103] in Indicates the above The data in row 1 and column 4.

[0104] Figure 5 Schematic diagram of the robot arm system provided by the preferred embodiment of the present application when the two arms are working from the user coordinate system, such as Figure 5 As shown, the reference coordinate system is O0-X0Y0Z0, and the Stewart calculation coordinate system is O S -X S Y S Z S , from the user coordinate system to O P -X P Y P Z P .

[0105] In the case where the robot arm system is a dual-arm operation, the master-slave mapping method of the parallel platform of this preferred embodiment further includes the following steps:

[0106] Step S207, establish a first slave user coordinate system of the first serial robot and a second slave user coordinate system of the second serial robot, wherein the X-axis direction of the first slave user coordinate system is the same as and collinear with the X-axis direction of the second slave user coordinate system, and the origin of the first slave user coordinate system coincides with the origin of the calculation coordinate system of the first serial robot, and the origin of the second slave user coordinate system coincides with the origin of the calculation coordinate system of the second serial robot.

[0107] Taking the reference coordinate system as the reference, the face facing the operated object is the forward direction of the serial robot arm, the left hand side is the left serial robot arm, and the right hand side is the right serial robot arm. According to the single-arm transformation matrix setting method, the DH parameters of the left and right arms are input respectively, and the transformation matrices T of the left and right arms can be obtained. trans_mach_st_left and T trans_mach_st_right , the coordinates of the origin of the static platforms of the two serially connected robotic arms in the reference coordinate system are:

[0108] C coord_mach_st_left =[T trans_mach_st _ left (1,4) T trans_mach_st_left (2,4) T trans_mach_st_left (3,4) 1] T .

[0109] C coord_mach_st_right =[T trans_mach_st_right (1,4) T trans_mach_st_righ (2,4) T trans_mach_st_right (3,4) 1] T .

[0110] At this time, it is stipulated that the two serial robot arms are in the same direction and collinear from the X-axis of the user coordinate system, and the positive direction is C coord_mach_st_left Point to C coord_mach_st_right point.

[0111] Step S208, determine the angle between the X-axis direction of the first slave user coordinate system and the X-axis direction of the reference coordinate system, and determine the second transformation relationship between the reference coordinate system and the first slave user coordinate system and the second slave user coordinate system according to the angle and the transformation relationship between the reference coordinate system and the calculated coordinate system of each serial robot arm.

[0112] The angle θ between the X-axis and the reference coordinate system theta_mach_user It can be calculated by the following formula:

[0113]

[0114] Where θ = atan2(y,x), which is a built-in function in MATLAB or C language library. Therefore, the transformation matrix from the user coordinate system corresponding to the left and right tandem robotic arms can be obtained by a similar method to the single arm transformation matrix:

[0115]

[0116]

[0117] Get the transformation matrix T from the user coordinate system to the reference coordinate system trans_mach_uaer , you can get the transformation matrix of the reference coordinate system relative to the user coordinate system

[0118] In the case where the reference coordinate system to the user coordinate system and the reference coordinate system to the Stewart calculation coordinate system have been obtained, the transformation matrix T from the user coordinate system to the Stewart calculation coordinate system trans_user_st It can be calculated by the following formula:

[0119] T teans_user_st =T trans_mach_user -1 ·T trans_mach_st .

[0120] The transformation matrix from the Stewart coordinate system to the user coordinate system is the inverse matrix

[0121] In the above embodiment, when the robotic arm system is working with a single arm, the conversion relationship between the slave user coordinate system and the reference coordinate system is determined by the viewing angle value input by the user; when the robotic arm system is working with two arms, since a slave user coordinate system is established for each single arm, after the X-axis directions of the two slave user coordinate systems are set to be the same and collinear, the angle between the X-axis direction of the slave user coordinate system and the X-axis direction of the reference coordinate system can be used as the viewing angle value to further determine the conversion relationship between the slave user coordinate system and the reference coordinate system of each single arm.

[0122] After obtaining the conversion relationship between the user coordinate system and the reference coordinate system, the conversion relationship from the user coordinate system to the calculation coordinate system of the serial robot arm can be determined based on the conversion relationship between the reference coordinate system and the calculation coordinate system, and the conversion relationship between the user coordinate system and the reference coordinate system.

[0123] Figure 6 Schematic diagram of the master-slave mapping method of the parallel platform of the preferred embodiment of the present application. Figure 6 As shown, the left picture is the passive arm and the right picture is the main manipulator. Figure 6 Specifically, the master-slave mapping method of the parallel platform provided in this preferred embodiment may include the following steps:

[0124] Step 1: From the moment the operator holds the main manipulator to the moment the operator's hand leaves the main manipulator, it is considered a working cycle T. The moment the operator holds the main manipulator and starts the operation is T(0), and the position coordinates of the main manipulator at this moment are set as the origin M0(0, 0, 0); at this moment, the position coordinates of the end point of the manipulator installed on the moving platform in the slave user coordinate system are S0(X0, Y0, Z0), and the system calculates and saves S0(X0, Y0, Z0) as a known value, recorded as C coord_now_user .

[0125] Step 2: At any time t in the working cycle, let the position coordinates of the end point of the master hand be M t (X mt , Y mt , Z mt ), denoted as C coord_offset_mas :

[0126]

[0127] At this time, the end point of the instrument moves from the user coordinate system to the target point position coordinate S t (X t , Y t , Z t ) can be obtained through M t (X mt , Y mt , Z mt ) is obtained by displacement scaling factor K0:

[0128] Xt=X0+K0*X mt

[0129] Yt=Y0+K0*Y mt

[0130] Zt=Z0+K0*Z mt

[0131] Based on the position coordinates of the end point of the instrument in the slave user coordinate system at time T(0) as S0(X0, Y0, Z0), in each motion execution cycle, the master hand will send the current coordinates M t (X mt , Y mt , Z mt ) to calculate the coordinate S of the end point of the instrument in the user coordinate system at that moment t (X t , Y t , Z t ), recorded as C coord_new_user :

[0132] C coord_new_ x ser =C coord_now_user+K0×C coord_offset_mas .

[0133] Step 3: Move the end point of the instrument to the coordinate S in the user coordinate system. t (X t , Y t , Z t ) is transformed from the user coordinate system to the Stewart calculation coordinate system through the transformation matrix, denoted as C coord_new_st :

[0134] C coord_new_st =T trans_st_user ·C coord_new_user .

[0135] Where T trans_st_user Computes the transformation matrix from the user coordinate system to the Stewart coordinate system.

[0136] Step 4: Once the coordinates of the end point of the instrument in the Stewart calculation coordinate system are known, the motion of each joint of the platform can be calculated through the inverse kinematics solution of the Stewart platform to complete the mapping of the master-slave motion.

[0137] In some of the embodiments, the preset displacement proportional coefficient K0 is adjustable, and the value may be a value greater than 1 or a value less than 1; wherein, when the preset displacement proportional coefficient K0 is a value less than 1, high-precision control of the passive arm may be achieved, and the operator's hand shaking during the operation may be eliminated to improve the operational reliability.

[0138] In the above-mentioned master-slave mapping method, relative zero-position motion mapping control is adopted to avoid error accumulation and improve control accuracy and operational safety.

[0139] This embodiment also provides a robotic arm system, including a parallel platform, a main manipulator, a memory and a controller, the parallel platform including a static platform, a dynamic platform and a plurality of telescopic rods arranged between the static platform and the dynamic platform, a computer program is stored in the memory, and the controller is configured to run the computer program to execute the above-mentioned master-slave mapping method of the parallel platform.

[0140] In addition, in combination with the method in the above embodiment, the embodiment of the present application also provides a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any master-slave mapping method of a parallel platform in the above embodiment is implemented.

[0141] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0142] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0143] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A master-slave mapping method of a parallel platform, applied to a robotic arm system, wherein the robotic arm system comprises a parallel platform and a master manipulator, wherein the parallel platform comprises a static platform, a dynamic platform, and a plurality of telescopic rods arranged between the static platform and the dynamic platform, characterized in that: The master-slave mapping method of the parallel platform includes: A calculation coordinate system of the parallel platform is established on the static platform, a slave user coordinate system is established on the static platform, and a master user coordinate system is established on the master operator, wherein the calculation coordinate system coincides with the origin of the slave user coordinate system, and the Z axes of the slave user coordinate system and the master user coordinate system are parallel to the Z axis of the reference coordinate system, the master user coordinate system and the slave user coordinate system are different coordinate systems, the coordinate origin of the master user coordinate system is set at the end of the master operator, and each coordinate axis of the master user coordinate system is parallel to each coordinate axis of the slave user coordinate system; Acquire a first transformation relationship between the slave user coordinate system and the calculation coordinate system; Mapping the displacement of the end of the master manipulator in the master user coordinate system to the end of the moving platform in the slave user coordinate system according to a set proportionality coefficient, and obtaining a first target position of the end of the moving platform in the slave user coordinate system; Determining a second target position of the end of the moving platform in the calculation coordinate system according to the first conversion relationship and the first target position; According to the second target position, the movement amount of each telescopic rod of the parallel platform is solved by an inverse kinematics algorithm, and the movement of the parallel platform is controlled according to the movement amount of each telescopic rod; The acquiring of the first conversion relationship between the slave user coordinate system and the calculation coordinate system comprises: Acquire a second transformation relationship between a reference coordinate system and the slave user coordinate system, and acquire a third transformation relationship between the reference coordinate system and the calculation coordinate system; The first conversion relationship is determined according to the second conversion relationship and the third conversion relationship.

2. The master-slave mapping method of the parallel platform according to claim 1, characterized in that: The reference coordinate system is a base coordinate system of the robotic arm system; the robotic arm system further includes a serial robotic arm, and the parallel platform is mounted at the end of the serial robotic arm; wherein obtaining a third conversion relationship between the reference coordinate system and the calculation coordinate system includes: Establishing a joint coordinate system of each joint in the serial robot arm; Obtain the DH parameters of the joint coordinate system of the first joint in the serial robot arm and the reference coordinate system, and determine the conversion relationship between the reference coordinate system and the joint coordinate system of the first joint Wherein, the first joint is a joint directly connected to the base, and the DH parameter is a traditional DH parameter or an improved DH parameter; Obtain the DH parameters of the joint coordinate system of the i-th joint and the joint coordinate system of the i-1-th joint in the serial robot arm, and determine the conversion relationship between the joint coordinate system of the i-1-th joint and the joint coordinate system of the i-th joint Wherein, i=2, 3, 4, ..., N; N is the total number of joints of the serial robot arm; According to the conversion relationship and conversion relationship Determine the conversion relationship between the reference coordinate system and the joint coordinate system of the Nth joint That is the third transformation relationship, in which the joint coordinate system of the Nth joint completely coincides with the calculation coordinate system.

3. The master-slave mapping method of the parallel platform according to claim 2, characterized in that: The serial robot arm includes a rotating joint and a moving joint; wherein, the Z axis of the joint coordinate system of the rotating joint is set along the rotation axis, and the Z axis of the joint coordinate system of the moving joint is set along the moving direction. The reference coordinate system and the joint coordinate system of each joint are both left-handed or right-handed, and when the joint before the rotating joint is a moving joint, the origin of the joint coordinate system of the rotating joint coincides with the origin of the joint coordinate system of the moving joint.

4. The master-slave mapping method of the parallel platform according to claim 1, characterized in that: The calculation coordinate system coincides with the origin of the slave user coordinate system, and the XY coordinate plane of the slave user coordinate system and the XY coordinate plane of the master user coordinate system are both parallel to the XY coordinate plane of the reference coordinate system.

5. The master-slave mapping method of the parallel platform according to claim 4, characterized in that: The acquiring of the second conversion relationship between the reference coordinate system and the slave user coordinate system comprises: Obtaining a user's viewing angle value relative to the robotic arm system; A second conversion relationship between the reference coordinate system and the slave user coordinate system is determined according to the viewing angle value and the third conversion relationship.

6. The master-slave mapping method of the parallel platform according to claim 5, characterized in that: When the robotic arm system operates with a single arm, the viewing angle value is determined based on configuration information input by a user.

7. The master-slave mapping method of the parallel platform according to claim 5 or 6, characterized in that: The rotation angle around the Z axis from the XY coordinate plane of the user coordinate system is the viewing angle value.

8. The master-slave mapping method of the parallel platform according to claim 4, characterized in that: In the case where the first serial robot arm and the second serial robot arm in the robot arm system work simultaneously, acquiring the second conversion relationship between the reference coordinate system and the slave user coordinate system includes: Establishing a first slave user coordinate system of the first serial robot and a second slave user coordinate system of the second serial robot, wherein the X-axis direction of the first slave user coordinate system is the same as and collinear with the X-axis direction of the second slave user coordinate system, and the origin of the first slave user coordinate system coincides with the origin of the calculation coordinate system of the first serial robot, and the origin of the second slave user coordinate system coincides with the origin of the calculation coordinate system of the second serial robot; Determine a second transformation relationship between the reference coordinate system and the first slave user coordinate system and the second slave user coordinate system.

9. The master-slave mapping method of the parallel platform according to claim 8, characterized in that: The determining of a second conversion relationship between the reference coordinate system and the first slave user coordinate system and the second slave user coordinate system respectively includes: Determine an angle between an X-axis direction of the first slave user coordinate system and an X-axis direction of the reference coordinate system; According to the angle and the conversion relationship between the reference coordinate system and the calculation coordinate system of each serial robot arm, the second conversion relationship between the reference coordinate system and the first slave user coordinate system and the second slave user coordinate system is determined.

10. A robotic arm system, comprising a parallel platform, a main manipulator, a memory and a controller, wherein the parallel platform comprises a static platform, a dynamic platform and a plurality of telescopic rods arranged between the static platform and the dynamic platform, characterized in that: A computer program is stored in the memory, and the controller is configured to run the computer program to execute the master-slave mapping method for the parallel platform according to any one of claims 1 to 9.

11. The robotic arm system according to claim 10, characterized in that: The robotic arm system also includes a serial robotic arm, and the parallel platform is mounted on the end of the serial robotic arm.

12. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the master-slave mapping method for a parallel platform according to any one of claims 1 to 9 when running.

Citation Information

Patent Citations

  • Modeling method for simplified kinematic model of minimally invasive surgical robot

    CN107374727A

  • Method for uniquely solving inverse kinematics numerical value of joint type mechanical arm

    CN109895101A

  • Control method for surgery mechanical arm, computer equipment and surgery mechanical arm

    CN111227943A

  • Master-slave mapping method of parallel platform, mechanical arm system and storage medium

    CN112828862A

  • Control method for master slave manipulator

    JP1993177563A