Control method, system, terminal device and storage medium based on four-axis robotic arm

By acquiring and analyzing the execution parameters and position information of the four-axis robotic arm, the kinematics and angular velocity information are determined to achieve precise control of the four-axis robotic arm, solving the problem of insufficient control accuracy and improving operational accuracy.

CN118514088BActive Publication Date: 2024-10-18FOSHAN UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410988989.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-18
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The existing four-axis robotic arm has insufficient control accuracy and is greatly affected by subjective factors, making it difficult to achieve precise operation.

Method used

By obtaining the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device, the kinematic position set, parallel joint angular velocity set and drive acceleration information are determined to achieve precise control of the four-axis robotic arm.

Benefits of technology

It improves the control accuracy of the four-axis robotic arm, achieves more precise operation and quantitative analysis, and solves the problem of insufficient control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118514088B_ABST
    Figure CN118514088B_ABST
Patent Text Reader

Abstract

The present application is applicable to the technical field of robot control, and provides a control method, system, terminal device and storage medium based on a four-axis robot arm, wherein the method comprises first obtaining execution parameter information and end position information, and then based on the end position information, quickly determining kinematic position set information, and then determining parallel joint angular velocity set information and parallel joint acceleration set information, and then determining drive angular velocity information and drive acceleration information, and finally accurately controlling the four-axis robot arm according to core parameters such as execution parameter information, parallel joint angular velocity information, drive angular velocity information and drive acceleration information. The present application can perform comprehensive and accurate quantitative analysis on the four-axis robot arm, significantly improve the control accuracy and performance of the system, and greatly improve the accuracy and stability of automated operation through in-depth analysis of each joint and motion parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of robot control, and in particular, to a control method, system, terminal device and storage medium based on a four-axis robotic arm. Background Art

[0002] With the rapid economic growth and the increasing attention paid to robotics technology, hybrid robots have ushered in rapid development opportunities. Among them, the four-axis robotic arm with a hybrid structure has received more concentrated attention.

[0003] At present, the operating procedures of four-axis robotic arms are usually set by operation and maintenance personnel based on personal experience, which makes the control accuracy easily affected by subjective factors. There is a problem of insufficient control accuracy, which needs further improvement. Summary of the invention

[0004] Based on this, the embodiments of the present application provide a control method, system, terminal device and storage medium based on a four-axis robotic arm to solve the problem of insufficient control accuracy in the prior art.

[0005] In a first aspect, an embodiment of the present application provides a control method based on a four-axis robot arm, which is applied to a four-axis robot arm, wherein the four-axis robot arm includes a planar two-axis parallel device, a mobile joint device and an end-effector, wherein the planar two-axis parallel device includes an active arm and a passive arm, wherein the active arm is installed at a driving end of the mobile joint device, the passive arm is installed at an end of the active arm away from the mobile joint device, the end-effector is installed at an end of the passive arm away from the active arm, the planar two-axis parallel device and the mobile joint device are perpendicular to each other, and the method includes:

[0006] Acquiring execution parameter information of the mobile joint device and terminal position information of the planar two-axis parallel device;

[0007] Based on the end position information, determining the kinematic position set information of the planar two-axis parallel device;

[0008] Based on the end position information, determining the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device;

[0009] Based on the end position information, determining the driving angular velocity information and the driving acceleration information of the end effector;

[0010] The four-axis robot arm is controlled according to the execution parameter information, the end position information, the kinematic position set information, the parallel joint angular velocity information, the parallel joint acceleration information, the drive angular velocity information and the drive acceleration information.

[0011] Compared with the prior art, the beneficial effects are as follows: in the control method based on the four-axis robotic arm provided in the embodiment of the present application, the terminal device can first obtain the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device, and then based on the end position information, quickly determine the kinematic position set information of the planar two-axis parallel device, and then based on the end position information, accurately determine the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device, and then based on the end position information, accurately determine the driving angular velocity information and the driving acceleration information of the end actuator, and finally, according to the execution parameter information, end position information, kinematic position set information, parallel joint angular velocity set information, parallel joint acceleration set information, driving angular velocity information and driving acceleration information, the core devices of the four-axis robotic arm are precisely controlled, which is conducive to realizing a comprehensive quantitative analysis of the four-axis robotic arm, realizing more precise control and operation, improving control accuracy, and solving the current problem of insufficient control accuracy to a certain extent.

[0012] In a second aspect, an embodiment of the present application provides a control system based on a four-axis robot arm, which is applied to a four-axis robot arm, wherein the four-axis robot arm includes a planar two-axis parallel device, a mobile joint device and an end-effector, wherein the planar two-axis parallel device includes an active arm and a driven arm, wherein the active arm is installed at a driving end of the mobile joint device, the driven arm is installed at an end of the active arm away from the mobile joint device, and the end-effector is installed at an end of the driven arm away from the active arm, wherein the planar two-axis parallel device and the mobile joint device are perpendicular to each other, and the system includes:

[0013] End position information acquisition module: used to acquire the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device;

[0014] A kinematic position set information determination module: used to determine the kinematic position set information of the planar two-axis parallel device based on the end position information;

[0015] A parallel joint angular velocity set information determination module is used to determine the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device based on the end position information;

