Group 7: Difference between revisions

From nldlab
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


== Background ==
== Background ==
The inverted pendulum with vertical driving has as it's Lagrangian
\begin{equation}
    \mathcal{L} = \frac{m}{2}(\ell^{2} \dot{\theta^{2}} + \dot{y}^2 + 2\ell\dot{y}\dot{\theta}\sin\theta)- m g [y(t) + \ell\cos(\theta)]
\end{equation}
Where $\ell$ represents the length of the pendulum, $m$, it's mass, $\theta$ is the angle the pivot arm makes with the upward vertical, $g$ is the acceleration due to gravity, $y(t)$ is the vertical displacement of the pivot point, and $\dot{\theta}$ represents the derivative of the angle $\theta$ with respect to the time, $t$.
Solving the first-order Lagrange-Euler equation in $\theta, \dot{\theta}$ and rescaling, we find The Vertically Driven Pendulum equation <ref name=Bartuccelli>{{cite journal |
author = M. V. Bartuccelli, G. Gentile and K. V. Georgiou |
year = 2001 |
title = On the dynamics of a vertically driven damped planar pendulum |
journal =Proc. R. Soc. Lond. A |
volume = 458 |
issue = |
pages = 3007&ndash;3022 |
doi = 10.1098/rspa.2001.0841}}
</ref>.
\begin{aligned}
    0 &= \ddot{ \theta} + (\beta f(\tau) - \alpha)\sin\theta \\
    \alpha &= \frac{g}{\ell \omega ^{2}} \\
    \beta &= \frac{b}{\ell} \\
    \tau &= \omega t \\
\end{aligned}
Where $f(\tau)$ corresponds to the normalized driving function, such that $ \partial^{2}_{\tau}{y}(t) = b f(\tau)$, and $\ddot{\theta} $ is understood to be differentiated with respect to $\tau$, now.
This simple second-order system can be generalized to include damping terms thus:
\begin{equation}
0 = \ddot{ \theta} + \gamma \dot{\theta}  + (\beta f(\tau) - \alpha)\sin\theta
\end{equation}
Where $\gamma$ represents a constant, scaled, friction term.


== Linear Stability Analysis ==
== Linear Stability Analysis ==

Revision as of 21:23, 7 December 2011

Group Members: J. J. Aguiliar, G. Lee, C. Marcotte, B. Suri

The inverted pendulum is a simple mechanical system which models a canonical problem in both Control Theory and Nonlinear Dynamics. It is possible to control this system through either horizontal or vertical control of the pivot point. This article explores control of the planar pendulum through oscillation of the vertical position of the pivot point.

Background

Linear Stability Analysis

Clearly, the fixed points are given by $(\theta^{*}, \dot{\theta^{*}})_{-} = (\pi,0)$ and $(\theta^{*}, \dot{\theta^{*}})_{+} = (0,0)$. Making the local transformation $\eta_{\pm} = \theta^{*}_{\pm} + \delta\theta_{\pm}$ we derive the Mathieu equations.<ref name = Bartuccelli></ref>

\begin{equation}

    \delta\ddot{\theta}_{\pm} \pm (\beta f(\tau) - \alpha)\delta\theta_{\pm} = 0

\end{equation}

Note that the stability of the fixed point is determined by the sign of the linear prefactor, and that, should $y(t)$ be an eigensolution of the operator $\partial^{2}_{\tau}$ with eigenvalue $-1$, that the stability of the fixed points are not determined by the sign of $\beta$ as $-\beta$ corresponds to a phase shift of $\pi$ relative to $\beta$.

Experiment

Through the use of a motor we attempt to force the stability of the free pendulum, such that the downward vertical $(\theta^{*}_{-} = \pi)$ becomes unstable and the upward vertical $(\theta^{*}_{+} = 0)$ becomes stable. We intend to investigate extending this to the case of coupled (series) pendula. We assume the limit $\gamma \rightarrow 0$.

Materials

  1. Motor or shaking table
  2. Rod or Pendulum Simulacrum
  3. Reflective Tracking Tape
  4. Camera
  5. Matlab, no doubt

Simulation

Diagram.png

A simulation was construction based on the single inverted pendulum model with a vertically oscillating pivot. The simulation was done through Matlab with Simulink. The equations of motion for such a model reduce to the following equation:

\begin{equation} \ddot{ \theta} = \sin(\theta)\cdot(g/l - \ddot{y}/l) \end{equation}

where $\theta$ is the angular position of the rod, $g$ is gravity, and $l$ is the rod length. And for a vertical forcing of the following form: $y(t) = A\sin(\omega t)$, the resulting equation used in the model is the following:

\begin{equation} \ddot{ \theta} = \sin(\theta)(g/l-(A/l)\omega^2\cdot\sin(wt)) \end{equation}

where $A$ and $\omega$ are the amplitude and angular frequency, respectively.

Based on these equations, the following Simulink model was created.

Model.png

This model is a block diagram representation of the equation of motion formulated above. At the first time step, $t=0$, it uses an initial angular position of the rod to calculate the angular acceleration and then integrates twice into the next time step as the shaker also moves to its next position in time. The output is an array of angular positions in time, which can be transformed to their appropriate x and y positions.

With this model, one can easily vary the shaker frequency and amplitude and observe the pendulum’s behavior for different values. For example, a useful metric easily attainable with this model is the range of the horizontal bounds of the pendulum’s trajectory, or xmax - xmin. The following figure is a sample result of the horizontal range for 10 cm long rod starting at $\theta_o = \pi/30$ for a sweep of frequencies and amplitudes.

HorizontalMovement.jpg

Notice that there is a point when the range jumps to 0.2 m (twice the rod length). This indicates that the pendulum was not able to exhibit a stable oscillation about the vertical fixed point and instead fell. Keeping the amplitude constant and sweeping only through frequencies, one can observe how the critical stabilization frequency would vary as the initial angular position changes.

Expectations

<videoflash>8S3Ylw7ukJ0</videoflash>

Given the above, it would seem possible to stabilize the double and triple inverted pendulum. So we expect, for carefully determined parameter values, that such stability can be attained for the single inverted pendulum. It may be the case that unbounded $\theta$ requires an initial transient to nudge the pendulum into the stable domain.

References

<references/>