원시데이터 수집 시스템
선정목록으로

Reactive Balance Control for Legged Robots under Visco-Elastic Contacts

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Thomas Flayols — Centre National de la Recherche Scientifique (CNRS), Laboratoire d'Analyse et d'Architecture des Systemes (LAAS), 7 Avenue du Colonel Roche, Univ de Toulouse, LAAS, F-31400 Toulouse, France
  2. Andrea Del Prete — Industrial Engineering Department, University of Trento, 30123 Trento, Italy
  3. Majid Khadiv — Max Planck Institute for Intelligent Systems, 72076 Tuebingen, Germany
  4. Nicolas Mansard — Centre National de la Recherche Scientifique (CNRS), Laboratoire d'Analyse et d'Architecture des Systemes (LAAS), 7 Avenue du Colonel Roche, Univ de Toulouse, LAAS, F-31400 Toulouse, France
  5. Ludovic Righetti — Tandon School of Engineering, New York University, New York, NY 10012, USA|||Max Planck Institute for Intelligent Systems, 72076 Tuebingen, Germany
DOI
10.3390/app11010353
저널
Applied Sciences
발행년도
2020
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/app11010353
토픽
Mechanical stress and fatigue analysis
OpenAlex ID
W3113479515

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Contacts between robots and environment are often assumed to be rigid for control purposes. This assumption can lead to poor performance when contacts are soft and/or underdamped. However, the problem of balancing on soft contacts has not received much attention in the literature. This paper presents two novel approaches to control a legged robot balancing on visco-elastic contacts, and compares them to other two state-of-the-art methods. Our simulation results show that performance heavily depends on the contact stiffness and the noises/uncertainties introduced in the simulation. Briefly, the two novel controllers performed best for soft/medium contacts, whereas “inverse-dynamics control under rigid-contact assumptions” was the best one for stiff contacts. Admittance control was instead the most robust, but suffered in terms of performance. These results shed light on this challenging problem, while pointing out interesting directions for future investigation.

본문 38,068자