[0016] A driving angular velocity information determination module: used to determine the driving angular velocity information and driving acceleration information of the end effector based on the end position information;

[0017] Four-axis robotic arm control module: used to control the four-axis robotic arm according to the execution parameter information, the end position information, the kinematic position set information, the parallel joint angular velocity set information, the parallel joint acceleration set information, the drive angular velocity information and the drive acceleration information.

[0018] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of the first aspect described above when executing the computer program.

[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect described above are implemented.

[0020] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0022] Figure 1 It is a flowchart of a control method provided by an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of a four-axis robotic arm provided in one embodiment of the present application;

[0024] Figure 3 is a schematic diagram of a planar two-axis parallel device provided by an embodiment of the present application;

[0025] Figure 4 is a schematic diagram of a plane coordinate system provided by an embodiment of the present application;

[0026] Figure 5 is a flow chart of step S200 in the control method provided in one embodiment of the present application;

[0027] Figure 6 is a schematic diagram of an inverse kinematics model of a parallel joint provided in an embodiment of the present application;

[0028] Figure 7 is a flow chart of step S300 in the control method provided in one embodiment of the present application;

[0029] Figure 8 is a schematic diagram of a simplified structure of a four-axis robotic arm provided in one embodiment of the present application;

[0030] Fig. 9 is a schematic diagram of a four-axis robotic arm based on the DH modeling method provided in one embodiment of the present application;

[0031] Fig.10 is a flow chart of step S400 in the control method provided in one embodiment of the present application;

[0032] Fig.11 It is a schematic diagram of the flow chart after step S500 in the control method provided in one embodiment of the present application;

[0033] Fig.12 is a module block diagram of a control system provided by an embodiment of the present application;

[0034] Fig.13 It is a schematic diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0035] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0036] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0037] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0038] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0039] See also Figure 1 , Figure 1: is a flow chart of a control method based on a four-axis robot provided in an embodiment of the present application. In this embodiment, the execution subject of the control method is a terminal device. It is understandable that the types of terminal devices include but are not limited to mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (Ultra-Mobile Personal Computer, UMPC), netbooks, personal digital assistants (Personal Digital Assistant, PDA), etc., and the embodiments of the present application do not impose any restrictions on the specific types of terminal devices.

[0040] See also Figure 1 The control method provided in the embodiment of the present application includes but is not limited to the following steps:

[0041] In S100, the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device are obtained.

[0042] Without loss of generality, see Figure 2 The control method can be applied to a four-axis robot, wherein the four-axis robot includes a planar two-axis parallel device, a mobile joint device and an end-effector, and the planar two-axis parallel device includes an active arm and a passive arm, the active arm is installed at the driving end of the mobile joint device, the passive arm is installed at one end of the active arm away from the mobile joint device, the planar two-axis parallel device and the mobile joint device are perpendicular to each other, and the end-effector is installed at one end of the passive arm away from the active arm. In a possible implementation, the end-effector may also include a rotary joint.

[0043] For some possible implementations, see Figure 2 and Figure 3 , Figure 3 The "end moving platform" is the end effector; Figure 3 The "active arm", "driven arm" and "end moving platform" can form the first branch chain. Figure 3In the planar two-axis parallel device, two "balance links" can form a second branch chain; in order to ensure that the joint end moving platform of the planar two-axis parallel device can always remain in a horizontal state, a parallelogram structural component can be added to a branch chain composed of an active arm and a driven arm of the planar two-axis parallel device, wherein the added parallelogram structural component includes the following advantages: (1) Since the parallelogram structural component is usually composed of a plurality of connecting rods, and these rods are relatively rigid, the entire structure can maintain high stability and rigidity during operation; (2) Since there is a connecting rod mechanism between the rods in the parallelogram structural component, the load can be evenly distributed on each rod, thereby improving the load capacity of the entire structure; (3) By designing and controlling the geometric shape and connection method of the parallelogram mechanism, the degree of freedom of the mechanism can be flexibly controlled to meet the needs of different working scenarios; (4) Since the parallelogram mechanism has good stability, it can maintain a stable motion trajectory and working state under different working conditions.

[0044] Specifically, the terminal device can first obtain the execution parameter information of the mobile joint device and simultaneously obtain the end position information of the planar two-axis parallel device, wherein the execution parameter information is used to describe the execution parameters of the mobile joint device and the end position information is used to describe the end position of the planar two-axis parallel device.

[0045] For some possible implementations, see Figure 3 and Figure 4 ,exist Figure 4 In the paper, the planar two-axis parallel device is simplified into a planar six-bar mechanism; Figure 4 The "O" point in the coordinate system represents the origin. Figure 4 The straight line "E1E2" in axis, Figure 4 Draw the perpendicular bisector of the straight line "E1E2" and use its perpendicular line as Axis, thus achieving the construction plane coordinate system, so the end position information of the planar two-axis parallel device can be ,in, .

[0046] In S200, kinematic position set information of the planar two-axis parallel device is determined based on the end position information.

[0047] Specifically, after the terminal device obtains the end position information, the terminal device can determine the kinematic position set information of the planar two-axis parallel device based on the end position information, thereby accurately determining the inverse kinematic position and forward kinematic position of the planar two-axis parallel device, which is conducive to the precise control of the four-axis robotic arm.

