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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

continuous sensors - 23.7<br />

Quad input A<br />

clockwise rotation<br />

Quad Input B<br />

Note the change<br />

as direction<br />

is reversed<br />

total displacement can be determined<br />

by adding/subtracting pulse counts<br />

(direction determines add/subtract)<br />

Quad input A<br />

counterclockwise rotation<br />

Quad Input B<br />

Note: To determine direction we can do a simple check. If both are off or on, the first to<br />

change state determines direction. Consider a point in the graphs above where both<br />

A <strong>and</strong> B are off. If A is the first input to turn on the encoder is rotating clockwise. If<br />

B is the first to turn on the rotation is counterclockwise.<br />

Aside: A circuit (or program) can be built for this circuit using an up/down counter. If<br />

the positive edge of input A is used to trigger the clock, <strong>and</strong> input B is used to drive<br />

the up/down count, the counter will keep track of the encoder position.<br />

Figure 23.5<br />

Quadrature Encoders<br />

Interfaces for encoders are commonly available for PLCs <strong>and</strong> as purchased units.<br />

Newer PLCs will also allow two normal inputs to be used to decode encoder inputs.

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

Saved successfully!

Ooh no, something went wrong!