20.01.2013 Views

Tune that dial - Index of

Tune that dial - Index of

Tune that dial - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ow<br />

SENSOR<br />

C1<br />

47n<br />

12/2006 - elektor electronics<br />

R1<br />

100k 100k<br />

R2<br />

1k<br />

R3<br />

1M R6<br />

100k<br />

3 7<br />

IC1<br />

6<br />

C3<br />

3 7<br />

2<br />

4<br />

10n<br />

2<br />

IC2<br />

LTC1049<br />

R4<br />

P1<br />

100k<br />

C2<br />

100n<br />

10k<br />

C4<br />

Piezoelectric transducer<br />

controls domestic water system<br />

4<br />

LTC1049<br />

R5<br />

100n<br />

applied to the piezo crystal in the<br />

sounder deforms it slightly, an effect<br />

<strong>that</strong> is used to generate sound. The<br />

principle is reversible too, enabling the<br />

transducer to work as a highly sensitive<br />

‘microphone’ as well. The variations<br />

in voltage charge resulting from<br />

altered mechanical stress on the crystal<br />

structure can be registered electronically<br />

and processed further. Piezoelectric<br />

sensors are widely used today in<br />

workshop tools, for automotive applications<br />

and in technical setups as<br />

pressure, power and dynamic<br />

accelerometer devices.<br />

The pump control system shown in<br />

Figure 1 comprises several modules,<br />

each with their own function.<br />

• The first is a preamplifier stage<br />

with an amplification factor <strong>of</strong> from 10<br />

to 1,000. The signal coming from the<br />

sensor has a value in the region <strong>of</strong> 100<br />

to 300 µV and is delivered via coupling<br />

capacitor C1 to the non-inverting<br />

input <strong>of</strong> IC1. The amplification <strong>of</strong><br />

this stage is set by trimpot P1. The<br />

6<br />

C5<br />

10n<br />

1M<br />

R7<br />

51k<br />

5k6<br />

R8<br />

3<br />

2<br />

IC3<br />

7<br />

4<br />

LTC1049<br />

R15<br />

P2<br />

20k<br />

6<br />

C6<br />

1µ<br />

C7<br />

33n<br />

100k<br />

6<br />

VCC<br />

1<br />

FIN SWIN<br />

5<br />

IC4 R<br />

LM2907<br />

RC GND<br />

4<br />

7<br />

2<br />

C<br />

3<br />

R12<br />

+9V...+12V D4<br />

78L05<br />

+5V<br />

1N4007<br />

C11<br />

10µ<br />

25V<br />

C10<br />

100n<br />

IC5<br />

C9<br />

100n<br />

C8<br />

1µ<br />

VSS<br />

8<br />

R13<br />

30k 10k<br />

5k1<br />

5k1<br />

Figure 1. The pump control comprises five capacitor-coupled stages.<br />

R17<br />

extremely low-noise precision amplifier<br />

LTC1049 (from Linear Technology)<br />

functions not only as an amplifier but<br />

also as an impedance adapter with a<br />

high-Z input resistor to avoid loading<br />

the sensor signal. Coupling capacitor<br />

C3 takes the now boosted sensor signal<br />

to a second amplifier (once more<br />

type LTC1049 with an amplification<br />

factor <strong>of</strong> 10). Total amplification is<br />

defined as A = [(R3 / (R4+P1)) +1] x<br />

[(R6 / R5) +1].<br />

• The signal, now amplified to around<br />

1.0 V is fed via C5 to a comparator<br />

stage. The switching threshold for IC3<br />

(yet again a LTC1049) is set in the<br />

region <strong>of</strong> around 0.5 to 1.55 V by R8,<br />

R15 and trimpot P2. If the sensor<br />

detects a flow signal, a squarewave<br />

output voltage <strong>of</strong> approximately 1 kHz<br />

appears at the output <strong>of</strong> IC3.<br />

• This squarewave signal is taken via<br />

C6 to the frequency-to-voltage converter<br />

LM2907 (IC4). This module<br />

operates in ‘speed switch-mode’ and<br />

above the frequency set as f = 1 / (2<br />

R9<br />

R10<br />

10k<br />

IC6<br />

2<br />

GP5/CIN<br />

GP4/COUT<br />

3<br />

4<br />

GP3/MC<br />

GP2<br />

5<br />

GP1<br />

6<br />

GP0<br />

7<br />

R11<br />

1<br />

8<br />

PIC12C675P<br />

R16<br />

10k<br />

DETECT<br />

C7R12) delivers a High output level,<br />

which —<br />

• provides the trigger signal for the<br />

PIC16F675 microcontroller <strong>that</strong> follows.<br />

As each <strong>of</strong> the switching elements is<br />

connected by coupling capacitors, they<br />

can all be modified easily for other<br />

applications too. The amplifier circuitry<br />

would, for instance, make a magnificent<br />

microphone amplifier, ultrasonic<br />

amplifier or ground motion detector<br />

(geophone). Linear Technology provides<br />

for its own modules a free and<br />

easy-to-use simulation tool called<br />

SwitcherCadIII. A simulation program<br />

for this project is contained in our Project<br />

S<strong>of</strong>tware archive file 060099-11.zip<br />

which can be downloaded free <strong>of</strong><br />

charge from www.elektor.com.<br />

S<strong>of</strong>t- and hardware<br />

The s<strong>of</strong>tware controlling the pump is<br />

relatively straightforward; the program<br />

can be modified according to requirements<br />

and the particular circuit appli-<br />

D3<br />

PUMP ON<br />

SCAN<br />

D2<br />

D1<br />

D6<br />

BC550<br />

1k<br />

060099 - 11<br />

R14<br />

+5V<br />

RE1<br />

T1<br />

M<br />

M1<br />

P<br />

230V<br />

N<br />

43

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

Saved successfully!

Ooh no, something went wrong!