Pendulum Simulations
-
Multi-Link Pendulum
Simulation and animation of a multi-link pendulum
Symbolically derives the dynamics of a multi-link pendulum with adjustable number of links. The multi-link pendulum is then simulated for some example parameters and the solution is shown in an animation.
-
Multi-Link Pendulum but Rust assisted (32 links !!! - looks more like a chain now)
Simulation and animation of a multi-link pendulum
Symbolically derives the dynamics of a multi-link pendulum with adjustable number of links. The multi-link pendulum is then simulated in Rust (to allow for more links) for some example parameters and the solution is shown in an animation.
-
Triple Pendulum // Swing-Up
Simulation and animation of fall and swing-up maneuver of a triple pendulum
After symbolic derivation of the dynamics of a triple pendulum, the feedfoward for a swing-up maneuver is numerically computed using scipy's boundary value problem solver. Additionally, a state feedback is designed based on the dynamics linearized around the feedforward trajectory. Finally, an authentic simulation including parameter deviations and process noise is done and the solution is shown in an animation.
-
Triple Pendulum // Periodic Orbit
Simulation and animation of a perioidc orbit of a triple pendulum
Similar to the previous notebook, except for maneuver containing a periodic orbit. This periodic orbit is a circular motion of the third link while the first two links stay close to their upright configuration.