Muscle tension test optimization method and system, electronic equipment and storage medium

Through specific joint motion setting and real-time optimization algorithms, the problem of joint kinematic reliability affected by the muscle tone testing device for whole-body joint rehabilitation during long-term use is solved, and the accuracy of angle estimation and equipment reliability are improved to ensure that Measurements are within physiological limits, reducing errors and meeting real-time requirements.

CN119049652AInactive Publication Date: 2024-11-29JIANGSU YUYUAN INTELLIGENT TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411536335.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing muscle tone test device for systemic joint rehabilitation is used for a long time, the kinematic reliability of joint kinematics is affected by random fluctuations in measured angular velocity and instability, resulting in reduced positioning accuracy and accumulation of errors, which affects the accuracy and effectiveness of the rehabilitation plan.

Method used

Using specific joint motion setting and real-time optimization algorithms, we simulate the movement of the human body's upper limbs by building a motion chain and basic settings, use D-H forward kinematic equations to calculate joint direction information, and define the Lagrangian function and optimization algorithm iterative solution. Ensure that the angle change meets the objective function and constraints, and improves the accuracy of joint angular displacement.

Benefits of technology

Effectively overcome the performance degradation caused by long-term hardware use, ensure that the equipment operates within physiological limits, improve the accuracy of shoulder and elbow angle estimation, reduce the impact of sensor direction drift, and ensure that the joint center trajectory is in the work space of specific tasks. Reduce errors and update cycles are about 10 milliseconds to meet real-time requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119049652A_ABST
    Figure CN119049652A_ABST
Patent Text Reader

Abstract

The invention provides a muscular tension test optimization method and system, electronic equipment and a storage medium, and the method comprises the steps: constructing a kinematic chain and basic setting, the kinematic chain comprises an upper arm, a forearm, a shoulder joint, an elbow joint and a wrist joint, and setting the motion modes of the shoulder joint and the elbow joint; configuring angle parameter vectors based on the motion angles of the shoulder joint and the elbow joint, and calculating direction information of the front arm and the upper arm in the three-dimensional space and position information of the elbow joint and the wrist joint in the three-dimensional space; direction variation of the front arm and the upper arm relative to a set reference state is calculated, and angle variation is extracted from the direction variation; and defining a target function and a constraint condition based on the angle variation, defining a Lagrange function, and iteratively solving an optimal value meeting the target function and the constraint condition by using an optimization algorithm. The problems that the joint kinematics reliability is affected and the joint angular displacement may not conform to the physiological limit during long-time use in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of medical rehabilitation technology, and in particular relates to a muscle tension test optimization method, system, electronic equipment and storage medium. Background Art

[0002] The muscle tension testing device for whole-body joint rehabilitation plays an important role in physical therapy and rehabilitation medicine. The device provides a basis for doctors to formulate rehabilitation plans by evaluating the patient's muscle tension and joint function. However, there are some problems in the use of such devices. First, during the long-term use of hardware, the reliability of joint kinematics is highly dependent on the accuracy of direction estimation. However, in practical applications, direction estimation is susceptible to random fluctuations and instability of the measured angular velocity. Errors accumulate during the integration process, limiting the positioning accuracy of the Hall magnetic sensor, which in turn affects the reliability of joint kinematics. Second, during long-term recording, the estimated joint angular displacement may not match the physiological limit. Inaccurate joint direction estimation will lead to errors in the joint center position, making the movement incompatible with the constraints of specific motion tasks, affecting the accuracy and effectiveness of the rehabilitation plan.

[0003] Therefore, the current muscle tension testing device for whole-body joint rehabilitation has many problems when used for a long time, and a new technical solution is urgently needed to solve these problems. Summary of the invention

[0004] In view of this, the purpose of the present disclosure is to overcome the problems in the prior art that the reliability of joint kinematics is affected during long-term use and the joint angular displacement may not meet the physiological limit, and to provide a muscle tension test optimization method, system, electronic device and storage medium.

