Control method, device and storage medium for artificial leg climbing stairs

By detecting user movements and historical damping parameters, the damping parameters of the prosthetic leg are adjusted to simulate natural knee joint motion, which solves the problem of falling when using traditional prosthetic leg control when going up stairs, and improves the accuracy and stability of the prosthetic leg.

CN118615077BActive Publication Date: 2024-10-22ZHEJIANG BRAIN ENHANCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411120519.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-22
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

The traditional prosthetic leg control method is difficult to accurately adapt to different walking scenarios when going up stairs, causing users to easily fall when they reach the platform after walking the last step.

Method used

By detecting the user's action instructions and the damping parameters in the historical stair mode, the damping parameters in the current walking mode are determined, and the resistance device is controlled to simulate the motion characteristics of the natural knee joint and reduce the risk of falling.

Benefits of technology

It effectively reduces the risk of users falling when entering the platform when climbing stairs, and improves the accuracy and stability of prosthetic leg control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118615077B_ABST
    Figure CN118615077B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method, device and storage medium for artificial leg climbing stairs, and the control method for artificial leg climbing stairs comprises: after detecting the exit of the stair climbing mode, if no action instruction to enter the stair climbing mode is detected, then entering the walking mode; after entering the walking mode, based on multiple historical stair damping parameters in the historical stair mode, determining the current walking damping parameter in the walking mode; and controlling the resistance device based on the current walking damping parameter. The present invention solves the problem that traditional artificial leg control methods mostly rely on mechanical locking or simple mechanical friction to simulate the movement characteristics of natural knee joints, which easily causes the user to fall when the user walks up the last step to reach the platform and lifts the leg upwards, and effectively reduces the risk of falling when the user enters the platform during the process of climbing stairs.
Need to check novelty before this filing date? Find Prior Art

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] However, these methods are often difficult to accurately adapt to the needs of different walking scenarios, especially in complex stair-climbing movements. Traditional prosthetic leg control methods mostly rely on mechanical locking or simple mechanical friction to simulate the motion characteristics of natural knee joints. When the user walks up the last step to reach the platform and lifts his leg up, it is easy for the user to 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 entering a platform during the stair climbing process.

[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] When exiting the stair climbing mode is detected, if no action command to enter the stair climbing mode is detected, the walking mode is entered;

[0007] After entering the walking mode, determining a current walking damping parameter in the walking mode based on a plurality of historical stair damping parameters in the historical stair mode;

[0008] The resistance device is controlled based on the current walking damping parameter.

[0009] Optionally, the step of entering the walking mode if no action instruction to enter the stair climbing mode is detected after exiting the stair climbing mode is detected includes:

[0010] If it is detected that the duration of the standing posture is greater than the preset duration threshold and no trend feature of the leg swinging backward action is detected, it is determined that no action instruction to enter the stair climbing mode is detected and the walking mode is entered.

[0011] Optionally, the trend characteristics of the backward leg-swinging action are determined based on the motion data, speed and acceleration corresponding to the backward leg-swinging action.

[0012] Optionally, the step of determining the current walking damping parameter in the walking mode based on a plurality of historical stair damping parameters in the historical stair mode includes:

[0013] Acquire multiple historical stair damping parameters in the historical stair modes within a preset time period, where each step corresponds to a stair climbing mode, and each stair climbing mode corresponds to one of the historical stair damping parameters;

[0014] Based on the plurality of historical stair damping parameters, a current walking damping parameter in the walking mode is determined.

[0015] Optionally, the step of determining the current walking damping parameter in the walking mode based on the plurality of historical stair damping parameters includes:

[0016] Based on the plurality of historical stair damping parameters, determining an average stair-ascending damping parameter;

[0017] Based on the average stair-climbing damping parameter, a current walking damping parameter in the walking mode is determined.

[0018] Optionally, the step of determining the current walking damping parameter in the walking mode based on the plurality of historical stair damping parameters includes:

[0019] Based on the plurality of historical stair damping parameters, determining the number of stairs climbed by the user;

[0020] Based on the number of stairs climbed and a plurality of the historical stair damping parameters, a current walking damping parameter in the walking mode is determined.

[0021] Optionally, the step of determining the current walking damping parameter in the walking mode based on the number of stairs climbed and the plurality of historical stair damping parameters includes:

[0022] Determining a user's physical strength decay curve based on the number of stairs climbed and the user's physiological data;

