Proportional-Integral-Derivative (PID) Control Method. This Type of Controller Is
Proportional-Integral-Derivative (PID) Control Method. This Type of Controller Is
In this lecture, we will examine a very popular feedback controller known as the works. The controller for such a feedback scheme uses a proportional gain element
proportional-integral-derivative (PID) control method. This type of controller is Kp to amplify the error signal e(t) and produces a drive signal w(t) as input to the
widely used in industry, does not require accurate model of the plant or process plant. This type of simple control system is found in many situations such as
being controlled and can be understood by most engineers without being a control operational amplifiers you used in the first year, or a simple temperature controller
expert. you may find at home.
Even if the system is not unstable and eventually settle down to the steady-state
value, the system output may exhibition large overshoot transient behaviour, similar
to what you saw with the Bulb Box system when it is driven by a step signal. Since
such a system is prone to oscillation, it may also take a long timer before it reaches
the final steady-state condition.
Finally, using P-only control may not give us the tolerance to perturbation required.
Also, in this formulation, the gain terms are all expressed in terms of Ku (Kp is
factorised to outside the brackets), and the oscillation period Tu (Ti and Td are
specified in terms of Tu).
Finally, let me relate what you have learned in feedback control to the team project.
The task at hand is to balance the Segway so that it can stand upright without falling
over. The system (the plant) is inherently unstable (i.e. will NOT balance on its own).
Feedback control is necessary for the Segway to self balance.
The variable under control is NOT speed of the Segway, but its pitch angle. To do
that, we will use a PID controller.
The pitch angle is measured and is compared to the set-point, which is zero if the
Segway is upright. This error is multiplied by Kp and used as part of the PWM value
to drive the motors in the direction that corrects the error.
The derivative control is NOT achieved by differentiating the error e(t). Instead we
will use the gyroscope reading for y-axis, which measures the rate of change of the
pitch angle (i.e. L).
̇ We multiple L̇ with Kd to get the derivative term. Finally we
integrate the value p and multiply this with Ki to get the integral term. Now we add
these together to provide the drive to the motors. Remember that we need to limit
this value to +/- 100 (duty cycle cannot exceed 100, and +/- indicates direction of
motor).
To move the Segway forward or backward, all you need is to change the set-point
(target pitch angle). This is actually how it works on a real Segway.
Finally turning can be achieved by changing the ratio of the PWM values driving the
left and the right motor. Having the two wheels at different speed will make the
Segway turn.