Model Identification and Control of a Low-Cost Wheeled Mobile Robot

Model Identification and Control of a Low-Cost Wheeled Mobile Robot

Model Identification and Control of a Low-Cost Wheeled Mobile Robot Using Differentiable Physics Yanshi Luo and Abdeslam Boularias and Mridul Aanjaneya∗ Abstract— We present the design of a low-cost wheeled mobile robot, and an analytical model for predicting its motion under the influence of motor torques and friction forces. Using our proposed model, we show how to analytically compute the gradient of an appropriate loss function, that measures the deviation between predicted motion trajectories and real- world trajectories, which are estimated using Apriltags and an overhead camera. These analytical gradients allow us to auto- matically infer the unknown friction coefficients, by minimizing the loss function using gradient descent. Motion trajectories that are predicted by the optimized model are in excellent agreement with their real-world counterparts. Experiments show that our proposed approach is computationally superior to existing black-box system identification methods and other data-driven techniques, and also requires very few real-world Fig. 1. Low-cost mobile robot, which costs approximately $1200, samples for accurate trajectory prediction. The proposed ap- designed and built in the present work, and used in the experiments. proach combines the data efficiency of analytical models based on first principles, with the flexibility of data-driven methods, which makes it appropriate for low-cost robots. Using the learned model and our gradient-based optimization approach, High-end robots can easily be controlled using software we show how to automatically compute motor control signals tools provided by manufacturers. Their physical properties, for driving the robot along pre-specified curves. such as inertial and frictional parameters, are also precisely Index Terms— model identification, differentiable physics, wheeled mobile robot, trajectory estimation and control measured, which eliminates the need for further calibrations. Affordable robots assembled and fabricated in-house are I. INTRODUCTION significantly more difficult to control due to uncertainties in the manufacturing process, which result in differences With the availability of affordable 3D printers and micro- in size, weight and inertia according to the manufacturing controllers such as Arduino [1], Beaglebone Black [2], and technique. Due to this uncertainty, hand-crafting precise and Raspberry Pi [3], light-weight high-performance computing shared models for these robots is challenging. For example, platforms such as Intel’s Next Unit of Computing (NUC) [4] the wheels of the robot in Figure 1 cannot be precisely and NVIDIA’s Jetson Nano [5], and programmable RGB- modeled manually because of their complex structure and D cameras, such as Intel’s Realsense [6], there is renewed uncertain material properties. Moreover, the frictions be- interest in building low-cost robots for various tasks [7]. tween the wheels and the terrain vary largely when the robot Motivated by these developments, the long-term goal of the is deployed on an unknown non-uniform terrain. Statistical present work is to develop affordable mobile robots that learning tools such as Gaussian processes and neural net- can be easily assembled using off-the-shelf components and works have been largely used in the literature to deal with 3D-printed parts. The assembled affordable robots will be arXiv:2009.11465v1 [cs.RO] 24 Sep 2020 this uncertainty and to learn dynamic and kinematic models used for exploration and scene understanding in unstructured directly from data. While such methods have the advantage environments. They can also be augmented with affordable of being less brittle than classical analytical models, they robotic arms and hands for manipulating objects. Our ulti- typically require large amounts of training data collected mate objective is to remove the economic barrier to entry that from each individual robot and for every type of terrain. has so far limited research in robotics to a relatively small number of groups that can afford expensive robot hardware. In this work, we propose a hybrid data-driven approach To that end, we have designed our own wheeled mobile that combines the versatility of machine learning techniques robot for exploration and scene understanding, illustrated with the data-efficiency of physics models derived from first in Figure 1. The first contribution of this work is then the principles. The main component of the proposed approach is hardware and software design of the proposed robot. a self-tuning differentiable physics simulator of the designed robot. The proposed simulator takes as inputs the robot’s *Corresponding author pose and generalized velocity at a given time, a sequence of The authors are with the Department of Computer Science, control signals, and returns a trajectory of predicted future Rutgers University, 110 Frelinghuysen Road, Piscataway, NJ 08854 USA (email: [email protected], [email protected], poses and velocities. After executing the sequence of controls [email protected]). Fax: (732) 445 0537. on the real robot, the resulting ground-truth trajectory of the robot is recorded and systematically compared to the pre- racing problem in simulation in [12]. The proposed sys- dicted one. The difference, known as the reality gap, between tem identification technique consists in decomposing the the predicted and the ground-truth trajectories is then used dynamics as the sum of a known deterministic function to automatically identify the unknown coefficients of friction and noisy residual that is learned from data by using the between each of the robot’s wheels and the present terrain. least mean square technique. The approach proposed in the Since the identification process must happen on the fly and in present work shares some similarities with the approach real time, black-box optimization tools cannot be effectively presented in [13], wherein the dynamics equations of motion used. Instead, we show how to compute analytically the are used to analytically compute the mass of a robotic derivatives of the reality gap with respect to each unknown manipulator. A neural network was also used in a prior coefficient of friction, and how to use these derivatives to work to calibrate the wheelterrain interaction frictional term identify the coefficients by following the gradient-descent of skid-steered dynamic model [14]. An online estimation technique. A key novelty of our approach is the integration method that identifies key terrain parameters using on-board of a differentiable forward kinematic model with a neural- robot sensors is presented in [15]. A simplified form of network dynamic model. The kinematic model represents the classical terramechanics equations was used along with a part of the system that can be modeled analytically in a linear-least squares method for terrain parameters estima- relatively easy manner, while the dynamics neural network tion. Unlike in the present work that considers a full body is used for modeling the more complex relation between the simulation, [15] considered only a model of a rigid wheel frictions and the velocities. But since both parts of the system on deformable terrains. A dynamic model is also presented are differentiable, the gradient of the simulator’s output is in [16] for omnidirectional wheeled mobile robots, including back-propagated all the way to the coefficients of friction surface slip. However, the friction coefficients in [16] were and used to update them. experimentally measured, unlike in the present work where The time and data efficiency of the proposed technique are the friction terms are automatically tuned from data by using demonstrated through two series of experiments that we have the gradient of the distance between simulated trajectories performed with the robot illustrated in Figure 1. The first set and the observed ones. of experiments consists in executing different control signals with the robot, and recording the resulting trajectories. Our Classical system identification builds a dynamics model technique is then used to identify the friction coefficients by minimizing the difference between the model’s output of each individual wheel, and to predict future trajectories signals and real-world response data for the same input accordingly. The second set of experiments consists in using signals [17], [18]. Parametric rigid body dynamics models the identified parameters in a model-predictive control loop have also been combined with non-parametric model learning to select control signals that allow the robot to track pre- for approximating the inverse dynamics of a robot [19]. defined trajectories. The proposed gradient-based technique is shown to be more efficient computationally than black- box optimization methods, and more accurate than a neural There has been a recent surge of interest in developing network trained using the same small amount of data. natively differentiable physics engines. For example, [20] used the Theano framework to develop a physics engine that II. RELATED WORK can be used to differentiate control parameters in robotics The problem of learning dynamic and kinematic models of applications. The same framework can be altered to differen- skid-steered robots has been explored in several past works. tiate model parameters instead. This engine is implemented Vehicle model identification by integrated prediction error for both CPU and GPU, and it has been shown how such an minimization was proposed in [8]. Rather than calibrate the engine speeds up

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us