[0023] Based on the plurality of historical stair damping parameters, determining a change curve of the stair climbing damping parameter;

[0024] Based on the physical force attenuation curve and the change curve of the stair climbing damping parameter, a current walking damping parameter in the walking mode is determined.

[0025] Optionally, the current walking damping parameter includes current extension damping and current bending damping.

[0026] The present invention also proposes a device for controlling an artificial leg 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 method for controlling an artificial leg climbing stairs are implemented.

[0027] 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.

[0028] The technical solution of the artificial leg stair climbing control method of the present invention is that after detecting the exit of the stair climbing mode, if no action command to enter the stair climbing mode is detected, the walking mode is entered. After entering the walking mode, the current walking damping parameter in the walking mode is determined based on multiple historical stair damping parameters in the historical stair mode, and the resistance device is controlled using the current walking damping parameter. The present invention solves the problem that traditional artificial leg control methods mostly rely on mechanical locking or simple mechanical friction to simulate the movement characteristics of natural knee joints, which easily causes the user to fall when the user walks up the last step to reach the platform and lifts the leg upward, and effectively reduces the risk of the user falling when entering the platform during the stair climbing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] 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;

[0030] 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

[0031] 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.

[0032] 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.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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:

[0037] Step S10, when exiting the stair climbing mode is detected, if no action instruction to enter the stair climbing mode is detected, entering the walking mode.

[0038] In this embodiment, the artificial leg at least includes 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.

[0039] 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.

[0040] The motion command of the stair climbing mode is issued by the user and responded by the artificial leg.

[0041] The above-mentioned action instruction may 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 may enter the stair climbing mode. It should be noted that the backward leg swinging action is generally a pre-action for climbing stairs. The backward leg swinging action may be detected by a sensor provided in the prosthetic leg, which may be a motion sensor, a speed sensor, an angular velocity sensor, etc.

[0042] It should be noted that every time you climb a step, you need to trigger the determination of the stair-climbing mode, that is, to determine whether a leg-swinging movement or a trend characteristic of a leg-swinging movement is detected. If a leg-swinging movement or a trend characteristic of a leg-swinging movement is detected, the stair-climbing mode will be entered again. If no leg-swinging movement or a trend characteristic of a leg-swinging movement is detected, the walking mode will be entered.

[0043] Step S20, after entering the walking mode, based on a plurality of historical stair damping parameters in the historical stair mode, determine the current walking damping parameter in the walking mode.

[0044] In this embodiment, the above historical stair damping parameters can be understood as the damping parameters used by the control resistance device when the user climbs the stairs in the past use process. The historical stair damping parameters mainly affect the speed, stability and efficiency of the user in the stair climbing mode. Through the historical stair damping parameters, the user's motion state and stability when climbing the stairs can be understood, so that the current walking damping parameters in the walking mode can be more accurately determined.

[0045] 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, you can achieve the complete action of climbing one step of stairs.

[0046] After entering the walking mode, the current walking damping parameters in the walking mode can be determined based on multiple historical stair damping parameters in the user's historical stair modes, so as to support the user's body balance and avoid the bending resistance and extension resistance in the stair climbing mode affecting the user's walking on the platform.

[0047] The above current walking damping parameters will affect the user's walking, for example, whether to increase the support force, reduce the bending degree, etc.

[0048] It should be noted that in the walking mode, the larger the current walking damping parameter is, the stronger the ability of the prosthetic leg to suppress bending and swinging during walking on flat ground, and the better the walking stability; conversely, the smaller the current walking damping parameter is, the weaker the ability of the prosthetic leg to suppress bending and swinging during walking on flat ground, the lower the walking stability, and the easier it is to fall.

[0049] Step S30, controlling the resistance device based on the current walking damping parameter.

[0050] In this embodiment, the current walking damping parameters include current extension damping and current bending damping.

[0051] The above-mentioned current extension damping can be understood as the damping parameter during the extension process of the knee joint in the current walking mode state, which provides extension resistance for the knee joint to avoid excessive swing angle.

[0052] The above-mentioned current bending damping can be understood as the damping parameter during the bending process of the knee joint in the current walking mode state, which provides bending resistance for the knee joint to avoid excessive bending.

[0053] The resistance device can be controlled by the current walking damping parameters so that the resistance device provides extension resistance and bending resistance that are more consistent with the forward swinging action.