[0048] In some possible implementations, the kinematic position set information includes inverse kinematic position information; in order to facilitate precise control of the four-axis robot arm, please refer to Figure 5 Step S200 includes but is not limited to the following steps:

[0049] In S210 , first length information of the active arm and second length information of the passive arm are obtained.

[0050] Specifically, the terminal device may first obtain first length information of the active arm and second length information of the passive arm, wherein the first length information is used to describe the length of the active arm, and the second length information is used to describe the length of the passive arm.

[0051] In S220, the inverse kinematics position information is determined according to the first length information, the second length information, the end position information and a preset closed-loop vector equation.

[0052] Specifically, after the terminal device obtains the first length information and the second length information, the terminal device can input the first length information, the second length information and the end position information into a preset closed-loop vector equation to accurately determine the inverse kinematics position information.

[0053] For some possible implementations, see Figure 4 , the above closed-loop vector equation can be:

[0054]

[0055] In the formula, Indicates the terminal position information; The value of represents 1 or 2; when The value of represents 1, The value of represents 1, when The value of represents 2, The value of represents -1; Indicates the distance between the joint of the active arm and the origin of the preset coordinate system; Represents the distance unit vector between the joint of the active arm and the origin of the preset coordinate system.

[0056] In the formula, Indicates first length information; Indicates second length information; Indicates the distance between the joint of the slave arm and the origin of the preset coordinate system; represents the length unit vector of the active arm, ; represents the length unit vector of the slave arm, .

[0057] In some possible implementations, the terminal device may perform a merging and similar term shifting process on the closed-loop vector equation to generate a first equation, where the first equation may be:

[0058]

[0059] In the formula, .

[0060] Then, both ends of the first equation are modulo-squared to generate a second equation, where the second equation can be:

[0061]

[0062] In the formula, .

[0063] Then, the coefficients of the second equation are replaced to generate a third equation, where the third equation can be:

[0064]

[0065] In the formula, ; ; .

[0066] Then, based on the geometric transformation method, the third equation is transformed into The polynomial equation of , generates the fourth equation, where , combined with the above third equation, the fourth equation can be:

[0067]

[0068] Therefore, the inverse kinematics position information can be:

[0069]

[0070] In the formula, Represents inverse kinematics position information; ;when The value of represents 1, The value of represents 1, when The value of represents 2, The value of represents -1; ; ; Indicates the horizontal coordinate corresponding to the terminal position information; Indicates the vertical coordinate corresponding to the terminal position information; .

[0071] For some possible implementations, see Figure 6, the terminal device can verify the inverse kinematics position information, and then verify the inverse kinematics model of the parallel joint; for example, when the center distance between the two motors E = 2e = 150mm, the rod lengths of the two active arms are both =140mm, the rod lengths of the two slave arms are =260mm, the parallel joint end rod length D=2d=80mm, and the parallel joint end position coordinate C is (0, -300), the following Table 1 can be obtained.

[0072] Table 1 Inverse solution error analysis results

[0073]

[0074] It can be seen from Table 1 that the error between the analytical solution and the graphical solution is less than 0.3%, and the analytical solution and the graphical solution are almost consistent, so the inverse kinematics model of the parallel joint meets the expected requirements.

[0075] In some possible implementations, in order to further facilitate the precise control of the four-axis robot, the kinematic position set information also includes positive kinematic position information, see Figure 5 Step S200 includes but is not limited to the following steps:

[0076] In S230, based on the preset first branch position equation, the first parallel joint variable information of the planar two-axis parallel device is determined, and based on the preset second branch position equation, the second parallel joint variable information of the planar two-axis parallel device is determined.

[0077] Specifically, the terminal device can first accurately determine the first parallel joint variable information of the planar two-axis parallel device based on the preset first branch position equation, and at the same time accurately determine the second parallel joint variable information of the planar two-axis parallel device based on the preset second branch position equation.

[0078] In some possible implementations, the first branch position equation may be:

[0079]

[0080] In the formula, .

[0081] In some possible implementations, the second branch position equation may be:

[0082]

[0083] In the formula, .

[0084] In S240 , the positive kinematics position information is determined according to the first parallel joint variable information and the second parallel joint variable information.

[0085] Specifically, the terminal device can accurately determine the positive kinematics position information based on the first parallel joint variable information and the second parallel joint variable information.

[0086] In some possible implementations, the terminal device may generate a fifth equation according to the first branch position equation and the second branch position equation, wherein the fifth equation may be:

[0087]

[0088] The terminal device can then and Input into the fifth equation to generate the sixth equation, where the sixth equation can be:

[0089]

[0090] Then, the coefficients of the sixth equation are replaced to generate the seventh equation, where the seventh equation can be:

[0091]

[0092] And solve the seventh equation to get:

[0093]

[0094] In the formula, ; ; .

[0095] Then the seventh equation is combined with the second equation to generate a quadratic function, where the quadratic function can be:

[0096]

[0097] Then, the coefficient substitution process is performed on the quadratic function to generate the eighth equation, where the eighth equation can be:

[0098]

[0099] In the formula, ; ; ;

[0100] Therefore, the positive kinematic position information can be:

[0101]

