Multi-constraint multi-index mechanical arm structure parameter optimization method

Through parameterization and genetic algorithm optimization of the multi-degree-of-freedom model of the robotic arm, combined with kinematic and dynamic constraints, the problem of optimizing the structural parameters of the robotic arm under multi-constraint and large load conditions has been solved, and the performance index of the robotic arm has been maximized. Optimized solution improves flexibility and stability.

CN118586121APending Publication Date: 2024-09-03SHANGHAI UNIV

Patent Information

Application Number
CN202410731261.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Under the multiple constraints and large load conditions of the robotic arm, it is difficult to effectively optimize the structural parameters of the robotic arm with existing technology, making it difficult to achieve a balance of performance.

Method used

A multi-degree-of-freedom manipulator model is used for parameterization, a kinematics and dynamics model is established, the length and diameter of the cylinder are selected as optimization variables, and optimization is performed through a genetic algorithm, combining dynamic maneuverability, average moment, length compactness and length average Indicators, incorporating kinematic and dynamic constraints, are calculated to obtain the optimal solution set to optimize the manipulator joint parameters.

Benefits of technology

The robot arm structure optimization under kinematics and dynamics constraints is achieved, which improves flexibility and stability, reduces labor costs, and improves production efficiency and work quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586121A
    Figure CN118586121A
Patent Text Reader

Abstract

The invention discloses a multi-constraint and multi-index mechanical arm structure parameter optimization method which comprises the following steps: importing a multi-degree-of-freedom mechanical arm model and parameterizing to obtain a mechanical arm parameterization model; creating a mechanical arm kinematics model and a mechanical arm dynamics model; selecting the length and width of the cylinder as structural optimization variables; kinematics constraints and dynamics constraints are set; establishing performance indexes; a genetic algorithm is optimized, kinematics constraints and dynamics constraints are incorporated into an algorithm constraint process, and an optimal solution set is calculated through the genetic algorithm; and length index calculation is conducted on the optimal solution set, and finally optimized mechanical arm joint parameters are obtained. According to the multi-constraint multi-index mechanical arm structure parameter optimization method provided by the invention, multi-objective optimization is realized by using the genetic algorithm so as to obtain the optimal solution set capable of simultaneously realizing flexibility and stability, and the optimal structure of the mechanical arm is finally obtained by comparing the length indexes in the solution set, so that the structure of the mechanical arm can be optimized, the production efficiency can be improved, and the production cost can be reduced. The labor cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mechanical arm structure optimization algorithms, and in particular to a mechanical arm structure parameter optimization method with multiple constraints and multiple indicators. Background Art

[0002] Robotic arm technology plays a key role in the field of industrial automation, which can significantly improve production efficiency and reduce labor costs. Therefore, the optimization of robotic arm performance has become one of the research focuses. In the process of optimizing the performance of robotic arms, the performance optimization of robotic arms often involves multiple indicators, and these indicators are often contradictory. The constraint relationship of the robotic arm is nonlinear and multivariable, which increases the complexity of the optimization problem. In addition, the selection of robotic arm indicators directly affects the rationality of the final performance, so it is necessary to select or create appropriate indicators. Therefore, it is necessary to adopt a multi-objective optimization method with constraints and set appropriate kinematic and dynamic indicators to find the balance point that best meets the performance.