[0054] The prosthetic leg stair climbing control method of this embodiment, when it is detected that the stair climbing mode has been exited, if no action command to enter the stair climbing mode is detected, then the walking mode is entered. After entering the walking mode, the current walking damping parameters in the walking mode are determined based on multiple historical stair damping parameters in the historical stair mode, and the resistance device is controlled using the current walking damping parameters, thereby solving the problem that traditional prosthetic leg control methods mostly rely on mechanical locking or simple mechanical friction to simulate the movement characteristics of the natural knee joint, which can easily cause the user to fall when the user walks up the last step to reach the platform and lifts his leg upwards, thereby effectively reducing the risk of the user falling when entering the platform during the stair climbing process.

[0055] 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.

[0056] Optionally, after detecting the exit from the stair climbing mode, if no action command to enter the stair climbing mode is detected, then in the step of entering the walking mode, it can be detected that the duration of the standing posture is greater than a preset duration threshold, and no trend characteristics of the leg swinging backward action are detected, then it is determined that no action command to enter the stair climbing mode is detected, and the walking mode is entered.

[0057] In this embodiment, the above-mentioned preset duration threshold is a duration threshold pre-set by the system. The above-mentioned duration threshold can also be dynamically set according to the situation of the user entering the stair climbing mode. It can be understood that, generally speaking, for a building with stairs, the structure of the stairs is fixed after the building is built, that is, for a staircase in a fixed position, the number of stairs between platforms is the same. In this embodiment, each time a step is climbed, the stair climbing mode will be entered once. Therefore, it can be judged whether the user has reached the platform based on the number of times the stair climbing mode is entered. If the number of times the stair climbing mode is entered is equal to the number of steps between adjacent platforms, it can be judged that the user has reached the platform. For example, there are 10 steps between platform A and platform B. If the number of times the stair climbing mode is entered is 10 times, it can be judged that the user has reached the platform. Of course, considering that the user may not climb a step every time he enters the stair climbing mode, the above-mentioned duration threshold can be dynamically adjusted to avoid the generation of misjudgment. Specifically, if the number of times the stair climbing mode is entered is less than the number of steps between adjacent platforms, the above-mentioned duration threshold is the default duration threshold, and if the number of times the stair climbing mode is entered is greater than or equal to the number of steps between adjacent platforms, the above-mentioned duration threshold is less than the default duration threshold, and the above-mentioned duration threshold decreases as the difference between the number of times the stair climbing mode is entered and the number of steps between adjacent platforms increases. Considering that when the number of times the stair climbing mode is entered is greater than or equal to the number of steps between adjacent platforms, the probability of the user reaching the platform is increasing. By lowering the duration threshold and increasing the judgment speed, the walking mode can be quickly entered to provide the user with greater support as soon as possible.

[0058] The above dynamic adjustment duration threshold can satisfy the following formula:

[0059]

[0060] in, Indicates the duration threshold. Indicates the default duration threshold. Indicates the number of times the stair climbing mode is performed. Indicates the number of steps between adjacent platforms.

[0061] The length of time the user stays or stands + the trend characteristics of the backward leg swinging action can be used to jointly determine whether the user intends to walk on flat ground, thereby improving the accuracy of the judgment of entering the walking mode.

[0062] Specifically, by detecting the duration of the standing posture, the user's preparation time can be determined. If no tendency characteristic of the user swinging legs backward is detected, it can be determined that the user is preparing to walk on flat ground.

[0063] It should be noted that, for sensor data, for each action, there is a feature data corresponding to the action, and the feature data can be a feature in the time domain / frequency domain. By using the relationship between the action and the feature data, the action performed by the user can be found based on the detected sensor data. Similarly, for sensor data, for each action, there is a trend feature corresponding to the action, and the trend feature can be the first half of the feature data corresponding to the action. By using the relationship between the action and the trend feature, the preparatory action performed by the user can be found based on the detected sensor data.

[0064] Optionally, the trend characteristics of the backward leg-swinging action are determined based on the motion data, speed and acceleration corresponding to the backward leg-swinging action.

[0065] In this embodiment, motion data, speed and acceleration can be collected through corresponding sensors. For sensor data, for each action, there is a trend feature corresponding to the action, and the trend feature can be the instantaneous feature corresponding to the action. The instantaneous feature of each action is represented by sensor data in a short period of time. By utilizing the corresponding relationship between sensor data and instantaneous features, the corresponding relationship between instantaneous features and trend features, and the relationship between actions and trend features, it is possible to find out whether the preparatory action made by the user is a backward leg swinging action based on the detected sensor data.

