Gait adaptive control method and system for hemiplegic patients
By detecting the angle and pace information of the normal leg side, integrating it into an action curve and comparing it with the predefined action curve, the action curve of the next gait is generated. Mirror mode control is used to achieve synchronization of the affected leg and the normal leg, solving the existing problem. The technology solves the problems of gait incoordination and instability and realizes simple and stable gait adaptive control and action matching.
Patent Information
- Application Number
- CN202210156941.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-02-21
AI Technical Summary
The existing technology has problems of incoordination, instability and inconvenience when controlling the gait of hemiplegic patients. In particular, the use of sensors affects the comfort of the power-assisted exoskeleton and the stability of the system.
By detecting the angle and pace information of the normal leg side, integrating it into an action curve and comparing it with the predefined action curve, the action curve of the next gait is generated. Mirror mode control is used to achieve synchronization of the affected leg and the normal leg. PID control and The sensor generates and executes action instructions.
It achieves adaptive control of gait, is simple and stable, can automatically adjust according to athletic ability, adapts to different terrains and movement modes, and improves action matching and system stability.
Smart Images

Figure CN114569411B_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the technical field of robot exoskeleton, and in particular to a gait adaptive control method and system for hemiplegic patients. Background Art
[0002] The human lower limb exoskeleton system is similar to a traditional robot. It is a very complex multi-input, multi-output nonlinear system, and its control is very complex. Commonly used control strategies include robot position control, motion trajectory tracking control, sensitivity amplification control and other methods. The following are three methods:
[0003] 1. Robot position control method: This method has been widely used in medical exoskeletons and has achieved great success, but it has the disadvantage of being difficult to coordinate with the user's walking, and the control effect is relatively not superior.
[0004] 2. Human motion trajectory tracking and control method: Through certain methods, the motion trajectory of human joints is detected and analyzed in real time, so as to control the joints of the exoskeleton in real time to achieve movement consistent with the human body. This control method can well achieve the coordination of exoskeleton movement and human movement, but this method often requires adding certain sensors to the human body, which greatly affects the human comfort of the power-assisted exoskeleton and makes it extremely inconvenient to wear. Therefore, although this control method is very intuitive and convenient, it is less used in power-assisted exoskeletons.
[0005] 3. Sensitivity amplification control method: This is essentially a control method based on the exoskeleton model. This method detects the angles, angular velocities, angular accelerations and other parameters of the exoskeleton joints in real time, and performs inverse dynamics solutions through the established exoskeleton mathematical model, thereby predicting the exoskeleton's movement intention. This control method is heavily dependent on the accuracy of the established exoskeleton dynamics mathematical model, which requires a lot of effort to establish a mathematical model and is difficult to be accurate. If there is external interference, the exoskeleton will respond to the interference in the same way as it responds to human movement, making the system unstable and prone to falling. Summary of the invention
[0006] The technical problem to be solved by the present invention is: in view of the problems existing in the prior art, the present invention provides a gait adaptive control method and system for hemiplegic patients with simple and stable control.
[0007] In order to solve the above technical problems, the technical solution proposed by the present invention is:
[0008] A gait adaptive control method for hemiplegic patients, comprising the steps of:
[0009] Detect the angle θ of the normal leg side a , get the current stride information θst and pace informationω s ;
[0010] The angle θ in continuous time a Integrate into an action curve, and compare the action curve with the predefined action curve to obtain the next gait preset action;
[0011] According to the next gait preset action and the current stride information θ st and pace informationω s , get the action curve of the next gait;
[0012] Control the movement of the affected leg according to the movement curve of the next gait.
[0013] Preferably, it also includes using mirror mode control to achieve synchronization between the normal leg and the affected leg: when there is a position difference between the affected leg and the normal leg, the difference generates an action command after PID control, and synchronization control is performed through the speed and position of the action command.
[0014] Preferably, the current stride information θ st The process of obtaining is:
[0015] Detect the angle θ of the normal leg side a , record angle θ a The peak value θ over a period of time m , and then get the most likely stride angle θ in the current gait based on the current gait information max ;
[0016] At the same time, filter θa and output a filtered current angle θ cur ;
[0017] According to θ cur and θ max Get the stride information θ in gait st .
[0018] Preferably, the current pace information ω s The process of obtaining is:
[0019] The angle θ a Perform differential processing within a time range to obtain the angular velocity ω within the time range a , and then get the average angular velocity ω within this time range av ;
[0020] According to the angular velocity ω a Get the maximum angular velocity ω during operation max and the minimum angular velocity ω min , and then get the required pace information ω according to the current gait information s .
[0021] Preferably, the specific process of obtaining the action curve of the next gait is: a The motion curve is integrated into an action curve, and the action curve is compared with the standard action curve of the predefined action library through fuzzy operation to obtain the most likely action information; if the specified conditions are met, the command for the next gait and the preset action are output.
[0022] The present invention also discloses a gait adaptive control system for hemiplegic patients, comprising:
[0023] Stride information acquisition module, used to detect the angle θ of the normal leg side a , get the current stride information θ st ;
[0024] The pace information acquisition module is used to detect the angle θ of the normal leg side a , get the current pace information ω s ;
[0025] The gait information acquisition module is used to convert the angle θ in continuous time a Integrate into an action curve, and compare the action curve with the predefined action curve to obtain the next gait preset action;
[0026] Action generation module, used to preset the action according to the next gait and the current stride information θ st and pace informationω s , get the action curve of the next gait;
[0027] The motion control module is used to control the motion of the affected leg side according to the motion curve of the next gait.
[0028] The present invention further discloses a gait adaptive control system for hemiplegic patients, comprising an angle sensor, a signal processing unit, a motion generator and a motion controller; the angle sensor is used to detect the angle θ of the normal leg side. a The signal processing unit is used to process the angle θ a Get the current stride information θ st , pace informationω s and the next gait preset action, the action generator is used to generate the next gait preset action and the current stride information θ st and pace informationω s , and obtain the motion curve of the next gait. The motion controller is used to control the motion of the affected leg side according to the motion curve of the next gait.
[0029] Preferably, the angle sensor includes one or more of a magnetically encoded angle sensor, a resistive angle sensor, an MPU attitude sensor, a position sensor or a camera.
[0030] Preferably, it also includes a trigger sensor for triggering automatic movement of the affected leg side, and the trigger sensor includes one or more of a tension pressure sensor, a film pressure sensor, a torque sensor or a position contact sensor.
[0031] Compared with the prior art, the advantages of the present invention are:
[0032] The present invention adopts an adaptive strategy of synchronously modifying the preset movement of the affected leg with the reference movement of the normal leg. Compared with the current control strategies (robot position control, motion trajectory tracking control, sensitivity amplification control), the control is simple and stable, and the problem of inconsistent gait of each user is effectively solved. It can also automatically adjust according to the movement ability required in each use process. For example, fast walking and slow walking can achieve motion matching; when encountering up and down slopes, going up and down stairs, relative motion mode output can also be achieved according to the preset motion trajectory. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a control block diagram of an adaptive control method in an embodiment of the present invention.
[0034] Figure 2 It is a control block diagram of the mirror control method in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.
[0036] like Figure 1 As shown, the gait adaptive control method for hemiplegic patients according to an embodiment of the present invention comprises the following steps:
[0037] Detect the angle θ of the normal leg side a , get the current stride information θ st and pace informationω s ;
[0038] The angle θ in continuous time a Integrate into an action curve, and compare the action curve with the predefined action curve to obtain the next gait preset action;
[0039] According to the next gait preset action and the current stride information θ st and pace informationω s , get the action curve of the next gait;
[0040] Control the movement of the affected leg according to the movement curve of the next gait.
[0041] The adaptive strategy of the present invention uses the reference movement of the normal leg to synchronously modify the preset movement of the affected leg. Compared with the existing control strategies (robot position control, motion trajectory tracking control, sensitivity amplification control), the control is simple and stable, and the problem of inconsistent gait of each user is effectively solved. It can also automatically adjust according to the movement ability required in each use process. For example, fast walking and slow walking can achieve motion matching; when encountering up and down slopes, going up and down stairs, relative motion mode output can also be achieved according to the preset motion trajectory.
[0042] In a specific embodiment, it also includes using mirror mode control to achieve synchronization between the normal leg and the affected leg: when there is a position difference between the affected leg and the normal leg (such as a joint angle difference), the difference is controlled by PID differentiation, integration and proportion to generate an action instruction, and synchronization control is performed through the speed and position of the action instruction. The present invention can achieve synchronous control of two legs in mirror control, such as control of up and down squatting; using this control strategy, the user wearing the exoskeleton can achieve the function of bending over to pick up things, and can also achieve a rehabilitation training mode of controlling the movement of the affected leg through the movement of the normal leg.
[0043] In one embodiment, the current stride information θ st The process of obtaining is: detecting the angle θ of the normal leg side a (such as 30°), input to the Gmax(θ) function, and record the maximum ±θ within a period of time a and converted to θ m (In the Gmax(θ) function, if θ a Greater than the last deposited θ a , then let θ m =θ a , the main goal is to obtain θ a Peak value that occurs during the process, such as the current angle 30°> the last recorded angle θ last =29°, then let θ m =30°), and then pass it to the Gv(t) function, and get the most likely stride angle θ in the current gait according to the current gait information function max (Different ranges of values Z[θ min ,θ max ], for example, walking Z[25°,35°], if θ m =30°, then θ m ∈Z,θ max =30°, otherwise set the closest range value, such as θ m =36, then take 35,θ m =20, then take 25, the value will not exceed the range);
[0044] At the same time, θ a Input Gcur(θ) filter function (θ cur =(θ a *3+θ last ) / 4 ,θ last is the last θ a , such as θ last =29°,θ a =30°,Q cur ≈30°), output a filtered current angle θ cur , and θ cur and θ max Combined together, it becomes the stride information θ in gait st (θ st Including θ cur and θ max , implemented through corresponding data structures).
[0045] In a specific embodiment, the current pace information ω s The process of obtaining is: the angle θ a Perform differential processing within a short period of time to obtain the angular velocity ω within the time range a , and then through the gait average function Gav (ω) ( ,ω k is ω at time k a value) to obtain the average angular velocity ω av ;
[0046] Angular velocity ω a After the maximum and minimum recording function Gex (ω) (where ω max =max(ω max ,ω av ),ω min =min(ω min ,ω av ), for example, the current ω max When ω is 50, av is 51, then update ω max is 51, if ω av At 48, then ω max Then continue to save 50; if the current ω min When ω is 30, av is 28, then update ω min is 28, if ω av is 33, then ω min Then continue to maintain 30) to obtain the maximum angular velocity ω during operation max and the minimum angular velocity ω min ;
[0047] Finally, after ω ax (S) function and current gait information to obtain the required synchronous pace information ω s (Different ranges of values Z[ω are given according to different gaits a ,ω b ], if ω av ∈Z, then ω av And ω max and ω min Recorded in ω s If it is not in the range, the closest value in the range is set, and ω max and ω min Recorded in ω in the form of data structure s In; for example, ω av If it is 20, then take 15, ω av If it is 9, then take 10; ω av The value must be within the specified range).
[0048] In a specific embodiment, the specific process of obtaining the motion curve of the next gait is: a Put it into L(θ)(θ L ={θ1,θ2, ....θ 100}; Set θ a Store in θ L , let θ L Stay up to date with Theta a The angles in continuous time are integrated into an action curve, and the action curve is compared with the standard action curve of the predefined action library by fuzzy operation to obtain the most likely action information, which is passed to the action adjustment function Gac (S) for simple logical operation; if the specified conditions are met, the function will output the command for the next gait and the preset action.
[0049] The embodiment of the present invention further discloses a gait adaptive control system for hemiplegic patients, comprising:
[0050] Stride information acquisition module, used to detect the angle θ of the normal leg side a , get the current stride information θ st ;
[0051] The pace information acquisition module is used to detect the angle θ of the normal leg side a , get the current pace information ω s ;
[0052] The gait information acquisition module is used to convert the angle θ in continuous time a Integrate into an action curve, and compare the action curve with the predefined action curve to obtain the next gait preset action;
[0053] Action generation module, used to preset the action according to the next gait and the current stride information θ st and pace informationω s , get the action curve of the next gait;
[0054] The motion control module is used to control the motion of the affected leg side according to the motion curve of the next gait.
[0055] The gait adaptive control system for hemiplegic patients of the present invention corresponds to the above control method and also has the advantages described in the above method.
[0056] The embodiment of the present invention further discloses a gait adaptive control system for hemiplegic patients, including an angle sensor, a signal processing unit, a motion generator and a motion controller; the angle sensor is used to detect the angle θ of the normal leg side. a The signal processing unit is used to calculate the angle θ a Get the current stride information θ st , pace informationω s and the next gait preset action, the action generator is used to generate the next gait preset action and the current stride information θ st and pace informationω s , and obtain the motion curve of the next gait, and the motion controller is used to control the motion of the affected leg side according to the motion curve of the next gait. The control system of the present invention is used to execute the control method as described above, and also has the advantages as described above.
[0057] In a specific embodiment, the angle sensor includes but is not limited to a magnetic coding angle sensor, a resistive angle sensor, an MPU posture sensor, a position sensor and a camera, wherein the angle sensor is installed at the magnetic coding joint of a normal leg.
[0058] In a specific embodiment, a trigger sensor for triggering automatic movement of the affected leg side is also included. The trigger sensor includes but is not limited to a tension pressure sensor, a film pressure sensor, a torque sensor and a position contact sensor. There is an additional baffle on the affected leg side, which is connected to the above trigger sensor. By adding a motion trigger sensor, it is possible to break away from button control, but it also has the stability of autonomous triggering. At the same time, because it is used in gait, it can achieve an effect similar to human motion trajectory tracking, and the movement coordination is good.
[0059] The embodiment of the present invention further discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the gait adaptive control method for hemiplegic patients as described above are performed. The embodiment of the present invention further discloses a computer device, including a memory and a processor, on which a computer program is stored, and when the computer program is executed by the processor, the steps of the gait adaptive control method for hemiplegic patients as described above are performed.
[0060] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. The memory can be used to store computer programs and / or modules, and the processor implements various functions by running or executing computer programs and / or modules stored in the memory, and calling data stored in the memory. The memory may include a high-speed random access memory and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0061] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A gait adaptive control method for hemiplegic patients, characterized in that: Includes steps: Detect the angle θ of the normal leg side a , get the current stride information θ st and pace informationω s ; The angle θ in continuous time a Integrate into an action curve, and compare the action curve with the predefined action curve to obtain the next gait preset action; According to the next gait preset action and the current stride information θ st and pace informationω s , get the action curve of the next gait; Control the movement of the affected leg according to the movement curve of the next gait; Current stride information θ st The process of obtaining is: Detect the angle θ of the normal leg side a , record angle θ a The peak value θ over a period of time m , and then get the most likely stride angle θ in the current gait based on the current gait information max ; At the same time, filter θa and output a filtered current angle θ cur ; According to θ cur and θ max Get the stride information θ in gait st ; Specifically, the angle θ of the normal leg side is detected a , input to the Gmax(θ) function, record the maximum ±θ within a period of time a and converted to θ m ; In the Gmax(θ) function, if θ a Greater than the last deposited θ a , then let θ m =θ a , the main goal is to obtain θ a The peak value that appears in the process is then passed to the Gv(t) function, and the most likely stride angle θ in the current gait is obtained according to the current gait information function. max , where different ranges of values Z[θ are given according to different gaits min ,θ max ], if θ m ∈Z[θ min ,θ max ],θ max =θ m , otherwise set θ max is Z[θ min ,θ max ]; At the same time, θ a Input Gcur(θ) filter function θ cur =(θ a ×3+θ last ) / 4 ,θ last is the last θ a , output a filtered current angle θ cur , and θ cur and θ max Combined together, it becomes the stride information θ in gait st , the θ st Including θ cur and θ max , realized through corresponding data structure; Current pace informationω s The process of obtaining is: The angle θ a Perform differential processing within a time range to obtain the angular velocity ω within the time range a , and then get the average angular velocity ω within this time range av ; According to the angular velocity ω a Get the maximum angular velocity ω during operation max and the minimum angular velocity ω min , and then get the required pace information ω according to the current gait information s ; Specifically: the angle θ a Perform differential processing within a short period of time to obtain the angular velocity ω within that time range a , and then the average angular velocity ω is obtained through the gait average function Gav (ω) av ; The gait average function Gav (ω) is ,ω k is ω at time k a value; Angular velocity ω a After the maximum and minimum recording function Gex(ω), where ω max =max(ω max ,ω av ),ω min =min(ω min ,ω av ), if the current ω max Less than ω av , then update ω max =ω av , otherwise max Continue to maintain ω max ; If the current ω min Greater than ω av , then update ω min =ω av , otherwise min Continue to maintain ω min ; Finally, after ω ax (S) function and current gait information to obtain the required synchronous pace information ω s , according to different gaits, different value ranges Z[ω a ,ω b ], if ω av ∈Z[ω a ,ω b ], then ω av And ω max and ω min Recorded in ω s If it is not within the range, then ω av Set the closest value within the range, and ω max and ω min Recorded in ω in the form of data structure s middle.
2. The gait adaptive control method for hemiplegic patients according to claim 1, characterized in that: It also includes the use of mirror mode control to achieve synchronization between the normal leg and the affected leg: when there is a position difference between the affected leg and the normal leg, the difference is controlled by PID to generate an action command, and synchronization control is performed through the speed and position of the action command.
3. The gait adaptive control method for hemiplegic patients according to claim 1 or 2, characterized in that: The specific process of obtaining the action curve of the next gait is: the angle θ in the continuous time a Integrate into an action curve, and compare the action curve with the standard action curve of the predefined action library by fuzzy operation to obtain the most likely action information; If the specified conditions are met, the command for the next gait and the preset action are output.
4. A gait adaptive control system for hemiplegic patients, used to execute the steps of the gait adaptive control method for hemiplegic patients as claimed in any one of claims 1 to 3, characterized in that: include: Stride information acquisition module, used to detect the angle θ of the normal leg side a , get the current stride information θ st ; The pace information acquisition module is used to detect the angle θ of the normal leg side a , get the current pace information ω s ; The gait information acquisition module is used to convert the angle θ in continuous time a Integrate into an action curve, and compare the action curve with the predefined action curve to obtain the next gait preset action; Action generation module, used to preset the action according to the next gait and the current stride information θ st and pace informationω s , get the action curve of the next gait; The motion control module is used to control the motion of the affected leg side according to the motion curve of the next gait.
5. A gait adaptive control system for hemiplegic patients, used to execute the steps of the gait adaptive control method for hemiplegic patients as claimed in any one of claims 1 to 3, characterized in that: It includes an angle sensor, a signal processing unit, an action generator and a motion controller; the angle sensor is used to detect the angle θ of the normal leg side a The signal processing unit is used to process the angle θ a Get the current stride information θ st , pace informationω s and the next gait preset action, the action generator is used to generate the next gait preset action and the current stride information θ st and pace informationω s , and obtain the motion curve of the next gait. The motion controller is used to control the motion of the affected leg side according to the motion curve of the next gait.
6. The gait adaptive control system for hemiplegic patients according to claim 5, characterized in that: The angle sensor includes one or more of a magnetic coding angle sensor, a resistive angle sensor, an MPU posture sensor, a position sensor or a camera.
7. The gait adaptive control system for hemiplegic patients according to claim 5 or 6, characterized in that: Also included is a trigger sensor for triggering automatic movement of the affected leg side.
8. The gait adaptive control system for hemiplegic patients according to claim 7, characterized in that: The trigger sensor includes one or more of a tension pressure sensor, a film pressure sensor, a torque sensor or a position contact sensor.