본문 펼치기
Citation: Flayols, T.; Del Prete, A.; Khadiv, M.; Mansard, N.; Righetti, L.Reactive Balance Control for LeggedRobots under Visco-Elastic Contacts. Problem Overview Balance control of legged robots is a fundamental problem in robotics and is at the heart of numerous recent publications in the literature [1]. In this task, depending on whether the contact between the robot and the environment is rigid or soft, the robot will behave differently. However, for the sake of simplicity, a large part of studies has focused on the problem of controlling the balance of a rigid robot in contact with a rigid environment [2][3][4][5][6][7]. In this scenario, theoretically, the contact forces between the robot and the environment can be modified instantaneously. This is no longer possible if the environment is visco-elastic, or, equivalently, if a visco-elastic element is located between the robot actuators and the contact points, as in many legged robots which include soft elements at the ankles or the feet [7][8][9][10]. These compliant elements are extremely useful: they absorb impact during walking/running, protect the mechanical structure, tend to improve the quality of force measurements, and can make walking more efficient [10]. Moreover, the assumption of rigid contact is always an approximation because in the real world all contacts are visco-elastic up to a certain extent. In the presence of elasticity, the contact forces cannot be instantaneously modified, but their derivative-either of first or second order-can be modified depending on the contact damping (as detailed in Section 2). Despite the popularity of visco-elastic elements, balancing on visco-elastic contacts is still an open problem. This question is at the heart of the paper. It is addressed through the introduction of two new compliant controllers and a comparative study with existing strategies. State of the Art The most common approach is to neglect elasticity in the balance controller and simply assume that contacts are rigid. This method works fine for contacts that are not too soft and that are sufficiently well damped, as was demonstrated with a passivity-based controller on the Toro humanoid robot [11]. However, in general, making this hypothesis results in destabilizing oscillations [1]. Force feedback can then be used for damping these oscillations. This is usually done by using force feedback to modify the position references given to a high-gain joint position controller, leading to admittance-control schemes [5,7,9]. Although this approach proved to be successful in practice, its lack of theoretical foundations makes it challenging to tune and analyze in a robust and repeatable way. State of the Art A crucial issue of admittance-control schemes is the resulting delay in the force tracking. To deal with it, two approaches have been proposed so far. The first one [3] is to prove that the controller is robust to these delays. The second one is to account for the delay by introducing a 1-st order low-pass filter in the dynamic model used by balance controller. Our analysis reveals that the force tracking delay is actually not an issue, so long as the admittance-control gains are properly set. State of the Art Instead of relying on admittance control, another approach is to try to change the contact forces at the next time step [12] since they cannot be changed instantaneously. This approach exploits a model of the visco-elastic contacts for the controller design. However, as it mainly relies on contact damping, it cannot be applied if the damping is too low (see Section 2.1). State of the Art Recently, the state-of-the-art Whole-Body Controller [13] has been extended to ensure consistency to terrain compliance [14]. In this approach the controller incorporated a soft-contact model and was connected with an online learning algorithm that estimates the terrain compliance. Though that work focused on the case of well-damped contacts, we focus here on the underdamped case. Contributions The contribution of this paper is two-fold. First two novel strategies are introduced for controlling the balance of legged robots under visco-elastic contacts with their environment. The proposed approach unifies position and force feedback, leading to a simple gain-tuning procedure for which standard tools from linear system control can be used (e.g., LQR, pole placement). Second, a thorough comparison of different controllers is proposed for different kinds of compliant contact and noisy measurements to discuss the efficiency of the different approaches. More precisely, the two novel controllers that were designed to deal with visco-elastic contacts are compared in simulation with two state-of-the-art approaches for the same stabilization task of a model of the lateral dynamics of HRP-2 in double support and under different contact stiffnesses and noisy conditions. The study highlights pros and cons of each method according to the different parameters and demonstrates the performance of the proposed controllers in case of compliant contact. Contributions Even though the paper mainly focuses on legged robots, the results are also of great interest for manipulation problems for which the control of compliant contacts is required. Paper Structure Section 2 introduces the visco-elastic contact model and the robot dynamics. Section 3 summarizes two state-of-the-art methods. The first one (Section 3.1) is classically used for rigid contacts (TSID-Rigid [4]). The second one (Section 3.2) is an admittance-control scheme (Adm-Ctrl) relying on joint position control [8]. Section 4 presents an extension of Adm-Ctrl (TSID-Adm), while Section 5 proposes a novel approach to balance on elastic contacts (TSID-Flex-K). Section 6 presents simulation results comparing the four methods. Finally, Section 7 concludes the paper. Visco-Elastic Contact Model Consider a robot in contact with the environment at k contact points. We assume that the contact surfaces are visco-elastic, or, equivalently, the robot is equipped with viscoelastic elements between each contact point and the last actuator of the corresponding kinematic chain. In the latter case, we can model the part of the robot after the viscoelastic element as part of the environment, and the contact point as the last point of the robot before the visco-elastic element. We also assume that each contact force f i ∈ R 3 is proportional to the induced contact position p i ∈ R 3 and velocityṗ i ∈ R 3 : Visco-Elastic Contact Model where K i , B i ∈ R 3×3 are the positive-definite diagonal stiffness and damping matrices, respectively, and p 0 i ∈ R 3 is the contact position corresponding to a null force. Stacking all contact forces together we can rewrite (1) as: Visco-Elastic Contact Model Given that contacts are unilateral, this model is valid as long as normal forces are positive (i.e., pushing). Since the contact forces are function of the robot configuration, we cannot change them instantaneously as in the rigid contact case, because of the finite maximum acceleration of the actuation. However, if B = 0, we can affect their time derivative through the contact point accelerationsp: Visco-Elastic Contact Model If instead B ≈ 0, we can only affect the second time derivative of f : Importance of Stiffness vs. Damping Our main interest lies in the underdamped case-which is more challenging in our experience-which means that B 2 √ K (B = 2 √ K correspond to the critically damped case). In these cases, relying on (3) to controlḟ may not be convenient because very large values ofp (hence motor commands) may be required. Importance of Stiffness vs. Damping Appendix C includes an order-of-magnitude analysis that supports this claim for the usual dynamics of humanoid robots and illustrates why we prefer to rely on (4) rather than on (3) for our controller design. Centroidal Dynamics To balance a legged robot, we must control its CoM c and its angular momentum l. The dynamics of these two quantities is described by the Newton-Euler equations, where all quantities are expressed in an arbitrary inertial frame with z aligned with gravity: Centroidal Dynamics where m ∈ R is the robot mass, and g = (0, 0, −9.81) is the gravity acceleration. We can write (5)- (6) in matrix form as: Centroidal Dynamics where y × ∈ R 3×3 is the cross-product matrix associated with y. Whole-Body Dynamics The dynamics of a floating-base robot with n joints is described by the following equations: Whole-Body Dynamics where M ∈ R (n+6)×(n+6) is the mass matrix, v ∈ R n+6 is the robot velocity vector, h ∈ R n+6 contains the gravitational, centrifugal and Coriolis forces, J ∈ R 3k×(n+6) is the contact Jacobian, S = 0 n×6 I n×n ∈ R n×(n+6) is the selection matrix of the actuated joints, and τ ∈ R n are the joint torques. The same dynamics can be expressed by splitting the first 6 rows, which correspond to the unactuated floating base, from the last n rows, which correspond to the actuated joints: Whole-Body Dynamics Equation (9) is equivalent to the centroidal dynamics [15] and is sufficient to ensure dynamic consistency in the controllers based on Task-Space Inverse Dynamics (TSID) [4]. Finally, the relationship between the accelerations of the contact points and the robot configuration is given by:p = Jv +Jv (11) This expression is obtained by derivative of the kinematic related to the contact point p: p = Jv. Inverse Dynamics with Rigid Contacts (TSID-Rigid) This section summarizes the classic approach for balancing a legged robot in rigid contact with the environment [4]. Inverse Dynamics with Rigid Contacts (TSID-Rigid) The desired momentum rate of change is typically computed with a simple PD control law:ẍ Inverse Dynamics with Rigid Contacts (TSID-Rigid) where e c and e l are the tracking error of the linear and angular part of the centroidal state, respectively. Often, the proportional part of the angular momentum feedback is neglected, but we use it here to ensure stability [6]. The contact forces and the robot accelerations are computed by solving the following least-squares problem: Inverse Dynamics with Rigid Contacts (TSID-Rigid) where w f ∈ R is the weight and f * ∈ R 3k is the reference of the force regularization task, w post ∈ R is the weight of the postural task, the first constraint represents the centroidal dynamics, the second one is the rigid-contact constraint, the third constraint represents the joint torque limits, and the last one represents the friction cone limits. The reference postural task accelerations are:v Inverse Dynamics with Rigid Contacts (TSID-Rigid) where K post p , K post d ∈ R (n+6)×(n+6) are positive-definite diagonal gain matrices, q * ∈ SE(3) × R n is a given reference posture, and e q (q 1 , q 2 ) is an error function mapping two configurations q 1 , q 2 ∈ SE(3) × R n to the log of their relative displacement. Once the optimal contact forces f d and robot accelerationsv d are found, we compute the desired joint torques using (10). Please note that this approach does not require (nor exploit) any force measurement. Admittance Control (Adm-Ctrl) A classic way to control the contact wrenches in case of flexible contacts is to rely on admittance control. Several versions of admittance control exist and have been shown to perform well on real humanoid robots [7,8,16,17]. We decided to use the version with the minimum number of gains to simplify the gain-tuning procedure. Admittance Control (Adm-Ctrl) First, we compute the desired contact forces f d as: Admittance Control (Adm-Ctrl) whereẍ d is defined as in (12). We then compute the reference velocity of the contact points according to the force tracking error:ṗ Admittance Control (Adm-Ctrl) This reference velocity is directly used in an inverse kinematics (IK) algorithm to compute reference joint velocities. The IK is computed on each limb independently: Admittance Control (Adm-Ctrl) These joint velocities are then integrated and given to the high-gain position controller, which computes the joint torque commands: Inverse Dynamics Admittance Control (TSID-Adm) To improve the performance of admittance control we suggest integrating it with an inverse dynamics control law. Once we have computedṗ d with (16), we compute the desired contact point accelerations as: Inverse Dynamics Admittance Control (TSID-Adm) Finally, we rely on an inverse-dynamics control law to track these contact point accelerations: Flexible TSID (TSID-Flex-K) This section presents an original control formulation, which consists of a standard feedback linearization. In the case of visco-elastic contacts we cannot directly control f , but only its first or second derivative. As already mentioned, since we are mainly interested in underdamped contacts, we assume we can only controlf . Thus, we differentiate (7) twice and use (4) to express x (4) as a function ofp: Flexible TSID (TSID-Flex-K) where: Feedback Linearization We can find the accelerationsv that track at best the desired x (4) d by solving the following least-squares problem [4]: Feedback Linearization wheref ∈ R 3k are the measured/estimated contact forces. Once we have the optimal accelerationsv d , we can compute the desired joint torques using (10) withv =v d and f =f . Accounting for Force Variations during the Time Step Since we can only update the motor commands at discrete time steps, there is always an error due to state variations in between time steps. Normally, these errors are negligible because small state variations result in small variations of the quantities in (9)-(10). However, when the robot is in contact with a stiff environment, small displacements of the contact points lead to large variations of the contact forces. Therefore, we can improve performance by accounting for the variation of f during the time step, assuming the following approximated time evolution: Accounting for Force Variations during the Time Step where δt is the controller time step. Under this assumption the accelerationsv vary during the time step. To get the desired average value ofv during the time step the controller must compensate for the average value of f , which is: Accounting for Force Variations during the Time Step In (23) we can thus replacef withf + δt 2f . Linear Feedback Regulator The least-squares problem (23) allows us to directly impose x (4) -if it is compatible with the problem constraints. Thus, the resulting dynamics is a 4-th order integrator. We define x as the centroidal state x = (mc, l Σ ), where l Σ ∈ SO(3) should be the integral of the angular momentum. However, since this is not a measurable quantity [18], we approximate it with the orientation of the base link (which is typically the heaviest link), scaled by the 3D robot inertia. We then regulate x through a linear feedback control law: Linear Feedback Regulator where x * (t) is a reference centroidal trajectory, and e x (x 1 , x 2 ) is an error function mapping two centroidal states x 1 , x 2 ∈ SE(3) to the log of their relative displacement. The diagonal positive-definite feedback gain matrices K m p , K m d , K m a , K m j ∈ R 6×6 need to be chosen so that the closed-loop system be stable. Friction Force Constraints The inverse-dynamics least-squares problem typically contains a linear approximation of the force friction cone constraints. This is no longer possible in the case of visco-elastic contacts, because the contact forces are not a problem variable. However, we can still try to satisfy the friction cone constraints by bounding the contact force accelerations, which are affine functions ofv. This problem is similar to trying not to hit the joint position bounds by constraining the joint accelerations [19]. The friction cone constraints can be approximated by a set of linear constraints [4] of the form: Friction Force Constraints Using the approach of [19], given a bound on the force accelerationsf max ∈ R 3 (i.e., |f i | ≤f max ), we can compute the maximumḟ i in direction b such that it is possible to satisfy (27) in the future: Friction Force Constraints Even thoughf max depends on q, the method that we use [19] assumes constant acceleration bounds. Therefore,f max should be seen here as a user parameter that defines how conservative the algorithm should be. Putting together all the friction cone constraints as B f ≤ 0 we can bound the force accelerations to ensure that (28) be satisfied at the next time step: Friction Force Constraints where b max f is a function of f andḟ [19]. Finally, this constraint can be expressed as a function ofv: Summary The controller is finally obtained by adding (30) as a constraint to (23), with x (4) d computed by (26). Results This section presents simulation results to compare the different approaches discussed in the paper: Results • TSID-Rigid: a state-of-the-art approach, see Section 3.1. • Adm-Ctrl: a state-of-the-art approach, see Section 3.2. • TSID-Adm: a novel approach, see Section 4. • TSID-Flex-K: a novel approach, see Section 5. Simulation Environment We have carried out all our simulations using a simple 2D biped robot (see Figure 1), which moves in the YZ plane. The robot is composed by two legs and a torso, and it has 4 actuated joints: two rotatory hip roll joints and two prismatic knee joints. The geometric and inertial parameters of the links have been taken from HRP-2's model. The simulation is based on a simple explicit Euler integration scheme, and all simulation parameters are listed in Table 1. The robot has two point feet in contact with a visco-elastic ground. We have investigated different values for the contact stiffness K = 2α 10 5 N/m, ranging from α = 0.01 (i.e., soft) to α = 1 (i.e., stiff), while keeping the same contact damping ratio. We chose to limit our tests to this simple 2D model with point contacts for several reasons. First, this simple model already captures the main features of a biped robot, and it was able to reproduce behaviors that we had previously observed on the real HRP-2 robot [20]. Second, results obtained with a simple model are easier to analyze and can give us more insights into the behavior of the controllers. Finally, simulations are faster with a simple model, which has allowed us to run more of them, making our statistics more significant. Gain Tuning For tuning the momentum gains we have used the gain-tuning procedure described in Appendix A for all controllers (except Adm-Ctrl) and for 7 values of a user-specified parameter (w u ) that defines the trade-off between tracking and control effort. The other task gains and weights have been tuned by hand and are reported in Table 2. We have set the weight of the postural task so that it would not significantly affect the primary momentum task. Table 2. Controller Parameters. diag(M 0 ) is the diagonal part of the mass matrix evaluated at q(0). Test Description Our tests aim to evaluate the ability of each controller to balance the robot on viscoelastic contacts. To do so, we start the simulation with a non-zero CoM velocity, and we observe whether and how each controller can decelerate the CoM and bring it back to its initial position. Test Description We start by performing three tests, each of which focuses on one specific controller. In our first test (Test A) we show how TSID-Rigid struggles with soft contacts. Then, in Test B, we examine TSID-Flex-K and TSID-Adm, which work well with soft contacts, but get unstable for stiff contacts. Test C shows that Adm-Ctrl remains stable in both cases. Finally, in Test D, we show a comprehensive comparison of all controllers in different situations. Test Description We have tested the controllers both in an ideal simulation (no noise, modeling errors, and perfect state estimation) and in more realistic conditions by introducing: Test Description • realistic encoder quantization errors and white Gaussian noise on force sensing and gyroscope (see Table 3); • an Extended Kalman Filter (explained in Appendix B) to estimate the robot state, with the covariances specified in Table 4; • limited torque bandwidth by filtering the desired joint torques with a first-order lowpass filter with a cut frequency of 30 Hz. The best torque-tracking bandwidths that have been reported for high-performance actuators are between 40 Hz and 60 Hz (e.g., 40 Hz for hydraulic actuators [2], 46 Hz for electric motors with harmonic drives [21], 60 Hz for series elastic actuators [22]). • joint Coulomb friction of about 1% of the maximum joint force/torque (0.4 Nm for hip joints, and 4 N for knee joints, which are prismatic). In the following we will refer to the first kind of simulations as noiseless, and to the second kind as noisy. Test A: TSID-Rigid We have tested TSID-Rigid on both rigid and soft contacts. Figure 2 shows the CoM trajectories obtained with noiseless simulation. With rigid contacts the controller regulates well the CoM position. Even the CoM velocity is smooth, but looking at the CoM jerk/snap we can see high-frequency oscillations at the beginning of the motion. For soft contacts, even though the system is still stable, performance has deteriorated. We can still see high CoM jerk/snap, which is undesirable, but since this time the oscillations last longer, they are also visible in the CoM velocity. Moreover, with rigid contacts the system remained stable for all gains, but this was not the case with soft contacts, where most gains led to instability (more details in Test D). This clearly highlights the need for a different control strategy to deal with soft contacts. Test B: TSID-Flex-K and TSID-Adm TSID-Flex-K and TSID-Adm have performed extremely well with soft contacts. Figure 3 shows that TSID-Flex-K gives smoother CoM trajectories than TSID-Rigid, e.g., for the noiseless case, peak CoM jerk is ≈7 ms −3 rather than ≈26 ms −3 , while settling time is smaller. TSID-Adm has shown comparable performance on soft contacts, and Figure 4 shows that it has performed well also on medium contacts. TSID-Flex-K instead performed well on medium contacts only in the noiseless case, whereas it became unstable when noise was introduced. For hard contacts, TSID-Flex-K and TSID-Adm still performed well in noiseless simulations, but got unstable in the noisy case, as we will show in detail in Test D. Test C: Adm-Ctrl Adm-Ctrl has performed well across a large range of contact stiffnesses, as shown in Figure 5. Moreover, this controller has proven a remarkable robustness to noise, giving similar performance in the noiseless and noisy cases. The price to pay for this robustness seems to be a loss in performance, as measured by the cost function used in our gain-tuning procedure (more details in the following). Test D: All Controllers We now compare all four controllers, with different gains and contact stiffnesses. The results are summarized by Figure 6. Each plot shows the results of the four controllers for all the gain sets (1 for Adm-Ctrl and 7 for the other controllers), but for a specific contact stiffness (either soft, medium, or stiff) and a specific simulation type (either noiseless or noisy). The points missing in the plots are the ones that resulted in unstable simulations (i.e., NaN values). The plots highlight the trade-off between average CoM tracking error (x axis) and average CoM snap (y axis). The average CoM tracking error ("State cost") measures how fast balance is recovered after an external perturbation, and it is defined as a weighted sum of CoM position and its first three derivatives along the simulation time: The average CoM snap ("Snap cost") quantifies both the CoM oscillations and the control effort, and it is defined as: Test D: All Controllers In the noiseless simulations both TSID-Flex-K and TSID-Adm perform well, meaning that they achieve a good trade-off between state tracking and control effort. For lower feedback gains (i.e., higher position tracking errors) TSID-Flex-K and TSID-Adm achieve very similar performance, whereas for higher feedback gains they differ because of the ways in which they handle friction cones. Test D: All Controllers The unavoidable force tracking delay of admittance-control strategies is typically seen as an issue in the literature [3,8], because it clashes with the assumption of second-order dynamics. However, if we accept a fourth-order dynamics for our system, we can see that this delay is not at all incompatible with good CoM tracking (as long as gains are properly tuned), as shown for instance in Figure 7. The only downside of this delay is that it may lead TSID-Adm to violate friction cone constraints. Indeed, even though TSID-Adm constrains the desired forces inside friction cones, real forces may violate these constraints because of the tracking delay. Adm-Ctrl performs reasonably well too, but less than TSID-Flex-K and TSID-Adm. On the contrary, TSID-Rigid is unstable for all the tested gain sets, except one, and even in this one case its performance is inferior to the other controllers (see Figure 2). Test D: All Controllers In the noisy simulations, things change remarkably. First, the performance of TSID-Flex-K and TSID-Adm gets worse, especially in terms of CoM snap, and in particular for lower feedback gains. Nonetheless, they remain the best controllers overall. Adm-Ctrl is only slightly affected by the introduction of noise, showing a remarkable robustness. Surprisingly, TSID-Rigid performs much better than in the noiseless case, showing a stable behavior with 3 gain sets, and getting a performance that is much closer to the Pareto front. To understand why, we have performed another test removing Coulomb friction (see Figure 8). This test shows that Coulomb friction was the cause of the improved stability of TSID-Rigid, and of much of the performance deterioration of the other controllers. Figure 8. Results for soft contacts (α = 0.01) and noisy simulation, but without Coulomb friction. Coulomb friction has a detrimental effect to the performance of TSID-Flex-K and TSID-Adm, while it helps stabilizing TSID-Rigid. Medium Contacts In the noiseless case TSID-Flex-K and TSID-Adm perform well, similarly to the softcontact case. Adm-Ctrl also performs well, resulting in just a slightly higher CoM snap than for soft contacts. The main difference regarding the soft-contact case is that TSID-Rigid is stable for most gain sets (5 out of 7), even though it performs worse than the other controllers. Medium Contacts In the noisy simulations TSID-Flex-K becomes unstable for all feedback gains. TSID-Adm becomes unstable only for low feedback gains, but results in an increased CoM snap for higher gains. The performance of Adm-Ctrl and TSID-Rigid instead gets only slightly worse, showing a significant robustness. Out of the 7 Pareto-optimal points, 4 are associated with TSID-Rigid, and 3 to TSID-Adm. Medium Contacts Despite the performance of TSID-Rigid and TSID-Adm may seem comparable according to this plot, they are qualitatively different. Figure 9 shows one example of contact forces generated by the two approaches. TSID-Rigid generates fast-changing forces because it immediately applies the joint torques needed to generate the desired contact forces, and given the relatively high contact stiffness, these joint torques quickly result in the desired force change. TSID-Adm instead generates forces with larger oscillations, but with lower frequencies, which may be preferable on real hardware. (b) TSID-Adm Figure 9. Comparison between contact forces given by TSID-Rigid and TSID-Adm for medium contacts, noisy simulations. Stiff Contacts In the noiseless case we can already observe a significant performance deterioration for TSID-Flex-K and TSID-Adm, which are unstable for many more gain sets (2 and 4 out of 7, respectively). Nonetheless, they remain the best controllers in this scenario. This deterioration is due to the control frequency, which is insufficient for this contact stiffness, so the sampling starts affecting stability and performance. For high contact stiffnesses, performance could be improved by designing and tuning controllers in the discrete-time domain. Stiff Contacts TSID-Rigid and Adm-Ctrl perform similarly to the medium-contact case: stable, but with high CoM snap. In particular TSID-Rigid results in high-frequency oscillations of the contact forces (see Figure 10), which may excite unmodelled dynamics (e.g., link flexibility) in real systems. In the noisy case TSID-Flex-K and TSID-Adm became unstable for all gains. We believe that this is due to the delay in the compensation of the estimated contact forces, which triggers instability. This delay is caused by the limited joint torque bandwidth and the joint Coulomb friction. Stiff Contacts TSID-Rigid and Adm-Ctrl remained stable, but their performance is far from satisfactory. Figures 5 and 11 show the obtained CoM and force trajectories, which are extremely oscillatory (especially for Adm-Ctrl) and are thus unlikely to work on real hardware. The interested reader is invited to watch the accompanying video for more details about the simulation results. Conclusions This paper presented two novel control methods for balancing a legged robot on viscoelastic contacts: TSID-Flex-K and TSID-Adm. To ensure a fair comparison between novel and state-of-the-art methods we have used a unified gain-tuning procedure (except for Adm-Ctrl, which we have tuned by hand). We have performed several tests in simulation using a simple 4-DoF robot. Conclusions The presented results depict a broad picture of performance for 4 controllers, across 3 contact stiffnesses and 7 gain sets each (except for Adm-Ctrl, for which we have tested only one gain set). We highlight here the main pros and cons of each controller, which are also summarized in Table 5. Table 5. Summary of main features of each controller. PROS CONS TSID-Flex-K and TSID-Adm • Easy to tune (unified pos-force feedback). PROS • Need high frequency for hard contacts. • Best for soft/medium contact. PROS • Unstable for hard contact with noise. TSID-Rigid • Ok for hard/medium contacts. PROS • Unstable for soft contacts. • Easy to tune (assuming perfect joint torque tracking). PROS • Undesired oscillations (no force feedback). PROS Adm-Ctrl • Always stable. PROS • Hard to tune/analyze. • Good for soft contacts. PROS • Never the best. PROS The novel controllers presented in this paper (TSID-Flex-K and TSID-Adm) perform well for soft contacts, reasonably well for medium contacts, but they have showed instability for stiff contacts and noisy simulations. PROS TSID-Rigid has unsurprisingly shown the opposite trend, getting unstable for soft contacts (even though it was able to regain stability when introducing joint Coulomb friction), but then becoming more and more competitive as the contact stiffness increased. This is actually reasonable because the higher the contact stiffness, the more the system behaves as if contacts were rigid, which is a key assumption in TSID-Rigid. PROS One of the main advantages of the novel controllers is their ease of gain tuning, which allows for a unified tuning of force and position feedback gains (as acceleration/jerk gains can be seen as force gains). However, the novel controllers have demonstrated a remarkable sensitivity to uncertainties. We believe that this is due to the attempt to compensate for the contact forces, which are rapidly changing (especially for stiff contacts), thus easily leading to destabilizing compensation errors. This makes these methods sensitive to low control frequencies and actuation delays, such as the ones introduced by limited joint torques bandwidth and joint Coulomb friction. PROS Adm-Ctrl has been the only controller that was always stable, making it the most robust of them all. Despite its superior robustness, in no condition Adm-Ctrl has outperformed all the other controllers. Moreover, its gain tuning remains a heuristic procedure, and its convergence properties are not yet clearly understood. All of this makes this controller hard to use in practice, highlighting the need for more work on this subject. PROS Overall, the case of stiff contacts was the hardest for the tested controllers: only TSID-Rigid and Adm-Ctrl remained stable, but they resulted in oscillatory trajectories, which are (at best) unpleasant on real hardware. These oscillations are due to the small contact damping, which combined with the high contact stiffness makes it hard for the controller to damp the high-frequency force oscillations. PROS Finally, these results show that controllers that are well supported by theoretical results and perform exquisitely in ideal conditions, can then fail miserably in realistic simulations. Thus, working on robustness issues seems paramount for future work. PROS We believe that the subject of balance control on visco-elastic contacts still requires investigation. We are especially interested in improving the robustness of the proposed controllers, in the hope to find a better trade-off between performance and robustness. Another interesting direction could be to understand better the theoretical properties of Adm-Ctrl, which has clearly showed great robustness in our tests, but it remains unclear whether these capabilities can somehow be guaranteed in general. Data Availability Statement: Publicly available code was used in this study. This code can be found here: https://github.com/thomasfla/simple-biped. Conflicts of Interest: The authors declare no conflict of interest. Abbreviations The following abbreviations are used in this manuscript: TSID Task-Space Inverse Dynamics CoM TSID Center of Mass Adm-Ctrl Admittance Control Appendix A. Gain Tuning The performance of each controller strongly depends on how well its gains are tuned. However, this is seldom considered in comparisons. Therefore, the ability of the user in tuning a specific controller (e.g., because of experience) may bias the results. To avoid this, this section presents a unified approach for tuning the controllers presented above. The key idea is to write down the closed-loop dynamics of the centroidal state as: Appendix A. Gain Tuning where y is a function of the robot state (q, v) that contains (at least) the centroidal state x and its first derivativeẋ, H Ā −BK is the closed-loop transfer matrix, which is a function of the gain parameters θ, and r(y) is the residual nonlinear part of the dynamics. Our goal will be to derive (A1) for each controller such that r(y) is as small as possible (ideally null), so that we can neglect it and tune the gains for the resulting linear system. Once we have (A1) we can look for a value of θ that solves the following optimal control problem: Appendix A. Gain Tuning where Q, R, T and y 0 are provided by the user. In the following we will assume that: Appendix A. Gain Tuning • the robot dynamical model is perfect, • w f and w post are sufficiently small not to significantly affect the momentum task, • the inequality constraints (e.g., friction cones) are not active. Appendix A. Gain Tuning Thanks to the last two assumptions, we can approximate the desired contact forces computed by (13) and (15) as: Appendix A. Gain Tuning where A 0 is the value of A computed at a reference configuration q 0 . Appendix A. Gain Tuning Appendix A.1. TSID-Flex-K This controller performs an exact feedback linearization, therefore the closed-loop dynamics of x is a 4-th order integrator, as shown by (26). Consequently, we can find the gain parameters θ = (K m p , K m d , K m a , K m j ) using LQR. Appendix A. Gain Tuning This closed-loop dynamics is equivalent to the one obtained by TSID-Flex-K (26), thus, we can find the desired gains using LQR. Appendix A.4. TSID-Rigid Since TSID-Rigid is a control scheme for a second-order system we define the state as y = (x,ẋ), and we get the following closed-loop dynamics: . Cost Function Ideally we would like to tune the gains of all controllers based on the same cost function. However, we do not have the same state for all controllers, in particular: . Cost Function • . Cost Function for TSID-Flex-K, y = (x,ẋ,ẍ, ... x ) and u = x (4) , • . Cost Function for TSID-Adm, y = (c,ċ,c, ... c ) and u = c (4) , • . Cost Function for TSID-Rigid, y = (x,ẋ) and u =ẍ. Therefore, we start from a cost function for TSID-Adm defined by (Q, R): . Cost Function where w u ∈ R is a user-defined hyper-parameter. Now we must find the equivalent cost functions for the other controllers. To do so, we introduce a matrix P that projects the state-control pair (y, u) of a given controller to the state-control pair of TSID-Adm. Once P is defined we can use it in the cost function of (A2): . Cost Function For TSID-Flex-K we have: . Cost Function where I 3×6 is a matrix that selects the first 3 elements of a 6d vector. Unfortunately, for TSID-Rigid it is not possible to have the same cost function because its state does not contain high-order derivatives as the other controllers, so we will use a different cost function: . Cost Function For TSID-Flex-K and TSID-Adm we have used values of w u evenly spaced in logarithmic scale between 10 −12 and 10 −6 . For TSID-Rigid instead we have used values between 10 −3.5 and 10 −1.5 . Appendix B. Estimation The control method TSID-Flex-K requires an estimation of the CoM position, its first three derivatives, the angular momentum, and its first two derivatives. To estimate these quantities, we suggest relying on an Extended Kalman Filter (EKF), which is an extension of the approach presented in [23]. We define the state of the system as: s = (c,ċ, l, f ,ḟ ) (A12) Appendix B. Estimation The latter approach results in smaller values ofp * if this condition is satisfied: Appendix B. Estimation where the damping ratio ζ is defined as the ratio between B and the critical damping (i.e., B ζ2 √ K). Since typically K > 10 4 , while ζ < 1 and ω c < 30, this condition is usually satisfied. For this reason, we prefer to rely on (4) rather than on (3) for our controller design.