[0066] The sensor data may be at least one of motion data, speed data and acceleration data. If the sensor data is at least two of the motion data, speed data and acceleration data, it is necessary to perform data fusion on at least two of the motion data, speed data and acceleration data. The fused data is used to determine whether the preparatory action performed by the user is a backward leg swinging action.

[0067] Optionally, in the step of determining the current walking damping parameter in the walking mode based on multiple historical stair damping parameters in the historical stair modes, multiple historical stair damping parameters in the historical stair modes within a preset time period can be obtained, each step corresponds to a stair climbing mode, and each stair climbing mode corresponds to a historical stair damping parameter; based on multiple historical stair damping parameters, the current walking damping parameter in the walking mode is determined.

[0068] In this embodiment, the above-mentioned historical stair damping parameter may be the damping parameter during the stair climbing period before the current moment. In the above-mentioned stair climbing mode, each time the stair climbing mode is entered, the damping parameter of the stair climbing process may be adjusted according to at least one of the user's motion data, speed data and acceleration data. At this time, the damping parameter corresponding to each stair climbing mode will be different.

[0069] The above-mentioned stair climbing damping parameter can be the damping parameter on different steps. Historically, the stair damping parameter reflects the bending degree and swing angle of the artificial leg during the stair climbing process.

[0070] Specifically, in the stair climbing mode, the stair climbing mode and the corresponding stair climbing damping parameters corresponding to each step can be recorded, and when the walking mode is triggered, these stair climbing damping parameters can be called to obtain the historical stair damping parameters. Then, according to the historical stair damping parameters, the current walking damping parameters of the prosthetic leg in the walking mode are determined.

[0071] In a possible embodiment, multiple historical stair damping parameters can be arranged in chronological order to obtain a historical stair damping parameter sequence, and the historical stair damping parameter sequence can be predicted by a time series model, and the prediction result is the current walking damping parameter. The above time series model can be a time series model based on a recurrent neural network RNN ​​and a long short-term memory network LSTM.

[0072] Optionally, in the step of determining the current walking damping parameter in the walking mode based on multiple historical stair damping parameters, an average stair climbing damping parameter can be determined based on multiple historical stair damping parameters; and the current walking damping parameter in the walking mode can be determined based on the average stair climbing damping parameter.

[0073] In this embodiment, after obtaining multiple historical stair damping parameters, the multiple historical stair damping parameters can be summed up, and the sum result can be divided by the number of historical stair damping parameters to obtain an average stair climbing damping parameter. The above average stair climbing damping parameter can reflect the average damping response during the user's control of the prosthetic leg to climb the stairs.

[0074] Specifically, a fixed damping parameter may be added to the average stair climbing damping parameter to provide a higher support force for the walking mode, and the current walking damping parameter in the walking mode may be determined, so that the walking mode can be more stable and efficient on flat ground.

[0075] More specifically, the above-mentioned damping parameters include bending damping parameters and extension damping parameters, and the above-mentioned historical stair damping parameters also include historical bending damping parameters and historical extension damping parameters. The average up-stairs bending damping parameter and the average up-stairs extension damping parameter are calculated, and a fixed bending damping parameter is added on the basis of the average up-stairs bending damping parameter, and a fixed extension damping parameter is added on the basis of the average up-stairs extension damping parameter.

[0076] Optionally, in the step of determining the current walking damping parameter in the walking mode based on multiple historical stair damping parameters, the number of steps climbed by the user can be determined based on the multiple historical stair damping parameters; and the current walking damping parameter in the walking mode can be determined based on the number of steps climbed and the multiple historical stair damping parameters.

[0077] In this embodiment, the number of stairs climbed is the total number of stairs climbed by the user. It should be noted that each time the user climbs a stair, the user enters the stair climbing mode once. Therefore, the number of stairs climbed can be determined by the number of times the user enters the stair climbing mode. For example, if the user enters the stair climbing mode 10 times, the number of stairs climbed is 10.

[0078] Specifically, each time the user enters the stair climbing mode, the stair climbing mode and the corresponding stair climbing damping parameters corresponding to each step can be recorded. When the walking mode is triggered, these stair climbing damping parameters can be called to obtain the historical stair damping parameters. The number of stairs climbed by the user can be determined based on the recorded data of multiple historical stair damping parameters, and the current walking damping parameters in the walking mode can be determined based on the number of stairs climbed and the multiple historical stair damping parameters.

