Upper limb robot optimization method, device and upper limb robot

Through Hill musculoskeletal modeling and genetic algorithm optimization, the problem of poor comfort in the existing upper limb robot design is solved, the comfort and rehabilitation effect of the interaction between the upper limb robot and the human body are improved, and the robotic arm parameters are optimized to suit ergonomics.

CN114700942BActive Publication Date: 2024-09-10CIXI INST OF BIOMEDICAL ENG NINGBO INST OF IND TECH CHINESE ACAD OF SCI NINGBO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210322532.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2024-09-10
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

The existing design of medical upper-limb robots only considers mechanical indicators and cannot effectively characterize the kinematics and dynamics characteristics during the interaction between the robot and the human body, resulting in poor user comfort and poor rehabilitation training effects.

Method used

Through musculoskeletal modeling based on the Hill equation and the three elements of Hill muscles, the kinematics model of the upper limb and robotic arm is established. The genetic algorithm is used to optimize the parameters of the robotic arm to maximize comfort. The musculoskeletal model is combined with the simulation of human-machine interaction force to obtain quantification. comfort index.

Benefits of technology

The optimized design of the upper limb robot improves the user's comfort and rehabilitation effect during training, ensuring that the robotic arm parameters are suitable for the activation of the upper limb mechanism bones based on ergonomics, and achieves the best design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114700942B
    Figure CN114700942B
Patent Text Reader

Abstract

The present invention provides an upper limb robot optimization method, device and upper limb robot. The upper limb robot optimization method comprises: modeling the muscles and bones of the upper limbs based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model; performing motion capture on the upper limbs to obtain experimental data, using the musculoskeletal model to process the experimental data to obtain a terminal displacement trajectory; performing equivalent simplification on the upper limb robot to obtain a kinematic model; using the kinematic model to process the terminal displacement trajectory, and inversely processing to obtain a human-computer interaction force; simulating the human-computer interaction force through the musculoskeletal model to obtain a comfort index; changing the mechanical arm parameters of the mechanical arm through a genetic algorithm to solve the maximum comfort of the mechanical arm; using the mechanical arm parameters corresponding to the maximum comfort as the optimization result of the upper limb robot, which not only ensures the ergonomic design of the mechanical arm, but also ensures the comfort of the upper limb robot when in use.
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 design, and in particular to an upper limb robot optimization method, device and upper limb robot. Background Art

[0002] In recent years, with the aging of society, the number of patients with motor dysfunction has continued to increase, and people are paying more and more attention to equipment to improve and treat motor dysfunction. A variety of medical upper limb robots have appeared at home and abroad, and medical upper limb robot technology has gradually been widely used and improved in the field of rehabilitation. However, the existing medical upper limb robot mechanism design only considers the mechanism indicators, with the improvement of the robot's mechanical quality as the optimization goal. It is unable to characterize the kinematic and dynamic characteristics that occur during the interaction between the robot mechanism and the human body, nor is it able to characterize the physiological and psychological comfort of the human body. The robot has high mechanical quality but poor user comfort, resulting in poor user training willingness and poor rehabilitation training effect. Summary of the invention

[0003] The problem solved by the present invention is how to improve the design of upper limb robots.

[0004] In order to solve the above problems, the present invention provides an upper limb robot optimization method, comprising:

[0005] The muscles and bones of the upper limbs are modeled based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model, wherein the musculoskeletal model is used to describe the physical characteristics and mechanical properties of the muscles of the upper limbs during movement; the upper limbs are motion captured to obtain experimental data, and the experimental data are processed using the musculoskeletal model to obtain a terminal displacement trajectory, wherein the terminal displacement trajectory includes one of an upper limb terminal displacement trajectory and a mechanical arm terminal displacement trajectory; the upper limb robot is equivalently simplified to obtain a kinematic model; the terminal displacement trajectory is processed using the kinematic model, and the human-machine interaction force is obtained by inverse processing, wherein the human-machine interaction force is used to represent the interaction force generated between the upper limb and the mechanical arm; the human-machine interaction force is simulated by the musculoskeletal model to obtain a comfort index; the mechanical arm parameters of the mechanical arm are changed by a genetic algorithm to solve the maximum comfort of the mechanical arm, wherein the mechanical arm parameters include length and mass, and the maximum comfort represents the maximum value that the comfort index can reach under the premise of only changing the mechanical arm parameters; the mechanical arm parameters corresponding to the maximum comfort are used as the optimization results of the upper limb robot.

[0006] Optionally, the changing the mechanical arm parameters of the mechanical arm by a genetic algorithm to solve the maximum comfort of the mechanical arm includes:

[0007] The boundary conditions of the parameters of the robotic arm are determined based on the working requirements of the robotic arm, wherein the boundary conditions include the length and mass of the first force arm, the length and mass of the second force arm, and the length and mass of the third force arm; through a genetic algorithm, the three force arms of the robotic arm are assigned values ​​within the boundary conditions, and the human-computer interaction force of the robotic arm under different assignments is calculated to obtain the maximum human-computer interaction force; the maximum human-computer interaction force is extracted, and the maximum human-computer interaction force is processed through the musculoskeletal model to obtain the maximum comfort.