[0003] According to the invention patent with publication number: CN104331547A and publication date: 2015-02-04, a method for optimizing the structural parameters of a space manipulator based on operability is disclosed, and the steps are: (1) determining the degree of freedom layout of the space manipulator and the initial parameters of the arm; (2) using the forward kinematics of the manipulator and using a numerical method to determine the accessible workspace of the space manipulator; (3) taking the upper semicircular part of the symmetry plane of the accessible workspace and dividing it into c×c sub-areas, c is a positive integer, and then calculating the flexibility posture probability coefficient for each sub-area to obtain a flexibility workspace diagram of the entire accessible workspace; (4) randomly selecting M working points in the accessible workspace, calculating the corresponding flexibility posture probability coefficients, and counting the number m of working points with posture probability coefficients greater than α, thereby obtaining the manipulatability of the manipulator; (5) using the inverse of the manipulatability as the fitness function, and using a genetic algorithm to optimize the parameters of each arm of the space manipulator. The main technical effects are: through the definition, calculation and optimization of structural parameters of flexibility and operability, a new idea for the robot arm from initial design to optimized design is formed, and the method can realize the optimization of the robot arm under unconstrained conditions and the optimization under constrained conditions; by calculating the position and posture possibilities of the end effector on the working ball, compared with the reversible criterion and the workspace criterion, the new flexibility numerical calculation method can realize the numerical quantification of the flexibility of the robot arm; for the overall evaluation of the flexibility of the robot arm in the workspace, compared with the condition number and the global condition index, the operability proposed by the present invention can comprehensively evaluate the flexibility of the robot arm and the solution is simpler and more convenient, and it is an ideal optimization design method.

[0004] Under the conditions of multiple constraints and large loads of the robotic arm, structural optimization is crucial to improving the performance of the robotic arm. To this end, a multi-constraint and multi-index robotic arm structural parameter optimization method is proposed, aiming to optimize the robotic arm structure under the conditions of multiple constraints and large loads. Summary of the invention

[0005] The purpose of the present invention is to provide a multi-constraint and multi-index mechanical arm structural parameter optimization method, aiming at optimizing the mechanical arm structure under the conditions of multiple constraints and large loads.

[0006] In order to achieve the above object, the present invention provides the following technical solution: a multi-constraint and multi-index mechanical arm structural parameter optimization method, comprising the following steps:

[0007] Import a multi-degree-of-freedom robotic arm model and parameterize the multi-degree-of-freedom robotic arm to obtain a parametric model of the robotic arm. Parameterize the translation joint into a cuboid and the rotation joint into a cylinder.

[0008] Create a robot arm kinematic model and a robot arm dynamic model based on the angle constraints and torque constraints of each joint;

[0009] The length and diameter of the cylinder are selected as structural optimization variables;

[0010] Set kinematic and dynamic constraints;

[0011] Establish performance indicators, and use dynamic maneuverability, average moment, length compactness, and length average as performance indicators;

[0012] Through genetic algorithm optimization, all kinematic constraints and dynamic constraints are included in the algorithm constraint process, and the optimal solution set is obtained through genetic algorithm calculation;

[0013] The length index of the optimal solution set is calculated, and finally the optimized robot arm joint parameters are obtained.

[0014] Preferably, the kinematic model of the robotic arm is established by adopting the DH method, and the dynamic model of the robotic arm is established by adopting the Newton-Euler method.

[0015] Preferably, the kinematic constraint is the size range of the length and width of each cylinder after parameterization.

[0016] Preferably, the dynamic constraint is a constraint on the connecting rod width, the torque size is associated with the connecting rod width constraint, and different motor width sizes are selected according to different range intervals of the torque, thereby setting the connecting rod width size.

[0017] Preferably, the dynamic maneuverability calculation formula is as follows:

[0018]

[0019] Where J is the Jacobian matrix of the manipulator, M is the nonsingular inertia matrix and the superscript T denotes the transpose of the matrix.

[0020] Preferably, the average moment calculation formula is as follows:

[0021]

[0022] Among them, |τ i | max represents the maximum torque taken by each joint, It represents the standard torque, which is determined by the actual robot arm or by calculation.

[0023] Preferably, the length compactness calculation formula is as follows:

[0024]

[0025] l max The maximum length of the robot arm.

[0026] Preferably, the length average index calculation formula is as follows:

[0027] l b =∑|l i -l a |;

[0028] l i represents the length of joint i obtained by the optimal solution, l a It represents the mean of the lengths, which is calculated from the lengths of all solution sets.

[0029] Preferably, the variable population is initialized, i.e., the parameterized length and width of the robot arm, and a population is randomly generated;