섹션 본문 110문단 · 35,649자

(제목 없음)

1Citation: Flayols, T.; Del Prete, A.; Khadiv, M.; Mansard, N.; Righetti, L.Reactive Balance Control for LeggedRobots under Visco-Elastic Contacts.

Problem Overview

2Balance control of legged robots is a fundamental problem in robotics and is at the heart of numerous recent publications in the literature [1]. In this task, depending on whether the contact between the robot and the environment is rigid or soft, the robot will behave differently. However, for the sake of simplicity, a large part of studies has focused on the problem of controlling the balance of a rigid robot in contact with a rigid environment [2][3][4][5][6][7]. In this scenario, theoretically, the contact forces between the robot and the environment can be modified instantaneously. This is no longer possible if the environment is visco-elastic, or, equivalently, if a visco-elastic element is located between the robot actuators and the contact points, as in many legged robots which include soft elements at the ankles or the feet [7][8][9][10]. These compliant elements are extremely useful: they absorb impact during walking/running, protect the mechanical structure, tend to improve the quality of force measurements, and can make walking more efficient [10]. Moreover, the assumption of rigid contact is always an approximation because in the real world all contacts are visco-elastic up to a certain extent. In the presence of elasticity, the contact forces cannot be instantaneously modified, but their derivative-either of first or second order-can be modified depending on the contact damping (as detailed in Section 2). Despite the popularity of visco-elastic elements, balancing on visco-elastic contacts is still an open problem. This question is at the heart of the paper. It is addressed through the introduction of two new compliant controllers and a comparative study with existing strategies.