[0008] Optionally, simulating the human-computer interaction force through the musculoskeletal model to obtain a comfort index includes:

[0009] The maximum isometric force of the muscle, the muscle's lever arm about each joint axis, and the generalized force acting on each joint axis are input into the musculoskeletal model to calculate the activation value of the muscle, and the activation value is used to describe the activation status of the upper limb muscles.

[0010] Optionally, the step of inputting the maximum isometric force of a muscle, the force arm of the muscle about each joint axis, and the generalized force acting on each joint axis into the musculoskeletal model to calculate and obtain the activation value of the muscle comprises:

[0011] The activation value is calculated by the following formula:

[0012]

[0013] Where n represents the n muscles involved in the musculoskeletal model, a m represents the activation level of the mth muscle at a discrete time step, represents the maximum isometric force of muscle m, r m,j represents the moment arm of the mth muscle about the jth joint axis, τ j Represents the generalized force acting on the j-th joint axis.

[0014] Optionally, after the maximum isometric force of the muscle, the force arm of the muscle about each joint axis and the generalized force acting on each joint axis are input into the musculoskeletal model to calculate and obtain the activation value of the muscle, the method further includes:

[0015] The muscle operability is obtained through the activation value; the ergonomics index is obtained according to the preset working condition coefficient; and the comfort index is obtained based on the muscle operability and the ergonomics index.

[0016] Optionally, obtaining the comfort index based on the muscle operability and the ergonomics index includes:

[0017] The comfort index is obtained by the following formula:

[0018]

[0019] Among them, ρ o , s represents the preset barrier index, κ α , κ e Indicates the preset gain index, represents the muscle operability, ω e represents the ergonomic index.

[0020] Optionally, the performing motion capture on the upper limb to obtain experimental data, and using the musculoskeletal model to process the experimental data to obtain the terminal displacement trajectory comprises:

[0021] The upper limb is motion captured to obtain motion capture data; the motion capture data is scaled by a Scaling tool, and joint kinematic data is inversely obtained, wherein the joint kinematic data includes the rotation angle of the arm, the adduction or abduction angle of the shoulder joint, the angle of the arm around the shoulder, and the bending angle of the elbow; the joint kinematic data is simulated by the musculoskeletal model to obtain the terminal displacement trajectory.

[0022] Optionally, performing equivalent simplification on the upper limb robot to obtain a kinematic model includes:

[0023] Perform three-degree-of-freedom DH modeling on the upper limb robot to obtain the kinematic model.

[0024] Compared with the prior art, taking into account the comfort of the user during training, the present invention models the upper limb musculoskeletal system and the robotic arm separately to obtain the musculoskeletal model and the kinematic model of the robotic arm. The two models can be used to respectively characterize the angle, displacement and force data of the upper limb and the robotic arm and the relationship between the two. The musculoskeletal model can not only simulate the experimental data of the upper limb, but also process the human-computer interaction force obtained by the kinematic model to obtain a quantified comfort index. Finally, the parameters of the robotic arm are changed through a genetic algorithm to solve the robotic arm parameters corresponding to the maximum comfort as the optimization result, thereby ensuring that the optimal robotic arm parameters are optimized while taking into account the ergonomics of the robotic arm and the activation of the upper limb mechanism skeleton during training.

[0025] In a second aspect, the present invention provides an upper limb robot optimization device, comprising:

[0026] The first modeling module is used to model the muscles and bones of the upper limbs based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model, wherein the musculoskeletal model is used to describe the physical characteristics and mechanical properties of the muscles of the upper limbs during movement; the first processing module is used to capture the motion of the upper limbs to obtain experimental data, use the musculoskeletal model to process the experimental data, and obtain a terminal displacement trajectory, wherein the terminal displacement trajectory includes one of an upper limb terminal displacement trajectory and a robotic arm terminal displacement trajectory; the second modeling module is used to perform equivalent simplification on the upper limb robot to obtain a kinematic model; the second processing module is used to use the kinematic model to process the terminal displacement trajectory The human-machine interaction force is obtained by reverse processing of the end displacement trajectory, wherein the human-machine interaction force is used to represent the interaction force generated between the upper limb and the robotic arm; an acquisition module is used to simulate the human-machine interaction force through the musculoskeletal model to obtain a comfort index; an optimization module is used to change the robotic arm parameters of the robotic arm through a genetic algorithm to solve the maximum comfort of the robotic arm, wherein the robotic arm parameters include length and mass, and the maximum comfort represents the maximum value that the comfort index can reach under the premise of only changing the robotic arm parameters; an output module is used to use the robotic arm parameters corresponding to the maximum comfort as the optimization result of the upper limb robot.

[0027] The beneficial effects of the upper limb robot optimization device of the present invention relative to the prior art are consistent with the above-mentioned upper limb robot optimization method and will not be elaborated here.

[0028] In a third aspect, the present invention provides an upper limb robot, comprising a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, the upper limb robot optimization method as described above is implemented.

[0029] The beneficial effects of the upper limb robot of the present invention compared to the prior art are consistent with the above-mentioned upper limb robot optimization method and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the flow chart of the upper limb robot optimization method according to an embodiment of the present invention;