[0030] Determine whether the randomly generated population meets the set kinematic constraints and dynamic constraints. If so, the algorithm continues. If not, a new population is randomly generated.

[0031] Generate a robot arm parameter model based on the parameter data in the population, and calculate its kinematic model and dynamic model;

[0032] Calculate the objective function, i.e., dynamic maneuverability and average moment index, as the final performance index for judgment;

[0033] Complete a series of genetic algorithm operations: realize non-dominated sorting, calculate crowding distance, realize elite individual selection and selection, crossover, mutation and other steps, and obtain the optimal Pareto solution set after multiple iterations.

[0034] In the above technical solution, the present invention provides a multi-constraint and multi-index mechanical arm structural parameter optimization method, which has the following beneficial effects:

[0035] Based on the calculation of kinematic and dynamic models, a comprehensive definition of the manipulator is realized. To simplify the calculation, the six joint models are parameterized into six cylinders to obtain a simplified manipulator model, which can speed up the calculation speed. The length and width of each cylinder in the manipulator model are set as the optimization variables of the structure, so as to adjust the design parameters of the manipulator more flexibly. The relationship between the torque size of the manipulator and the width of the connecting rod is customized to obtain multiple constraints. By defining optimization indicators such as dynamic operability and minimum torque average value, the kinematic and dynamic indicators are combined together, and the genetic algorithm is used to achieve multi-objective optimization to obtain the optimal solution set that achieves flexibility and stability at the same time. Subsequently, by comparing the length indicators in the solution set, the optimal structure of the manipulator is finally obtained, which can optimize the structure of the manipulator, improve production efficiency, and reduce labor costs. Under the constraints of kinematics and dynamics, the structural optimization variables are optimized to achieve the optimal solution of the design performance indicators at the same time, ensuring that the manipulator can have both flexibility and stability when moving. The kinematic and dynamic characteristics of the manipulator are comprehensively considered, which can achieve the flexibility of the manipulator as much as possible while ensuring stability, and provide better performance for practical applications. Through this method, the efficiency and work quality of the robotic arm can be improved while meeting different operation requirements, providing strong support for the application and development of related fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0037] Figure 1 A schematic diagram of a process flow provided by an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of actual modeling of a robotic arm provided in an embodiment of the present invention;

[0039] Figure 3 A schematic diagram of parametric modeling of a robotic arm provided by an embodiment of the present invention;

[0040] Figure 4 A schematic diagram of a genetic algorithm flow chart provided by an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of an optimized Pareto solution set provided by an embodiment of the present invention;

[0042] Figure 6 A schematic diagram of data for selecting two solutions provided by an embodiment of the present invention;

[0043] Figure 7 The objective function calculation result provided by the embodiment of the present invention;

[0044] Figure 8 A comparison chart of objective functions of optimization results provided by an embodiment of the present invention.

[0045] Description of reference numerals:

[0046] 1. First rotation joint; 2. Second rotation joint; 3. Third rotation joint; 4. Fourth rotation joint; 5. Fifth rotation joint; 6. Sixth rotation joint; 7. Translation joint. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] like Figure 1-8 As shown, a multi-constraint and multi-index mechanical arm structural parameter optimization method comprises the following steps:

[0049] Import a multi-degree-of-freedom robotic arm model and parameterize the multi-degree-of-freedom robotic arm to obtain a parametric model of the robotic arm. Parameterize the translation joint into a cuboid and the rotation joint into a cylinder.

[0050] Create a robot arm kinematic model and a robot arm dynamic model based on the angle constraints and torque constraints of each joint;

[0051] The length and diameter of the cylinder are selected as structural optimization variables;

[0052] Set kinematic and dynamic constraints;

[0053] Establish performance indicators, and use dynamic maneuverability, average moment, length compactness, and length average as performance indicators;

[0054] Through genetic algorithm optimization, all kinematic constraints and dynamic constraints are included in the algorithm constraint process, and the optimal solution set is obtained through genetic algorithm calculation;

[0055] The length index of the optimal solution set is calculated, and finally the optimized robot arm joint parameters are obtained.

