---
title: "Dual slope ADC: RC independence, noise immunity"
subject: "Advanced Electronics"
chapter: 3
key: "semester_4/advanced_electronics:dual-slope-rc-noise-immune"
source: https://www.bctengineer.com/q/semester_4/advanced_electronics/dual-slope-rc-noise-immune
site: BCT Engineering
---

# Dual slope ADC: RC independence, noise immunity

Advanced Electronics · Chapter 3: Digital-to-Analog and Analog-to-Digital Conversion

- Asked in: 2070 Chaitra, 4+3 marks
- Video: [Dual Slope ADC: Basics, Structure, Working, Output, and Conversion Time](https://www.youtube.com/watch?v=wkQPFUHrrWA) — Engineering Funda
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_4/advanced_electronics/dual-slope-rc-noise-immune
- Whole chapter: https://www.bctengineer.com/md/semester_4/advanced_electronics/chapter-3

## Question

Explain the working principle of a dual slope ADC and prove that its output is independent of RC time constant. Justify that the converter is inherently noise immune.

## Short answer

In dual-slope ADC, the counter output N2 = N1 * Vin / Vref because the charge balance Vin·T1/RC = Vref·T2/RC cancels RC. It is noise-immune because it averages the input over T1, and if T1 is a multiple of the mains period, power-line interference integrates to zero.

## Answer

A dual slope ADC converts a voltage into a time interval by integrating twice: first the input for a fixed time, then a reference until the integrator returns to zero. The second time, measured by a counter, is the digital output.

#### Block diagram
```text
 Vin  --o S1                  C
 -Vref--o--+--[R]--+---------||-------+
                   |                  |
                  (-)\                |
                      >---------------+-- Vo1
                  (+)/                    |
                   |                 [COMPARATOR]
                  GND                (zero detect)
                                          |
  CLOCK --> [ n-bit COUNTER ] <--> [ CONTROL LOGIC ]
                 |                       |
            digital output         controls S1, reset
```

#### Working principle
1. **Reset:** the counter is cleared and C is discharged.
2. **Phase 1 (fixed time T1):** S1 connects Vin. The integrator ramps while the counter counts N1 = 2ⁿ fixed pulses, so T1 = N1·Tclk.

```text
Vo1(T1) = −(1/RC) ∫₀^T1 Vin dt = −Vin·T1/RC
```

3. **Phase 2 (variable time T2):** at counter overflow S1 switches to −Vref. The output ramps back with a fixed slope Vref/RC. The counter restarts from zero.
4. When Vo1 crosses zero, the comparator stops the counter. The count N2 is the result.

```text
 |Vo1|
   |     /\
   |    /  \           up-slope ∝ Vin
   |   /    \          down-slope ∝ Vref (fixed)
   |  /      \
   |_/________\______ t
     |<-T1 ->|<-T2->|
```

#### Proof that output is independent of RC
The charge gained in phase 1 equals the charge removed in phase 2:

```text
Vin·T1 / RC = Vref·T2 / RC
```

RC is on both sides and cancels:

```text
T2 = T1 · Vin/Vref
N2·Tclk = N1·Tclk · Vin/Vref
N2 = N1 · Vin / Vref
```

The result has no R, no C and not even the clock period. It depends only on Vin/Vref and the fixed count N1. Slow drift in R, C or clock frequency therefore does not cause error, as long as it stays the same during one conversion.

#### Why it is inherently noise immune
- The converter measures the **average** of Vin over T1, not an instant value: N2 ∝ (1/T1)∫Vin dt.
- Random noise has zero average, so integration removes most of it.
- If T1 is an exact multiple of the mains period (for example 20 ms for 50 Hz), any 50 Hz hum and its harmonics integrate to exactly zero:

```text
∫₀^T1 Vm sin(2π·50t) dt = 0   when T1 = k × 20 ms
```

So power-line interference is rejected completely. This is why dual slope ADCs are used in digital multimeters and panel meters.

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. Why is the output independent of RC?
   A. RC appears in both Vin T1/RC and Vref T2/RC and cancels
   B. RC is made zero
   C. The comparator removes RC
   D. The clock sets RC
   Answer: A. This leaves N2 = N1 Vin/Vref. (Key point: RC independence)

2. Why does the clock frequency not matter either?
   A. It is crystal controlled
   B. The same clock times both phases, so the period cancels
   C. Counts are not clocked
   D. It is measured separately
   Answer: B. N2 Tclk = N1 Tclk Vin/Vref. (Key point: Clock)

3. Why is it noise immune?
   A. It uses a fast comparator
   B. It amplifies noise
   C. It measures the average of Vin over T1, and random noise averages to near zero
   D. It samples one instant
   Answer: C. N2 is proportional to (1/T1) times the integral of Vin. (Key point: Averaging)

4. Hum at 50 Hz is rejected when T1 is:
   A. Half of 20 ms
   B. 1 ms
   C. Any value
   D. An exact multiple of 20 ms
   Answer: D. A sine over whole periods integrates to zero. (Key point: Mains rejection)

## Related in Advanced Electronics

- [Dual slope ADC working; why accurate](https://www.bctengineer.com/question.md?key=semester_4%2Fadvanced_electronics%3Adual-slope-adc-accurate) — Advanced Electronics, chapter 3, asked 3×
- [Dual slope ADC; why quad slope is more accurate](https://www.bctengineer.com/question.md?key=semester_4%2Fadvanced_electronics%3Adual-slope-quad-slope) — Advanced Electronics, chapter 3
- [Dual slope ADC block diagram; integral linearity](https://www.bctengineer.com/question.md?key=semester_4%2Fadvanced_electronics%3Adual-slope-integral-linearity) — Advanced Electronics, chapter 3
- [Dual slope ADC numerical (12 kHz clock)](https://www.bctengineer.com/question.md?key=semester_4%2Fadvanced_electronics%3Adual-slope-numerical-12khz) — Advanced Electronics, chapter 3
- [Sigma-delta applications; 8-bit dual slope numerical](https://www.bctengineer.com/question.md?key=semester_4%2Fadvanced_electronics%3Asigma-delta-dual-slope-numerical) — Advanced Electronics, chapter 3

## Related in other subjects

- [Moments of random variable; NEB of RC-LPF; output noise power](https://www.bctengineer.com/question.md?key=semester_6%2Fcommunication_systems%3Amoments-neb-rc-lpf) — Communication Systems, chapter 9
- [Cyclotron working; semicircle time constant](https://www.bctengineer.com/question.md?key=semester_1%2Fengineering_physics%3Acyclotron-time-semicircle-independent) — Engineering Physics, chapter 8, asked 2×
- [Noise and two-wire to four-wire converter](https://www.bctengineer.com/question.md?key=semester_8%2Ftelecommunications%3Anoise-two-four-wire-converter) — Telecommunications, chapter 2
- [Dual slope and flash A/D conversion](https://www.bctengineer.com/question.md?key=semester_4%2Finstrumentation_i%3Adual-slope-flash-adc) — Instrumentation I, chapter 5