[0005] Based on the above objectives, the present disclosure provides a method for optimizing muscle tension testing, comprising: Constructing a kinematic chain and basic settings to simulate the movement and muscle tension state of the human upper limbs, wherein the kinematic chain includes the trunk, upper arm, forearm, shoulder joint, elbow joint and wrist joint, with the shoulder joint as the center of the coordinate system, and setting the movement modes of the shoulder joint and elbow joint; Angle parameter vectors are configured based on the movement angles of the shoulder joint and the elbow joint , and apply the DH forward kinematics equation to calculate the direction information of the forearm and upper arm in three-dimensional space, as well as the position information of the elbow joint and wrist joint in three-dimensional space; According to the direction information of the forearm and the upper arm in the three-dimensional space, the direction change of the forearm and the upper arm relative to the set reference state is calculated, and the angle change of the forearm and the upper arm relative to the set reference state is extracted from the direction change; Define the objective function and constraints based on the angle change, and define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. value.

[0006] In one embodiment, a kinematic chain and basic settings are constructed to simulate the movement and muscle tension state of the upper limbs of the human body, and the movement mode of the shoulder joint and the elbow joint is set, including: The muscle tension test device is used to simulate the upper limb movement and muscle tension state of the human body by implementing the kinematic chain and basic settings. The shoulder joint is set as a spherical joint and configured to perform elevation plane rotation, elevation rotation, and internal and external rotation. The angles are recorded as , and ; The elbow joint is set as a universal joint, configured to be able to perform flexion and extension and pronation and supination movements, and their angles are recorded as and ; Introducing a constant carry angle Simulates physiological abduction of the forearm relative to the upper arm.

[0007] In one embodiment, the angle parameter vector is configured based on the movement angles of the shoulder joint and the elbow joint. ,include: Configuration angle parameter vector ,in, represents the elevation plane angle of the shoulder joint, represents the shoulder joint elevation angle, Indicates the internal and external rotation angle of the shoulder joint. represents the elbow flexion-extension angle, represents a constant carrying angle, used to simulate the physiological abduction of the forearm relative to the upper arm, Indicates the pronation and supination angle of the elbow joint.

[0008] In one embodiment, calculating the direction change of the forearm and the upper arm relative to a set reference state based on the direction information of the forearm and the upper arm in the three-dimensional space includes: The calculation formula for the change in direction of the forearm and upper arm relative to the set reference state is: ; ; in, , , and The calculation formulas are: ; ; ; ; In the formula, represents the orientation matrix of the upper arm in three-dimensional space, represents the orientation matrix of the forearm in three-dimensional space, The direction matrix represents the basic rotation of the upper arm around the z-axis of the torso coordinate system at a set time step, and its angle is , The direction matrix represents the basic rotation of the forearm around the z-axis of the torso coordinate system at a set time step, and its angle is .

[0009] In one embodiment, extracting the angle change of the forearm and the upper arm relative to a set reference state from the direction change includes: The calculation formula for the angle change of the forearm and upper arm relative to the set reference state is: ; ; Where the tr function represents the trace of the matrix.

[0010] In one embodiment, the objective function and the constraint conditions are defined based on the angle variation, including: Define the objective function , the constraints include The minimization limit is and Function, that is ,in, and They are defined as: ; ; In the formula, the index j = 5 is omitted because the carrying angle is a constant value, and represents a generic set defining the boundaries of the 3D workspace around the elbow and wrist joints, represents the position vector of the elbow joint in three-dimensional space, Represents the position vector of the wrist joint in three-dimensional space.

[0011] In one embodiment, the Lagrangian function is defined as ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. Values, including: The Lagrangian function is defined as: ; In the formula, and Respectively indicate application to and The Lagrange multiplier of ; Use an optimization solver to iteratively find the optimal The numerical solution of the value is calculated at each iteration. The orientation matrix of the upper arm and forearm in three-dimensional space and the position vectors of the elbow and wrist joints are calculated according to the current θ, λ, σ configuration to quantify the objective function At the same time, for the constraints Define upper and lower limits and determine the constraints by the position vectors of the elbow and wrist joints in 3D space effectiveness.