[0031] Figure 2 This is a schematic diagram of a detailed process of step S200 of the upper limb robot optimization method according to an embodiment of the present invention;

[0032] Figure 3 This is a schematic diagram of a detailed process of step S600 of the upper limb robot optimization method according to an embodiment of the present invention;

[0033] Figure 4This is a schematic diagram of a detailed process of step S500 of the upper limb robot optimization method according to an embodiment of the present invention;

[0034] Figure 5 A comfort-time relationship diagram before optimization of the upper limb robot according to an embodiment of the present invention;

[0035] Figure 6 This is a comfort-time relationship diagram of the upper limb robot after optimization according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0037] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0038] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". Relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0039] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0040] The upper limb robot provides patients with quantitative, repeatable, function-oriented movement support required for nerve remodeling through mechanical assistance, effectively promoting functional remodeling, compensation and regeneration of the nervous system. In other words, the upper limb robot can assist the patient's upper limbs, allowing the patient to actively or passively bend the affected limbs to reduce muscle spasms during upper limb activities. On the other hand, it can also stimulate nerves so that the brain can form new neural connections. By assisting patients with upper limb movements with upper limb robots, muscle and joint atrophy can be effectively slowed down, achieving the active rehabilitation effect of "unity of thinking and action".

[0041] Since the 20th century, a variety of upper limb robots have been developed at home and abroad to assist patients in rehabilitation training on the healthy and affected sides of their upper limbs, such as a dual-arm training robot with mirror images of the healthy and affected arms, and a training robot with a unilateral robotic arm. In the design of the training robot mechanism, only the mechanism indicators are considered, such as expanding the working space of the mechanism so that the training robot can fully adapt to the range of motion of the upper limbs; improving the operability and isotropy of the robot so that the robot has the same performance at all angles and all movement amplitudes. These indicators can only characterize the kinematic and dynamic characteristics of the mechanism, but cannot characterize the kinematic and dynamic characteristics of the generalized closed-loop mechanism composed of the upper limb mechanism and the upper limb mechanism skeletal system during the interaction between the robot mechanism and the upper limb, nor can they characterize the physiological and psychological comfort during the interaction. When the user performs actual training through the training robot, there may be a situation where the mechanical performance of the robotic arm is good but the user experience is not high. Therefore, the present invention establishes a coupling simulation platform by modeling the upper limb musculoskeletal system and the mechanical arm of the upper limb robot, and establishes an evaluation index for the interaction between the mechanical arm of the upper limb robot and the upper limb by introducing the transfer characteristics between the upper limb and the upper limb robot in the human-machine interaction process, namely, the comfort index. By optimizing the comfort index, the structure of the upper limb robot is optimized using a multi-objective genetic algorithm to obtain a mechanical arm parameter design with high comfort.

[0042] like Figure 1 As shown, an upper limb robot optimization method provided by an embodiment of the present invention includes:

[0043] Step S100, modeling the muscles and bones of the upper limbs based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model, wherein the musculoskeletal model is used to describe the physical characteristics and mechanical properties of the muscles of the upper limbs during movement.

[0044] The Hill muscle model is the most widely used muscle structural mechanics model to date. This model describes the physical characteristics and mechanical properties of muscles through three basic units: contraction element (CE), series elastic element (SE) and parallel elastic element (PE), which correspond to the biological tissue of muscles.

[0045] The working characteristics of different muscles are not the same. The present invention mainly establishes a musculoskeletal model for the shoulder, elbow, upper arm and forearm of the upper limbs, and uses the musculoskeletal model to describe the physical characteristics and mechanical properties of the muscles of the shoulder, elbow, upper arm and forearm when the upper limbs are in motion.

[0046] Preferably, the muscles and bones of the upper limbs are modeled using OpenSim.

[0047] OpenSim is an open source software developed based on C++ and Java languages ​​for muscle model development, biomechanical simulation and analysis.

[0048] When using the OpenSim modeling method to analyze the movement of the upper limbs, first use the general model to optimize the model under preset experimental conditions and then establish a personalized model.

[0049] Step S200, performing motion capture on the upper limb to obtain experimental data, using the musculoskeletal model to process the experimental data to obtain an end displacement trajectory, wherein the end displacement trajectory includes one of an upper limb end displacement trajectory and a robotic arm end displacement trajectory.

[0050] In one embodiment, the motion capture data of the upper limbs is collected as experimental data, and then the experimental data is input into the musculoskeletal model, and the musculoskeletal model is used for simulation to obtain the displacement trajectory of the upper limb end in this experiment. The wrist (or other position of the hand) is regarded as a mass point, and the displacement trajectory of the mass point in the experiment is the end displacement trajectory.

[0051] Since in the training process of the upper limb robot, the human hand is connected to the end of the robotic arm so that the robotic arm exerts auxiliary force to assist the human hand in displacement, during training, the upper limb end displacement trajectory and the robotic arm end displacement trajectory can both be used as the end displacement trajectory.

[0052] Specifically, the upper limb end displacement trajectory is the trajectory of the wrist center-end point; the robotic arm end displacement trajectory is the robotic arm handle displacement trajectory.

