Академический Документы
Профессиональный Документы
Культура Документы
System Modeling
Fig 1 shows schematic representations of the ball on beam balancer system. The lagrangian approach was used to model the system. Because the actuator in this system is a DC motor, there is no elastance, and hence, no potential energy in the system. The
lagrangian, therefore, is the kinetic energy, U, given by
Where m is the ball mass, v is the translational velocity of the ball, ω is the angular velocity of the ball, θ is the angle of the beam shaft,a Iis the beam inertia, and Ib is the ball inertia.
Because the sensors in this system measure ball translational position, x, and shaft angular position, θ, we want to write the above equation in terms of just these two variables. Therefore, we nownd
fi relationships between r and ω, and x. We first note that the
distance traveled by the ball is given by
Where φ is the rotational angle of the ball with respect to the shaft with respect to the shaft and r is the rolling, or effective, radius of the ball. The total angle of the ball is the sum of the angle of the ball with respect to the shaft, φ, and the angle of the shaft, θ. The
rotational velocity of the ball, therefore, is given by
Using the equations for rotational and translational velocities in the Lagrangian gives us
To linearize this equation, we assume that the control system, for small disturbances, will act to return the ball to rest with minimal shaft movement. Therefore, the shaft angle and its derivatives are assumed to be small, and the dynamic equation becomes
The plant model is found by taking the Laplace transform of the preceding
We can simplify this transfer function by substituting the following inertia relationship into the above equation
This gives us
To show that the system is unstable, the root locus of the system is drawn in fig 3. To make the system stable, the poles in the root locus are moved to the left half plane by adding two zeros in the form of K(1+as)(1+bs) to the system transfer function. The
results of this is shown in fig 4. The step response of the new system is plotted in fig 5 (after choosing values for K, a and b based on the new root locus).
Figure 5: Root locus of the ball on beam balancer system and its two-zero PD compensator
Figure: Step response of the ball on beam balancer with two-zero PD compensator