[0102] In the formula, Indicates the horizontal coordinate corresponding to the positive kinematic position information; Indicates the ordinate corresponding to the positive kinematic position information; ; ; Represents the variable information of the first parallel joint; Indicates the variable information of the second parallel joint; ; ; ; .

[0103] In some possible implementations, the terminal device can verify the positive kinematic position information, and then verify the parallel joint positive kinematic model; for example, when the center distance between the two motors is E=2e=150mm and the rod lengths of the two active arms are =140mm, the rod lengths of the two slave arms are =260mm, parallel joint end rod length D=2d=80mm, parallel joint drive angle , and the parallel joint drive angle When , we can get the following Table 2.

[0104] Table 2 Results of the error analysis of the correct solution

[0105]

[0106] It can be seen from Table 2 that the error between the ideal position and the correct solution position is less than 1%, so the forward kinematics model of the parallel joint meets the expected requirements.

[0107] In S300, based on the end position information, the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device are determined.

[0108] Specifically, the parallel joint angular velocity set information of the planar two-axis parallel device includes the first parallel joint angular velocity information of the active arm and the second parallel joint angular velocity information of the slave arm, and the parallel joint acceleration set information of the planar two-axis parallel device includes the first parallel joint acceleration information of the active arm and the second parallel joint acceleration information of the slave arm.

[0109] In some possible implementations, to improve control accuracy, see Figure 7 Step S300 includes but is not limited to the following steps:

[0110] In S310, the closed-loop vector equation is processed by merging and transposing terms of the same type to generate a first optimized vector equation.

[0111] Specifically, the terminal device may perform a merging and similar term shifting process on the closed-loop vector equation to generate a first optimized vector equation. Exemplarily, the first optimized vector equation may be the first equation.

[0112] In S320, the first optimized vector equation is subjected to time derivative processing to determine a parallel joint velocity calculation equation.

[0113] Specifically, the terminal device can perform time derivative processing on the first optimized vector equation to quickly determine the parallel joint speed calculation equation.

[0114] In some possible implementations, the parallel joint velocity calculation equation may be:

[0115]

[0116] In the formula, Indicates the terminal speed information of the planar two-axis parallel device; Represents the angular velocity information of the first parallel joint of the active arm; Represents the angular velocity information of the second parallel joint of the slave arm; represents the preset matrix transformation operator, .

[0117] In S330 , based on the parallel joint velocity calculation equation, first parallel joint acceleration information of the active arm is determined.

[0118] Specifically, the terminal device can combine both ends of the parallel joint speed calculation equation based on the parallel joint speed calculation equation. , thereby achieving In the form of, accurately determine the acceleration information of the first parallel joint of the active arm.

[0119] In some possible implementations, the first parallel joint acceleration information may be:

[0120]

[0121] In the formula, Represents the acceleration information of the first parallel joint, ; ; ; is the default Jacobian matrix.

[0122] In S340, based on the parallel joint velocity calculation equation, the second parallel joint acceleration information of the slave arm is determined.

[0123] Specifically, the terminal device can combine both ends of the parallel joint speed calculation equation based on the parallel joint speed calculation equation. , thereby achieving The acceleration information of the second parallel joint of the slave arm can be accurately determined in the form of

[0124] In some possible implementations, the second parallel joint acceleration information may be:

[0125]

[0126] In the formula, Represents the acceleration information of the second parallel joint, ; ; ; Represents the preset Jacobian matrix.

[0127] In some possible implementations, the terminal device may perform singular configuration analysis on the active arm and the passive arm, thereby reducing the situation where the two passive arms are uncontrollable.

[0128] In S400 , based on the end position information, driving angular velocity information and driving acceleration information of the end effector are determined.

[0129] Specifically, the terminal device can accurately determine the driving angular velocity information and driving acceleration information of the end effector based on the end position information.

[0130] Without loss of generality, the terminal device may determine the acceleration model of the active arm and the acceleration model of the passive arm, thereby determining the acceleration of the parallel joint, wherein the acceleration model of the active arm may be:

[0131]

[0132] The acceleration model of the slave arm can be:

[0133]

[0134] In the formula, ; represents the angular acceleration of the active arm; represents the angular acceleration of the slave arm; Represents the angular velocity of the end of the parallel joint.

[0135] For some possible implementations, see Figure 8 and Fig. 9For a four-axis robot with a serial structure, the terminal device can use the DH modeling method to model it; since the first joint of the four-axis robot is a moving joint, and the joint is perpendicular to the parallel joint part, and the quick motion of the moving joint is the speed of the parallel joint in the moving direction, it does not affect the quick motion of the parallel joint in its plane, that is, the moving joint part and the parallel joint part move independently of each other, and the last rotating joint is integrated with the end of the parallel joint, so the speed and acceleration of the last rotating joint are the same as those of the parallel joint, and the two positions are relatively constant, that is, the end position of the parallel joint is determined, then the terminal device can determine the end position of the four-axis serial-parallel robot. By simplifying the parallel structure part into a connecting rod, that is, when solving the overall kinematics, the four-axis robot is regarded as two axes of the serial structure for kinematic solution, among which the DH modeling method is an existing technology, so it will not be repeated.

[0136] In some possible implementations, to further improve control accuracy, see Fig.10 Step S400 includes but is not limited to the following steps:

