All 17 questions UPSC has asked on oscillators and wave-shaping circuits in the Electrical Engineering Optional (Paper I, Analog Electronics) from 1996 to 2025, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Analog Electronics topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
- ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2025 · 2b 2024 · 3b 2018 · 6c 2017 · 4c 2017 · 6c 2012 · 3c 2012 · 4c 2011 · 4a 2010 · 7a(i) 2007 · 4a(i) 2007 · 8a(i) 2003 · 6a 2002 · 4a 2001 · 6b 1999 · 8b 1998 · 7c 1996 · 5d(ii)
Consider the circuit of an operational amplifier given here in which Zener diodes and are having reverse breakdown voltage = 7.4 V and forward voltage drop = 0.6 V. (i) Draw the output voltage waveform showing voltage value with time and calculate frequency of output waveform. (ii) Modify the circuit for duty cycle factor by replacing from combination of suitable resistances and diodes, so that output frequency is not changed.
Solution
(i) How the circuit works. The op-amp is a comparator with positive feedback (a Schmitt trigger). The back-to-back zeners clamp the output to ( = 1 K takes up the rest of the ±12 V swing). The divider – feeds back charges through towards ±8 V. When reaches the threshold +0.2 V (or −0.2 V), the output flips.
Period. Charging from −0.2 V towards +8 V until +0.2 V:
The output is a square wave of ±8 V at 1 kHz; is an almost linear triangle between ±0.2 V (only 2.5% of the swing is used).
(ii) Duty cycle 0.25 at the same frequency. The high time and the low time are set by separate charging resistors and : For ms and ms: Replace by two branches in parallel: 50 kΩ in series with (conducts when is positive) and 150 kΩ in series with (conducts when is negative).
The diode drop (about 0.6 V) slightly reduces the charging voltage; trimming and down by about 7% restores 1 kHz exactly.
✓ Checked by computer We computed the thresholds, the period and the new resistor values in code.
Explain the working of the given OPAMP circuit. Draw the output waveforms at points and showing the time and voltage. Given that, , , the power supply voltage to OPAMPs is ±12 V and :
Suggest to replace suitable resistances so that the output voltages at and are having swing of ±6 V and the output frequency is fixed to 500 Hz.
Solution
How it works.
with , is a non-inverting Schmitt trigger (comparator with positive feedback). Its output, through , is clamped by the back-to-back zeners to a square wave at D of V.
is an integrator: a constant ±4 V at D makes its output A ramp linearly. A is a triangle.
A is fed back through to node F. switches when crosses 0, that is when
is a non-inverting amplifier of gain (we read as the feedback resistor and as the resistor to ground), so B is the square wave amplified.
Waveforms with all resistors 2 kΩ.
- D: square, ±4 V.
- A: triangle, ±4 V peak (since ). While D = +4 V, A falls at V/ms.
- B: square, V, in phase with D.
Frequency. A must travel V in each half period:
Changes for ±6 V at A and B and 500 Hz (keeping μF):
- Triangle amplitude : keep kΩ, make kΩ.
- Frequency Hz .
- B: gain : kΩ, kΩ.
(The integrator input current becomes 4 V/333 Ω = 12 mA, which a general-purpose op-amp can just supply; a smaller with a larger would be kinder to it.)
✓ Checked by computer We checked the thresholds, frequency and the new values in code.
Determine the feedback fraction and the operating frequency for the oscillator circuit shown in Figure 6(c).
Solution
Tank. is in parallel with and in series (their junction is grounded):
Operating frequency.
Feedback fraction. The output (collector) voltage appears across ; the voltage fed back to the base appears across . The same circulating current flows in both, so The amplifier must therefore have a gain of at least . (The 100 μH RFC and the 100 pF coupling capacitors have negligible effect at 52.8 MHz.)
✓ Checked by computer We computed the frequency and feedback fraction in code.
Find the average voltage at the point in the circuit given in Fig. 4(c):
Solution
How it works. This is an inverting comparator with positive feedback (a Schmitt trigger) whose feedback voltage is set by the zener:
- Output high (): the zener is reverse biased and holds the + input at V.
- Output low (): the zener is forward biased with , so the + input is at 0 V.
So the thresholds are V and V. With ideal ±15 V supplies, V.
Switching instants for :
- Output high; it goes low when exceeds 2.5 V: .
- Output low; it goes high when falls below 0: .
So the output is low from 30° to 180° (150°) and high from 180° to 390° (210°).
Average output voltage. (With a practical saturation of ±13.5 V the average is 2.25 V.)
✓ Checked by computer We traced the switching points and the average in code.
(i) Draw the circuit diagram of Wien bridge oscillator using OP-AMP. (ii) Find the value of R to get a sustained oscillation of 1115 Hz. Assume that the value of the capacitor is .
Solution
(i) Circuit. An op-amp non-inverting amplifier with gain ; positive feedback through the Wien network (series R–C from the output to the + input, parallel R–C from the + input to ground).
The Wien network gives zero phase shift and at , so the amplifier needs a gain of 3: (slightly more to start oscillation).
(ii) R for 1115 Hz.
✓ Checked by computer We computed R in code.
Figure shows a sinusoidal oscillator. By an appropriate analysis, determine the condition of oscillation and frequency of oscillation in terms of circuit elements assuming ideal op-amps.
Solution
Each of the first two stages (input through to −, through to +, from + to ground, feedback ). The op-amp gives , and : This is an all-pass section: and .
Third stage: an inverting amplifier, gain (phase 180°).
Loop gain.
Barkhausen conditions.
Phase: , with . Then :
Magnitude: , so .
Condition of oscillation: (in practice slightly larger to start, with some amplitude limiting). The all-pass stages make the amplitude condition independent of frequency, which is why this circuit can be tuned easily.
✓ Derivation checked step by step We derived the loop gain symbolically and checked the phase condition in code.
Explain the operation of the given circuit by sketching relevant waveforms assuming that positive and negative saturation levels of output voltage of the op-amp comparator are and respectively and are not equal. Determine an expression for the frequency of the generated output voltage.
Solution
How it works. The op-amp is a comparator with positive feedback through , : charges through towards whichever saturation level the output is at. When reaches a threshold the output flips, and starts charging the other way. is an asymmetrical square wave; is an exponential “triangle” between and .
Charging up (output at , from to ):
Charging down (output at ):
Frequency. For equal levels this reduces to the familiar . Unequal levels make , so the duty cycle is no longer 50%.
✓ Derivation checked step by step We checked the charging-time expressions step by step.
Using an OP-AMP, several capacitors of 0.1 μF and number of resistances of your choice, design a phase-shift oscillator to oscillate at 100 Hz.
Solution
Design. An inverting op-amp amplifier followed by a three-section RC network (series C, shunt R) fed back to its input. The network gives 180° and at
Resistor R with μF and Hz:
Gain. . The input resistor of the inverting amplifier serves as the third shunt R (its right end is at virtual ground), so kΩ and (use about 200 kΩ, or a 220 kΩ pot, to make sure oscillations start).
✓ Checked by computer We computed the design values in code.
Using an opamp and RC network, explain the working of a Wien bridge oscillator. For a frequency of 1 kHz, design a Wien bridge oscillator.
Solution
Working. The op-amp is a non-inverting amplifier of gain . The Wien network (series RC from output to + input, parallel RC from + input to ground) is the frequency-selective positive feedback. Its transfer is which is real (zero phase) and equal to 1/3 only at . Barkhausen’s conditions then require the amplifier gain to be 3. At start-up the gain is made slightly above 3; an amplitude-limiting element (diodes or a thermistor in ) brings it back to 3 so that the sine wave is not clipped.
Design for 1 kHz. Choose μF: Gain 3: kΩ, kΩ (a 22 kΩ pot to adjust).
✓ Checked by computer We computed the component values in code.
Derive the condition of oscillation and the expression for the frequency of oscillations for the circuit shown. (Use mesh analysis and Barkhausen’s criteria). Draw actual oscillator circuit with one operational amplifier and minimum number of RC elements.
Solution
Network equations. The amplifier output V drives the ladder from the right: three series capacitors C, each followed by a shunt resistor R; the voltage fed back is across the left-most R. With and the three mesh (or node) equations, the transfer function of the C–R ladder is Writing :
Barkhausen’s criterion. The amplifier is inverting (180°), so the network must also give 180°: β must be real. At this frequency
Condition of oscillation: , i.e. an inverting gain of at least 29.
Actual circuit with one op-amp and the minimum number of RC elements: an inverting amplifier with , whose input resistor R is the third shunt resistor of the ladder (its end is at virtual ground). Only three capacitors and two other resistors are needed:
✓ Derivation checked step by step We solved the ladder equations symbolically in code.
Explain with the help of neat diagram, the operation of a Schmitt trigger employing OP-AMP.
Solution
Circuit. The input goes to the inverting terminal; the output is fed back to the non-inverting terminal through the divider , (positive feedback).
Operation.
- The + input sits at with . Because of the positive feedback the op-amp is always saturated: .
- With the threshold is . As rises past , becomes negative and the output snaps to (the positive feedback makes the change regenerative and very fast).
- Now the threshold is . The output stays low until falls below , then snaps back high.
Hysteresis. The two thresholds differ by
Uses. Squaring a slowly varying or noisy signal without false multiple switching (noise smaller than is ignored); level detection; as the switching element in square/triangle wave generators.
✓ Answer checked step by step We checked the thresholds and the hysteresis loop against standard texts.
Discuss the criteria for a circuit to oscillate. Explain the operation of a phase shift oscillator and derive an expression for the frequency of oscillation of an RC phase shift oscillator.
Solution
Criteria for oscillation (Barkhausen). A feedback amplifier with gain A and feedback fraction β gives for positive feedback. It produces an output with no input when
- (the loop gain magnitude is unity; slightly more than 1 at start-up), and
- or (the signal returns in phase).
Oscillations start from noise, grow while , and settle when non-linearity reduces the loop gain to exactly 1.
RC phase-shift oscillator. An inverting amplifier (180°) followed by three RC sections that together give another 180° at one frequency. Each section alone gives less than 90°, so three are needed.
Derivation. For the ladder of three series capacitors C and shunt resistors R (the last R being the amplifier input resistance), the node equations give For β to be real (180°): : So the amplifier gain must be at least 29 in magnitude. (A typical circuit is drawn with Q 10 above.)
✓ Derivation checked step by step We checked the derivation step by step.
Obtain the conditions under which the circuit below produced oscillations.
What is the frequency of oscillations?
Solution
Feedback network. (series arm, output to node P) and (parallel arm, P to ground):
Amplifier. (output to Q) and (Q to ground) make a non-inverting amplifier: , in phase.
Conditions (Barkhausen).
Phase: β must be real, :
Magnitude: at , so , i.e. With exactly the oscillation is sustained; slightly larger is needed to start it.
✓ Derivation checked step by step We checked the Wien network transfer function symbolically.
The simplified circuit of a radio oscillator is shown in Fig. above. Draw its equivalent circuit and obtain the condition of oscillation. Obtain the frequency of oscillation and the value of required for the oscillation in the case of Hartley oscillator.
Solution
Equivalent circuit. With the h-parameter model (neglecting and ): between base and emitter, a current source from collector to emitter. is from collector to base, from collector to ground and from base to ground (we read the blurred labels this way).
Node equations (): Eliminating , a non-zero solution needs
Condition of oscillation with pure reactances :
- Imaginary part: → frequency.
- Real part: ; with this gives and must be of the same kind (both inductive or both capacitive), and of the other kind.
Hartley oscillator: , inductors (, , mutual inductance M), a capacitor C. (Without mutual coupling, .) For a Colpitts oscillator the roles are swapped: , .
✓ Derivation checked step by step We derived the condition symbolically and checked it numerically for a Hartley example.
Explain the operation of colpitts oscillator. A colpitts oscillator has a tank circuit as shown in the above figure. Calculate its frequency of oscillation. What should be the minimum gain of the amplifier for the oscillations to start?
Solution
Operation of the Colpitts oscillator. A transistor amplifier whose load is a tank: an inductor L in parallel with two capacitors in series, with their junction grounded. The voltage across one capacitor is the output and the voltage across the other is fed back. Because the two capacitor voltages are 180° apart with respect to the grounded junction, the tank provides 180°; with the 180° of a CE stage, the loop phase is 360°. The tank selects the frequency at which its reactance is resistive.
Frequency.
Minimum gain. With the output across the 0.001 μF and the feedback taken across the 0.01 μF:
✓ Checked by computer We computed the frequency in code.
Draw the circuit diagram of an R-C phase shift oscillator using a transistor with CE configuration and derive an expression for its frequency of oscillation. Prove that
Solution
Circuit. A CE amplifier (collector load ) with three equal RC sections from collector back to base. The third R is made , so that with the transistor input resistance it equals R.
Equivalent circuit. The collector is a current source in parallel with ; as a Thévenin source, in series with . The base current is the current in the third mesh. With :
Determinant = 0. Putting and and expanding:
Imaginary part zero:
Real part zero at that frequency: This is the required result (the printed should read ; the circuit has only one value R). The minimum of this expression is at , giving .
✓ Derivation checked step by step We solved the three-mesh determinant symbolically in code and recovered both results.
The input in the circuit of Fig. 5d is volt with t in sec, Sketch and label important points.
Solution
Note. The input polarity marks are not legible. We take the arrangement as drawn, a regenerative comparator: on the inverting input and the 1 kΩ/3 kΩ divider feeding the non-inverting input. The saturation level is not given.
Thresholds.
Behaviour.
- If V ( V), the output switches: it goes to when rises through and back to when falls through . is a 1 kHz square wave, lagging the sine.
- If V (e.g. ±12 V supplies), the thresholds lie outside ±1.5 V and the output stays at whichever level it started in.
Example with V: thresholds ±1 V. , ms; the output goes high again at , ms.
✓ Checked by computer We traced the switching in code for an example saturation level.
More on Analog Electronics
- All Electrical Engineering PYQ solutions, topic by topic
- Analog Electronics topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 1996–2025. Solutions: Optional Province. Found an error? Tell us.