State of the Art

3The most common approach is to neglect elasticity in the balance controller and simply assume that contacts are rigid. This method works fine for contacts that are not too soft and that are sufficiently well damped, as was demonstrated with a passivity-based controller on the Toro humanoid robot [11]. However, in general, making this hypothesis results in destabilizing oscillations [1]. Force feedback can then be used for damping these oscillations. This is usually done by using force feedback to modify the position references given to a high-gain joint position controller, leading to admittance-control schemes [5,7,9]. Although this approach proved to be successful in practice, its lack of theoretical foundations makes it challenging to tune and analyze in a robust and repeatable way.

4A crucial issue of admittance-control schemes is the resulting delay in the force tracking. To deal with it, two approaches have been proposed so far. The first one [3] is to prove that the controller is robust to these delays. The second one is to account for the delay by introducing a 1-st order low-pass filter in the dynamic model used by balance controller. Our analysis reveals that the force tracking delay is actually not an issue, so long as the admittance-control gains are properly set.

5Instead of relying on admittance control, another approach is to try to change the contact forces at the next time step [12] since they cannot be changed instantaneously. This approach exploits a model of the visco-elastic contacts for the controller design. However, as it mainly relies on contact damping, it cannot be applied if the damping is too low (see Section 2.1).

6Recently, the state-of-the-art Whole-Body Controller [13] has been extended to ensure consistency to terrain compliance [14]. In this approach the controller incorporated a soft-contact model and was connected with an online learning algorithm that estimates the terrain compliance. Though that work focused on the case of well-damped contacts, we focus here on the underdamped case.

