Walking exoskeleton intention trajectory planning method and system based on large model
Through the large model-based intentional trajectory planning method of the walking exoskeleton, combined with inertial sensors and visual large models, the problem of the walking exoskeleton being unable to avoid obstacles is solved, achieving higher safety and human-machine collaboration, ensuring that the wearer Respect of intent.
Patent Information
- Application Number
- CN202411040306.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing walking exoskeletons cannot effectively avoid obstacles on their motion trajectories, which threatens safety. The mechanical structure is not flexible enough to respect the wearer's movement intentions.
A walking exoskeleton intention trajectory planning method based on a large model is used to obtain human movement intention through inertial sensors, combined with a large visual model to segment obstacle boundary information, and use the control Lyapunov function and obstacle avoidance control function for secondary planning, integrating the wearer Intention and obstacle information can be used to adjust the trajectory of the walking exoskeleton in real time.
It improves the safety and human-machine collaboration of walking exoskeletons, ensures respect for the wearer's intentions, and achieves the ability to effectively avoid obstacles while ensuring safety.
Smart Images

Figure CN118700159A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of walking exoskeleton robots, and in particular relates to a large model-based walking exoskeleton intention trajectory planning method and system. Background Art
[0002] At present, with the development of robotics and artificial intelligence technology, lower limb walking exoskeleton technology has also made great progress. With the advent of a series of large models at home and abroad, using large models to assist robotics technology has become a research and application boom.
[0003] Walking exoskeleton is a wearable human-machine interaction robot that has been widely used in power assistance, rehabilitation medicine and other fields.
[0004] In the application of walking exoskeletons, the flexibility of the exoskeleton mechanical structure is often limited, and the walking exoskeleton trajectory planning algorithm is insufficient, which often results in the walking exoskeleton being unable to successfully avoid obstacles on the motion trajectory. This seriously threatens the safety of the exoskeleton wearer and poses a challenge to the safety of the walking exoskeleton. How to respect the wearer's movement intention and plan a suitable motion trajectory while ensuring safety is an urgent problem to be solved. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a method and system for planning the intention trajectory of a walking exoskeleton based on a large model, which solves the problem in the prior art that the walking exoskeleton cannot walk safely according to the wearer's intention.
[0006] The present invention adopts the following technical solutions to solve the above technical problems:
[0007] Based on the large model, the walking exoskeleton intention trajectory planning method uses inertial sensors to calculate the human-machine deflection angles of the wearer and the walking exoskeleton joints, obtain the wearer's human motion intention information, and solve the control restrictions on human motion intention;
[0008] Collect image information on the exoskeleton's walking path, segment the collected images in real time through the visual big model, obtain the boundary information of obstacles on the walking path, and solve the control restrictions for obstacle avoidance;
[0009] According to the control restrictions on human motion intention and obstacle avoidance, the optimal intention trajectory of the walking exoskeleton is obtained, and the walking exoskeleton is controlled in real time to walk according to the optimal intention trajectory.
[0010] The human-machine deflection angle information is solved in combination with the control Lyapunov function to obtain the control limit based on the wearer's human motion intention.
[0011] The specific process of obtaining the control limit of human motion intention is as follows:
[0012] The specific expression of the control Lyapunov function is:
[0013] L=(x k -x d ) 2 +(y k -y d ) 2
[0014] Where L represents the control Lyapunov function, x k and k Respectively represent the actual coordinates of the center of mass on the x-axis and y-axis on the horizontal plane, x d and d Respectively represent the expected coordinates of the center of mass on the x-axis and y-axis on the horizontal plane;
[0015]
[0016] in, is the first-order derivative of L, u x and u y Represents the control input in the x direction and y direction, which are x k and k The derivative of L needs to satisfy the control restriction of human motion intention, which is expressed by the following formula:
[0017]
[0018] Where γ is the coefficient constant of L.
[0019] According to the boundary information of the obstacle, the obstacle avoidance control function is applied to solve the control restrictions of obstacle avoidance.
[0020] The specific process of solving the control constraints for obstacle avoidance is as follows:
[0021] The specific expression of the obstacle avoidance control function is:
[0022] B=(x k -x o ) 2 +(y k -y o ) 2 -r o 2
[0023] Where B represents the obstacle avoidance control function, x k and k Respectively represent the actual coordinates of the center of mass on the x-axis and y-axis on the horizontal plane, x oand o Respectively represent the x-axis and y-axis coordinates of the obstacle center on the horizontal plane, r o Indicates the size of the obstacle radius;
[0024]
[0025] in, is the first-order derivative of B, u x and u y Represents the control input in the x direction and y direction, which are x k and k Here, the condition that B needs to satisfy is the control restriction of obstacle avoidance, which is expressed by the following formula:
[0026]
[0027] Where μ is the coefficient constant of B.
[0028] The specific method for obtaining the optimal trajectory of the walking exoskeleton is as follows:
[0029] The control constraints of motion intention and obstacle avoidance are taken as the constraints of the quadratic programming problem. The two modes are fused and the quadratic programming problem model is used to solve the optimal control input, that is, the optimal intention trajectory.
[0030] The process of the visual large model processing the image is as follows:
[0031] The captured images and the obtained prompt information are input into the visual large model, pass through the image encoder and prompt encoder respectively, enter the mask decoder, output the effective mask, and obtain the boundary information of obstacles on the walking path of the walking exoskeleton.
[0032] In order to further solve the problem that the walking exoskeleton cannot successfully avoid obstacles on the motion trajectory due to the limited flexibility of the mechanical structure of the walking exoskeleton, causing the wearer's safety, the present invention also provides a walking exoskeleton human-computer interaction system based on a large model, and the specific technical solution is as follows:
[0033] The walking exoskeleton human-computer interaction system based on a large model includes an inertial sensor module, an image acquisition module, a large model image segmentation module, a data processing module, and a human-computer collaborative control module; among them,
[0034] The inertial sensor module includes a number of inertial sensors arranged at the center of mass of the wearer and the exoskeleton. The inertial sensors obtain the position, speed, angle, and angular velocity information of the wearer and the center of mass of the exoskeleton in real time.
[0035] An image acquisition module, including a visual camera arranged on the walking exoskeleton;
[0036] The large model image segmentation module segments the image information collected by the visual camera, identifies obstacles, and obtains the boundary information of the obstacle image;
[0037] A data processing module, applying the method to obtain the optimal intention trajectory of the walking exoskeleton;
[0038] The human-machine collaborative control module is used to collaboratively control the wearer and the walking exoskeleton so that the walking exoskeleton can walk according to the optimal intended trajectory.
[0039] The wearer and the walking exoskeleton are connected through the admittance model and adaptive method to form a human-machine collaborative control module.
[0040] A computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, call all or part of the steps of the method.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] 1. The present invention introduces the visual big model technology into the walking exoskeleton, and uses the visual big model to segment the image information of obstacles on the walking exoskeleton's motion path. Compared with the traditional image segmentation method, it has the advantages of higher accuracy and stronger generalization ability. At the same time, the visual big model technology is simpler to deploy and has better stability, making it more suitable for human-computer interaction systems such as walking exoskeleton robots.
[0043] 2. The present invention uses only inertial sensors to identify human movement intentions, and does not use other sensors such as force and electromyography. Compared with other sensors, inertial sensors have much higher stability and accuracy, so the present invention has better human-machine collaboration and higher robustness, and is more suitable for the walking exoskeleton, a human-machine interaction system.
[0044] 3. The present invention uses the control Lyapunov function and the obstacle avoidance control function to introduce the wearer's intention and obstacle information into the optimal trajectory solution process through a quadratic programming problem, thereby realizing the fusion of the two modes. While ensuring the safety of the walking exoskeleton, it greatly respects the wearer's movement intention and achieves the effect of human-machine integration. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The present invention is a flow chart of a large-model-based walking exoskeleton intention trajectory planning method.
[0046] Figure 2 It is a structural schematic diagram of the visual large model SAM in the present invention.
[0047] Figure 3Diagram of the structure and adaptive process of the wearer-walking exoskeleton system.
[0048] Figure 4 Schematic diagram of optimal trajectory planning.
[0049] Figure 5 Schematic diagram of the automatic annotation process for the SAM basic model.
[0050] Figure 6 Schematic diagram of SAM's data engine and data set.
[0051] Figure 7 Schematic diagram of the CLIP large model involved in detection. DETAILED DESCRIPTION
[0052] The structure and working process of the present invention will be further described below in conjunction with the accompanying drawings.
[0053] The purpose of the present invention is to provide a walking exoskeleton intention trajectory planning method based on a large model. The visual large model technology is introduced into the trajectory planning of the walking exoskeleton robot, so that the walking exoskeleton can respect the wearer's movement intention to the greatest extent under the premise of ensuring safety. The wearer's movement intention is obtained only by inertial sensors, and the wearer and the exoskeleton are linked by an admittance model; the image of the obstacle on the movement trajectory is collected by a camera, and the boundary of the obstacle is segmented by the visual large model. The wearer's movement intention and the boundary information of the obstacle are fused to obtain the optimal movement trajectory.
[0054] Based on the large model, the walking exoskeleton intention trajectory planning method uses inertial sensors to calculate the human-machine deflection angles of the wearer and the walking exoskeleton joints, obtain the wearer's human motion intention information, and solve the control restrictions on human motion intention;
[0055] Collect image information on the exoskeleton's walking path, segment the collected images in real time through the visual big model, obtain the boundary information of obstacles on the walking path, and solve the control restrictions for obstacle avoidance;
[0056] According to the control restrictions on human motion intention and obstacle avoidance, the optimal intention trajectory of the walking exoskeleton is obtained, and the walking exoskeleton is controlled in real time to walk according to the optimal intention trajectory.
[0057] Specific embodiments, such as Figures 1 to 7 As shown,
[0058] A walking exoskeleton intention trajectory planning method based on a large model specifically comprises the following steps:
[0059] Step 1: Find the center of mass of the wearer and the walking exoskeleton, place inertial sensors at the center of mass of the wearer and the walking exoskeleton, and use the inertial sensors to collect information such as the position, speed, angle, angular velocity, etc. of the center of mass of the wearer and the walking exoskeleton; the collected information is passed through a Gaussian filter to remove the noise of the inertial sensor acquisition signal.
[0060] Only inertial sensors are used, no other sensors are used, and the wearer and the exoskeleton are connected using an admittance model and an adaptive method.
[0061] Step 2: Use the camera to collect image information on the walking path. Place the camera on the walking exoskeleton. You can use a binocular camera to extract the depth information of the image on the walking path to achieve a better and more accurate obstacle avoidance effect. A monocular camera can also achieve the obstacle avoidance effect. When placing the camera, in order to prevent the image acquisition effect from being poor due to shaking during walking, use a lens stabilizer to suppress the lens shaking to obtain a better image acquisition effect.
[0062] Step 3: Use the admittance model and adaptive method to connect the wearer and the walking exoskeleton, and solve the information obtained by the inertial sensor to the rotation angle information of each joint through the solution of the Jacobian matrix. The specific form of the admittance model is:
[0063]
[0064] Where M(x) represents the mass matrix, represents the centrifugal force and Coriolis force matrix, G represents the gravity matrix, x, They represent position, velocity, and acceleration respectively, and u represents the control input.
[0065] The adaptive method is to estimate the uncertain or time-varying parameters in the model, that is, to correct the current parameters according to the system deviations that occurred in the past.
[0066] Step 4: Use the visual model (this embodiment uses the image segmentation model Segment Anything Model (SAM)) to segment the sampled image. The input of the SAM model is the image and prompt information, which is obtained by solving the human-machine deflection angle. The image and prompt information pass through the image encoder and prompt encoder respectively, enter the mask decoder, and then output a valid mask. The specific structure of the SAM model is as follows: Figure 2 The mask here refers to the processing result of a specific area of the image, that is, the recognition result of the obstacle area on the path, so that the boundary information of the obstacle can be obtained.
[0067] When using the SAM large model for image segmentation, the central control machine needs to have good computing performance to ensure the real-time operation. At the same time, in order to enhance the detection effect, it can be used in conjunction with the CLIP large model to enhance the detection performance and generalization ability. At the same time, in order to ensure the real-time and effectiveness of the system, the use of a variant of the SAM large model: the Mobile-SAM large model can better ensure real-time and effectiveness. Finally, the boundary information of obstacles on the walking path of the walking exoskeleton is obtained through the segmentation of the SAM large model. Using the Mobile-SAM large model for operation is faster, and the segmentation effect is almost the same as the SAM large model, which can better meet the system requirements. The CLIP large model can be used to further detect the segmented image to enhance the detection performance and generalization ability. On the basis of its original model, according to the actual situation of the walking exoskeleton human-computer interaction system, through the training of the image, some weights of the SAM large model are fine-tuned to achieve better results.
[0068] Step 5: The human-machine deflection angle information obtained by the inertial sensor is combined with the control Lyapunov function to solve and obtain the control limit based on the wearer's motion intention. Combined with the human-machine deflection angle information obtained by the inertial sensor, when the human-machine deflection angle is large, that is, when the wearer has a large turning intention, the object on the front path is considered to be an obstacle, and the visual large model is used to segment the obstacle boundary.
[0069] The human-machine deviation angle is obtained by subtracting the steering angle on the horizontal plane of the inertial sensor arranged on the wearer from the steering angle on the horizontal plane of the inertial sensor arranged on the exoskeleton.
[0070] Controlling the Lyapunov function in the form of a sliding membrane can make the motion path continuously tend toward the wearer's intended trajectory. When the motion path deviates significantly from the wearer's intended trajectory, there will be a larger control output to pull the motion path back to the wearer's intended trajectory.
[0071] The specific expression of the control Lyapunov function is:
[0072] L=(x k -x d ) 2 +(y k -y d ) 2
[0073] Where L represents the control Lyapunov function, x k and k Respectively represent the actual coordinates of the center of mass on the x-axis and y-axis on the horizontal plane, x d and d Respectively represent the expected coordinates of the center of mass on the x-axis and y-axis on the horizontal plane;
[0074]
[0075] in, is the first-order derivative of L, u x and u y Represents the control input in the x direction and y direction, which are x k and k The derivative of L needs to satisfy the control restriction of human motion intention, which is expressed by the following formula:
[0076]
[0077] Where γ is the coefficient constant of L.
[0078] Step 6: The obstacle boundary information obtained by the large visual model is combined with the obstacle avoidance control function to obtain the control limit based on the obstacle boundary information. The obstacle avoidance control function is in the form of a synovial membrane, which can make the motion path avoid the boundary of the obstacle. When the motion path is very close to the boundary of the obstacle, there will be a large control output to push the motion path away from the boundary of the obstacle.
[0079] The specific expression of the obstacle avoidance control function is:
[0080] B=(x k -x o ) 2 +(y k -y o ) 2 -r o 2
[0081] Where B represents the obstacle avoidance control function, x k and k Respectively represent the actual coordinates of the center of mass on the x-axis and y-axis on the horizontal plane, x o and o Respectively represent the x-axis and y-axis coordinates of the obstacle center on the horizontal plane, r o Indicates the size of the obstacle radius;
[0082]
[0083] in, is the first-order derivative of B, u x and u y Represents the control input in the x direction and y direction, which are x k and k Here, the condition that B needs to satisfy is the control restriction of obstacle avoidance, which is expressed by the following formula:
[0084]
[0085] Where μ is the coefficient constant of B.
[0086] Step 7: Take the control limits based on the wearer's motion intention and the control limits based on the obstacle boundary information as the limits of the quadratic programming problem, fuse the two modes, and use the quadratic programming problem model to solve the optimal control input, that is, the optimal intention trajectory. This allows the walking exoskeleton to greatly respect the wearer's motion intention while ensuring the wearer's safety.
[0087] A walking exoskeleton human-machine interaction system based on a large model, including an inertial sensor module, a human-machine collaborative control module, a visual camera module, a large model image segmentation module, a control and obstacle avoidance function module, and an optimal trajectory solution module;
[0088] The inertial sensor module is an inertial sensor arranged at the center of mass of the wearer and the exoskeleton. The inertial sensor obtains the position, speed, angle, and angular velocity information of the wearer and the exoskeleton center of mass in real time. This information will be used in human-machine collaborative control.
[0089] The human-machine collaborative control module is used to collaboratively control the wearer and the walking exoskeleton. The wearer and the walking exoskeleton are linked by an admittance model so that the walking exoskeleton can follow the wearer's intentions.
[0090] The visual camera module is a camera placed on the walking exoskeleton. If depth information is required, a binocular camera can be placed. When placing the camera, in order to prevent the camera from shaking violently with the exoskeleton, a lens stabilizer is used to stabilize the camera to obtain a better visual image acquisition effect.
[0091] The large model image segmentation module integrates the visual large model technology with the walking exoskeleton, and uses the visual segmentation model SAM model to segment the obstacle image captured by the camera to obtain the boundary information of the obstacle image. During the segmentation process, a trained model with strong generalization ability is used to make the segmentation task efficient and accurate. When the human-machine deviation angle changes significantly, it is considered that an obstacle appears in front, and then the obstacle is segmented.
[0092] The control and obstacle avoidance function module uses the form of Lyapunov function and combines the synovial membrane method to construct the control Lyapunov function and the obstacle avoidance control function. The control limits finally obtained by the control Lyapunov function can make the walking exoskeleton respect the wearer's movement intentions. The control limits finally obtained by the obstacle avoidance control function can enable the walking exoskeleton to effectively avoid obstacles in front and ensure the safety of the walking exoskeleton.
[0093] The optimal trajectory solution module integrates the solution of the optimal trajectory into a quadratic programming model, combining the control limits obtained by the control Lyapunov function and the control limits obtained by the obstacle avoidance control function to solve the optimal trajectory. The planned trajectory can respect the wearer's movement intention and safely avoid obstacles on the front movement trajectory, thus realizing the fusion of the two modes.
[0094] A computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, call all or part of the steps of the method.
[0095] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0096] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A walking exoskeleton intention trajectory planning method based on a large model, characterized by: Use inertial sensors to calculate the human-machine deflection angles of the wearer and each joint of the walking exoskeleton, obtain the wearer's human motion intention information, and solve the control restrictions on human motion intention; Collect image information on the exoskeleton's walking path, segment the collected images in real time through the visual big model, obtain the boundary information of obstacles on the walking path, and solve the control restrictions for obstacle avoidance; According to the control restrictions on human motion intention and obstacle avoidance, the optimal intention trajectory of the walking exoskeleton is obtained, and the walking exoskeleton is controlled in real time to walk according to the optimal intention trajectory.
2. The walking exoskeleton intention trajectory planning method based on a large model according to claim 1 is characterized in that: The human-machine deflection angle information is solved in combination with the control Lyapunov function to obtain the control limit based on the wearer's human motion intention.
3. The walking exoskeleton intention trajectory planning method based on a large model according to claim 2 is characterized in that: The specific process of obtaining the control limit of human motion intention is as follows: The specific expression of the control Lyapunov function is: L=(x k -x d ) 2 +(and k -and d ) 2 Where L represents the control Lyapunov function, x k and k Respectively represent the actual coordinates of the center of mass on the x-axis and y-axis on the horizontal plane, x d and d Respectively represent the expected coordinates of the center of mass on the x-axis and y-axis on the horizontal plane; in, is the first-order derivative of L, u x and u y Represents the control input in the x direction and y direction, which are x k and k The derivative of L needs to satisfy the control restriction of human motion intention, which is expressed by the following formula: Where γ is the coefficient constant of L.
4. The method for planning the intended trajectory of a walking exoskeleton based on a large model according to claim 1, characterized in that: According to the boundary information of the obstacle, the obstacle avoidance control function is applied to solve the control restrictions of obstacle avoidance.
5. The walking exoskeleton intention trajectory planning method based on a large model according to claim 4 is characterized in that: The specific process of solving the control constraints for obstacle avoidance is as follows: The specific expression of the obstacle avoidance control function is: B=(x k -x o ) 2 +(y k -y o ) 2 -r o 2 Where B represents the obstacle avoidance control function, x k and k Respectively represent the actual coordinates of the center of mass on the x-axis and y-axis on the horizontal plane, x o and o Respectively represent the x-axis and y-axis coordinates of the obstacle center on the horizontal plane, r o Indicates the size of the obstacle radius; in, is the first-order derivative of B, u x and u y Represents the control input in the x direction and y direction, which are x k and k Here, the condition that B needs to satisfy is the control restriction of obstacle avoidance, which is expressed by the following formula: Where μ is the coefficient constant of B.
6. The walking exoskeleton intention trajectory planning method based on a large model according to claim 1 is characterized in that: The specific method for obtaining the optimal trajectory of the walking exoskeleton is as follows: The control constraints of motion intention and obstacle avoidance are taken as the constraints of the quadratic programming problem. The two modes are fused and the quadratic programming problem model is used to solve the optimal control input, that is, the optimal intention trajectory.
7. The walking exoskeleton intention trajectory planning method based on a large model according to claim 1 is characterized in that: The process of the visual large model processing the image is as follows: The captured images and the obtained prompt information are input into the visual large model, pass through the image encoder and prompt encoder respectively, enter the mask decoder, output the effective mask, and obtain the boundary information of obstacles on the walking path of the walking exoskeleton.
8. A walking exoskeleton human-computer interaction system based on a large model, characterized by: It includes inertial sensor module, image acquisition module, large model image segmentation module, data processing module and human-machine collaborative control module; among them, The inertial sensor module includes a number of inertial sensors arranged at the center of mass of the wearer and the exoskeleton. The inertial sensors obtain the position, speed, angle, and angular velocity information of the wearer and the center of mass of the exoskeleton in real time. An image acquisition module, including a visual camera arranged on the walking exoskeleton; The large model image segmentation module segments the image information collected by the visual camera, identifies obstacles, and obtains the boundary information of the obstacle image; A data processing module, applying the method described in any one of claims 1 to 7 to obtain the optimal intended trajectory of the walking exoskeleton; The human-machine collaborative control module is used to collaboratively control the wearer and the walking exoskeleton so that the walking exoskeleton can walk according to the optimal intended trajectory.
9. The large model-based walking exoskeleton human-computer interaction system according to claim 8, characterized in that: The wearer and the walking exoskeleton are connected through the admittance model and adaptive method to form a human-machine collaborative control module.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, all or part of the steps of the method described in any one of claims 1 to 7 are called.
Citation Information
Patent Citations
Exoskeleton robot gait control method based on multi-axis acceleration sensor
CN106217353A
Human motion intention recognition method and system
CN111652155A
Whole body exoskeleton carrying and assembling system based on multi-source sensor and control method
CN113043248A
Unmanned vehicle simultaneous path tracking and obstacle avoiding method based on quadratic programming
CN113625702A
Enhanced activated exoskeleton system
US11772259B1
Cited By
Mechanical arm control method and device, electronic equipment and storage medium
CN119238542A
Exoskeleton safe walking control method, device and equipment and storage medium
CN119427362A
Motion track prediction method and system based on intelligent wearable device
CN119920404A