[0079] It should be noted that when a user climbs stairs, as the number of stairs climbed increases, the user's physical energy consumption also increases, and the support force required by the user can also be adaptively increased. Therefore, the current walking damping parameter in the walking mode can be adaptively adjusted according to the number of stairs climbed and multiple historical stair damping parameters. The more stairs climbed, the greater the increase in the damping parameter to provide a higher support force.

[0080] More specifically, the current walking damping parameter includes the current bending damping parameter and the current extension damping parameter, the increase of the damping parameter may include the bending damping increase and the extension damping increase, and the historical stair damping parameter may include the historical bending damping parameter and the historical extension damping parameter.

[0081] Furthermore, the above bending damping increase can be expressed as follows:

[0082]

[0083] Among them, the above represents the increase in bending damping. Indicates the number of steps climbed. represents the maximum bending damping parameter in the historical bending damping parameters, represents the average bending damping parameter of the historical bending damping parameters, Indicates the historical bending damping parameter The bending damping parameter, Indicates the historical bending damping parameter The bending damping parameter is obtained. After that, the maximum bending damping parameter or the average bending damping parameter Increase in bending damping , get the current bending damping parameters.

[0084] The above bending damping increase can be expressed as follows:

[0085]

[0086] Among them, the above Indicates the increase in extension damping. Indicates the number of steps climbed. represents the maximum extension damping parameter in the historical extension damping parameters, represents the average stretch damping parameter of the historical stretch damping parameters, Indicates the historical extension damping parameter extension damping parameters, Indicates the historical extension damping parameter extension damping parameters, Indicates Extension damping parameters The corresponding swing angle, Indicates Extension damping parameters Corresponding swing angle. After that, you can adjust the maximum extension damping parameter or average extension damping parameter Increased extension damping , get the current extension damping parameters.

[0087] Optionally, in the step of determining the current walking damping parameters in the walking mode based on the number of stairs climbed and multiple historical stair damping parameters, the user's physical strength attenuation curve can be determined based on the number of stairs climbed and the user's physiological data; the change curve of the stair climbing damping parameters can be determined based on multiple historical stair damping parameters; and the current walking damping parameters in the walking mode can be determined based on the physical strength attenuation curve and the change curve of the stair climbing damping parameters.

[0088] In this embodiment, the user physiological data includes age, height, weight, leg length, health status and other data.

[0089] The above physical strength decay curve f ( x) can be understood as a curve that describes the gradual decline of physiological functions of the human body after repeated loads or fatigue accumulation over a certain period of time. The physical strength decay curve mainly focuses on exercise capacity and fatigue level. f ( x ) can better understand the user's physical state during the stair climbing process. It can be understood that as the time of climbing stairs increases, the user's physical strength decay increases. Therefore, the physical strength decay curve f ( x ) is a growth curve related to time (the number of steps climbed).

[0090] The user's physical load or fatigue state on different steps can be analyzed based on the number of steps the user has climbed and the user's physiological data, thereby determining the user's physical strength attenuation curve.

[0091] The variation curve of the damping parameters of the above stairs g ( x ) reflects the change of the damping parameter during the user's stair climbing process. The change trend of the stair climbing damping parameter can be used to describe the user's dynamic adjustment ability during the stair climbing process. It can be understood that in the actual stair climbing process, in order to provide sufficient support force, the stair climbing damping parameter can be dynamically increased. Therefore, the change curve of the stair climbing damping parameter g ( x ) is a growth curve related to time (the number of steps climbed).

[0092] It should be noted that, under standard conditions, the physical force attenuation curve and the change curve of the stair climbing damping parameter are consistent, but considering the actual situation, the user's state at different times is different, so this is reflected in the physical force attenuation curve. f ( x ) and the change curve of the damping parameter when climbing stairs g ( x ) after that, the physical strength decay curve can be f ( x ) and the change curve of the damping parameter when climbing stairs g ( x ) to obtain the fitting curve of the stair climbing damping parameter g ( x )`, the variation curve of the damping parameters of stair climbing after fitting g ( x )` will be closer to the user's actual physical strength, and thus provide more suitable stair climbing damping parameters. The change curve of the stair climbing damping parameters after fitting g ( x)`, and the extended part is used as the change curve of the current walking damping parameter in the walking mode. h ( x ), through the change curve of the current walking damping parameter h ( x ) to control the damping output in walking mode to provide a more gentle and sufficient support force.

[0093] In a possible embodiment, the variation curve of the stair climbing damping parameter after fitting can also be g ( x )`, the bending damping increase and the extension damping increase are added to obtain the change curve of the current walking damping parameter in the walking mode. h ( x ).

