Professional Documents
Culture Documents
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
Experiment No.5
PID Three Term Control
Objective
To learn that Proportional with Derivative control improves transient
response.
To learn that Proportional with Integral control eliminates steady
errors but may give a slow response.
To learn that the combination of proportional, derivative and integral
control gives the best overall response.
1
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
Since the final drive signal contains three components or terms, the
process is called Three Term Control.
In this practical a circuit is used that generates from an input signal a
combination of that input signal summed with its derivative and its
integral. A signal is applied to the input and the output examined with
various proportions of the three terms.
Perform Practical in fig.(1)
Use the Make Connections diagram to show the required
connections on the hardware.
Set the sweep function generator min freq control to about 20% and
the output amplitude to half scale.
Set the derivative and integral gain controls to minimum.
Set the capacitor discharge switch to its right-hand position.
Open the Data Logger and the Bar Display. Note the output (yellow)
simply follows the input signal (blue) as the proportional path has an
effective gain of +1.
Increase the derivative gain and note that the derivative output (green)
is a small pulse corresponding to the edges of the square wave. Note
that the output is a combination of the proportional signal plus the
derivative on the output signal.
Set the capacitor switch to its left-hand position so the capacitors are
not shorted out.
Increase the integral gain. Note the integral output (orange) is a
triangle wave which is the integral of a square-wave. The output now
contains the proportional signal, the derivative signal and the integral
signal in ratios set by the derivate and integral gain controls.
2
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
Note that the integrator will slowly drift up or down due to small zero
offsets in the sweep function generator output. This offset is small but is
integrated over time and will cause the integrator output to limit.
Momentarily setting the capacitor discharge switch to its right-hand
position zeros the integrator.
The diagram above shows the typical output signals from derivative,
integral, proportional circuits and the summed output signal.
Use the capture facility on the data logger, and either print or export
the display to file.
3
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
4
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
5
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
6
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
7
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
8
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
Use the capture facility on the data logger, and either print or export
the display to file.
Set the attenuator control for the main proportional gain back to half
scale.
Set the capacitor discharge switch to its left-hand position.
Increase the integral gain. Note how the error is reduced to zero by
the integrator supplying the drive to the motor even when the error is
zero but that the response is quite slow.
Use the capture facility on the data logger, and either print or export
the display to file.
Remove connection 2 and add connection 22. This changes the input
signal to be a fixed voltage supplied by the input potentiometer.
Set the output speed to 40 rpm as shown on the mechanical unit speed
display.
Set the capacitor discharge switch to its right-hand then left-hand
position to discharge it.
The error (orange trace) should fall to zero as the required speed
matches the measured speed.
Apply the brake up to four divisions on the scale and note how the
speed falls but then recovers as the integrator supplies more drive to
the motor.
Remove the brake and note that the motor drive signal falls to
maintain zero error.
9
Control system Lab (EE491) Benghazi University
Faculty of Engineering
Electrical & Electronic department
Prepared by/ Eng. Asma Alfergani
11