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.

plc analog - 22.20<br />

Aside: A basic low pass RC filter is shown below. This circuit is suitable for an analog<br />

output that does not draw much current. (drawing too much current will result in large<br />

losses across the resistor.) The corner frequency can be easily found by looking at the<br />

circuit as a voltage divider.<br />

V PWM<br />

R<br />

C<br />

V analog<br />

1<br />

--------- ⎛ ⎞<br />

⎜ jωC ⎟<br />

V analog<br />

V PWM<br />

--------------------<br />

1<br />

⎟<br />

⎛ ⎞<br />

= ⎜ = V<br />

1 PWM<br />

-----------------------<br />

⎝ ⎠<br />

R + ---------<br />

jωCR ⎜ ⎟<br />

+ 1<br />

⎠ jωC ⎝<br />

V<br />

--------------- analog 1<br />

= -----------------------<br />

V PWM<br />

jωCR + 1<br />

corner frequency<br />

1<br />

ω = -------<br />

CR<br />

As an example consider that the PWM signal is used at a frequency of 100KHz, an it is to<br />

be used with a system that has a response time (time constant) of 0.1seconds. Therefore<br />

the corner frequency should be between 10Hz (1/0.1s) <strong>and</strong> 100KHz. This can be put at<br />

the mid point of 1000Hz, or 6.2Krad/s. This system also requires the arbitrary selection<br />

of a resistor or capacitor value. We will pick the capacitor value to be 0.1uF so that we<br />

don’t need an electrolytic.<br />

1<br />

R ------- -------------------------<br />

1 10 4<br />

= = -------<br />

Cω 10 – 7 2π10 3 = = 1.59KΩ<br />

2π<br />

Figure 22.16<br />

Converting a PWM Signal to an Analog Voltage<br />

In some cases the frequency of the output is not fixed, but the duty cycle of the output<br />

is maintained.<br />

22.3.3 Shielding<br />

When a changing magnetic field cuts across a conductor, it will induce a current

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

Saved successfully!

Ooh no, something went wrong!