Research

Physics-based numerical simulation methods for predicting robot behavior

A walking robot is constrained by the ground: each foot can push against the ground but cannot pass through it, and the constraints change every time a foot lands or lifts off. Robots like this are constrained dynamical systems, described by differential equations together with holonomic and non-holonomic (algebraic) constraints. One way to model them is with switching differential-algebraic equations (SDAEs): a set of differential equations combined with a switching set of algebraic constraints. This approximates unilaterally constrained, non-holonomic systems with piecewise holonomic systems. This research develops numerical simulators that solve differential-algebraic equations efficiently, to predict robot motion accurately and to support the design of better controllers.

Modeling and simulating robot motion using switching DAEs

A differential-algebraic formulation with switching constraints models the non-smooth dynamics of robots that are subject to changing constraints and multiple impacts. The formulation combines a single, structurally simple equation of motion, a set of switching kinematic constraints and the plastic impact law to represent robots that interact with the environment.

  • Algorithmic Resolution of Multiple Impacts in Non-smooth Mechanical Systems with Switching Constraints
    Y. Li, H. Yu and D. J. Braun
    IEEE International Conference on Robotics and Automation, pp. 7639–7645, 2019
    DOIVideo
    @inproceedings{Lee2019conf,
      author    = {Y. Li and H. Yu and D. J. Braun},
      title     = {Algorithmic Resolution of Multiple Impacts in Non-smooth Mechanical Systems with Switching Constraints},
      booktitle = {IEEE International Conference on Robotics and Automation},
      pages     = {7639--7645},
      address   = {Montreal, Canada},
      month     = {May},
      year      = {2019},
      doi       = {10.1109/ICRA.2019.8793767}
    }
Video: Recovery from perturbation
Video: Algorithmic Resolution of Multiple Impacts in Non-smooth Mechanical Systems

Modeling and simulating robot motion using DAEs

Many constrained dynamical systems can be modeled with differential-algebraic equations (DAEs). Ordinary differential equations (ODEs) can be integrated accurately with explicit numerical methods, such as the Runge-Kutta method, but accurate integration of DAEs usually requires sophisticated implicit methods. This research develops explicit integration algorithms for DAEs that are easy to implement and accurate. The starting point is that every numerical solution contains errors, so neither the kinematic constraints nor motion invariants, such as conservation of energy, can be satisfied exactly. Systematic derivations based on this assumption lead to new error-correction terms for the equations of motion.

The method significantly improves numerical accuracy when tested against analytical solutions of simple problems and numerical solutions of complex problems modeled with ODEs. The example below compares the new integrator for DAEs with the Runge-Kutta method, which can solve only ODEs precisely.

  • Simulation of Constrained Mechanical Systems: Part I - An Equation of Motion
    D. J. Braun and M. Goldfarb
    ASME Journal of Applied Mechanics, vol. 79, no. 4, Art. no. 041017, 2012
    DOI
    @article{Braun2012b,
      author  = {D. J. Braun and M. Goldfarb},
      title   = {Simulation of Constrained Mechanical Systems: Part {I} - {An} Equation of Motion},
      journal = ASMEjam,
      volume  = {79},
      number  = {4},
      pages   = {041017},
      year    = {2012},
      doi     = {10.1115/1.4005572}
    }
  • Simulation of Constrained Mechanical Systems: Part II - Explicit Numerical Integration
    D. J. Braun and M. Goldfarb
    ASME Journal of Applied Mechanics, vol. 79, no. 4, Art. no. 041018, 2012
    DOI
    @article{Braun2012c,
      author  = {D. J. Braun and M. Goldfarb},
      title   = {Simulation of Constrained Mechanical Systems: Part {II} - {Explicit} Numerical Integration},
      journal = ASMEjam,
      volume  = {79},
      number  = {4},
      pages   = {041018},
      year    = {2012},
      doi     = {10.1115/1.4005573}
    }
  • Eliminating Constraint Drift in the Numerical Simulation of Constrained Dynamical Systems
    D. J. Braun and M. Goldfarb
    Computer Methods in Applied Mechanics and Engineering, vol. 198, no. 37–40, pp. 3151–3160, 2009
    DOI
    @article{Braun2009a,
      author  = {D. J. Braun and M. Goldfarb},
      title   = {Eliminating Constraint Drift in the Numerical Simulation of Constrained Dynamical Systems},
      journal = CMAME,
      volume  = {198},
      number  = {37--40},
      pages   = {3151--3160},
      year    = {2009},
      doi     = {10.1016/j.cma.2009.05.013}
    }
Pendulum example comparing the error accumulation of four different numerical integration methods