A unilateral obstacle crossing control method for a two-wheeled and footed robot

Through online linearization, discretization dynamics model and virtual leg concept, combined with Kalman filter and linear quadratic regulator, the stable control of unilateral obstacle crossing of the two-wheeled robot is realized, solving the complex problems in the existing technology. Unilateral obstacle crossing control problem simplifies the control process and improves accuracy and stability.

CN114564010BActive Publication Date: 2024-10-22CHINA NORTH VEHICLE RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210133403.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-11
Publication Date
2024-10-22
Estimated Expiration
2042-02-11

AI Technical Summary

Technical Problem

The existing two-wheeled robot's unilateral obstacle-crossing control technology is complex and requires high-precision whole-body dynamics modeling and optimized control. It also poses a great challenge to the system's computing power, resulting in a complex control process.

Method used

Using an online linearized and discretized simplified dynamic model of the two-wheeled foot, the concept of virtual legs is introduced, and the two legs are simplified into one virtual leg. Balance control is achieved by controlling the driving force distance of the driving wheel, and the joints of the supporting legs are used to achieve balance control. Angle adjustment is used to achieve attitude control, the virtual legs are integrated to establish a state feedback control model, and the Kalman filter and linear quadratic regulator are used for full state feedback to achieve stable control of unilateral obstacle crossing.

Benefits of technology

The control method is simplified, control accuracy and stability are improved, smooth control of unilateral obstacle crossing is achieved, and system complexity and computing power requirements are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114564010B_ABST
    Figure CN114564010B_ABST
Patent Text Reader

Abstract

The present invention provides a unilateral obstacle crossing control method for a two-wheeled foot robot, which is used to solve the problem of the complexity of the unilateral obstacle crossing control method of the two-wheeled foot robot caused by the complex modeling method. Firstly, a simplified dynamic model of a two-wheeled foot containing six state quantities of robot virtual leg posture angle, virtual leg posture angular velocity, body yaw posture angle, body yaw posture angular velocity, body forward displacement, and body forward linear velocity is established, and linearization and discretization processing is performed; secondly, polynomial interpolation of state feedback matrix elements is performed for the discrete virtual leg length, a Kalman filter is used to realize each state observation, a linear quadratic regulator is used to perform full state feedback, and state feedback balance control is realized; finally, the roll angle posture compensation is performed on the supporting leg, and the hip joint angle and knee joint angle are generated by the inverse solution of the supporting leg kinematics to realize the posture control of unilateral obstacle crossing. The method is simple and easy to implement, and the control effect is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of robot motion control, in particular to a unilateral obstacle crossing control method for a two-wheeled and footed robot. Background Art

[0002] The two-wheeled legged robot is a robot that can walk with both feet and wheels. Different from the existing two-wheeled balancing car, the two-wheeled legged robot has the advantages of both efficient wheeled mobility and footed walking in complex environments. Domestic and foreign research institutions have carried out corresponding research. Typical ones include the Handle wheeled legged robot developed by Boston Dynamics in the United States, which can achieve complex movements such as unilateral obstacle crossing, jumping, going down stairs, and going downhill. The specific technologies involved have not yet been made public. The Ascento two-wheeled legged robot developed by the Swiss Federal Institute of Technology in Zurich can achieve flexible movements such as jumping, unilateral obstacle crossing, and continuous stair climbing. The unilateral obstacle crossing control is mainly achieved using the whole-body dynamics method.

[0003] The two-wheeled leg robot includes a body, two supporting legs, and two driving wheels. Each supporting leg is equipped with a driving wheel. Each supporting leg includes a thigh and a calf. The connecting part between the thigh and the body is called the hip joint, and the connecting part between the thigh and the calf is called the knee joint. Most of the existing two-wheeled leg robot unilateral obstacle crossing control technologies use the whole-body dynamics method. This method requires complex dynamic modeling of each rigid body and joint, and is implemented with the help of optimized control methods. Therefore, for each rigid body, higher modeling accuracy is required, and it also poses a great challenge to the computing power of the entire system. Summary of the invention