[0012] Based on the same inventive concept, the present disclosure also provides a muscle tension test optimization system, comprising: A model building module, which is used to build a kinematic chain and basic settings to simulate the movement and muscle tension state of the human upper limbs, wherein the kinematic chain includes the trunk, upper arm, forearm, shoulder joint, elbow joint and wrist joint, with the shoulder joint as the center of the coordinate system, and the movement mode of the shoulder joint and elbow joint is set; A kinematics calculation module configured to configure an angle parameter vector based on the movement angles of the shoulder joint and the elbow joint , and apply the DH forward kinematics equation to calculate the direction information of the forearm and upper arm in three-dimensional space, as well as the position information of the elbow joint and wrist joint in three-dimensional space; An angle change extraction module, which is used to calculate the direction change of the forearm and the upper arm relative to the set reference state according to the direction information of the forearm and the upper arm in the three-dimensional space, and extract the angle change of the forearm and the upper arm relative to the set reference state from the direction change; The optimization module is used to define the objective function and constraints based on the angle change and define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. value.

[0013] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a muscle tension test optimization method as described above is implemented.

[0014] Based on the same inventive concept, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the above-mentioned muscle tension test optimization method.

[0015] From the above, it can be seen that the muscle tension test optimization method, system, electronic device and storage medium provided by the present disclosure innovatively adopt a specific joint motion setting and a real-time optimization algorithm combination. When the hardware device is running for a long time, the real-time optimization ensures that the device continues to maintain accuracy and reliability, effectively overcoming the problem of performance degradation caused by long-term use of hardware, and the method incorporates physiological joint limitation information to ensure that the measured and simulated range of motion is within the physiological limit, improving the safety during use and the accuracy of biomechanics. The experimental test of the present disclosure on the muscle tension test device quantified the actual optimization effect. In actual hardware operation, the method improves the accuracy of shoulder and elbow joint angle estimation, reduces the influence of sensor direction drift, ensures that the joint center trajectory is within the specific task workspace, reduces errors, and the update cycle of about 10 milliseconds can meet real-time requirements, and has good feasibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 The present invention is a flowchart of a muscle tension test optimization method according to one embodiment.

[0018] Figure 2 A schematic diagram of the structural arrangement of a muscle tension testing device provided in one embodiment applied to an elbow joint.

[0019] Figure 3 A schematic diagram of a muscle tension test optimization method provided in one embodiment applicable to parts of the human body.

[0020] Figure 4 A schematic diagram of the structural arrangement of a muscle tension testing device provided in one embodiment applied to a knee joint.

[0021] Figure 5 A module diagram of a muscle tension test optimization system according to one embodiment.

[0022] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in another embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0024] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0025] In order to keep the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed descriptions of some known functions and known components.

[0026] like Figure 1 A muscle tension test optimization method flow of an embodiment shown includes steps S100 to S103: Step S100: constructing a kinematic chain and basic settings to simulate the movement and muscle tension state of the human upper limbs, wherein the kinematic chain includes the trunk, upper arm, forearm, shoulder joint, elbow joint and wrist joint, with the shoulder joint as the center of the coordinate system, and setting the movement modes of the shoulder joint and elbow joint; Step S101: configuring an angle parameter vector based on the movement angles of the shoulder joint and the elbow joint , and apply the DH forward kinematics equation to calculate the direction information of the forearm and upper arm in three-dimensional space, as well as the position information of the elbow joint and wrist joint in three-dimensional space; Step S102: Calculate the direction change of the forearm and the upper arm relative to a set reference state according to the direction information of the forearm and the upper arm in the three-dimensional space, and extract the angle change of the forearm and the upper arm relative to the set reference state from the direction change; Step S103: Define the objective function and constraints based on the angle variation, and define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. value.

[0027] In a muscle tension test optimization method of an embodiment of the present invention, it innovatively adopts a specific joint motion setting and a real-time optimization algorithm combination. When the hardware device is running for a long time, real-time optimization is used to ensure that the device continues to maintain accuracy and reliability, effectively overcoming the problem of performance degradation caused by long-term use of hardware. In addition, this method incorporates physiological joint limitation information to ensure that the measured and simulated motion range is within the physiological limit, thereby improving safety during use and biomechanical accuracy.