[0137] In S410, the first optimized vector equation is subjected to a modulo square process to generate a second optimized vector equation.

[0138] Specifically, since the motion posture of the end effector usually needs to be considered in real-time control systems, not only the position of the end effector but also its speed and acceleration need to be considered, the terminal device can perform modulo processing on the first optimization vector equation to quickly generate the second optimization vector equation.

[0139] In S420, the second optimized vector equation is subjected to time derivative processing to determine a parallel joint driving angular velocity calculation equation.

[0140] Specifically, the terminal device can perform time derivative processing on the second optimized vector equation to accurately determine the parallel joint drive angular velocity calculation equation.

[0141] In some possible implementations, the above parallel joint drive angular velocity calculation equation may be:

[0142]

[0143] In S430, based on the parallel joint driving angular velocity calculation equation, the driving angular velocity information of the end effector is determined.

[0144] Specifically, the terminal device can accurately determine the driving angular velocity information of the end effector based on the parallel joint driving angular velocity calculation equation.

[0145] In some possible implementations, the driving angular velocity information may be:

[0146]

[0147] In the formula, represents a first angular velocity of the end effector, the first angular velocity being associated with the first parallel joint variable information; It represents the second angular velocity of the end effector, and the second angular velocity is associated with the second parallel joint variable information.

[0148] In S440, the parallel joint driving angular velocity calculation equation is subjected to time derivative processing to determine the driving acceleration information of the end effector.

[0149] Specifically, the terminal device can perform time derivative processing on the parallel joint drive angular velocity calculation equation to accurately determine the corresponding drive acceleration information of the end effector.

[0150] Exemplarily, the terminal device may perform time derivative processing on the parallel joint drive angular velocity calculation equation to generate a ninth equation, wherein the ninth equation may be:

[0151]

[0152] In the formula, ;

[0153] Therefore, the terminal device can determine the driving acceleration information as:

[0154]

[0155] In the formula, represents a first angular acceleration of the end effector, the first angular acceleration being associated with the first parallel joint variable information; It represents the second angular acceleration of the end effector, and the second angular velocity is associated with the second parallel joint variable information.

[0156] In the formula, ; ; ; .

[0157] In some possible implementations, the terminal device can use a quintic polynomial to plan the trajectory curve; since the trajectory refers to the path taken by the robot during the movement, the changes in the speed and acceleration of each path point over time, and trajectory planning is to calculate the expected motion trajectory according to the requirements of the task. The higher the degree of the polynomial, the smoother the curve and the better the mobility of the mechanism. In the process of robot motion research, the displacement, velocity, and acceleration state of the starting and ending points are usually known, so there are a total of six boundary conditions, and the maximum degree of the polynomial that can be used is five. Therefore, the trajectory of parallel joints can be planned by a quintic polynomial. Among them, the basic formula of the polynomial is as follows:

[0158]

[0159] The terminal device can perform time derivative of the polynomial to generate the velocity of the planar two-axis parallel joint terminal moving platform:

[0160]

[0161] The terminal device can then take the time derivative of this velocity to obtain the acceleration:

[0162]

[0163] when Represent the starting time and the ending time respectively; the displacement, velocity and acceleration of the starting point and the ending point are When , the constraint equations of the quintic polynomial can be:

[0164]

[0165] Therefore, the interpolation coefficients of the fifth-order polynomial can be:

[0166]

[0167] Therefore, the trajectory curve can be:

[0168]

[0169] When the center distance between the two motors is E = 2e = 150mm and the length of the two active arms is =140mm, the length of the two slave arms is =260mm, the parallel joint end rod length D=2d=80mm, and In the coordinate system, the starting and ending positions (X, Y) of the parallel joint end moving platform are (30, -270). The moving platform takes point O as the center and the radius is 20 mm. When the circular trajectory moves within 20 seconds, the trajectory equation can be:

[0170]

[0171]

[0172]

[0173] In S500, the four-axis robot arm is controlled according to the execution parameter information, the end position information, the kinematic position set information, the parallel joint angular velocity set information, the parallel joint acceleration set information, the driving angular velocity information and the driving acceleration information.

[0174] Specifically, the terminal device can automatically control the mobile joint device according to the execution parameter information, and automatically control the planar two-axis parallel device according to the end position information, kinematic position set information, parallel joint angular velocity set information and parallel joint acceleration set information. At the same time, the mechanical energy of the end actuator can be effectively controlled according to the drive angular velocity information and drive acceleration information, thereby realizing precise control of multiple parameters of the four-axis robotic arm and greatly improving the control accuracy.

[0175] In some possible implementations, to achieve closed-loop control, see Fig.11 After step S500, the method further includes but is not limited to the following steps:

[0176] In S600, target value information and actual value information of the four-axis robot arm are obtained.

[0177] Without loss of generality, since the robot control mode includes closed-loop control, and the closed-loop control system, due to the existence of a feedback device, when an error occurs between the target value and the actual value, the difference can be appropriately adjusted through the controller to form a new control quantity which is then input into the controlled object to make the controlled object reach the target value. This not only improves the control performance of the system and helps the system to quickly reach the target value, but also reduces fluctuations caused by interference from the external environment and changes in system parameters. In addition, compared to an open-loop system, the robustness of the closed-loop system is also greatly improved.