[0004] In order to solve the problem of complex unilateral obstacle crossing control of a two-wheeled foot robot caused by complex modeling methods, the present invention provides a unilateral obstacle crossing control method for a two-wheeled foot robot. On the basis of a linearized and discretized simplified dynamic model of a two-wheeled foot, the concept of a virtual leg is introduced, and two legs are simplified into one virtual leg. In the simplified model, the two wheels are independent of each other, and the virtual leg is connected to the two wheels. The present invention realizes balance control of the controlled object by controlling the driving force of the driving wheel, that is, controlling the controlled object not to tilt forward and backward; and realizes posture control by controlling the joint angles of the two supporting legs respectively, ensuring that the controlled object does not tilt sideways. The present invention integrates the virtual leg to establish a state feedback control model, and finally performs unilateral obstacle crossing posture compensation on the supporting leg to realize stable control.

[0005] The present invention firstly establishes a simplified dynamic model of a two-wheeled foot containing six state quantities, namely, the robot's virtual leg posture angle, the virtual leg posture angular velocity, the body yaw posture angle, the body yaw posture angular velocity, the body forward displacement, and the body forward linear velocity, and performs linearization and discretization processing. Secondly, the concept of virtual legs is introduced, polynomial interpolation of state feedback matrix elements is performed for discrete virtual leg lengths, a Kalman filter is used to realize each state observation, a linear quadratic regulator is used to perform full state feedback, a driving torque of two driving wheels is generated, and state feedback balance control is realized. Finally, on the basis of state feedback balance control, the support leg is compensated for the roll angle posture, the hip joint angle and the knee joint angle are generated by the inverse solution of the support leg kinematics, and the posture control of unilateral obstacle crossing is realized. The method is simple and easy to realize, and has a good control effect.

[0006] The specific technical solutions are as follows:

[0007] Step (1), establishing a simplified dynamic model of a two-wheeled foot containing six state quantities, namely, robot virtual leg posture angle, virtual leg posture angular velocity, body yaw posture angle, body yaw posture angular velocity, body forward displacement, and body forward linear velocity, as a control model basis, and performing linearization and discretization processing;

[0008] Step (2) balance control of the two-wheeled robot under variable virtual leg length, to support the change of virtual legs for unilateral obstacle crossing;

[0009] Step (3) Stable attitude adaptation under unilateral obstacle crossing to complete unilateral obstacle crossing stable control.

[0010] Further, step (2) includes the following steps,

[0011] Step 21: Solve the state feedback matrix at the current moment:

[0012] Obtain the state feedback matrix K under discrete virtual leg length by offline calculation of the state feedback matrix d , and then use the discrete virtual leg length and the corresponding K d , through 5th-order polynomial interpolation, the state feedback matrix K is fitted, and finally the state feedback matrix at the current moment is obtained according to the variable virtual leg length at the current moment. The fitted state feedback matrix K is used to adapt to the state feedback control under various lengths of the variable virtual leg;

[0013] Step 22: Based on the discrete model of the two-wheeled robot, use the Kalman filter to estimate the system state at the current moment

[0014] Step 23: Fusion of the state feedback matrix K of step 21 and the system state of step 22 Establishing the desired state X dand the estimated current system state The state error feedback control model between the two can obtain the current wheel driving torque U k , to achieve balance control under variable virtual leg length.

[0015] Further, step (3) includes the following steps,

[0016] Step 31: Real-time measurement of the roll attitude angle φ of the aircraft body;

[0017] Step 32: Establishing a proportional control term and an integral control term of the roll angle of the aircraft body;

[0018] Step 33: Use the proportional control term and the integral control term established in step 32 to perform posture compensation on the heights of the left and right supporting legs at the current moment respectively, convert the height positions of the two supporting legs after compensation into the joint angles of each supporting leg through inverse kinematics, and achieve stable posture adaptation by driving the joints. Together with the state error feedback model of step 23, they realize unilateral obstacle crossing stability control.

[0019] Beneficial effects:

[0020] The existing control methods of two-wheeled and footed robots have conducted a lot of research on the balance control of the robot's forward movement, steering, etc. The feedback control accuracy of the position change state of the body is insufficient, and most of the whole body dynamics control methods are used to solve the posture control problem under the condition of unilateral obstacle crossing. The control process is complicated. Compared with the existing technology, the present invention has the following advantages:

[0021] (1) Establishing the full-state dynamic equation can effectively control the robot's posture; (2) Adopting the virtual leg idea and taking the virtual leg length as the input for the interpolation of the state feedback matrix elements can effectively achieve stability under different virtual leg lengths; (3) Performing quintic polynomial interpolation on the state matrix elements can improve the accuracy of state feedback control; (4) Performing roll angle posture compensation based on the support leg height can effectively control the robot's unilateral obstacle crossing, and the control method is simple and effective; (5) The model of the present invention is simple, and the control method is simple and effective. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a two-wheeled robot model.

[0023] Figure 2 It is a two-wheeled robot unilateral obstacle crossing model.

[0024] Figure 3 It is a schematic diagram of the angle of the virtual leg in the vertical direction. DETAILED DESCRIPTION

[0025] A method for controlling a two-wheeled and footed robot to traverse obstacles on one side is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] At the same time, it is explained here that in order to make the embodiments more detailed, the following embodiments are the best and preferred embodiments. For some well-known technologies, those skilled in the art may also adopt other alternative methods to implement them; and the drawings are only for a more specific description of the embodiments and are not intended to specifically limit the present invention.

[0027] The present invention encompasses any substitution, modification, equivalent method and scheme made on the essence and scope of the present invention. In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, and those skilled in the art can fully understand the present invention without the description of these details.

[0028] like Figure 1 As shown, step 1 is to model the dynamics of the two-wheeled foot as the basis of the control model. Specifically, it includes:

[0029] Step 11: Use the Lagrange equation to establish a two-wheeled foot dynamics model containing six state quantities: robot virtual leg posture angle / posture angular velocity, yaw posture / posture angular velocity, and forward displacement / linear velocity.

[0030]

[0031] Where L is the Lagrangian function, q is the generalized coordinate, and Q is the generalized force.

[0032] Kinetic energy of the system:

[0033]

[0034] Where T is the system kinetic energy, θ is the angle of the virtual leg in the vertical direction, γ is the yaw angle of the body, x is the forward displacement of the robot, and I xx is the moment of inertia of the body along the x-axis, I yy is the moment of inertia of the body along the y-axis, I zz The moment of inertia of the body along the z axis, m wheel mass, M body mass, l virtual leg length, d width between wheels, r wheel radius,

[0035] Potential energy of the system:

[0036] V=Mglcosθ

[0037] L=TV

[0038] Step 12: Linearization of the two-wheeled foot dynamics:

[0039]

[0040]

[0041] in:

[0042] p1=[(2m+M)I yy r 2 +2I yy I w ]+2Mml 2 r 2 +2Ml 2 I w

[0043] p2=(M1 2 +I yy )(Mr 2 +2mr 2 +2I w )-M 2 l 2 r 2

[0044] p3=2d 2 r(m+I w / r 2 )+rI zz

[0045] In the formula, I w The moment of inertia of the wheel about the axis of rotation, τ l , τ r are the active driving torques of the left and right wheels respectively.

[0046] Step 13: Discretize the continuous dynamics model of the two-wheeled foot.

[0047]

[0048] Where Δt is the discrete time.

[0049] Step 2: Balance control of the two-wheeled robot under variable virtual leg length, to support the change of virtual legs for unilateral obstacle crossing. Specifically include:

[0050] Step 21: Solve the state feedback matrix at the current moment. Obtain the state feedback matrix elements under the discrete virtual leg length through offline calculation of the state feedback matrix, and perform 5th-order polynomial interpolation based on the discrete virtual leg length and matrix elements; measure the hip joint and knee joint angles of the two supporting legs in real time, calculate the virtual leg length based on the leg kinematic relationship, and calculate the state feedback matrix at the current moment based on the fitted 5th-order polynomial.

[0051] Among them, the state feedback matrix is ​​calculated offline and solved using the Riccati equation, which is solved as follows:

[0052]

