NONLINEAR DYNAMICS OF THE TUMBLING TOY AND MORE

Nonlinear Dynamics of the Tumbling Toy

Overview:

This was my final project for Prof. Todd Murphey’s class, Theory of Machines - Dynamics. It involved modeling and simulating (on Mathematica) the impact-driven nonlinear dynamics of the tumbling toy, which consists of

  • a hollow wooden case with a pivot on each side,
  • a metal ball which can roll along the long axis of the case,
  • an inclined saw-toothed rail on which the pivots step down.

Click below to see a video of the toy in action (credits - Bruce Yeany):

This multibody system has been of special interest to researchers due to its complex dynamical behaviour. The tumbling motion is characterized by the alternating rotation of the case around one of the two pivots with the rolling of the ball from end to end of the case. The system has 4 degrees of freedom, which are the configuration variables of the simulation: q = [xRC, yRC, θ, xCB]T , where xRC and yRC are the tangential and normal displacement of the CoM of the case relative to the rail, and θ is the rotation of the of the case with respect to the rail. xCB is the displacement of the ball within the body. Below are short animations of the simulation from two different sets of initial conditions:

Animation

Animation2

Following impacts govern the motion of the system:

  • Impacts of the ball with the ends of the case
  • Elastic impacts of the pivots on the rail

The modeling assumptions are:

  • Friction between the pivots and the rail in negligible, hence it is ignored
  • The ball is considered a point mass moving without friction within the case
  • All impacts are elastic
  • Pivots are triangular prisms, instead of cylinders (to make impacts less cumbersome to handle)

Coordinate Frames of the Modeled System:

Frames
Transformations

Problem Set-Up and Simulation:

The inertial and geometric parameters were sourced from this paper by Leine, Campen, and Glocker, which used the Newton-Euler approach to solve this system. I instead used the Variational Principle (Lagrangian Dynamics) to get the equations of motion.

The kinetic energy of the case and the ball were written in terms of their body velocities. The potential energy of each was found using homogeneous transformations to represent height in world frame. With the Lagrangian now available, 4 Euler-Lagrange equations (one corresponding to each state variable) were written. The RHS of each eq. was 0, since the only constraint (ball’s translation confined to the case) is embedded within the transformation matrix from the case to the ball, and there are no external forces.

Mathematica’s NDSolve is used to numerically integrate the Euler-Lagrange equations, with arbitrarily chosen initial conditions. However, this integration is done piecewise, since it is stopped whenever an impact is detected (using WhenEvent). 8 impact conditions were checked at every instant (6 from the vertices of the two triangular pivots, and 2 from the ball hitting the case’s ends). After every impact, new initial conditions for integration are found by solving the impact laws of momentum change and Hamiltonian conservation (giving 5 eqs.). It is assumed that at any instant only one impact condition from the 8 is true.

Some Other Dynamic Systems Simulated Using the Variational Principle During the Course

Modeling the Splits:

splits

Triple Pendulum and Impact:

tripend tripendhit

Constrained Triple Pendulum:

conpend

Project Dependencies:

Mathematica

Project Details

Date: Dec 10, 2015

Categories: project

Website: https://github.com/tanay-bits/tumbling-toy

Other Works

FRICTIONLESS SURFACE MOBILE ROBOT AND LASER-BASED LOCALIZATION

PROTOTYPING NUDGING HEADPHONES

OPTIMAL CONTROL OF KINEMATIC CAR MOTION

ANDROID LINE FOLLOWER MOBILE ROBOT

INTUITIVE ROBOT TELEOPERATION

Around the Web

My Bunker

Cambridge MA,
United States.

Credits

This site is based on the Solid theme
created by blacktie.co