Professional Documents
Culture Documents
Simple
Function Generator
22k
22k 22k 22k 22k B OUT
100p 1N4148
R15 F
2 6 9 R8
22k
1 7 8 22k R14
IC1.A IC1.B IC1.C
3 5 10
22k
R5 R6
R12
10k
10k
22k
S1A S1B
A RANGE B RANGE D3 E
R9
13 9
22k
P2B P2A 14 1N4148 8
C6 C7 C4 C5 IC2.D IC2.C
12 D4 10
+5V
R20 R22
3k3 P3A
2k2
2
R17 R19 1 K3
P3
1M 1M A OUT 2
R16
13 IC3 47k C OUT 1
22k R18 5
14 3 8 IC4
IC1.D 22k 6 R21 1 7
12 7 2
LM311 22k 5 G
2 6 D OUT 2
741
4 P4 3
1 1
4 C
+5V P4A 4k7 8
3 BIAS
K2
C2 4 4 C3 2
K1 IC1 = LM324
IC1 IC2 1
1 IC2 = LM324
+V 100n 11 11 100n R23
2
0V
3k3
C8
3
–V
100n
–5V
160548 - 11
–5V
Figure 1. Circuit diagram of the Simple Function Generator with labels shown for the main internal signals (refer to maths inset). Unusually the signal
generation order is: sine " triangle " rectangle.
‘zero’. These two rectified waveforms are 90 K3 and K2. The effective range is 1,000 to 8,000 Hz;
degrees out of phase and have double the With S1 set to the Low range (i.e. with C4 and it can be extended upwards slightly by
frequency of the original sinewave signal. The C6 in circuit) the generator covers 50–500 changing C5 and C7 to 2.2 nF.
rectified outputs are added to give signal COUT. Hz for sinewave output, and 100-1,000 Hz for > 500-5,000 Hz for the sinusoidal
This (mathematic) addition conveniently forms triangular and rectangular wave output due waveform; again the effective range is
the triangular wave, albeit of lower amplitude to the doubling of the original frequency. By 500 to 3,500 Hz roughly; upwards of that
than the originating sinewave. modifying the frequency-determining capac- may be achieved by changing C5 and C7
The triangular wave is next converted to itors or adding additional ranges on S1, to 2.2 nF.
squarewave shape by IC1.D (another LM324 frequencies down to sub-Hz can be provided.
opamp) in combination with IC3 (an LM311). When S1 is operated to switch capacitors C5 Building
Preset P4 is used to adjust the bias voltage and C7 into circuit the frequency will rise by a Elektor Labs designed a printed circuit board
on IC4 (a 741) which in turn adjusts the offset factor of 10. With C5 = C7 = 3.3 nF as shown, for the Simple Function Generator. The board
voltage of the squarewave. Finally, preset P3 the range of generated frequencies is: design is pictured in Figure 2 along with the
is used to adjust the amplitude of the square- parts list. Construction should be plain sailing
wave on DOUT. All three output signals are > 1,000–10,000 Hz for the triangular even for relative beginners as all parts are
available on 2-way PCB screw terminal blocks waveform and rectangular waveforms. through-hole, the board is spaciously laid out,
Figure 2. Printed circuit board designed for the Simple Function Generator. Note no
SMDs in sight.
4 sale @ elektor.com
> Simple Function Generator PCB,
bare
www.elektor.com/function-generator
> Book: Electronics for All
www.elektor.com/electronic-circuits-for-all
> Book: Analog Circuit Design,
Volume 1
www.elektor.com/analog-circuit-design-1
> Book: Analog Circuit Design,
Volume 2
www.elektor.com/analog-circuit-design-2
> Book: Analog Circuit Design,
Volume 3
www.elektor.com/analog-circuit-design-3