Exoskeleton wearing safety detection method and device, storage medium and equipment
Collect data through the encoder in the exoskeleton device, calculate the leg rod speed error and stop assisting, which solves the problem of inability to detect wear safety in real time in the existing technology, realizes full safety detection, reduces cost and design difficulty, and improves wearability Security.
Patent Information
- Application Number
- CN202410858146.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Existing active exoskeleton devices cannot detect wearable safety in real time during use, which increases user risks. Moreover, existing wearable safety detection methods require additional hardware and power supply equipment, increasing costs and design difficulty.
Monitoring data is collected through the encoder in the exoskeleton device, and the error between the actual speed of the leg rod rotation and the expected speed is calculated. When the error meets the preset conditions, the power assist is stopped, thereby achieving wearable safety detection and avoiding the need to add additional hardware. need.
It achieves safe detection of the entire exoskeleton wearing cycle, reduces costs and hardware design difficulties, avoids user risks caused by undetected wear and tear, and improves wearing safety.
Smart Images

Figure CN118744441A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wearable exoskeletons, and in particular to a method, device, storage medium and equipment for detecting the safety of wearing an exoskeleton. Background Art
[0002] Active exoskeleton devices detect the wearer's gait in real time and use leg bars to provide assistance to help the wearer walk, run, climb, etc. However, when the user does not wear the device correctly (such as the leg strap is not tied to the user's leg), the leg bars may rise quickly after the active exoskeleton device is turned on to start gait monitoring, causing injury to the user. In order to prevent this dangerous situation from happening, exoskeleton wearing safety detection must be performed. However, the existing active exoskeleton wearing safety detection methods have the following main defects:
[0003] (1) The process scope of wearing detection is incomplete: Currently, active exoskeleton devices on the market generally only perform wearing detection during the startup phase, which cannot cover the entire usage cycle. Once the leggings fall off during walking, the device cannot detect this in real time, increasing the risk of users during use.
[0004] (2) Additional costs are required: Existing active exoskeletons usually add additional sensors at the far end of the leg rods to detect through pressure detection and other methods. This method requires adding sensors and configuring power supply equipment at the far end, which increases costs and hardware design difficulties; while the use of wireless transmission for detection is limited by battery life and requires additional power supply equipment. Whether adding additional sensors or power supply equipment, the cost of wearing safety detection will increase. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a method, device, storage medium and equipment for detecting the safety of wearing an exoskeleton, which can provide users with safety detection of the entire exoskeleton wearing cycle without adding additional hardware equipment.
[0006] A first aspect of the present invention provides a method for detecting the safety of wearing an exoskeleton, comprising:
[0007] Based on an encoder in the exoskeleton device, collecting monitoring data of the exoskeleton device;
[0008] According to the monitoring data, a calculated error between an actual speed of rotation of the leg rod and an expected speed is obtained; wherein the expected speed is a target tracking speed of a PID controller in the exoskeleton device;
[0009] When the calculated error meets a preset condition, the assistance of the exoskeleton device is stopped.
[0010] Optionally, obtaining a calculated error between an actual rotation speed of the leg rod and an expected rotation speed according to the monitoring data, and stopping the assistance of the exoskeleton device when the calculated error meets a preset condition, specifically includes:
[0011] According to the monitoring data, determining that the human body is in a non-walking state, and obtaining a duration during which the actual speed is within a preset fluctuation range of the expected speed;
[0012] Calculating the difference between the duration and the preset duration;
[0013] When the difference is greater than 0, the assistance of the exoskeleton device is stopped.
[0014] Optionally, when the calculated error satisfies a preset condition, stopping the assistance of the exoskeleton device specifically includes:
[0015] When the calculated error is less than a preset error, the assistance of the exoskeleton device is stopped.
[0016] Optionally, the expected speed is a first relationship function whose independent variable is time.
[0017] Furthermore, the first relationship function is at least any one of a piecewise function, a step function and a trigonometric function.
[0018] Optionally, the expected speed is a second relationship function whose independent variable is a gait phase; wherein the gait phase is acquired by the encoder.
[0019] Furthermore, the second relationship function includes the following state value points: a maximum expected speed, a minimum expected speed, a gait phase at an initial point of a decrease in the expected speed, and a gait phase at an end point of a decrease in the expected speed.
[0020] Furthermore, the second relationship function is updated as the gait cycle of the human body changes. When the gait cycle changes, the values of the state value points are updated to actual values monitored in the previous round of the gait cycle.
[0021] A second aspect of the present invention provides an exoskeleton wearing safety detection device, which is used to implement the exoskeleton wearing safety detection method described in the first aspect, and the device includes:
[0022] A monitoring data acquisition module, used for acquiring monitoring data of the exoskeleton device based on an encoder in the exoskeleton device;
[0023] An error acquisition module, used to obtain a calculated error between an actual speed of leg rod rotation and an expected speed according to the monitoring data; wherein the expected speed is a target tracking speed of a PID controller in the exoskeleton device;
[0024] The execution module is used to stop the power assistance of the exoskeleton device when the calculation error meets a preset condition.
[0025] According to a third aspect of the present invention, the computer-readable storage medium includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located controls the device to execute the method for detecting the safety of wearing an exoskeleton as described in any one of the first aspects above.
[0026] An embodiment of a fourth aspect of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method for detecting the safety of wearing an exoskeleton as described in any one of the first aspects above when executing the computer program.
[0027] Compared with the prior art, the embodiments of the present invention provide a method, device, storage medium and equipment for detecting the safety of wearing an exoskeleton, the method comprising: collecting monitoring data of the exoskeleton device based on an encoder in the exoskeleton device; obtaining the calculated error between the actual speed of the leg rod rotation and the expected speed according to the monitoring data; wherein the expected speed is the target tracking speed of the PID controller in the exoskeleton device; when the calculated error meets a preset condition, stopping the assistance of the exoskeleton device. The embodiments of the present invention provide users with safety detection of the entire exoskeleton wearing cycle without adding additional hardware equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of a method for detecting the safety of wearing an exoskeleton provided by an embodiment of the first aspect of the present invention;
[0029] Figure 2 is an example diagram of a second relationship function provided by an embodiment of the first aspect of the present invention;
[0030] Figure 3 It is a schematic diagram of the structure of a detection device for exoskeleton wearing safety provided by an embodiment of the second aspect of the present invention;
[0031] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the fourth aspect of the present invention. DETAILED DESCRIPTION
[0032] 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 technical field without creative work are within the scope of protection of the present invention.
[0033] See also Figure 1 , is a flow chart of a method for detecting the safety of wearing an exoskeleton provided in an embodiment of the first aspect of the present invention.
[0034] The first aspect of the present invention provides a method for detecting the safety of wearing an exoskeleton, including steps S1 to S3, which are specifically as follows:
[0035] Step S1: Based on the encoder in the exoskeleton device, collect monitoring data of the exoskeleton device;
[0036] Step S2: obtaining a calculated error between an actual speed of rotation of the leg rod and an expected speed according to the monitoring data; wherein the expected speed is a target tracking speed of a PID controller in the exoskeleton device;
[0037] Step S3: When the calculated error meets a preset condition, the assistance of the exoskeleton device is stopped.
[0038] It should be noted that the embodiment of the present invention can obtain the monitoring data required for wearing safety detection through the built-in encoder of the exoskeleton device itself, without the need to add additional sensors and power supply equipment, which not only reduces the cost of detection and the difficulty of hardware design, but also makes the wearing safety detection not limited to the battery life. When the user uses the exoskeleton device, real-time monitoring data collection is performed, and there is no need to limit the time period for monitoring data collection, such as the device startup phase and the user walking phase; therefore, the detection of the wearing safety of the exoskeleton device in the embodiment of the present invention can cover the entire wearing cycle of the user, that is, the detection of the wearing safety of the exoskeleton device can be resident in the movement, not limited to the startup phase. In addition, the expected speed of the leg rod rotation can be set by different relationship functions, including but not limited to the first relationship function between the expected speed and time, and the second relationship function between the expected speed and the gait phase, when the embodiment of the present invention is determined according to the user's own leg movement status in actual application. The expected speed set by the proportional integral derivative (PID) controller in the present invention is the same value as the expected speed of the leg rod rotation.
[0039] When the leg bars of the exoskeleton device fit the human legs normally (safe to wear), the movement of the leg bars of the device is limited by the movement of the human legs, and the leg bars will not shake because the PID controller controls the motor to drive the leg bars when tracking the expected speed. Therefore, when the exoskeleton device is worn correctly, the actual speed of the leg bars rotating is the actual speed of the human legs in various states such as walking and standing. In this case, there is a large difference between the actual speed monitored and the expected speed set by the PID controller. If the user does not wear it correctly, the leg bars will shake, and its actual speed will no longer be consistent with the rotation speed of the user's legs, but tend to the expected speed. Based on this, the calculated error between the actual speed and the expected speed can be obtained, and then whether the calculated error meets the preset conditions can be used to further determine whether the user is wearing the exoskeleton device safely. If it is not worn correctly / unsafely, the assistance of the exoskeleton device is stopped.
[0040] It should be noted that the PID controller of the exoskeleton device in the embodiment of the present invention generates a motor control current I when tracking the desired speed. pwm , during the entire wearing cycle / use process of the user wearing the exoskeleton device, a permanent assist torque is provided to the two leg bars. The assist torque includes but is not limited to compensating for the weight of the power supply device and the leg bars in the active exoskeleton device (to reduce the user's perception of the weight of the battery and the leg bars and improve the wearing experience), and is determined according to the assist provided by the exoskeleton device in actual use according to the embodiment of the present invention.
[0041] Based on the motor control current output by the PID controller, the assist torque provided to the exoskeleton device is as follows:
[0042] τ=r×m c gr o ×m t g+τ f =KI pwm ; (1)
[0043] Among them, τ is the assist torque; m c is the quality of the power supply equipment; m t is the mass of the leg rod; g is the acceleration of gravity, r is the vector from the center of the motor rotor to the center of gravity of the battery (usually a fixed value); r o is the horizontal vector from the motor rotor center to the leg bar center of gravity, τ f is the friction torque (usually a constant), K is the conversion constant coefficient from current to torque; I pwm The formula (1) is only an example formula for the exoskeleton device to provide assist torque.
[0044] When the wearer raises his legs, r o In order to compensate for the power assistance, it is necessary to increase the power assistance torque τ, thereby increasing Ipwm ; Among them, r o It can be calculated from the position information fed back by the encoder. pwm It will change with the gait, and the assist torque can also be obtained by the following formula:
[0045] τ=G(P(t))=KI pwm ; (2)
[0046] Where G represents the mapping relationship from gait phase to power assistance in the exoskeleton device, which can be considered as a specific curve here; P(t) is the current gait phase calculated by converting the angle value between the two leg rods obtained from the encoder.
[0047] After the exoskeleton device is turned on, the assist torque τ is the motor control current I generated by the PID controller when tracking the desired speed. pwm Introduced; among them, obtain I pwm The following steps are required:
[0048] First, set up the speed control loop: the desired speed is V i , the actual speed fed back by the encoder is V t , then the real-time speed error is e v =V i -V t The PID controller generates a target current value based on the speed error. This target current value reflects the current required by the motor in order for the PID controller to achieve or maintain the desired speed:
[0049] I ref =K pv *e v +K iv *∫e v dt+K dv *de v / dt;
[0050] Among them, I ref Indicates the target current value, K pv Indicates the gain parameter of the speed control loop, K iv Indicates the integral parameter of the speed control loop, K dv Indicates the differential parameter of the speed control loop.
[0051] Second, set the current control loop: the actual current of the motor is I t , then the real-time current error is e I =I ref -I t The current is accurately controlled by adjusting the Pulse Width Modulation (PWM) signal of the motor driver:
[0052] I pwm =K pi *e I +K ii *∫e I dt+K di *de I / dt = τ / K;
[0053] Among them, K pi represents the gain parameter of the current control loop, K ii represents the integral parameter of the current control loop, K di Represents the differential parameter of the current control loop.
[0054] In an optional embodiment, the step S2 described above, obtaining a calculated error between the actual speed of rotation of the leg rod and the expected speed according to the monitoring data, and stopping the assistance of the exoskeleton device when the calculated error meets a preset condition, specifically includes:
[0055] According to the monitoring data, determining that the human body is in a non-walking state, and obtaining a duration during which the actual speed is within a preset fluctuation range of the expected speed;
[0056] Calculating the difference between the duration and the preset duration;
[0057] When the difference is greater than 0, the assistance of the exoskeleton device is stopped.
[0058] In the specific implementation, considering that the user is usually in a non-walking state, such as standing still, during the initial stage of starting the exoskeleton device, and in order to provide the user with a permanent assist torque, such as an assist torque for compensating the weight of the leg rod and the power supply device, the desired speed V in the PID controller can be set when the user is in the non-walking state. i is a uniform speed.
[0059] When the PID controller tracks the desired speed, the current I pwm The embodiment of the present invention will control the motor current I pwm Make a range restriction, limit it to the interval [I min ,I max ], so that when the wearer wears the exoskeleton device correctly and is not walking, I pwm Rise to I max After that, the PID controller will not continue to track the set desired speed, and the wearer's legs will be subjected to a K*I max The assist torque, although this assist torque K*I maxIt will be greater than or equal to the weight of the leg rod itself and the weight of the battery, but it will not actively drive the human leg to move, so it will not cause the encoder value (the angle between the two leg rods and the actual speed of the leg rod rotation) to change. That is, the leg rod will not rise due to the restriction of the leg binding and the leg is in a static state (the actual speed is 0), and the leg rod will not move at the set expected speed V i The encoder value is limited by the actual state of the wearer's legs. In addition, when the wearer lifts his legs / walks, I pwm It can change according to the gait, and the corresponding [I min ,I max ] will also follow I pwm Based on this, when the exoskeleton device is worn correctly, the assist torque it provides will not cause the encoder value to change.
[0060] It should be noted that when the wearer's legs are tied tightly and the legs are not moving, the actual speed monitored is 0, and the difference between the actual speed and the set expected speed is e v It always exists and will not converge, that is, the actual speed does not tend to the expected speed. v If there is no convergence, the exoskeleton device will increase the target current I through the PID speed control loop. ref , but the motor control current I pwm The maximum value has been reached and no additional torque will be generated on the motor. v Continue to converge.
[0061] If the leggings are not tied properly (loose), the leg bars will still be lifted even though the legs have no speed, and due to the existence of the PID speed control loop, the actual speed monitored will quickly increase to the set desired speed. At this time, the target current I ref Due to e v The reason for convergence, I ref The value will be relatively small, then the control current I pwm It is also correspondingly smaller and cannot reach I max , that is I pwm Not yet reached I max The actual speed reaches the expected speed, and the actual speed at this time will be stable within the preset fluctuation range of the expected speed. Therefore, the actual speed can be calculated by i The duration within the preset fluctuation range is used to determine whether the leggings are loose; if the actual speed maintains the expected speed for a long time (that is, the difference between the duration and the preset duration is greater than 0), it is considered that the user does not wear the exoskeleton device correctly (loose); otherwise, it is considered that it is worn correctly (safely worn); wherein, the preset fluctuation range and the preset duration can be adjusted according to the specific situation.
[0062] In an optional embodiment, when the calculated error satisfies a preset condition in step S3, stopping the assistance of the exoskeleton device specifically includes:
[0063] When the calculated error is less than a preset error, the assistance of the exoskeleton device is stopped.
[0064] It should be noted that when the exoskeleton device is worn correctly, the actual speed of the leg rod rotation monitored is limited by the actual state of the human leg, and there is a large difference between the actual speed and the expected speed set by the PID controller; when the exoskeleton device is worn incorrectly, the actual speed tends to the expected speed. Based on this, if the calculation error is less than the preset error, the assistance of the exoskeleton device is stopped; if the calculation error is greater than or equal to the preset error, the actual speed is continuously collected to update the calculation error, and the judgment is repeated.
[0065] In an optional embodiment, the expected speed is a first relationship function whose independent variable is time.
[0066] It should be noted that in order to prevent misjudgment caused by the random movement of the wearer's legs and improve the robustness of the embodiment of the present invention, a method of superimposing speed modulation on the leg-lifting movement is adopted to ensure the accuracy of judging whether the user is wearing the device safely. The following steps are required:
[0067] First, the desired speed in the PID controller is set to V 1 , and V 1 The value of is determined by the first relational function V with time as the independent variable target (t) is determined; where V target (t) is in the same direction as the assist torque τ, and the time can be the time the user uses the exoskeleton device after the user starts it. In different stages when the user's leg state is static (non-walking state) or dynamic (such as walking state), V 1 Modulate so that V 1 The change process is a specific waveform V that changes over time target (t).V target (t) is not limited to any combination of desired speeds in different time periods (such as piecewise functions) and curves that change over time, but is determined according to the user's own leg movement conditions in actual use of the embodiment of the present invention.
[0068] Second, the actual speed recorded by the encoder is recorded as V 2 (t); V target (t) and V 2(t) is compared, and the calculation error between the two can be obtained by using methods such as threshold method or neural network. If the calculation error is large, the actual speed of the leg rod rotation is continuously collected to update the calculation error and re-judge; if the calculation error is small, it is considered that the user is not wearing the exoskeleton device correctly, and the assistance of the exoskeleton device is stopped.
[0069] In an optional embodiment, the first relationship function is at least any one of a piecewise function, a step function and a trigonometric function.
[0070] In an optional embodiment, the expected speed is a second relationship function whose independent variable is a gait phase; wherein the gait phase is acquired by the encoder.
[0071] It should be noted that when a user wears an exoskeleton device, the exoskeleton device will calculate the current user's gait phase through the built-in sensor. This gait phase will change over time, so it is recorded as P(t). According to the mapping relationship between the gait phase and the assist torque in the exoskeleton device (see the calculation formula (2) for assist torque), the motor control current I at this time pwm The following inequality relations are satisfied:
[0072]
[0073] When the leg strap is in the tightened state, I pwm Will soon reach At this time, the current I pwm Due to the upper limit, the actual speed of the leg rod rotation will not track the preset desired speed V i When the leg strap is loose, the current I pwm The upper limit will not be reached, and the actual speed of the leg rod will track the desired speed V i Based on this, the embodiment of the present invention determines the expected speed from the perspective of the wearer's gait state, that is, the expected speed can be determined by the second relationship function V with the independent variable being the gait phase. target (P) OK.
[0074] In an optional embodiment, the second relationship function includes the following state value points: maximum expected speed, minimum expected speed, gait phase at the initial point of expected speed decrease, and gait phase at the end point of expected speed decrease.
[0075] It should be noted that the user's wearing safety detection is carried out continuously throughout the entire gait cycle. Figure 2 , which is an example diagram of the second relationship function provided by an embodiment of the present invention. Figure 2 The horizontal axis in represents the gait phase, and the vertical axis represents the desired speed in PID speed control; DescendStartIndicates the gait phase size at the initial point of expected speed decrease; P DescendEnd Indicates the gait phase size at the end point of the expected speed decrease; V min It represents the minimum expected speed value in the whole gait cycle. Its purpose is to ensure that when the phase is large (the legs are far apart and the leg speed is almost reduced to 0), the PID controller applies speed control to continuously maintain the execution of the wearing safety detection of the exoskeleton device; V lastMax It represents the maximum expected speed value in PID speed control during the whole gait cycle.
[0076] In the user's walking gait, when the gait phase is large, the legs are far apart (the angle difference is large), and the leg speed is almost reduced to 0. At this time, a small desired speed V can be maintained. min For tracking, because the leg speed is almost reduced to 0, the actual speed of the leg rod obtained by the encoder is almost due to speed control rather than gait speed, which is equivalent to the torque on the human leg at this time mainly coming from the assist torque of the leg rod in the exoskeleton device, rather than the human body itself; and the smaller the gait phase, the greater the actual speed of the leg. If the expected speed is kept unchanged, it is impossible to determine whether the actual speed of the leg rod is caused by the movement of the human leg or the PID speed control; therefore, the expected speed needs to be increased and set to V lastMax , to clarify the difference between the two.
[0077] It is worth noting that the second relationship function V target The decreasing curve of the expected speed in (P) and P DescendStart The previous expected speed curve can be planned reasonably. In addition, Figure 2 This is only an example curve of the second relationship function. The curve of the second relationship function applicable to the embodiment of the present invention is not limited to Figure 2 One of them can be determined by the specific gait condition of the user when using the exoskeleton device.
[0078] In an optional embodiment, the second relationship function is updated as the gait cycle of the human body changes. When the gait cycle changes, the values of the state value points are updated to the actual values monitored in the previous round of the gait cycle.
[0079] In specific implementation, in the first gait cycle, P can be reasonably set DescendStart , P DescendEnd 、V min and V lastMax In the subsequent gait cycle, V can be updated according to the maximum actual speed recorded by the encoder in the previous gait cycle, the gait phase value when the actual speed starts to decrease, and the gait phase value when the actual speed stops decreasing. lastMax Value, P DescendStart Value and PDescendEnd The expected speed is recorded in real time in each gait cycle and recorded as V 2 , and the actual speed in the corresponding gait cycle, denoted as V 2 (P). Furthermore, the calculation error is obtained to determine whether the user is wearing the exoskeleton device correctly. The embodiment of the present invention realizes self-adaptation to the user's leg movements by automatically adjusting the maximum expected speed and the gait phase change node. In this way, the exoskeleton device can adapt to the walking habits of different wearers (such as the maximum speed of the leg rod rotation and the gait phase node when the speed changes) and different gait states (such as flat speed, acceleration and deceleration) during the power-assisting process, thereby enhancing the versatility of wearing safety detection and the safety of the exoskeleton device, while reducing the misjudgment rate.
[0080] See also Figure 3 , is a schematic diagram of the structure of an exoskeleton wearable safety detection device provided in an embodiment of the second aspect of the present invention.
[0081] A second aspect of the present invention provides a device for detecting the safety of wearing an exoskeleton, comprising:
[0082] A monitoring data acquisition module 11 is used to collect monitoring data of the exoskeleton device based on an encoder in the exoskeleton device;
[0083] The error acquisition module 12 is used to obtain the calculated error between the actual speed of the leg rod rotation and the expected speed according to the monitoring data; wherein the expected speed is the target tracking speed of the PID controller in the exoskeleton device;
[0084] The execution module 13 is used to stop the power assistance of the exoskeleton device when the calculated error meets a preset condition.
[0085] Optionally, the error acquisition module 12 and the execution module 13 obtain a calculated error between an actual speed and an expected speed of rotation of the leg rod according to the monitoring data, and when the calculated error meets a preset condition, stop the assistance of the exoskeleton device, specifically including:
[0086] A duration acquisition unit, used for determining, based on the monitoring data, that the human body is in a non-walking state, and acquiring a duration during which the actual speed is within a preset fluctuation range of the expected speed;
[0087] A duration difference calculation unit, used to calculate the difference between the duration and a preset duration;
[0088] The first execution unit is used to stop the power assistance of the exoskeleton device when the difference is greater than 0.
[0089] Optionally, the execution module 13 specifically includes:
[0090] The second execution unit is used to stop the assistance of the exoskeleton device when the calculated error is less than a preset error.
[0091] Optionally, the expected speed is a first relationship function whose independent variable is time.
[0092] Furthermore, the first relationship function is at least any one of a piecewise function, a step function and a trigonometric function.
[0093] Optionally, the expected speed is a second relationship function whose independent variable is a gait phase; wherein the gait phase is acquired by the encoder.
[0094] Furthermore, the second relationship function includes the following state value points: a maximum expected speed, a minimum expected speed, a gait phase at an initial point of a decrease in the expected speed, and a gait phase at an end point of a decrease in the expected speed.
[0095] Furthermore, the second relationship function is updated as the gait cycle of the human body changes. When the gait cycle changes, the values of the state value points are updated to actual values monitored in the previous round of the gait cycle.
[0096] It should be noted that the exoskeleton wearing safety detection device provided in the second embodiment of the present invention can implement all the processes of the exoskeleton wearing safety detection method described in the first embodiment above, and the functions of each module in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the exoskeleton wearing safety detection method described in the first embodiment above, and will not be repeated here.
[0097] An embodiment of the third aspect of the present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the exoskeleton wearing safety detection method described in any embodiment of the first aspect above.
[0098] See also Figure 4 , is a structural diagram of an electronic device provided in an embodiment of the fourth aspect of the present invention.
[0099] The fourth aspect of the present invention also provides an electronic device, comprising a processor 21, a memory 22, and a computer program stored in the memory 22 and configured to be executed by the processor 21, wherein the processor 21 implements the method for detecting the safety of wearing an exoskeleton as described in any embodiment of the first aspect when executing the computer program.
[0100] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0101] The processor 21 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor 21 can also be any conventional processor. The processor 21 is the control center of the electronic device, and various parts of the electronic device are connected using various interfaces and lines.
[0102] The memory 22 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory 22 can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory 22 can also be other volatile solid-state storage devices.
[0103] It should be noted that the above electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 4 The structural diagram shown is only a structural example of the above-mentioned electronic device, and does not constitute a structural limitation of the above-mentioned electronic device. The above-mentioned electronic device may include more or less components than shown in the figure, or a combination of certain components, or different components.
[0104] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for detecting the safety of wearing an exoskeleton, characterized in that: include: Based on an encoder in the exoskeleton device, collecting monitoring data of the exoskeleton device; According to the monitoring data, a calculated error between an actual speed of rotation of the leg rod and an expected speed is obtained; wherein the expected speed is a target tracking speed of a PID controller in the exoskeleton device; When the calculated error meets a preset condition, the assistance of the exoskeleton device is stopped.
2. The detection method according to claim 1, characterized in that The step of obtaining a calculated error between an actual rotation speed of the leg rod and an expected rotation speed according to the monitoring data, and stopping the assistance of the exoskeleton device when the calculated error meets a preset condition, specifically includes: According to the monitoring data, determining that the human body is in a non-walking state, and obtaining a duration during which the actual speed is within a preset fluctuation range of the expected speed; Calculating the difference between the duration and the preset duration; When the difference is greater than 0, the assistance of the exoskeleton device is stopped.
3. The detection method according to claim 1, characterized in that When the calculation error satisfies a preset condition, stopping the assistance of the exoskeleton device specifically includes: When the calculated error is less than a preset error, the assistance of the exoskeleton device is stopped.
4. The detection method according to claim 1, characterized in that The desired speed is a first relationship function whose independent variable is time.
5. The detection method according to claim 4, characterized in that: The first relationship function is at least any one of a piecewise function, a step function and a trigonometric function.
6. The detection method according to claim 1, characterized in that The expected speed is a second relationship function whose independent variable is a gait phase; wherein the gait phase is acquired by the encoder.
7. The detection method according to claim 6, characterized in that The second relationship function includes the following state value points: maximum expected speed, minimum expected speed, gait phase at the initial point of expected speed decrease, and gait phase at the end point of expected speed decrease.
8. The detection method according to claim 7, characterized in that: The second relationship function is updated as the gait cycle of the human body changes. When the gait cycle changes, the values of the state value points are updated to the actual values monitored in the previous round of the gait cycle.
9. A device for detecting the safety of wearing an exoskeleton, characterized in that: include: A monitoring data acquisition module, used for acquiring monitoring data of the exoskeleton device based on an encoder in the exoskeleton device; An error acquisition module, used to obtain a calculated error between an actual speed of leg rod rotation and an expected speed according to the monitoring data; wherein the expected speed is a target tracking speed of a PID controller in the exoskeleton device; The execution module is used to stop the power assistance of the exoskeleton device when the calculation error meets a preset condition.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program; wherein, when the computer program is run, it controls the device where the computer-readable storage medium is located to execute the detection method according to any one of claims 1 to 8.
11. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the detection method according to any one of claims 1 to 8 when executing the computer program.
Citation Information
Patent Citations
Device for separating loaded exoskeleton robot from human body and separating method
CN103901902A
Wearable waist assistance exoskeleton mechanism and control method thereof
CN110842896A
Knee joint exoskeleton motion monitoring method based on inertial sensor
CN114654498A
Torque control methods for an exoskeleton device
US20170340506A1
Exoskeleton
WO2017069652A1
Cited By
Exoskeleton equipment control method and device, equipment and medium
CN121043139A
A control method and device of an exoskeleton device, an exoskeleton device, and a medium
CN121043139B
Exoskeleton grading safety detection method and device with abnormity backtracking function
CN122425750A
A graded safety detection method and device for exoskeletons with anomaly backtracking
CN122425750B
Exoskeleton safety detection method and device based on error decision domain dynamic reconstruction
CN122425751A