[0178] Specifically, the terminal device can obtain the target value information and actual value information of the four-axis robotic arm, wherein the target value information can be the expected position and the actual value information can be the current position.

[0179] In S610 , based on a preset PID controller, error adjustment value information is generated according to target value information and actual value information.

[0180] Specifically, the terminal device can generate error adjustment value information based on the preset PID controller according to the target value information and the actual value information, thereby adjusting the joint movement of the robot so that it gradually approaches the target position.

[0181] In some possible implementations, the error adjustment value information may be:

[0182]

[0183] In the formula, Indicates error adjustment value information; Indicates the preset proportional coefficient of the PID controller; Indicates the difference between the target value information and the actual value information; Indicates the preset integral coefficient of the PID controller; Indicates the preset differential coefficient of the PID controller.

[0184] Exemplarily, the terminal device can use the angular displacement of the three drive motors obtained by the inverse solution of the preset target position as input, and then use the angular displacement of the three drive motors obtained by the inverse solution of the actual position as output. In order to simulate the error influence of the actual four-axis robot, the terminal device can determine the actual position according to the forward solution model with the rod length error, and then input it into the inverse solution model without the rod length error as the mathematical model of the mechanism system. In order to more accurately reflect the system error and quickly respond to the system error, the terminal device can set the sampling period T to 0.001 seconds.

[0185] It should be noted that after a large number of experiments, it was found that the controller in the closed-loop system is widely used, has flexible structure setting and convenient parameter adjustment, and the effect is better than the open-loop system without PID control. The closed-loop system used in this application meets the expected requirements.

[0186] The implementation principle of the control method based on the four-axis robotic arm in the embodiment of the present application is as follows: the terminal device can first obtain the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device, and then based on the end position information, quickly determine the kinematic position set information of the planar two-axis parallel device, and then based on the end position information, accurately determine the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device, and then based on the end position information, accurately determine the driving angular velocity information and the driving acceleration information of the end actuator, and finally, according to the end position information, kinematic position set information, parallel joint angular velocity set information, parallel joint acceleration set information, driving angular velocity information and driving acceleration information, respectively, the planar two-axis parallel device, the mobile joint device and the end actuator of the four-axis robotic arm are controlled in linkage, so as to realize the overall precise control of the four-axis robotic arm, thereby realizing a comprehensive quantitative analysis of the four-axis robotic arm, realizing more precise control and operation, and greatly improving the control accuracy.

[0187] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0188] The embodiment of the present application also provides a control system based on a four-axis robot arm, which is applied to the four-axis robot arm. The four-axis robot arm includes a planar two-axis parallel device, a mobile joint device and an end-effector. The planar two-axis parallel device includes an active arm and a passive arm. The active arm is installed at the driving end of the mobile joint device, the passive arm is installed at one end of the active arm away from the mobile joint device, and the end-effector is installed at one end of the passive arm away from the active arm. The planar two-axis parallel device and the mobile joint device are perpendicular to each other. For ease of description, only the parts related to the present application are shown, such as Fig.12 As shown, the system 120 includes:

[0189] End position information acquisition module: used to obtain the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device;

[0190] Kinematic position set information determination module: used to determine the kinematic position set information of the planar two-axis parallel device based on the end position information;

[0191] The parallel joint angular velocity set information determination module is used to determine the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device based on the end position information;

[0192] A driving angular velocity information determination module is used to determine the driving angular velocity information and driving acceleration information of the end effector based on the end position information;

[0193] Four-axis robot control module: used to control the four-axis robot according to execution parameter information, end position information, kinematic position set information, parallel joint angular velocity set information, parallel joint acceleration set information, drive angular velocity information and drive acceleration information.

[0194] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0195] The present application also provides a terminal device, such as Fig.13 As shown, the terminal device 130 of this embodiment includes: a processor 131, a memory 132, and a computer program 133 stored in the memory 132 and executable on the processor 131. When the processor 131 executes the computer program 133, the steps in the above control method embodiment are implemented, for example Figure 1 Steps S100 to S500 shown; or, when the processor 131 executes the computer program 133, the functions of each module in the above device are realized, for example Fig.12 The functions of modules 121 to 125 are shown.

[0196] The terminal device 130 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server, and the terminal device 130 includes but is not limited to a processor 131 and a memory 132. Those skilled in the art will appreciate that Fig.13 It is only an example of the terminal device 130 and does not constitute a limitation of the terminal device 130. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device 130 may also include input and output devices, network access devices, buses, etc.

[0197] Among them, the processor 131 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.; the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0198] The memory 132 may be an internal storage unit of the terminal device 130, such as a hard disk or memory of the terminal device 130, or an external storage device of the terminal device 130, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the terminal device 130; further, the memory 132 may include both an internal storage unit and an external storage device of the terminal device 130, and the memory 132 may also store a computer program 133 and other programs and data required by the terminal device 130, and the memory 132 may also be used to temporarily store data that has been output or is to be output.

[0199] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form, etc.; the computer-readable medium may include: any entity or device that can carry computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0200] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, all equivalent changes made according to the methods, principles, and structures of the present application should be included in the protection scope of the present application.

