A control method for upper limb rehabilitation robot based on information fusion
Through the information fusion control method, the patient's movement intention and environmental characteristics are predicted, combined with Kalman filtering and fuzzy naive Bayes algorithm, to solve the low autonomous participation and safety problems of the existing terminal traction robot, and achieve more efficient upper limb rehabilitation. train.
Patent Information
- Application Number
- CN202211105108.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-09
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-09-09
AI Technical Summary
Existing end-traction upper limb rehabilitation robots lack the patient's autonomous participation, have poor training effects, and may cause adverse effects when the patient loses control.
The information fusion control method is used to predict the patient's movement intention and environmental characteristics by collecting the robot's end position, speed, force exerted by the patient and environmental collision force. It combines Kalman filtering and fuzzy naive Bayes algorithm to determine the degree of task completion, and introduces Compliance model ensures safety.
It improves the patient's autonomous participation and training accuracy, ensures the safe completion of tasks, and enhances the training effect.
Smart Images

Figure CN115463003B
Abstract
Description
Technical Field
[0001] The invention relates to an upper limb rehabilitation robot control method based on information fusion, belonging to the technical field of rehabilitation robots. Background Art
[0002] Upper limb motor dysfunction is a common sequela of stroke, spinal cord injury, traumatic brain injury, and multiple sclerosis. Compared with normal people, patients have weaker muscle strength and less mobility. In particular, upper limb motor dysfunction will lead to poor self-care ability and affect the quality of life. Therefore, upper limb rehabilitation training is particularly important. At present, studies have shown that rehabilitation training methods that allow patients to actively participate in training and relearn movements can help patients restore limb motor function to a certain extent.
[0003] The robot can not only perform repetitive tasks tirelessly, but also record the patient's training data through sensors, thereby evaluating the patient's motor performance during training. It is currently the only choice to assist patients in rehabilitation training. Upper limb rehabilitation robots can be divided into two types, one is an end-traction robot and the other is an exoskeleton robot. Among them, the end-traction robot guides the patient's hand movement through the handle at the end of the robot to complete the rehabilitation training task.
[0004] Most of the existing end-trail robots only provide passive traction training for patients, and patients have almost no autonomous participation, resulting in unsatisfactory training results. Although a few end-trail robots can enable patients to actively participate in training tasks, they ignore the adverse effects of patients losing control on the training environment.
[0005] Therefore, based on the above-mentioned problems existing in the existing terminal traction robots, technicians in this field are committed to developing an information fusion control method to increase the patient's autonomous participation and improve the training effect. Summary of the invention
[0006] The purpose of the present invention is to provide an upper limb rehabilitation robot control method based on information fusion to improve the autonomy, accuracy and assistance of patient rehabilitation training.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is:
[0008] A control method for an upper limb rehabilitation robot based on information fusion comprises the following steps:
[0009] S101, collecting the current position and speed of the robot end, the force applied by the patient to the robot end, and the collision force between the end and the external environment;
[0010] S102, predicting the patient's movement intention according to the current position and speed of the robot end and the force applied to the robot end;
[0011] S103, estimating environmental characteristics according to the current position of the robot end and the collision force between the robot end and the external environment;
[0012] S104, calculating the trust of the motion intention predicted by S102 and the environmental characteristics estimated by S103 according to the force applied by the patient to the end of the robot and its rate of change, and fusing the motion intention and environmental characteristics with the Kalman filter algorithm;
[0013] S105. Based on the fuzzy naive Bayes principle, calculate the basic probability distribution of the robot's current end position and the collision force with the external environment, and determine whether the task is completed;
[0014] S106. If it is determined that the task is completed, the process is terminated; if it is determined that the task is not completed, a compliant model is introduced to ensure the safety of the task while transmitting the command position to the robot, and the process continues with step S102.
[0015] A further improvement of the technical solution of the present invention is that the specific steps of step 102 are:
[0016] The patient holds the handle at the end of the robot and applies force, so that the end effector of the robot moves according to the patient's movement intention; the movement intention is estimated by a radial basis neural network based on the current position and speed of the end of the robot and the force applied to the end of the robot;
[0017] The force exerted by the patient on the end of the robot is f h , the position of the robot end is x, and the speed is The predicted motion intention is:
[0018]
[0019] Among them, h(·) is an unknown nonlinear function;
[0020] The radial basis function neural network (RBFNN) is used to learn the patient's movement intention and estimate the movement intention as:
[0021]
[0022]
[0023] Among them, the input of RBFNN is S(·) is the radial basis function, represents the estimated weight, and ε represents the estimated error.
[0024] A further improvement of the technical solution of the present invention is that the specific steps of step 103 are:
[0025] Assume that the characteristics of the unknown environment at each moment obey the Gaussian distribution, that is
[0026]
[0027] in, represents the mean vector of the Gaussian distribution, represents the covariance matrix of Gaussian distribution, P represents the characteristic probability of the unknown environment at each moment, and z represents the particle;
[0028] Hybrid Monte Carlo sampling (HMC) is used to obtain particles.
[0029]
[0030] t is the current time, N is the number of sampled particles, and particle Is a X d The six-dimensional vector represented by ;
[0031] Estimate environmental characteristics based on the robot end position:
[0032]
[0033] in, is the covariance matrix of the Gaussian distribution function, μ d is the mean of the Gaussian distribution, is the current robot end position and particle The distance between the corresponding unknown environments;
[0034] Estimate environmental characteristics based on the collision force between the terminal and the external environment:
[0035]
[0036] in, is the covariance matrix of the Gaussian distribution function, θ f is the mean of the Gaussian distribution (angle of the friction cone), F e t represents the collision force at each moment, Indicates that F e t The corresponding friction cone;
[0037] Get more accurate environmental features based on the end-point position and the collision force between the end-point and the external environment:
[0038]
[0039] in, is the weight of the particle;
[0040] After integrating the end position and the collision force between the end and the external environment, a new particle Gaussian distribution is obtained:
[0041]
[0042] The new particle contains information about the environment characteristics X e2 .
[0043] A further improvement of the technical solution of the present invention is that the specific steps of step 104 are:
[0044] Using fuzzy logic, the input is the force F exerted by the patient on the end of the robot h and its rate of change The output is the confidence level n∈(0,1) in the patient’s movement intention;
[0045] Input variable: |F h |={NB,NM,NS,ZO,PS,PM,PB},
[0046] Output variables: n = {SS, SB, M, BS, BB}, membership functions are all Gaussian;
[0047] Design fuzzy rule table according to fuzzy rules;
[0048] Design weight factor assignment:
[0049] α 1 =n,α 2 =1-α 1
[0050] Among them, α 1 is the confidence of the predicted motion intention, α 2 is the confidence level of the estimated environmental characteristics;
[0051] Kalman filtering is performed on motion intention and environmental features respectively.
[0052] x i (k+1)=A i (k)x i (k)+B i (k)u i (k)+Γ i (k)ω i (k)
[0053] z i (k) = C i (k)x i (k)+υ i (k)
[0054] Among them, A iis the state transfer matrix, x is the state variable, B i is a known matrix, u is the control term, Γ represents a known matrix gain, ω is the system noise, z is the observation, C is the observation matrix, and υ is the observation noise;
[0055] Combined with confidence in the patient's intention to exercise n ∈(0,1) to fuse the filtered motion intention and environmental features.
[0056]
[0057] in, is the motion intention after Kalman filtering, is the environmental feature after Kalman filtering, is the desired position X after information fusion e .
[0058] A further improvement of the technical solution of the present invention is that the specific steps of step 105 are:
[0059] Based on the fuzzy naive Bayes principle, the basic probability distribution of the robot's current end position and the collision force with the external environment is calculated to determine whether the task is completed:
[0060] Calculate the basic probability distribution of position information and collision force information respectively:
[0061]
[0062] Among them, V is the eigenvalue vector, j represents different information sources (position information, force information), and C is the classification label corresponding to V;
[0063] Normalized calculation:
[0064]
[0065] Where L is the normalization factor;
[0066] Based on the Dempster-Shafer evidence theory, the overall basic probability distribution of the combined position information and collision force information is:
[0067] m all =m 1 ⊕m 2
[0068] Among them, m all represents the overall basic probability distribution, m 1 represents the basic probability distribution of location information, m 2 Represents the basic probability distribution of collision force information;
[0069] After the position information and the collision force information are merged, the entire judgment process is transformed from two information sources to a single information source; the hypothesis with the highest probability is selected as the prediction category of the sample.
[0070] A further improvement of the technical solution of the present invention is that the compliance model of step 106 is:
[0071]
[0072] Among them, M d , B d and K d are the inertia matrix, damping matrix and stiffness matrix required by the impedance model, and they are all positive definite diagonal matrices; X e is the desired target position in Cartesian space; and are the expected velocity and expected acceleration in Cartesian space, respectively; F d is the expected collision force.
[0073] Due to the adoption of the above technical solution, the technical effects achieved by the present invention are as follows:
[0074] The present invention predicts the patient's movement intention based on the radial basis neural network according to the force applied by the patient to the robot end, the position and speed of the robot end; autonomously perceives and estimates environmental features according to the position of the robot end and the collision force with the external environment to predict the next movement; then the two estimated information are fused through the fuzzy Kalman filter algorithm to obtain a more accurate required trajectory. After each step of fusion, it enters the stage of judging whether the task is completed. The task is judged whether it is completed according to the position information of the robot end and the collision force information with the external environment. If the position error and the collision force exceed the specified threshold, it is considered that the task needs to continue; if the position error and the collision force are within the specified threshold, it is considered that the task has been completed. The patient's affected limb hand is fixed to the handle of the robot end. The fused trajectory follows the patient's movement intention while eliminating the movement intention predicted by excessive force or too small force caused by the patient's hand out of control.
[0075] The present invention provides an upper limb rehabilitation robot control method based on information fusion, which integrates the patient's movement intention and the robot's estimation of the environment as the required trajectory, which not only improves the patient's participation, but also takes into account the movement intention predicted by the patient's uncontrolled hand force, and can help the patient reach the target position more accurately, complete the complete training task, and improve the training effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 It is a schematic diagram of the process of the present invention;
[0077] Figure 2It is a control framework diagram of the present invention. DETAILED DESCRIPTION
[0078] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0079] During rehabilitation training, the patient's hand is held on the end handle of the robot; the position and speed of the patient and the robot are considered to be consistent.
[0080] A control method for upper limb rehabilitation robot based on information fusion, such as Figure 1 , 2 As shown, the following steps are included:
[0081] S101, collecting the current position and speed of the robot end, the force applied by the patient to the robot end, and the collision force between the end and the external environment. The force applied by the patient to the robot end is obtained by the force sensor on the handle; the collision force between the robot end and the external environment is the force received when the tool installed at the robot end collides with the environment, and its value is the difference between the total external force obtained by the force sensor at the robot end and the force applied by the patient to the robot end.
[0082] S102: predict the patient's movement intention based on the current position, speed and force applied to the robot end
[0083] The patient holds the handle at the end of the robot and applies force to make the robot's end effector move according to the patient's movement intention; the movement intention is unknown to the robot and needs to be estimated through a radial basis neural network based on the current position, speed and force applied to the robot's end.
[0084] The force exerted by the patient on the end of the robot is f h , the position of the robot end is x, and the speed is The predicted motion intention is:
[0085]
[0086] Where h(·) is an unknown nonlinear function.
[0087] The radial basis function neural network (RBFNN) is used to learn the patient's movement intention and estimate the movement intention as:
[0088]
[0089]
[0090] Among them, the input of RBFNN is S(·) is the radial basis function, represents the estimated weight, and ε represents the estimated error.
[0091] S103: Estimate environmental characteristics based on the current position of the robot end and the collision force between the robot end and the external environment
[0092] Assume that the characteristics of the unknown environment at each moment obey the Gaussian distribution, that is
[0093]
[0094] in, represents the mean vector of the Gaussian distribution, represents the covariance matrix of the Gaussian distribution, P represents the characteristic probability of the unknown environment at each moment, and z represents the particle.
[0095] Hybrid Monte Carlo sampling (HMC) is used to obtain particles.
[0096]
[0097] t is the current time, N is the number of sampled particles, and particle Is a X d A six-dimensional vector representing .
[0098] Estimate environmental characteristics based on the robot end position:
[0099]
[0100] in, is the covariance matrix of the Gaussian distribution function, μ d is the mean of the Gaussian distribution, is the current robot end position and particle The distance between the corresponding unknown environments.
[0101] Estimate environmental characteristics based on the collision force between the terminal and the external environment:
[0102]
[0103] in, is the covariance matrix of the Gaussian distribution function, θ f is the mean of the Gaussian distribution (angle of the friction cone), F e t represents the collision force at each moment, Indicates that F e t Corresponding friction cone.
[0104] Get more accurate environmental features based on the end-point position and the collision force between the end-point and the external environment:
[0105]
[0106] in, is the weight of the particle.
[0107] After integrating the end position and the collision force between the end and the external environment, a new particle Gaussian distribution is obtained:
[0108]
[0109] The new particle contains information about the environment characteristics X e2 .
[0110] S104: Calculate the trust of the motion intention predicted by S102 and the environmental characteristics estimated by S103 based on the force applied by the patient to the end of the robot and its rate of change, and fuse the motion intention and environmental characteristics with the Kalman filter algorithm.
[0111] Using fuzzy logic, the input is the force F exerted by the patient on the end of the robot h and its rate of change The output is the confidence n∈(0,1) in the patient’s movement intention.
[0112] Input variable |F h |={NB,NM,NS,ZO,PS,PM,PB},
[0113] The output variable n = {SS, SB, M, BS, BB}, and the membership functions are all Gaussian.
[0114] Design fuzzy rule table according to fuzzy rules:
[0115] Fuzzy rule table
[0116]
[0117]
[0118] Weight factor assignment:
[0119] α 1 =n,α 2 =1-α 1
[0120] Among them, α 1 is the confidence of the predicted motion intention, α 2 is the confidence level of the estimated environmental characteristics.
[0121] Kalman filtering is performed on motion intention and environmental features respectively.
[0122] x i (k+1)=A i (k)x i(k)+B i (k)u i (k)+Γ i (k)ω i (k)
[0123] z i (k) = C i (k)x i (k)+υ i (k)
[0124] Among them, A i is the state transfer matrix, x is the state variable, B i is a known matrix, u is the control term, Γ represents a known matrix gain, ω is the system noise, z is the observation, C is the observation matrix, and υ is the observation noise.
[0125] Combined with confidence in the patient's intention to exercise n ∈(0,1) to fuse the filtered motion intention and environmental features.
[0126]
[0127] in, is the motion intention after Kalman filtering, is the environmental feature after Kalman filtering. is the desired position X after information fusion e .
[0128] S105. Based on the fuzzy naive Bayes principle, calculate the current end position of the robot and the basic probability distribution of the collision force with the external environment to determine whether the task is completed
[0129] Based on the fuzzy naive Bayes principle, the basic probability distribution of the robot's current end position and the collision force with the external environment is calculated to determine whether the task is completed:
[0130] Calculate the basic probability distribution of position information and collision force information respectively:
[0131]
[0132] Among them, V is the eigenvalue vector, j represents different information sources (position information, force information), i represents the i-dimensional independent feature variable, and C is the classification label corresponding to V. Represents the composite probability of the label corresponding to the i-dimensional independent feature variable.
[0133] Normalized calculation:
[0134]
[0135] Where L is the normalization factor.
[0136] Based on the Dempster-Shafer evidence theory, the overall basic probability distribution of the combined position information and collision force information is:
[0137]
[0138] Among them, m all represents the overall basic probability distribution, m 1 represents the basic probability distribution of location information, m 2 Represents the basic probability distribution of collision force information.
[0139] After the position information and the collision force information are combined, the entire judgment process is transformed from two information sources to a single information source. The hypothesis with the highest probability is selected as the prediction category of the sample. all When it is less than the specified threshold, the decision result ξ=0 is obtained, indicating that the task is not completed; when m all When it is greater than the specified threshold, the decision result ξ=1 is obtained, indicating that the task has been completed.
[0140] S106: If the task is judged to be completed, terminate; if the task is judged to be not completed, introduce a compliant model to ensure the safety of the task while transmitting the command position to the robot, and continue to execute step S102 to predict the motion intention, estimate the environmental characteristics, fuse the information, and judge whether the task is completed.
[0141] When the robot end interacts with the external environment, if the collision force is too large, it will cause the system to be unsafe. Therefore, a compliance model is introduced. The compliance model is
[0142]
[0143] Among them, M d , B d and K d They are the inertia matrix, damping matrix and stiffness matrix required by the impedance model, and they are all positive definite diagonal matrices. e is the desired target position in Cartesian space. and are the expected velocity and acceleration in Cartesian space, respectively, and F d is the expected collision force.
[0144] The present invention describes the principles and implementation methods of the present invention in detail through specific embodiments to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A control method for upper limb rehabilitation robot based on information fusion, It is characterized in that The following steps are involved: S101, collecting the current position and speed of the robot end, the force applied by the patient to the robot end, and the collision force between the end and the external environment; S102, predicting the patient's movement intention according to the current position and speed of the robot end and the force applied to the robot end; The patient holds the handle at the end of the robot and applies force, so that the end effector of the robot moves according to the patient's movement intention; the movement intention is estimated by a radial basis neural network based on the current position and speed of the end of the robot and the force applied to the end of the robot; The force exerted by the patient on the end of the robot is f h , the position of the robot end is x, and the speed is The predicted motion intention is: Among them, h(·) is an unknown nonlinear function; The radial basis function neural network (RBFNN) is used to learn the patient's movement intention and estimate the movement intention as: Among them, the input of RBFNN is S(·) is the radial basis function, represents the estimated weight, and ε represents the estimated error; S103, estimating environmental characteristics according to the current position of the robot end and the collision force between the robot end and the external environment; the specific steps are: Assume that the characteristics of the unknown environment at each moment obey the Gaussian distribution, that is in, represents the mean vector of the Gaussian distribution, represents the covariance matrix of Gaussian distribution, P represents the characteristic probability of the unknown environment at each moment, and z represents the particle; Hybrid Monte Carlo sampling (HMC) is used to obtain particles. t is the current time, N is the number of sampled particles, and particle Is a X d The six-dimensional vector represented by ; Estimate environmental characteristics based on the robot end position: in, is the covariance matrix of the Gaussian distribution function, μ d is the mean of the Gaussian distribution, is the current robot end position and particle The distance between the corresponding unknown environments; Estimate environmental characteristics based on the collision force between the terminal and the external environment: in, is the covariance matrix of the Gaussian distribution function, θ f is the mean of the Gaussian distribution of the friction cone angle, F e t represents the collision force at each moment, Indicates that F e t The corresponding friction cone; Get more accurate environmental features based on the end-point position and the collision force between the end-point and the external environment: in, is the weight of the particle; After integrating the end position and the collision force between the end and the external environment, a new particle Gaussian distribution is obtained: The new particle contains information about the environment characteristics X e2 ; S104, according to the force applied by the patient to the end of the robot and its rate of change, calculate the trust of the motion intention predicted by S102 and the environmental characteristics estimated by S103, and combine the Kalman filter algorithm to fuse the information of the motion intention and the environmental characteristics; the specific steps are: Using fuzzy logic, the input is the force F exerted by the patient on the end of the robot h and its rate of change The output is the confidence level n∈(0,1) in the patient’s movement intention; Input variable: |F h |={NB,NM,NS,ZO,PS,PM,PB}, Output variables: n = {SS, SB, M, BS, BB}, membership functions are all Gaussian; Design fuzzy rule table according to fuzzy rules; Design weight factor assignment: α 1 =n,α 2 =1-α 1 Among them, α 1 is the confidence of the predicted motion intention, α 2 is the confidence level of the estimated environmental characteristics; Kalman filtering is performed on motion intention and environmental features respectively. x i (k+1)=A i (k)x i (k)+B i (k)u i (k)+Γ i (k)ω i (k) z i (k)=C i (k)x i (k)+v i (k) Among them, A i is the state transfer matrix, x is the state variable, B i is a known matrix, u is the control term, Γ represents a known matrix gain, ω is the system noise, z is the observation, C is the observation matrix, and υ is the observation noise; Combined with the confidence level n∈(0,1) of the patient’s movement intention, the filtered movement intention and environmental features are fused. in, is the motion intention after Kalman filtering, is the environmental feature after Kalman filtering, is the desired position X after information fusion e ; S105. Based on the fuzzy naive Bayes principle, calculate the basic probability distribution of the robot's current end position and the collision force with the external environment, and determine whether the task is completed; S106. If it is determined that the task is completed, the process is terminated; if it is determined that the task is not completed, a compliant model is introduced to ensure the safety of the task while transmitting the command position to the robot, and the process continues with step S102.
2. According to claim 1, an upper limb rehabilitation robot control method based on information fusion, It is characterized in that The specific steps of step 105 are: Based on the fuzzy naive Bayes principle, the basic probability distribution of the robot's current end position and the collision force with the external environment is calculated to determine whether the task is completed: Calculate the basic probability distribution of position information and collision force information respectively: Among them, V is the eigenvalue vector, j represents different information sources, i represents the i-dimensional independent feature variable, and C is the classification label corresponding to V. Represents the composite probability of the label corresponding to the i-dimensional independent feature variable; Normalized calculation: Where L is the normalization factor; Based on the Dempster-Shafer evidence theory, the overall basic probability distribution of the combined position information and collision force information is: Among them, m all represents the overall basic probability distribution, m 1 represents the basic probability distribution of location information, m 2 Represents the basic probability distribution of collision force information; After the position information and collision force information are merged, the entire judgment process is transformed from two information sources to a single information source, and the hypothesis with the highest probability is selected as the prediction category of the sample.
3. According to claim 1, an upper limb rehabilitation robot control method based on information fusion, It is characterized in that The compliance model of step 106 is: Among them, M d , B d and K d are the inertia matrix, damping matrix and stiffness matrix required by the impedance model, and they are all positive definite diagonal matrices; X e is the desired target position in Cartesian space; and are the expected velocity and expected acceleration in Cartesian space, respectively; F d is the expected collision force.