[0028] As a preferred embodiment, in step S100, a muscle tension testing device (partial structure as shown in FIG. Figure 2 As shown, the two arms are the upper arm and the forearm, and the upper arm and the forearm are connected by the elbow joint) The movement and muscle tension state of the human upper limbs are simulated by implementing the kinematic chain and the basic settings, wherein the kinematic chain includes the trunk, the upper arm, the forearm, the shoulder joint, the elbow joint and the wrist joint. The shoulder joint is set as a spherical joint with the shoulder joint as the center of the coordinate system, and is configured to be able to perform elevation plane rotation, elevation rotation and internal and external rotation, and the angles are recorded as , and ; The elbow joint is set as a universal joint, configured to be able to perform flexion and extension and pronation and supination movements, and their angles are recorded as and ; Introducing a constant carry angle Simulate the physiological abduction of the forearm relative to the upper arm. That is, a muscle tension test device is used to simulate the movement and muscle tension state of the human upper limbs. By constructing a specific motion chain and making basic settings, a model framework is provided for subsequent calculations and analysis. And through detailed structural design and precise angle parameter settings, it can more accurately simulate the movement and muscle tension state of the human upper limbs. In particular, the introduction of a constant carrying angle takes into account the characteristics of the human physiological structure and improves the authenticity of the simulation.

[0029] As a preferred implementation, in step S101, the angle parameter vector is configured based on the movement angles of the shoulder joint and the elbow joint. , including the configuration angle parameter vector ,in, represents the elevation plane angle of the shoulder joint, represents the shoulder joint elevation angle, Indicates the internal and external rotation angle of the shoulder joint. represents the elbow flexion-extension angle, represents a constant carrying angle, used to simulate the physiological abduction of the forearm relative to the upper arm, Represents the pronation and supination angle of the elbow joint. In this embodiment, this vector covers the main movement angles of the shoulder joint and the elbow joint, and can comprehensively describe the posture and position changes of the upper limbs of the human body under different movement conditions. By adjusting these angle parameters, various upper limb movements can be simulated, which provides rich possibilities for studying upper limb movements and muscle tension states. Moreover, the upper limb movement angles are integrated into one vector, which is convenient for data analysis and the application of optimization algorithms. For example, by defining the objective function and constraints, the optimization algorithm can be used to iteratively solve the optimal angle parameter vector to achieve optimization and improvement of the muscle tension test. In summary, the angle parameter vector configuration in step S101 provides important basic data and analysis tools for the entire muscle tension test optimization method.

[0030] Further, in step S101, the DH forward kinematics equation is applied to calculate the direction information of the forearm and upper arm in the three-dimensional space, and the position information of the elbow joint and wrist joint in the three-dimensional space. Specifically, the direction information of the upper arm and forearm in the three-dimensional space is represented by a 3×3 matrix, which is respectively recorded as and The position information of the elbow and wrist joints in three-dimensional space is represented by 3×1 position vectors, which are respectively and In this step, the application of this equation can accurately calculate the orientation information of the forearm and upper arm in three-dimensional space and the position information of the elbow and wrist joints, providing an accurate data basis for subsequent analysis and optimization.

[0031] As a preferred implementation, in step S102, first, the calculation formula for the direction change of the forearm and the upper arm relative to the set reference state is: ; ; in, , , and The calculation formulas are: ; ; ; ; In the formula, represents the orientation matrix of the upper arm in three-dimensional space, represents the orientation matrix of the forearm in three-dimensional space, and It represents the quantity obtained from the raw signal of the Hall magnetic sensor through the sensor fusion algorithm. By fusing the Hall magnetic sensor data and minimizing the difference between these data and the segment direction predicted based on the biomechanical model, the accuracy of angle measurement is improved. In this setting, The direction matrix represents the basic rotation of the upper arm around the z-axis of the torso coordinate system at a set time step, and its angle is , The direction matrix represents the basic rotation of the forearm around the z-axis of the torso coordinate system at a set time step, and its angle is ; Then, and Mathematically converted into the corresponding axis angle representation, the calculation formula for the angle change of the forearm and upper arm relative to the set reference state is: ; ; Where the tr function represents the trace of the matrix.

[0032] In this step, the calculation of the angle change is based on the direction change, and the direction change is converted into the angle change through a specific formula. This angle change can more intuitively reflect the angle change of the forearm and upper arm under the reference state, which is very important for evaluating the range of motion of the upper limbs, joint mobility, and the degree of change in muscle tension. It provides key parameters for the subsequent definition of objective functions and constraints, and helps to optimize the implementation of the algorithm to more accurately estimate the motion state and muscle tension of the upper limbs.