[0056] The kinematic model of the robotic arm is established by adopting the DH method, and the dynamic model of the robotic arm is established by adopting the Newton-Euler method.

[0057] The length and width of the cylinder are selected as variables for structural optimization. The variable representation is as follows:

[0058] l=[h,l1,l2,l3,l4,l5,l6];

[0059] w=[w1,w2,w3,w4,w5,w6].

[0060] The kinematic constraints are the range of length and width of each cylinder after parameterization.

[0061] The dynamic constraint is a constraint on the connecting rod width. The torque size is associated with the connecting rod width constraint. Different motor width sizes are selected according to different ranges of the torque, thereby setting the connecting rod width size.

[0062] The dynamic maneuverability calculation formula is as follows:

[0063]

[0064] Where J is the Jacobian matrix of the manipulator, M is the nonsingular inertia matrix and the superscript T denotes the transpose of the matrix.

[0065] The average moment calculation formula is as follows:

[0066]

[0067] Among them, |τ i | max represents the maximum torque taken by each joint, Indicates the standard torque, which is determined by the actual robot arm or by calculation. The average value of the torque of the actual robot arm is selected as follows:

[0068]

[0069] The length average index calculation formula is as follows:

[0070] l b =∑|l i -l a |;

[0071] l i represents the length of joint i obtained by the optimal solution, l a It represents the mean of the lengths, which is calculated from the lengths of all solution sets.

[0072] The genetic algorithm optimization specifically includes:

[0073] Initialize the variable population, i.e. the parameterized length and width of the robot arm, and randomly generate a population;

[0074] Determine whether the randomly generated population meets the set kinematic constraints and dynamic constraints. If so, the algorithm continues. If not, a new population is randomly generated.

[0075] Generate a robot arm parameter model based on the parameter data in the population, and calculate its kinematic model and dynamic model;

[0076] Calculate the objective function, i.e., dynamic maneuverability and average moment index, as the final performance index for judgment;

[0077] Complete a series of genetic algorithm operations: realize non-dominated sorting, calculate crowding distance, realize elite individual selection and selection, crossover, mutation and other steps, and obtain the optimal Pareto solution set after multiple iterations.

[0078] The invention realizes a comprehensive definition of the robot arm based on kinematic and dynamic model calculations. To simplify the calculation, the six joint models are parameterized into six cylinders to obtain a simplified robot arm model, which can speed up the calculation speed. The length and width of each cylinder in the robot arm model are set as the optimization variables of the structure, so as to more flexibly adjust the design parameters of the robot arm. The relationship between the torque size of the robot arm and the width of the connecting rod is customized to obtain multiple constraints. By defining optimization indicators such as dynamic operability and minimum torque average value, the kinematic and dynamic indicators are combined together, and a genetic algorithm is used to achieve multi-objective optimization to obtain an optimal solution set that simultaneously achieves flexibility and stability. Subsequently, by comparing the length indicators in the solution set, the optimal structure of the robot arm is finally obtained, which can optimize the structure of the robot arm, improve production efficiency, and reduce labor costs. Under the constraints of kinematics and dynamics, the structural optimization variables are optimized to achieve the optimal solution of the design performance indicators at the same time, ensuring that the robot arm can have both flexibility and stability when moving. The kinematic and dynamic characteristics of the robot arm are comprehensively considered, and the flexibility of the robot arm can be improved as much as possible under the premise of ensuring stability, providing better performance for practical applications. Through this method, the efficiency and work quality of the robotic arm can be improved while meeting different operation requirements, providing strong support for the application and development of related fields.

[0079] As a specific embodiment provided by the present invention, a seven-degree-of-freedom robotic arm is used for illustration. The joint type of the robotic arm provided by the embodiment of the invention is PRRRRRR, where P is a translation joint and R is a rotation joint. The actual model of the robotic arm is as follows: Figure 2 As shown in the figure, a parametric model is established based on the actual model of the robot arm. The translation joint is parameterized as a cuboid and the rotation joint is parameterized as a cylinder. The initial model after parameterization is as follows Figure 3 shown.

