Integrated Circuits and Systems group, IIT Madras


This shows you the differences between two versions of the page.

Link to this comparison view

courses:ec330_2013:oscillator [2013/01/17 02:47] (current)
Line 1: Line 1:
 +====== Oscillator ======
 +  * **Goals**: ​
 +    * Understand the operation of a schmitt trigger based oscillator
 +    * Design a variable frequency oscillator based on this architecture
 +  * **Principle**:​ An oscillator can be constructed using an integrator and a schmitt trigger in a feedback loop such that when the output of the integrator crosses the threshold of the schmitt trigger, the direction of integration is reversed. There are many oscillator topologies based on this principle and in this experiment you'll study one of them.
 +  * Use LF347 quad opamp for this experiment.
 +===== To be done before the lab session =====
 +  * Analyze the input output transfer characteristics of the schmitt trigger(the lower part of the figure below)
 +  * Determine the expression for the oscillation frequency and amplitude at OPA<​sub>​1</​sub>​ output.
 +  * Design an oscillator with a frequency of 10kHz. Choose the hysteresis width to be 10 to 20% of the opamp'​s peak to peak swing limit. ​
 +===== To be done in the lab session =====
 +  * The figure above shows an oscillator using an opamp based integrator(OPA<​sub>​1</​sub>,​ R, C) and a non-inverting schmitt trigger(OPA<​sub>​2</​sub>,​ R<​sub>​1</​sub>,​ aR<​sub>​1</​sub>​). The oscillation frequency depends on the //​hystereses width// of the schmitt trigger and the rate of integration of the oscillator. ​
 +    * Build and demonstrate the 10kHz oscillator designed above.
 +  * To make a voltage controlled oscillator, the rate of integration needs to be controlled by a voltage. The above circuit shows a possibility to do that. The schmitt trigger has to be inverting type due to additional inversion introduced by Q<​sub>​1</​sub>​. (Derive V<​sub>​ctl</​sub>/​2 from V<​sub>​ctl</​sub>​ using a resistive divider. D<​sub>​1</​sub>​ protects the base-emitter juction of Q<​sub>​1</​sub>​ from  breakdown when OPA<​sub>​2</​sub>​ swings negative.)
 +    * Analyze the circuit assuming that Q<​sub>​1</​sub>​ behaves like an ideal switch. ​
 +    * Design the circuit for a frequency range of 10-15kHz for a control voltage range of 4-6V. Choose the hysteresis width to be 10 to 20% of the opamp'​s peak to peak swing limit. Build and demonstrate the oscillator. Measure the frequency vs. control voltage characteristics. Does it follow the predicted relationship?​
 +    * Change R or C to increase the frequency range to 100-150kHz for the same control voltage range as above. Measure the frequency vs. control voltage characteristics. Does it follow the predicted relationship?​ Is the f<​sub>​osc</​sub>​ vs. V<​sub>​ctl</​sub>​ characteristic linear? If not, explain the reasons and predict the deviation. (Hint: Opamp outputs cannot change faster than the slew rate; See the integrator output and the schmitt trigger output simultaneously on an oscilloscope) ​
 +  * Questions:
 +    * The transistor Q<​sub>​1</​sub>​ is not an ideal switch. It has a saturation voltage of about 0.2V and affects the duty cycle and control linearity. How would you compensate for this? (You cannot assume an exact value for V<​sub>​sat</​sub>​. It varies with temperature,​ for instance. You can assume that matched transistors are available.)
 +    * How will you compensate for the last problem described in the previous section? ​
 +  * **Note**: Preserve the circuit that you have built. You'll need it for a signal source in the following experiments. You may have to attenuate the output to an appropriate level.
 +  * **Applications**:​ Oscillators are used everywhere in electronic circuitry mainly to generate a reference frequency or time period. Examples are carrier generation in a radio and clock generation in digital circuitry. They are also used for downconversion of signals in a radio, in voltage to frequency converters(a signal is much less susceptible to noise when it is in the form of frequency than in the form of voltage). There is a variety of architectures:​ "​Relaxation"​ type-as the one above, ring oscillators,​ LC tank based oscillators,​ and oscillators based on other resonator types(e.g. quartz). The architecture chosen depends on desired purity(how close it is to an impulse in the frequency domain, or a perfectly periodic waveform in the time domain), stability, tunability etc.