This application claims the benefit of Chinese Patent Application No. 202011179099.8, filed Oct. 29, 2020, which is hereby incorporated by reference in its entirety.
The present disclosure relates to the field of robot control, and in particular, to a method for generating a novel impedance configuration for a three-degree-of-freedom (3DOF) leg of a hydraulically-driven legged robot.
In recent years, robots have been widely applied in all walks of life. As an important part of the robot assembly, mobile robots are usually classified into the following types based on movement: wheeled robots, legged robots, spherical robots, tracked robots, and the like. Relative to robots moving in other manners, legged biomimetic robots can better adapt to unknown and unstructured environments. Particularly, after being integrated with a hydraulic drive with a high power-to-weight ratio, the legged biomimetic robots can be improved greatly in motion performance and load capabilities. The legged biomimetic robots can better complete tasks such as material transportation, rescue, detection, and military assistance in complicated environments (such as ice surfaces, snowy lands, sandy lands, and rubble), and gain close attention from scholars all over the world.
The overall gait control performance of a hydraulically-driven legged robot is determined by motion control performance of each leg, and the motion control performance of the leg is determined by swing phase trajectory tracking performance and stance phase compliance control performance of the leg. Impedance control is an effective control method that can implement trajectory tracking and compliance for the leg. In impedance control, an inner hydraulic control loop is used as a core, and an outer impedance control loop is added, so that the system implements an output correspondence between a position and force. Frequently-used inner hydraulic control loops include an inner position-based control loop and an inner force-based control loop, and corresponding hydraulic control methods are referred to as position-based impedance control and force-based impedance control. The two impedance control methods are obviously different in construction of a mathematical model, design of a core controller, parameter selection, and experiment system construction, and therefore have different dynamic compliance. At present, the two impedance control methods have been widely used in all kinds of legged robots. Although mature optimized control methods have been provided, due to restrictions of an impedance control mechanism, there is limited space for improving control precision and response capabilities of the two impedance control methods. How to further improve the motion control performance of the leg of this kind of robot has become one of challenges in this field. Therefore, it is necessary to preferably select different inner-loop core control modes for various joints of the leg, to give full play to advantages of the two impedance control methods.
In conclusion, in leg compliance control of the hydraulically-driven legged robot, a novel impedance configuration needs to be urgently designed for a 3DOF leg.
An objective of the present disclosure is to provide a method for generating a novel impedance configuration for a 3DOF robotic leg, to further improve motion control performance of a robotic leg.
To achieve the above purpose, the present disclosure provides the following technical solutions.
A method for generating a novel impedance configuration for a three-degree-of-freedom (3DOF) robotic leg includes:
Preferably, before the obtaining a mathematical model of a hydraulic drive system of the leg of a to-be-controlled robot, the method further includes:
obtaining a length of each member in the hydraulic drive system of the leg of the to-be-controlled robot, the rotation angle of each joint, and the torque of each joint, where a thigh member, a crus member, and a foot member are included;
constructing the leg kinematics model based on the length of each member and the rotation angle of each joint;
constructing the leg statics model based on the length of each member, the rotation angle of each joint, and the torque of each joint; and
constructing the leg dynamics model based on a Lagrangian dynamics equation.
Preferably, the determining, when the foot of the to-be-controlled robot suffers disturbing force, a variation of an input signal of an inner position-based control loop of the hydraulic drive unit of each joint based on the mathematical model specifically includes:
when the foot of the to-be-controlled robot suffers the disturbing force, detecting, by a force sensor of the hydraulic drive unit of each joint, a force signal, performing inverse calculation by using the leg dynamics model, to obtain a disturbing force component of the foot in the signal detected by the force sensor of the hydraulic drive unit of each point, and performing forward calculation by using the leg statics model, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each joint, the rotation angle of each joint, and the torque of each joint, to obtain the disturbing force that the foot suffers;
using a leg impedance characteristic solver to obtain a foot position variation corresponding to the disturbing force that the foot suffers; and
performing inverse calculation based on the foot position variation by using the leg kinematics model and the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, to obtain the variation of the input signal of the inner position-based control loop of the hydraulic drive unit of each joint.
Preferably, the determining, when the foot suffers a disturbing position, a variation of an input signal of an inner force-based control loop of the hydraulic drive unit of each joint based on the mathematical model specifically includes:
when the foot suffers the disturbing position, detecting, by a position sensor of the hydraulic drive unit of each joint, a position signal, and then performing forward calculation by using the leg kinematics model and the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, to obtain a position signal of the foot, where the position signal of the foot includes an input position of the foot and the actual position of the foot;
obtaining a desired outer-loop position of the foot based on the position signal of the foot; and
converting the desired outer-loop position of the foot into a corresponding desired force signal of foot impedance by using a leg impedance characteristic solver, and performing inverse calculation on the desired force signal of the foot impedance by using the leg statics model, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each point, the rotation angle of each joint, and the torque of each joint, to obtain the variation of the input signal of the inner force-based control loop of the hydraulic drive unit of each joint.
According to specific embodiments provided in the present disclosure, the present disclosure has the following two technical effects.
According to the method for generating a novel impedance configuration for a 3DOF leg of a hydraulically-driven legged robot in the present disclosure, a novel impedance configuration in which position-based control is performed on a hydraulic drive unit of a hip joint, and force-based control is performed on hydraulic drive units of a knee joint and an ankle joint in a hydraulic drive system of a leg is generated, to control motion of the foot of a to-be-controlled robot within motion space. This method not only considers impact of different load mass and installation positions on control performance of each joint, but also gives full play to an advantage of position-based control in precision and an advantage of force-based control in response speed, thereby increasing its applicability.
In addition, when kinematics calculation is performed on the 3DOF leg, a same foot position is obtained based on different combinations of angle variations of the three joints. As a result, in a process of performing traditional force-based impedance control (force-based control is performed on all of the hip, knee, and ankle joints), the foot position keeps unchanged, but positions of the joints are constantly changing and cannot be controlled. Consequently, traditional force-based impedance control cannot be applied directly, and other algorithms are required, thereby greatly increasing the control difficulty. The novel impedance configuration proposed in the present disclosure can be used to effectively resolve the foregoing problem in traditional force-based impedance control, and ensure motion control performance of the foot of the robot. In addition, the novel impedance configuration in which position-based control is performed on the hydraulic drive unit of the hip joint, and force-based control is performed on the hydraulic drive units of the knee joint and the ankle joint can be used to effectively resolve the following problem that there are multiple solutions in statics when impedance control is performed on the 3DOF leg.
To describe the technical solutions in the embodiments of the present disclosure or in the prior art more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
Meanings of parameters in the accompanying drawings:
O: hip joint in a hydraulic drive system of a leg; E: knee joint in the hydraulic drive system of the leg; G: ankle joint in the hydraulic drive system of the leg; A: position at which a hydraulic drive unit of the hip joint is connected to a base; B: position at which the hydraulic drive unit of the hip joint is connected to a thigh: C: position at which a hydraulic drive unit of the knee joint is connected to the thigh; D: position at which the hydraulic drive unit of the knee joint is connected to a crus; F: position at which a hydraulic drive unit of the ankle joint is connected to the crus; H: position at which the hydraulic drive unit of the ankle joint is connected to a foot member; I: vertex of a semicylindrical foot; OE: length from the hip joint to the knee joint; EG: length from the knee joint to the ankle joint; GI: length from the ankle joint to the foot; θ1: rotation angle of the hip joint, namely, an included angle formed between the thigh member and a positive direction of an axis x0; θ2: rotation angle of the knee joint, namely, an included angle formed between the crus member EG and an extension line of the thigh member OE; θ3: rotation angle of the ankle joint, namely, an included angle formed between an extension line of the crus member EG and the foot member GI; α: included angle formed between the EG and an ED; β: included angle formed between an OA and the positive direction of the axis x0; AB: total elongation of the hydraulic drive unit of the hip joint; CD: total elongation of the hydraulic drive unit of the knee joint; FH: total elongation of the hydraulic drive unit of the ankle joint; ΔFs1: detection signal of a force sensor of the hydraulic drive unit of the hip joint; ΔFs2: detection signal of a force sensor of the hydraulic drive unit of the knee joint; ΔFs3: detection signal of a force sensor of the hydraulic drive unit of the ankle joint; Xfootx: actual position applied to the foot of the leg in an x-axis direction; Xfooty: actual position applied to the foot of the leg in a y-axis direction; Ffootx: force applied to the foot of the leg in the x-axis direction; Ffooty: force applied to the foot of the leg in the y-axis direction; τ1: torque of the hip joint; ρ2: torque of the knee joint; τ3: torque of the ankle joint; m1: mass of the thigh member; m2: mass of the crus member; m3: mass of the foot member; α1: an included angle formed between the OE and a line connecting a centroid of the thigh member and the point O; α2: an included angle formed between the EG and a line connecting a centroid of the crus member and the point E; α3: an included angle formed between the GI and a line connecting a centroid of the foot member and the point G; MDx: desired mass in the x-axis direction; MDy: desired mass in the y-axis direction; BDx: desired damping in the x-axis direction; BDy: desired damping in the y-axis direction; KDx: desired stiffness in the x-axis direction; KDy: desired stiffness in the y-axis direction; ΔXDxleg: actual position variation relative to an initial position in the x-axis direction; ΔXDyleg: actual position variation relative to the initial position in the y-axis direction; ΔXrxleg: input position variation relative to the initial position in the x-axis direction; ΔXryleg: input position variation relative to the initial position in the y-axis direction; ΔFsxfoot: actual force variation relative to initial force in the x-axis direction; ΔFsyfoot: actual force variation relative to the initial force in the y-axis direction; ΔFkxfoor: resultant force, excluding disturbing force, calculated for the foot in the x-axis direction based on inverse dynamics; ΔFkyfoot: resultant force, excluding disturbing force, calculated for the foot in the y-axis direction based on inverse dynamics; Δxp1: detection signal of a position sensor of the hydraulic drive unit of the hip joint; Δxp2: detection signal of a position sensor of the hydraulic drive unit of the knee joint; Δxp3: detection signal of a position sensor of the hydraulic drive unit of the ankle joint; m4: total mass of the base member and a mechanical structure assembled for the base member; β1: an included angle between the thigh member OE and a line connecting the centroid of the thigh member and the knee joint; β2: an included angle between the crus member EG and a line connecting the centroid of the crus member and the ankle joint; β3: an included angle between the positive direction of the axis x0 and a line connecting a centroid of the base member and the hip joint;
Reference numerals in
The following clearly and completely describes the technical solutions in the embodiments of the present disclosure with reference to accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
An objective of the present disclosure is to provide a method for generating a novel impedance configuration for a 3DOF robotic leg, to further improve motion control performance of a robotic leg.
To make the foregoing objective, features, and advantages of the present disclosure clearer and more comprehensible, the present disclosure is further described in detail below with reference to the accompanying drawings and specific implementations.
To overcome a limitation of a control mechanism in an impedance control method in the prior art, and give full play to advantages of the control method in control precision, response speed, and the like, a novel impedance configuration is finally generated for a leg. In the novel impedance configuration, for a hydraulic drive system of a 3DOF leg, position-based control is performed on a hydraulic drive unit of a hip joint, and force-based control is performed on hydraulic drive units of a knee joint and an ankle joint. The novel configuration can be compatible with swing phase trajectory tracking control performance and stance phase compliance control performance of the hydraulic drive system of the leg within an entire motion period, and provide important support for high-performance motion control and leg structure design of a hydraulically-driven legged robot.
Based on the novel configuration, the present disclosure provides a method for generating a novel impedance configuration for a 3DOF robotic leg. As shown in
Step 100: Obtain a mathematical model of a hydraulic drive system of the leg of a to-be-controlled robot. The mathematical model includes a leg kinematics model, a leg statics model, a leg dynamics model, a leg impedance characteristic model, a mapping between an elongation of a hydraulic drive unit of each joint of the leg and a rotation angle of each joint of the leg, and a mapping among force applied to the hydraulic drive unit of each joint, the rotation angle of each joint, and a torque of each joint. A hip joint, a knee joint, and an ankle joint are included.
Step 101: When the foot of the to-be-controlled robot suffers disturbing force, determine a variation of an input signal of an inner position-based control loop of the hydraulic drive unit of each joint based on the mathematical model. This step specifically includes:
when the foot of the to-be-controlled robot suffers the disturbing force, detecting, by a force sensor of the hydraulic drive unit of each joint, a force signal, performing inverse calculation by using the leg dynamics model, to obtain a disturbing force component of the foot in the signal detected by the force sensor of the hydraulic drive unit of each point, and performing forward calculation by using the leg statics model, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each joint, the rotation angle of each joint, and the torque of each joint, to obtain the disturbing force that the foot suffers;
using a leg impedance characteristic solver to obtain a foot position variation corresponding to the disturbing force that the foot suffers; and
performing inverse calculation based on the foot position variation by using the leg kinematics model and the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, to obtain the variation of the input signal of the inner position-based control loop of the hydraulic drive unit of each joint.
Step 102: When the foot suffers a disturbing position, determine a variation of an input signal of an inner force-based control loop of the hydraulic drive unit of each joint based on the mathematical model. This step specifically includes:
when the foot suffers the disturbing position, detecting, by a position sensor of the hydraulic drive unit of each joint, a position signal, and then performing forward calculation by using the leg kinematics model and the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, to obtain a position signal of the foot, where the position signal of the foot includes an input position of the foot and an actual position of the foot;
obtaining a desired outer-loop position of the foot based on the position signal of the foot; and
converting the desired outer-loop position of the foot into a corresponding desired force signal of foot impedance by using a leg impedance characteristic solver, and performing inverse calculation on the desired force signal of the foot impedance by using the leg statics model, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each point, the rotation angle of each joint, and the torque of each joint, to obtain the variation of the input signal of the inner force-based control loop of the hydraulic drive unit of each joint.
Step 103: Generate a novel impedance configuration in which position-based control is performed on an inner control loop of a hydraulic drive unit of the hip joint, and force-based control is performed on inner control loops of hydraulic drive units of the knee joint and the ankle joint, and use a servo valve to obtain output positions and output force of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint.
Step 104: Based on the output positions and the output force of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint, perform forward calculation by using the leg kinematics model, the leg statics model, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each joint, the rotation angle of each joint, and the torque of each joint, to obtain the actual position and a force variation of the foot of the leg.
Preferably, before the step 100, the method further includes:
obtaining a length of each member in the hydraulic drive system of the leg of the to-be-controlled robot, the rotation angle of each joint, and the torque of each joint, where a thigh member, a crus member, and a foot member are included;
constructing the leg kinematics model based on the length of each member and the rotation angle of each joint;
constructing the leg statics model based on the length of each member, the rotation angle of each joint, and the torque of each joint; and
constructing the leg dynamics model based on a Lagrangian dynamics equation.
The following further describes the solutions in the present disclosure by using a specific embodiment. The specific embodiment of the present disclosure is described by using an example in which the to-be-controlled robot is a hydraulically-driven legged robot. In specific application, the solutions in the present disclosure are also applicable to another type of legged robot.
Step 1: Simplify a mechanical structure of a hydraulic drive system of a leg, to obtain a leg kinematics model, a leg statics model, a leg dynamics model, a mapping between an elongation of a hydraulic drive unit of each joint and a rotation angle of each joint, and a mapping among force applied to each hydraulic drive unit, the rotation angle of each joint, and a torque of each joint.
The hydraulic drive unit mainly includes a servo cylinder, a servo valve, a position sensor, and a force sensor. The force sensor and the position sensor are used for force closed-loop control and position closed-loop control of the hydraulic drive unit.
The mechanical structure of the hydraulic drive system of the leg is complicated. For convenience of kinematic analysis, the model of the hydraulic drive system of the leg of the legged robot in
D-H parameters of the mechanical structure can be obtained based on
In Table 1, αi−1 represents a distance that is between zi−1 and zi and that is measured along xi−1. αi−1 represents an angle that is between zi−1 and zi and that is rotated around xi−1. di represents a distance that is between xi−1 and xi and that is measured along zi. θi represents an angle that is between xi−1 and xi and that is rotated around zi.
In a single-leg D-H coordinate system shown in
4
0T can be obtained by multiplying 10T, 21T, 32T, 43T in sequence.
Therefore, the kinematics model (forward kinematics) can be obtained according to the formula (2):
As described above, l1 represents a length from the hip joint to the knee joint, l2 represents a length from the knee joint to the ankle joint, and l3 represents a length from the ankle joint to the foot, θ1 represents a rotation angle of the hip joint, θ2 represents a rotation angle of the knee joint, and θ3 represents a rotation angle of the ankle joint.
Based on a geometrical relationship in
In
A total elongation AB of the hydraulic drive unit of the hip joint, a total elongation CD of the hydraulic drive unit of the knee joint, and a total elongation FH of the hydraulic drive unit of the ankle joint are obtained as follows:
AB=l01+Δxp1
CD=l02+Δxp2
FH=l03+Δxp3 (5)
As described above, l01 represents an initial length of the hydraulic drive unit of the hip joint, l02 represents an initial length of the hydraulic drive unit of the knee joint, and l03 represents an initial length of the hydraulic drive unit of the ankle joint.
Based on a geometrical relationship in
According to the foregoing formulas, an elongation Δxp1 of the hydraulic drive unit of the hip joint, an elongation Δxp2 of the hydraulic drive unit of the knee joint, and an elongation Δxp3 of the hydraulic drive unit of the ankle joint can be obtained as follows:
According to the principle of virtual work, a torque vector τ of each joint can be obtained as follows:
τ=JT(q)F (8)
As described above, F represents force (N) applied to the foot of the leg, and JT(q) represents a force Jacobian of the leg.
In the formula (8), the force Jacobian JT(q) of the leg is as follows:
The torque vector τ of each joint that is obtained according to the formulas (8) and (9) is as follows:
As described above, τ1 represents a torque of the hip joint, τ2 represents a torque of the knee joint, and τ3 represents a torque of the ankle joint.
Forward statics is to obtain, based on the torque of each joint, the force applied to the foot. In the present disclosure, the force applied to the foot is obtained based on the torques of the knee joint and the ankle joint. Then, the leg statics model (forward leg statics) can be obtained as follows:
In
Based on a geometrical relationship in
In
Based on a geometrical relationship in
A moment of inertia of the thigh member OE is defined as J1. Kinetic energy Ek1 of the thigh member OE and potential energy Ep1 of the thigh member OE are defined as follows:
Ek1=½m1v12+½J1{dot over (θ)}12=½m1(p1{dot over (θ)}1)2+½J1{dot over (θ)}12
Ep1=m1gp1 sin(θ1+α1) (14)
As described above, g represents an acceleration of gravity (9.8 m/s2).
Based on the geometrical relationship in
A moment of inertia of the crus member EG is defined as J2. Kinetic energy Ek2 of the crus member EG and potential energy Ep2 of the crus member EG are defined as follows:
Ek2=½m2(l1{dot over (θ)}1)2+½m2p22({dot over (θ)}1+{dot over (θ)}2)2+m2l1p2({dot over (θ)}12+{dot over (θ)}1{dot over (θ)}2)cos(θ2+α2)+½J2({dot over (θ)}1+{dot over (θ)}2)2
Ep2=m2gl1 sin(θ1)+m2gp2 sin(θ1+θ2+α2) (16)
Based on the geometrical relationship in
A moment of inertia of the foot member GI is defined as J3. Kinetic energy Ek3 of the foot member GI and potential energy Ep3 of the foot member GI are defined as follows:
A Lagrangian dynamics equation is as follows:
As described above, Qj represents generalized force in generalized coordinates, L represents a Lagrangian function, and qj represents a joint variable.
An expression of the Lagrangian function L in the equation (19) is as follows:
L=Ek−Ep=Ek1+Ek2+Ek3−Ep1−Ep2−Ep3 (20)
Based on the Lagrangian dynamics equation, a mathematical relationship of inverse dynamics of a leg structure of the robot is obtained as follows:
In the formula (21):
Step 2: Describe the hydraulic drive system of the leg and an impedance control principle of the hydraulic drive system. Based on the leg kinematics model, the leg statics model, and the leg dynamics model, select different impedance control methods for different joints to generate multiple impedance configuration schemes and obtain an implementation principle of each impedance configuration.
It can be learned from
Laplace transform is performed on the relational expression (23) to obtain the following:
The formulas (24) and (25) have the same leg impedance characteristic, but are applicable to different systems. The formula (24) is applicable to position-based impedance control. That is, when disturbing force ΔFsxfoot−ΔFkxfoot and disturbing force ΔFsyfoot−ΔFkyfoot are applied to the foot, position errors ΔXDxleg−ΔXrxleg and ΔXDyleg−ΔXryleg are generated for the foot due to the desired impedance characteristic of the leg, to balance the disturbing force ΔFsxfoot−ΔFkxfoot and the disturbing force ΔFsyfoot−ΔFkyfoot. The formula (25) is applicable to force-based impedance control. That is, when disturbing positions ΔXDxleg−ΔXrxleg and ΔXDyleg−ΔXryleg are applied to the foot, force errors ΔFsxfoot−ΔFkxfoor and ΔFsyfoot−ΔFkyfoot are generated for the foot due to the desired impedance characteristic of the leg, to balance the disturbing positions ΔXDxleg−ΔXrxleg and ΔXDyleg−ΔXryleg.
As shown in
(1) In the outer impedance control loop, convert a disturbing force signal of the foot into a variation of an input signal of an inner position-based control loop of each joint. When the foot suffers disturbing force, a force sensor of the hydraulic drive unit of each joint detects the force signal. A disturbing force component of the foot in the signal detected by the force sensor of the hydraulic drive unit of each point is obtained by using inverse leg dynamics. Forward calculation is performed by using leg statics, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each joint, the rotation angle of each joint, and the torque of each joint, to obtain the disturbing force (ΔFsxfoot−ΔFkxfoot, ΔFsyfoot−ΔFkyfoot) that the foot suffers. Then, a leg impedance characteristic solver (ZDx=MDxs2+BDxs+KDx, ZDy=MDys2+BDys+KDy) is used to obtain a foot position variation (ΔXDxleg−ΔXrxleg, ΔXDyleg−ΔXryleg) corresponding to the disturbing force that the foot suffers. Finally, variations of input signals of inner position-based control loops of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint are obtained by using inverse leg kinematics and the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint.
(2) In the outer impedance control loop, convert a position signal of an external load into a variation of an input signal of an inner force-based control loop of each joint. When the foot suffers a disturbing position, position sensors of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint each detect a position signal. Forward calculation is performed by using the leg kinematics model and the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, to obtain a position signal of the foot. An error between an input position of the foot and an actual position of the foot is used as a desired outer-loop position of the foot. Then, the leg impedance characteristic solver is used to convert the desired outer-loop position of the foot into a corresponding desired force signal of foot impedance. Inverse calculation is performed on the desired force signal of the foot impedance by using the leg statics model, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each point, the rotation angle of each joint, and the torque of each joint, to obtain variations of input signals of inner force-based control loops of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint.
(3) Set values of C1, C2, and C3 in advance to switch between inner-loop position-based impedance control and inner-loop force-based impedance control for cylinders 1, 2, and 3.
(4) Based on the signals detected by the position sensors of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint, and the signals detected by the force sensors of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint, obtain the actual position and a force variation of the foot of the leg by using forward leg structure kinematics and forward leg structure statics, the mapping between the elongation of the hydraulic drive unit of each joint and the rotation angle of each joint, and the mapping among the force applied to the hydraulic drive unit of each joint, the rotation angle of each joint, and the torque of each joint.
Step 3: Analyze distribution of equivalent mass of the hydraulic drive unit of each joint within motion space of the foot when the hydraulic drive system of the leg is in a swing phase state and a stance phase state. An optimal inner-loop impedance control mode is selected for each joint of the leg based on different distribution of the equipment mass and different external disturbance characteristics of the hydraulic drive unit of each joint within the motion space of the foot in the swing phase state and the stance phase state, and influence of the distribution of the equivalent mass on impedance control performance of the hydraulic drive unit of the joint. Finally, a novel impedance configuration is obtained for the 3DOF leg of the hydraulically-driven legged robot.
In the motion process of the robot, the hydraulic drive system of the leg may be in the swing phase state and the stance phase state. Therefore, in the present disclosure, swing phase equivalent mass and stance phase equivalent mass are separately calculated for the hydraulic drive unit of each joint in the hydraulic drive system of the leg.
According to the formula (6), a relationship between rotation speed of the hip joint and motion speed of the hydraulic drive unit of the hip joint is as follows:
Kinetic energy Ekt1 of rotation of the thigh member, the crus member, and the foot member around the hip joint is as follows:
Ekt1=½(J1+J2+J3+m1p12+m2(l12+p22+2l1p2 cos(θ2+α2))+m3(l12+l22+p32+2l1l2 cos(θ2)+2l1p3 cos(θ2+θ3+α3)+2l2p3 cos(θ3+α3))){dot over (θ)}12 (27)
According to the formula (27) and a principle of constant kinetic energy, the following can be obtained:
Ekt1=½mLt1v12 (28)
As described above, mLt1 represents equivalent mass of rotation of the thigh member, the crus member, and the foot member around the hip joint.
According to the formulas (26), (27), and (28), the equivalent mass mLt1 of rotation of the thigh member, the crus member, and the foot member around the hip joint is as follows:
According to the formula (6), a relationship between rotation speed of the knee joint and motion speed of the hydraulic drive unit of the knee joint is as follows:
Kinetic energy EKt2 of rotation of the crus member and the foot member around the knee joint is as follows:
Ekt1=½(J2+J3+m2p22+m3(l22+p32+2l2p3 cos(θ3+α3))){dot over (θ)}22 (31)
According to the formula (31) and the principle of constant kinetic energy, the following can be obtained:
Ekt2=½mLt2v22 (32)
In the formula (32), mLt2 represents equivalent mass of rotation of the crus member and the foot member around the knee joint.
According to the formulas (30), (31), and (32), the equivalent mass mLt2 of rotation of the crus member and the foot member around the knee joint is as follows:
According to the formula (6), a relationship between rotation speed of the ankle joint and motion speed of the hydraulic drive unit of the ankle joint is as follows:
Kinetic energy Ekt3 of rotation of the foot member around the ankle joint is as follows:
Ekt3=½(J3+m3p32){dot over (θ)}32 (35)
According to the formula (35) and the principle of constant kinetic energy, the following can be obtained:
Ekt3=½mLt3v32 (36)
In the formula (36), mLt3 represents equivalent mass of rotation of the foot member around the ankle joint.
According to the formulas (34), (35), and (36), the equivalent mass mLt3 of rotation of the foot member around the ankle joint is as follows:
As shown in
Ekz3=½(J1+J2+J4+m1l312+m2l322+m4l342){dot over (θ)}32 (38)
In the formula (38), J4 represents a moment of inertia of the base member, l31 represents a distance between the centroid of the thigh member and the ankle joint, l32 represents a distance between the centroid of the crus member and the ankle joint, and l34 represents a distance between a centroid of the base member and the ankle joint.
Based on a geometrical relationship in
According to the formula (38) and the principle of constant kinetic energy, the following can be obtained:
Ekz3=½mLz3v32 (40)
In the formula (40), mLz3 represents equivalent mass of rotation of the base member, the thigh member, and the crus member around the ankle joint.
According to the formulas (38), (39), and (40), the equivalent mass mLz3 of rotation of the base member, the thigh member, and the crus member around the ankle joint is as follows:
Kinetic energy Ekz2 of rotation of the base member and the thigh member around the knee joint is as follows:
Ekz2=½(J1+J4+m1l212+m4l242){dot over (θ)}22 (42)
In the formula (42), l21 represents a distance between the centroid of the thigh member and the knee joint, and l24 represents a distance between the centroid of the base member and the knee joint.
Based on the geometrical relationship in
l24=√{square root over (l12+p42+2l1p4 cos(β3−θ1))} (43)
According to the formula (42) and the principle of constant kinetic energy, the following can be obtained:
Ekz2=½mLz2v22 (44)
In the formula (44), mLz2 represents equivalent mass of rotation of the base member and the thigh member around the knee joint.
According to the formulas (42), (43), and (44), the equivalent mass mLz2 of rotation of the base member and the thigh member around the knee joint is as follows:
Kinetic energy Ekz1 of rotation of the base member around the hip joint is as follows:
Ekz1=½(J4+m4p42){dot over (θ)}12 (46)
According to the formula (46) and the principle of constant kinetic energy, the following can be obtained:
Ekz1=½mLz1v12 (47)
In the formula (47), mLz1 represents equivalent mass of rotation of the base member around the hip joint.
According to the formulas (46) and (47), the equivalent mass mLz1 of rotation of the base member around the hip joint is as follows:
Table 3 lists specific parameters of leg structures in
In the present disclosure, MATLAB is used to obtain the equivalent mass of the hydraulic drive unit of each joint within the motion space of the foot when the hydraulic drive system of the leg is in the swing phase state and the stance phase state, as shown in a) and b) in
When the hydraulic drive system of the leg is in the stance phase state, only mass of the mechanical structure of the leg is considered. Equivalent mass of the hydraulic drive unit of the knee joint and equivalent mass of the hydraulic drive unit of the ankle joint partially overlap. In an actual working process of the leg of the robot, a body of the robot and the external load are loaded onto the base member. Therefore, a centroid position and mass of the base member are ever-changing. In the present disclosure, three schemes are designed to study a change of the equivalent mass of the hydraulic drive unit of each joint when the centroid position and the mass of the base member are ever-changing.
Scheme 1: When the centroid position of the base member keeps unchanged, and the mass m4 of the base member is 10 kg, 50 kg, 100 kg, and 300 kg in sequence, the equivalent mass of the hydraulic drive unit of each joint of the leg is shown in
Scheme 2: When the mass m4 of the base member is fixedly 3.1498 kg, a horizontal distance between the centroid of the base member and the origin of the coordinates is fixedly 100.0957 mm, and a vertical distance H between the centroid of the base member and the origin of the coordinates is 100 mm, 200 mm, 300 mm, and 400 mm in sequence, the equivalent mass of the hydraulic drive unit of each joint of the leg is shown in
Scheme 3: It is assumed that a cuboid with a length of 400 mm, a width of 400 mm, a height of h, and a density of 2700 kg/m3 is loaded onto the base member, as shown in
Based on Table 4, MATLAB is used to obtain a solution. The equivalent mass of the hydraulic drive unit of each joint of the leg is shown in a) to g) in
In the present disclosure, the following inclusions can be obtained through analysis based on theoretical formulas and curves of the distribution of the equivalent mass of the hydraulic drive unit of each joint when the hydraulic drive system of the leg is in the swing phase state and the stance phase state:
(1) When the hydraulic drive system of the leg is in the swing phase state, the equivalent mass of the hydraulic drive unit of each joint of the leg within the motion space of the foot satisfies the following relationship: equivalent mass of the hydraulic drive unit of the knee joint>equivalent mass of the hydraulic drive unit of the hip joint>equivalent mass of the hydraulic drive unit of the ankle joint.
(2) When the hydraulic drive system of the leg is in the stance phase state, no matter how the centroid position and the mass of the base member change, the equivalent mass of the hydraulic drive unit of each joint within most of the motion space of the foot satisfies the following relationship: equivalent mass of the hydraulic drive unit of the ankle joint>equivalent mass of the hydraulic drive unit of the knee joint>equivalent mass of the hydraulic drive unit of the hip joint.
A main objective of the present disclosure is to use a different inner-loop core control mode for each joint of the leg based on different equivalent load mass and different external disturbance characteristics of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint in an actual motion process of the hydraulic drive system of the leg, to finally design a novel impedance control configuration for multiple joints of a leg. The equivalent mass has the following influence on the inner impedance control loop:
1. When position-based control is performed on the inner impedance control loop:
Load mass greatly affects performance of a position-based control system of the hydraulic drive unit. Higher inertia usually leads to a lower natural frequency of the hydraulic system. Larger equivalent mass leads to a lower natural frequency of the hydraulic system and poorer control performance of the system. In addition, a drastic change of the equivalent mass leads to poor control performance of the system because a natural frequency and a damping of the hydraulic system greatly change accordingly.
2. When force-based control is performed on the inner impedance control loop:
Load mass plays an important role in performance of a force-based control system of the hydraulic drive unit. Higher inertia usually leads to higher control bandwidth. When the hydraulic drive system of the leg of the robot is in the swing phase state, a joint close to the base usually has a heavier link than a joint far away from the base. Therefore, the joint close to the base usually has better force tracking performance than the joint far away from the base.
Based on the distribution of the equivalent mass of the hydraulic drive unit of each joint within the motion space of the foot in the swing phase state and the stance phase state, and the influence of the distribution of the equivalent mass on the impedance control performance of the hydraulic drive unit of the joint, the following inner-loop control modes is selected for various joints in the hydraulic drive system of the leg to improve impedance control performance of the hydraulic drive system of the leg:
1. The hip joint is closer to the base member relative to the other joints. According to a kinematics formula and a simulation analysis result, relative to the other joints, a position change of the hydraulic drive unit of the hip joint results in a larger foot variation. Therefore, to improve control precision of the foot, it is more important to ensure position-based control precision of the hip joint. In addition, when the hydraulic drive system of the leg is in the stance phase state, the hip joint has minimum equivalent mass relative to the other joints, and as a result, has poorer force-based control performance than the other joints. Based on the foregoing two aspects, it is reasonable to select position-based control as an inner-loop impedance control mode for the hydraulic drive unit of the hip joint.
2. When the hydraulic drive system of the leg is in the swing phase state, maximum equivalent mass of the hydraulic drive units of the hip joint, the knee joint, and the ankle joint is 896.1710 kg, 1907.1834 kg, and 162.3234 kg respectively. The knee joint has maximum equivalent mass and best force-based control performance relative to the other joints. In addition, when the hydraulic drive system of the leg is in the stance phase state, the equivalent mass of the hydraulic drive unit of the knee joint is slightly less than that of the ankle joint and is remarkably greater than that of the hip joint. In addition, within a small part of motion space, load mass of the knee joint is greater than that of the ankle joint. Based on the foregoing two aspects, it is reasonable to select force-based control as an inner-loop impedance control mode for the hydraulic drive unit of the knee joint.
3. When the hydraulic drive system of the leg is in the stance phase state, the foot is in contact with the ground, and the base member rotates relative to the foot to push the robot to move forward. In this case, the ankle joint is closer to the foot relative to the other joints. Therefore, tracking precision of the hydraulic drive unit of the ankle joint plays a more important role in improving motion precision of the robot when the leg of the robot is in a support-phase state. In addition, within most of the motion space of the foot (including motion trajectories of most gaits of the robot), the ankle joint has maximum equivalent mass and best force-based control performance relative to the other joints. Based on the foregoing two aspects, it is reasonable to select force-based control as an inner-loop impedance control mode for the hydraulic drive unit of the ankle joint.
In conclusion, in Table 2, the sixth scheme (performing position-based control on the hip joint, and force-based control on the knee joint and the ankle joint) has better control performance than the other seven schemes, and is an optimal impedance configuration for the hydraulic drive system of the leg.
Each embodiment of this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description of the system is relatively simple, and the relevant information can be referred to the description of the method.
In this specification, one example is used for illustration of the principles and implementations of the present disclosure. The description of the foregoing embodiments is merely used to help illustrate the method of the present disclosure and the core principles thereof. In addition, those of ordinary skill in the art can make various modifications in terms of specific implementations and a scope of application in accordance with the teachings of the present disclosure. In conclusion, the content of this specification shall not be construed as a limitation to the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202011179099.8 | Oct 2020 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20220040851 | Ju | Feb 2022 | A1 |
Entry |
---|
“Wang, Active Variable Impedance Control for Hydraulic Driving Articulated Robotic Leg, 2018, IEEE” (Year: 2018). |
Number | Date | Country | |
---|---|---|---|
20220134560 A1 | May 2022 | US | |
20230148455 A9 | May 2023 | US |