Control method, device and storage medium for artificial leg climbing stairs
By introducing a resistance device into the knee joint of the prosthetic leg and dynamically adjusting the damping parameters, the problem of stepping on the air imbalance caused by knee joint bending when going up stairs with traditional prosthetic legs is solved, improving control accuracy and reducing the risk of falling.
Patent Information
- Application Number
- CN202411120562.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-15
AI Technical Summary
With traditional prosthetic legs, the knee joint is always bent when going up stairs, which leads to a higher risk of imbalance when stepping into the air. It is especially easy to fall when turning or in unexpected situations.
By introducing a resistance device into the knee joint of the prosthetic leg, the bending and extension damping parameters are used for dynamic control in the stair-climbing mode, detecting the rotation component of the prosthetic leg to switch to walking mode, and adjusting the damping parameters to increase bending resistance and reduce extension damping to ensure It's easier for your calves to swing forward and stay in line with your thighs to avoid an imbalance in the mid-step.
It effectively reduces the risk of falling when going up stairs and improves the accuracy of control of the prosthetic leg, so that it can maintain the same height as the good leg when stretching and landing, avoiding imbalance in the air.
Smart Images

Figure CN118615078B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of artificial leg control, and in particular to a control method, device and storage medium for artificial leg climbing stairs. Background Art
[0002] In the development history of prosthetic technology, in order to be closer to the functions of natural limbs, the design and control strategies of prosthetic legs have been continuously optimized, aiming to help users achieve daily activities such as walking and climbing stairs more freely and efficiently.
[0003] Traditional prosthetic leg control methods mostly rely on mechanical locking or simple mechanical friction to simulate the movement characteristics of the natural knee joint. In the stair climbing mode, the prosthetic leg knee joint is always in a bent state, and there is a certain difference in the upright height relative to the good leg. If the user needs to turn, actively turn or accidentally turn when reaching the platform, the knee will continue to remain bent. When the user steps on the prosthetic leg and lands, it is easy for the user to feel like they are stepping on empty air, lose balance and fall. Summary of the invention
[0004] The present invention provides a method for controlling a prosthetic leg to climb stairs, aiming to improve the accuracy of prosthetic leg control in a stair climbing scenario and reduce the risk of a user falling when climbing stairs.
[0005] To achieve the above-mentioned purpose, the present invention provides a control method for an artificial leg to climb stairs, wherein the artificial leg comprises a receiving cavity, a knee joint and a supporting part, wherein the knee joint comprises an upper connecting part, a rotating shaft, a calf part and a resistance device, wherein the resistance device provides bending damping and extension damping for the knee joint, and the method comprises:
[0006] Upon receiving a preset action instruction, entering a stair climbing mode, wherein the stair climbing mode controls the resistance device through a first bending damping parameter and a first extension damping parameter;
[0007] In the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to the first rotation amount threshold, it switches to the walking mode. The walking mode controls the resistance device through a second bending damping parameter and a second extension damping parameter. The second bending damping parameter is greater than the first bending damping parameter, and the second extension damping parameter is less than the first extension damping parameter.
[0008] Optionally, in the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a first rotation amount threshold, before switching to the walking mode, the method further includes:
[0009] In the stair climbing mode, detecting in real time a first rotation direction and a first rotation amount of the artificial leg;
[0010] Based on the first rotation direction and the first rotation amount, a first rotation component of the prosthetic leg in a horizontal direction is determined.
[0011] Optionally, the stair climbing mode includes a first response stage corresponding to the backward leg swinging action, a second response stage corresponding to the forward swinging action, and a third response stage corresponding to the landing action. The first rotation amount threshold includes a first rotation component threshold, a second rotation component threshold and a third rotation component threshold. The first response stage corresponds to the first rotation component threshold, the second response stage corresponds to the second rotation component threshold, and the third response stage corresponds to the third rotation component threshold.
[0012] Optionally, in the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a first rotation amount threshold, switching to the walking mode includes:
[0013] In the stair climbing mode, if the first rotation component is greater than or equal to the first rotation component threshold, a first switching instruction corresponding to the backward leg swinging action is generated, and the walking mode is switched according to the first switching instruction;
[0014] If the first rotation component is greater than or equal to the second rotation component threshold, a second switching instruction corresponding to the forward swinging action is generated, and the walking mode is switched according to the second switching instruction;
[0015] If the first rotation component is greater than or equal to the third rotation component threshold, a third switching instruction corresponding to the landing action is generated, and the walking mode is switched according to the third switching instruction.
[0016] Optionally, the generating a first switching instruction corresponding to the backward leg swinging action includes:
[0017] Determining a first degree of completion of the backward leg-swinging action;
[0018] and, based on the first bending damping parameter and the first extension damping parameter, determining a first bending reference damping parameter and a first extension reference damping parameter when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a first rotation component threshold;
[0019] generating a first bending relaxation damping parameter and a first extension relaxation damping parameter based on the first degree of completion, the first bending reference damping parameter and the first extension reference damping parameter;
[0020] A first switching instruction corresponding to the backward leg swinging action is generated based on the first bending relaxation damping parameter and the first extension relaxation damping parameter.
[0021] Optionally, the generating a second switching instruction corresponding to the forward swinging action includes:
[0022] determining a second degree of completion of the forward swinging motion;
[0023] and, based on the first bending damping parameter and the first extension damping parameter, determining a second bending reference damping parameter and a second extension reference damping parameter when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a second rotation component threshold;
[0024] generating a second bending relaxation damping parameter and a second extension relaxation damping parameter based on the second degree of completion, the second bending reference damping parameter and the second extension reference damping parameter;
[0025] A second switching instruction corresponding to the backward leg swinging action is generated based on the second bending relaxation damping parameter and the second extension relaxation damping parameter.
[0026] Optionally, the generating a third switching instruction corresponding to the landing action includes:
[0027] determining a third degree of completion of the landing action;
[0028] and, based on the first bending damping parameter and the first extension damping parameter, determining a third bending reference damping parameter and a third extension reference damping parameter when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a third rotation component threshold;
[0029] generating a third bending relaxation damping parameter and a third extension relaxation damping parameter based on the third degree of completion, the third bending reference damping parameter and the third extension reference damping parameter;
[0030] Based on the third bending relaxation damping parameter and the third extension relaxation damping parameter, a second switching instruction corresponding to the backward leg swinging action is generated.
[0031] Optionally, after the step of switching to the walking mode, the method further includes:
[0032] In the walking mode, detecting in real time a second rotation direction and a second rotation amount of the artificial leg;
[0033] Determining a second rotation component of the prosthetic leg in a horizontal direction based on the second rotation direction and the second rotation amount;
[0034] When it is detected that the second rotation component is greater than a second rotation threshold, the resistance device is controlled by a third bending damping parameter and a third extension damping parameter, wherein the third bending damping parameter is greater than the second bending damping parameter, and the third extension damping parameter is less than the second extension damping parameter.
[0035] The present invention also proposes a control device for artificial legs climbing stairs, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the above-mentioned control method for artificial legs climbing stairs are implemented.
[0036] The present invention further proposes a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned method for controlling a prosthetic leg to climb stairs are implemented.
[0037] The technical solution of the control method for stair climbing of an artificial leg of the present invention is as follows: in the stair climbing mode, when it is detected that the first rotation component of the artificial leg in the horizontal direction is greater than the first rotation amount threshold, the artificial leg is switched to the walking mode, a larger bending resistance is provided by the second bending damping parameter of the walking mode, and a smaller extension resistance is provided by the second extension damping parameter, thereby reducing the extension damping, making it easier for the calf to be swung forward and straighter, and to keep it in a straight line with the thigh as much as possible, so as to withstand pressure when the leg is stretched and landed; at the same time, the bending damping is increased, the bending resistance is increased, and the bending degree is reduced, so as to keep the leg upright and withstand pressure, so that the artificial leg can be straightened and the height is the same as the good leg, thereby avoiding unbalanced stepping. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a flow chart of a method for controlling a prosthetic leg to climb stairs provided by an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of the structure of a control device for an artificial leg climbing stairs provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0042] It should also be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element at the same time. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0043] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0044] See also Figure 1 , Figure 1 It is a flow chart of a method for controlling a prosthetic leg to climb stairs provided in an embodiment of the present invention.
[0045] In this embodiment, the artificial leg comprises a receiving cavity, a knee joint and a supporting part, the knee joint comprises an upper connecting part, a rotating shaft, a calf part and a resistance device, the resistance device provides bending damping and extension damping for the knee joint, and the artificial leg stair climbing control method comprises the following steps:
[0046] Step S10, when receiving a preset action instruction, entering the stair climbing mode.
[0047] In this embodiment, the preset action command is issued by the user and responded by the artificial leg. The artificial leg includes at least a walking mode and a stair climbing mode, wherein the walking mode can be used for walking control in a flat ground scene, and the stair climbing mode can be used for walking control in a stair climbing scene.
[0048] After the user's limb is connected to the receiving cavity, the user's limb makes corresponding movements, and the processor (microcontroller) in the prosthetic leg generates corresponding action instructions based on the detected movements, and the actuator of the prosthetic leg will respond to the action instructions and perform the corresponding actions.
[0049] The stair climbing mode controls the resistance device through the first bending damping parameter and the first extension damping parameter. The above-mentioned action instruction can be a backward leg swinging action, which is an action performed by the user. After the prosthetic leg detects the backward leg swinging action, it can enter the stair climbing mode. It should be noted that the backward leg swinging action is generally a pre-action for climbing stairs.
[0050] The above-mentioned backward leg-swinging action can be detected by a sensor provided in the artificial leg, and the above-mentioned sensor can be a motion sensor, a speed sensor, an angular velocity sensor, etc.
[0051] In a possible embodiment, the above-mentioned backward leg-swinging action can be a backward leg-swinging action after staying or standing for a preset time. In this way, it can be explained that the user is prepared to stay in front of the stairs, making the judgment condition for entering the stair climbing mode more accurate.
[0052] It should be noted that the action of climbing stairs can be broken down into the action of swinging the legs backward, swinging forward, and landing. By performing the action of swinging the legs backward, swinging forward, and landing in sequence, a complete action of climbing stairs can be achieved. Therefore, controlling the bending damping parameters of the prosthetic leg in the three actions can make the control accuracy of the prosthetic leg climbing stairs higher.
[0053] The above-mentioned forward swinging action is the action after the backward leg swinging action, which can be detected by a sensor. After the backward leg swinging action is completed, when the forward swinging action is detected, the resistance device can be controlled by the first extension damping parameter and the first bending damping parameter, so that the resistance device provides extension resistance and bending resistance that are more in line with the forward swinging action.
[0054] In response to the landing action, the resistance device is controlled with a first bending damping parameter and a first damping parameter.
[0055] In this embodiment, the above-mentioned landing action is an action after the forward swinging action, which can be detected by a sensor. After the forward swinging action is completed, when the landing action is detected, the resistance device can be controlled by the third bending damping parameter.
[0056] The first bending damping parameter and the first extension damping parameter may be bending damping parameters adaptively adjusted according to the user's center of gravity and the height of the stair steps.
[0057] In a possible embodiment, after the prosthetic leg touches the ground, the bending damping is further increased to the maximum to provide maximum support for the single leg. After the prosthetic leg stands up, the above-mentioned stair climbing mode is cycled. Specifically, after the response to the landing action is completed, if there are subsequent stair steps, the above-mentioned stair climbing mode is cycled, that is, each time a step is taken, the above-mentioned stair climbing mode is executed once, that is, before each step is taken, it is detected whether to enter the stair climbing mode. In this way, it can be avoided that the stair climbing mode is still in progress after walking up the stairs.
[0058] After entering the stair climbing mode, the resistance device can be controlled by the first bending damping parameter and the first extension damping parameter, so that the resistance device provides bending resistance and extension resistance that are more in line with the stair climbing action, thereby avoiding excessive bending of the knee joint or excessive swing angle.
[0059] Step S20: In the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to the first rotation amount threshold, switching to the walking mode.
[0060] In this embodiment, the first rotation component of the artificial leg in the horizontal direction can be detected by an angle sensor or an inertial measurement unit, and the first rotation component can be a component of the rotation angle or angular acceleration in the horizontal direction. It can be understood that when the first rotation component is greater than or equal to the first rotation amount threshold, it can be explained that the user needs to turn, actively turn, or turn unexpectedly. At this time, the mode of the artificial leg can be switched from the stair climbing mode to the walking mode.
[0061] The walking mode controls the resistance device through the second bending damping parameter and the second extension damping parameter. The second bending damping parameter is greater than the first bending damping parameter, which can prevent the prosthetic leg from bending too much. The second extension damping parameter is less than the first extension damping parameter, which can make the prosthetic leg easier to straighten.
[0062] The control method for stair climbing of a prosthetic leg of the present embodiment is implemented by switching to the walking mode when it is detected in the stair climbing mode that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to the first rotation amount threshold value, and providing a larger bending resistance through the second bending damping parameter of the walking mode, and providing a smaller extension resistance through the second extension damping parameter, thereby reducing the extension damping, making it easier for the calf to swing forward and be straighter, and keep it in a straight line with the thigh as much as possible, so as to withstand pressure when the leg is stretched and landed; at the same time, the bending damping is increased, the bending resistance is increased, and the bending degree is reduced, so that the prosthetic leg is kept upright and withstands pressure, so that the prosthetic leg can be straightened and the same height as the good leg, thereby avoiding unbalanced stepping.
[0063] It can be understood that in the specific implementation of this application, user data, control data, action data and other related data are involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data, as well as the training and use of various models need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0064] Optionally, in the stair-climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than the first rotation amount threshold, before switching to the walking mode, in the stair-climbing mode, the first rotation direction and the first rotation amount of the prosthetic leg can be detected in real time; based on the first rotation direction and the first rotation amount, the first rotation component of the prosthetic leg in the horizontal direction can be determined.
[0065] In an embodiment of the present invention, the rotation amount of the prosthetic leg can be measured by an angle sensor or an inertial measurement unit. The above rotation amount can be a rotation angle or an angular acceleration. It can be understood that the rotation angle or angular acceleration in the horizontal direction can indicate that the user needs to turn, actively turn or accidentally turn, and the rotation angle or angular acceleration in the vertical direction can indicate that the user is in a normal state of climbing stairs.
[0066] After the rotation angle or angular acceleration is detected, the horizontal direction may be determined as the first rotation direction, the rotation angle or angular acceleration in the horizontal direction may be calculated, and the calculated rotation angle or horizontal angular acceleration in the horizontal direction may be used as the first rotation amount.
[0067] Optionally, the stair climbing mode includes a first response stage corresponding to the backward leg swinging action, a second response stage corresponding to the forward swinging action, and a third response stage corresponding to the landing action. The first rotation amount threshold includes a first rotation component threshold, a second rotation component threshold, and a third rotation component threshold. The first response stage corresponds to the first rotation component threshold, the second response stage corresponds to the second rotation component threshold, and the third response stage corresponds to the third rotation component threshold.
[0068] In the embodiment of the present invention, the action of climbing stairs can be decomposed into a backward leg swinging action, a forward swinging action, and a grounding action. By sequentially performing the backward leg swinging action, the forward swinging action, and the grounding action, a complete action of climbing stairs of one step can be achieved. In the stair climbing mode, different actions correspond to different response stages, and different response stages can correspond to different first bending damping parameters and first extension damping parameters.
[0069] Specifically, considering that the probabilities of falling while turning are different under different actions, the probability of falling in the backward swinging leg action and the forward swinging leg action is greater than the probability of falling in the landing action, and the probability of falling in the backward swinging leg action is greater than the probability of falling in the forward swinging action. Therefore, in this embodiment, different response stages can correspond to different rotation component thresholds. In this way, the probability of misjudgment can be reduced.
[0070] More specifically, the first rotation component threshold is smaller than the second rotation component threshold, and the second rotation component threshold is smaller than the third rotation component threshold.
[0071] In a possible embodiment, the first rotation component threshold, the second rotation component threshold and the third rotation component threshold may be set based on experience or obtained through fall analysis based on big data.
[0072] Optionally, in the stair-climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than the first rotation amount threshold, in the step of switching to the walking mode, in the stair-climbing mode, if the first rotation component is greater than or equal to the first rotation component threshold, a first switching instruction corresponding to the backward leg swinging action is generated, and the walking mode is switched through the first switching instruction; if the first rotation component is greater than or equal to the second rotation component threshold, a second switching instruction corresponding to the forward swinging action is generated, and the walking mode is switched through the second switching instruction; if the first rotation component is greater than or equal to the third rotation component threshold, a third switching instruction corresponding to the landing action is generated, and the walking mode is switched through the third switching instruction.
[0073] In this embodiment, the above-mentioned first rotation component is greater than or equal to the first rotation component threshold value, indicating that the user needs to turn during the backward leg swinging action. At this time, a first switching instruction corresponding to the backward leg swinging action can be generated. The above-mentioned first rotation component is greater than or equal to the second rotation component threshold value, indicating that the user needs to turn during the forward swinging action. At this time, a second switching instruction corresponding to the forward swinging action can be generated. The above-mentioned first rotation component is greater than or equal to the third rotation component threshold value, indicating that the user needs to turn during the landing action. At this time, a third switching instruction corresponding to the landing action can be generated.
[0074] The above-mentioned switching instruction can be understood as the switching instruction corresponding to switching from the stair climbing mode to the walking mode. The above-mentioned switching instruction may include instructions corresponding to the easing operation. By executing the switching instruction, the resistance device performs the corresponding easing operation, which can avoid the abrupt feeling when switching directly from the stair climbing mode to the walking mode, and can prevent users from falling due to abrupt mode switching.
[0075] The above-mentioned first switching instruction, second switching instruction and third switching instruction correspond to different easing operations. Considering the backward leg swinging action as the starting action of the stair climbing mode, the user needs to change from a standing posture to a backward leg swinging posture, which makes it easier to fall when turning, and the degree of the fall is the largest and most sudden. Therefore, the easing operation corresponding to the first switching instruction needs to be stronger and more linear; the forward swinging action is after the backward leg swinging action, and the user needs to control the prosthetic leg by swinging, which makes it easy to fall when turning, and the degree of the fall is also larger and more sudden. Therefore, the easing operation corresponding to the second switching instruction needs to be stronger and more linear; the landing action as the ending action of the stair climbing mode can naturally connect to the walking mode, and it is not easy to fall when turning, and the degree of the fall is also smaller. Therefore, the easing operation corresponding to the third switching instruction can be weaker.
[0076] Optionally, in the step of generating the first switching instruction corresponding to the backward leg-swinging action, the first degree of completion of the backward leg-swinging action can be determined; and, based on the first bending damping parameter and the first extension damping parameter, the first bending reference damping parameter and the first extension reference damping parameter are determined when the first rotation component of the prosthetic leg in the horizontal direction is detected to be greater than or equal to the first rotation component threshold; based on the first degree of completion, the first bending reference damping parameter and the first extension reference damping parameter, the first bending relaxation damping parameter and the first extension relaxation damping parameter are generated; based on the first bending relaxation damping parameter and the first extension relaxation damping parameter, the first switching instruction corresponding to the backward leg-swinging action is generated.
[0077] In this embodiment, the first degree of completion of the backward leg swinging action can be determined based on the action reference duration and current duration of the backward leg swinging action, wherein the action parameter duration is the theoretical duration required for the user to complete a backward leg swinging action, and the current duration is the duration between the start of the backward leg swinging action and the moment when the first rotation component is detected to be greater than or equal to the first rotation component threshold. The degree of completion can be the ratio of the current duration to the action reference duration.
[0078] The first bending damping parameter and the first extension damping parameter include a bending damping parameter and an extension damping parameter corresponding to the backward leg swinging action. The bending damping parameter corresponding to the backward leg swinging action in the first bending damping parameter is determined as the first bending reference damping parameter, and the extension damping parameter corresponding to the backward leg swinging action in the first extension damping parameter is determined as the first extension reference damping parameter.
[0079] The first bending relaxation damping parameter can be calculated by the following formula:
[0080]
[0081]
[0082]
[0083] in, represents the first bending relaxation damping parameter, represents the first bending reference damping parameter, Indicates the current moment, Indicates the start time of the backward leg swing. Indicates the previous moment of the current moment. Indicates the current time The corresponding first degree of completion, Indicates the last moment The corresponding first degree of completion, Indicates the reference duration of the backward leg swinging action.
[0084] The first extension relaxation damping parameter can be calculated by the following formula:
[0085]
[0086] in, represents the first extension relaxation damping parameter, represents the first extension reference damping parameter, Indicates the current time The corresponding first degree of completion, Indicates the last moment The corresponding first degree of completion.
[0087] In a possible embodiment, during the process of performing the relaxation operation according to the first switching instruction, the first bending reference damping parameter may be the bending damping parameter at the previous moment (which may be The corresponding first bending relaxation damping parameter ,Right now ), the first extension reference damping parameter can be the extension damping parameter of the previous moment (can be the previous moment The corresponding first extension and damping parameters ,Right now ). In this way, the first bending relaxation damping parameter and the first extension relaxation damping parameter can be continuously iterated during the execution of the operation.
[0088] After obtaining the first bending relaxation damping parameter and the first extension relaxation damping parameter, a corresponding switching instruction may be generated according to the first bending relaxation damping parameter and the first extension relaxation damping parameter, wherein the switching instruction includes control parameters corresponding to the first bending relaxation damping parameter and the first extension relaxation damping parameter.
[0089] Optionally, in the step of generating a second switching instruction corresponding to the forward swinging action, a second degree of completion of the forward swinging action is determined; and, based on the first bending damping parameter and the first extension damping parameter, a second bending reference damping parameter and a second extension reference damping parameter are determined when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than the second rotation component threshold; based on the second degree of completion, the second bending reference damping parameter and the second extension reference damping parameter, a second bending relaxation damping parameter and a second extension relaxation damping parameter are generated; based on the second bending relaxation damping parameter and the second extension relaxation damping parameter, a second switching instruction corresponding to the backward leg swinging action is generated.
[0090] In this embodiment, the first degree of completion of the forward swinging action can be determined based on the action reference duration and current duration of the forward swinging action, wherein the action parameter duration is the theoretical duration required for a user to complete a forward swinging action, and the current duration is the duration between the start of the forward swinging action and the moment when the first rotation component is detected to be greater than or equal to the second rotation component threshold. The degree of completion can be the ratio of the current duration to the action reference duration.
[0091] The first bending damping parameter and the first extension damping parameter include a bending damping parameter and an extension damping parameter corresponding to the forward swinging motion. The bending damping parameter corresponding to the forward swinging motion in the first bending damping parameter is determined as the second bending reference damping parameter, and the extension damping parameter corresponding to the forward swinging motion in the first extension damping parameter is determined as the second extension reference damping parameter.
[0092] The second bending relaxation damping parameter can be calculated by the following formula:
[0093]
[0094]
[0095]
[0096] in, represents the second bending relaxation damping parameter, represents the second bending reference damping parameter, Indicates the current moment, Indicates the start time of the forward swing action, Indicates the previous moment of the current moment. Indicates the current time The corresponding second degree of completion, Indicates the last moment The corresponding second degree of completion, Indicates the reference duration of the forward swing action.
[0097] The second extension relaxation damping parameter can be calculated by the following formula:
[0098]
[0099] in, represents the second extension relaxation damping parameter, represents the second extension reference damping parameter, Indicates the current time The corresponding second degree of completion, Indicates the last moment The corresponding second degree of completion.
[0100] In a possible embodiment, during the process of performing the relaxation operation according to the second switching instruction, the second bending reference damping parameter may be the bending damping parameter at the previous moment (which may be The corresponding second bending relaxation damping parameter ,Right now ), the second extension reference damping parameter can be the extension damping parameter of the previous moment (can be the previous moment The corresponding second extension and damping parameters ,Right now ). In this way, the second bending relaxation damping parameter and the second stretching relaxation damping parameter can be continuously iterated during the operation.
[0101] After obtaining the second bending relaxation damping parameter and the second extension relaxation damping parameter, a corresponding switching instruction may be generated according to the second bending relaxation damping parameter and the second extension relaxation damping parameter, wherein the switching instruction includes control parameters corresponding to the second bending relaxation damping parameter and the second extension relaxation damping parameter.
[0102] Optionally, in the step of generating the third switching instruction corresponding to the landing action, the third degree of completion of the landing action can be determined; and, based on the first bending damping parameter and the first extension damping parameter, the third bending reference damping parameter and the third extension reference damping parameter are determined when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than the third rotation component threshold; based on the third degree of completion, the third bending reference damping parameter and the third extension reference damping parameter, the third bending relaxation damping parameter and the third extension relaxation damping parameter are generated; based on the third bending relaxation damping parameter and the third extension relaxation damping parameter, the second switching instruction corresponding to the backward leg swinging action is generated.
[0103] In this embodiment, the third degree of completion of the landing action can be determined based on the reference duration and current duration of the landing action, wherein the action parameter duration is the theoretical duration required for a user to complete a landing action, and the current duration is the duration from the start of the landing action to the time when the first rotation component is detected to be greater than or equal to the third rotation component threshold. The degree of completion can be the ratio of the current duration to the reference duration.
[0104] The first bending damping parameter and the first extension damping parameter include a bending damping parameter and an extension damping parameter corresponding to the landing action. The bending damping parameter corresponding to the landing action in the first bending damping parameter is determined as the third bending reference damping parameter, and the extension damping parameter corresponding to the landing action in the first extension damping parameter is determined as the third extension reference damping parameter.
[0105] The third bending relaxation damping parameter can be calculated by the following formula:
[0106]
[0107]
[0108]
[0109] in, represents the third bending relaxation damping parameter, represents the third bend reference damping parameter, Indicates the current moment, Indicates the start time of the landing action. Indicates the previous moment of the current moment. Indicates the current time The corresponding third degree of completion, Indicates the last moment The corresponding third degree of completion, Indicates the reference duration of the landing action.
[0110] The third extension relaxation damping parameter can be calculated by the following formula:
[0111]
[0112] in, represents the third extension relaxation damping parameter, represents the third extension reference damping parameter, Indicates the current time The corresponding third degree of completion, Indicates the last moment The corresponding third degree of completion.
[0113] In a possible embodiment, during the process of performing the relaxation operation according to the third switching instruction, the third bending reference damping parameter may be the bending damping parameter at the previous moment (which may be The corresponding third bending relaxation damping parameter ,Right now ), the third extension reference damping parameter can be the extension damping parameter of the previous moment (can be the previous moment The corresponding third extension and damping parameters ,Right now ). In this way, the third bending relaxation damping parameter and the third extension relaxation damping parameter can be continuously iterated during the execution of the operation.
[0114] After obtaining the third bending relaxation damping parameter and the third extension relaxation damping parameter, a corresponding switching instruction may be generated according to the third bending relaxation damping parameter and the third extension relaxation damping parameter, wherein the switching instruction includes control parameters corresponding to the third bending relaxation damping parameter and the third extension relaxation damping parameter.
[0115] Optionally, after the step of switching to the walking mode, the second rotation direction and the second rotation amount of the prosthetic leg can be detected in real time in the walking mode; based on the second rotation direction and the second rotation amount, the second rotation component of the prosthetic leg in the horizontal direction is determined; when it is detected that the second rotation component is greater than or equal to the second rotation amount threshold, the resistance device is controlled by a third bending damping parameter and a third extension damping parameter, and the third bending damping parameter is greater than the second bending damping parameter, and the third extension damping parameter is less than the second extension damping parameter.
[0116] In this embodiment, during a period of time when switching from the stair climbing mode to the walking mode (also referred to as the emergency time), the second rotation direction and the second rotation amount of the artificial leg can be detected in real time in the walking mode, and the second rotation component of the artificial leg in the horizontal direction can be determined based on the second rotation direction and the second rotation amount. If the second rotation component is greater than the second rotation amount threshold, it means that the user is unstable during the emergency time. At this time, the bending damping parameter can be adjusted to the maximum and the extension damping parameter can be adjusted to the minimum, so that the artificial leg can be quickly straightened and get the maximum support. The second rotation amount threshold can be smaller than the first rotation amount threshold.
[0117] The present invention also provides a control device for artificial legs climbing stairs, see Figure 2 , Figure 2 It is a structural schematic diagram of a control device for artificial legs climbing stairs in a hardware operating environment involved in an embodiment of the present invention.
[0118] The artificial leg stair climbing control device of the embodiment of the present invention can be a computing device such as a desktop computer, a notebook, a palm computer, and a server. Figure 2As shown, the control device for stair climbing of a prosthetic leg may include: a processor 1001 (e.g., a CPU), a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit, such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0119] Those skilled in the art will understand that Figure 2 The structure of the prosthetic leg stair climbing control device shown in the figure does not constitute a limitation of the prosthetic leg stair climbing control device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0120] like Figure 2 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.
[0121] exist Figure 2 In the artificial leg stair climbing control device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the computer program stored in the memory 1005. When the computer program is called and executed by the processor 1001, the steps of the above-mentioned artificial leg stair climbing control method are implemented.
[0122] Based on the computer program proposed in the aforementioned embodiment, the present invention further proposes a storage medium, which stores the computer program. When the computer program is executed by a controller, the method for controlling the prosthetic leg climbing stairs recorded in the aforementioned embodiment is implemented.
[0123] Since the artificial leg stair climbing control device and storage medium of the present invention can implement the steps of the above-mentioned artificial leg stair climbing control method, they at least have all the beneficial effects brought by the technical solutions of the above-mentioned artificial leg stair climbing control method embodiments, which will not be described one by one here.
[0124] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0125] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0126] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0127] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or 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. Various media that can store program codes.
[0128] The above description is only a partial or preferred embodiment of the present invention. Neither the text nor the drawings can limit the scope of protection of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect application in other related technical fields are included in the scope of protection of the present invention.
Claims
1. A method for controlling a prosthetic leg to climb stairs, characterized in that: The artificial leg comprises a receiving cavity, a knee joint and a supporting part, the knee joint comprises an upper connecting part, a rotating shaft, a calf part and a resistance device, the resistance device provides bending damping and extension damping for the knee joint, and the method comprises: Upon receiving a preset action instruction, entering a stair climbing mode, wherein the stair climbing mode controls the resistance device through a first bending damping parameter and a first extension damping parameter; In the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to the first rotation amount threshold, it switches to the walking mode. The walking mode controls the resistance device through a second bending damping parameter and a second extension damping parameter. The second bending damping parameter is greater than the first bending damping parameter, and the second extension damping parameter is less than the first extension damping parameter.
2. The method for controlling a prosthetic leg to climb stairs according to claim 1, characterized in that: In the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to the first rotation amount threshold, before switching to the walking mode, the method further includes: In the stair climbing mode, detecting in real time a first rotation direction and a first rotation amount of the artificial leg; Based on the first rotation direction and the first rotation amount, a first rotation component of the prosthetic leg in a horizontal direction is determined.
3. The method for controlling a prosthetic leg to climb stairs according to claim 2, characterized in that: The stair climbing mode includes a first response stage corresponding to the backward leg swinging action, a second response stage corresponding to the forward swinging action, and a third response stage corresponding to the landing action. The first rotation amount threshold includes a first rotation component threshold, a second rotation component threshold, and a third rotation component threshold. The first response stage corresponds to the first rotation component threshold, the second response stage corresponds to the second rotation component threshold, and the third response stage corresponds to the third rotation component threshold.
4. The method for controlling a prosthetic leg to climb stairs according to claim 3, characterized in that: In the stair climbing mode, when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to the first rotation amount threshold, switching to the walking mode includes: In the stair climbing mode, if the first rotation component is greater than or equal to the first rotation component threshold, a first switching instruction corresponding to the backward leg swinging action is generated, and the walking mode is switched according to the first switching instruction; If the first rotation component is greater than or equal to the second rotation component threshold, a second switching instruction corresponding to the forward swinging action is generated, and the walking mode is switched according to the second switching instruction; If the first rotation component is greater than or equal to the third rotation component threshold, a third switching instruction corresponding to the landing action is generated, and the walking mode is switched according to the third switching instruction.
5. The method for controlling a prosthetic leg to climb stairs according to claim 4, characterized in that: The generating of the first switching instruction corresponding to the backward leg swinging action comprises: Determining a first degree of completion of the backward leg-swinging action; and, based on the first bending damping parameter and the first extension damping parameter, determining a first bending reference damping parameter and a first extension reference damping parameter when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a first rotation component threshold; generating a first bending relaxation damping parameter and a first extension relaxation damping parameter based on the first degree of completion, the first bending reference damping parameter and the first extension reference damping parameter; A first switching instruction corresponding to the backward leg swinging action is generated based on the first bending relaxation damping parameter and the first extension relaxation damping parameter.
6. The method for controlling a prosthetic leg to climb stairs according to claim 4, characterized in that: The generating a second switching instruction corresponding to the forward swinging action includes: determining a second degree of completion of the forward swinging motion; and, based on the first bending damping parameter and the first extension damping parameter, determining a second bending reference damping parameter and a second extension reference damping parameter when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a second rotation component threshold; generating a second bending relaxation damping parameter and a second extension relaxation damping parameter based on the second degree of completion, the second bending reference damping parameter and the second extension reference damping parameter; A second switching instruction corresponding to the backward leg swinging action is generated based on the second bending relaxation damping parameter and the second extension relaxation damping parameter.
7. The method for controlling a prosthetic leg to climb stairs according to claim 4, characterized in that: The generating a third switching instruction corresponding to the landing action includes: determining a third degree of completion of the landing action; and, based on the first bending damping parameter and the first extension damping parameter, determining a third bending reference damping parameter and a third extension reference damping parameter when it is detected that the first rotation component of the prosthetic leg in the horizontal direction is greater than or equal to a third rotation component threshold; generating a third bending relaxation damping parameter and a third extension relaxation damping parameter based on the third degree of completion, the third bending reference damping parameter and the third extension reference damping parameter; Based on the third bending relaxation damping parameter and the third extension relaxation damping parameter, a second switching instruction corresponding to the backward leg swinging action is generated.
8. The method for controlling a prosthetic leg to climb stairs according to any one of claims 1 to 7, characterized in that: After the step of switching to the walking mode, the method further comprises: In the walking mode, detecting in real time a second rotation direction and a second rotation amount of the artificial leg; Determining a second rotation component of the prosthetic leg in a horizontal direction based on the second rotation direction and the second rotation amount; When it is detected that the second rotation component is greater than or equal to the second rotation amount threshold, the resistance device is controlled by a third bending damping parameter and a third extension damping parameter, wherein the third bending damping parameter is greater than the second bending damping parameter, and the third extension damping parameter is less than the second extension damping parameter.
9. A control device for artificial legs climbing stairs, characterized in that: The prosthetic leg stair climbing control device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the prosthetic leg stair climbing control method as described in any one of claims 1 to 8 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for controlling stair climbing of an artificial leg according to any one of claims 1 to 8.
Citation Information
Patent Citations
Artificial lower limb continuous motion recognition method based on PSOGWO-SVM
CN114947825A
Intelligent artificial limb road condition recognition method and system
CN115553987A
