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.22<br />

25.7 PRACTICE PROBLEM SOLUTIONS<br />

1. Feedback control, more specifically negative feedback, can improve the stability <strong>and</strong> accuracy<br />

of a control system.<br />

2. A PID controller will compare a setpoint <strong>and</strong> output variable. If there is a persistent error, the<br />

integral part of the controller will adjust the output to reduce long term errors.<br />

3. A PI controller<br />

4.<br />

Assume the values:<br />

update<br />

N7:0 = Analog input value<br />

N7:1 = Analog output value<br />

N7:2 = Setpoint<br />

MOV<br />

Source F8:4<br />

Dest F8:5<br />

MOV<br />

Source F8:3<br />

Dest F8:4<br />

SUB<br />

Source A N7:2<br />

Source B N7:0<br />

Dest F8:3<br />

F8:0 = Kp<br />

F8:1 = Kd<br />

F8:2 = Ki<br />

F8:3 = ei<br />

F8:4 = ei-1<br />

F8:5 = ei-2<br />

F8:6 = T (Scan Time)<br />

CPT<br />

Dest F8:10<br />

Expression<br />

CPT<br />

Dest F8:11<br />

Expression<br />

CPT<br />

Dest F8:12<br />

Expression<br />

"F8:0 + F8:2 * F8:6 + F8:1 | F8:6"<br />

"-F8:0 - 2 * F8:1 | F8:6"<br />

"F8:1 | F8:6"<br />

CPT<br />

Dest N7:1<br />

Expression<br />

"N7:1+F8:3*F8:10+F8:4*F8:11+F8:5*F8:12"<br />

www.PA<strong>Control</strong>.com

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

Saved successfully!

Ooh no, something went wrong!