Intelligent auxiliary anti-falling system and method
Through the intelligent auxiliary anti-fall system, the intelligent identification and following technology combined with lidar and inertial sensors is used to solve the problem of lack of following function and intelligent identification in the existing technology, realize real-time active and passive protection for the elderly, and significantly reduce falls. risk.
Patent Information
- Application Number
- CN202410753823.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-27
AI Technical Summary
Existing fall prevention methods for the elderly lack following functions and intelligent recognition capabilities, and cannot effectively identify unstable dangerous movements and falling behaviors, resulting in poor fall prevention effects.
An intelligent auxiliary anti-fall system including a following car and a belt protection device is used to identify the user's movement trajectory through laser radar, and the inertial sensor obtains acceleration and angular velocity. It combines the PID motion control algorithm and the extended Kalman filter algorithm for attitude estimation and hazard detection, providing Active and passive protection.
It realizes real-time following and active and passive protection for the elderly, which can effectively reduce the occurrence of falls. It is suitable for people with functional degradation and lower limb dysfunction in the elderly, and provides safe walking support and fall protection.
Smart Images

Figure CN118697602A
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of gait protection for the elderly, and in particular, relates to an intelligent auxiliary fall prevention system and method. Background Art
[0002] Functional degeneration and lower limb dysfunction (including neurological / motor degenerative diseases, hip and knee replacement, cerebral palsy and sarcopenia, etc.) in the elderly will greatly increase the risk of falls, and fractures and related complications caused by falls are the second leading cause of accidental death among the elderly in my country. At present, the incidence of falls in people over 60 years old in my country is about 35%, and it is more than 50% for people over 70 years old, which seriously affects the quality of life, morbidity and mortality of nearly 300 million elderly people, causing serious social and medical burdens. Therefore, the research and development of fall protection methods and systems for the elderly and people with lower limb dysfunction has become an urgent need in clinical and community settings.
[0003] At present, there are three main methods for preventing falls in the elderly:
[0004] 1) Walking aids; including tripod-type and pulley-type devices. Tripod-type devices have higher stability, but the device needs to be lifted frequently, which has poor flexibility and consumes a lot of physical strength. Pulley-type devices are supported by rollers and have higher flexibility, but the pulley vehicle mainly relies on the user's strength and control, and there is no built-in follow-up function to automatically follow the user's movement. It is not suitable for elderly people with high risk of falling, such as those with aging functional degeneration and lower limb dysfunction (neurological / motor degenerative diseases, hip and knee replacements, cerebral palsy and sarcopenia);
[0005] 2) Follow-up anti-fall device: A walking aid that automatically follows the patient while walking to prevent falls and injuries. It can effectively reduce the patient's work, save effort and provide protection, but it does not have wearable and active and passive fall protection functions.
[0006] 3) Wearable fall protection devices; mainly composed of support structures, fixing structures, shock absorption systems or other buffering systems, can reduce the risk of injury after a user falls and reduce physical damage by providing support, stability, impact absorption, protective barriers and functional enhancement. However, wearable fall protection devices are only auxiliary means and cannot eliminate the impact of the user's physical condition or behavioral factors on the risk of falling, nor can they prevent falls from occurring. Users still need to be cautious and take appropriate precautions.
[0007] To sum up, the existing fall protection methods are mainly based on passive protection, which provides support and gait stability through physical structures or auxiliary devices. Although it can help users reduce the risk of falls to a certain extent, it lacks a following function and has no built-in sensors or algorithms to intelligently identify unstable and dangerous movements and falling behaviors and perform active and passive comprehensive protection, resulting in poor overall fall prevention effect. Summary of the invention
[0008] The present application provides an intelligent assisted fall prevention system and method, which aims to solve one of the above-mentioned technical problems in the prior art at least to a certain extent.
[0009] In order to solve the above problems, this application provides the following technical solutions:
[0010] An intelligent auxiliary anti-fall system comprises a follow-up trolley and a waist belt protection device, wherein the follow-up trolley is provided with a laser radar, a communication module, a controller and an elastic tightener; the waist belt end of the waist belt protection device is connected to the elastic tightener and is worn on the waist of a target user; an inertial sensor is also provided on the rear side of the waist belt protection device, and the inertial sensor is wirelessly connected to the controller through the communication module;
[0011] During the walking process of the target user, the laser radar collects laser scanning data of the target user, identifies and tracks the target user according to the laser scanning data, obtains the motion trajectory of the target user, and sends the motion trajectory to the controller; the controller uses the PID motion control algorithm to control the follow-up car to follow the motion trajectory of the target user; at the same time, the acceleration and angular velocity of the target user are obtained through the inertial sensor, and the acceleration and angular velocity are transmitted to the controller, the controller uses the quaternion attitude solution algorithm based on the extended Kalman filter to perform attitude estimation and combined acceleration value calculation, and detects the instability / dangerous action and fall behavior of the target user according to the attitude estimation and combined acceleration value calculation results, and performs active and passive protection on the target user according to the detection results.
[0012] The technical solution adopted in the embodiment of the present application also includes: the follow-up vehicle also includes a retractable mechanism, one end of the retractable mechanism is fixed on the elastic tightener, and the other end is connected to the waist belt protection device, and a baffle is also provided at the rear of the retractable mechanism, and a soft cushioning material is laid on the surface of the baffle.
[0013] The technical solution adopted in the embodiment of the present application also includes: the follow-up car is also provided with a brake and a voice module, and the handrail of the follow-up car is also provided with an anti-slip strip, and the active and passive protection of the target user according to the detection result is specifically:
[0014] When it is detected that the target user has unstable / dangerous actions, the controller sends a reminder signal to the voice module. After receiving the reminder signal, the voice module sends a reminder message to remind the target user to adjust his posture or hold the handrail of the follow-up car, providing active protection for the target user;
[0015] When a fall of the target user is detected, a control signal is sent to the brake through the controller, and the brake controls the follow-up vehicle to stop moving; at the same time, the waist belt protection device is tightened by the elastic tightener. When the waist belt protection device is tightened, the retractable mechanism retracts, and provides support and passive protection for the target user through the baffle and soft cushioning material behind it.
[0016] The technical solution adopted by the embodiment of the present application also includes: collecting laser scanning data of the target user by the laser radar, identifying and tracking the target user according to the laser scanning data, and obtaining the movement trajectory of the target user, specifically:
[0017] The laser radar detects the target user's leg shape to identify the target user's motion trajectory, and segments the laser scanning data points in the motion area. If the distance between two consecutive points is less than a set threshold, the two points are considered to belong to the same segment. The leg features in the laser scanning data points are extracted to identify the human leg, and the relative position relationship between the follow-up car and the target user is established to obtain the target user's motion trajectory; wherein the car coordinate system OR-(X R ,Y R ,Z R ) and LiDAR OL-(X L ,Y L ,Z L ) The position relationship conversion formula of the coordinate system is:
[0018]
[0019] in, R T L_X , R T _L_Y are the offsets of the laser radar relative to the car in the X and Y directions, represents the rotation angle from the laser coordinate system to the vehicle coordinate system; taking the vehicle coordinate system as the reference coordinate system, the tracking deflection angle and tracking distance are calculated according to the relative position relationship between the following vehicle and the target user:
[0020]
[0021] d(k)= R
[0022] The motion model of the following car is the differential motion model of the front wheels, which is described as:
[0023] x(k)=x(k-1)+u(k-1)+(k-1)
[0024] In the above formula, k represents the time, and the tracking state is x(k) = [θk, dk]T ,θk,dk are the tracking angle and tracking distance of the follower car 10 respectively, w(k-1) is the mean and variance matrix, q(k-1) and Q(K-1) are the state noises respectively, u(k-1)=[u1(k-1)u2(k-1)]T is the control input, A is the two-dimensional unit state transfer matrix, and B is the matrix that converts the input into state.
[0025] The technical solution adopted by the embodiment of the present application also includes: the controller uses a PID motion control algorithm to control the follower car to follow the motion trajectory of the target user to move specifically:
[0026] The PID motion control algorithm is proportional, integral, and differential control, and the PID motion control algorithm formula is:
[0027]
[0028] Among them, U(t) is the output of PID controller, k p is the proportional gain, 1 / T1 is the integral gain, T D is the differential gain, err(t) is the error at the current time, t represents time, and dt is the differential sign.
[0029] The technical solution adopted in the embodiment of the present application also includes: the controller uses a quaternion attitude solution algorithm based on extended Kalman filtering to perform attitude estimation and calculation of the combined acceleration value, specifically:
[0030] The moving average filtering method is used to filter the acceleration and angular velocity; the moving average filtering calculation formula is:
[0031]
[0032] Where FilteredValue[n] represents the acceleration value at the nth time point after filtering, InputValue[-i] represents the input acceleration value, and N represents the size of the filter window;
[0033] Based on the filtered acceleration and angular velocity, the quaternion attitude solution algorithm based on extended Kalman filter is used to perform attitude estimation and calculation of the combined acceleration value.
[0034] The technical solution adopted in the embodiment of the present application also includes: based on the filtered acceleration and angular velocity, a quaternion attitude solution algorithm based on extended Kalman filtering is used to perform attitude estimation and calculation of the combined acceleration value, including:
[0035] The quaternion Q is used to represent the rotation between three-dimensional coordinate systems. The trigonometric function of the quaternion Q is expressed as:
[0036]
[0037] Where θ is the rotation angle, u is the rotation axis, u=li+mj+nk, i, j, k are the unit vectors of x, y, z axes respectively;
[0038] The attitude rotation process in three-dimensional space can be clearly expressed by angles. The angle change information of the original coordinate system after rotation relative to the previous one can be equivalent to the compound rotation around three axes in sequence. According to the above relationship, the attitude estimation result is:
[0039] γ=-arcsin(2(q1 3-q0 2))
[0040]
[0041] Where q, q0, q1, q2, q3 are all real numbers, Ψ is the rotation angle around the Z axis, γ is the rotation angle around the Y axis, and θ is the rotation angle around the X axis.
[0042] The technical solution adopted in the embodiment of the present application also includes: based on the filtered acceleration and angular velocity, a quaternion attitude solution algorithm based on extended Kalman filtering is used to perform attitude estimation and calculation of the combined acceleration value, and also includes:
[0043] The calculation formula of the combined acceleration value is:
[0044]
[0045] Among them, a x ,a y ,a z Represents the filtered acceleration value, w x ,w y ,w z Represents the angular velocity value after filtering.
[0046] The technical solution adopted by the embodiment of the present application also includes: detecting the target user's unstable / dangerous actions and falling behaviors according to the posture estimation and the calculation results of the combined acceleration value, and performing active and passive protection on the target user according to the detection results, specifically:
[0047] If a 合 If the target user is greater than the set threshold, it is determined that the target user is in an unstable / falling state. At this time, the target user's vertical velocity V and motion acceleration Accg are calculated, and the angular velocity in the world coordinate system is integrated to solve the target user's vertical displacement S Z and the change in the inclination angle relative to the vertical direction △Φ; wherein the displacement S in the vertical direction Z The calculation formula is:
[0048]
[0049] The calculation formula for the change in the tilt angle ΔΦ is:
[0050]
[0051] Among them, A CCx , A CCY , A CCZ are the three-axis motion acceleration, are the angular velocities of the three-axis motion respectively;
[0052] If S Z < displacement threshold, △Φ < tilt change threshold, it is determined that the target user has unstable / dangerous actions, and at this time, a voice reminder is issued through the voice module to provide active protection for the target user;
[0053] If S Z >displacement threshold, △Φ>tilt change threshold, it is determined that the target user has fallen. At this time, the controller sends a signal to the brake, so that the brake controls the follow-up trolley to stop quickly, and at the same time, the elastic tightener tightens the belt to provide passive protection for the target user.
[0054] Another technical solution adopted by the embodiment of the present application is: an intelligent auxiliary fall prevention method, comprising:
[0055] When the target user is walking, the laser radar at the rear of the follow-up vehicle collects the laser scanning data of the target user, identifies and tracks the target user based on the laser scanning data, obtains the motion trajectory of the target user, and sends the motion trajectory to the controller;
[0056] The controller uses a PID motion control algorithm to control the follower car to follow the motion trajectory of the target user;
[0057] The inertial sensor on the rear side of the waist belt protection device is used to obtain the acceleration and angular velocity of the target user, and transmits the acceleration and angular velocity to the controller; wherein the waist belt protection device is worn on the waist of the target user, and the end of the waist belt is connected to an elastic tightener;
[0058] Based on the acceleration and angular velocity, the controller uses a quaternion attitude solution algorithm based on extended Kalman filtering to perform attitude estimation and combined acceleration value calculation, and according to the attitude estimation and combined acceleration value calculation results, the target user is detected for instability / dangerous actions and falling behaviors, and the target user is actively and passively protected according to the detection results.
[0059] Compared with the prior art, the beneficial effects of the embodiments of the present application are: the intelligent auxiliary anti-fall system and method of the embodiments of the present application adopts laser radar to perceive the target user in real time and identify and follow, controls the follow-up car to automatically track the target user through the PID motion control algorithm, and obtains the motion data of the target user through the IMU, and uses the fall recognition algorithm through the controller to timely detect the instability / dangerous actions and fall behaviors of the target user, and adopts the active-passive anti-fall design. When the instability / dangerous action is detected, the user is reminded to adjust the posture and hold the handrail of the car by voice to reduce the occurrence of fall behavior; when the fall behavior is detected, the car is controlled to brake urgently, and the belt protection device is triggered to tighten, and the physical barrier and protection device are used to provide rapid support and stability for the user, reducing the damage caused by the fall. The embodiments of the present application have follow-up, active and passive real-time protection functions, which are suitable for people with aging functional degeneration and lower limb dysfunction, and can effectively reduce the occurrence of fall behavior. The embodiments of the present application do not require additional user operation, and can be used as an auxiliary device during gait activities and rehabilitation training of the elderly in clinical and community areas, providing safe walking support and fall protection for people prone to fall. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 is a structural schematic diagram of an intelligent auxiliary fall prevention system according to an embodiment of the present application;
[0061] Figure 2 is a flow chart of a fall risk detection algorithm of a controller in an embodiment of the present application;
[0062] Figure 3 It is a flow chart of the intelligent assisted fall prevention method according to an embodiment of the present application. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0064] The terms "first", "second", "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of this application, all directional indications (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or computer device that includes a series of steps or units is not limited to the steps or units listed, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or computer devices.
[0065] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0066] Specifically, see Figure 1, is a schematic diagram of the structure of the intelligent auxiliary anti-fall system of the embodiment of the present application. The intelligent auxiliary anti-fall system of the embodiment of the present application includes a follow-up trolley 10 and a waist belt protection device 20, wherein the follow-up trolley 10 body adopts a four-wheel structure, and a control integrated system 11 is arranged at the rear of the follow-up trolley 10 and at a certain height from the ground (the height is set to 35cm in the embodiment of the present application, which can be adjusted according to the actual application scenario), and the control integrated system 11 is installed with a motor, a driver, a brake, a laser radar, an encoder, a controller, a power supply, a communication module and a voice module; an elastic tightener 12 is arranged above the control integrated system 11, and the elastic tightener 12 is composed of an elastic component (not shown in the figure, including but not limited to a spring), a tensioning arm (not shown in the figure), an adjustment mechanism (not shown in the figure) and a chain guide device (not shown in the figure), etc. The adjustment mechanism directly acts on the elastic component to change the telescopic length of the elastic component. If the elastic component is stretched, the tensioning arm will move outward and increase the tension of the chain guide device; if the elastic component shrinks, the tensioning arm will move inward to reduce the tension of the chain guide device. One end of the retractable mechanism 13 is fixed on the elastic tightener 12, and a baffle 14 is arranged behind the retractable mechanism 13, and a soft cushioning material is laid on the surface of the baffle 14. The follow-up trolley 10 also includes two handrails 15, and anti-slip strips are laid on the handrails 15. The end of the waist belt of the belt protection device 20 is connected to the other end of the retractable mechanism 13, and after being wrapped around the thigh by two straps, it is fixed to the waist of the target user by a fixing component (including but not limited to Velcro), and the tension of the belt protection device 20 can be adjusted by the elastic tightener 12, specifically: when the belt protection device 20 is stretched, the elastic component in the elastic tightener 12 is stretched, so that the tightness of the belt protection device 20 gradually increases, and conversely when the belt protection device 20 is relaxed, the elastic component will automatically shrink and relax, and the relaxation of the belt protection device 20 is offset by the contraction of the elastic component, so that the tightness of the belt protection device 20 gradually decreases. An inertial sensor (I MU, not shown) is also provided on the rear side of the waist belt protection device 20. The I MU is connected to the controller on the follow-up car 10 via wireless communication, and the wireless communication method includes but is not limited to WI FI or 5G.
[0067] Based on the above structure, the working principle of the intelligent auxiliary anti-fall system of the embodiment of the present application is as follows: during the walking process of the target user, the laser radar collects the laser scanning data of the target user, identifies and tracks the target user according to the laser scanning data, and obtains the motion trajectory of the target user. The laser radar is connected to the controller by wired communication, and the motion trajectory is sent to the controller. After the controller processes it, it sends a control signal to the motor. The motor adopts a differential motion mode, and the PID motion control algorithm is used to control the follow-up car to follow the motion trajectory of the target user. After the target user wears the belt protection device, the acceleration and angular velocity of the target user are obtained in real time by the IMU, and the acceleration and angular velocity are transmitted to the controller. After the controller uses the moving average filtering method to filter the acceleration and angular velocity, the quaternion attitude solution algorithm based on the extended Kalman filter is used to perform attitude estimation and calculation of the combined acceleration value. Then, according to the attitude estimation results and the combined acceleration value calculation results, the target user is detected for instability / dangerous actions and fall behaviors, and corresponding active and passive protection is provided according to the detection results, as follows:
[0068] Active protection: When an unstable / dangerous action of the target user is detected, a reminder signal is sent to the voice module through the controller. After receiving the reminder signal, the voice module sends a reminder message through the speaker to remind the target user to adjust his posture or hold the handrail 15 to prevent falls and improve the user's stability and safety.
[0069] Passive protection: When a fall of the target user is detected, a control signal is sent to the brake through the controller, and the brake controls the follow-up trolley to stop quickly to prevent secondary injury to the target user; at the same time, the elastic component of the elastic tightener 12 is used to tighten the waist belt protection device 20. When the waist belt protection device 20 is tightened, the retractable mechanism 13 that fixes the waist belt protection device 20 retracts, and the baffle 14 and soft cushioning material behind it provide support and passive protection for the target user to minimize the damage caused by the fall. It can be understood that an adjustment nut (not shown) is also installed on the outside of the baffle 14 to adjust the height of the baffle 14 to accommodate target users of different heights.
[0070] Furthermore, considering that the position of the target user may change significantly at any moment during the movement, the embodiment of the present application first uses the Kalman filter algorithm to predict and update the relative position relationship between the follower car and the target user (laser radar), obtains the movement trajectory of the target user, and then uses the PID motion control algorithm to control the follower car to follow the movement of the target user. Specifically, the laser radar identifies the movement trajectory of the target user by detecting the shape of the target user's legs. First, the laser scanning data points in the movement area are segmented. If the distance between two consecutive points is less than the set threshold, the two points are considered to belong to the same segment. The laser scanning data includes some geometrically valid leg features. The human legs are identified by the extracted leg features, and the relative position relationship between the follower car and the target user is established to obtain the movement trajectory of the target user. Among them, the car coordinate system OR-(X R ,Y R ,Z R ) and LiDAR OL-(X L ,Y L ,Z L ) The position relationship conversion formula of the coordinate system is:
[0071]
[0072] In the formula, R T L_X , R T _L_Y are the offsets of the laser radar relative to the car in the X and Y directions, represents the rotation angle from the laser coordinate system to the car coordinate system, and it can be known from the definition that R T L_X , The values of are all zero. Taking the car coordinate system as the reference coordinate system, the tracking deflection angle θ(k) and the tracking distance d(k) are calculated based on the relative position relationship between the follower car and the target user:
[0073]
[0074] d(k)=X R (3)
[0075] The motion model of the follower car is the differential motion model of the front wheels, which can be described as:
[0076] x(k)=Ax(k-1)+ u(k-1)+w(-1) (4)
[0077] In the above formula, k represents the time, and the tracking state is x(k) = [θk, dk] T,θk,dk are the tracking angle and tracking distance of the follower car 10 respectively, w(k-1) is the mean and variance matrix, q(k-1) and Q(K-1) are the state noises respectively, u(k-1)=[u1(k-1)u2(k-1)]T is the control input, A is the two-dimensional unit state transfer matrix, and B is the matrix that converts the input into state.
[0078] In the above, in order to find the optimal leg feature, the embodiment of the present application adopts the AdaBoost method to train the leg feature data. The AdaBoost method trains positive samples (feature data of the legs) and negative samples (feature data of non-legs) and performs positive and negative sample classification. The sample classification formula is:
[0079]
[0080] Among them, D i The training weight distribution of the local machine, W i is the weight of each training sample, and N is the total number of samples.
[0081] In order to reduce the weight of correctly classified samples and increase the weight of misclassified samples, the weight vector D is updated by the following formula:
[0082]
[0083] Among them, D i+1 is the updated weight, a i is the weight of the weak classifier, h is the weak classifier, Z t is the normalization constant, The absolute value of f(x) represents the confidence of the classification.
[0084] Given the leg features of the previous frame, the position of the leg features and the size of the bounding box are predicted in the next frame. The Kalman filter algorithm uses the system output as the observation equation to correct the predicted value based on the system state equation to achieve the optimal estimation of the system state, which involves the state equation and the observation equation. The state equation estimates the current state x(k) based on the state and control variables of the previous moment and the process noise. The calculation formula is:
[0085] x k = x k-1 + u k + k (7)
[0086] q k = (0,q k ) (8)
[0087] Among them, u k is the input state equation, q kis the process noise that satisfies the Gaussian distribution, with an expected value of 0, Q k is the variance.
[0088] The observation equation is the observation value at the current moment obtained by the state estimate at the current moment and the measurement noise. The calculation formula is:
[0089] z k = x k + k (9)
[0090] r k ~N(0,r k )(10)
[0091] Among them, r k is the measurement noise that satisfies the Gaussian distribution, C is the two-dimensional unit matrix, R k is the variance.
[0092] After obtaining the target user's motion trajectory, the PID motion control algorithm is used to control the follower car to follow the target user's motion trajectory. The PID motion control algorithm is proportional, integral, and differential control. After obtaining the output of the system, the output is subjected to three operations of proportional, integral, and differential control, and then re-superimposed on the input, thereby controlling the behavior of the system so that it can accurately reach the specified state. The PID motion control algorithm formula is:
[0093]
[0094] Among them, U(t) is the output of PID controller, k p is the proportional gain, 1 / T1 is the integral gain, T D is the differential gain, err(t) is the error at the current time, t represents time, and dt is the differential sign.
[0095] For further information, see Figure 2 , is a flow chart of the fall risk detection algorithm of the controller in the embodiment of the present application. Specifically, it includes: firstly, the acceleration and angular velocity of the target user during the movement are collected through the IMU, and the acceleration and angular velocity are transmitted to the controller, the controller uses the moving average filtering method to filter the acceleration and angular velocity, and based on the acceleration and angular velocity after filtering, the quaternion attitude solution algorithm based on the extended Kalman filter is used to perform attitude estimation and combined acceleration value calculation, and then the target user is detected for instability and fall actions according to the attitude estimation results and the combined acceleration value calculation results, and corresponding active and passive protection is performed. Specifically, the moving average filter calculation formula is:
[0096]
[0097] Where FilteredValue[n] represents the acceleration value at the nth time point after filtering, InputValue[-i] represents the input acceleration value, and N represents the size of the filter window.
[0098] The quaternion attitude solution algorithm based on the extended Kalman filter is as follows: the rotation between three-dimensional coordinate systems is represented by the quaternion Q, and the trigonometric function of the quaternion Q is expressed as:
[0099]
[0100] Among them, θ is the rotation angle, u is the rotation axis, u=li+mj+nk, i, j, k are the unit vectors of x, y, and z axes respectively.
[0101] The attitude rotation process in three-dimensional space can be clearly expressed by angles. The angle change information after the original coordinate system is rotated relative to the previous one can be equivalent to the compound rotation around three axes in sequence. According to the above relationship, the attitude estimation result is as follows:
[0102] γ=-arcsin(2(q1 3-q0 2))(14)
[0103]
[0104] Where q, q0, q1, q2, q3 are all real numbers, Ψ is the rotation angle around the Z axis, γ is the rotation angle around the Y axis, and θ is the rotation angle around the X axis.
[0105] The resultant acceleration value is obtained by using the filtered acceleration value and angular velocity value. The calculation formula for the resultant acceleration value is:
[0106]
[0107] Among them, a x ,a y ,a z Represents the filtered acceleration value, w x ,w y ,w z Represents the angular velocity value after filtering.
[0108] The angular velocity value represents the angular velocity of the target user when tilting in the east-west direction, north-south direction, and vertical direction, and can be used to calculate the change in the tilt angle of the target user within a certain period of time, thereby assisting in determining whether the target user is about to become unstable or fall. The embodiment of the present application analyzes the combined acceleration value to detect real unstable / dangerous actions and fall actions. Specifically, if a 合If the target user is greater than the set threshold, it is determined that the target user is in an unstable / falling state. At this time, the target user's vertical velocity V and motion acceleration Accg are calculated, and the angular velocity in the world coordinate system is integrated to solve the target user's vertical displacement S Z And the change in the tilt angle relative to the vertical direction △Φ. Among them, the displacement S in the vertical direction Z The calculation formula is:
[0109]
[0110] The calculation formula for the change in tilt angle △Φ is:
[0111]
[0112] Among them, A CCx , A CCY , A CCZ are the three-axis motion acceleration, are the angular velocities of the three-axis motion respectively.
[0113] 1) If S Z < displacement threshold, △Φ < tilt change threshold, the target user is judged to have unstable behavior, that is, has a tendency to fall or dangerous behavior, at this time, a voice reminder is issued through the voice module to provide active protection for the target user.
[0114] 2) If S Z >displacement threshold, △Φ>tilt change threshold, it is determined that the target user has fallen. At this time, the controller sends a signal to the brake, so that the brake stops quickly to prevent the trolley from slipping, thereby avoiding secondary injury to the target user. At the same time, the elastic tightener tightens the belt to provide passive protection for the target user.
[0115] As an alternative, the embodiments of the present application can also use an infrared rangefinder or an RGB camera to identify and track the target user, use other motion algorithms such as fuzzy control, adaptive control, neural network control, etc. to control the motion of the following car, and use algorithms such as Kalman filtering based on accelerometers and gyroscopes, and complementary filters based on sensor fusion to estimate the target user's posture.
[0116] See also Figure 3 , is a flow chart of the intelligent assisted anti-fall method of the embodiment of the present application. The intelligent assisted anti-fall method of the embodiment of the present application comprises the following steps:
[0117] S1: When the target user is walking, the laser radar collects the laser scanning data of the target user, identifies and tracks the target user according to the laser scanning data, obtains the motion trajectory of the target user, and sends the motion trajectory to the controller; wherein the laser radar is installed at the rear of the follow-up car;
[0118] S2: After being processed by the controller, a control signal is sent to the motor, and the following car is controlled by the PID motion control algorithm to follow the motion trajectory of the target user;
[0119] In this step, specifically, the laser radar identifies the target user's motion trajectory by detecting the target user's leg shape. First, the laser scanning data points in the motion area are segmented. If the distance between two consecutive points is less than the set threshold, the two points are considered to belong to the same segment. The laser scanning data includes some geometrically effective leg features. The human legs are identified by extracting the leg features, and the relative position relationship between the follow-up car and the target user is established to obtain the target user's motion trajectory. Among them, the car coordinate system OR-(X R ,Y R ,Z R ) and LiDAR OL-(X L ,Y L ,Z L ) The position relationship conversion formula of the coordinate system is:
[0120]
[0121] In the formula, R T L_X , R T _L_Y are the offsets of the laser radar relative to the car in the X and Y directions, represents the rotation angle from the laser coordinate system to the car coordinate system, and it can be known from the definition that R T L_X , The values of are all zero.
[0122] Taking the car coordinate system as the reference coordinate system, the tracking deflection angle and tracking distance are calculated according to the relative position relationship between the follower car and the target user:
[0123]
[0124] d(k)=X R (3)
[0125] The car motion model is the differential motion model of the front wheels, which can be described as:
[0126] x(k)=Ax(k-1)+ u(k-1)+w(-1) (4)
[0127] In the above formula, k represents the time, and the tracking state is x(k) = [θk, dk] T ,θk,dk are the tracking angle and tracking distance of the following car respectively, w(k-1) is the mean and variance matrix, q(k-1) and Q(K-1) are the state noise respectively, u(k-1)=[u1(k-1)u2(k-1)]T is the control input, A is the two-dimensional unit state transfer matrix, and B is the matrix that converts the input into state.
[0128] In the above, in order to find the optimal leg feature, the embodiment of the present application adopts the AdaBoost method to train the leg feature data. The AdaBoost method trains positive samples (feature data of the legs) and negative samples (feature data of non-legs) and performs positive and negative sample classification. The sample classification formula is:
[0129]
[0130] Among them, D i The training weight distribution of the local machine, W i is the weight of each training sample, and N is the total number of samples.
[0131] In order to reduce the weight of correctly classified samples and increase the weight of misclassified samples, the weight vector D is updated by the following formula:
[0132]
[0133] Among them, D i+1 is the updated weight, a i is the weight of the weak classifier, h is the weak classifier, Z t is the normalization constant, The absolute value of f(x) represents the confidence of the classification.
[0134] Given the leg features of the previous frame, the position of the leg features and the size of the bounding box are predicted in the next frame. The Kalman filter algorithm uses the system output as the observation equation to correct the predicted value based on the system state equation to achieve the optimal estimation of the system state, which involves the state equation and the observation equation. The state equation estimates the current state based on the state and control variables of the previous moment and the process noise. The calculation formula is:
[0135] x k = x k-1 + u k + k (7)
[0136] q k = (0,q k ) (8)
[0137] Among them, u k is the input state equation, q k is the process noise that satisfies the Gaussian distribution, with an expected value of 0, Q k is the variance.
[0138] The observation equation is the observation value at the current moment obtained by the state estimate at the current moment and the measurement noise. The calculation formula is:
[0139] z k = x k + k (9)
[0140] r k ~N(0,R k )(10)
[0141] Among them, r k is the measurement noise that satisfies the Gaussian distribution, C is the two-dimensional unit matrix, the expectation is 0, and the variance is R k .
[0142] After obtaining the target user's motion trajectory, the PID motion control algorithm is used to control the follower car to follow the target user. The PID motion control algorithm is proportional, integral, and differential control. After obtaining the output of the system, the output is subjected to three operations of proportional, integral, and differential control, and then re-superimposed on the input, thereby controlling the behavior of the system so that it can accurately reach the specified state. The PID motion control algorithm formula is:
[0143]
[0144] Among them, U(t) is the output of PID controller, k p is the proportional gain, 1 / T1 is the integral gain, T D is the differential gain, err(t) is the error at the current time, t represents time, and dt is the differential sign.
[0145] S3: After the target user wears the belt protection device, the acceleration and angular velocity of the target user are obtained in real time through the IMU, and the acceleration and angular velocity are transmitted to the controller;
[0146] The end of the waist belt of the waist belt protection device 20 is connected to one end of the retractable mechanism, and after being wrapped around the thigh by two straps, it is fixed to the waist of the target user by a fixing component (including but not limited to Velcro), and the other end of the retractable mechanism is fixed to the elastic tightener, which is composed of an elastic component, a tensioning arm, an adjustment mechanism and a chain guide device, etc. The adjustment mechanism directly acts on the elastic component to change the telescopic length of the elastic component. If the elastic component is stretched, the tensioning arm will move outward and increase the tension of the chain guide device; if the elastic component is contracted, the tensioning arm will move inward to reduce the tension of the chain guide device. The tension of the waist belt protection device can be adjusted by the elastic tightener, specifically: when the waist belt protection device is stretched, the elastic component in the elastic tightener is stretched, so that the tightness of the waist belt protection device gradually increases, and conversely, when the waist belt protection device is relaxed, the elastic component will automatically contract and relax, and the relaxation of the waist belt protection device is offset by the contraction of the elastic component, so that the tightness of the waist belt protection device gradually decreases. A baffle is also provided at the rear of the retractable mechanism, and a soft cushioning material is laid on the surface of the baffle. An inertial sensor (IMU) is provided at the rear side of the belt protection device, and the IMU is connected to the controller on the follow-up vehicle via wireless communication, and the wireless communication method includes but is not limited to WI FI or 5G.
[0147] S4: The controller uses a moving average filtering method to filter the acceleration and angular velocity, and uses a quaternion attitude solution algorithm based on an extended Kalman filter to perform attitude estimation and calculation of the combined acceleration value;
[0148] In this step, the moving average filter calculation formula is:
[0149]
[0150] Where FilteredValue[n] represents the acceleration value at the nth time point after filtering, InputValue[-i] represents the input acceleration value, and N represents the size of the filter window.
[0151] The quaternion attitude solution algorithm based on the extended Kalman filter is as follows: the rotation between three-dimensional coordinate systems is represented by the quaternion Q, and the trigonometric function of the quaternion Q is expressed as:
[0152]
[0153] Among them, θ is the rotation angle, u is the rotation axis, u=li+mj+nk, i, j, k are the unit vectors of x, y, and z axes respectively.
[0154] The attitude rotation process in three-dimensional space can be clearly expressed by angles. The angle change information after the original coordinate system is rotated relative to the previous one can be equivalent to the compound rotation around three axes in sequence. According to the above relationship, the attitude estimation result is as follows:
[0155] γ=-arcsin(2(q1 3-q0 2))(14)
[0156]
[0157] Where q, q0, q1, q2, q3 are all real numbers, Ψ is the rotation angle around the Z axis, γ is the rotation angle around the Y axis, and θ is the rotation angle around the X axis.
[0158] The resultant acceleration value is obtained by using the filtered acceleration value and angular velocity value. The calculation formula for the resultant acceleration value is:
[0159]
[0160] Among them, a x ,a y ,a z Represents the filtered acceleration value, w x ,w y ,w z Represents the angular velocity value after filtering.
[0161] S5: Detect the target user's instability / dangerous actions and falling behaviors based on the posture estimation results and the combined acceleration value calculation results, and provide corresponding active and passive protection based on the detection results;
[0162] In this step, the angular velocity value represents the angular velocity of the target user when tilting in the east-west direction, north-south direction, and vertical direction, and can be used to calculate the change in the tilt angle of the target user within a certain period of time, thereby assisting in determining whether the target user is about to become unstable or fall. The embodiment of the present application analyzes the combined acceleration value to detect the real unstable / dangerous action and fall action. Specifically, if a 合 If the target user is greater than the set threshold, it is determined that the target user is in an unstable / falling state. At this time, the target user's vertical velocity V and motion acceleration Accg are calculated, and the angular velocity in the world coordinate system is integrated to solve the target user's vertical displacement S Z And the change in the tilt angle relative to the vertical direction △Φ. Among them, the displacement S in the vertical direction Z The calculation formula is:
[0163]
[0164] The calculation formula for the change in tilt angle △Φ is:
[0165]
[0166] Among them, A CCx , A CCY , A CCZ are the three-axis motion acceleration, are the angular velocities of the three-axis motion respectively.
[0167] 1) If S Z < displacement threshold, △Φ < tilt change threshold, the target user is judged to have unstable action, that is, has a tendency to fall or dangerous action, at this time, a voice reminder is issued through the voice module to provide active protection for unstable / dangerous action.
[0168] 2) If S Z > displacement threshold, △Φ> tilt change threshold, it is determined that the target user has fallen. At this time, the controller sends a signal to the brake, so that the brake stops quickly to prevent the trolley from slipping, thereby avoiding secondary injury to the target user. At the same time, the elastic tightener tightens the belt to provide passive protection for the fall action.
[0169] Based on the above, the intelligent auxiliary anti-fall system and method of the embodiment of the present application uses laser radar to perceive the target user in real time and identify and follow it, controls the follow-up car to automatically track the target user through the PID motion control algorithm, and obtains the motion data of the target user through the IMU, and uses the fall recognition algorithm through the controller to timely detect the instability / dangerous actions and fall behaviors of the target user, and adopts an active-passive anti-fall design. When an instability / dangerous action is detected, the user is reminded by voice to adjust the posture and hold the handrail of the car to reduce the occurrence of fall behavior; when a fall behavior is detected, the car is controlled to brake urgently, and the belt protection device is triggered to tighten, and the physical barrier and protection device are used to provide rapid support and stability for the user, reducing the damage caused by the fall. The embodiment of the present application has a follow-up, active and passive real-time protection function, which is suitable for people with aging functional degeneration and lower limb dysfunction, and can effectively reduce the occurrence of fall behavior. The embodiment of the present application does not require additional user operation, and can be used as an auxiliary device during gait activities and rehabilitation training of clinical and community elderly people, providing safe walking support and fall protection for people prone to fall.
[0170] The system provided in the embodiment of the present application can be applied in the above method embodiment. For details, please refer to the description of the above method embodiment, which will not be repeated here.
[0171] In the several embodiments provided in the present application, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, 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 through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0172] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the description and drawings of this application, or directly or indirectly used in other related technical fields, is also included in the patent protection scope of the present application.
Claims
1. An intelligent auxiliary fall prevention system, characterized in that: The invention comprises a follow-up vehicle and a waist belt protection device, wherein the follow-up vehicle is provided with a laser radar, a communication module, a controller and an elastic tightener; the waist belt end of the waist belt protection device is connected to the elastic tightener and is worn on the waist of the target user; an inertial sensor is also provided on the rear side of the waist belt protection device, and the inertial sensor is wirelessly connected to the controller through the communication module; During the walking process of the target user, the laser radar collects laser scanning data of the target user, identifies and tracks the target user according to the laser scanning data, obtains the motion trajectory of the target user, and sends the motion trajectory to the controller; the controller uses a PID motion control algorithm to control the follower car to follow the motion trajectory of the target user; at the same time, the acceleration and angular velocity of the target user are obtained through the inertial sensor, and the acceleration and angular velocity are transmitted to the controller, the controller uses a quaternion attitude solution algorithm based on extended Kalman filtering to perform attitude estimation and combined acceleration value calculation, and detects instability / dangerous actions and falling behaviors of the target user according to the attitude estimation and combined acceleration value calculation results, and performs active and passive protection on the target user according to the detection results.
2. The intelligent auxiliary fall prevention system according to claim 1, characterized in that: The follow-up trolley also includes a retractable mechanism, one end of which is fixed to the elastic tightener, and the other end is connected to the waist belt protection device. A baffle is also provided at the rear of the retractable mechanism, and a soft cushioning material is laid on the surface of the baffle.
3. The intelligent auxiliary fall prevention system according to claim 2, characterized in that: The following car is also provided with a brake and a voice module, and the handrail of the following car is also provided with an anti-slip strip. The active and passive protection of the target user according to the detection result is specifically as follows: When it is detected that the target user has unstable / dangerous actions, the controller sends a reminder signal to the voice module. After receiving the reminder signal, the voice module sends a reminder message to remind the target user to adjust his posture or hold the handrail of the follow-up car, providing active protection for the target user; When a fall of the target user is detected, a control signal is sent to the brake through the controller, and the brake controls the follow-up vehicle to stop moving; at the same time, the waist belt protection device is tightened by the elastic tightener. When the waist belt protection device is tightened, the retractable mechanism retracts, and provides support and passive protection for the target user through the baffle and soft cushioning material behind it.
4. The intelligent auxiliary fall prevention system according to any one of claims 1 to 3, characterized in that: The laser radar collects laser scanning data of the target user, identifies and tracks the target user according to the laser scanning data, and obtains the movement trajectory of the target user, specifically: The laser radar detects the target user's leg shape to identify the target user's motion trajectory, and segments the laser scanning data points in the motion area. If the distance between two consecutive points is less than a set threshold, the two points are considered to belong to the same segment. The leg features in the laser scanning data points are extracted to identify the human leg, and the relative position relationship between the follow-up car and the target user is established to obtain the target user's motion trajectory; wherein the car coordinate system OR-(X R ,Y R ,Z R ) and LiDAR OL-(X L ,Y L ,Z L ) The position relationship conversion formula of the coordinate system is: in, R T L_X , R T _L_Y are the offsets of the laser radar relative to the car in the X and Y directions, represents the rotation angle from the laser coordinate system to the vehicle coordinate system; taking the vehicle coordinate system as the reference coordinate system, the tracking deflection angle and tracking distance are calculated according to the relative position relationship between the following vehicle and the target user: d(k)=X R The motion model of the following car is the differential motion model of the front wheels, which is described as: x(k)=Ax(k-1)+Bu(k-1)+w(k-1) In the above formula, k represents the time, and the tracking state is x(k) = [θk, dk] T ,θk,dk are the tracking angle and tracking distance of the follower car 10 respectively, w(k-1) is the mean and variance matrix, q(k-1) and Q(K-1) are the state noises respectively, u(k-1)=[u1(k-1)u2(k-1)]T is the control input, A is the two-dimensional unit state transfer matrix, and B is the matrix that converts the input into state.
5. The intelligent auxiliary fall prevention system according to claim 4, characterized in that: The controller uses a PID motion control algorithm to control the following car to follow the motion trajectory of the target user. Specifically: The PID motion control algorithm is proportional, integral, and differential control, and the PID motion control algorithm formula is: Among them, U(t) is the output of PID controller, k p is the proportional gain, 1 / T1 is the integral gain, T D is the differential gain, err(t) is the error at the current time, t represents time, and dt is the differential sign.
6. The intelligent auxiliary fall prevention system according to claim 1, characterized in that: The controller uses a quaternion attitude solution algorithm based on extended Kalman filtering to perform attitude estimation and calculation of the combined acceleration value, specifically: The moving average filtering method is used to filter the acceleration and angular velocity; the moving average filtering calculation formula is: Where FilteredValue[n] represents the acceleration value at the nth time point after filtering, InputValue[ni] represents the input acceleration value, and N represents the size of the filter window; Based on the filtered acceleration and angular velocity, the quaternion attitude solution algorithm based on extended Kalman filter is used to perform attitude estimation and calculation of the combined acceleration value.
7. The intelligent auxiliary fall prevention system according to claim 6, characterized in that: The method of performing attitude estimation and combined acceleration value calculation based on the filtered acceleration and angular velocity using a quaternion attitude solution algorithm based on extended Kalman filtering includes: The quaternion Q is used to represent the rotation between three-dimensional coordinate systems. The trigonometric function of the quaternion Q is expressed as: Where θ is the rotation angle, u is the rotation axis, u=li+mj+nk, i, j, k are the unit vectors of x, y, z axes respectively; The attitude rotation process in three-dimensional space can be clearly expressed by angles. The angle change information of the original coordinate system after rotation relative to the previous one can be equivalent to the compound rotation around three axes in sequence. According to the above relationship, the attitude estimation result is: γ=-arcsin(2(q1q3-q0q2)) Where q, q0, q1, q2, q3 are all real numbers, Ψ is the rotation angle around the Z axis, γ is the rotation angle around the Y axis, and θ is the rotation angle around the X axis.
8. The intelligent auxiliary fall prevention system according to claim 7, characterized in that: The method of using a quaternion attitude solution algorithm based on an extended Kalman filter to perform attitude estimation and calculation of a combined acceleration value based on the filtered acceleration and angular velocity also includes: The calculation formula of the combined acceleration value is: Among them, a x ,a y ,a z Represents the filtered acceleration value, w x ,w y ,w z Represents the angular velocity value after filtering.
9. The intelligent auxiliary fall prevention system according to claim 8, characterized in that: According to the posture estimation and the calculation results of the combined acceleration value, the target user is detected for instability / dangerous actions and falling behaviors, and active and passive protection is performed on the target user according to the detection results, specifically: If a 合 If the target user is greater than the set threshold, it is determined that the target user is in an unstable / falling state. At this time, the target user's vertical velocity V and motion acceleration Accg are calculated, and the angular velocity in the world coordinate system is integrated to solve the target user's vertical displacement S Z and the change in the inclination angle relative to the vertical direction △Φ; wherein the displacement S in the vertical direction Z The calculation formula is: The calculation formula for the change in the tilt angle ΔΦ is: Among them, A CCx , A CCY , A CCZ are the three-axis motion acceleration, are the angular velocities of the three-axis motion respectively; If S Z < displacement threshold, △Φ < tilt change threshold, it is determined that the target user has unstable / dangerous actions, and at this time, a voice reminder is issued through the voice module to provide active protection for the target user; If S Z >displacement threshold, △Φ>tilt change threshold, it is determined that the target user has fallen. At this time, the controller sends a signal to the brake, so that the brake controls the follow-up trolley to stop quickly, and at the same time, the elastic tightener tightens the belt to provide passive protection for the target user.
10. An intelligent assisted fall prevention method, characterized in that: include: When the target user is walking, the laser radar at the rear of the follow-up vehicle collects the laser scanning data of the target user, identifies and tracks the target user based on the laser scanning data, obtains the motion trajectory of the target user, and sends the motion trajectory to the controller; The controller uses a PID motion control algorithm to control the follower car to move along the motion trajectory of the target user; The inertial sensor on the rear side of the waist belt protection device is used to obtain the acceleration and angular velocity of the target user, and transmits the acceleration and angular velocity to the controller; wherein the waist belt protection device is worn on the waist of the target user, and the end of the waist belt is connected to an elastic tightener; Based on the acceleration and angular velocity, the controller uses a quaternion attitude solution algorithm based on extended Kalman filtering to perform attitude estimation and combined acceleration value calculation, and according to the attitude estimation and combined acceleration value calculation results, the target user is detected for instability / dangerous actions and falling behaviors, and the target user is actively and passively protected according to the detection results.
Citation Information
Patent Citations
Slave-type lower limb gait training rehabilitation robot system
CN109568089A
Fall detection system and method based on target following millimeter wave radar
CN113030948A
Fall monitoring method and device and storage medium
CN114795189A
Fall and similar action early warning method based on inertial sensing
CN116189383A
Real-time human body tumble detection system and method based on laser sensor and monocular camera
CN116310297A
