12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

plc pid - 25.12<br />

25.3.4 PID <strong>Control</strong> <strong>Systems</strong><br />

Proportional-Integral-Derivative (PID) controllers are the most common controller<br />

choice. The basic controller equation is shown in Figure 25.13. The equation uses the system<br />

error e, to calculate a control variable u. The equation uses three terms. The proportional<br />

term, Kp, will push the system in the right direction. The derivative term, Kd will<br />

respond quickly to changes. The integral term, Ki will respond to long-term errors. The<br />

values of Kc, Ki <strong>and</strong> Kp can be selected, or tuned, to get a desired system response.<br />

u = K c<br />

e + K i<br />

de<br />

edt + K d<br />

----- Kc<br />

dt Ki<br />

Kd<br />

Relative weights of components<br />

Figure 25.13<br />

PID Equation<br />

Figure 25.14 shows a (partial) block diagram for a system that includes a PID controller.<br />

The desired setpoint for the system is a potentiometer set up as a voltage divider. A<br />

summer block will subtract the input <strong>and</strong> feedback voltages. The error then passes through<br />

terms for the proportional, integral <strong>and</strong> derivative terms; the results are summed together.<br />

An amplifier increases the power of the control variable u, to drive a motor. The motor<br />

then turns the shaft of another potentiometer, which will produce a feedback voltage proportional<br />

to shaft position.<br />

proportional<br />

PID <strong>Control</strong>ler<br />

V<br />

+<br />

-<br />

K p<br />

( e)<br />

integral<br />

e<br />

( e ∫ )<br />

K i<br />

derivative<br />

d ⎛ K ⎞<br />

d<br />

----e<br />

dt<br />

⎝<br />

⎠<br />

+<br />

+<br />

+<br />

u<br />

+V<br />

amp<br />

-V<br />

motor<br />

V<br />

Figure 25.14<br />

A PID <strong>Control</strong> System

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!