[0053] Step S300, performing equivalent simplification on the upper limb robot to obtain a kinematic model.

[0054] Optionally, three-degree-of-freedom DH modeling is performed on the upper limb robot to obtain the kinematic model.

[0055] Optionally, the upper limb robot is equivalently simplified through Simulink / multibody to obtain an equivalent kinematic model.

[0056] DH modeling is a modeling method proposed by Denavit and Hartenberg, which is mainly used in robot kinematics. This method establishes a coordinate system on each lever arm and realizes the transformation of coordinates on two lever arms through homogeneous coordinate transformation. In a system with multiple lever arms in series, homogeneous coordinate transformation is used multiple times to establish the relationship between the first and last coordinate systems.

[0057] DH modeling is performed on the robotic arm to study the transformation between the handle relative coordinate system and the world coordinate system. The force condition of the robotic arm can be calculated through the displacement trajectory.

[0058] In one embodiment, a three-degree-of-freedom robot is modeled. Since the robot has three force arms, the three force arms are recorded as the first force arm, the second force arm, and the third force arm. The first force arm is used as the initial end of the robot, and the third force arm is used as the end of the robot. The end of the robot is also connected to a handle. The initial end is used as the origin to establish a coordinate system, and the transformation matrix of the handle coordinate system is further established through the DH parameters of the robot.

[0059] Step S400: Use the kinematic model to process the end displacement trajectory, and perform inverse processing to obtain the human-machine interaction force, wherein the human-machine interaction force is used to represent the interaction force generated between the upper limb and the robotic arm.

[0060] The end displacement trajectory obtained in step S300 is obtained, and the human-machine interaction force can be obtained by calculating through the kinematic model. Since the upper limb robot is connected by a strap in human-machine interaction, a human-machine interaction force is added between the upper limb and the end of the robotic arm to simulate the force of the strap.

[0061] In one embodiment, the upper limb robot has two mirror-image mechanical arms, one is the healthy side mechanical arm, and the other is the affected side mechanical arm. The healthy side mechanical arm is used to be actively pulled by the normal upper limb, and the affected side mechanical arm is used to perform mirror impedance movement about the healthy side mechanical arm through a preset algorithm after the detection mechanical arm is pulled, so as to assist the movement of the affected upper limb. On the healthy side of the mechanical arm, when the healthy side mechanical arm is pulled by the upper limb to move, in addition to the inertial force generated by the movement of the mechanical arm, the contact force mainly comes from the deadweight of the mechanical arm, and in actual measurement, the component of the force of the strap in the vertical direction is approximately equal to the deadweight of the mechanical arm, so the force of the strap can be approximately regarded as the human-machine interaction force.

[0062] Step S500, simulating the human-computer interaction force through the musculoskeletal model to obtain a comfort index.

[0063] The musculoskeletal model is used to simulate the human-computer interaction force, and the activation value of each muscle of the upper limb under the human-computer interaction force is obtained. The activation value represents the degree of muscle activation and is positively correlated with muscle force. When the activation value = 1, it means that the muscle is fully activated; when the activation value is 0, it means that the muscle is not mobilized at all and is in a relaxed state.

[0064] After obtaining the degree of muscle mobilization through the activation value, the flexibility of the muscles when participating in exercise is further obtained based on the activation value, and then the upper limb comfort is obtained through quantitative calculation of flexibility under preset working conditions.

[0065] Step S600, changing the robot arm parameters of the robot arm through a genetic algorithm to solve the maximum comfort of the robot arm, wherein the robot arm parameters include length and mass, and the maximum comfort represents the maximum value that the comfort index can reach under the premise of only changing the robot arm parameters.

[0066] Specifically, the robot arm parameters include the mass and height of the first force arm, the mass and height of the second force arm, and the mass and height of the third force arm.

[0067] In one embodiment, the robot arm parameters are shown in the following table:

[0068] parameter First lever Second lever The third arm Height / Length 157.5mm 492mm 425mm quality 1.28kg 0.762kg 0.346kg

[0069] Among them, the first lever arm is the shoulder joint, the second lever arm is the upper arm, and the third lever arm is the forearm.

[0070] Optionally, the genetic algorithm is implemented using MATLAB to iteratively optimize the height / length and mass of the robotic arm, calculate the robotic arm parameters that make the muscles more flexible, obtain the maximum comfort, and then calculate the robotic arm parameters corresponding to the comfort.

[0071] Step S700: taking the robot arm parameters corresponding to the maximum comfort level as the optimization result of the upper limb robot.

[0072] The robot arm parameters corresponding to the maximum comfort level are taken as the final optimization results. The optimization results include the first force arm of the upper limb robot, i.e. the height and mass of the shoulder joint, the second force arm, i.e. the length and mass of the upper arm, and the third force arm, i.e. the length and mass of the forearm.

[0073] like Figure 6 As shown, in one embodiment, the robot arm parameters optimized by the optimization method of the present invention are shown in the following table:

[0074] parameter First lever Second lever The third arm Height / Length 172.4716mm 450.0484mm 389.5152mm quality 1.48kg 0.832kg 0.3675kg

[0075] Among them, the comfort level corresponding to the robot arm parameters is 0.2635.

