Processing math: 100%

User Tools

Site Tools


ece6554:project_ballbeam

This is an old revision of the document!


Ball and Beam System

The ball and beam system is more or less what is sounds like. A ball is located on a beam and the objective is to place the ball at a given position on the beam, or to have the ball follow a specific linear trajectory along the beam. Videos can be found on youtube ( here and here) of simple versions running off of an RC servomotor. The linked videos are the indirect control design, which uses a leverl between the motor and the beam. As obtained from wikipedia, the traditional design is depicted below, with the ball modeling emphasized on the left half of the image and the beam modeling emphasized on the right half.

This project is a bit like the inverted cart-pundulum system, in terms of being single input, except that the nonlinearities are matched. The extended version with the motor or possibly beam dynamics does have unmatched nonlinearities.

I will know better the structure as we work out this system. Depends on a student group who proposed it passing me starter equations. :-)

Equations of Motion

The energy of the system is E=12(JB+Jb)˙θ2+12mbx2˙θ2+12(mb+Jbr2)˙x2+mbgxsin(θ), while the Lagrangian (kinetic minus potential energies) is L=12(JB+Jb)˙θ2+12mbx2˙θ2+12(mb+Jbr2)˙x2mbgxsin(θ).

If the beam angle, θ, dynamics are ignored, then the dynamics for the system simplify to a second order nonlinear model. The equations of motion for the ball position depend on the angle of the beam, (mb+Jbr2)¨xmb˙θ2x+mbgsin(θ)=0. These equations rely on the inertia of the beam being negligible and the beam angle θ being precisely controlled.

Variables: m=0.111R=0.015;g=9.8;L=1.0;Jb=9.99e6;

Adding Motor Dynamics

The system can be made a little more complicated by considering the motor dynamics, presuming that a DC motor was the actuator, Jm¨θ=Kιmbgxcos(θ)˙θL˙ι=VRιKe˙θ where ι is the motor current, V is the motor voltage, and some potential energy coupling from the ball/beam system is included in the motor angle dynamics.

Stabilization and Tracking

Stabilization of the system would be to some value (x,0) where the ball is on the beam and presumably the beam is not angled. The simplest stabilization would be to some time-varying signal (x(t),˙x(t)) like a sinusoid or some rsteps like function.

Activities


Step 1: Baseline Adaptive Systems

Linear Version

Linearize the system about the zero set-point and derive a stabilizing linear controller for the ball-beam system. Modify the parameters by about 20%, and show how the performance degrades versus knowing the ideal model. Create an adaptive controller that can improve the overall performance of the ball-beam system.

Nonlinear Version

Create a nonlinear adaptive controller that can improve the overall performance of the ball-beam system.

The nonlinearieties lie in the span of the control. Rewrite the equations so that this is the case and make sure to include the control defect in the equations arising from the sine function. Utilize a model inversion / feedback linearization technique on the true nonlinear system to arrive at a stable controller for the ball-beam system. I am going to request something funny. Add two additional states that will estimate θ and ˙θ given a measured input of θ=u, the control. The estimator equations should be the trivial second order dynamics. These two additional states will be tacked onto the adaptive system and will be used for the nonlinear regression problem associated to the model inversion cancelling term. The parametrization is known in this case.

Turn in your form of the equations for this particular case and the associated adaptive control equations. Again, compare the perturbed system versus the true system response.


Step 2: Adaptive Backstepping

Motor Control

Add in the motor dynamics and have them be linearized around the steady-state.

Backstepping Control

Get the baseline backstepping method working using the linear controller from Step 1.

Adaptive Backstepping Control

Incorporate adaptive backstepping to correct for the unmatched uncertainty.


Step 3: Nonlinear Adaptive Backstepping

Translate the linear adaptive backstepping strategy to the nonlinear system. Start with the vanilla nonlinear backstepping method, then make it adaptive.

Nonlinear Model Inversion with Backstepping

Nonlinear Model Inversion with Adaptive Backstepping

References



Back Main

ece6554/project_ballbeam.1553037269.txt.gz · Last modified: 2024/08/20 21:38 (external edit)