[0080] The joint limitations of the seven-degree-of-freedom robotic arm provided by the embodiment of the present invention are as follows:

[0081]

[0082]

[0083] Due to the multiple constraints and large loads, it is necessary to create the robot's kinematic model and dynamic model based on the angle constraints and torque constraints of each joint. The kinematic model is established using the DH method to realize the calculation of forward kinematics and inverse kinematics, thereby realizing the conversion between Cartesian coordinates and joint coordinates; the dynamic model is established using the Newton-Euler method.

[0084] Newton's equations describe linear motion and are calculated as follows:

[0085] F=ma=mv′ c ;

[0086] Euler's formula describes angular motion and is calculated as follows:

[0087]

[0088] Where m is the mass of the rigid body, a is the acceleration of the connecting rod's center of mass, and v' c is the derivative of the connecting rod center of mass. N C is the total external torque acting on the center of mass of the connecting rod, ω is the angular velocity of the connecting rod, is the angular acceleration, C Iω is the inertia tensor of the connecting rod in the center-of-mass coordinate system {C}, the origin of which is located at the center of mass of the rigid body, where ω× C Iω is the term that produces the centrifugal Coriolis force.

[0089] The length and width of each cylinder are used as variables for structural optimization, and the variable representation is as follows:

[0090] l=[h,l1,l2,l3,l4,l5,l6];

[0091] w=[w1,w2,w3,w4,w5,w6];

[0092] Wherein, h is the height of the first rotation joint from the mounting surface in the embodiment of the present invention.

[0093] Setting kinematic and dynamic constraints on the parameterized model;

[0094] The kinematic constraints are the length and width ranges of each cylinder, which are determined by the actual robot arm calculations. The constraint calculation formula is as follows:

[0095]

[0096] l1 is the length of the first rotation joint, ω1 is the width of the first rotation joint, l2 is the length of the second rotation joint, ω2 is the width of the second rotation joint, l3 is the length of the third rotation joint, ω3 is the width of the third rotation joint, l4 is the length of the fourth rotation joint, ω4 is the width of the fourth rotation joint, l5 is the length of the fifth rotation joint, ω5 is the width of the fifth rotation joint, l6 is the length of the sixth rotation joint, ω6 is the width of the sixth rotation joint.

[0097] The dynamic constraint is a constraint method for the connecting rod width. The torque size is associated with the connecting rod width constraint. Different motor width sizes are selected for different ranges of the torque to set the connecting rod width size. The constraint is obtained according to the selected motor manual. The table is as follows:

[0098]

[0099]

[0100] The kinematic performance index is dynamic manipulability, which measures the controllability and operational flexibility of the robot arm. The calculation formula is as follows:

[0101]

[0102] Where J is the Jacobian matrix of the manipulator, M is the nonsingular inertia matrix and the superscript T denotes the transpose of the matrix.

[0103] The average torque is selected as the dynamic performance index. This index measures the stability of the robot arm and the energy of the system. The calculation formula is as follows:

[0104]

[0105] Among them, |τ i | max represents the maximum torque taken by each joint, Indicates the standard torque, which is determined by the actual robot arm or by calculation. The average torque of the actual robot arm is selected as follows:

[0106]

[0107] The length compactness index can make the robot structure more compact and occupy less space by optimizing the connecting rod length and joint radius while meeting the robot movement and working requirements. The specific calculation formula is as follows:

[0108]

[0109] The variables are Figure 3 shown.

[0110] ω1 is the width of the first rotation joint 1 , l2 is the length of the second rotation joint 2 , ω3 is the width of the third rotation joint 3 , l4 is the length of the fourth rotation joint 4 , ω5 is the width of the fifth rotation joint 5 , and l6 is the length of the sixth rotation joint 6 .

[0111] The performance index of length selects the average length index. By optimizing the average length of the joint, the stability and balance of the robot arm can be achieved during movement, and the mechanical stress and vibration caused by length differences can be reduced. The calculation formula is as follows:

[0112] l b =∑|l i -l a |;

[0113] l i represents the length of joint i obtained by the optimal solution, l a It represents the mean of the lengths, which is calculated from the lengths of all solution sets.

[0114] Through genetic algorithm optimization, all kinematic constraints and dynamic constraints are included in the algorithm constraint process, and the optimal solution set is obtained through genetic algorithm calculation, including:

[0115] Initialize the variable population, i.e. the parameterized length and width of the robot arm, and randomly generate a population;

[0116] Determine whether the randomly generated population meets the set kinematic constraints and dynamic constraints. If so, the algorithm continues. If not, a new population is randomly generated.

[0117] Generate a robot arm parameter model based on the parameter data in the population, and calculate its kinematic model and dynamic model;

[0118] Calculate the objective function, i.e., dynamic maneuverability and average moment index, as the final performance index for judgment;

[0119] Complete a series of genetic algorithm operations: realize non-dominated sorting, calculate crowding distance, realize elite individual selection and selection, crossover, mutation and other steps, and obtain the optimal Pareto solution set after multiple iterations.

[0120] The final Pareto solution set is as follows Figure 5 As shown, convergence is satisfied. The properties of the pareto solution set are as follows: they are the optimal set of solutions, and these solutions are non-dominated. Non-dominated means that the two performances have their own advantages and disadvantages and are difficult to compare. Therefore, in view of the limitation of narrow space, we calculate the length index to select the solution that is most suitable for the current environment in the optimal solution set. The two solution variable data selected are as follows Figure 6 As shown, the objective function calculation results are as follows Figure 7 The optimization comparison chart is shown in Figure 8 shown.

[0121] The length index of the optimal solution set is calculated, and finally the optimized robot arm joint parameters are obtained.

[0122] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0123] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0124] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0126] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0127] The embodiments of the present application also provide a specific implementation of an electronic device capable of implementing all steps of the method in the above embodiments, and the electronic device specifically includes the following contents:

[0128] Processor, memory, communications interface and bus;

[0129] Wherein, the processor, memory, and communication interface communicate with each other via the bus;

[0130] The processor is used to call the computer program in the memory. When the processor executes the computer program, all the steps in the method in the above embodiment are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0131] Import a multi-degree-of-freedom robotic arm model and parameterize the multi-degree-of-freedom robotic arm to obtain a parametric model of the robotic arm. Parameterize the translation joint into a cuboid and the rotation joint into a cylinder.

[0132] Create a robot arm kinematic model and a robot arm dynamic model based on the angle constraints and torque constraints of each joint;

[0133] The length and diameter of the cylinder are selected as structural optimization variables;

[0134] Set kinematic and dynamic constraints;

[0135] Establish performance indicators, and use dynamic maneuverability, average moment, length compactness, and length average as performance indicators;

[0136] Through genetic algorithm optimization, all kinematic constraints and dynamic constraints are incorporated into the algorithm constraint process, and the optimal solution set is obtained through genetic algorithm calculation;

[0137] The length index of the optimal solution set is calculated, and finally the optimized robot arm joint parameters are obtained.

[0138] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the method in the above embodiments. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, all the steps of the method in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0139] Import a multi-degree-of-freedom robotic arm model and parameterize the multi-degree-of-freedom robotic arm to obtain a parametric model of the robotic arm. Parameterize the translation joint into a cuboid and the rotation joint into a cylinder.

[0140] Create a robot arm kinematic model and a robot arm dynamic model based on the angle constraints and torque constraints of each joint;

[0141] The length and diameter of the cylinder are selected as structural optimization variables;

[0142] Set kinematic and dynamic constraints;

[0143] Establish performance indicators, and use dynamic maneuverability, average moment, length compactness, and length average as performance indicators;

[0144] Through genetic algorithm optimization, all kinematic constraints and dynamic constraints are incorporated into the algorithm constraint process, and the optimal solution set is obtained through genetic algorithm calculation;