[0076] Optionally, a genetic algorithm is used to optimize the robot arm parameters with the goal of maximizing the human-robot interaction force.

[0077] It can be seen from the muscle activation value and comfort formula that comfort is positively correlated with interaction force. When the human-computer interaction force of a certain robot arm parameter is greater, the comfort corresponding to this robot arm parameter is also greater. Therefore, in one embodiment, the robot arm parameters are directly optimized with the maximum human-computer interaction force as the goal, so that the optimal robot arm parameters can be obtained.

[0078] Alternatively, if Figure 3 As shown, the method of changing the mechanical arm parameters of the mechanical arm by using a genetic algorithm to solve the maximum comfort of the mechanical arm includes:

[0079] Step S601, determining the boundary conditions of the robot arm parameters based on the working requirements of the robot arm, wherein the boundary conditions include the length and mass of the first force arm, the length and mass of the second force arm, and the length and mass of the third force arm.

[0080] In one embodiment, the boundary conditions of the robotic arm parameters are determined based on the upper limb data of the user of the robotic arm. In other words, the length / height and proportion of the robotic arm should conform to the length and proportion of the user's shoulder, upper arm and forearm. If the proportions are particularly unbalanced, the user and the robotic arm will definitely be incompatible.

[0081] In another embodiment, the boundary conditions of the robot arm parameters are determined based on the range of motion of the user's upper limbs, that is, by designing the robot arm parameters, the range of motion of the robot arm can completely cover the range of motion of the user's upper limbs. When the range of motion of the robot arm completely exceeds the range of motion of the user's upper limbs, the user may feel uncomfortable.

[0082] In yet another embodiment, the boundary conditions are shown in the following table:

[0083] parameter First lever arm Second lever The third arm Height / Length 157.5±15mm 492±50mm 425±50mm quality 1.28±0.2kg 0.762±0.07kg 0.346±0.04kg

[0084] Step S602, using a genetic algorithm, assigning values ​​to the three force arms of the robotic arm within the boundary conditions, and calculating the magnitude of the human-machine interaction force of the robotic arm under different assignments to obtain a maximum human-machine interaction force.

[0085] By assigning the robot arm parameters to the initial population, selection, adaptive crossover, mutation, and generation of a new population are performed in sequence, and then the fitness of the new population is calculated (i.e., interaction force simulation is performed through the musculoskeletal model). Finally, it is determined whether the current simulated interaction force is the maximum value. If so, this interaction force is taken as the maximum interaction force and recorded together with the robot arm parameters corresponding to this interaction force.

[0086] Step S603: extract the maximum human-computer interaction force, process the maximum human-computer interaction force through the musculoskeletal model, and obtain the maximum comfort level.

[0087] The human-computer interaction force is processed through the musculoskeletal model to obtain the activation value, and the muscle operability is calculated based on the activation value. The preset working condition coefficient is introduced to quantify the comfort and obtain the maximum comfort.

[0088] Optionally, the maximum isometric force of the muscle, the moment arm of the muscle about each joint axis and the generalized force acting on each joint axis are input into the musculoskeletal model to calculate the activation value of the muscle, and the activation value is used to describe the activation status of the upper limb muscles.

[0089] The activation value of each muscle was calculated to describe the activation of the upper limb muscles.

[0090] In one embodiment, the activation values ​​of the relevant muscles are simulated and calculated by using the StaticOptimization tool in OpenSim. In this embodiment, there are ten relevant muscles in total.

[0091] In one embodiment, the upper limbs are simulated by a musculoskeletal model, and four joints related to the upper limb extension movement are retained, wherein elv_angle represents the forward and backward rotation of the arm, shoulder_elv represents the adduction and abduction of the shoulder, shoulder_rot represents the internal rotation and external rotation of the arm around the shoulder, and elbow_flexion represents the flexion of the elbow.

[0092] Optionally, the activation value is calculated by the following formula:

[0093]

[0094] Where n represents the n muscles involved in the musculoskeletal model, a m represents the activation level of the mth muscle at a discrete time step, represents the maximum isometric force of muscle m, r m,j represents the moment arm of the mth muscle about the jth joint axis, and τj represents the generalized force acting on the jth joint axis.

[0095] n represents the number of activated muscles in the musculoskeletal model, and n is a constant of 10, i.e., ten muscles related to upper limb extension. j represents the jth joint axis. In this embodiment, a total of 4 joints related to upper limb extension are retained, so the value of j is [1, 4].

[0096] According to the muscle modeling theory Hill three elements and Hill equation, l MT is the muscle-tendon length, l T is the tendon length, l M is the muscle fiber length, α is the feather angle, and there is a relationship between them: MT = l T +l M cosα, It is the maximum tension of muscle fibers and tendons during isometric contraction.

[0097] Optionally, the muscle activation value is obtained once every preset time.

[0098] During a simulation cycle, since the simulation content includes the training process of the upper limbs and the robotic arm, the interactive actions of the upper limbs and the robotic arm are constantly changing, and the muscle activation value will also change with the changes in the interactive actions.