Contributions

7The contribution of this paper is two-fold. First two novel strategies are introduced for controlling the balance of legged robots under visco-elastic contacts with their environment. The proposed approach unifies position and force feedback, leading to a simple gain-tuning procedure for which standard tools from linear system control can be used (e.g., LQR, pole placement). Second, a thorough comparison of different controllers is proposed for different kinds of compliant contact and noisy measurements to discuss the efficiency of the different approaches. More precisely, the two novel controllers that were designed to deal with visco-elastic contacts are compared in simulation with two state-of-the-art approaches for the same stabilization task of a model of the lateral dynamics of HRP-2 in double support and under different contact stiffnesses and noisy conditions. The study highlights pros and cons of each method according to the different parameters and demonstrates the performance of the proposed controllers in case of compliant contact.

8Even though the paper mainly focuses on legged robots, the results are also of great interest for manipulation problems for which the control of compliant contacts is required.

Paper Structure

9Section 2 introduces the visco-elastic contact model and the robot dynamics. Section 3 summarizes two state-of-the-art methods. The first one (Section 3.1) is classically used for rigid contacts (TSID-Rigid [4]). The second one (Section 3.2) is an admittance-control scheme (Adm-Ctrl) relying on joint position control [8]. Section 4 presents an extension of Adm-Ctrl (TSID-Adm), while Section 5 proposes a novel approach to balance on elastic contacts (TSID-Flex-K). Section 6 presents simulation results comparing the four methods. Finally, Section 7 concludes the paper.

Visco-Elastic Contact Model

10Consider a robot in contact with the environment at k contact points. We assume that the contact surfaces are visco-elastic, or, equivalently, the robot is equipped with viscoelastic elements between each contact point and the last actuator of the corresponding kinematic chain. In the latter case, we can model the part of the robot after the viscoelastic element as part of the environment, and the contact point as the last point of the robot before the visco-elastic element. We also assume that each contact force f i ∈ R 3 is proportional to the induced contact position p i ∈ R 3 and velocityṗ i ∈ R 3 :

11where K i , B i ∈ R 3×3 are the positive-definite diagonal stiffness and damping matrices, respectively, and p 0 i ∈ R 3 is the contact position corresponding to a null force. Stacking all contact forces together we can rewrite (1) as:

12Given that contacts are unilateral, this model is valid as long as normal forces are positive (i.e., pushing). Since the contact forces are function of the robot configuration, we cannot change them instantaneously as in the rigid contact case, because of the finite maximum acceleration of the actuation. However, if B = 0, we can affect their time derivative through the contact point accelerationsp:

13If instead B ≈ 0, we can only affect the second time derivative of f :

Importance of Stiffness vs. Damping

14Our main interest lies in the underdamped case-which is more challenging in our experience-which means that B 2 √ K (B = 2 √ K correspond to the critically damped case). In these cases, relying on (3) to controlḟ may not be convenient because very large values ofp (hence motor commands) may be required.

15Appendix C includes an order-of-magnitude analysis that supports this claim for the usual dynamics of humanoid robots and illustrates why we prefer to rely on (4) rather than on (3) for our controller design.

Centroidal Dynamics

16To balance a legged robot, we must control its CoM c and its angular momentum l. The dynamics of these two quantities is described by the Newton-Euler equations, where all quantities are expressed in an arbitrary inertial frame with z aligned with gravity:

17where m ∈ R is the robot mass, and g = (0, 0, −9.81) is the gravity acceleration. We can write (5)- (6) in matrix form as:

18where y × ∈ R 3×3 is the cross-product matrix associated with y.

Whole-Body Dynamics

19The dynamics of a floating-base robot with n joints is described by the following equations:

20where M ∈ R (n+6)×(n+6) is the mass matrix, v ∈ R n+6 is the robot velocity vector, h ∈ R n+6 contains the gravitational, centrifugal and Coriolis forces, J ∈ R 3k×(n+6) is the contact Jacobian, S = 0 n×6 I n×n ∈ R n×(n+6) is the selection matrix of the actuated joints, and τ ∈ R n are the joint torques. The same dynamics can be expressed by splitting the first 6 rows, which correspond to the unactuated floating base, from the last n rows, which correspond to the actuated joints:

21Equation (9) is equivalent to the centroidal dynamics [15] and is sufficient to ensure dynamic consistency in the controllers based on Task-Space Inverse Dynamics (TSID) [4]. Finally, the relationship between the accelerations of the contact points and the robot configuration is given by:p = Jv +Jv (11) This expression is obtained by derivative of the kinematic related to the contact point p: p = Jv.

Inverse Dynamics with Rigid Contacts (TSID-Rigid)

22This section summarizes the classic approach for balancing a legged robot in rigid contact with the environment [4].

23The desired momentum rate of change is typically computed with a simple PD control law:ẍ

24where e c and e l are the tracking error of the linear and angular part of the centroidal state, respectively. Often, the proportional part of the angular momentum feedback is neglected, but we use it here to ensure stability [6]. The contact forces and the robot accelerations are computed by solving the following least-squares problem:

25where w f ∈ R is the weight and f * ∈ R 3k is the reference of the force regularization task, w post ∈ R is the weight of the postural task, the first constraint represents the centroidal dynamics, the second one is the rigid-contact constraint, the third constraint represents the joint torque limits, and the last one represents the friction cone limits. The reference postural task accelerations are:v

26where K post p , K post d ∈ R (n+6)×(n+6) are positive-definite diagonal gain matrices, q * ∈ SE(3) × R n is a given reference posture, and e q (q 1 , q 2 ) is an error function mapping two configurations q 1 , q 2 ∈ SE(3) × R n to the log of their relative displacement. Once the optimal contact forces f d and robot accelerationsv d are found, we compute the desired joint torques using (10). Please note that this approach does not require (nor exploit) any force measurement.

Admittance Control (Adm-Ctrl)

27A classic way to control the contact wrenches in case of flexible contacts is to rely on admittance control. Several versions of admittance control exist and have been shown to perform well on real humanoid robots [7,8,16,17]. We decided to use the version with the minimum number of gains to simplify the gain-tuning procedure.

