A control method for lower limb rehabilitation robot with initial state learning
By adopting an iterative learning control method with initial state learning in the lower limb rehabilitation robot to correct the initial deviation, the problem of tracking deviation caused by the initial state error is solved, and the lower limb rehabilitation robot can quickly and accurately track the desired trajectory in the presence of initial errors. Improved recovery and reduced risk of secondary injury.
Patent Information
- Application Number
- CN202311388890.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-10-24
AI Technical Summary
When there is an error in the initial state of the existing lower limb rehabilitation robot control method, as the number of iterations increases, the tracking curve deviates from the desired target trajectory, resulting in poor control effect and possible secondary harm to the patient.
The iterative learning control method with initial state learning is adopted. By constructing the lower limb rehabilitation robot dynamic equation and output error model, combined with the iterative learning control law and the initial deviation calculation equation, the initial deviation is corrected to ensure that the lower limb rehabilitation robot system has an initial error. The desired motion trajectory can be tracked quickly and accurately.
It effectively solves the problem of initial state deviation caused by different starting positions or repetitive training, and corrects the initial deviation, so that the output trajectory of the lower limb rehabilitation robot system can track the expected trajectory when there is an initial deviation, and reduces the initial value deviation. The resulting secondary damage improves user experience.
Smart Images

Figure CN117325169B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of auxiliary medical rehabilitation robot control, and in particular to a lower limb rehabilitation robot control method with initial state learning. Background Art
[0002] At present, the number of patients with brain injury and spinal cord injury is on the rise, but most patients are left with walking dysfunction after their lives are saved. For patient gait rehabilitation, traditional treatment is for a medical staff to assist a patient in high-intensity, repetitive gait training. The rehabilitation effect is only judged by the naked eye, and no real-time feedback data can be obtained. In addition, there is a serious shortage of rehabilitation therapists. As a product of the combination of medicine and engineering, rehabilitation robots can not only provide real-time feedback on gait data and quantify rehabilitation indicators, but are also suitable for high-intensity, repetitive training work, freeing the hands of rehabilitation therapists. Lower limb rehabilitation robots assist patients in repetitive gait function training, stimulate and reshape the nervous system, enable patients to restore normal walking ability, and improve the walking function of patients with bone-related diseases such as stroke, spinal cord injury, brain trauma, and lower limb muscles.
[0003] In view of the repeatability, nonlinearity and inaccurate model of lower limb rehabilitation robot system, iterative learning control algorithm is widely used because of its advantages such as learning in repetition, being applicable to nonlinearity and not requiring accurate model. For example, iterative learning control algorithm is used to establish the follow-up control model of lower limb rehabilitation robot system, track the expected trajectory of lower limb hip joint and knee joint, so as to improve the follow-up performance of human-machine system; iterative learning control method of lower limb rehabilitation robot trajectory tracking with advanced sampling time; model-free adaptive iterative learning control algorithm; adaptive iterative learning control algorithm, etc.
[0004] However, the above control methods are all carried out under the condition that the initial state is consistent with the expected initial state, without considering the initial state offset. If there is an error in the initial state, as the number of iterations increases, although the final tracking curve trend is roughly the same as the expected target trajectory, there is always a deviation from the expected target trajectory, and the control effect is poor. This situation is very likely to cause secondary damage to the patient. Summary of the invention
[0005] The present invention provides an iterative learning control method for a lower limb rehabilitation robot with initial state learning, which solves the problems of initial angle deviation and low system convergence speed when patients use the lower limb rehabilitation robot system for training, and effectively realizes that the lower limb rehabilitation robot system can still quickly and accurately track the expected motion trajectory in the presence of initial errors, thereby improving the rehabilitation effect.
[0006] The technical solution adopted by the present invention is as follows:
[0007] A lower limb rehabilitation robot control method with initial state learning comprises the following steps:
[0008] S1. Construct the dynamic equation of the lower limb rehabilitation robot
[0009] Constructing an iterative learning controller for a lower limb rehabilitation robot based on its dynamic equations
[0010]
[0011] in, For x k The derivative of (t), x k (t) represents the system state at the kth iteration, u k (t) represents the system input at the kth iteration, y k (t) represents the system output at the kth iteration;
[0012]
[0013] D(θ) is the inertia matrix; is the centrifugal force and Coriolis force matrix; G(θ) is the gravity matrix; u(t) represents the joint torque matrix; T d are the error and disturbance; is the angle of the lower limb joints, θ1 and θ2 are the angles of the hip joint and the knee joint, respectively; is the angular velocity of the lower limb joints, are the angular velocity of the hip joint and the angular velocity of the knee joint, respectively; is the angular acceleration of the lower limb joints, are the angular acceleration of the hip joint and the angular acceleration of the knee joint, respectively;
[0014] S2, constructing an output error model according to the target trajectory of the lower limb rehabilitation robot and the control output of the lower limb rehabilitation robot;
[0015] S3, collecting discrete data information of the hip joint and knee joint of the lower limb rehabilitation robot, including lower limb joint angle data of the lower limb rehabilitation robot at different time points;
[0016] S4, according to the lower limb joint angle of the lower limb rehabilitation robot, based on the iterative learning controller and the output error model, the calculation equation of the iterative learning control law is obtained, and iterative learning is performed based on the calculation equation of the iterative learning control law. After reaching the number of iterations, the final iterative learning control law is obtained as the first system input condition;
[0017] S5. According to the initial angle of the lower limb joint of the lower limb rehabilitation robot, a calculation equation of the initial deviation is obtained based on the iterative learning controller and the output error model, and iterative learning is performed based on the calculation equation of the initial deviation. After reaching the number of iterations, the final initial deviation is obtained as the second system input condition;
[0018] S6. Input the first system input condition and the second system input condition into an iterative learning controller, and output a control strategy with initial state learning for controlling the operation of the lower limb rehabilitation robot.
[0019] In a preferred embodiment of the present invention, the output error model is:
[0020] e k (t) = y d (t)-y k (t)
[0021] Among them, e k (t) represents the tracking error of the lower limb rehabilitation robot at the kth iteration, y d (t) represents the target trajectory of the lower limb rehabilitation robot, y k (t) represents the control output of the k-th operation of the lower limb rehabilitation robot system.
[0022] In a preferred embodiment of the present invention, in step S3, a piecewise cubic polynomial is used to fit the discrete data information of the hip joint and the knee joint of the lower limb rehabilitation robot to obtain a continuous curve function of the two joints.
[0023] In a preferred embodiment of the present invention, the calculation equation of the iterative learning control law obtained in step S4 is:
[0024]
[0025] Among them, e k+1 (t) They represent the tracking error and its error derivative of the lower limb rehabilitation robot system at the k+1th iteration, K and L are iterative learning gain matrices with corresponding dimensions, and u k+1 (t) is the system input after the k+1th iteration learning, u k (t) is the system input during the kth iteration of learning. When k = 0, u k (t) represents the initial system input without iterative learning, and the system input includes the torque of the hip joint and knee joint of the lower limb.
[0026] In a preferred embodiment of the present invention, step S4 specifically includes the following steps:
[0027] S41, collecting the lower limb joint angle data when the lower limb rehabilitation robot is running for the k+1th time;
[0028] S42, based on the target trajectory of the lower limb rehabilitation robot, the control output and output error model of the k-th operation of the lower limb rehabilitation robot, calculate the tracking error e of the lower limb rehabilitation robot system at the k+1-th iteration k+1 (t) and its error derivative
[0029] S43, setting iterative learning gain matrices K and L;
[0030] S44, the gain matrices K and L, the tracking error e of the lower limb rehabilitation robot system at the k+1th iteration k+1 (t) and its error derivative And the system input u at the kth iteration learning k (t) Substituting the calculation equation of the first iterative learning control law into the calculation equation of the first iterative learning control law, the iterative learning control law is obtained;
[0031] S45. Loop steps S41 to S44 until the specified number of iterations is reached, that is, the final iterative learning control law is obtained, and the final iterative learning control law is used as the first system input condition. During the loop process, the lower limb joint angles used in each iteration are different.
[0032] In a preferred embodiment of the present invention, the calculation equation of the initial deviation obtained in step S5 is:
[0033] x k+1 (0) = x k (0)+M(0)Le k+1 (0)
[0034] Among them, x k+1 (0) is the initial state of the system for the k+1th iteration, x k (0) is the initial state of the system at the kth iteration, M(0) is when t=0 The obtained value, L is the system iterative learning gain matrix, e k+1 (0) is the initial value of the system’s k+1th iteration tracking error.
[0035] In a preferred embodiment of the present invention, step S5 specifically includes the following steps:
[0036] S51, collecting the iterative initial state angle of the lower limb rehabilitation robot during the k+1th operation;
[0037] S52, based on the target trajectory of the lower limb rehabilitation robot, the control output and output error model of the k-th operation of the lower limb rehabilitation robot, calculate the initial value of the k+1-th iteration tracking error of the lower limb rehabilitation robot system;
[0038] S53, setting the iterative learning gain matrix L;
[0039] S54, substituting the gain matrix L, the initial value of the iterative tracking error of the lower limb rehabilitation robot system at the k+1th time, and the iterative initial state angle during the k+1th operation into the calculation equation of the initial deviation, and outputting the initial deviation of the lower limb rehabilitation robot system obtained at the k+1th iteration;
[0040] S55, looping steps S51 to S54 until the specified number of iterations is reached, that is, the final initial deviation is obtained and used as the input condition of the second system. The initial angles of the lower limb joints used in each iteration are different.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] It is an iterative learning control method with initial state learning. It can well handle the initial state offset problem caused by different starting positions or repetitive training, correct the initial deviation, and enable the output trajectory of the lower limb rehabilitation robot system to track the expected trajectory when there is an initial state offset, thereby reducing the secondary damage caused by the initial value offset and improving the user experience.
[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the embodiments of the present invention are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0045] Figure 1 A model diagram of the lower limb rehabilitation robot system used in the present invention;
[0046] Figure 2 This is a control block diagram of a lower limb rehabilitation robot with initial state learning according to the present invention;
[0047] Figure 3 A graph showing the variation of the angle tracking errors of the hip joint and the knee joint of the lower limbs in the iterative learning control with initial state learning in the present invention;
[0048] Figure 4 This is the angle trajectory tracking diagram and angle error curve diagram of the lower limb hip joint and knee joint after 20 iterations in the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0050] Please refer to Figure 1 and Figure 2 The present invention provides a lower limb rehabilitation robot control method with initial state learning, which specifically comprises the following steps:
[0051] Step 1: Collect discrete data information of the hip joint O and knee joint P of the human lower limb, use piecewise cubic polynomials to fit them, and obtain the curve functions of the two joints, namely, formula (1) and formula (2), and perform error analysis on the fitted curve functions. If the error is too large, re-fit the data. The traditional fitting method is a trigonometric function polynomial, and the fitting is rough. The present invention uses piecewise polynomials for fitting, and the error is lower than before. Through error analysis, it is ensured that the fitting functions of the hip joint and the knee joint are suitable for the target curve of the trajectory tracking of the lower limb rehabilitation robot system.
[0052]
[0053] Wherein, t represents time, the lower limb joint angles include the hip joint angle and the knee joint angle, θ1 represents the hip joint angle, and θ2 represents the knee joint angle.
[0054] Step 2: Establish a lower limb rehabilitation robot system model, as shown in the attached Figure 1 As shown in the figure, O and P represent the hip joint and knee joint respectively. The horizontal right direction is the positive direction of the x-axis; the vertical downward direction is the positive direction of the y-axis; the intersection point O of the two axes represents the coordinate origin, that is, the hip joint; P represents the knee joint; l1 and l2 represent the lengths of the thigh link and the calf link respectively; A and B are the positions of the center of mass of the two links respectively; d1 and d2 are the lengths from the center of mass of the link to the hip joint and the knee joint respectively; θ1 and θ2 are the angles of the hip joint and the knee joint respectively; according to forward kinematics and inverse kinematics, the dynamic equation of the lower limb rehabilitation robot system model is obtained as shown in formula (3), and the system state equation of the lower limb rehabilitation robot system model is derived as shown in formula (4).
[0055]
[0056]
[0057] in,
[0058]
[0059] D(θ) is the inertia matrix; is the centrifugal force and Coriolis force matrix; G(θ) is the gravity matrix; u(t) represents the joint torque matrix; T d are the error and disturbance; is the angle of the lower limb joints, including the hip joint angle θ1 and the knee joint angle θ2; is the angular velocity of the lower limb joints, including the hip joint angular velocity Knee joint angular velocity is the angular acceleration of the lower limb joints, including the angular acceleration of the hip joint Knee joint angular acceleration
[0060] Step 3: Design an iterative learning controller to solve the problem that the lower limb rehabilitation robot system cannot track the expected trajectory due to the initial state error, so that the actual output trajectory of the lower limb rehabilitation robot system can still track the target curve quickly and accurately when there is an initial state deviation. The iterative learning controller is obtained according to formula (4), as shown in formula (5).
[0061]
[0062] Wherein, the subscript k represents the kth iterative learning control of the lower limb rehabilitation robot system, is the derivative of xk(t), x k (t) represents the system state at the kth iteration, i.e., the angle and angular velocity of the hip joint and knee joint, u k (t) represents the system input at the kth iteration, y k (t) represents the system output at the kth iteration.
[0063] Step 4: Construct the output error model as shown in formula (6):
[0064] e k (t) = y d (t)-y k (t) (6)
[0065] Among them, e k (t) represents the tracking error of the lower limb rehabilitation robot system at the kth iteration, represents the target trajectory of the lower limb rehabilitation robot system. The target trajectory curve has been given in step 1, that is, formula (1) and formula (2), y k (t) represents the control output of the lower limb rehabilitation robot system during the kth operation, both of which are given in steps 2 and 3.
[0066] Step 5: Design the first iteration learning control law as system input:
[0067]
[0068] Among them, e k+1 (t) They represent the tracking error and its error derivative of the lower limb rehabilitation robot system at the k+1th iteration, K and L are iterative learning gain matrices with corresponding dimensions, and u k+1 (t) is the system input after the k+1th iteration learning, u k (t) is the system input during the kth iteration of learning. When k = 0, u k (t) represents the initial system input without iterative learning, and the system input includes the torque of the hip joint and knee joint of the lower limb.
[0069] The following iterative learning control law is used to ensure that the lower limb rehabilitation robot system can track the target trajectory. The specific process is as follows:
[0070] Step 5.1: Collect the lower limb joint angle θ of the lower limb rehabilitation robot during the k+1th operation 1(k+1) ,θ 2(k+1) ;
[0071] Step 5.2: According to formula (6), deduce e k+1 (t) = y d (t)-y k+1 (t), where As given in step 1, calculate the tracking error e of the lower limb rehabilitation robot system at the k+1th iteration k+1 (t) and its error derivative
[0072] Step 5.3: Set the iterative learning gain matrices K and L;
[0073] Step 5.4: Substitute the gain matrices K and L in step 5.3 and the tracking error e of the lower limb rehabilitation robot system at the k+1th iteration in step 5.2 k+1 (t) and its error derivative And the system input u at the kth iteration learning k (t) Substitute into equation (7) and obtain the iterative learning control law;
[0074] Step 5.5: Repeat the above steps until the specified number of iterations is reached, and the final iterative learning control law u is obtained. k+1 (t), the final iterative learning control law u k+1 (t) is used as the first system input condition. During the loop process, the lower limb joint angles used in each iteration are different.
[0075] Step 6: While running step 5, the initial state of each iteration of the lower limb rehabilitation robot system (i.e., t=0) is also learned using the initial deviation to ensure that the lower limb rehabilitation robot system can still track the target trajectory curve when the initial state is offset. The calculation equation for constructing the initial deviation is:
[0076] x k+1 (0) = x k (0)+M(0)Le k+1 (0) (8)
[0077] Among them, x k+1 (0) is the initial state of the system for the k+1th iteration, x k (0) is the initial state of the system at the kth iteration, M(0) is when t=0 The obtained value, L is the system iterative learning gain matrix, e k+1 (0) is the initial value of the system’s k+1th iteration tracking error.
[0078] The specific iteration process is as follows:
[0079] Step 6.1: Collect the initial angle θ of the lower limb rehabilitation robot during the k+1th operation 1(k+1) (0),θ 2(k+1) (0);
[0080] Step 6.2: According to formula (6), deduce e k+1 (0) = y d (0)-y k+1 (0), where y d (t) has been given in step 1. Calculate the initial value of the k+1th iteration tracking error e of the lower limb rehabilitation robot system k+1 (0);
[0081] Step 6.3: Set the iterative initial state learning gain matrix L;
[0082] Step 6.4: Substitute M(0), the gain matrix L in step 6.3, and the initial value of the k+1th iteration tracking error e of the lower limb rehabilitation robot system in step 6.2. k+1 (0), and the initial value x of the system’s kth iteration k (0) is substituted into equation (8) to obtain the initial deviation x obtained by the system at the k+1th iteration: k+1 (0);
[0083] Step 6.5: Repeat the above steps until the specified number of iterations is reached and the final initial deviation x is obtained. k+1 (0) is used as the input condition of the second system. The initial angles of the lower limb joints used in each iteration are different.
[0084] Step 7: Input the first system condition (the system input u after the k+1th iteration learning) k+1 (t)) and the second system input condition (the initial state x of the k+1th iteration k+1 (0)) is input into the lower limb rehabilitation robot, that is, input formula (5), as Figure 2 As shown in the figure, the iterative learning control output y of the k+1th operation of the lower limb rehabilitation robot system is obtained. k+1 (t), that is, the control strategy with initial state learning for controlling the operation of the lower limb rehabilitation robot, including the lower limb hip joint angle θ1 and knee joint angle θ2, Figure 2 In, e k+1 (t) represents the tracking error of the lower limb rehabilitation robot system at the k+1th iteration; K and L are iterative learning gain matrices with corresponding dimensions; Indicates e k+1 (t) is derived, that is, the tracking error derivative of the lower limb rehabilitation robot system at the k+1th iteration u k (t) is the system input during the k-th iteration learning; u k+1 (t) is the system input after the k+1th iteration learning; x k+1 (0) is the initial state of the system at the k+1th iteration; x k (0) is the initial state of the system at the kth iteration; M(0) is when t=0 The resulting value; e k+1 (0) is the initial value of the iterative tracking error of the system (k+1); y d (t) represents the target trajectory of the lower limb rehabilitation robot system; y k+1 (t) represents the control output of the lower limb rehabilitation robot system during the k+1th operation.
[0085] A simulation experiment is performed on the lower limb rehabilitation robot control method with initial state learning described in the present invention.
[0086] The lower limb rehabilitation robot system in the initial offset state is simulated and analyzed to verify the effectiveness of the improved algorithm. Figure 3 The figure shows the variation of the joint angle tracking error of the lower limb rehabilitation robot under iterative learning control with initial state learning. The star line represents the angle tracking error curve of the hip joint, and the circle line represents the angle tracking error curve of the knee joint. From the curve trend in the figure, the angle tracking errors of the hip joint and the knee joint both show a gradual downward trend with the increase of the number of iterations, indicating that the improved algorithm can effectively suppress the influence of the initial state error. At the 8th iterative control, the angle tracking error is 0.2104°, and then the system output error gradually approaches zero. It verifies that the iterative learning control strategy with initial state learning can overcome the influence of the initial state error.
[0087] Attached Figure 4 The figure shows the trajectory tracking effect of the lower limb rehabilitation robot system after 20 iterations of learning control. (a) shows the hip joint angle tracking diagram; (b) shows the hip joint angle error curve; (c) shows the knee joint angle tracking diagram; (d) shows the knee joint angle error curve. In (a) and (c), the dotted lines represent the target curves of the hip and knee joints; the solid lines represent the actual output curves of the hip and knee joints of the lower limb rehabilitation robot system. It can be seen from these four figures that the angles of the hip and knee joints have tracked the target trajectory curve of the system, and the maximum angle error does not exceed 0.3°. The results verify that the iterative learning control strategy with initial state learning can overcome the influence of the initial state offset, effectively realize that the lower limb rehabilitation robot system can still quickly and accurately track the desired motion trajectory in the presence of initial errors, and improve the rehabilitation effect.
[0088] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method for a lower limb rehabilitation robot with initial state learning, characterized in that: The following steps are involved: S1. Construct the dynamic equation of the lower limb rehabilitation robot Constructing an iterative learning controller for a lower limb rehabilitation robot based on its dynamic equations in, For x k The derivative of (t), x k (t) represents the system state at the kth iteration, u k (t) represents the system input at the kth iteration, y k (t) represents the system output at the kth iteration; D(θ) is the inertia matrix; is the centrifugal force and Coriolis force matrix; G(θ) is the gravity matrix; u(t) represents the joint torque matrix; T d are the error and disturbance; is the angle of the lower limb joints, θ1 and θ2 are the angles of the hip joint and the knee joint, respectively; is the angular velocity of the lower limb joints, are the angular velocity of the hip joint and the angular velocity of the knee joint, respectively; is the angular acceleration of the lower limb joints, are the angular acceleration of the hip joint and the angular acceleration of the knee joint, respectively; S2, constructing an output error model according to the target trajectory of the lower limb rehabilitation robot and the control output of the lower limb rehabilitation robot; S3, collecting discrete data information of the hip joint and knee joint of the lower limb rehabilitation robot, including lower limb joint angle data of the lower limb rehabilitation robot at different time points; S4, according to the lower limb joint angle of the lower limb rehabilitation robot, based on the iterative learning controller and the output error model, the calculation equation of the iterative learning control law is obtained, and iterative learning is performed based on the calculation equation of the iterative learning control law. After reaching the number of iterations, the final iterative learning control law is obtained as the first system input condition; S5. According to the initial angle of the lower limb joint of the lower limb rehabilitation robot, a calculation equation of the initial deviation is obtained based on the iterative learning controller and the output error model, and iterative learning is performed based on the calculation equation of the initial deviation. After reaching the number of iterations, the final initial deviation is obtained as the second system input condition; S6. Input the first system input condition and the second system input condition into an iterative learning controller, and output a control strategy with initial state learning for controlling the operation of the lower limb rehabilitation robot.
2. The lower limb rehabilitation robot control method with initial state learning according to claim 1, characterized in that: The output error model is: e k (t)=y d (t)-y k (t) Among them, e k (t) represents the tracking error of the lower limb rehabilitation robot at the kth iteration, y d (t) represents the target trajectory of the lower limb rehabilitation robot, y k (t) represents the control output of the k-th operation of the lower limb rehabilitation robot system.
3. The lower limb rehabilitation robot control method with initial state learning according to claim 2 is characterized in that: In step S3, a piecewise cubic polynomial is used to fit the discrete data information of the hip joint and the knee joint of the lower limb rehabilitation robot to obtain a continuous curve function of the two joints.
4. The lower limb rehabilitation robot control method with initial state learning according to claim 2 or 3, characterized in that: The calculation equation of the iterative learning control law obtained in step S4 is: Among them, e k+1 (t) They represent the tracking error and its error derivative of the lower limb rehabilitation robot system at the k+1th iteration, K and L are iterative learning gain matrices with corresponding dimensions, and u k+1 (t) is the system input after the k+1th iteration learning, u k (t) is the system input during the kth iteration of learning. When k = 0, u k (t) represents the initial system input without iterative learning, and the system input includes the torque of the hip joint and knee joint of the lower limb.
5. The lower limb rehabilitation robot control method with initial state learning according to claim 4 is characterized in that: Step S4 specifically includes the following steps: S41, collecting the lower limb joint angle data when the lower limb rehabilitation robot is running for the k+1th time; S42, based on the target trajectory of the lower limb rehabilitation robot, the control output and output error model of the k-th operation of the lower limb rehabilitation robot, calculate the tracking error e of the lower limb rehabilitation robot system at the k+1-th iteration k+1 (t) and its error derivative S43, setting iterative learning gain matrices K and L; S44, the gain matrices K and L, the tracking error e of the lower limb rehabilitation robot system at the k+1th iteration k+1 (t) and its error derivative And the system input u at the kth iteration learning k (t) Substituting the calculation equation of the first iterative learning control law into the calculation equation of the first iterative learning control law, the iterative learning control law is obtained; S45. Loop steps S41 to S44 until the specified number of iterations is reached, that is, the final iterative learning control law is obtained, and the final iterative learning control law is used as the first system input condition. During the loop process, the lower limb joint angles used in each iteration are different.
6. The lower limb rehabilitation robot control method with initial state learning according to claim 2 or 3, characterized in that: The calculation equation of the initial deviation obtained in step S5 is: x k+1 (0)=x k (0)+M(0)The k+1 (0) Among them, x k+1 (0) is the initial state of the system for the k+1th iteration, x k (0) is the initial state of the system at the kth iteration, M(0) is when t=0 The obtained value, L is the system iterative learning gain matrix, e k+1 (0) is the initial value of the system’s k+1th iteration tracking error.
7. The lower limb rehabilitation robot control method with initial state learning according to claim 6, characterized in that: Step S5 specifically includes the following steps: S51, collecting the iterative initial state angle of the lower limb rehabilitation robot during the k+1th operation; S52, based on the target trajectory of the lower limb rehabilitation robot, the control output and output error model of the k-th operation of the lower limb rehabilitation robot, calculate the initial value of the k+1-th iteration tracking error of the lower limb rehabilitation robot system; S53, setting the iterative learning gain matrix L; S54, substituting the gain matrix L, the initial value of the iterative tracking error of the lower limb rehabilitation robot system at the k+1th time, and the iterative initial state angle during the k+1th operation into the calculation equation of the initial deviation, and outputting the initial deviation of the lower limb rehabilitation robot system obtained at the k+1th iteration; S55, looping steps S51 to S54 until the specified number of iterations is reached, that is, the final initial deviation is obtained and used as the input condition of the second system. The initial angles of the lower limb joints used in each iteration are different.
