Waveform Generations: 14-FEB-2012 Experiment No:5
Waveform Generations: 14-FEB-2012 Experiment No:5
WAVEFORM GENERATIONS
AIM
To design and setup op-amp based circuits to obtain a) Square and triangular waveforms b) Sinusoidal waveforms
COMPONENTS REQUIRED
1. LM324 2. Resistors: 6.5K, 1K, 2.6K, 2K, 2.3k, 158k, 9.2K, 25.45K 3. Variable resistors: 10K, 20K 4. Capacitors: 0.1uF, 1nF 5. Diodes
THEORY
The working of the triangle wave generator can be split up into the working of its two main components. The threshold detector in Figure 2 and the integrator in Figure 3 are analyzed separately and then combined to gi ve the final circuit as shown in Figure 1. This figure is for 50% duty cycle.
The output of the threshold detector, VTHR , can be either high (+Vsat) or low (-Vsat). When the input voltage (Vin ) is below a certain threshold, the output is low; when the input is above a certain higher threshold, the output is high; and when the input is between the two thresholds, the output retains its value until the input changes sufficiently to trigger a change. This delayed action is called hysteresis. The threshold detector in Figure 2 exhibits hysteresis. We get a square wave as output.
The integrator in Figure 3 is an op amp resistor circuit with a feedback capacitor, C1. The capacitor C1 ties the op amps input to its output. The integrator, as its name indicates, integrates its input signal. The input signal in the final circuit, as seen in Figure 1, is provided by the threshold detector. Since its an inverting circuit, we get negative slope for positive input. Let Vr be its maximum output.
Fig 4
Wh en volt age changes from +Vsat to -Vsat, voltage at pin3 of op-amp2 is 0V. Then,
The time taken for triangular wave to swing between +Vr and -Vr is
=>
Fig5
Fig6
Here we have a positive feedback circuit with R-C combination as shown. Output voltage for a positive feedback circuit is,
For this circuit to oscillate, |A*B|=1 and angle(A*B)=0. These conditions are called Barkhausen stability criterion. When these conditions are satisfied, the circuit oscil lates and we get a cosin e outp ut.
Fig7
Derivation
We get,
were,
Zp = R ||
Zs = R +
Therefore,
And
Design
We have,
R1 = 2.6K and R2 = 1K
And,
We get R3 = 6.5K
We have,
we have
And R2 = 2*R1, choose R1 = 5K and R2 = 10K(Fig6). We can use variable resistors instead of R1, R2 and R3 in fig7.
PROCEDURE
1. Design the circuit given in fig7 for 1KHz frequency. 2. Observe and record the output waveform. 3. Vary R3 in fig7 and record the waveform. 4. Observe the output withought the amplitude stabilization circuit.
OBSERVATIONS
The output waveforms are observed and drawn on a graph paper which are shown in next page. When we change C, R3 and R4 for triangular wave generation, we get a slightly destorted waveform. For sine wave generation, we get a distorted wave on removing the diodes.
RESULT