[0099] In one embodiment, the activation value of a muscle is obtained once at a preset time interval, for example, every 1 second, the activation values ​​of ten related muscles are obtained by using the above-mentioned formula for calculating the activation value, and then the activation value is subsequently processed to obtain the comfort index at different times during the interaction process.

[0100] Alternatively, if Figure 4 As shown, after the maximum isometric force of the muscle, the force arm of the muscle about each joint axis and the generalized force acting on each joint axis are input into the musculoskeletal model to calculate and obtain the activation value of the muscle, it also includes:

[0101] Step S510, obtaining the muscle operability through the activation value.

[0102] The maneuverability of the muscle is calculated through the activation value of the muscle, where the maneuverability indicates the flexibility of the muscle.

[0103] In one embodiment, the maneuverability of a muscle is calculated by the following formula:

[0104]

[0105]

[0106]

[0107] Among them, ω αrepresents the muscle transmission rate, Indicates muscle operability, Ω α and are all ω in the workspace α and The set of, therefore, max{Ω α}and It is the human-specific maximum muscle information transmission rate (MiTR) and muscle information manipulability (MiM).

[0108] Step S511, obtaining an ergonomics index according to a preset operating condition coefficient.

[0109] The ergonomic index is calculated by the following formula:

[0110]

[0111] Among them, ω e represents the ergonomics index, which is composed of the coefficient r e Decide.

[0112] r e It is a progressive linear rating that is inversely proportional to ergonomic satisfaction, ranging from 1 (satisfactory working posture) to 15 (high risk of injury). e =1) or low risk (r e ={2,3}) The posture may need to be modified or not. In one embodiment, r e For low to medium risk conditions, select 3.

[0113] Step S512: obtaining the comfort index based on the muscle operability and the ergonomics index.

[0114] Finally, the comfort index is calculated by the ergonomic index and the muscle operability. The comfort index is quantified by the method of the present invention to ensure that a more comfortable upper limb robot arm is calculated and optimized.

[0115] The comfort index is obtained by integrating the muscle operability, which measures muscle activity (i.e. the flexibility of the upper limb muscles), and the ergonomics index, which measures ergonomics.

[0116] Optionally, step S512 includes:

[0117] The comfort index is obtained by the following formula:

[0118]

[0119] in, represents the comfort index, ρ o and ρs represents the preset barrier index, κ α and κ e Represents the gain index related to muscle transfer rate and muscle operability, and its values ​​are all preset values. represents the muscle operability, ω e represents the ergonomic index.

[0120] ρ o and ρ s It is related to whether there is interference in the joints and whether there are obstacles during the movement. In this embodiment, since there is no interference or obstacle in the joints, ρ o , s The default value is 1.

[0121] When tasks involving larger forces / accelerations are involved, κ α It is easier to be captured by muscle transmission rate, so κ α Take a larger value between 0 and 1, otherwise it is easier to be captured by muscle operability, then κ e Take a larger value between 0 and 1, so in this embodiment, κ α and κ e Take 0.5 for both.

[0122] In one embodiment, if Figure 5 As shown in the figure, the comfort level corresponding to the initial parameters of the robot arm is 0.2507. The comfort level represents the minimum value of the comfort level during the movement of the robot arm.

[0123] Alternatively, if Figure 2 As shown, step S200 includes:

[0124] Step S201, performing motion capture on the upper limb to obtain motion capture data.

[0125] Step S202, scaling the motion capture data by a Scaling tool, and reversely obtaining joint kinematics data, wherein the joint kinematics data includes the rotation angle of the arm, the adduction or abduction angle of the shoulder joint, the angle of the arm around the shoulder, and the bending angle of the elbow.

[0126] In one embodiment, motion capture data of a normal person is collected, and the model is scaled using a Scaling tool, where the scaling ratio is determined by demand.

[0127] The scaled model is used to simulate the movement of the muscles and bones of the upper limbs to obtain joint kinematic data, namely, the rotation angle of the arm, the adduction or abduction angle of the shoulder joint, the angle of the arm around the shoulder, and the bending angle of the elbow.

[0128] Step S203, simulating the joint kinematics data through the musculoskeletal model to obtain the terminal displacement trajectory.

[0129] The musculoskeletal model is used to simulate the movement angles and amplitudes of the four joints, and the movement of the upper limb musculoskeletal system at the angle is simulated to obtain the displacement trajectory, which is used as the input value of the kinematic model of the robotic arm in the next step.

[0130] The complete embodiment of the present invention includes: firstly establish a musculoskeletal model of the upper limb, specifically first use the general model of OpenSim, then scale the model by the Scaling tool under the experimental conditions of the mechanical arm rehabilitation, establish a personalized model, as a musculoskeletal model, retain the four joints (elv_angle, shoulder_elv, shoulder_rot and elbow_flexion) related to the upper limb extension movement. Then establish the kinematic model of the healthy side of the upper limb robot by Simulink / multibody, and the model parameters include the length and mass of the shoulder joint, the upper arm and the forearm. The experimental data is obtained by the motion capture system, and the kinematic data of the four joints are obtained by the inverse kinematics tool. The kinematic data is simulated by OpenSim to obtain the terminal displacement trajectory, where the terminal displacement trajectory can be the displacement trajectory of the wrist center-end point, or the displacement trajectory of the end handle of the mechanical arm (because the wrist center and the end of the mechanical arm are connected by a strap in the experiment, which can be regarded as a point). Then the terminal displacement trajectory is processed by multibody (or MATLAB) to obtain the human-computer interaction force. The StaticOptimization tool in OpenSim is used to simulate and calculate the activation values ​​of the ten muscles involved. The muscle transfer rate and muscle operability that measure muscle flexibility can be calculated through the activation values, and then the ergonomics index is introduced. The comfort index is obtained by combining the muscle transfer rate and muscle operability that represent muscle flexibility with the ergonomics index that measures ergonomic standards. Then, the genetic algorithm is used to change the robot arm parameters to calculate the maximum comfort index, and the optimal robot arm parameters are obtained.