[0033] As a preferred implementation, in step S103, first define the objective function , in order to avoid joint angles exceeding their physiological range and force the elbow and wrist joint centers to be within their physical workspace boundaries, the constraints include The minimization limit is and Function, that is ,in, and They are defined as: ; ; In the formula, the index j = 5 is omitted because the carrying angle is a constant value, and represents a generic set defining the boundaries of the 3D workspace around the elbow and wrist joints, represents the position vector of the elbow joint in three-dimensional space, Represents the position vector of the wrist joint in three-dimensional space.

[0034] Then define the Lagrangian function as ; In the formula, and Respectively indicate application to and Lagrange multipliers of ; use the optimization solver to iteratively find the optimal The solver is suitable for nonlinear constrained optimization problems. At each iteration, the orientation matrix of the upper arm and forearm in three-dimensional space and the position vectors of the elbow and wrist joints are calculated according to the current θ, λ, σ configuration to quantify the objective function At the same time, for the constraints Define upper and lower limits and determine the constraints by the position vectors of the elbow and wrist joints in 3D space Specifically, for each iteration, given the configuration of θ, λ, σ, the definition of the objective function requires the calculation of and , and then apply the equation described above to quantize the objective function In the practice of the present invention, according to the actual operation, for each definition The required lower and upper limits. , first by applying DH forward kinematics to calculate and Then, assume that the workspace boundaries and is a parallelepiped in the horizontal direction. In addition, The validity of is determined in two consecutive steps: First, the point-in-polygon algorithm is applied to and The (x,y) coordinates of E and W are used to force the elbow and wrist joints to be located within the horizontal projections of E and W, respectively. and The z-coordinate of E is constrained to be the minimum and maximum of the perpendicular projections of E and W. Finally, L is quantized according to the Lagrangian function L(θ, λ, σ). SQP evaluates the constraints of physiological joint limits by updating θ, λ, σ in a sequential manner to ensure ΔL = 0. and angular characteristic constraints associated with specific motion tasks to iteratively refine the solution. For each i-th time step, the number of iterations depends heavily on the choice of initial values. Therefore, by setting the starting configuration to The optimal value at The solution converges at .

[0035] The muscle tension test optimization method disclosed in this embodiment has extremely wide applicability. Figure 3 As shown, this method is not only effective in shoulder joints, elbow joints ( Figure 2 ) and wrist muscle tension tests, and can also be successfully applied to the knee ( Figure 4 Through carefully designed technical means and advanced algorithmic processes, this method can extremely accurately simulate the movement and muscle tension of multiple key joints in the upper and lower limbs of the human body. Whether it is the shoulder joint, elbow joint and wrist joint of the upper limb, or the knee joint and wrist joint of the lower limb, this method can provide efficient and accurate muscle tension testing and optimization solutions. The emergence of this method provides a powerful tool for the medical research field to deeply explore the relationship between human joint movement and muscle tension, and provides a reliable basis for the formulation of more scientific and effective rehabilitation plans in the field of rehabilitation therapy. It also provides strong support for improving training effects and preventing sports injuries in the field of sports training.

[0036] In a muscle tension test optimization method of an embodiment of the present invention, experimental tests on a muscle tension testing device quantified the actual optimization effect. In actual hardware operation, this method improved the accuracy of shoulder and elbow joint angle estimation, reduced the impact of sensor direction drift, ensured that the joint center trajectory was within the specific task workspace, reduced errors, and had an update cycle of approximately 10 milliseconds to meet real-time requirements, and had good feasibility.

[0037] In a muscle tension test optimization method of an embodiment of the present disclosure, it can adapt and optimize according to different sports task characteristics, so as to more accurately meet the needs of specific sports tasks, such as specific movement analysis in sports training or physical rehabilitation.

[0038] Correspondingly, the disclosed embodiment also provides a muscle tension test optimization system, such as Figure 5 As shown, the system includes: A model building module, which is used to build a kinematic chain and basic settings to simulate the movement and muscle tension state of the human upper limbs, wherein the kinematic chain includes the trunk, upper arm, forearm, shoulder joint, elbow joint and wrist joint, with the shoulder joint as the center of the coordinate system, and the movement mode of the shoulder joint and elbow joint is set; A kinematics calculation module configured to configure an angle parameter vector based on the movement angles of the shoulder joint and the elbow joint , and apply the DH forward kinematics equation to calculate the direction information of the forearm and upper arm in three-dimensional space, as well as the position information of the elbow joint and wrist joint in three-dimensional space; An angle change extraction module, which is used to calculate the direction change of the forearm and the upper arm relative to the set reference state according to the direction information of the forearm and the upper arm in the three-dimensional space, and extract the angle change of the forearm and the upper arm relative to the set reference state from the direction change; The optimization module is used to define the objective function and constraints based on the angle change and define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. value.

[0039] In a muscle tension test optimization system of an embodiment of the present disclosure, it innovatively adopts a combination of specific joint motion settings and real-time optimization algorithms. When the hardware device is running for a long time, real-time optimization is used to ensure that the device continues to maintain accuracy and reliability, effectively overcoming the problem of performance degradation caused by long-term use of hardware. In addition, the method incorporates physiological joint limitation information to ensure that the measured and simulated range of motion is within the physiological limit, thereby improving safety during use and biomechanical accuracy.

[0040] In a muscle tension test optimization system of an embodiment of the present invention, experimental tests on a muscle tension testing device quantified the actual optimization effect. In actual hardware operation, this method improved the accuracy of shoulder and elbow joint angle estimation, reduced the impact of sensor direction drift, ensured that the joint center trajectory was within the specific task workspace, reduced errors, and an update cycle of approximately 10 milliseconds could meet real-time requirements, and had good feasibility.

[0041] The system of the above-mentioned embodiment is used to implement the corresponding muscle tension test optimization method in the above-mentioned embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0042] It should be noted that the drawings of the embodiments of the present disclosure only involve structures related to the embodiments of the present disclosure, and other structures may refer to general designs.

