IAE Academy

GATE 2023 IN Q.60: solution and answer

GATE 2023 · INQ.60 · 2 marks · NAT

In the circuit shown, the input voltage . The switch and the opamp are ideal. At time , the initial charge stored in the capacitor is , with the polarity as indicated in the figure. The switch S is controlled using a square-wave voltage signal as shown. Whenever is 'High', S is in position '1' and when is 'Low', S is in position '2'.

At , the magnitude of the voltage will be ________ mV (rounded off to the nearest integer).

GATE 2023 IN question 60: Switched-capacitor integrator.Tap to open full size
Figure from the GATE 2023 IN paper. It is part of the question.
Figure description

Switched-capacitor integrator. A single-pole double-throw switch S has its common (moving) terminal connected to the top plate of a 1 nF capacitor whose bottom plate is grounded. Throw '1' of S connects to the input terminal V_in; throw '2' connects to the inverting (−) input of an op-amp. A 10 nF capacitor is connected from the inverting input to the op-amp output V_o, with its polarity marked '−' on the inverting-input side (left plate) and '+' on the output side (right plate). The non-inverting (+) input of the op-amp is grounded. No other components. A curved arrow from the control waveform to the switch indicates V_s drives S. Control waveform V_s: a square wave between levels 'Low' and 'High', starting at t = 0 (dashed vertical line) in the High state, then Low, High, Low, High, Low (equal half-periods); frequency 1 kHz.

Answer and solution

ANSWER

, so the magnitude of is .

Official answer: 99 to 101Source: Official answer key, GATE 2023 IN (IIT Kanpur)

  1. Assumptions. Ideal op-amp: infinite gain, no input current, and the output stays in its linear range (it only swings about here). Ideal switch and ideal source: the 1 nF capacitor charges or discharges instantly when S changes position. Write and .

  2. Initial output (virtual ground). The feedback capacitor holds , so . Its '+' plate is on the output side and its '−' plate on the inverting-input side. The non-inverting input is grounded, so the inverting input is a virtual ground at , which gives .

  3. Timing. . The waveform starts High at , so in every period S is at '1' for the first and at '2' for the next .

  4. Phase 1 (S at '1'). is connected straight across and charges to , with the top plate positive. Any charge held before does not matter, because the first thing that happens is this connection to . During this phase is not connected to the op-amp, so holds its value.

  5. Phase 2 (S at '2'). The top plate of is now tied to the virtual ground at , so discharges completely. Its flows into the inverting node. The op-amp draws no input current, so all of this charge lands on the inverting-input ('−') plate of .

  6. Change per period (charge conservation at the inverting node). Adding to the '−' plate, which carried , leaves on it. So every transfer lowers the output by

  7. Count the transfers. With an ideal switch, each transfer happens the moment S moves to '2', at . That is transfers by . At S moves back to '1', which disconnects from the op-amp and leaves unchanged.

  8. Result. The magnitude is .

  9. Check with the equivalent resistor. A switched capacitor behaves like . The average input current is , which delivers in (exactly 20 whole periods). So and , which agrees.

KEY IDEA

This circuit is a switched-capacitor inverting integrator. In every clock period the 1 nF capacitor picks up from the input and dumps it at the virtual ground, onto the feedback capacitor, so the output steps by each period. The 1 nC starting charge fixes the starting point: because the inverting input is a virtual ground, . After 20 periods, .

WATCH OUT FOR

1. Ignoring the 1 nC initial charge. That gives .
2. Reading the polarity backwards, so . That gives , a magnitude of .
3. Treating the stage as non-inverting and adding the steps: .
4. Counting 19 or 40 transfers instead of 20. There is exactly one charge transfer per 1 ms period, at each High-to-Low edge.

From the GATE 2023 IN paper. Every question of this paper · Download the full paper · All 36 Op-amps questions, with notes

More Op-amps questions