Claims

1. A control method based on a four-axis robot arm, applied to a four-axis robot arm, the four-axis robot arm comprises a planar two-axis parallel device, a mobile joint device and an end-effector, the planar two-axis parallel device comprises an active arm and a passive arm, the active arm is mounted on the driving end of the mobile joint device, the passive arm is mounted on one end of the active arm away from the mobile joint device, the end-effector is mounted on one end of the passive arm away from the active arm, the planar two-axis parallel device and the mobile joint device are perpendicular to each other, characterized in that: The method comprises: Acquiring execution parameter information of the mobile joint device and terminal position information of the planar two-axis parallel device; Based on the end position information, determining the kinematic position set information of the planar two-axis parallel device, wherein the kinematic position set information includes inverse kinematic position information, and the kinematic position set information also includes forward kinematic position information; Based on the end position information, determining the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device; Based on the end position information, determining the driving angular velocity information and the driving acceleration information of the end effector; Controlling the four-axis robot arm according to the execution parameter information, the end position information, the kinematic position set information, the parallel joint angular velocity set information, the parallel joint acceleration set information, the drive angular velocity information and the drive acceleration information; Wherein, determining the kinematic position set information of the planar two-axis parallel device based on the end position information includes: Acquire first length information of the active arm and second length information of the passive arm; The inverse kinematics position information is determined according to the first length information, the second length information, the end position information and a preset closed-loop vector equation, wherein the closed-loop vector equation is: In the formula, is the terminal position information; The value of is 1 or 2; when The value of is 1. The value of is 1, when The value of is 2. The value of is -1; is the distance between the joint of the active arm and the origin of the preset coordinate system; is the distance unit vector between the joint to which the active arm belongs and the origin of the preset coordinate system; is the first length information; is the second length information; is the distance between the joint to which the slave arm belongs and the origin of the preset coordinate system; is the unit vector of the length of the active arm, ; is the unit vector of the length of the slave arm, ; The inverse kinematics position information corresponding to the slave arm; Wherein, the inverse kinematics position information is: In the formula, The inverse kinematics position information corresponding to the active arm; ;when The value of is 1. The value of is 1, when The value of is 2. The value of is -1; ; ; is the horizontal coordinate corresponding to the terminal position information; is the ordinate corresponding to the terminal position information; ; Wherein, the determining of the kinematic position set information of the planar two-axis parallel device based on the end position information further includes: Based on the preset first branch position equation, the first parallel joint variable information of the planar two-axis parallel device is determined, and based on the preset second branch position equation, the second parallel joint variable information of the planar two-axis parallel device is determined, wherein the first branch position equation is used to characterize the position relationship between the active arm, the driven arm and the end actuator, and the second branch position equation is used to characterize the position relationship between two preset balancing links, and the first branch position equation is: The second branch position equation is: The positive kinematics position information is determined according to the first parallel joint variable information and the second parallel joint variable information, wherein the positive kinematics position information is: In the formula, is the horizontal coordinate corresponding to the terminal position information; is the ordinate corresponding to the terminal position information; ; ; The first parallel joint variable information corresponding to the inverse kinematics position information of the active arm; The second parallel joint variable information corresponding to the inverse kinematics position information of the active arm; ; ; ; .

2. The method according to claim 1, characterized in that The parallel joint angular velocity set information of the planar two-axis parallel device includes the first parallel joint angular velocity information of the active arm and the second parallel joint angular velocity information of the slave arm, and the parallel joint acceleration set information of the planar two-axis parallel device includes the first parallel joint acceleration information of the active arm and the second parallel joint acceleration information of the slave arm; The method of determining the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device based on the end position information includes: Performing a merging and similar term shifting process on the closed-loop vector equation to generate a first optimized vector equation; The first optimized vector equation is subjected to time derivative processing to determine a parallel joint velocity calculation equation, wherein the parallel joint velocity calculation equation is: In the formula, The terminal speed information of the planar two-axis parallel device; is the angular velocity information of the first parallel joint; is the angular velocity information of the second parallel joint; is the preset matrix transformation operator, ; Based on the parallel joint velocity calculation equation, the first parallel joint angular velocity information of the active arm is determined, wherein the first parallel joint angular velocity information is: In the formula, is the angular velocity information of the first parallel joint, ; ; ; is the preset first Jacobian matrix; Based on the parallel joint velocity calculation equation, the second parallel joint angular velocity information of the slave arm is determined, wherein the second parallel joint angular velocity information is: In the formula, is the angular velocity information of the second parallel joint, ; ; ; is the preset second Jacobian matrix; Based on a preset acceleration model of the active arm, the acceleration information of the first parallel joint of the active arm is determined, wherein the acceleration model of the active arm is: In the formula, is the acceleration information of the first parallel joint of the active arm, , is the acceleration of the end effector, is the first derivative parameter of the first Jacobian matrix, The terminal speed information of the planar two-axis parallel device; Based on a preset acceleration model of the slave arm, the acceleration information of the second parallel joint of the slave arm is determined, wherein the acceleration model of the slave arm is: In the formula, is the acceleration information of the second parallel joint of the slave arm, , is the acceleration of the end effector, is the first derivative parameter of the second Jacobian matrix, It is the terminal speed information of the planar two-axis parallel device.

