e want to create a more complicated response. For example, During this lab you will examine two circuits, one in which non-linear feedback is used to achieve a particular response or transfer function, the other uses non-linear feedback to stabilize the amplitude of an oscillator. It is most convenient to analyze its function by considering separately what happens for Vin>0 and Vin < 0.
Figure 2a shows the equivalent circuit for Vin > 0. In this case the diode D1 is reversed biased and effectively an open circuit, D2 is conducting. The feedback loop is effectively a single resistor, from the output of OA2 to the negative input of OA1. OA1 and OA2 act together as a single op-amp and the complete circuit acts like a simple voltage follower, Vout = Vin.
There is a complication with this circuit. At sufficiently high frequency, both OA1 and OA2 introduce 90 phase shifts, which together with the 180 shift achieved by feeding the signal back to the input of OA1, would make the circuit unstable. A small capacitor, C, is used to counteract this. Assemble the circuit, initially with C = 100 pF, and check that it works as advertised for various wave forms (f = 1 kHz).
Increase the frequency until you can clearly observe the problems that arise when the circuit switches over from Vin < 0 to Vin > 0 mode. What is the typical switching time Can you improve this by changing C Observe that without C the circuit becomes unstable when Vin > 0.
NOTE: The circuit requires two op-amps. You can get two op-amps in a single package, which saves in power supply connections and makes it possible to build a compact circuit. Use the dual op-amp AD712 in this circuit. The Wien bridge oscillator can be understood most readily by first considering the transfer function of the RC network that forms the feedback loop.
Calculating V2/V1 we find For wRC = 1 the signal at the input of the amplifier is exactly in phase with that at the output, and if the amplifier has a gain of at least 3 (to compensate for the factor 1/3 in V2/V1) the circuit will oscillate with a frequency f=1/2pRC. When the gain of the amplifier is slightly larger than 3, the output amplitude will grow until it saturates the amplifier, when the gain is less than 3 it will decay until the oscillator stops.
The problem is how to make an amplifier that has a gain of exactly 3. Assemble the circuit shown in Fig. 4, initially without the diodes. Adjust R1 until the gain is close to 3 and the circuit starts to oscillate. Add the diodes, and again adjust R1 to obtain a stable oscillation. You should do this first in EWB, following exactly the same steps as if you were building the circuit in hardware. Note that it takes time for the oscillations to build up to their final amplitude, and that this is quite dependent on the value of R1.
Also, keep in mind that if there were absolutely no noise, the circuit would not start to oscillate, since this requires an initial disturbance. The "ideal" elements in EWB have no noise associated with them. Therefore, it is important to make sure that for the op-amp you implement the "real" device, here the OPA27 from the Burr-Brown collection.
Since the gain of the amplifier is dependent on the output voltage, the sine wave is slightly distorted. The easiest way to bring out the distortion is The distortion can be reduced considerably with a circuit element in the feedback loop which has a response time that is much longer than the oscillator period.
A simple solution is to use a small light bulb. The resistance of the filament is a function of its temperature,