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

4. Develop a ladder logic program that implements a PID controller using the discrete equation.<br />

5. Why is logical control so popular when continuous control allows more precision?<br />

6. Design the complete ladder logic for a control system that implements the control equation<br />

below for motor speed control. Assume that the motor speed is read from a tachometer, into an<br />

analog input card in rack 0, slot 0, input 1. The tachometer voltage will be between 0 <strong>and</strong><br />

8Vdc, for speeds between 0 <strong>and</strong> 1000rpm. The voltage output to drive the motor controller is<br />

output from an analog output card in rack 0, slot 1, output 1. Assume the desired RPM is stored<br />

in N7:0.<br />

V motor<br />

= ( rpm moter<br />

– rpm desired<br />

)0.02154<br />

where,<br />

V motor<br />

rpm moter<br />

rpm desired<br />

= The voltage output to the motor<br />

= The RPM of the motor<br />

= The desired RPM of the motor<br />

7. Write a ladder logic control program to keep a water tank at a given height. The control system<br />

will be active after the Start button is pushed, but it can be stopped by a Stop button. The water<br />

height in the tank is measured with an ultrasonic sensor that will output 10V at 1m depth, <strong>and</strong><br />

1V at 10cm depth. A solenoid controlled valve will open <strong>and</strong> close to allow water to enter. The<br />

water height setpoint is put in N7:0, in centimeters, <strong>and</strong> the actual height should be +/-5cm.<br />

8. Implement a program that will input (from I:000) an analog voltage Vi <strong>and</strong> output (to O:001)<br />

half that voltage, Vi/2. If the input voltage is between 3V <strong>and</strong> 5V the output O:002/0 will be<br />

turned on. Include start <strong>and</strong> stop buttons that will force the output voltage to zero when not<br />

running. Do not show the bits that would be set in memory, but list the settings that should be<br />

made for the cards (e.g. voltage range).<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

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

Saved successfully!

Ooh no, something went wrong!