[0053] In the formula, the positive definite matrix P is obtained by the following equation,

[0054]

[0055] Where Q is a semi-positive definite real symmetric matrix, R is a positive definite real symmetric matrix, and A d and B d The elements of the matrix contain the virtual leg lengths and are obtained from the formula in step 13.

[0056] Among them, the state feedback matrix is ​​interpolated by a fifth-order polynomial. By setting the discrete virtual leg length and solving the corresponding K matrix elements according to the Q and R matrix settings, it can adapt to the state feedback control under the variable virtual leg length. The fifth-order polynomial interpolation form is as follows:

[0057] K ij =k 5_ij l 5 +k 4_ij l 4 +k 3_ij l 3 +k 2_ij l 2 +k 1_ij l+k 0_ij

[0058] Where K ij is the i-th row and j-th column element of the K matrix, k n_ij Corresponding to K ij The polynomial coefficients of .

[0059] The virtual leg length is calculated by measuring the hip joint and knee joint angles of the two supporting legs in real time and according to the leg kinematic relationship, and the solution is as follows:

[0060]

[0061] p f1x =-l1sinθ 11 -l2sin(θ 11 +θ 12 )

[0062] p f1z =-l1cosθ 11 -l2cos(θ 11 +θ 12 )

[0063] p f2x =-l1sinθ 21 -l2sin(θ 21 +θ22 )

[0064] p f2z =-l1cosθ 21 -l2cos(θ 21 +θ 22 )

[0065]

[0066]

[0067] In the formula, p fi is the foot position of the ith leg, p fix is the x-direction position of the foot of the ith leg, p fiz is the z-direction position of the foot of the i-th leg, l1 is the thigh length, l2 is the calf length, θ 11 Left leg hip joint angle, θ 12 Left knee angle, θ 21 Right leg hip joint angle, θ 22 Right knee angle.

[0068] Step 22: Based on the discrete model of the two-wheeled robot in step 13, use the Kalman filter to estimate the system state at the current moment The details are as follows:

[0069]

[0070] in,

[0071]

[0072]

[0073]

[0074] In the formula, is the system state at the last discrete time, is the new system state, is the estimated system state at the current time, P k-1 is the covariance matrix of the previous discrete time, is the new covariance matrix, P k is the current covariance matrix, y is the system output, U k-1 is the control input of the previous discrete time, A d , B d , obtained from the simplified dynamic discretization model of the two-wheeled foot, the C matrix is ​​obtained from the system output equation, and P k-1 The initial setting is the identity matrix, Initially set to zero vector, U k-1Initially set to the zero vector.

[0075] Step 23: The state feedback matrix of step 21 and the system state of step 22 are integrated to establish a state error feedback control model, generate wheel driving torque, and realize balance control under variable virtual leg length. The control model is as follows:

[0076]

[0077] Where U k is the wheel driving torque input at the current discrete time, X d The expected state.

[0078] like Figure 2 As shown, step 3 is to adapt to the posture stability under unilateral obstacle crossing to ensure that the controlled object does not roll over and complete the unilateral obstacle crossing stability control. Specifically includes:

[0079] Step 31: Detect the roll angle φ of the aircraft body in real time through the airborne inertial measurement unit.

[0080] Step 32: Use the proportional-integral method to control the roll angle φ, and establish the proportional control term and the integral control term of the body roll angle as follows:

[0081] Proportional term p kp =k pφ (φ d -φ), integral term p ki =k Iφ ∑(φ d -φ)Δt,

[0082] In the formula, k pφ is the proportionality coefficient, k Iφ is the integral coefficient, φ d is the desired body roll angle, φ is the actual body roll angle, and Δt is the time interval.

[0083] Step 33: According to the polar directions of the left and right legs, the height of the supporting leg is compensated for posture to generate a new foot end position; since there is a calculation relationship between the foot end position and each joint angle, the angle of each joint can be obtained from the new foot end position through leg inverse kinematics, and then the joint angles can be controlled to achieve posture adaptation. The posture adaptation and the state error feedback model of step 23 work together to achieve unilateral obstacle crossing stability control.

[0084]

[0085]