28First, we compute the desired contact forces f d as:

29whereẍ d is defined as in (12). We then compute the reference velocity of the contact points according to the force tracking error:ṗ

30This reference velocity is directly used in an inverse kinematics (IK) algorithm to compute reference joint velocities. The IK is computed on each limb independently:

31These joint velocities are then integrated and given to the high-gain position controller, which computes the joint torque commands:

Inverse Dynamics Admittance Control (TSID-Adm)

32To improve the performance of admittance control we suggest integrating it with an inverse dynamics control law. Once we have computedṗ d with (16), we compute the desired contact point accelerations as:

33Finally, we rely on an inverse-dynamics control law to track these contact point accelerations:

Flexible TSID (TSID-Flex-K)

34This section presents an original control formulation, which consists of a standard feedback linearization. In the case of visco-elastic contacts we cannot directly control f , but only its first or second derivative. As already mentioned, since we are mainly interested in underdamped contacts, we assume we can only controlf . Thus, we differentiate (7) twice and use (4) to express x (4) as a function ofp:

35where:

Feedback Linearization

36We can find the accelerationsv that track at best the desired x (4) d by solving the following least-squares problem [4]:

37wheref ∈ R 3k are the measured/estimated contact forces. Once we have the optimal accelerationsv d , we can compute the desired joint torques using (10) withv =v d and f =f .

Accounting for Force Variations during the Time Step

38Since we can only update the motor commands at discrete time steps, there is always an error due to state variations in between time steps. Normally, these errors are negligible because small state variations result in small variations of the quantities in (9)-(10). However, when the robot is in contact with a stiff environment, small displacements of the contact points lead to large variations of the contact forces. Therefore, we can improve performance by accounting for the variation of f during the time step, assuming the following approximated time evolution:

39where δt is the controller time step. Under this assumption the accelerationsv vary during the time step. To get the desired average value ofv during the time step the controller must compensate for the average value of f , which is:

40In (23) we can thus replacef withf + δt 2f .

Linear Feedback Regulator

41The least-squares problem (23) allows us to directly impose x (4) -if it is compatible with the problem constraints. Thus, the resulting dynamics is a 4-th order integrator. We define x as the centroidal state x = (mc, l Σ ), where l Σ ∈ SO(3) should be the integral of the angular momentum. However, since this is not a measurable quantity [18], we approximate it with the orientation of the base link (which is typically the heaviest link), scaled by the 3D robot inertia. We then regulate x through a linear feedback control law:

42where x * (t) is a reference centroidal trajectory, and e x (x 1 , x 2 ) is an error function mapping two centroidal states x 1 , x 2 ∈ SE(3) to the log of their relative displacement. The diagonal positive-definite feedback gain matrices K m p , K m d , K m a , K m j ∈ R 6×6 need to be chosen so that the closed-loop system be stable.

Friction Force Constraints

43The inverse-dynamics least-squares problem typically contains a linear approximation of the force friction cone constraints. This is no longer possible in the case of visco-elastic contacts, because the contact forces are not a problem variable. However, we can still try to satisfy the friction cone constraints by bounding the contact force accelerations, which are affine functions ofv. This problem is similar to trying not to hit the joint position bounds by constraining the joint accelerations [19]. The friction cone constraints can be approximated by a set of linear constraints [4] of the form:

44Using the approach of [19], given a bound on the force accelerationsf max ∈ R 3 (i.e., |f i | ≤f max ), we can compute the maximumḟ i in direction b such that it is possible to satisfy (27) in the future:

45Even thoughf max depends on q, the method that we use [19] assumes constant acceleration bounds. Therefore,f max should be seen here as a user parameter that defines how conservative the algorithm should be. Putting together all the friction cone constraints as B f ≤ 0 we can bound the force accelerations to ensure that (28) be satisfied at the next time step:

46where b max f is a function of f andḟ [19]. Finally, this constraint can be expressed as a function ofv:

Summary

47The controller is finally obtained by adding (30) as a constraint to (23), with x (4) d computed by (26).

Results

48This section presents simulation results to compare the different approaches discussed in the paper:

49• TSID-Rigid: a state-of-the-art approach, see Section 3.1. • Adm-Ctrl: a state-of-the-art approach, see Section 3.2. • TSID-Adm: a novel approach, see Section 4. • TSID-Flex-K: a novel approach, see Section 5.

Simulation Environment

50We have carried out all our simulations using a simple 2D biped robot (see Figure 1), which moves in the YZ plane. The robot is composed by two legs and a torso, and it has 4 actuated joints: two rotatory hip roll joints and two prismatic knee joints. The geometric and inertial parameters of the links have been taken from HRP-2's model. The simulation is based on a simple explicit Euler integration scheme, and all simulation parameters are listed in Table 1. The robot has two point feet in contact with a visco-elastic ground. We have investigated different values for the contact stiffness K = 2α 10 5 N/m, ranging from α = 0.01 (i.e., soft) to α = 1 (i.e., stiff), while keeping the same contact damping ratio. We chose to limit our tests to this simple 2D model with point contacts for several reasons. First, this simple model already captures the main features of a biped robot, and it was able to reproduce behaviors that we had previously observed on the real HRP-2 robot [20]. Second, results obtained with a simple model are easier to analyze and can give us more insights into the behavior of the controllers. Finally, simulations are faster with a simple model, which has allowed us to run more of them, making our statistics more significant.

Gain Tuning

51For tuning the momentum gains we have used the gain-tuning procedure described in Appendix A for all controllers (except Adm-Ctrl) and for 7 values of a user-specified parameter (w u ) that defines the trade-off between tracking and control effort. The other task gains and weights have been tuned by hand and are reported in Table 2. We have set the weight of the postural task so that it would not significantly affect the primary momentum task. Table 2. Controller Parameters. diag(M 0 ) is the diagonal part of the mass matrix evaluated at q(0).

Test Description

52Our tests aim to evaluate the ability of each controller to balance the robot on viscoelastic contacts. To do so, we start the simulation with a non-zero CoM velocity, and we observe whether and how each controller can decelerate the CoM and bring it back to its initial position.

53We start by performing three tests, each of which focuses on one specific controller. In our first test (Test A) we show how TSID-Rigid struggles with soft contacts. Then, in Test B, we examine TSID-Flex-K and TSID-Adm, which work well with soft contacts, but get unstable for stiff contacts. Test C shows that Adm-Ctrl remains stable in both cases. Finally, in Test D, we show a comprehensive comparison of all controllers in different situations.

54We have tested the controllers both in an ideal simulation (no noise, modeling errors, and perfect state estimation) and in more realistic conditions by introducing:

55• realistic encoder quantization errors and white Gaussian noise on force sensing and gyroscope (see Table 3); • an Extended Kalman Filter (explained in Appendix B) to estimate the robot state, with the covariances specified in Table 4; • limited torque bandwidth by filtering the desired joint torques with a first-order lowpass filter with a cut frequency of 30 Hz. The best torque-tracking bandwidths that have been reported for high-performance actuators are between 40 Hz and 60 Hz (e.g., 40 Hz for hydraulic actuators [2], 46 Hz for electric motors with harmonic drives [21], 60 Hz for series elastic actuators [22]). • joint Coulomb friction of about 1% of the maximum joint force/torque (0.4 Nm for hip joints, and 4 N for knee joints, which are prismatic). In the following we will refer to the first kind of simulations as noiseless, and to the second kind as noisy.

Test A: TSID-Rigid

56We have tested TSID-Rigid on both rigid and soft contacts. Figure 2 shows the CoM trajectories obtained with noiseless simulation. With rigid contacts the controller regulates well the CoM position. Even the CoM velocity is smooth, but looking at the CoM jerk/snap we can see high-frequency oscillations at the beginning of the motion. For soft contacts, even though the system is still stable, performance has deteriorated. We can still see high CoM jerk/snap, which is undesirable, but since this time the oscillations last longer, they are also visible in the CoM velocity. Moreover, with rigid contacts the system remained stable for all gains, but this was not the case with soft contacts, where most gains led to instability (more details in Test D). This clearly highlights the need for a different control strategy to deal with soft contacts.

Test B: TSID-Flex-K and TSID-Adm

57TSID-Flex-K and TSID-Adm have performed extremely well with soft contacts. Figure 3 shows that TSID-Flex-K gives smoother CoM trajectories than TSID-Rigid, e.g., for the noiseless case, peak CoM jerk is ≈7 ms −3 rather than ≈26 ms −3 , while settling time is smaller. TSID-Adm has shown comparable performance on soft contacts, and Figure 4 shows that it has performed well also on medium contacts. TSID-Flex-K instead performed well on medium contacts only in the noiseless case, whereas it became unstable when noise was introduced. For hard contacts, TSID-Flex-K and TSID-Adm still performed well in noiseless simulations, but got unstable in the noisy case, as we will show in detail in Test D.

