CN112089580B - A Motion Control Method for Lower Limb Skeletal Rehabilitation Robot Based on Disturbance Compensation - Google Patents
A Motion Control Method for Lower Limb Skeletal Rehabilitation Robot Based on Disturbance Compensation Download PDFInfo
- Publication number
- CN112089580B CN112089580B CN202010404277.6A CN202010404277A CN112089580B CN 112089580 B CN112089580 B CN 112089580B CN 202010404277 A CN202010404277 A CN 202010404277A CN 112089580 B CN112089580 B CN 112089580B
- Authority
- CN
- China
- Prior art keywords
- knee joint
- hip joint
- joint
- hip
- knee
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 210000003141 lower extremity Anatomy 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims description 40
- 230000033001 locomotion Effects 0.000 title claims description 30
- 210000004394 hip joint Anatomy 0.000 claims abstract description 207
- 210000000629 knee joint Anatomy 0.000 claims abstract description 205
- 238000013461 design Methods 0.000 claims abstract description 17
- 230000005021 gait Effects 0.000 claims abstract description 15
- 239000011159 matrix material Substances 0.000 claims description 40
- 210000000988 bone and bone Anatomy 0.000 claims description 39
- 244000309466 calf Species 0.000 claims description 29
- 210000000689 upper leg Anatomy 0.000 claims description 29
- 230000001133 acceleration Effects 0.000 claims description 28
- 238000005259 measurement Methods 0.000 claims description 21
- 230000005484 gravity Effects 0.000 claims description 19
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000009434 installation Methods 0.000 claims description 7
- 210000003127 knee Anatomy 0.000 claims description 6
- 238000000547 structure data Methods 0.000 claims description 6
- 210000001624 hip Anatomy 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 5
- 230000003068 static effect Effects 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 230000008901 benefit Effects 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 208000024172 Cardiovascular disease Diseases 0.000 description 1
- 206010019468 Hemiplegia Diseases 0.000 description 1
- 208000016285 Movement disease Diseases 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 208000026106 cerebrovascular disease Diseases 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000002526 effect on cardiovascular system Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H3/00—Appliances for aiding patients or disabled persons to walk about
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H3/00—Appliances for aiding patients or disabled persons to walk about
- A61H2003/005—Appliances for aiding patients or disabled persons to walk about with knee, leg or stump rests
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5007—Control means thereof computer controlled
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5058—Sensors or detectors
- A61H2201/5061—Force sensors
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5058—Sensors or detectors
- A61H2201/5069—Angle sensors
Landscapes
- Health & Medical Sciences (AREA)
- Epidemiology (AREA)
- Pain & Pain Management (AREA)
- Physical Education & Sports Medicine (AREA)
- Rehabilitation Therapy (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Manipulator (AREA)
- Rehabilitation Tools (AREA)
Abstract
Description
技术领域technical field
本发明涉及下肢骨骼康复机器人运动控制领域,具体而言,涉及一种基于干扰补偿的下肢骨骼康复机器人运动控制方法。The invention relates to the field of motion control of a lower limb bone rehabilitation robot, in particular to a motion control method for a lower limb bone rehabilitation robot based on interference compensation.
背景技术Background technique
随着社会的发展,目前我国的人口结构有着明显的老年化趋势。大量老年人有着偏瘫类的心脑血管疾病,而大部分中风或其它患者留有不同程度的下肢运动障碍。随着康复机器人技术的发展,上述病例的早期运动康复治疗广泛采用康复机器人来辅助患者运动,一方面可达到增加康复者运动量,提高患者肢体运动功能,加速其康复进程的目的;另一方面又能为患者基本生活护理自理提供便利,减轻护理负担,也提升康复者的生活品质。下肢骨骼康复机器人的运动控制中存在着的难点问题在于在实际过程中运动负载的准确测量困难、摩擦力矩估计不准确、以及运动控制中存在着未知不确定的外干扰。在上述强不确定性的情况下,保证康复运动控制的稳定与安全,并提升其舒适度,是运动控制的主要任务。基于上述原因,本发明针对三种不确定性,提出了干扰观测补偿的控制方案,并采用误差反馈与等效控制的方法,实现了康复机器人的高品质控制,从而也使得本发明具有很好的经济价值与实用价值。With the development of society, my country's population structure has a clear trend of aging. A large number of elderly people have cardiovascular and cerebrovascular diseases such as hemiplegia, while most stroke or other patients have different degrees of lower limb movement disorders. With the development of rehabilitation robot technology, rehabilitation robots are widely used in the early exercise rehabilitation treatment of the above-mentioned cases to assist the patient's movement. It can provide convenience for patients to take care of themselves in basic life care, reduce the burden of care, and improve the quality of life of the recovered patients. The difficulties in the motion control of the lower limb bone rehabilitation robot lie in the difficulty in accurately measuring the motion load in the actual process, the inaccurate estimation of the friction torque, and the unknown and uncertain external disturbances in the motion control. In the case of the above-mentioned strong uncertainties, ensuring the stability and safety of rehabilitation motion control and improving its comfort are the main tasks of motion control. Based on the above reasons, the present invention proposes a control scheme for disturbance observation compensation for the three kinds of uncertainties, and adopts the method of error feedback and equivalent control to realize the high-quality control of the rehabilitation robot, which also makes the present invention have a good economic and practical value.
需要说明的是,在上述背景技术部分发明的信息仅用于加强对本发明的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
本发明的目的在于提供一种基于干扰补偿的下肢骨骼康复机器人运动控制方法,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的抗干扰与负载不确定自适应能力不足而导致的运动控制舒适性不佳的问题。The purpose of the present invention is to provide a motion control method for a lower limb bone rehabilitation robot based on interference compensation, and then at least to a certain extent overcome the limitations and defects of related technologies caused by insufficient self-adaptive ability of anti-interference and load uncertainty. Problem with poor comfort of motion controls.
根据本发明的一个方面,提供一种基于干扰补偿的下肢骨骼康复机器人运动控制方法,包括以下步骤:According to one aspect of the present invention, there is provided a motion control method for a lower limb bone rehabilitation robot based on interference compensation, comprising the following steps:
步骤S10,在下肢骨骼康复机器人大腿杆与小腿杆上分别安装FUTEK LSB200型力传感器,测量髋关节与膝关节负载力,并根据传感器位置,分别对髋关节与膝关节负载力矩进行估算;Step S10, install FUTEK LSB200 force sensors on the thigh bar and calf bar of the lower limb bone rehabilitation robot respectively, measure the load force of the hip joint and knee joint, and estimate the load moment of the hip joint and knee joint respectively according to the position of the sensor;
步骤S20,在下肢骨骼康复机器人大腿杆与小腿杆上分别安装增量式正交光电编码器,测量骨骼机器人的髋关节转动角与膝关节转动角,并根据人体步态的运动数据,得到髋关节角误差与膝关节角误差,并分别进行积分,得到误差积分信号;Step S20, install incremental orthogonal photoelectric encoders on the thigh bar and calf bar of the lower limb bone rehabilitation robot respectively, measure the hip joint rotation angle and knee joint rotation angle of the bone robot, and obtain the hip joint rotation angle according to the motion data of the human body gait. The joint angle error and the knee joint angle error are integrated separately to obtain an error integral signal;
步骤S30,根据所述的髋关节转动角与膝关节转动角测量信号,构造非线性滤波微分器,得到髋关节角速率信号与膝关节角速率估计信号;Step S30, constructing a nonlinear filter differentiator according to the measurement signals of the hip joint rotation angle and the knee joint rotation angle to obtain the hip joint angular rate signal and the knee joint angular rate estimation signal;
步骤S40,测量大腿支杆的重量与小腿支杆的重量,根据所述的髋关节角测量值与膝关节角测量值,以及大腿支杆的长度与小腿支杆的长度,构建骨骼系统角加速度矩阵与角速度矩阵,并进行逆变换,得到骨骼系统角加速度逆矩阵;Step S40, measuring the weight of the thigh strut and the weight of the calf strut, and constructing the angular acceleration of the skeletal system according to the measured values of the hip joint angle and the knee joint angle, as well as the lengths of the thigh strut and the calf strut Matrix and angular velocity matrix, and perform inverse transformation to obtain the inverse matrix of angular acceleration of the skeletal system;
步骤S50,根据所述的髋关节转动角速度估计值与膝关节转动角速度估计值解算角速度等效控制量,再根据康复机器人的物理结构数据,解算大腿杆重力相关量与小腿杆重力相关量;Step S50, calculate the equivalent control quantity of angular velocity according to the estimated value of the hip joint rotation angular velocity and the knee joint rotation angular velocity, and then calculate the gravity related quantity of the thigh bar and the gravity related quantity of the calf bar according to the physical structure data of the rehabilitation robot ;
步骤S60,根据所述的髋关节与膝关节转动角速率估计值,对髋关节摩擦力与膝关节摩擦力进行补偿设计,然后根据所述的髋关节与膝关节负载力矩估计值以及骨骼角加速度系统逆矩阵,解算髋关节与膝关节等效控制量;Step S60, according to the estimated value of hip joint and knee joint rotation angular rate, carry out compensation design for hip joint friction force and knee joint friction force, and then according to the described value of hip joint and knee joint load moment estimate and bone angular acceleration System inverse matrix, solve the equivalent control quantity of hip joint and knee joint;
步骤S70,根据所述的髋关节与膝关节等效控制量,构建髋关节与膝关节干扰观测器,分别解算髋关节与膝关节干扰观测器状态与干扰估计值;Step S70, according to the equivalent control quantities of the hip joint and the knee joint, construct the interference observer of the hip joint and the knee joint, respectively solve the states and estimated values of the interference of the hip joint and the knee joint;
步骤S80,根据所述的髋关节与膝关节干扰估计值、髋关节与膝关节转动角误差量、误差积分量以及髋关节与膝关节转动角速率信号估计值,进行线性组合,生成髋关节与膝关节控制力矩,实现最终的下肢骨骼康复机器人运动控制。Step S80, according to the estimated hip joint and knee joint interference value, the hip joint and knee joint rotation angle error amount, the error integral amount and the hip joint and knee joint rotation angular rate signal estimated value, perform linear combination to generate the hip joint and knee joint Knee joint control moment for ultimate lower limb skeletal rehabilitation robot motion control.
在本发明的一种示例实施例中,测量骨骼机器人的髋关节转动角与膝关节转动角,并根据人体步态的运动数据,得到髋关节角误差与膝关节角误差,并分别进行积分,得到误差积分信号包括:In an exemplary embodiment of the present invention, the hip joint rotation angle and the knee joint rotation angle of the skeletal robot are measured, and according to the motion data of the human body gait, the hip joint angle error and the knee joint angle error are obtained and integrated respectively, The obtained error integral signal includes:
qd1=a11sin(b11p+c11)+a12sin(b12p+c12)+a13sin(b13p+c13);q d1 =a 11 sin(b 11 p+c 11 )+a 12 sin(b 12 p+c 12 )+a 13 sin(b 13 p+c 13 );
qd2=a21sin(b21p+c21)+a22sin(b22p+c22)+a23sin(b23p+c23);q d2 =a 21 sin(b 21 p+c 21 )+a 22 sin(b 22 p+c 22 )+a 23 sin(b 23 p+c 23 );
p=t/Taa-floor(t/Taa);p=t/T aa -floor(t/T aa );
e1=q1-qd1;e 1 =q 1 -q d1 ;
e2=q2-qd2;e 2 =q 2 -q d2 ;
s1=∫e1dt;s 1 =∫ e 1 dt;
s2=∫e2dt;s 2 =∫e 2 dt;
其中q1为下肢骨骼康复机器人的髋关节转动角测量值,q2为下肢骨骼康复机器人的膝关节转动角测量值。qd1为髋关节转动角的期望值,qd2为膝关节转动角的期望值,a11、a12、a13、a21、a22、a23、b11、b12、b13、b21、b22、b23、c11、c12、c13、c21、c22、c23为人体为步态数据,其详细设计见后文案例实施。p为步态周期的百分比,t为康复者的运动时间,Taa为康复者运动步伐的平均周期。floor(t/T)表示向左取整数部分,如floor(3.5)=3,最终得到的0≤p≤1。e1为髋关节转角误差信号,e2为膝关节转角误差信号,s1为髋关节转角误差积分信号,其中dt表示对时间信号进行积分。s2为膝关节转角误差积分信号。Among them, q 1 is the measured value of the hip joint rotation angle of the lower limb skeletal rehabilitation robot, and q 2 is the measured value of the knee joint rotation angle of the lower limb skeletal rehabilitation robot. q d1 is the expected value of hip joint rotation angle, q d2 is the expected value of knee joint rotation angle , a 11 , a 12 , a 13 , a 21 , a 22 , a 23 , b 11 , b 12 , b 13 , b 21 , b 22 , b 23 , c 11 , c 12 , c 13 , c 21 , c 22 , and c 23 are the gait data of the human body, and its detailed design is shown in the following case implementation. p is the percentage of gait cycle, t is the exercise time of the rehabilitated person, and T aa is the average cycle of the rehabilitated person's exercise pace. floor(t/T) represents taking the integer part to the left, such as floor(3.5)=3, and the final result is 0≤p≤1. e 1 is the hip joint rotation angle error signal, e 2 is the knee joint rotation angle error signal, s 1 is the hip joint rotation angle error integral signal, where dt represents the integration of the time signal. s 2 is the integral signal of knee joint rotation angle error.
在本发明的一种示例实施例中,根据所述的髋关节转动角与膝关节转动角测量信号,构造非线性滤波微分器,得到髋关节角速率信号与膝关节角速率估计信号包括:In an exemplary embodiment of the present invention, according to the measurement signals of the hip joint rotation angle and the knee joint rotation angle, a nonlinear filter differentiator is constructed to obtain the hip joint angular rate signal and the knee joint angular rate estimation signal including:
D1(n)=(q1(n)-q1a(n))/(Ta|q1(n)-q1a(n)|+ε1);D 1 (n)=(q 1 (n)-q 1a (n))/(T a |q 1 (n)-q 1a (n)|+ε 1 );
D2(n)=(q2(n)-q2a(n))/(Tb|q2(n)-q2a(n)|+ε2);D 2 (n)=(q 2 (n)-q 2a (n))/(T b |q 2 (n)-q 2a (n)|+ε 2 );
其中q1为髋关节转动角测量信号,D1为髋关节转动角速度估计信号,q1a(n)为滤波髋关节转角信号,Ta、ε1、Tb、ε2为常值参数,其详细设计见后文案例实施。q2为膝关节转动角测量信号,D2为膝关节转动角速度估计信号,q2a(n)为滤波膝关节转角信号,T为数据间的时间间隔。where q 1 is the measurement signal of hip joint rotation angle, D 1 is the estimated signal of hip joint rotation angle velocity, q 1a (n) is the filtered hip joint rotation angle signal, T a , ε 1 , T b , ε 2 are constant parameters, and For detailed design, see the following case implementation. q 2 is the measurement signal of knee joint rotation angle, D 2 is the estimated signal of knee joint rotation angle velocity, q 2a (n) is the filtered knee joint rotation angle signal, and T is the time interval between data.
在本发明的一种示例实施例中,根据所述的髋关节角测量值与膝关节角测量值,以及大腿支杆的长度与小腿支杆的长度,构建骨骼系统角加速度矩阵与角速度矩阵及其逆矩阵包括:In an exemplary embodiment of the present invention, according to the hip joint angle measurement value and the knee joint angle measurement value, as well as the length of the thigh strut and the length of the calf strut, the angular acceleration matrix and the angular velocity matrix of the skeletal system are constructed and Its inverse matrix includes:
M0M=E;M 0 M=E;
Π11=-m2l1l2cos(q2)D2;Π 11 =-m 2 l 1 l 2 cos(q 2 )D 2 ;
Π12=-m2l1l2cos(q2)D2/2;Π 12 =-m 2 l 1 l 2 cos(q 2 )D 2 /2;
Π21=-m2l1l2cos(q2)D2/2;Π 21 =-m 2 l 1 l 2 cos(q 2 )D 2 /2;
Π22=0;Π 22 =0;
其中m1为大腿支杆的重量,m2为小腿支杆的重量,M为骨骼系统角加速度矩阵,M0为骨骼系统角加速度逆矩阵,E为单位矩阵。C为骨骼系统角速度矩阵。Where m 1 is the weight of the thigh strut, m 2 is the weight of the calf strut, M is the angular acceleration matrix of the skeletal system, M 0 is the inverse matrix of the angular acceleration of the skeletal system, and E is the identity matrix. C is the angular velocity matrix of the skeletal system.
在本发明的一种示例实施例中,根据所述的髋关节转动角速度估计值与膝关节转动角速度估计值解算角速度等效控制量,再根据康复机器人的物理结构数据,解算大腿杆重力相关量与小腿杆重力相关量包括:In an exemplary embodiment of the present invention, the angular velocity equivalent control quantity is calculated according to the estimated hip joint rotational angular velocity and the knee joint rotational angular velocity, and then the gravity of the thigh bar is calculated according to the physical structure data of the rehabilitation robot Related quantities related to calf bar gravity include:
g1=-m1gl1sin(q1)/2-m2gl2sin(q1-q2)/2-m2gl1sin(q1);g 1 =-m 1 gl 1 sin(q 1 )/2-m 2 gl 2 sin(q 1 -q 2 )/2-m 2 gl 1 sin(q 1 );
g2=-m2gl2sin(q1-q2)/2;g 2 =-m 2 gl 2 sin(q 1 -q 2 )/2;
其中H0a为角速度等效控制量,D1为所述的髋关节转动角速度估计信号,D2为所述的膝关节转动角速度估计信号,h0a1为髋关节角速度等效控制量,h0a2为膝关节角速度等效控制量,g1与g2为大腿杆重力相关量与小腿杆重力相关量,g为重力加速度常数,取值9.8。Where H 0a is the equivalent control quantity of angular velocity, D 1 is the estimated signal of hip joint rotational angular velocity, D 2 is the described signal of knee joint rotational angular velocity estimation, h 0a1 is the equivalent control quantity of hip joint angular velocity, h 0a2 is The equivalent control quantity of the angular velocity of the knee joint, g 1 and g 2 are the gravity-related quantities of the thigh bar and the calf bar gravity-related quantities, g is the gravitational acceleration constant, and the value is 9.8.
在本发明的一种示例实施例中,根据所述的髋关节与膝关节转动角速率估计值,对髋关节摩擦力与膝关节摩擦力进行补偿设计,并解算髋关节与膝关节等效控制量包括:In an example embodiment of the present invention, according to the estimated values of the rotational angular rates of the hip joint and the knee joint, compensation design is carried out for the friction force of the hip joint and the friction force of the knee joint, and the equivalent equation of the hip joint and the knee joint is calculated. Controls include:
fa1=fsλ1+fc(1-λ1);f a1 =f s λ 1 +f c (1-λ 1 );
fa2=fsλ2+fc(1-λ2);f a2 =f s λ 2 +f c (1-λ 2 );
Mf1=la1T1;M f1 = l a1 T 1 ;
Mf2=la2T2;M f2 = l a2 T 2 ;
其中T1与T2分别为髋关节与膝关节负载力测量值,la1为髋关节与髋负载力传感器安装位置之间的距离,la2为膝关节与膝负载力传感器安装位置之间的距离。D1与D2为髋关节与膝关节转动角速率估计值,fa1与fa2为髋关节与膝关节摩擦力补偿量,fs与fc为分别为静摩擦力系数与动摩擦力系数的估计值。Mf1与Mf2为髋关节与膝关节负载力矩估计值,H0a为角速度等效控制量、g1与g2为大腿杆重力相关量与小腿杆重力相关量,u1e与u2e为最终解算所得的髋关节与膝关节等效控制量。Among them, T 1 and T 2 are the measured values of the load force of the hip joint and the knee joint respectively, l a1 is the distance between the hip joint and the installation position of the hip load force sensor, and l a2 is the distance between the knee joint and the installation position of the knee load force sensor distance. D 1 and D 2 are the estimated rotational angular rates of the hip and knee joints, f a1 and f a2 are the friction compensation amounts of the hip and knee joints, f s and f c are the estimates of the coefficient of static friction and the coefficient of dynamic friction, respectively value. M f1 and M f2 are the estimated load moments of the hip joint and knee joint, H 0a is the equivalent control value of the angular velocity, g 1 and g 2 are the gravity-related quantities of the thigh bar and the calf bar gravity-related quantities, and u 1e and u 2e are the final The calculated equivalent control amount of hip joint and knee joint.
在本发明的一种示例实施例中,根据所述的髋关节与膝关节等效控制量,构建髋关节与膝关节干扰观测器,分别解算髋关节与膝关节干扰观测器状态与干扰估计值包括:In an exemplary embodiment of the present invention, according to the equivalent control quantities of the hip joint and the knee joint, a hip joint and knee joint interference observer is constructed, and the state and interference estimation of the hip joint and knee joint interference observer are solved respectively Values include:
x12d=ka1D1+kb1q1;x 12d =k a1 D 1 +k b1 q 1 ;
D1d=u1e-Y110u1-Y120u2;D 1d =u 1e -Y 110 u 1 -Y 120 u 2 ;
x22d=ka2D2+kb2q2;x 22d =k a2 D 2 +k b2 q 2 ;
D2d=u2e-Y210u1-Y220u2;D 2d =u 2e -Y 210 u 1 -Y 220 u 2 ;
其中ka1、kb1、ka2、kb2为常值参数,其详细设计见后文案例实施。为髋关节转动角期望值qd1的导数。为膝关节转动角期望值qd2的导数。u1e为髋关节等效控制量,u1为髋关节控制力矩,u2e为膝关节等效控制量,u2为膝关节控制力矩,Y110、Y120、Y210、Y220为骨骼角加速度系统逆矩阵M0的元素,最终得到为髋关节干扰估计值,w1a为髋关节干扰观测器状态。为膝关节干扰估计值,w2a为膝关节干扰观测器状态。Among them, k a1 , k b1 , k a2 , and k b2 are constant value parameters, and their detailed design is shown in the following case implementation. is the derivative of the expected value q d1 of the hip joint rotation angle. is the derivative of the expected value q d2 of the knee joint rotation angle. u 1e is the equivalent control quantity of the hip joint, u 1 is the control torque of the hip joint, u 2e is the equivalent control quantity of the knee joint, u 2 is the control torque of the knee joint, Y 110 , Y 120 , Y 210 , and Y 220 are bone angles The elements of the inverse matrix M 0 of the acceleration system, and finally get is the estimated value of hip joint interference, w 1a is the state of hip joint interference observer. is the estimated value of the knee joint disturbance, w 2a is the state of the knee joint disturbance observer.
在本发明的一种示例实施例中,根据所述的髋关节与膝关节干扰估计值、髋关节与膝关节转动角误差量、误差积分量以及髋关节与膝关节转动角速率信号估计值,进行线性组合,生成髋关节与膝关节控制力矩包括:In an exemplary embodiment of the present invention, according to the estimated value of the interference between the hip joint and the knee joint, the error amount of the rotation angle of the hip joint and the knee joint, the error integration amount, and the estimated value of the rotational angle rate signal of the hip joint and the knee joint, Perform linear combination to generate hip joint and knee joint control torque including:
其中与分别为所述的髋关节与膝关节干扰估计值,e1与e2分别为髋关节与膝关节转动角误差量,s1与s2分别为髋关节与膝关节转动角误差积分量,u1e与u2e分别为髋关节与膝关节等效控制量,D1与D2分别为髋关节与膝关节转动角速率信号估计值,u1与u2为最终所得的髋关节与膝关节控制力矩,k21、k22与k23、k11、k12与k13为常值参数,其详细设计见后文案例实施。in and are the estimated values of interference between the hip joint and the knee joint, respectively, e 1 and e 2 are the rotational angle errors of the hip joint and the knee joint respectively, s 1 and s 2 are the integral rotational angle errors of the hip joint and the knee joint respectively, u 1e and u 2e are the equivalent control quantities of the hip joint and knee joint, respectively, D 1 and D 2 are the estimated values of the rotational angular rate signals of the hip joint and knee joint, respectively, and u 1 and u 2 are the final control of the hip joint and knee joint Torque, k 21 , k 22 and k 23 , k 11 , k 12 and k 13 are constant value parameters, the detailed design of which is shown in the following case implementation.
将所生成的髋关节控制力矩与膝关节控制力矩,输送给下肢骨骼康复机器人系统,即可辅助康复者进行辅助行走。The generated hip joint control torque and knee joint control torque are sent to the lower limb bone rehabilitation robot system to assist the rehabilitation person to walk.
有益效果Beneficial effect
本发明提供的一种基于干扰补偿的下肢骨骼康复机器人运动控制方法,其优点在于,首先采用了干扰观测器的方法,使得了康复机器人中的负载不确定性、摩擦不确定性、未知干扰不确定性能够有效地得到估计补偿。其次,采用等效不确定性的方法,对康复机器人的标称量进行了等效估算,同时对负载进行了测量补偿,对未知摩擦力矩进行了估计补偿。上述两方面的补偿都能大大提高康复机器人步态跟踪控制的动态效果,提高康复者辅助步行运动的舒适型。最后,通过非线性滤波微分的方式,对康复机器人的髋与膝运动角速率进行了估算,从而避免了安装角速率测量元器件,也降低了康复机器人生产制造的经济成本。因此,本发明具有经济实用舒适的优点,具有很高的工程应用推广价值。The present invention provides a motion control method for lower limb bone rehabilitation robot based on disturbance compensation, which has the advantage of adopting the method of disturbance observer at first, so that the load uncertainty, friction uncertainty and unknown disturbance in the rehabilitation robot are invariable. Certainty can be effectively compensated by estimation. Secondly, by using the method of equivalent uncertainty, the nominal quantity of the rehabilitation robot is equivalently estimated, and the load is measured and compensated, and the unknown friction torque is estimated and compensated. The compensation in the above two aspects can greatly improve the dynamic effect of the rehabilitation robot's gait tracking control, and improve the comfort of the rehabilitation person's assisted walking movement. Finally, the angular velocity of the hip and knee motion of the rehabilitation robot is estimated by means of nonlinear filter differentiation, which avoids the installation of angular velocity measurement components and reduces the economic cost of the rehabilitation robot. Therefore, the present invention has the advantages of economy, practicality and comfort, and has high engineering application and popularization value.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention. Apparently, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.
图1是本发明提供的一种基于干扰补偿的下肢骨骼康复机器人运动控制方法的流程图;Fig. 1 is a flow chart of a motion control method for a lower limb bone rehabilitation robot based on interference compensation provided by the present invention;
图2是本发明实施例所提供方法的下肢骨骼康复机器人几何结构示意图;Fig. 2 is a schematic diagram of the geometric structure of the lower limb bone rehabilitation robot according to the method provided by the embodiment of the present invention;
图3是本发明实施例所提供方法的髋关节转动角期望值曲线(单位:度);Fig. 3 is the hip joint rotation angle expected value curve (unit: degree) of the method provided by the embodiment of the present invention;
图4是本发明实施例所提供方法的髋关节转动角测量值曲线(单位:度);Fig. 4 is the measured value curve (unit: degree) of the hip joint rotation angle of the method provided by the embodiment of the present invention;
图5是本发明实施例所提供方法的髋关节转动角测量值与期望值对比曲线(单位:度);Fig. 5 is a comparison curve (unit: degree) between the measured value of the hip joint rotation angle and the expected value according to the method provided by the embodiment of the present invention;
图6是本发明实施例所提供方法的髋关节转动误差角曲线(单位:度);Fig. 6 is the hip joint rotation error angle curve (unit: degree) of the method provided by the embodiment of the present invention;
图7是本发明实施例所提供方法的膝关节转动角期望值曲线(单位:度);Fig. 7 is the expected value curve of knee joint rotation angle (unit: degree) according to the method provided by the embodiment of the present invention;
图8是本发明实施例所提供方法的膝关节转动角测量值曲线(单位:度);Fig. 8 is the knee joint rotation angle measured value curve (unit: degree) according to the method provided by the embodiment of the present invention;
图9是本发明实施例所提供方法的膝关节转动角测量值与期望值对比曲线(单位:度);Fig. 9 is a comparison curve (unit: degree) between the measured value of the knee joint rotation angle and the expected value according to the method provided by the embodiment of the present invention;
图10是本发明实施例所提供方法的膝关节转动误差角曲线(单位:度);Fig. 10 is the knee joint rotation error angle curve (unit: degree) of the method provided by the embodiment of the present invention;
图11是本发明实施例所提供方法的髋关节转动角速度估计信号(单位:度/秒);Fig. 11 is the hip joint rotation angular velocity estimation signal (unit: degree/second) of the method provided by the embodiment of the present invention;
图12是本发明实施例所提供方法的膝关节转动角速度估计信号(单位:度/秒);Fig. 12 is the knee joint rotation angular velocity estimation signal (unit: degree/second) of the method provided by the embodiment of the present invention;
图13是本发明实施例所提供方法的髋关节干扰估计值(单位:牛米);Fig. 13 is the hip joint interference estimated value (unit: Nm) of the method provided by the embodiment of the present invention;
图14是本发明实施例所提供方法的膝关节干扰估计值(单位:牛米);Fig. 14 is the knee joint interference estimated value (unit: Nm) of the method provided by the embodiment of the present invention;
图15是本发明实施例所提供方法的髋关节控制力矩(单位:牛米);Fig. 15 is the hip joint control moment (unit: Nm) of the method provided by the embodiment of the present invention;
图16是本发明实施例所提供方法的膝关节控制力矩(单位:牛米)。Fig. 16 is the knee joint control torque (unit: Nm) of the method provided by the embodiment of the present invention.
具体实施方式Detailed ways
现在将参考附图基础上更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本发明的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solution of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the invention.
本发明提供了一种基于干扰补偿的下肢骨骼康复机器人运动控制方法,其首先采用非线性滤波器对髋关节与膝关节的转动角进行角速率估算,从而避免了角速率测量装置的使用,使得控制经济成本下降。其次,采用力传感器测量的方式,对康复机器人的负载力矩进行估计与补偿。然后采用摩擦力建模与等效控制的方式,对系统摩擦力矩与标称量进行补偿。最后,采用干扰观测器的方式,分别对髋关节与膝关节系统的未知不确定性进行实时在线补偿,从而使得整个康复者辅助运动控制的舒适度大大提升。The present invention provides a motion control method for a lower limb bone rehabilitation robot based on interference compensation. First, a nonlinear filter is used to estimate the angular rate of the rotation angle of the hip joint and the knee joint, thereby avoiding the use of an angular rate measuring device, so that Control economic cost down. Secondly, the load moment of the rehabilitation robot is estimated and compensated by means of force sensor measurement. Then, the system friction torque and nominal value are compensated by means of friction modeling and equivalent control. Finally, the disturbance observer method is used to compensate the unknown uncertainties of the hip joint and knee joint systems in real time and online, thereby greatly improving the comfort of the entire rehabilitation patient's assisted motion control.
下面,将结合附图对本发明的一种基于干扰补偿的下肢骨骼康复机器人运动控制方法进行进一步的解释以及说明。参考图1所示,该一种基于干扰补偿的下肢骨骼康复机器人运动控制方法包括以下步骤:Next, a motion control method for a lower limb bone rehabilitation robot based on interference compensation of the present invention will be further explained and described in conjunction with the accompanying drawings. Referring to Fig. 1, the motion control method of a lower limb bone rehabilitation robot based on interference compensation includes the following steps:
步骤S10,在下肢骨骼康复机器人大腿杆与小腿杆上分别安装FUTEK LSB200型力传感器,测量髋关节与膝关节负载力,并根据传感器位置,分别对髋关节与膝关节负载力矩进行估算;Step S10, install FUTEK LSB200 force sensors on the thigh bar and calf bar of the lower limb bone rehabilitation robot respectively, measure the load force of the hip joint and knee joint, and estimate the load moment of the hip joint and knee joint respectively according to the position of the sensor;
具体的,首先在如图2所示的下肢骨骼康复机器人C位置安装FUTEK LSB200型力传感器,测量髋关节负载力,记作T1;测量髋关节A与C之间的距离,记作la1。测量下肢骨骼康复机器人大腿杆A与D之间的距离,记作l1。Specifically, first install a FUTEK LSB200 force sensor at position C of the lower limb bone rehabilitation robot as shown in Figure 2, measure the load force of the hip joint, denoted as T1 ; measure the distance between hip joints A and C, denoted as l a1 . Measure the distance between thigh rods A and D of the lower limb bone rehabilitation robot, denoted as l 1 .
其次,在附图2所示的下肢骨骼康复机器人F位置安装FUTEK LSB200型力传感器,测量膝关节负载力,记作T2;测量膝关节D与F之间的距离,记作la2。测量下肢骨骼康复机器人小腿杆D与G之间的距离,记作l2。Secondly, install a FUTEK LSB200 force sensor at the position F of the lower limb bone rehabilitation robot shown in Figure 2 to measure the load force of the knee joint, denoted as T 2 ; measure the distance between the knee joints D and F, denoted as la2 . Measure the distance between the calf pole D and G of the lower limb bone rehabilitation robot, denoted as l 2 .
最后,按照如下方式对髋关节与膝关节负载力矩进行估计:Finally, the hip and knee load moments are estimated as follows:
Mf1=la1T1;Mf2=la2T2;M f1 = l a1 T 1 ; M f2 = l a2 T 2 ;
其中Mf1为髋关节负载力矩估计值,Mf2为髋关节负载力矩估计值。Among them, M f1 is the estimated value of the hip joint load moment, and M f2 is the estimated value of the hip joint load moment.
步骤S20,在下肢骨骼康复机器人大腿杆与小腿杆上分别安装增量式正交光电编码器,测量骨骼机器人的髋关节转动角与膝关节转动角,并根据人体步态的运动数据,得到髋关节角误差与膝关节角误差,并分别进行积分,得到误差积分信号;Step S20, install incremental orthogonal photoelectric encoders on the thigh bar and calf bar of the lower limb bone rehabilitation robot respectively, measure the hip joint rotation angle and knee joint rotation angle of the bone robot, and obtain the hip joint rotation angle according to the motion data of the human body gait. The joint angle error and the knee joint angle error are integrated separately to obtain an error integral signal;
具体的,首先在附图2所示的下肢骨骼康复机器人B位置安装增量式正交光电编码器,测量髋关节转动角,记作q1;在E位置安装增量式正交光电编码器,测量膝关节转动角,记作q2。Concretely, at first the incremental quadrature photoelectric encoder is installed at the position B of the lower limb bone rehabilitation robot shown in accompanying drawing 2, and the rotation angle of the hip joint is measured, denoted as q 1 ; the incremental quadrature photoelectric encoder is installed at the E position , to measure the knee joint rotation angle, denoted as q 2 .
其次,根据人体步态的运动数据,设置髋关节转动角与膝关节转动角的期望值如下:Secondly, according to the motion data of the human gait, set the expected values of the hip joint rotation angle and the knee joint rotation angle as follows:
qd1=a11sin(b11p+c11)+a12sin(b12p+c12)+a13sin(b13p+c13);q d1 =a 11 sin(b 11 p+c 11 )+a 12 sin(b 12 p+c 12 )+a 13 sin(b 13 p+c 13 );
qd2=a21sin(b21p+c21)+a22sin(b22p+c22)+a23sin(b23p+c23);q d2 =a 21 sin(b 21 p+c 21 )+a 22 sin(b 22 p+c 22 )+a 23 sin(b 23 p+c 23 );
其中qd1为髋关节转动角的期望值,qd2为膝关节转动角的期望值,a11、a12、a13、a21、a22、a23、b11、b12、b13、b21、b22、b23、c11、c12、c13、c21、c22、c23为人体为步态数据,其详细设计见后文案例实施。p为步态周期的百分比,其计算方式如下:Where q d1 is the expected value of the hip joint rotation angle, q d2 is the expected value of the knee joint rotation angle, a 11 , a 12 , a 13 , a 21 , a 22 , a 23 , b 11 , b 12 , b 13 , b 21 , b 22 , b 23 , c 11 , c 12 , c 13 , c 21 , c 22 , and c 23 are the gait data of the human body, and its detailed design is shown in the case implementation later. p is the percentage of the gait cycle, which is calculated as follows:
p=t/Taa-floor(t/Taa);p=t/T aa -floor(t/T aa );
其中t为康复者的运动时间,Taa为康复者运动步伐的平均周期。floor(t/T)表示向左取整数部分,如floor(3.5)=3,最终得到的0≤p≤1。Where t is the exercising time of the rehabilitated person, and T aa is the average cycle of the rehabilitated person's exercise pace. floor(t/T) represents taking the integer part to the left, such as floor(3.5)=3, and the final result is 0≤p≤1.
最后,根据所述的髋关节转动角测量值与期望值进行比较,得到髋关节转角误差信号,记作e1,其计算方式如下:Finally, according to the comparison between the measured value of the hip joint rotation angle and the expected value, the error signal of the hip joint rotation angle is obtained, denoted as e 1 , and its calculation method is as follows:
e1=q1-qd1;e 1 =q 1 -q d1 ;
根据所述的膝关节转动角测量值与期望值进行比较,得到膝关节转角误差信号,记作e2,其计算方式如下:According to the comparison between the measured value of the knee joint rotation angle and the expected value, an error signal of the knee joint rotation angle is obtained, denoted as e 2 , and its calculation method is as follows:
e2=q2-qd2;e 2 =q 2 -q d2 ;
根据所述的髋关节转角误差信号进行积分得到髋关节转角误差积分信号,记作s1,其计算方式如下:Integrate according to the hip joint angle error signal to obtain the hip joint angle error integral signal, which is denoted as s 1 , and its calculation method is as follows:
s1=∫e1dt;s 1 =∫ e 1 dt;
其中dt表示对时间信号进行积分。where dt means integrating the time signal.
根据所述的膝关节转角误差信号进行积分得到膝关节转角误差积分信号,记作s2,其计算方式如下:Integrate according to the knee joint angle error signal to obtain the knee joint angle error integral signal, denoted as s 2 , and its calculation method is as follows:
s2=∫e2dt;s 2 =∫e 2 dt;
其中dt表示对时间信号进行积分。where dt means integrating the time signal.
步骤S30,根据所述的髋关节转动角与膝关节转动角测量信号,构造非线性滤波微分器,得到髋关节角速率信号与膝关节角速率估计信号;Step S30, constructing a nonlinear filter differentiator according to the measurement signals of the hip joint rotation angle and the knee joint rotation angle to obtain the hip joint angular rate signal and the knee joint angular rate estimation signal;
具体的,首先,根据所述的髋关节转动角测量信号q1,建立如下的非线性滤波微分器,解算髋关节转动角速度估计信号,记作D1,其计算方式如下:Specifically, first, according to the hip joint rotation angle measurement signal q 1 , the following nonlinear filter differentiator is established to solve the hip joint rotation angular velocity estimation signal, denoted as D 1 , and its calculation method is as follows:
D1(n)=(q1(n)-q1a(n))/(Ta|q1(n)-q1a(n)|+ε1);D 1 (n)=(q 1 (n)-q 1a (n))/(T a |q 1 (n)-q 1a (n)|+ε 1 );
其中q1a(n)为滤波髋关节转角信号,Ta、ε1为常值参数,其详细设计见后文案例实施。D1(n)为D1的第n个数据,T为数据间的时间间隔。Among them, q 1a (n) is the filtered hip joint rotation angle signal, and T a and ε 1 are constant parameters. For the detailed design, please refer to the case implementation later. D 1 (n) is the nth data of D 1 , and T is the time interval between data.
其次,根据所述的膝关节转动角测量信号q2,建立如下的非线性滤波微分器,解算膝关节转动角速度估计信号,记作D2,其计算方式如下:Secondly, according to the knee joint rotation angle measurement signal q 2 , the following nonlinear filter differentiator is established to solve the knee joint rotation angular velocity estimation signal, denoted as D 2 , and its calculation method is as follows:
D2(n)=(q2(n)-q2a(n))/(Tb|q2(n)-q2a(n)|+ε2);D 2 (n)=(q 2 (n)-q 2a (n))/(T b |q 2 (n)-q 2a (n)|+ε 2 );
其中q2a(n)为滤波膝关节转角信号,Tb、ε2为常值参数,其详细设计见后文案例实施。D2(n)为D2的第n个数据,T为数据间的时间间隔。Among them, q 2a (n) is the filtered knee joint rotation angle signal, and T b and ε 2 are constant parameters. For the detailed design, please refer to the case implementation later. D 2 (n) is the nth data of D 2 , and T is the time interval between data.
步骤S40,测量大腿支杆的重量与小腿支杆的重量,根据所述的髋关节角测量值与膝关节角测量值,以及大腿支杆的长度与小腿支杆的长度,构建骨骼系统角加速度矩阵与角速度矩阵,并进行逆变换,得到骨骼系统角加速度逆矩阵;Step S40, measuring the weight of the thigh strut and the weight of the calf strut, and constructing the angular acceleration of the skeletal system according to the measured values of the hip joint angle and the knee joint angle, as well as the lengths of the thigh strut and the calf strut Matrix and angular velocity matrix, and perform inverse transformation to obtain the inverse matrix of angular acceleration of the skeletal system;
具体的,首先,测量大腿支杆的重量,记作m1,测量小腿支杆的重量,记作m2。Specifically, firstly, measure the weight of the thigh strut, denoted as m 1 , and measure the weight of the calf strut, denoted as m 2 .
其次,根据所述的髋关节角测量值与膝关节角测量值,计算骨骼系统角加速度矩阵的元素值如下:Secondly, according to the measured value of the hip joint angle and the measured value of the knee joint angle, the element values of the angular acceleration matrix of the skeletal system are calculated as follows:
然后,根据骨骼系统角加速度矩阵的元素值,组建骨骼系统角加速度矩阵,记作M,其组成如下:Then, according to the element values of the angular acceleration matrix of the skeletal system, the angular acceleration matrix of the skeletal system is established, denoted as M, and its composition is as follows:
并求解骨骼角加速度系统逆矩阵,记作M0,其满足M0M=E,其中E为单位矩阵。同时M0的组成如下:And solve the inverse matrix of the bone angular acceleration system, denoted as M 0 , which satisfies M 0 M=E, where E is an identity matrix. At the same time, the composition of M0 is as follows:
最后,根据所述的髋关节角测量值与膝关节角测量值以及其角速度估计值,计算骨骼系统角速度矩阵的元素值如下:Finally, according to the hip joint angle measurement value and knee joint angle measurement value and their angular velocity estimation values, the element values of the skeletal system angular velocity matrix are calculated as follows:
Π11=-m2l1l2cos(q2)D2;Π 11 =-m 2 l 1 l 2 cos(q 2 )D 2 ;
Π12=-m2l1l2cos(q2)D2/2;Π 12 =-m 2 l 1 l 2 cos(q 2 )D 2 /2;
Π21=-m2l1l2cos(q2)D2/2;Π 21 =-m 2 l 1 l 2 cos(q 2 )D 2 /2;
Π22=0;Π 22 =0;
根据骨骼系统角速度矩阵的元素构建骨骼系统角速度矩阵,记作C,其组成如下:Construct the angular velocity matrix of the skeletal system according to the elements of the angular velocity matrix of the skeletal system, denoted as C, and its composition is as follows:
步骤S50,根据所述的髋关节转动角速度估计值与膝关节转动角速度估计值解算角速度等效控制量,再根据康复机器人的物理结构数据,解算大腿杆重力相关量与小腿杆重力相关量;Step S50, calculate the equivalent control quantity of angular velocity according to the estimated value of the hip joint rotation angular velocity and the knee joint rotation angular velocity, and then calculate the gravity related quantity of the thigh bar and the gravity related quantity of the calf bar according to the physical structure data of the rehabilitation robot ;
具体的,首先根据所述的髋关节转动角速度估计值与膝关节转动角速度估计值与骨骼系统角速度矩阵,解算角速度等效控制量,其记作H0a,其组成方式如下:Specifically, firstly, according to the estimated hip joint rotational angular velocity, knee joint rotational angular velocity estimated value and skeletal system angular velocity matrix, the angular velocity equivalent control quantity is calculated, which is denoted as H 0a , and its composition is as follows:
其中h0a1为髋关节角速度等效控制量,h0a2为膝关节角速度等效控制量。H0a的计算方式如下:Among them, h 0a1 is the equivalent control quantity of hip joint angular velocity, and h 0a2 is the equivalent control quantity of knee joint angular velocity. H 0a is calculated as follows:
其中D1为所述的髋关节转动角速度估计信号,D2为所述的膝关节转动角速度估计信号。Wherein D 1 is the estimated signal of the rotational angular velocity of the hip joint, and D 2 is the estimated signal of the rotational angular velocity of the knee joint.
其次,根据髋关节转动角与膝关节转动角信号以及康复机器人的物理结构数据,解算大腿杆重力相关量与小腿杆重力相关量,记作g1与g2,其计算方式如下:Secondly, according to the hip joint rotation angle and knee joint rotation angle signals and the physical structure data of the rehabilitation robot, the gravitational relative quantities of the thigh bar and the calf bar are calculated, denoted as g 1 and g 2 , and the calculation method is as follows:
g1=-m1gl1sin(q1)/2-m2gl2sin(q1-q2)/2-m2gl1sin(q1);g 1 =-m 1 gl 1 sin(q 1 )/2-m 2 gl 2 sin(q 1 -q 2 )/2-m 2 gl 1 sin(q 1 );
g2=-m2gl2sin(q1-q2)/2;g 2 =-m 2 gl 2 sin(q 1 -q 2 )/2;
其中g为重力加速度常数,取9.8即可。Where g is the gravitational acceleration constant, which can be taken as 9.8.
步骤S60,根据所述的髋关节与膝关节转动角速率估计值,对髋关节摩擦力与膝关节摩擦力进行补偿设计,然后根据所述的髋关节与膝关节负载力矩估计值以及骨骼角加速度系统逆矩阵,解算髋关节与膝关节等效控制量;Step S60, according to the estimated value of hip joint and knee joint rotation angular rate, carry out compensation design for hip joint friction force and knee joint friction force, and then according to the described value of hip joint and knee joint load moment estimate and bone angular acceleration System inverse matrix, solve the equivalent control quantity of hip joint and knee joint;
具体的,首先根据所述的髋关节与膝关节转动角速率估计值D1与D2,分别解算髋关节与膝关节摩擦力补偿量,分别记作fa1与fa2,其解算方式如下:Specifically, firstly, according to the estimated values D 1 and D 2 of the rotational angular rates of the hip joint and the knee joint, respectively calculate the compensation amount of the friction force of the hip joint and the knee joint, denoted as f a1 and f a2 respectively, and the calculation method as follows:
fa1=fsλ1+fc(1-λ1);f a1 =f s λ 1 +f c (1-λ 1 );
fa2=fsλ2+fc(1-λ2);f a2 =f s λ 2 +f c (1-λ 2 );
其中fs与fc为分别为静摩擦力系数与动摩擦力系数的估计值。where f s and f c are the estimated values of the static friction coefficient and the dynamic friction coefficient, respectively.
其次,根据髋关节与膝关节负载力矩估计值Mf1与Mf2、角速度等效控制量H0a、髋关节与膝关节摩擦力补偿量fa1与fa2以及大腿杆重力相关量与小腿杆重力相关量g1与g2,解算髋关节与膝关节等效控制量,分别记作u1e与u2e,其计算方式如下:Secondly, according to the estimated load moments M f1 and M f2 of the hip and knee joints, the equivalent control value of the angular velocity H 0a , the friction compensation values of the hip and knee joints f a1 and f a2 , and the gravity-related quantities of the thigh bar and the gravity of the calf bar The related quantities g 1 and g 2 are used to calculate the equivalent control quantities of the hip joint and the knee joint, which are respectively denoted as u 1e and u 2e , and the calculation method is as follows:
步骤S70,根据所述的髋关节与膝关节等效控制量,构建髋关节与膝关节干扰观测器,分别解算髋关节与膝关节干扰观测器状态与干扰估计值;Step S70, according to the equivalent control quantities of the hip joint and the knee joint, construct the interference observer of the hip joint and the knee joint, respectively solve the states and estimated values of the interference of the hip joint and the knee joint;
具体的,首先,设计髋关节干扰观测器如下:Specifically, firstly, the hip joint disturbance observer is designed as follows:
x12d=ka1D1+kb1q1;x 12d =k a1 D 1 +k b1 q 1 ;
其中ka1、kb1为常值参数,其详细设计见后文案例实施。为髋关节转动角期望值qd1的导数。其中D1d的计算如下:Among them, k a1 and k b1 are constant value parameters, and their detailed design is shown in the following case implementation. is the derivative of the expected value q d1 of the hip joint rotation angle. where D 1d is calculated as follows:
D1d=u1e-Y110u1-Y120u2;D 1d =u 1e -Y 110 u 1 -Y 120 u 2 ;
其中u1e为髋关节等效控制量,u1为髋关节控制力矩,u2为膝关节控制力矩,Y110、Y120为骨骼角加速度系统逆矩阵M0的元素,如下所示:Among them, u 1e is the equivalent control quantity of the hip joint, u 1 is the control torque of the hip joint, u 2 is the control torque of the knee joint, Y 110 and Y 120 are the elements of the inverse matrix M 0 of the bone angular acceleration system, as follows:
最终得到即为髋关节干扰估计值,w1a为髋关节干扰观测器状态。finally got That is, the estimated value of the hip joint disturbance, w 1a is the state of the hip joint disturbance observer.
其次,设计膝关节干扰观测器如下:Second, the knee joint disturbance observer is designed as follows:
x22d=ka2D2+kb2q2;x 22d =k a2 D 2 +k b2 q 2 ;
其中ka2、kb2为常值参数,其详细设计见后文案例实施。为膝关节转动角期望值qd2的导数。其中D2d的计算如下:Among them, k a2 and k b2 are constant value parameters, and their detailed design is shown in the following case implementation. is the derivative of the expected value q d2 of the knee joint rotation angle. where D 2d is calculated as follows:
D2d=u2e-Y210u1-Y220u2;D 2d =u 2e -Y 210 u 1 -Y 220 u 2 ;
其中u2e为膝关节等效控制量,u1为髋关节控制力矩,u2为膝关节控制力矩,Y210、Y220为骨骼角加速度系统逆矩阵M0的元素,如下所示:Among them, u 2e is the equivalent control quantity of the knee joint, u 1 is the control torque of the hip joint, u 2 is the control torque of the knee joint, Y 210 and Y 220 are the elements of the inverse matrix M 0 of the bone angular acceleration system, as follows:
最终得到即为膝关节干扰估计值,w2a为膝关节干扰观测器状态。finally got That is, the estimated value of the knee joint disturbance, w 2a is the state of the knee joint disturbance observer.
步骤S80,根据所述的髋关节与膝关节干扰估计值、髋关节与膝关节转动角误差量、误差积分量以及髋关节与膝关节转动角速率信号估计值,进行线性组合,生成髋关节与膝关节控制力矩,实现最终的下肢骨骼康复机器人运动控制。Step S80, according to the estimated hip joint and knee joint interference value, the hip joint and knee joint rotation angle error amount, the error integral amount and the hip joint and knee joint rotation angular rate signal estimated value, perform linear combination to generate the hip joint and knee joint Knee joint control moment for ultimate lower limb skeletal rehabilitation robot motion control.
具体的,首先根据所述的髋关节干扰估计值髋关节转动角误差量e1、、误差积分量s1、髋关节等效控制量u1e与髋关节转动角速率信号估计值D1进行线性组合,生成髋关节控制力矩u1,其计算方式如下:Specifically, firstly, according to the estimated value of hip joint interference The hip joint rotation angle error amount e 1 , the error integral amount s 1 , the hip joint equivalent control amount u 1e and the estimated value D 1 of the hip joint rotation angle rate signal are linearly combined to generate the hip joint control torque u 1 , and the calculation method is as follows:
其中k11、k12与k13为常值参数,其详细设计见后文案例实施。Among them, k 11 , k 12 and k 13 are constant value parameters, and their detailed design is shown in the following case implementation.
其次,根据所述的膝关节干扰估计值膝关节转动角误差量e2、误差积分量s2、膝关节等效控制量u2e与膝关节转动角速率信号估计值D2进行线性组合,生成膝关节控制力矩u2,其计算方式如下:Second, according to the estimate of the knee joint disturbance Knee joint rotation angle error e 2 , error integral s 2 , knee joint equivalent control value u 2e and knee joint rotation angle rate signal estimated value D 2 are linearly combined to generate knee joint control torque u 2 , which is calculated as follows :
其中k21、k22与k23为常值参数,其详细设计见后文案例实施。Among them, k 21 , k 22 and k 23 are constant value parameters, and their detailed design is shown in the following case implementation.
最后,根据所生成的髋关节控制力矩与膝关节控制力矩,输送给下肢骨骼康复机器人系统,即可辅助康复者进行辅助行走。Finally, according to the generated hip joint control torque and knee joint control torque, it is sent to the lower limb bone rehabilitation robot system, which can assist the rehabilitation person to perform assisted walking.
案例实施与计算机仿真模拟结果分析Case implementation and computer simulation simulation results analysis
为验证本发明所提供方法的正确性与有效性,特提供如下案例仿真进行模拟。In order to verify the correctness and effectiveness of the method provided by the present invention, the following case simulation is provided for simulation.
在步骤S10中,测量得到l1=0.52,l2=0.42。在步骤S20中,选取Taa=2,a11=20、a12=81、a13=2.5、a21=34、a22=8、a23=23、b11=7.3、b12=0.07、b13=17、b21=2、b22=15、b23=11、c11=1.1、c12=-0.02、c13=-4.7、c21=-3.4、c22=-1、c23=-2.3。得到髋关节转动角期望值如图3所示,髋关节转动角测量值如图4所示,两者的对比图如图5所示,髋关节转动误差角如图6所示,膝关节转动角期望值如图7所示,膝关节转动角测量值如图8所示,两者的对比图如图9所示。膝关节转动误差角如图10所示。在步骤S30中,选取Ta=0.01、ε1=0.05、Tb=0.01、ε2=0.05、T=0.001,得到髋关节转动角速度估计信号如图11所示,膝关节转动角速度估计信号如图12所示。In step S10, l 1 =0.52 and l 2 =0.42 are measured. In step S20, select T aa =2, a 11 =20, a 12 =81, a 13 =2.5, a 21 =34, a 22 =8, a 23 = 23 , b 11 =7.3, b 12 =0.07 , b 13 =17, b 21 =2, b 22 =15, b 23 =11, c 11 =1.1, c 12 =-0.02, c 13 =-4.7, c 21 =-3.4, c 22 =-1, c 23 =-2.3. The expected value of the hip joint rotation angle is shown in Figure 3, the measured value of the hip joint rotation angle is shown in Figure 4, the comparison between the two is shown in Figure 5, the hip joint rotation error angle is shown in Figure 6, and the knee joint rotation angle The expected value is shown in Figure 7, the measured value of the knee joint rotation angle is shown in Figure 8, and the comparison between the two is shown in Figure 9. The knee joint rotation error angle is shown in Fig. 10. In step S30, T a = 0.01, ε 1 = 0.05, T b = 0.01, ε 2 = 0.05, T = 0.001 are selected to obtain the estimated signal of the rotational angular velocity of the hip joint as shown in Figure 11, and the estimated signal of the rotational angular velocity of the knee joint is shown in Figure 12 shows.
在步骤S40与步骤S50中,测量得到m1=1.5,m2=1。在步骤S60中,选取fs=0.05与fc=0.05。在步骤S70中,选取ka1=5、kb1=0.3、ka2=5、kb2=0.3,得到髋关节干扰估计值如图13所示、膝关节干扰估计值如图14所示。In step S40 and step S50, m 1 =1.5 and m 2 =1 are measured. In step S60, f s =0.05 and f c =0.05 are selected. In step S70, k a1 =5, k b1 =0.3, k a2 =5, k b2 =0.3 are selected to obtain the estimated hip joint interference as shown in FIG. 13 and the knee joint interference estimated value as shown in FIG. 14 .
在步骤S80中,选取k11=255、k12=20、k13=2、k21=255、k22=20、k23=2,得到最终的髋关节控制力矩如图15所示,膝关节控制力矩如图16所示。In step S80, select k 11 =255, k 12 =20, k 13 =2, k 21 =255, k 22 =20, k 23 =2 to obtain the final hip joint control torque as shown in Figure 15, the knee The joint control torque is shown in Fig. 16.
由图13与图14可以看出,本发明所提供方法,给对髋关节与膝关节的未知干扰力矩以及系统不确定性进行估计,其估计值随着步态的进行而波动。由图5与图9可以看出本发明所提供的方法能够对期望的步态进行较好的跟踪,而图6与图10给出了系统干扰与不确定性存在情况下的跟踪误差,可以看出其误差围绕0值上下波动,而且由图5与图9给出的对比曲线可以看出,其跟踪效果能够满足康复者的需求。图11与图12给出了髋关节转动角速率与膝关节转动角速率的估计值。而本发明仅对髋关节与膝关节的转动角进行了简单测量,而对两者的角速率未进行测量,而进行数字滤波微分的近似估算求解。从而可以看出,该估算值完全能够满足康复机器人的控制需求,从而省下了角速度测量元器件的安装,使得整个方法根据简单经济。综上所述,本发明所提供的下肢骨骼康复机器人方法是完全可行的,具有很高的工程实用价值。It can be seen from Fig. 13 and Fig. 14 that the method provided by the present invention estimates the unknown disturbance torque and system uncertainty of the hip joint and knee joint, and the estimated value fluctuates with the progress of the gait. It can be seen from Fig. 5 and Fig. 9 that the method provided by the present invention can better track the desired gait, while Fig. 6 and Fig. 10 show the tracking error in the presence of system interference and uncertainty, which can be It can be seen that the error fluctuates around the value of 0, and it can be seen from the comparison curves given in Figure 5 and Figure 9 that the tracking effect can meet the needs of the rehabilitated. Figures 11 and 12 give estimates of the hip and knee rotational angular rates. However, the present invention only simply measures the rotation angles of the hip joint and the knee joint, and does not measure the angular rates of the two, but performs approximate estimation and solution of the digital filter differential. It can be seen that the estimated value can fully meet the control requirements of the rehabilitation robot, thereby saving the installation of angular velocity measurement components, making the whole method simple and economical. To sum up, the lower limb bone rehabilitation robot method provided by the present invention is completely feasible and has high engineering practical value.
本领域技术人员在考虑说明书及实践这类的发明后,将容易想到本发明的其他实施例。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未指明的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of such an invention. This application is intended to cover any modification, use or adaptation of the present invention. These modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not specified in the present invention . The specification and examples are to be considered exemplary only, with the true scope and spirit of the invention indicated by the appended claims.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010404277.6A CN112089580B (en) | 2020-05-13 | 2020-05-13 | A Motion Control Method for Lower Limb Skeletal Rehabilitation Robot Based on Disturbance Compensation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010404277.6A CN112089580B (en) | 2020-05-13 | 2020-05-13 | A Motion Control Method for Lower Limb Skeletal Rehabilitation Robot Based on Disturbance Compensation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112089580A CN112089580A (en) | 2020-12-18 |
CN112089580B true CN112089580B (en) | 2023-02-28 |
Family
ID=73750083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010404277.6A Active CN112089580B (en) | 2020-05-13 | 2020-05-13 | A Motion Control Method for Lower Limb Skeletal Rehabilitation Robot Based on Disturbance Compensation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112089580B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113855473B (en) * | 2021-08-25 | 2023-08-15 | 上海傅利叶智能科技有限公司 | Method and device for controlling exoskeleton robot and exoskeleton robot |
CN113855472B (en) * | 2021-08-25 | 2023-11-28 | 上海傅利叶智能科技有限公司 | Method and device for controlling exoskeleton robot and exoskeleton robot |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101204347A (en) * | 2007-12-06 | 2008-06-25 | 上海大学 | Automatic gait corrector for lower limb rehabilitation |
CN103212188A (en) * | 2013-05-13 | 2013-07-24 | 中山大学 | Method and system for assisting gait training |
WO2016088842A1 (en) * | 2014-12-03 | 2016-06-09 | 国立大学法人北海道大学 | Gait analysis method and gait analysis system |
CN207886415U (en) * | 2017-08-17 | 2018-09-21 | 四川汇智众创科技有限公司 | A kind of wearable exoskeleton lower limb rehabilitation robot |
CN110575362A (en) * | 2019-09-25 | 2019-12-17 | 深圳市丞辉威世智能科技有限公司 | Limb rehabilitation exoskeleton and limb rehabilitation system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106983589B (en) * | 2017-04-07 | 2018-07-31 | 河北工业大学 | A kind of active above-knee prosthesis TSM control method based on interference observer |
CN110215648B (en) * | 2019-06-28 | 2021-03-26 | 华中科技大学 | Exoskeleton Coordinated Gait Control Method Based on Human Gait Movement Coordination Characteristics |
-
2020
- 2020-05-13 CN CN202010404277.6A patent/CN112089580B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101204347A (en) * | 2007-12-06 | 2008-06-25 | 上海大学 | Automatic gait corrector for lower limb rehabilitation |
CN103212188A (en) * | 2013-05-13 | 2013-07-24 | 中山大学 | Method and system for assisting gait training |
WO2016088842A1 (en) * | 2014-12-03 | 2016-06-09 | 国立大学法人北海道大学 | Gait analysis method and gait analysis system |
CN207886415U (en) * | 2017-08-17 | 2018-09-21 | 四川汇智众创科技有限公司 | A kind of wearable exoskeleton lower limb rehabilitation robot |
CN110575362A (en) * | 2019-09-25 | 2019-12-17 | 深圳市丞辉威世智能科技有限公司 | Limb rehabilitation exoskeleton and limb rehabilitation system |
Also Published As
Publication number | Publication date |
---|---|
CN112089580A (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112089580B (en) | A Motion Control Method for Lower Limb Skeletal Rehabilitation Robot Based on Disturbance Compensation | |
Li et al. | The lower limbs kinematics analysis by wearable sensor shoes | |
CN107479381B (en) | Optimal predictive control method for each axis tracking error of redundant rehabilitation walking training robot | |
Kong et al. | Development of a real-time IMU-based motion capture system for gait rehabilitation | |
CN110524525B (en) | A kind of lower limb exoskeleton control method | |
Bergmann et al. | Lower limb exoskeleton with compliant actuators: Design, modeling, and human torque estimation | |
WO2003002054A1 (en) | Torque imparting system | |
Colobert et al. | Force-plate based computation of ankle and hip strategies from double-inverted pendulum model | |
Choi et al. | Low stiffness design and hysteresis compensation torque control of SEA for active exercise rehabilitation robots | |
KR20200072867A (en) | Method for controlling a walking assist device and electronic device performing the method | |
CN115416003A (en) | An on-demand auxiliary control method for an elderly-oriented lower limb exoskeleton | |
Zhong | Development And Experimental Evaluation Of A State Dependent Coefficient Based State Estimator For Functional Electrical Stimulation-elicited Tasks | |
CN111248917A (en) | Active training control method and device for lower limb walking trainer | |
CN111062247A (en) | Human body movement intention prediction method oriented to exoskeleton control | |
Jain et al. | Linear actuator–based knee exoskeleton for stand–sit–stand motions: a bond graph approach | |
Farjadian et al. | VRACK: Measuring pedal kinematics during stationary bike cycling | |
Adiputra et al. | Improving passive ankle foot orthosis system using estimated ankle velocity reference | |
CN109945889A (en) | A joint angle measurement method based on dual attitude sensors | |
CN115607146B (en) | A wearable single-node device and measurement method for leg pose estimation | |
Lu et al. | Adaptive adjustment strategy for walking characteristics of single-legged exoskeleton robots | |
Yi et al. | Sensor-movement-robust angle estimation for 3-DoF lower limb joints without calibration | |
Lee et al. | Estimation of unmeasured golf swing of arm based on the swing dynamics | |
CN114748306A (en) | Exoskeleton equipment wearing error correction method | |
Safizadeh et al. | Kinematic analysis of powered lower limb orthoses for gait rehabilitation of hemiplegic and hemiparetic patients | |
Cho et al. | Implementation of gait analysis system based on inertial sensors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |