Arm exoskeleton robot control method and device
Through prediction and optimization technology based on the ProMP model, the transparency of the arm exoskeleton robot in the unloaded state is improved, solving the problem of low transparency in the existing technology, and achieving a more comfortable and sustainable user experience.
Patent Information
- Application Number
- CN202410662831.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-27
AI Technical Summary
Existing arm exoskeleton robots have low transparency in the unloaded state, resulting in increased human-machine interaction force and increased user energy consumption, resulting in an uncomfortable and fatigue-prone experience, which affects long-term use.
Based on the ProMP model and motion trajectory data, the motion speed profile and expected motion trajectory are predicted, the impedance parameters are optimized through the model prediction controller, and applied to the variable impedance controller to improve the transparency of the arm exoskeleton robot in the no-load state.
It improves the transparency of the arm exoskeleton robot, reduces the human-computer interaction force, reduces the harmful interaction force when the exoskeleton robot assists, and improves the long-term usability of the exoskeleton.
Smart Images

Figure CN118559682A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wearable robot control, and in particular to a control method and device for an arm exoskeleton robot. Background Art
[0002] Wearable exoskeletons have shown exciting potential in the fields of rehabilitation and human augmentation. Exoskeleton transparency is an indicator of the degree of impact of a wearable exoskeleton on the user. The less impact the exoskeleton has on the user, the higher its transparency. Scholars have realized that improving the transparency of the exoskeleton and making the exoskeleton closely follow human movement is a problem that must be solved to improve the long-term usability of the exoskeleton and promote its use. In the unloaded state, if the human-machine interaction force is equal to zero, the exoskeleton is considered to have perfect transparency.
[0003] In the unloaded state, the user needs to adjust the joint angle and body posture to meet the subsequent force requirements. In the posture adjustment process, existing arm exoskeleton robots usually sacrifice the rapidity of movement to achieve the adjustment process of the unloaded state. This will affect the user's movement and force habits, generate harmful human-computer interaction forces, cause a significant increase in user energy consumption, and create an uncomfortable and fatigue-prone experience, which in turn makes the power-assisted exoskeleton unable to be used for a long time. Summary of the invention
[0004] The present invention provides an arm exoskeleton robot control method and device, which are used to solve the defect of low transparency of the arm exoskeleton robot in the no-load state in the prior art, and effectively improve the transparency of the arm exoskeleton robot in the no-load state and reduce the human-machine interaction force.
[0005] The present invention provides an arm exoskeleton robot control, comprising:
[0006] Based on the ProMP model and the motion trajectory data of the arm, a motion velocity profile is modeled to obtain a predicted motion velocity profile of the arm; the arm is equipped with an exoskeleton robot;
[0007] Based on the predicted motion speed profile, predicted motion duration and predicted motion range, the expected motion trajectory of the arm is obtained;
[0008] The desired motion trajectory, human-machine interaction force, and actual motion trajectory are input into a model predictive controller to optimize impedance parameters;
[0009] The optimized impedance parameters are input into the variable impedance controller to control the arm exoskeleton robot.
[0010] In some embodiments, the inputting the expected motion trajectory, the human-machine interaction force, and the actual motion trajectory into the model predictive controller to optimize the impedance parameters includes:
[0011] Based on human-computer interaction, the cost function of the model predictive controller is constructed;
[0012] Substituting a discretization model based on state variables into the cost function to obtain an optimized cost function; the state variables include an error between the desired motion trajectory and the actual motion trajectory, a differential of the error, and the human-computer interaction force;
[0013] The optimized cost function is solved to obtain the optimized impedance parameters.
[0014] In some embodiments, before obtaining the expected motion trajectory of the arm based on the predicted motion speed profile, the predicted motion duration, and the predicted motion range, the method further includes:
[0015] Segmenting the predicted motion velocity profile based on the maximum acceleration, the maximum velocity, and the deceleration to half of the maximum velocity, and determining segmentation points of the predicted motion velocity profile;
[0016] According to the time of arriving at any segmentation point, the predicted exercise duration is obtained;
[0017] The predicted movement range is obtained based on the movement activity model and the predicted movement duration.
[0018] In some embodiments, the method further comprises:
[0019] Determine an adaptability parameter according to the actual motion time and the theoretical running time; the adaptability parameter is used to characterize the user's adaptability to the exoskeleton robot;
[0020] The motion activity model is scaled based on an adaptability parameter.
[0021] In some embodiments, determining the adaptability parameter according to the actual exercise time and the theoretical running time includes:
[0022] When the actual movement time is less than or equal to the theoretical running time, the adaptability parameter is determined to be 1;
[0023] When the actual motion time is greater than the theoretical running time, the adaptability parameter is determined as Among them, t0 represents the actual movement time, Indicates the theoretical motion time.
[0024] In some embodiments, the method further comprises:
[0025] The motion velocity profile model is updated based on the Bayesian optimization algorithm and the motion velocity profile newly collected during the motion process.
[0026] The present invention also provides an arm exoskeleton robot control device, comprising:
[0027] A modeling module, for modeling a motion velocity profile based on the ProMP model and the motion trajectory data of the arm, to obtain a predicted motion velocity profile of the arm; the arm is equipped with an exoskeleton robot;
[0028] An acquisition module, for obtaining an expected motion trajectory of the arm based on a predicted motion speed profile, a predicted motion duration, and a predicted motion range;
[0029] An optimization module, used for inputting the expected motion trajectory, human-machine interaction force, and actual motion trajectory into a model predictive controller to optimize impedance parameters;
[0030] The control module is used to input the optimized impedance parameters into the variable impedance controller to control the arm exoskeleton robot.
[0031] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the arm exoskeleton robot control method described above is implemented.
[0032] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the arm exoskeleton robot control methods described above.
[0033] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the arm exoskeleton robot control methods described above.
[0034] The arm exoskeleton robot control method and device provided by the present invention establish a motion speed profile model of the arm based on the ProMP model, thereby obtaining a predicted motion speed profile; based on the predicted motion speed profile, the predicted motion duration and the predicted motion range, the expected motion trajectory of the arm is obtained; based on the model predictive controller, the impedance parameters are optimized online, and the impedance parameters are applied to the variable impedance controller to control the arm exoskeleton robot, so that the arm exoskeleton robot closely follows the user's arm movement, improves the transparency of the exoskeleton robot, reduces the human-computer interaction torque, and reduces the harmful interaction force when the exoskeleton robot assists, thereby improving the long-term availability of the exoskeleton. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 This is a schematic diagram of the "minimum time-cost principle" of neurobiological theory;
[0037] Figure 2 It is a schematic diagram of the sports vitality model;
[0038] Figure 3 This is one of the flow charts of the arm exoskeleton robot control method provided by the present invention;
[0039] Figure 4 It is a segmented schematic diagram of the motion speed profile provided by the present invention;
[0040] Figure 5 This is the second flow chart of the arm exoskeleton robot control method provided by the present invention;
[0041] Figure 6 It is a structural schematic diagram of the arm exoskeleton robot control device provided by the present invention;
[0042] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0044] In order to facilitate a clearer understanding of the embodiments of the present invention, some relevant technical knowledge is first introduced as follows.
[0045] (1) Neurobiological Theory 1, Minimum Time-Cost Principle
[0046] There are many goal-directed movements in daily life, such as arm grasping and eye looking at an object. The speed or duration of these movements is called motor vigor.
[0047] Existing research suggests that the choice of motor vigor originates from the basal ganglia of the brain, which is essentially the judgment and selection of the value of different motor patterns by the nervous system. Studies have shown that motor vigor tends to obtain the greatest reward in the shortest possible time and with the smallest possible movement cost. Since the reward for movement is usually constant, such as grasping an object, vigor can be characterized by the trade-off between time cost and movement cost. One trade-off relationship model is the Minimum Time-Effort (MTE) principle.
[0048] Figure 1 This is a schematic diagram of the "minimum time-cost principle" of neurobiological theory, such as Figure 1 As shown, the points marked with asterisks are the points with the lowest total cost, that is, the motion parameters that human motion is more inclined to choose.
[0049] In fact, the MTE principle provides a method to determine the vitality of a certain movement, that is, the relationship between the point-to-point range of motion of the arm joint and the duration of the movement. By solving the minimum value of the total cost, the relationship between the range of motion and the duration of the movement can be determined. In the application, scholars found that in a natural and comfortable state of movement, the relationship between the range of motion and the duration of the point-to-point motion trajectory of the arm joint can be fitted by an affine function. Figure 2 is a fitting diagram of the motion vitality model, such as Figure 2 As shown, the motion duration and motion range of the motion data points are fitted, and the obtained affine model is the motion vitality model.
[0050] (2) Neurobiological Theory 2, Bell Curve
[0051] There are two concepts: "motion speed trajectory" and "motion speed profile". The "motion speed trajectory" is the complete elbow joint motion speed data actually collected in point-to-point motion, while the "motion speed profile" is the normalized "motion speed trajectory".
[0052] A consensus in arm movement research is that in point-to-point movements in a natural and comfortable state, the velocity profile of the arm joint is a smooth bell-shaped curve. In addition, for point-to-point movements under specific tasks, the velocity profile of each movement is roughly the same for a single individual, although there are individual differences in the shape of the velocity profile.
[0053] In addition, some research results also show that exoskeletons with better transparency can keep the bell-shaped motion speed profile of the arm joints roughly unchanged. However, due to the limitations of the real-time prediction algorithm of the existing motion trajectory, the movement speed is usually reduced after wearing the exoskeleton. This phenomenon of reduced speed is similar to the movement pattern after the arm is loaded, so it can be considered that the exoskeleton with insufficient transparency has a similar load effect on the arm, which will reduce the long-term usability of the exoskeleton.
[0054] Figure 3 FIG. 1 is one of the flow charts of the arm exoskeleton robot control method provided by the present invention, such as Figure 3 As shown, the present invention provides an arm exoskeleton robot control method, comprising the following steps:
[0055] Step 310, based on the ProMP model and the motion trajectory data of the arm, the motion velocity profile is modeled to obtain the predicted motion velocity profile of the arm; the arm is equipped with an exoskeleton robot.
[0056] Specifically, the Probabilistic Movement Primitives (ProMP) model is used to model the motion velocity profile. On the one hand, the ProMP model can integrate the features of multiple sample motion velocity profiles; on the other hand, the ProMP model is a probabilistic model, which is conducive to the design of the model update algorithm.
[0057] The ProMP model uses Gaussian distribution to collect motion trajectory data τ = {q t} t=0,...,T Probabilistic modeling, q t represents the motion state at time t, and T represents the sampling period. t and Composed joint state y t , Indicates q t Differentiate with respect to time. Assume the joint state Satisfy the following form:
[0058]
[0059] In the formula, y t represents the joint state, Φ t represents the time-dependent basis function matrix, and the superscript T represents the transpose. Among them, φ t represents the vector of basis function values at time t, Represents φ t Differentiation with respect to time, n represents the number of basis functions, θ represents the basis function weight, ε yrepresents the zero-mean Gaussian noise term, Among them, σ y represents the variance of Gaussian noise.
[0060] Joint state y t Satisfying the mean The variance is σ y Gaussian distribution of:
[0061]
[0062] Assuming that the states at each time t satisfy the independent condition, the likelihood of the motion trajectory data can be calculated as follows:
[0063]
[0064] In the formula, p(τ|θ) represents the probability of generating trajectory τ under the current parameter θ, T represents the sampling period, and y t represents the joint state, Φ t represents the time-dependent basis function matrix, and the superscript T represents the transpose. Among them, φ t represents the vector of basis function values at time t, Represents φ t Differentiation with respect to time, n represents the number of basis functions, θ represents the basis function weight, ε y represents the zero-mean Gaussian noise term, Among them, σ y represents the variance of Gaussian noise.
[0065] Since there are multiple teaching trajectories, in order to encode the differences in different teaching data, it is necessary to introduce the concept of variance. Therefore, it is assumed that the parameter θ obeys the parameter The probability distribution of
[0066] The likelihood of motion trajectory data can be obtained by integrating the marginal probability:
[0067]
[0068] In the formula, The hyperparameter that represents the trajectory τ is The probability distribution of It means that the parameter θ is subject to the hyperparameter The probability distribution of p(τ|θ) represents the probability of generating trajectory τ under the current parameter θ.
[0069] The expressions of the basis functions are as follows:
[0070]
[0071] In the formula, the superscript G stands for "Gaussian", z t represents the basis function input (i.e. phase) at time t, c i represents the mean of the i-th Gaussian basis function, and h represents the bandwidth of the Gaussian basis function.
[0072] Assumptions It obeys a Gaussian distribution with mean θ0 and variance Σ0, that is The likelihood of motion trajectory data can be calculated as:
[0073]
[0074] In the formula, The hyperparameter that represents the trajectory τ is The probability distribution of y t represents the joint state, Φ t represents the time-dependent basis function matrix, and the superscript T represents the transpose. Among them, φ t represents the vector of basis function values at time t, Represents φ t Differentiation with respect to time, n represents the number of basis functions, θ0 represents The mean of the Gaussian distribution, Σ0, represents The variance of the Gaussian distribution, σ y represents the variance of Gaussian noise.
[0075] Through maximum likelihood estimation, we can get the motion trajectory data τ = {q t} t=0,...,T The estimated parameters That is, the predicted motion speed profile is obtained.
[0076] Step 320, based on the predicted motion speed profile, the predicted motion duration and the predicted motion range, obtain the expected motion trajectory of the arm.
[0077] Specifically, unlike the periodic motion of the lower limbs, arm motion is usually not periodic, so the parameters of the next motion cannot be directly obtained based on the previous motion. To obtain the complete motion trajectory of the arm joint, three factors need to be considered: motion duration, motion range, and motion speed profile. If these three factors are known, multiplying the motion duration and motion range by the normalized motion speed profile can obtain a complete motion trajectory.
[0078] According to the summary of neurobiological theory 2, for a certain user, the motion velocity profile of the elbow joint in point-to-point motion is a roughly constant bell-shaped curve. Therefore, it is temporarily assumed that the motion velocity profile of the elbow joint is constant. Based on this assumption, only the motion duration and range of the elbow joint need to be predicted online to determine the complete motion trajectory of the arm joint.
[0079] The key to further simplifying the problem is the movement vitality model. Neurobiological theory1 points out that the movement vitality model establishes the relationship between the range of motion and the duration of motion. With the help of the movement vitality model, the movement trajectory of the arm elbow joint can be predicted in real time by only predicting the duration of motion online.
[0080] Therefore, based on the predicted motion speed profile obtained in the previous step, combined with the predicted motion duration and the motion range predicted based on the motion vitality model, the expected motion trajectory of the arm can be obtained.
[0081] Step 330 , input the expected motion trajectory, the human-machine interaction force, and the actual motion trajectory into the model predictive controller to optimize the impedance parameters.
[0082] Specifically, after obtaining the desired motion trajectory of the arm, the subsequent task is to flexibly follow the desired motion trajectory and further reduce the human-machine interaction force, which usually requires the use of impedance control.
[0083] The expected motion trajectory, human-machine interaction force, and actual motion trajectory are input into the model predictive controller, which performs online optimization of impedance parameters based on the expected motion trajectory, human-machine interaction force, and actual motion trajectory. Impedance parameters include mass, damping, and stiffness coefficients.
[0084] Step 340, inputting the optimized impedance parameters into the variable impedance controller to control the arm exoskeleton robot.
[0085] Specifically, the optimized impedance parameters are input into the variable impedance controller, and the variable impedance controller outputs the optimized human-computer interaction force to the human-computer interaction system based on the optimized impedance parameters, thereby controlling the arm exoskeleton robot.
[0086] The arm exoskeleton robot control method provided by the present invention establishes a motion speed profile model of the arm based on the ProMP model, thereby obtaining a predicted motion speed profile; based on the predicted motion speed profile, the predicted motion duration and the predicted motion range, the expected motion trajectory of the arm is obtained; based on the model predictive controller, the impedance parameters are optimized online, and the impedance parameters are applied to the variable impedance controller to control the arm exoskeleton robot, so that the arm exoskeleton robot closely follows the user's arm movement, improves the transparency of the exoskeleton robot, reduces the human-computer interaction torque, reduces the harmful interaction force when the exoskeleton robot assists, and improves the long-term availability of the exoskeleton.
[0087] In some embodiments, the desired motion trajectory, the human-machine interaction force, and the actual motion trajectory are input into the model predictive controller to optimize the impedance parameters, including:
[0088] Based on human-computer interaction, the cost function of the model predictive controller is constructed;
[0089] Substitute the discretization model based on state variables into the cost function to obtain the optimized cost function; the state variables include the error between the expected motion trajectory and the actual motion trajectory, the differential of the error, and the human-computer interaction force;
[0090] The optimized cost function is solved to obtain the optimized impedance parameters.
[0091] Specifically, impedance control compensates the controlled system (exoskeleton robot system) into the following second-order system:
[0092]
[0093] Where e represents the desired motion trajectory q d The error between the actual motion trajectory q, represents the differential of e with respect to time, represents the second derivative of e with respect to time, M represents the expected mass, D represents the expected damping, K represents the expected stiffness coefficient, and f represents the human-computer interaction force.
[0094] Since the present invention only involves a single elbow joint, the above model can be written in the following form:
[0095]
[0096] In the formula, e represents the error between the expected motion trajectory and the actual motion trajectory. represents the differential of e with respect to time, represents the second derivative of e with respect to time, m represents the expected mass in a single joint application scenario, d represents the expected damping in a single joint application scenario, k represents the expected stiffness coefficient in a single joint application scenario, and f represents the human-computer interaction force.
[0097] The optimization method based on variable impedance control usually approximates the above model to the following linear state space model. This approximation assumes ( The linear state space model is expressed as follows:
[0098]
[0099] In the formula, ξ represents the state variable, represents the differential of ξ with respect to time, A represents the system matrix, b represents the control matrix, u represents the control input, m represents the expected mass in a single joint application scenario, d represents the expected damping in a single joint application scenario, k represents the expected stiffness coefficient in a single joint application scenario, e is the error between the expected motion trajectory and the actual motion trajectory, is the differential of e with respect to time, and f is the human-computer interaction force.
[0100] It can be seen that the input of the linear state space model includes impedance parameters (m, d and k) and state variables ξ, which makes it impossible for the impedance parameters to participate in the cost function as a separate variable in the optimization control based on this system.
[0101] In order to solve this problem, a new discretization model based on state variables is proposed. The expression of the discretization model based on state variables is as follows:
[0102]
[0103] in,
[0104]
[0105]
[0106] In the formula, ξ t+1 represents the state variable at time t+1, A represents the system matrix, T represents the sampling period, I represents the unit matrix, ξ t represents the state variable at time t, b represents the control matrix, β represents the compensation vector generated by uniform acceleration discretization, the superscript T represents transposition, and u t represents the control input at time t, m t represents the expected quality at time t in a single joint application scenario, d t represents the expected damping at time t in a single joint application scenario, k t Represents the expected stiffness coefficient at time t in a single joint application scenario.
[0107] Based on the above system, the human-computer interaction force is introduced into the cost function of the model predictive controller, and the expression of the cost function of the single-step model predictive controller is designed as follows:
[0108]
[0109] Limited by
[0110]
[0111] In the formula, J(u t ) means that when the input is u t The cost function when ξ t+1represents the state variable at time t+1, u t represents the control input at time t, q t and R t is a symmetric positive definite matrix, the superscript T indicates transposition, W(f t ) represents the weight matrix based on human-computer interaction force, f t represents the human-computer interaction force at time t, A represents the system matrix, T represents the sampling period, I represents the unit matrix, ξ t represents the state variable at time t, b represents the control matrix, β represents the compensation vector generated by uniform acceleration discretization, Ω u is the input constraint set.
[0112] Input constraint set Ω u The collection represented is as follows:
[0113]
[0114] In the formula, m t represents the expected mass at time t in a single joint application scenario, m0 represents a positive constant, d t represents the expected damping at time t in a single joint application scenario, d t,min represents the minimum damping at time t in a single joint application scenario, d t,max represents the maximum damping at time t in a single joint application scenario, k t represents the expected stiffness coefficient at time t in a single joint application scenario, k t,min Indicates the minimum stiffness coefficient at time t in a single joint application scenario, k t,max Indicates the maximum stiffness coefficient at time t in a single joint application scenario.
[0115] W(f t ) is used to further reduce the human-machine interaction force and improve the flexibility of the exoskeleton, W(f t ) is as follows:
[0116]
[0117] In the formula, k1, k2 and k3 are positive constants. max(·) represents the maximum value algorithm, f min is a positive constant, f t Represents the human-computer interaction force at time t.
[0118] It can be seen that R t W(f t ) is also a positive definite matrix. The greater the human-computer interaction force, the greater the regular term To u t The stronger the constraint effect. t =m0, the greater the human-computer interaction force, the greater the parameter kt and d t The smaller it is, the smoother the human-computer interaction is.
[0119] Substituting the discretization model based on state variables into the cost function of the model predictive controller, the optimized cost function can be obtained:
[0120]
[0121] Limited by u t ∈Ω u ,in
[0122]
[0123] In the formula, J(u t ) means that when the input is u t The cost function when u t represents the control input at time t, the superscript T represents transposition, Q t and R t is a symmetric positive definite matrix, T represents the sampling period, I represents the identity matrix, ξ t represents the state variable at time t, b represents the control matrix, β represents the compensation vector generated by uniform acceleration discretization, W(f t ) represents the weight matrix based on human-computer interaction force, Ω u is the input constraint set.
[0124] The optimized cost function is u t Solve and get the optimized impedance parameters.
[0125] The arm exoskeleton robot control method provided by the present invention introduces human-computer interaction force into the cost function of the model predictive controller, and then substitutes the discretization model based on the state variable into the cost function to obtain an optimized cost function, and solves the optimized cost function to obtain optimized impedance parameters, thereby further improving the accuracy of the impedance parameters, which is conducive to subsequently improving the transparency of the exoskeleton robot.
[0126] In some embodiments, before obtaining the expected motion trajectory of the arm based on the predicted motion speed profile, the predicted motion duration, and the predicted motion range, the method further includes:
[0127] Based on the maximum acceleration, the maximum speed and the deceleration to half of the maximum speed, the predicted motion speed profile is segmented, and segmentation points of the predicted motion speed profile are determined;
[0128] According to the time to reach any segment point, the predicted exercise duration is obtained;
[0129] Based on the exercise vitality model and the predicted exercise duration, the predicted exercise range is obtained.
[0130] Specifically, an intuitive way to segment the predicted motion speed profile is to divide the predicted motion speed profile into four segments according to the maximum acceleration, the maximum speed and the maximum deceleration.
[0131] However, the designed point-to-point motion task is to grasp an object. According to the actual collected data, it is found that there may be multiple extreme points of deceleration during the deceleration process, which is related to the visual feedback adjustment during the arm deceleration process. Therefore, the segmentation point corresponding to the maximum deceleration is replaced with the segmentation point corresponding to the deceleration to half of the maximum speed, that is, the predicted motion speed profile is segmented according to the maximum acceleration, maximum speed and deceleration to half of the maximum speed, and the predicted motion speed profile is divided into four segments.
[0132] Figure 4 It is a segmented schematic diagram of the motion speed profile provided by the present invention, such as Figure 4 As shown, according to the maximum acceleration, the maximum speed and the deceleration to half of the maximum speed, the motion speed profile is divided into four sections, stage 1 is the stage from 0 to the maximum acceleration, stage 2 is the stage from the maximum acceleration to the maximum speed, stage 3 is the stage from the maximum speed to 50% of the maximum speed, and stage 4 is the stage from 50% of the maximum speed to 0.
[0133] Since the shape of the motion speed profile is assumed to be roughly constant, the motion duration can be estimated based on the time it takes to reach any segment point. Taking the maximum acceleration point as an example, the expression for predicting the motion duration is as follows:
[0134]
[0135] Where, T total is the predicted motion duration, t1 is the actual motion duration to reach the point of maximum acceleration, and τ1 is the time proportion to reach the point of maximum acceleration in the predicted motion velocity profile.
[0136] After obtaining the predicted exercise duration, the predicted exercise duration is input into the exercise vitality model to obtain the predicted exercise range.
[0137] The arm exoskeleton robot control method provided by the present invention segments the predicted motion speed profile based on the maximum acceleration, the maximum speed and the deceleration to half of the maximum speed, obtains the predicted motion duration according to the time of reaching any segmentation point, substitutes the predicted motion duration into the motion vitality model, and obtains the predicted motion range, which is conducive to the subsequent acquisition of the expected motion trajectory of the arm.
[0138] In some embodiments, the arm exoskeleton robot control method provided by the present invention further includes:
[0139] According to the actual motion time and the theoretical running time, the adaptability parameter is determined; the adaptability parameter is used to characterize the user's adaptability to the exoskeleton robot;
[0140] The motion vitality model is scaled based on the adaptability parameters.
[0141] Specifically, several studies have shown that human-machine interaction with exoskeleton robots involves an adaptation process. For subjects who use an arm exoskeleton robot for the first time, the degree of adaptation to the arm exoskeleton is low, which is usually manifested in slow movement speed. Therefore, it is necessary to propose an algorithm to promote user adaptation to the exoskeleton, whose goal is to restore the user's affected speed as quickly as possible under the constraints of the motion vitality model.
[0142] First, assume that the affine model of motion activity is
[0143] t vig =δ1d vig +δ2
[0144] Where, t vig is the duration of exercise, d vig is the range of motion, δ1 and δ2 are constants.
[0145] After an exercise is completed, the actual exercise range and actual exercise time of this exercise can be obtained. Further, according to the above exercise vitality model and theoretical exercise range, the theoretical exercise time can be obtained, and the expression is as follows:
[0146]
[0147] In the formula, represents the theoretical motion time, d0 represents the theoretical motion range, and δ1 and δ2 are constants.
[0148] Set the adaptability parameter α, which is used to characterize the user's adaptability to the exoskeleton robot. The closer the adaptability parameter α is to 1, the higher the user's adaptability is. The adaptability parameter is determined by the actual motion time and the theoretical running time.
[0149] The adaptability parameter α can be used as feedback to accelerate the user's adaptation process to the exoskeleton, that is, the motion vitality model is scaled using the adaptability parameter α. The expression of the scaled motion vitality model is as follows:
[0150]
[0151] In the formula, Indicates the duration of the scaled motion, d vig represents the range of motion, δ1 and δ2 are constants, and α represents the adaptability parameter.
[0152] Using the scaled motion vitality model for online trajectory prediction can accelerate the user's adaptation process to the exoskeleton.
[0153] The arm exoskeleton robot control method provided by the present invention scales the motion vitality model through an adaptability parameter α, which is helpful for promoting the user to adapt to the exoskeleton robot.
[0154] In some embodiments, the adaptability parameters are determined based on the actual exercise time and the theoretical running time, including:
[0155] When the actual movement time is less than or equal to the theoretical running time, the adaptability parameter is determined to be 1;
[0156] When the actual motion time is greater than the theoretical running time, the adaptability parameter is determined as Among them, t0 represents the actual movement time, Indicates the theoretical motion time.
[0157] Specifically, the expression of the adaptability parameter α is as follows:
[0158]
[0159] In the formula, α represents the adaptability parameter, t0 represents the actual movement time, represents the theoretical motion time, d0 represents the theoretical motion range, and δ1 and δ2 are constants.
[0160] For users who are using the arm exoskeleton for the first time, if the actual exercise time is greater than the theoretical running time, it means that the user's exercise speed is slow. In this case, the adaptability parameter is That is, the adaptability parameter α is greater than 1; if the actual exercise time is less than or equal to the theoretical running time, it means that the user's exercise speed is not slow, and the adaptability parameter α is equal to 1.
[0161] In some embodiments, the arm exoskeleton robot control method provided by the present invention further includes:
[0162] The motion velocity profile model is updated based on the Bayesian optimization algorithm and the motion velocity profile newly collected during the motion process.
[0163] Specifically, the adaptability parameter α is introduced to accelerate the user's adaptation to the exoskeleton. It is also necessary to provide reverse adaptation, that is, the exoskeleton adapts to the user, so as to achieve two-way adaptation between the exoskeleton robot and the user.
[0164] In trajectory prediction, it is assumed that the motion speed profile remains roughly constant. However, in actual point-to-point grasping movements, the motion speed profile of the elbow joint is not constant. In addition, after the arm is equipped with an exoskeleton, the arm's movement habits will be affected to a certain extent, which also causes the motion speed profile to change.
[0165] In order to make the exoskeleton adapt to the subject, an online adaptive adjustment of the motion velocity profile based on the newly collected motion trajectory data is proposed. Considering that the modeled motion velocity profile is a probabilistic model, the motion velocity profile model can be updated using a Bayesian optimization algorithm based on the newly collected motion velocity profile during the motion process.
[0166] The ProMP model is used to model the motion velocity profile. The motion velocity profile model can be expressed by the following formula:
[0167]
[0168] In the formula, is the joint state trajectory of the motion profile of the complete motion cycle, ∈ y represents a zero-mean Gaussian noise term with mean The variance is Gaussian distribution, ∑ y is a diagonal matrix, and the diagonal elements are represents the variance of Gaussian noise; is the Gaussian basis function matrix, where φ t represents the vector of basis function values at time t, Represents φ t Differentiation with respect to time, n represents the number of basis functions, and T represents the sampling period. is the basis function weight, which obeys a Gaussian distribution with a mean of θ0 and a variance of ∑0.
[0169] Joint state trajectory of motion profiles Obey the following Gaussian distribution:
[0170]
[0171] In the formula, Indicates the joint state trajectory of the complete periodic motion profile under the current parameter θ The probability of assuming that each movement is independent of each other, according to the Bayesian formula, we have:
[0172]
[0173] In the formula, represents m newly acquired complete motion cycle motion velocity profiles, Represents a known motion velocity profile In the case of , the posterior probability of the parameter θ is, Indicates that under the current parameter θ, the motion speed profile is obtained The probability of represents the kth of m newly collected motion speed profiles, P(θ) represents the prior probability distribution of parameter θ, and a represents the first normalized parameter.
[0174] Substituting into the specific expression, we have:
[0175]
[0176] In the formula, a ′ represents the second normalization parameter, Σ y represents the inherent variance of human motion, θ0 represents The mean of the Gaussian distribution, Σ0, represents The variance of the Gaussian distribution.
[0177] After simplification, we have:
[0178]
[0179] In the formula, a ″ represents the third normalization parameter. Since the posterior distribution of θ also satisfies the Gaussian distribution, let’s assume its mean is θ1 and its variance is ∑1. Then, after simplification, we have:
[0180]
[0181] Among them, the relationship between the variance and mean of the posterior distribution is:
[0182]
[0183] In the formula, θ1 represents The posterior mean of the Gaussian distribution is ∑1. The posterior variance of the Gaussian distribution is obeyed, the superscript T indicates the transposition, and θ0 indicates The prior mean of the Gaussian distribution, ∑0 represents The prior variance of the Gaussian distribution.
[0184] The mean θ1 and variance ∑1 of the posterior distribution are the parameters of the new motion speed profile.
[0185] In order to update the motion velocity profile model at the frequency in the formula, it can be set to update the motion velocity profile model once every five motion velocity profile acquisitions.
[0186] The arm exoskeleton robot control method provided by the present invention updates the motion speed profile model based on a Bayesian optimization algorithm and a motion speed profile newly collected during the motion process, which is beneficial for enabling the exoskeleton to adapt to the subject.
[0187] Figure 5FIG. 2 is a flow chart of the arm exoskeleton robot control method provided by the present invention. Figure 5 As shown, the arm exoskeleton robot control method provided by the present invention includes:
[0188] The user's motion speed trajectory when not wearing the exoskeleton is obtained, and offline motion speed profile modeling is performed based on the user's motion speed trajectory when not wearing the exoskeleton. The offline modeling of the user's motion speed profile when not wearing the exoskeleton serves as the basis for the segmented prediction of the arm motion trajectory after the user wears the exoskeleton. In addition, this speed profile model contains the movement habits of the human arm, and using it as a reference profile for the exoskeleton movement can reduce the changes in the user's arm motion habits caused by wearing the exoskeleton.
[0189] Based on the ProMP model, the motion velocity profile is modeled to obtain the predicted motion velocity profile. The predicted motion velocity profile is segmented based on the maximum acceleration, maximum velocity, and deceleration to half of the maximum velocity (profile model segmented prediction algorithm) to obtain the predicted motion duration. The predicted motion duration is input into the motion vitality model to obtain the predicted motion range. Based on the predicted motion velocity profile, predicted motion duration, and predicted motion range, the expected motion trajectory is obtained.
[0190] Will (differentiation of expected motion trajectory with respect to time), q (actual motion trajectory), (differentiation of actual motion trajectory with respect to time), (the second derivative of the actual motion trajectory with respect to time) and f (human-machine interaction force), which are input into the model predictive controller, and the model predictive controller outputs k t d t 、m t (Impedance parameter).
[0191] K t d t 、m t (impedance parameter) and And e inputs the variable impedance controller, the variable impedance controller outputs the human-computer interaction force, and controls the human-computer interaction system.
[0192] In addition, the adaptability parameter α is calculated according to the actual exercise time and the theoretical exercise time, and the exercise vitality model is scaled according to the adaptability parameter α.
[0193] According to the motion speed profile newly collected by the human-computer interaction system, the motion speed profile model is updated by the Bayesian optimization algorithm.
[0194] The arm exoskeleton robot control device provided by the present invention is described below. The arm exoskeleton robot control device described below and the arm exoskeleton robot control method described above can be referenced to each other.
[0195] Figure 6 Schematic diagram of the structure of the arm exoskeleton robot control device provided by the present invention. Figure 6 As shown, the present invention provides an arm exoskeleton robot control device, comprising:
[0196] A modeling module 610 is used to model the motion velocity profile based on the ProMP model and the motion trajectory data of the arm to obtain a predicted motion velocity profile of the arm; the arm is equipped with an exoskeleton robot;
[0197] An acquisition module 620, for obtaining an expected motion trajectory of the arm based on the predicted motion speed profile, the predicted motion duration, and the predicted motion range;
[0198] An optimization module 630 is used to input the expected motion trajectory, human-machine interaction force, and actual motion trajectory into a model predictive controller to optimize impedance parameters;
[0199] The control module 640 is used to input the optimized impedance parameters into the variable impedance controller to control the arm exoskeleton robot.
[0200] In some embodiments, the optimization module 630 is specifically used to:
[0201] Based on human-computer interaction, the cost function of the model predictive controller is constructed;
[0202] Substituting a discretization model based on state variables into the cost function to obtain an optimized cost function; the state variables include an error between the desired motion trajectory and the actual motion trajectory, a differential of the error, and the human-computer interaction force;
[0203] The optimized cost function is solved to obtain the optimized impedance parameters.
[0204] In some embodiments, the apparatus further comprises:
[0205] A segmentation module, for segmenting the predicted motion velocity profile based on a maximum acceleration, a maximum velocity, and a deceleration to half of the maximum velocity, and determining segmentation points of the predicted motion velocity profile;
[0206] A first prediction module, used for obtaining the predicted exercise duration according to the time of arriving at any segmentation point;
[0207] The second prediction module is used to obtain the predicted movement range based on the movement activity model and the predicted movement duration.
[0208] In some embodiments, the apparatus further comprises:
[0209] A determination module, used to determine an adaptability parameter according to the actual motion time and the theoretical running time; the adaptability parameter is used to characterize the user's adaptability to the exoskeleton robot;
[0210] A scaling module is used to scale the motion vitality model based on an adaptability parameter.
[0211] In some embodiments, the determining module is specifically used to:
[0212] When the actual movement time is less than or equal to the theoretical running time, the adaptability parameter is determined to be 1;
[0213] When the actual motion time is greater than the theoretical running time, the adaptability parameter is determined as Among them, t0 represents the actual movement time, Indicates the theoretical motion time.
[0214] In some embodiments, the apparatus further comprises:
[0215] The updating module is used to update the motion speed profile model based on the Bayesian optimization algorithm and the motion speed profile newly collected during the motion process.
[0216] It should be noted here that the above-mentioned arm exoskeleton robot control device provided by the present invention can implement all the method steps implemented by the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0217] Figure 7 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the arm exoskeleton robot control method, the method comprising: modeling the motion velocity profile based on the ProMP model and the motion trajectory data of the arm to obtain the predicted motion velocity profile of the arm; the arm is equipped with an exoskeleton robot; based on the predicted motion velocity profile, the predicted motion duration and the predicted motion range, the expected motion trajectory of the arm is obtained; the expected motion trajectory, the human-machine interaction force and the actual motion trajectory are input into the model prediction controller to optimize the impedance parameters; the optimized impedance parameters are input into the variable impedance controller to control the arm exoskeleton robot.
[0218] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0219] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the arm exoskeleton robot control method provided by the above methods, the method including: modeling the motion speed profile based on the ProMP model and the motion trajectory data of the arm to obtain the predicted motion speed profile of the arm; the arm is equipped with an exoskeleton robot; based on the predicted motion speed profile, the predicted motion duration and the predicted motion range, the expected motion trajectory of the arm is obtained; the expected motion trajectory, human-computer interaction force and actual motion trajectory are input into the model prediction controller to optimize the impedance parameters; the optimized impedance parameters are input into the variable impedance controller to control the arm exoskeleton robot.
[0220] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the arm exoskeleton robot control method provided by the above-mentioned methods, the method comprising: modeling the motion speed profile based on the ProMP model and the motion trajectory data of the arm to obtain the predicted motion speed profile of the arm; the arm is equipped with an exoskeleton robot; based on the predicted motion speed profile, the predicted motion duration and the predicted motion range, the expected motion trajectory of the arm is obtained; the expected motion trajectory, human-computer interaction force and actual motion trajectory are input into the model prediction controller to optimize the impedance parameters; the optimized impedance parameters are input into the variable impedance controller to control the arm exoskeleton robot.
[0221] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0222] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0223] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0224] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0225] In the present invention, "at least one" means one or more, and "more than one" means two or more than two. The terms "first", "second", "third", "fourth", etc. (if any) in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0226] In the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A control method for an arm exoskeleton robot, It is characterized in that include: Based on the ProMP model and the motion trajectory data of the arm, the motion velocity profile is modeled to obtain the predicted motion velocity profile of the arm; The arm is equipped with an exoskeleton robot; Based on the predicted motion speed profile, predicted motion duration and predicted motion range, the expected motion trajectory of the arm is obtained; The desired motion trajectory, human-machine interaction force, and actual motion trajectory are input into a model predictive controller to optimize impedance parameters; The optimized impedance parameters are input into the variable impedance controller to control the arm exoskeleton robot.
2. The arm exoskeleton robot control method according to claim 1, It is characterized in that The step of inputting the expected motion trajectory, the human-machine interaction force, and the actual motion trajectory into a model predictive controller to optimize the impedance parameters includes: Based on human-computer interaction, the cost function of the model predictive controller is constructed; Substituting a discretization model based on state variables into the cost function to obtain an optimized cost function; the state variables include an error between the desired motion trajectory and the actual motion trajectory, a differential of the error, and the human-computer interaction force; The optimized cost function is solved to obtain the optimized impedance parameters.
3. The arm exoskeleton robot control method according to claim 1, It is characterized in that Before obtaining the expected motion trajectory of the arm based on the predicted motion speed profile, the predicted motion duration, and the predicted motion range, the method further includes: Segmenting the predicted motion velocity profile based on the maximum acceleration, the maximum velocity, and the deceleration to half of the maximum velocity, and determining segmentation points of the predicted motion velocity profile; According to the time of arriving at any segmentation point, the predicted exercise duration is obtained; The predicted movement range is obtained based on the movement activity model and the predicted movement duration.
4. The arm exoskeleton robot control method according to claim 3, It is characterized in that The method further comprises: Determine an adaptability parameter according to the actual motion time and the theoretical running time; the adaptability parameter is used to characterize the user's adaptability to the exoskeleton robot; The motion activity model is scaled based on an adaptability parameter.
5. The arm exoskeleton robot control method according to claim 4, It is characterized in that Determining the adaptability parameters according to the actual exercise time and the theoretical running time includes: When the actual movement time is less than or equal to the theoretical running time, the adaptability parameter is determined to be 1; When the actual movement time is greater than the theoretical running time, the adaptability parameter is determined as Among them, t 0 Indicates the actual exercise time. Indicates the theoretical motion time.
6. The arm exoskeleton robot control method according to claim 1, It is characterized in that The method further comprises: The motion velocity profile model is updated based on the Bayesian optimization algorithm and the motion velocity profile newly collected during the motion process.
7. An arm exoskeleton robot control device, It is characterized in that include: A modeling module, used for modeling the motion velocity profile based on the ProMP model and the motion trajectory data of the arm, to obtain the predicted motion velocity profile of the arm; The arm is equipped with an exoskeleton robot; An acquisition module, for obtaining an expected motion trajectory of the arm based on a predicted motion speed profile, a predicted motion duration, and a predicted motion range; An optimization module, used for inputting the expected motion trajectory, human-machine interaction force, and actual motion trajectory into a model predictive controller to optimize impedance parameters; The control module is used to input the optimized impedance parameters into the variable impedance controller to control the arm exoskeleton robot.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the arm exoskeleton robot control method as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the arm exoskeleton robot control method as described in any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the arm exoskeleton robot control method as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Mirror image self-adaptive impedance control method for flexible lower limb exoskeleton
CN116671941A
Method for controlling robot device
JP2022176917A
exoskeleton
US20180141206A1
Robot stability control method, robot and computer-readable storage medium
US20230191604A1
Trajectory planning method and apparatus, device and storage medium
WO2024046789A1