[0043] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.

[0044] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0045] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the muscle tension test optimization method described in any of the above embodiments is implemented.

[0046] Figure 6 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0047] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0048] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0049] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0050] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0051] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0052] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0053] The electronic device of this embodiment is used to implement the corresponding muscle tension test optimization method in any of the aforementioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here.

[0054] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the muscle tension test optimization method described in any of the above embodiments.

[0055] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0056] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the muscle tension test optimization method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0057] It should be understood by those skilled in the art that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0058] In addition, to simplify the description and discussion, and in order not to obscure the embodiments of the present disclosure, known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, devices may be shown in the form of block diagrams to avoid obscuring the embodiments of the present disclosure, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure may be implemented without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0059] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0060] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A muscle tension test optimization method, characterized in that: include: Constructing a kinematic chain and basic settings to simulate the movement and muscle tension state of the human upper limbs, wherein the kinematic chain includes the trunk, upper arm, forearm, shoulder joint, elbow joint and wrist joint, with the shoulder joint as the center of the coordinate system, and setting the movement modes of the shoulder joint and elbow joint; Angle parameter vectors are configured based on the movement angles of the shoulder joint and the elbow joint , and apply the DH forward kinematics equation to calculate the direction information of the forearm and upper arm in three-dimensional space, as well as the position information of the elbow joint and wrist joint in three-dimensional space; According to the direction information of the forearm and the upper arm in the three-dimensional space, the direction change of the forearm and the upper arm relative to the set reference state is calculated, and the angle change of the forearm and the upper arm relative to the set reference state is extracted from the direction change; Define the objective function and constraints based on the angle change, and define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. value.

2. A muscle tension test optimization method according to claim 1, characterized in that: Construct kinematic chains and basic settings to simulate the upper limb movement and muscle tension of the human body, and set the movement of the shoulder and elbow joints, including: The muscle tension test device is used to simulate the upper limb movement and muscle tension state of the human body by implementing the kinematic chain and basic settings. The shoulder joint is set as a spherical joint and configured to perform elevation plane rotation, elevation rotation, and internal and external rotation. The angles are recorded as , and ; The elbow joint is set as a universal joint, configured to be able to perform flexion and extension and pronation and supination movements, and their angles are recorded as and ; Introducing a constant carry angle Simulates physiological abduction of the forearm relative to the upper arm.

3. A muscle tension test optimization method according to claim 2, characterized in that: Angle parameter vectors are configured based on the movement angles of the shoulder joint and the elbow joint ,include: Configuration angle parameter vector ,in, represents the elevation plane angle of the shoulder joint, represents the shoulder joint elevation angle, Indicates the internal and external rotation angle of the shoulder joint. represents the elbow flexion-extension angle, represents a constant carrying angle, used to simulate the physiological abduction of the forearm relative to the upper arm, Indicates the pronation and supination angle of the elbow joint.

4. A muscle tension test optimization method according to claim 3, characterized in that: Calculating the direction change of the forearm and the upper arm relative to a set reference state according to the direction information of the forearm and the upper arm in the three-dimensional space, including: The calculation formula for the change in direction of the forearm and upper arm relative to the set reference state is: ; ; in, , , and The calculation formulas are: ; ; ; ; In the formula, represents the orientation matrix of the upper arm in three-dimensional space, represents the orientation matrix of the forearm in three-dimensional space, The direction matrix represents the basic rotation of the upper arm around the z-axis of the torso coordinate system at a set time step, and its angle is , The direction matrix represents the basic rotation of the forearm around the z-axis of the torso coordinate system at a set time step, and its angle is .

5. A muscle tension test optimization method according to claim 4, characterized in that: The angle changes of the forearm and upper arm relative to the set reference state are extracted from the direction changes, including: The calculation formula for the angle change of the forearm and upper arm relative to the set reference state is: ; ; Where the tr function represents the trace of the matrix.

6. A muscle tension test optimization method according to claim 5, characterized in that: Define the objective function and constraints based on the angle change, including: Define the objective function , the constraints include The minimization limit is and Function, that is ,in, and They are defined as: ; ; In the formula, the index j = 5 is omitted because the carrying angle is a constant value, and represents a generic set defining the boundaries of the 3D workspace around the elbow and wrist joints, represents the position vector of the elbow joint in three-dimensional space, Represents the position vector of the wrist joint in three-dimensional space.

7. A muscle tension test optimization method according to claim 6, characterized in that: Define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. Values, including: The Lagrangian function is defined as: ; In the formula, and Respectively indicate application to and The Lagrange multiplier of ; Use an optimization solver to iteratively find the optimal The numerical solution of the value is calculated at each iteration. The orientation matrix of the upper arm and forearm in three-dimensional space and the position vectors of the elbow and wrist joints are calculated according to the current θ, λ, σ configuration to quantify the objective function At the same time, for the constraints Define upper and lower limits and determine the constraints by the position vectors of the elbow and wrist joints in 3D space effectiveness.

8. A muscle tension test optimization system, characterized in that: include: A model building module, which is used to build a kinematic chain and basic settings to simulate the movement and muscle tension state of the human upper limbs, wherein the kinematic chain includes the trunk, upper arm, forearm, shoulder joint, elbow joint and wrist joint, with the shoulder joint as the center of the coordinate system, and the movement mode of the shoulder joint and elbow joint is set; A kinematics calculation module configured to configure an angle parameter vector based on the movement angles of the shoulder joint and the elbow joint , and apply the DH forward kinematics equation to calculate the direction information of the forearm and upper arm in three-dimensional space, as well as the position information of the elbow joint and wrist joint in three-dimensional space; An angle change extraction module, which is used to calculate the direction change of the forearm and the upper arm relative to the set reference state according to the direction information of the forearm and the upper arm in the three-dimensional space, and extract the angle change of the forearm and the upper arm relative to the set reference state from the direction change; The optimization module is used to define the objective function and constraints based on the angle change and define the Lagrangian function ,in, represents the angle parameter vector, and represents the Lagrange multiplier, and uses the optimization algorithm to iteratively solve the optimal solution that satisfies the objective function and constraints. value.

9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a muscle tension test optimization method as claimed in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the muscle tension test optimization method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Mechanical arm motion control method and device based on anti-noise neural solver

    CN117773938A

  • Indirect rotation angles measurement method in operator's joints

    RU2700118C1

  • Method and System of Constraint-Based Optimization of Digital Human Upper Limb Models

    US20170169138A1

  • Personalized neuromotor rehabilitation therapy for upper limb using a neuromusculoskeletal arm model

    US20220054073A1

  • Multimodal human-robot interaction system for compensation movement of hemiplegic upper limb

    US20220126189A1