Test C: Adm-Ctrl

58Adm-Ctrl has performed well across a large range of contact stiffnesses, as shown in Figure 5. Moreover, this controller has proven a remarkable robustness to noise, giving similar performance in the noiseless and noisy cases. The price to pay for this robustness seems to be a loss in performance, as measured by the cost function used in our gain-tuning procedure (more details in the following).

Test D: All Controllers

59We now compare all four controllers, with different gains and contact stiffnesses. The results are summarized by Figure 6. Each plot shows the results of the four controllers for all the gain sets (1 for Adm-Ctrl and 7 for the other controllers), but for a specific contact stiffness (either soft, medium, or stiff) and a specific simulation type (either noiseless or noisy). The points missing in the plots are the ones that resulted in unstable simulations (i.e., NaN values). The plots highlight the trade-off between average CoM tracking error (x axis) and average CoM snap (y axis). The average CoM tracking error ("State cost") measures how fast balance is recovered after an external perturbation, and it is defined as a weighted sum of CoM position and its first three derivatives along the simulation time: The average CoM snap ("Snap cost") quantifies both the CoM oscillations and the control effort, and it is defined as:

60In the noiseless simulations both TSID-Flex-K and TSID-Adm perform well, meaning that they achieve a good trade-off between state tracking and control effort. For lower feedback gains (i.e., higher position tracking errors) TSID-Flex-K and TSID-Adm achieve very similar performance, whereas for higher feedback gains they differ because of the ways in which they handle friction cones.

61The unavoidable force tracking delay of admittance-control strategies is typically seen as an issue in the literature [3,8], because it clashes with the assumption of second-order dynamics. However, if we accept a fourth-order dynamics for our system, we can see that this delay is not at all incompatible with good CoM tracking (as long as gains are properly tuned), as shown for instance in Figure 7. The only downside of this delay is that it may lead TSID-Adm to violate friction cone constraints. Indeed, even though TSID-Adm constrains the desired forces inside friction cones, real forces may violate these constraints because of the tracking delay. Adm-Ctrl performs reasonably well too, but less than TSID-Flex-K and TSID-Adm. On the contrary, TSID-Rigid is unstable for all the tested gain sets, except one, and even in this one case its performance is inferior to the other controllers (see Figure 2).

62In the noisy simulations, things change remarkably. First, the performance of TSID-Flex-K and TSID-Adm gets worse, especially in terms of CoM snap, and in particular for lower feedback gains. Nonetheless, they remain the best controllers overall. Adm-Ctrl is only slightly affected by the introduction of noise, showing a remarkable robustness. Surprisingly, TSID-Rigid performs much better than in the noiseless case, showing a stable behavior with 3 gain sets, and getting a performance that is much closer to the Pareto front. To understand why, we have performed another test removing Coulomb friction (see Figure 8). This test shows that Coulomb friction was the cause of the improved stability of TSID-Rigid, and of much of the performance deterioration of the other controllers. Figure 8. Results for soft contacts (α = 0.01) and noisy simulation, but without Coulomb friction. Coulomb friction has a detrimental effect to the performance of TSID-Flex-K and TSID-Adm, while it helps stabilizing TSID-Rigid.

Medium Contacts

63In the noiseless case TSID-Flex-K and TSID-Adm perform well, similarly to the softcontact case. Adm-Ctrl also performs well, resulting in just a slightly higher CoM snap than for soft contacts. The main difference regarding the soft-contact case is that TSID-Rigid is stable for most gain sets (5 out of 7), even though it performs worse than the other controllers.

64In the noisy simulations TSID-Flex-K becomes unstable for all feedback gains. TSID-Adm becomes unstable only for low feedback gains, but results in an increased CoM snap for higher gains. The performance of Adm-Ctrl and TSID-Rigid instead gets only slightly worse, showing a significant robustness. Out of the 7 Pareto-optimal points, 4 are associated with TSID-Rigid, and 3 to TSID-Adm.

65Despite the performance of TSID-Rigid and TSID-Adm may seem comparable according to this plot, they are qualitatively different. Figure 9 shows one example of contact forces generated by the two approaches. TSID-Rigid generates fast-changing forces because it immediately applies the joint torques needed to generate the desired contact forces, and given the relatively high contact stiffness, these joint torques quickly result in the desired force change. TSID-Adm instead generates forces with larger oscillations, but with lower frequencies, which may be preferable on real hardware. (b) TSID-Adm Figure 9. Comparison between contact forces given by TSID-Rigid and TSID-Adm for medium contacts, noisy simulations.

Stiff Contacts

66In the noiseless case we can already observe a significant performance deterioration for TSID-Flex-K and TSID-Adm, which are unstable for many more gain sets (2 and 4 out of 7, respectively). Nonetheless, they remain the best controllers in this scenario. This deterioration is due to the control frequency, which is insufficient for this contact stiffness, so the sampling starts affecting stability and performance. For high contact stiffnesses, performance could be improved by designing and tuning controllers in the discrete-time domain.

67TSID-Rigid and Adm-Ctrl perform similarly to the medium-contact case: stable, but with high CoM snap. In particular TSID-Rigid results in high-frequency oscillations of the contact forces (see Figure 10), which may excite unmodelled dynamics (e.g., link flexibility) in real systems. In the noisy case TSID-Flex-K and TSID-Adm became unstable for all gains. We believe that this is due to the delay in the compensation of the estimated contact forces, which triggers instability. This delay is caused by the limited joint torque bandwidth and the joint Coulomb friction.

68TSID-Rigid and Adm-Ctrl remained stable, but their performance is far from satisfactory. Figures 5 and 11 show the obtained CoM and force trajectories, which are extremely oscillatory (especially for Adm-Ctrl) and are thus unlikely to work on real hardware. The interested reader is invited to watch the accompanying video for more details about the simulation results.

Conclusions

69This paper presented two novel control methods for balancing a legged robot on viscoelastic contacts: TSID-Flex-K and TSID-Adm. To ensure a fair comparison between novel and state-of-the-art methods we have used a unified gain-tuning procedure (except for Adm-Ctrl, which we have tuned by hand). We have performed several tests in simulation using a simple 4-DoF robot.

70The presented results depict a broad picture of performance for 4 controllers, across 3 contact stiffnesses and 7 gain sets each (except for Adm-Ctrl, for which we have tested only one gain set). We highlight here the main pros and cons of each controller, which are also summarized in Table 5. Table 5. Summary of main features of each controller.

PROS

71CONS TSID-Flex-K and TSID-Adm • Easy to tune (unified pos-force feedback).

72• Need high frequency for hard contacts. • Best for soft/medium contact.

73• Unstable for hard contact with noise. TSID-Rigid • Ok for hard/medium contacts.

74• Unstable for soft contacts. • Easy to tune (assuming perfect joint torque tracking).

75• Undesired oscillations (no force feedback).

76Adm-Ctrl • Always stable.

77• Hard to tune/analyze. • Good for soft contacts.

78• Never the best.

79The novel controllers presented in this paper (TSID-Flex-K and TSID-Adm) perform well for soft contacts, reasonably well for medium contacts, but they have showed instability for stiff contacts and noisy simulations.

80TSID-Rigid has unsurprisingly shown the opposite trend, getting unstable for soft contacts (even though it was able to regain stability when introducing joint Coulomb friction), but then becoming more and more competitive as the contact stiffness increased. This is actually reasonable because the higher the contact stiffness, the more the system behaves as if contacts were rigid, which is a key assumption in TSID-Rigid.

81One of the main advantages of the novel controllers is their ease of gain tuning, which allows for a unified tuning of force and position feedback gains (as acceleration/jerk gains can be seen as force gains). However, the novel controllers have demonstrated a remarkable sensitivity to uncertainties. We believe that this is due to the attempt to compensate for the contact forces, which are rapidly changing (especially for stiff contacts), thus easily leading to destabilizing compensation errors. This makes these methods sensitive to low control frequencies and actuation delays, such as the ones introduced by limited joint torques bandwidth and joint Coulomb friction.

82Adm-Ctrl has been the only controller that was always stable, making it the most robust of them all. Despite its superior robustness, in no condition Adm-Ctrl has outperformed all the other controllers. Moreover, its gain tuning remains a heuristic procedure, and its convergence properties are not yet clearly understood. All of this makes this controller hard to use in practice, highlighting the need for more work on this subject.