[0145] The length index of the optimal solution set is calculated, and finally the optimized robot arm joint parameters are obtained.

[0146] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Although the embodiment of this specification provides the method operation steps described in the embodiment or flow chart, more or less operation steps can be included based on conventional or non-creative means. The order of steps listed in the embodiment is only one way of executing the order of many steps, and does not represent the only execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiment or the accompanying drawings (for example, a parallel processor or a multi-threaded processing environment, or even a distributed data processing environment). The term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, product or device. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the embodiments of this specification, the functions of each module can be implemented in the same one or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The present invention is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0147] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. In the description of this specification, the description of the reference term "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification.

[0148] In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradicting each other. The above is only an embodiment of the embodiment of this specification and is not intended to limit the embodiment of this specification. For those skilled in the art, the embodiment of this specification may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiment of this specification shall be included in the scope of the claims of the embodiment of this specification.

Claims

1. A multi-constraint and multi-index mechanical arm structural parameter optimization method, characterized in that: The following steps are involved: Import a multi-degree-of-freedom robotic arm model and parameterize the multi-degree-of-freedom robotic arm to obtain a parametric model of the robotic arm. Parameterize the translation joint into a cuboid and the rotation joint into a cylinder. Create a robot arm kinematic model and a robot arm dynamic model based on the angle constraints and torque constraints of each joint; The length and width of the cylinder are selected as structural optimization variables; Set kinematic and dynamic constraints; Establish performance indicators, and use dynamic maneuverability, average moment, length compactness, and length average as performance indicators; Through genetic algorithm optimization, all kinematic constraints and dynamic constraints are included in the algorithm constraint process, and the optimal solution set is obtained through genetic algorithm calculation; The length index of the optimal solution set is calculated, and finally the optimized robot arm joint parameters are obtained.

2. A multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The kinematic model of the robotic arm is established by adopting the DH method, and the dynamic model of the robotic arm is established by adopting the Newton-Euler method.

3. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The kinematic constraints are the range of length and width of each cylinder after parameterization.

4. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The dynamic constraint is a constraint on the connecting rod width. The torque size is associated with the connecting rod width constraint. Different motor width sizes are selected according to different ranges of the torque, thereby setting the connecting rod width size.

5. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The dynamic maneuverability calculation formula is as follows: Where J is the Jacobian matrix of the manipulator, M is the nonsingular inertia matrix and the superscript T denotes the transpose of the matrix.

6. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The average moment calculation formula is as follows: Among them, |τ i | max represents the maximum torque taken by each joint, It represents the standard torque, which is determined by the actual robot arm or by calculation.

7. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The length compactness calculation formula is as follows: l max The maximum length of the robot arm.

8. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The length average index calculation formula is as follows: l b =∑|l i -l a |; l i represents the length of joint i obtained by the optimal solution, l a It represents the mean of the lengths, which is calculated from the lengths of all solution sets.

9. The multi-constraint and multi-index mechanical arm structural parameter optimization method according to claim 1, characterized in that: The genetic algorithm optimization specifically includes: Initialize the variable population, i.e. the parameterized length and width of the robot arm, and randomly generate a population; Determine whether the randomly generated population meets the set kinematic constraints and dynamic constraints. If so, the algorithm continues. If not, a new population is randomly generated. Generate a robot arm parameter model based on the parameter data in the population, and calculate its kinematic model and dynamic model; Calculate the objective function, i.e., dynamic maneuverability and average moment index, as the final performance index for judgment; Complete a series of genetic algorithm operations: realize non-dominated sorting, calculate crowding distance, realize elite individual selection and selection, crossover, mutation and other steps, and obtain the optimal Pareto solution set after multiple iterations.

Citation Information

Patent Citations

  • Space mechanical arm structure parameter optimization method based on operability

    CN104331547A

Cited By

  • Motion control optimization method for multi-constraint heavy-load industrial robot

    CN118650612A

  • Mechanical arm parameter optimization method and device, equipment, storage medium and product

    CN119795179A