[0086] θ ij =IK(p i_new )

[0087] In the formula, the left leg α = -1, the right leg α = 1, is the height compensation of the ith supporting leg, is the new height position of the i-th supporting leg, p i_new is the new foot position of the i-th supporting leg, IK represents the inverse kinematics calculation of the leg, θ ij represents the angle of the jth joint of the i-th supporting leg.

[0088] The present invention is used to control the movement of a two-wheeled foot robot, specifically by setting the expected robot virtual leg posture angle, virtual leg posture angular velocity, body yaw posture angle, body yaw posture angular velocity, body forward displacement, body forward linear velocity six state quantities, and the expected body roll angle, to ensure that the robot can achieve stable unilateral obstacle crossing. For example, the expected body forward linear velocity is set to 1km / h, the expected yaw velocity and yaw angle are set to 0, the expected virtual leg posture and posture angular velocity are set to 0, the expected forward displacement will be accumulated according to speed and time, and the robot will travel according to the expected body forward linear velocity; when a slope is encountered on the current approach, the robot is controlled to cross obstacles on one side, that is, one wheel rides on the slope and the other wheel keeps traveling on a horizontal road. At this time, firstly, step (2) is used to ensure that the robot does not tilt forward or backward, and then the body roll angle is controlled to reach the expected body roll angle through proportional integral control to ensure that it does not roll over, thereby achieving stable unilateral obstacle crossing.

Claims

1. A method for controlling a two-wheeled legged robot to traverse obstacles on one side, wherein the two-wheeled legged robot comprises a body, two supporting legs, and two drive wheels. Each supporting leg is connected to a drive wheel. Each supporting leg comprises a thigh and a calf. The connection between the thigh and the body is called a hip joint, and the connection between the thigh and the calf is called a knee joint. The method is characterized by: The concept of virtual legs is introduced, and the two legs are simplified into one virtual leg. In the simplified model, the two driving wheels are independent of each other, and the virtual leg is connected to the two driving wheels. The length of the virtual leg is equal to half of the sum of the distances from the hip joint of each supporting leg to the center of the corresponding driving wheel. There is a leg kinematic calculation relationship between the virtual leg length and the hip joint angle and knee joint angle of the two supporting legs. The hip joint angle and knee joint angle of the two supporting legs are obtained through real-time measurement. This method achieves balance control under variable virtual leg length by controlling the driving torque of the wheels, and achieves posture adaptation by controlling the joint angle of each supporting leg, ultimately realizing unilateral obstacle traversal and stable control of the two-wheeled leg robot. The specific control process includes the following steps: Step (1), establishing a simplified dynamic model of the two-wheeled foot containing six state quantities: the robot virtual leg posture angle, the virtual leg posture angular velocity, the body yaw posture angle, the body yaw posture angular velocity, the body forward displacement, and the body forward linear velocity, as the control model basis, and performing linearization and discretization processing; Step (2) balance control of the two-wheeled foot robot under variable virtual leg length to support the change of virtual legs for unilateral obstacle crossing; Step (3) posture stability adaptation under unilateral obstacle crossing to complete unilateral obstacle crossing stability control; The simplified dynamic linearization model of the two-wheeled foot is as follows: in: p1=[(2m+M)I yy r 2 +2I yy I w ]+2Mml 2 r 2 +2Ml 2 I w p2=(Ml 2 +I yy )(Mr 2 +2mr 2 +2I w )-M 2 l 2 r 2 p3=2d 2 r(m+I w / r 2 )+rI zz Where x is the forward displacement of the robot, γ is the yaw angle of the body, θ is the vertical angle of the virtual leg, M is the body mass, l is the length of the virtual leg, g is the acceleration due to gravity, r is the wheel radius, m is the wheel mass, and I is the vertical angle of the virtual leg. w The moment of inertia of the wheel about the axis of rotation, I xx is the moment of inertia of the body along the x-axis, I yy is the moment of inertia of the body along the y-axis, I zz The moment of inertia of the body along the z axis, d is the width between the wheels, τ l , τ r are the active driving torques of the left and right wheels respectively, and A, B, C, X, y, and U correspond to the corresponding matrices in the formulas respectively; The simplified dynamic discretization model of the two-wheeled foot is as follows: Where Δt is the discrete time, A d 、B d 、X k 、U k The corresponding matrices in the formulas are:

2. A two-wheeled leg robot unilateral obstacle crossing control method according to claim 1, characterized in that: Furthermore, step (2) includes the following steps, Step 21: Solve the state feedback matrix at the current moment: Obtain the state feedback matrix K under discrete virtual leg length through offline calculation of the state feedback matrix d , and then use the discrete virtual leg length and the corresponding K d , through 5th-order polynomial interpolation, the state feedback matrix K is fitted, and finally the state feedback matrix at the current moment is obtained according to the variable virtual leg length at the current moment. The state feedback matrix K obtained by fitting is used to adapt to the state feedback control under various lengths of the variable virtual leg; Step 22: Based on the discrete model of the two-wheeled leg robot, use the Kalman filter to estimate the system state at the current moment Step 23: Fusion of the state feedback matrix K from step 21 and the system state from step 22 Establishing the desired state X d and the estimated current system state The state error feedback control model between the two is used to obtain the current wheel driving torque U k , to achieve balance control under variable virtual leg length.

3. The method for controlling a two-wheeled robot to traverse obstacles on one side according to claim 2, wherein: Furthermore, the state feedback matrix described in step 21 is calculated offline and solved using the Riccati equation. The specific equation is as follows: Where, the positive definite matrix P is obtained by the following equation, Where Q is a semi-positive definite real symmetric matrix, R is a positive definite real symmetric matrix, and A d and B d The elements of the matrix contain the virtual leg lengths.

4. The method for controlling a two-wheeled legged robot to traverse an obstacle on one side according to claim 2, wherein: Furthermore, the system state observation model described in step 22 is as follows: in, Where, is the system state at the last discrete time, is the new system state, is the estimated system state at the current time, P k-1 is the covariance matrix of the previous discrete time, is the new covariance matrix, P k is the current covariance matrix, y is the system output, U k-1 is the control input of the previous discrete time, A d 、B d It is obtained from the simplified dynamic discretization model of the two-wheeled foot, and the C matrix is ​​obtained from the system output equation.

5. The method for controlling a two-wheeled legged robot to traverse obstacles on one side according to claim 2, characterized in that: Furthermore, the state error feedback control model described in step 23 is as follows: Where, X d is the expected state, and is the set value.

6. The method for controlling a two-wheeled robot to traverse obstacles on one side according to claim 1, characterized in that: Furthermore, step (3) includes the following steps, Step 31: Real-time measurement of the body roll attitude angle φ; Step 32: Establishing the proportional control term and the integral control term of the roll angle of the aircraft body; Step 33: Use the proportional control term and integral control term established in step 32 to perform posture compensation on the height of the left and right supporting legs at the current moment respectively, and convert the height positions of the two supporting legs after compensation into the joint angles of each supporting leg through inverse kinematics. By driving the joints to achieve stable posture adaptation, and working together with the state error feedback model of step 23 to achieve unilateral obstacle crossing stability control.

7. The method for controlling a two-wheeled legged robot to traverse obstacles on one side according to claim 6, characterized in that: Furthermore, the proportional control term and the integral control term in step 32 are specifically as follows: p kp =k pφ (f d -f) p ki =k Iφ ∑(φ d -φ)Δt Where k pφ is the proportionality coefficient, k Iφ is the integral coefficient, φ d is the desired roll angle of the aircraft body, φ is the actual roll angle of the aircraft body, and Δt is the time interval.

8. The method for controlling a two-wheeled legged robot to traverse obstacles on one side according to claim 6, characterized in that: Furthermore, the posture compensation for the support leg height in step 33 is specifically as follows: Where, the left leg α=-1, the right leg α=1, is the height compensation of the i-th supporting leg.

Citation Information

Patent Citations

  • Quadruped robot multi-supporting-leg force distribution method based on virtual legs

    CN113721649A

  • Method for modeling a simplified robot model for stable walking of a biped robot

    KR1020180057173A