[0131] Another embodiment of the present invention provides an upper limb robot optimization device, comprising:

[0132] A first modeling module, which is used to model the muscles and bones of the upper limbs based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model, wherein the musculoskeletal model is used to describe the physical characteristics and mechanical properties of the muscles of the upper limbs during movement;

[0133] A first processing module, which is used to capture the motion of the upper limb to obtain experimental data, and use the musculoskeletal model to process the experimental data to obtain a terminal displacement trajectory, wherein the terminal displacement trajectory includes one of an upper limb terminal displacement trajectory and a robotic arm terminal displacement trajectory;

[0134] The second modeling module is used to perform equivalent simplification on the upper limb robot to obtain a kinematic model;

[0135] A second processing module, which is used to process the end displacement trajectory using the kinematic model, and perform inverse processing to obtain a human-machine interaction force, wherein the human-machine interaction force is used to represent the interaction force generated between the upper limb and the robotic arm;

[0136] An acquisition module, which is used to simulate the human-computer interaction force through the musculoskeletal model to obtain a comfort index;

[0137] An optimization module, which is used to change the mechanical arm parameters of the mechanical arm through a genetic algorithm to solve the maximum comfort of the mechanical arm, wherein the mechanical arm parameters include length and mass, and the maximum comfort represents the maximum value that the comfort index can reach under the premise of only changing the mechanical arm parameters;

[0138] An output module is used to use the robotic arm parameters corresponding to the maximum comfort as the optimization results of the upper limb robot.

[0139] The beneficial effects of the upper limb robot optimization device of the present invention relative to the prior art are consistent with the above-mentioned upper limb robot optimization method and will not be elaborated here.

[0140] Another embodiment of the present invention provides an upper limb robot, comprising a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, the upper limb robot optimization method as described above is implemented.

[0141] The beneficial effects of the upper limb robot of the present invention compared to the prior art are consistent with the above-mentioned upper limb robot optimization method and will not be elaborated here.

[0142] An electronic device that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and / or required herein.

[0143] The upper limb robot includes a computing unit that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0144] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0145] Although the disclosure is disclosed as above, the protection scope of the disclosure is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the disclosure, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. An upper limb robot optimization method, characterized in that: The upper limb robot includes a mechanical arm, and the upper limb robot optimization method includes: Modeling the muscles and bones of the upper limbs based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model, wherein the musculoskeletal model is used to describe the physical characteristics and mechanical properties of the muscles of the upper limbs during movement; Performing motion capture on the upper limb to obtain experimental data, and processing the experimental data using the musculoskeletal model to obtain a terminal displacement trajectory, wherein the terminal displacement trajectory includes one of an upper limb terminal displacement trajectory and a robotic arm terminal displacement trajectory; The upper limb robot is simplified equivalently to obtain a kinematic model; Using the kinematic model to process the end displacement trajectory, and inversely process to obtain the human-machine interaction force, wherein the human-machine interaction force is used to represent the interaction force generated between the upper limb and the robotic arm; The human-machine interaction force is simulated by the musculoskeletal model to obtain a comfort index, including: inputting the maximum isometric force of the muscle, the force arm of the muscle about each joint axis, and the generalized force acting on each joint axis into the musculoskeletal model to calculate the activation value of the muscle; obtaining the muscle operability through the activation value, and the muscle operability represents the flexibility of the muscle; obtaining the ergonomic index according to the preset working condition coefficient; obtaining the comfort index based on the obstacle index, the gain index, the muscle operability and the ergonomic index, and the activation value is used to describe the activation of the upper limb muscles; the muscle operability is expressed as: in, oh α represents the muscle transmission rate, Indicates muscle operability, Ω α and are all ω in the workspace α and The set of max{Ω α }and It represents the maximum muscle information transmission rate and muscle information operability specific to humans; The ergonomic index is expressed as: Among them, ω e Represents the ergonomics index, represented by the coefficient r e Decision, e represents a stepwise linear rating, inversely proportional to ergonomic satisfaction; By using a genetic algorithm, the mechanical arm parameters of the mechanical arm are changed to solve the maximum comfort of the mechanical arm, wherein the mechanical arm parameters include length and mass, and the maximum comfort represents the maximum value that the comfort index can reach under the premise of only changing the mechanical arm parameters; The robotic arm parameters corresponding to the maximum comfort level are used as optimization results of the upper limb robot.

