Ball and Beam Project-Control
Ball and Beam Project-Control
Babek Naseri
The following figure shows a well-known “ball and beam” system in control systems. A ball is
located on a beam to roll along the length of the beam. A lever arm is attached to the beam and
a servo gear is attached to the other side of the lever arm. As the servo gear turns by an angle
𝜃, the lever arm goes up and down, and then the angle of the beam is changed by 𝛼. The change
in angle causes the ball to roll along the beam. A controller is desired to manipulate the ball’s
position.
0 0 1 0
0
0 0 0 1
5 0
1 0 0 0
𝐀= 0 − 𝑔 0 0 , 𝐁= 0 , 𝐂=[ ]
7 1 0 1 0 0
𝑚𝑏 𝑔
− 0 0 0 [𝐼𝐵 ]
[ 𝐼𝐵 ]
a) Design servo Pole Placement controller for 𝐱 0 = [0.2 0 0 0]𝑇 initial condition
• Desired Pole 𝑃𝑑 = [−2 + 2𝑗 −2 − 2𝑗 −20 −40]
• Target ball position 𝑟 = 0.8
b) Design Observer- Pole Placement control for 𝐱 0 = [0.2 0 0 0]𝑇 initial condition
• Target ball position 𝑟 = 0.8
• Overshoot less than 5% in ball position
• Settling time less than 𝑡𝑠 ≤ 2 second
d) Design Reference Input for the system with 𝐱 0 = [0.8 0 0 0]𝑇 initial condition
• Target ball position 𝑟 = 0.2
• Overshoot less than 5% in ball position
• Settling time less than 𝑡𝑠 ≤ 2 second