[0094] Optionally, the current walking damping parameter includes current extension damping and current bending damping.

[0095] In this embodiment, the resistance device provides flexion damping and extension damping to the knee joint.

[0096] The above-mentioned extension damping can be understood as providing a certain extension resistance through the resistance device during the extension process of the knee joint, imitating the mechanical response of the real knee joint during extension, and further enhancing the movement control ability of the prosthetic leg.

[0097] The above-mentioned bending damping can be understood as that during the bending process of the knee joint, the resistance device provides a certain bending resistance to simulate the mechanical characteristics of the real knee joint during bending, thereby helping the user feel a more natural joint movement.

[0098] The above current extension damping may be understood as a damping parameter during the knee joint extension process in the current walking mode state.

[0099] The above current bending damping may be understood as a damping parameter during the bending process of the knee joint in the current walking mode state.

[0100] It should be noted that all the above-mentioned embodiments of the method for controlling stair climbing of a prosthetic leg of the present application can be arbitrarily combined or combined to form a new embodiment if there is no contradiction or conflict between them.

[0101] 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.

[0102] 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 2 As 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.

[0103] 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.

[0104] 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.

[0105] 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.

[0106] 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 to climb stairs recorded in the aforementioned embodiment is implemented.

[0107] 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.

[0108] 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.

[0109] 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.

[0110] 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-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.

[0111] 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.

[0112] 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: When exiting the stair climbing mode is detected, if no action command to enter the stair climbing mode is detected, the walking mode is entered; After entering the walking mode, determining a current walking damping parameter in the walking mode based on a plurality of historical stair damping parameters in the historical stair mode; The resistance device is controlled based on the current walking damping parameter.

2. The method for controlling a prosthetic leg to climb stairs according to claim 1, characterized in that: The step of entering the walking mode when exiting the stair climbing mode is detected and no action instruction to enter the stair climbing mode is detected comprises: If it is detected that the duration of the standing posture is greater than the preset duration threshold and no trend feature of the leg swinging backward action is detected, it is determined that no action instruction to enter the stair climbing mode is detected and the walking mode is entered.

3. The method for controlling a prosthetic leg to climb stairs according to claim 2, characterized in that: The trend characteristics of the backward leg-swinging action are determined based on the motion data, speed and acceleration corresponding to the backward leg-swinging action.

4. The method for controlling a prosthetic leg to climb stairs according to claim 1, characterized in that: The step of determining the current walking damping parameter in the walking mode based on a plurality of historical stair damping parameters in the historical stair mode comprises: Acquire multiple historical stair damping parameters in the historical stair modes within a preset time period, where each step corresponds to a stair climbing mode, and each stair climbing mode corresponds to one of the historical stair damping parameters; Based on the plurality of historical stair damping parameters, a current walking damping parameter in the walking mode is determined.

5. The method for controlling a prosthetic leg to climb stairs according to claim 4, characterized in that: The step of determining the current walking damping parameter in the walking mode based on the plurality of historical stair damping parameters comprises: Based on the plurality of historical stair damping parameters, determining an average stair-ascending damping parameter; Based on the average stair-climbing damping parameter, a current walking damping parameter in the walking mode is determined.

6. The method for controlling a prosthetic leg to climb stairs according to claim 4, characterized in that: The step of determining the current walking damping parameter in the walking mode based on the plurality of historical stair damping parameters comprises: Based on the plurality of historical stair damping parameters, determining the number of stairs climbed by the user; Based on the number of stairs climbed and a plurality of the historical stair damping parameters, a current walking damping parameter in the walking mode is determined.

7. The method for controlling a prosthetic leg to climb stairs according to claim 6, characterized in that: The step of determining the current walking damping parameter in the walking mode based on the number of stairs climbed and the plurality of historical stair damping parameters comprises: Determining a user's physical strength decay curve based on the number of stairs climbed and the user's physiological data; Based on the plurality of historical stair damping parameters, determining a change curve of the stair climbing damping parameter; Based on the physical force attenuation curve and the change curve of the stair climbing damping parameter, a current walking damping parameter in the walking mode is determined.

8. The method for controlling a prosthetic leg to climb stairs according to any one of claims 1 to 7, characterized in that: The current walking damping parameters include current extension damping and current bending damping.

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.