2. The upper limb robot optimization method according to claim 1, characterized in that: The step of changing the mechanical arm parameters of the mechanical arm by using a genetic algorithm to solve the maximum comfort of the mechanical arm comprises: Determining boundary conditions of the parameters of the robotic arm based on the working requirements of the robotic arm, wherein the boundary conditions include the length and mass of the first lever arm, the length and mass of the second lever arm, and the length and mass of the third lever arm; By using a genetic algorithm, assigning values ​​to the three force arms of the robotic arm within the boundary conditions, and calculating the magnitude of the human-machine interaction force of the robotic arm under different assignments to obtain the maximum human-machine interaction force; The maximum human-computer interaction force is extracted, and the maximum human-computer interaction force is processed through the musculoskeletal model to obtain the maximum comfort level.

3. The upper limb robot optimization method according to claim 1, characterized in that: The step of inputting the maximum isometric force of the muscle, the force arm of the muscle about each joint axis, and the generalized force acting on each joint axis into the musculoskeletal model to calculate and obtain the activation value of the muscle comprises: The activation value is calculated by the following formula: Where n represents the n muscles involved in the musculoskeletal model, a m represents the activation level of the mth muscle at a discrete time step, represents the maximum isometric force of muscle m, r m,j represents the moment arm of the mth muscle about the jth joint axis, τ j Represents the generalized force acting on the j-th joint axis.

4. The upper limb robot optimization method according to claim 2, characterized in that: The obtaining of the comfort index based on the muscle operability and the ergonomics index comprises: The comfort index is obtained by the following formula: in, represents the comfort index, ρ o , s represents the hindrance index, κ α , κ e represents the gain index, represents the muscle operability, ω e represents the ergonomic index.

5. The upper limb robot optimization method according to claim 2, characterized in that: The performing motion capture on the upper limb to obtain experimental data, and using the musculoskeletal model to process the experimental data to obtain the terminal displacement trajectory comprises: Performing motion capture on the upper limb to obtain motion capture data; Scaling the motion capture data by a Scaling tool, and inversely obtaining joint kinematics data, wherein the joint kinematics data includes the rotation angle of the arm, the adduction or abduction angle of the shoulder joint, the angle of the arm around the shoulder, and the bending angle of the elbow; The joint kinematics data is simulated by the musculoskeletal model to obtain the terminal displacement trajectory.

6. The upper limb robot optimization method according to claim 2, characterized in that: The equivalent simplification of the upper limb robot to obtain a kinematic model includes: Perform three-degree-of-freedom DH modeling on the upper limb robot to obtain the kinematic model.

7. An upper limb robot optimization device, characterized in that: include: A first modeling module, which is used to model the muscles and bones of the upper limbs based on the Hill equation and the Hill muscle three elements to obtain a musculoskeletal model, wherein the musculoskeletal model is used to describe the physical characteristics and mechanical properties of the muscles of the upper limbs during movement; A first processing module, which is used to capture the motion of the upper limb to obtain experimental data, and use the musculoskeletal model to process the experimental data to obtain a terminal displacement trajectory, wherein the terminal displacement trajectory includes one of an upper limb terminal displacement trajectory and a robotic arm terminal displacement trajectory; The second modeling module is used to perform equivalent simplification on the upper limb robot to obtain a kinematic model; A second processing module, which is used to process the end displacement trajectory using the kinematic model, and perform inverse processing to obtain a human-machine interaction force, wherein the human-machine interaction force is used to represent the interaction force generated between the upper limb and the robotic arm; An acquisition module is used to simulate the human-computer interaction force through the musculoskeletal model to obtain a comfort index, including: inputting the maximum isometric force of the muscle, the force arm of the muscle about each joint axis, and the generalized force acting on each joint axis into the musculoskeletal model to calculate the activation value of the muscle; obtaining the muscle operability through the activation value, and the muscle operability represents the flexibility of the muscle; obtaining an ergonomic index according to a preset working condition coefficient; obtaining the comfort index based on the obstacle index, the gain index, the muscle operability and the ergonomic index, and the activation value is used to describe the activation of the upper limb muscles; the muscle operability is expressed as: in, oh α represents the muscle transmission rate, Indicates muscle operability, Ω α and are all ω in the workspace α and The set of max{Ω α }and It represents the maximum muscle information transmission rate and muscle information operability specific to humans; The ergonomic index is expressed as: Among them, ω e Represents the ergonomics index, represented by the coefficient r e Decision, r e represents a stepwise linear rating, inversely proportional to ergonomic satisfaction; An optimization module, which is used to change the mechanical arm parameters of the mechanical arm through a genetic algorithm to solve the maximum comfort of the mechanical arm, wherein the mechanical arm parameters include length and mass, and the maximum comfort represents the maximum value that the comfort index can reach under the premise of only changing the mechanical arm parameters; An output module is used to use the robotic arm parameters corresponding to the maximum comfort as the optimization results of the upper limb robot.

8. An upper limb robot, characterized in that: It comprises a computer-readable storage medium storing a computer program and a processor, and when the computer program is read and executed by the processor, the upper limb robot optimization method as described in any one of claims 1 to 6 is implemented.