83Overall, the case of stiff contacts was the hardest for the tested controllers: only TSID-Rigid and Adm-Ctrl remained stable, but they resulted in oscillatory trajectories, which are (at best) unpleasant on real hardware. These oscillations are due to the small contact damping, which combined with the high contact stiffness makes it hard for the controller to damp the high-frequency force oscillations.

84Finally, these results show that controllers that are well supported by theoretical results and perform exquisitely in ideal conditions, can then fail miserably in realistic simulations. Thus, working on robustness issues seems paramount for future work.

85We believe that the subject of balance control on visco-elastic contacts still requires investigation. We are especially interested in improving the robustness of the proposed controllers, in the hope to find a better trade-off between performance and robustness. Another interesting direction could be to understand better the theoretical properties of Adm-Ctrl, which has clearly showed great robustness in our tests, but it remains unclear whether these capabilities can somehow be guaranteed in general. Data Availability Statement: Publicly available code was used in this study. This code can be found here: https://github.com/thomasfla/simple-biped.

Conflicts of Interest:

86The authors declare no conflict of interest.

Abbreviations

87The following abbreviations are used in this manuscript:

TSID

88Task-Space Inverse Dynamics CoM

89Center of Mass Adm-Ctrl Admittance Control

Appendix A. Gain Tuning

90The performance of each controller strongly depends on how well its gains are tuned. However, this is seldom considered in comparisons. Therefore, the ability of the user in tuning a specific controller (e.g., because of experience) may bias the results. To avoid this, this section presents a unified approach for tuning the controllers presented above. The key idea is to write down the closed-loop dynamics of the centroidal state as:

91where y is a function of the robot state (q, v) that contains (at least) the centroidal state x and its first derivativeẋ, H Ā −BK is the closed-loop transfer matrix, which is a function of the gain parameters θ, and r(y) is the residual nonlinear part of the dynamics. Our goal will be to derive (A1) for each controller such that r(y) is as small as possible (ideally null), so that we can neglect it and tune the gains for the resulting linear system. Once we have (A1) we can look for a value of θ that solves the following optimal control problem:

92where Q, R, T and y 0 are provided by the user. In the following we will assume that:

93• the robot dynamical model is perfect, • w f and w post are sufficiently small not to significantly affect the momentum task, • the inequality constraints (e.g., friction cones) are not active.

94Thanks to the last two assumptions, we can approximate the desired contact forces computed by (13) and (15) as:

95where A 0 is the value of A computed at a reference configuration q 0 .

96Appendix A.1. TSID-Flex-K This controller performs an exact feedback linearization, therefore the closed-loop dynamics of x is a 4-th order integrator, as shown by (26). Consequently, we can find the gain parameters θ = (K m p , K m d , K m a , K m j ) using LQR.

97This closed-loop dynamics is equivalent to the one obtained by TSID-Flex-K (26), thus, we can find the desired gains using LQR.

Appendix A.4. TSID-Rigid

98Since TSID-Rigid is a control scheme for a second-order system we define the state as y = (x,ẋ), and we get the following closed-loop dynamics:

. Cost Function

99Ideally we would like to tune the gains of all controllers based on the same cost function. However, we do not have the same state for all controllers, in particular:

100•

101for TSID-Flex-K, y = (x,ẋ,ẍ, ... x ) and u = x (4) , •

102for TSID-Adm, y = (c,ċ,c, ... c ) and u = c (4) , •

103for TSID-Rigid, y = (x,ẋ) and u =ẍ. Therefore, we start from a cost function for TSID-Adm defined by (Q, R):

104where w u ∈ R is a user-defined hyper-parameter. Now we must find the equivalent cost functions for the other controllers. To do so, we introduce a matrix P that projects the state-control pair (y, u) of a given controller to the state-control pair of TSID-Adm. Once P is defined we can use it in the cost function of (A2):

105For TSID-Flex-K we have:

106where I 3×6 is a matrix that selects the first 3 elements of a 6d vector. Unfortunately, for TSID-Rigid it is not possible to have the same cost function because its state does not contain high-order derivatives as the other controllers, so we will use a different cost function:

107For TSID-Flex-K and TSID-Adm we have used values of w u evenly spaced in logarithmic scale between 10 −12 and 10 −6 . For TSID-Rigid instead we have used values between 10 −3.5 and 10 −1.5 .

Appendix B. Estimation

108The control method TSID-Flex-K requires an estimation of the CoM position, its first three derivatives, the angular momentum, and its first two derivatives. To estimate these quantities, we suggest relying on an Extended Kalman Filter (EKF), which is an extension of the approach presented in [23]. We define the state of the system as: s = (c,ċ, l, f ,ḟ ) (A12)

109The latter approach results in smaller values ofp * if this condition is satisfied:

110where the damping ratio ζ is defined as the ratio between B and the critical damping (i.e., B ζ2 √ K). Since typically K > 10 4 , while ζ < 1 and ω c < 30, this condition is usually satisfied. For this reason, we prefer to rely on (4) rather than on (3) for our controller design.

참고문헌 27건

  1. Momentum control with hierarchical inverse dynamics on a torque-controlled humanoid Autonomous Robots · Springer Science+Business Media · 2015 10.1007/s10514-015-9476-6
  2. Balance control strategy for legged robots with compliant contacts 2015 10.1109/icra.2015.7139806
  3. Biped walking stabilization based on linear inverted pendulum tracking 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems · 2010 10.1109/iros.2010.5651082
  4. Dynamic torque control of a hydraulic quadruped robot 2012 10.1109/icra.2012.6224628
  5. Three-Dimensional Bipedal Walking Control Based on Divergent Component of Motion IEEE Transactions on Robotics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tro.2015.2405592
  6. Design and Control Considerations for High-Performance Series Elastic Actuators IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tmech.2013.2270435
  7. Balance and impedance control for biped humanoid robot locomotion 2002 10.1109/iros.2001.973405
  8. Real time motion generation and control for biped robot -4&lt;sup&gt;th&lt;/sup&gt; report: Integrated balance control- 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems · 2009 10.1109/iros.2009.5354522
  9. The development of Honda humanoid robot 2002 10.1109/robot.1998.677288
  10. Centroidal dynamics of a humanoid robot Autonomous Robots · Springer Science+Business Media · 2013 10.1007/s10514-013-9341-4
  11. Design of prototype humanoid robotics platform for HRP 2003 10.1109/irds.2002.1041632
  12. Humanoid momentum estimation using sensed contact wrenches 2015 10.1109/humanoids.2015.7363417
  13. On the use of positive feedback for improved torque control Control Theory and Technology · Springer Science+Business Media · 2015 10.1007/s11768-015-4146-y
  14. Stability Analysis and Design of Momentum-based Controllers for Humanoid Robots arXiv (Cornell University) · Cornell University · 2016
  15. Realizing dynamic and efficient bipedal locomotion on the humanoid robot DURUS 2016 10.1109/icra.2016.7487325
  16. Passivity-based whole-body balancing for torque-controlled humanoid robots in multi-contact scenarios The International Journal of Robotics Research · SAGE Publishing · 2016 10.1177/0278364916653815
  17. Modeling and Control of Legged Robots Springer handbooks · Springer International Publishing · 2016 10.1007/978-3-319-32552-1_48
  18. Joint Position and Velocity Bounds in Discrete-Time Acceleration/Torque Control of Robot Manipulators IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2017 10.1109/lra.2017.2738321
  19. On Centroidal Dynamics and Integrability of Average Angular Velocity IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2017 10.1109/lra.2017.2655560
  20. Humanoid Balancing Behavior Featured by Underactuated Foot Motion IEEE Transactions on Robotics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tro.2016.2629489
  21. Experimental evaluation of simple estimators for humanoid robots 2017 10.1109/humanoids.2017.8246977
  22. Stair Climbing Stabilization of the HRP-4 Humanoid Robot using Whole-body Admittance Control. arXiv (Cornell University) · Cornell University · 2018
  23. Passive Whole-Body Control for Quadruped Robots: Experimental Validation Over Challenging Terrain IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2019 10.1109/lra.2019.2908502
  24. Stability analysis and design of momentum-based controllers for humanoid robots 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2016 10.1109/iros.2016.7759126
  25. Stair Climbing Stabilization of the HRP-4 Humanoid Robot using\n Whole-body Admittance Control arXiv (Cornell University) · Cornell University · 2018 10.1109/icra.2019.8794348\\&amp;\\#x27e9
  26. STANCE: Locomotion Adaptation Over Soft Terrain Institutional Research Information System (Università degli Studi di Trento) · University of Trento · 2020 10.1109/tro.2019.2954670
  27. On Centroidal Dynamics and Integrability of Average Angular Velocity IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2017 10.1109/lra.2017.2655560