3. The method according to claim 2, characterized in that The step of determining the driving angular velocity information and the driving acceleration information of the end effector based on the end position information includes: Performing modulo processing on the first optimized vector equation to generate a second optimized vector equation; The second optimized vector equation is subjected to time derivative processing to determine the parallel joint drive angular velocity calculation equation, wherein the parallel joint drive angular velocity calculation equation is: Based on the parallel joint driving angular velocity calculation equation, the driving angular velocity information of the end effector is determined, wherein the driving angular velocity information is: In the formula, is the angular velocity information of the first parallel joint of the active arm; is the angular velocity information of the second parallel joint of the active arm; The parallel joint driving angular velocity calculation equation is subjected to time derivative processing to determine the driving acceleration information of the end effector, wherein the driving acceleration information is: In the formula, is the acceleration information of the first parallel joint of the active arm; is the acceleration information of the second parallel joint of the active arm; ; ; ; .

4. The method according to claim 1, characterized in that: After controlling the four-axis robot arm according to the execution parameter information, the end position information, the kinematic position set information, the parallel joint angular velocity set information, the parallel joint acceleration set information, the drive angular velocity information and the drive acceleration information, the method further includes: Obtaining target value information and actual value information of the four-axis robotic arm; Based on a preset PID controller, error adjustment value information is generated according to the target value information and the actual value information, wherein the error adjustment value information is: In the formula, is the error adjustment value information; is a preset proportional coefficient of the PID controller; is the difference between the target value information and the actual value information; is the preset integral coefficient of the PID controller; is the preset differential coefficient of the PID controller.

5. A control system based on a four-axis robot arm, applied to a four-axis robot arm, the four-axis robot arm includes a planar two-axis parallel device, a mobile joint device and an end-effector, the planar two-axis parallel device includes an active arm and a passive arm, the active arm is installed at the driving end of the mobile joint device, the passive arm is installed at one end of the active arm away from the mobile joint device, the end-effector is installed at one end of the passive arm away from the active arm, the planar two-axis parallel device and the mobile joint device are perpendicular to each other, characterized in that: The system comprises: End position information acquisition module: used to acquire the execution parameter information of the mobile joint device and the end position information of the planar two-axis parallel device; A kinematic position set information determination module: used to determine the kinematic position set information of the planar two-axis parallel device based on the end position information, wherein the kinematic position set information includes inverse kinematic position information, and the kinematic position set information also includes forward kinematic position information; A parallel joint angular velocity set information determination module is used to determine the parallel joint angular velocity set information and the parallel joint acceleration set information of the planar two-axis parallel device based on the end position information; A driving angular velocity information determination module: used to determine the driving angular velocity information and driving acceleration information of the end effector based on the end position information; A four-axis robot control module: used to control the four-axis robot according to the execution parameter information, the end position information, the kinematic position set information, the parallel joint angular velocity set information, the parallel joint acceleration set information, the drive angular velocity information and the drive acceleration information; Wherein, the kinematic position set information determination module includes: Length information acquisition submodule: used to acquire first length information of the active arm and second length information of the passive arm; The inverse kinematics position information determination submodule is used to determine the inverse kinematics position information according to the first length information, the second length information, the end position information and a preset closed-loop vector equation, wherein the closed-loop vector equation is: In the formula, is the terminal position information; The value of is 1 or 2; when The value of is 1. The value of is 1, when The value of is 2. The value of is -1; is the distance between the joint of the active arm and the origin of the preset coordinate system; is the distance unit vector between the joint to which the active arm belongs and the origin of the preset coordinate system; is the first length information; is the second length information; is the distance between the joint to which the slave arm belongs and the origin of the preset coordinate system; is the unit vector of the length of the active arm, ; is the unit vector of the length of the slave arm, ; The inverse kinematics position information corresponding to the slave arm; Wherein, the inverse kinematics position information is: In the formula, The inverse kinematics position information corresponding to the active arm; ;when The value of is 1. The value of is 1, when The value of is 2. The value of is -1; ; ; is the horizontal coordinate corresponding to the terminal position information; is the ordinate corresponding to the terminal position information; ; Wherein, the kinematic position set information determination module further includes: Parallel joint variable information determination submodule: used to determine the first parallel joint variable information of the planar two-axis parallel device based on a preset first branch position equation, and to determine the second parallel joint variable information of the planar two-axis parallel device based on a preset second branch position equation, wherein the first branch position equation is used to characterize the positional relationship between the active arm, the driven arm and the end actuator, and the second branch position equation is used to characterize the positional relationship between two preset balancing links, and the first branch position equation is: The second branch position equation is: The positive kinematics position information determination submodule is used to determine the positive kinematics position information according to the first parallel joint variable information and the second parallel joint variable information, wherein the positive kinematics position information is: In the formula, is the horizontal coordinate corresponding to the terminal position information; is the ordinate corresponding to the terminal position information; ; ; The first parallel joint variable information corresponding to the inverse kinematics position information of the active arm; The second parallel joint variable information corresponding to the inverse kinematics position information of the active arm; ; ; ; .

6. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Plane joint manipulator

    CN101811303A

  • Glass bottle sorting parallel robot with flexible structure

    CN107953339A