Introduction to filters Consider v ( t ) = v 1 ( t ) + v 2 ( t ) = V - - PowerPoint PPT Presentation

introduction to filters
SMART_READER_LITE
LIVE PREVIEW

Introduction to filters Consider v ( t ) = v 1 ( t ) + v 2 ( t ) = V - - PowerPoint PPT Presentation

Introduction to filters Consider v ( t ) = v 1 ( t ) + v 2 ( t ) = V m 1 sin 1 t + V m 2 sin 2 t . 1 v 1 v v 2 0 1 0 5 10 15 20 0 5 10 15 20 t (msec) t (msec) Introduction to filters Consider v ( t ) = v 1 ( t ) + v 2 ( t )


slide-1
SLIDE 1

Introduction to filters

Consider v(t) = v1(t) + v2(t) = Vm1 sin ω1t + Vm2 sin ω2t .

−1 1 5 10 15 20 0 5 10 15 20 t (msec) t (msec)

v2 v1 v

slide-2
SLIDE 2

Introduction to filters

Consider v(t) = v1(t) + v2(t) = Vm1 sin ω1t + Vm2 sin ω2t .

−1 1 5 10 15 20 0 5 10 15 20 t (msec) t (msec)

v2 v1 v LPF vo = v1 v

A low-pass filter with a cut-off frequency ω1 < ωc < ω2 will pass the low-frequency component v1(t) and remove the high-frequency component v2(t).

slide-3
SLIDE 3

Introduction to filters

Consider v(t) = v1(t) + v2(t) = Vm1 sin ω1t + Vm2 sin ω2t .

−1 1 5 10 15 20 0 5 10 15 20 t (msec) t (msec)

v2 v1 v LPF vo = v1 v HPF v vo = v2

A low-pass filter with a cut-off frequency ω1 < ωc < ω2 will pass the low-frequency component v1(t) and remove the high-frequency component v2(t). A high-pass filter with a cut-off frequency ω1 < ωc < ω2 will pass the high-frequency component v2(t) and remove the low-frequency component v1(t).

  • M. B. Patil, IIT Bombay
slide-4
SLIDE 4

Introduction to filters

Consider v(t) = v1(t) + v2(t) = Vm1 sin ω1t + Vm2 sin ω2t .

−1 1 5 10 15 20 0 5 10 15 20 t (msec) t (msec)

v2 v1 v LPF vo = v1 v HPF v vo = v2

A low-pass filter with a cut-off frequency ω1 < ωc < ω2 will pass the low-frequency component v1(t) and remove the high-frequency component v2(t). A high-pass filter with a cut-off frequency ω1 < ωc < ω2 will pass the high-frequency component v2(t) and remove the low-frequency component v1(t). There are some other types of filters, as we will see.

  • M. B. Patil, IIT Bombay
slide-5
SLIDE 5

Ideal low-pass filter

1

ωc ω vo(t) H(jω) H(jω) vi(t)

Vo(jω) = H(jω) Vi(jω) .

slide-6
SLIDE 6

Ideal low-pass filter

1

ωc ω vo(t) H(jω) H(jω) vi(t)

LPF

ωc ωc ω ω Vi(jω) Vo(jω)

Vo(jω) = H(jω) Vi(jω) .

  • M. B. Patil, IIT Bombay
slide-7
SLIDE 7

Ideal low-pass filter

1

ωc ω vo(t) H(jω) H(jω) vi(t)

LPF

ωc ωc ω ω Vi(jω) Vo(jω)

Vo(jω) = H(jω) Vi(jω) . All components with ω < ωc appear at the output without attenuation. All components with ω > ωc get eliminated. (Note that the ideal low-pass filter has ∠H(jω) = 1, i.e., H(jω) = 1 + j0 .)

  • M. B. Patil, IIT Bombay
slide-8
SLIDE 8

Ideal filters

1 Low−pass

ωc ω H(jω)

slide-9
SLIDE 9

Ideal filters

1 Low−pass

ωc ω H(jω)

1 High−pass

ωc ω H(jω)

slide-10
SLIDE 10

Ideal filters

1 Low−pass

ωc ω H(jω)

1 High−pass

ωc ω H(jω)

1 Band−pass

ωL ωH ω H(jω)

slide-11
SLIDE 11

Ideal filters

1 Low−pass

ωc ω H(jω)

1 High−pass

ωc ω H(jω)

1 Band−pass

ωL ωH ω H(jω)

1 Band−reject

ωL ωH ω H(jω)

  • M. B. Patil, IIT Bombay
slide-12
SLIDE 12

Ideal low-pass filter: example

1 −1 1.5 −1.5 1 Filter transfer function Filter output 1 −1 5 10 15 20 t (msec) f (kHz) t (msec) 5 10 15 20 0.5 1 1.5 2 2.5

v v3 v2 v1 H(jω)

  • M. B. Patil, IIT Bombay
slide-13
SLIDE 13

Ideal high-pass filter: example

1 −1 1.5 −1.5 Filter transfer function Filter output 1 −1 1 5 10 15 20 t (msec) f (kHz) t (msec) 5 10 15 20 0.5 1 1.5 2 2.5

v v3 v2 v1 H(jω)

  • M. B. Patil, IIT Bombay
slide-14
SLIDE 14

Ideal band-pass filter: example

1 −1 1 −1 1.5 −1.5 Filter transfer function Filter output 1 5 10 15 20 t (msec) f (kHz) t (msec) 5 10 15 20 0.5 1 1.5 2 2.5

v v3 v2 v1 H(jω)

  • M. B. Patil, IIT Bombay
slide-15
SLIDE 15

Ideal band-reject filter: example

1.5 −1.5 1 1 −1 1.5 −1.5 Filter transfer function Filter output 5 10 15 20 t (msec) f (kHz) t (msec) 5 10 15 20 0.5 1 1.5 2 2.5

v H(jω) v3 v2 v1

  • M. B. Patil, IIT Bombay
slide-16
SLIDE 16

Practical filter circuits

* In practical filter circuits, the ideal filter response is approximated with a suitable H(jω) that can be obtained with circuit elements. For example, H(s) = 1 a5s5 + a4s4 + a3s3 + a2s2 + a1s + a0 represents a 5th-order low-pass filter.

  • M. B. Patil, IIT Bombay
slide-17
SLIDE 17

Practical filter circuits

* In practical filter circuits, the ideal filter response is approximated with a suitable H(jω) that can be obtained with circuit elements. For example, H(s) = 1 a5s5 + a4s4 + a3s3 + a2s2 + a1s + a0 represents a 5th-order low-pass filter. * Some commonly used approximations (polynomials) are the Butterworth, Chebyshev, Bessel, and elliptic functions.

  • M. B. Patil, IIT Bombay
slide-18
SLIDE 18

Practical filter circuits

* In practical filter circuits, the ideal filter response is approximated with a suitable H(jω) that can be obtained with circuit elements. For example, H(s) = 1 a5s5 + a4s4 + a3s3 + a2s2 + a1s + a0 represents a 5th-order low-pass filter. * Some commonly used approximations (polynomials) are the Butterworth, Chebyshev, Bessel, and elliptic functions. * Coefficients for these filters are listed in filter handbooks. Also, programs for filter design are available on the internet.

  • M. B. Patil, IIT Bombay
slide-19
SLIDE 19

Practical filters

  • Low−pass

High−pass Practical

1 1

Ideal Practical Ideal Amax |H| ωc ω ωs ωc ω Amin |H| ω ωs ωc ω |H| Amax ωc |H| Amin

  • M. B. Patil, IIT Bombay
slide-20
SLIDE 20

Practical filters

  • Low−pass

High−pass Practical

1 1

Ideal Practical Ideal Amax |H| ωc ω ωs ωc ω Amin |H| ω ωs ωc ω |H| Amax ωc |H| Amin

* A practical filter may exhibit a ripple. Amax is called the maximum passband ripple, e.g., Amax = 1 dB.

  • M. B. Patil, IIT Bombay
slide-21
SLIDE 21

Practical filters

  • Low−pass

High−pass Practical

1 1

Ideal Practical Ideal Amax |H| ωc ω ωs ωc ω Amin |H| ω ωs ωc ω |H| Amax ωc |H| Amin

* A practical filter may exhibit a ripple. Amax is called the maximum passband ripple, e.g., Amax = 1 dB. * Amin is the minimum attenuation to be provided by the filter, e.g., Amin = 60 dB.

  • M. B. Patil, IIT Bombay
slide-22
SLIDE 22

Practical filters

  • Low−pass

High−pass Practical

1 1

Ideal Practical Ideal Amax |H| ωc ω ωs ωc ω Amin |H| ω ωs ωc ω |H| Amax ωc |H| Amin

* A practical filter may exhibit a ripple. Amax is called the maximum passband ripple, e.g., Amax = 1 dB. * Amin is the minimum attenuation to be provided by the filter, e.g., Amin = 60 dB. * ωs: edge of the stop band.

  • M. B. Patil, IIT Bombay
slide-23
SLIDE 23

Practical filters

  • Low−pass

High−pass Practical

1 1

Ideal Practical Ideal Amax |H| ωc ω ωs ωc ω Amin |H| ω ωs ωc ω |H| Amax ωc |H| Amin

* A practical filter may exhibit a ripple. Amax is called the maximum passband ripple, e.g., Amax = 1 dB. * Amin is the minimum attenuation to be provided by the filter, e.g., Amin = 60 dB. * ωs: edge of the stop band. * ωs/ωc (for a low-pass filter): selectivity factor, a measure of the sharpness of the filter.

  • M. B. Patil, IIT Bombay
slide-24
SLIDE 24

Practical filters

  • Low−pass

High−pass Practical

1 1

Ideal Practical Ideal Amax |H| ωc ω ωs ωc ω Amin |H| ω ωs ωc ω |H| Amax ωc |H| Amin

* A practical filter may exhibit a ripple. Amax is called the maximum passband ripple, e.g., Amax = 1 dB. * Amin is the minimum attenuation to be provided by the filter, e.g., Amin = 60 dB. * ωs: edge of the stop band. * ωs/ωc (for a low-pass filter): selectivity factor, a measure of the sharpness of the filter. * ωc < ω < ωs: transition band.

  • M. B. Patil, IIT Bombay
slide-25
SLIDE 25

Practical filters

For a low-pass filter, H(s) = 1

n

  • i=0

ai(s/ωc)i . Coefficients (ai) for various types of filters are tabulated in handbooks. We now look at |H(jω)| for two commonly used filters.

  • M. B. Patil, IIT Bombay
slide-26
SLIDE 26

Practical filters

For a low-pass filter, H(s) = 1

n

  • i=0

ai(s/ωc)i . Coefficients (ai) for various types of filters are tabulated in handbooks. We now look at |H(jω)| for two commonly used filters. Butterworth filters: |H(jω)| = 1

  • 1 + ǫ2(ω/ωc)2n .
  • M. B. Patil, IIT Bombay
slide-27
SLIDE 27

Practical filters

For a low-pass filter, H(s) = 1

n

  • i=0

ai(s/ωc)i . Coefficients (ai) for various types of filters are tabulated in handbooks. We now look at |H(jω)| for two commonly used filters. Butterworth filters: |H(jω)| = 1

  • 1 + ǫ2(ω/ωc)2n .

Chebyshev filters: |H(jω)| = 1

  • 1 + ǫ2C 2

n (ω/ωc)

where Cn(x) = cos

  • n cos−1(x)
  • for x ≤ 1,

Cn(x) = cosh

  • n cosh−1(x)
  • for x ≥ 1,
  • M. B. Patil, IIT Bombay
slide-28
SLIDE 28

Practical filters

For a low-pass filter, H(s) = 1

n

  • i=0

ai(s/ωc)i . Coefficients (ai) for various types of filters are tabulated in handbooks. We now look at |H(jω)| for two commonly used filters. Butterworth filters: |H(jω)| = 1

  • 1 + ǫ2(ω/ωc)2n .

Chebyshev filters: |H(jω)| = 1

  • 1 + ǫ2C 2

n (ω/ωc)

where Cn(x) = cos

  • n cos−1(x)
  • for x ≤ 1,

Cn(x) = cosh

  • n cosh−1(x)
  • for x ≥ 1,

H(s) for a high-pass filter can be obtained from H(s) of the corresponding low-pass filter by (s/ωc) → (ωc/s) .

  • M. B. Patil, IIT Bombay
slide-29
SLIDE 29

Practical filters (low-pass)

Butterworth filters: Chebyshev filters:

1 −100 1 −100 3 4 5 2 n=1 n=1 4 3 2 5 n=1 2 3 4 5 2 3 n=1 4 5 2 3 4 5 1 0.01 0.1 1 10 100 2 3 4 5 1 0.01 0.1 1 10 100

|H| (dB) ω/ωc |H| ω/ωc ω/ωc |H| ω/ωc |H| (dB) ǫ = 0.5 ǫ = 0.5

  • M. B. Patil, IIT Bombay
slide-30
SLIDE 30

Practical filters (high-pass)

Butterworth filters: Chebyshev filters:

1 −100 1 −100 n=1 2 4 5 n=1 2 3 4 5 3 n=1 2 3 4 5 n=1 2 3 4 5 0.01 0.1 1 10 100 0.01 0.1 1 10 100 1 2 3 4 1 2 3 4

ω/ωc |H| ω/ωc |H| (dB) ω/ωc |H| ω/ωc |H| (dB) ǫ = 0.5 ǫ = 0.5

  • M. B. Patil, IIT Bombay
slide-31
SLIDE 31

Passive filter example

5 µF C 100 Ω Vs Vo R

slide-32
SLIDE 32

Passive filter example

5 µF C 100 Ω Vs Vo R

(Low−pass filter)

with ω0 = 1/RC → f0 = ω0/2π = 318 Hz H(s) = (1/sC) R + (1/sC) = 1 1 + (s/ω0) ,

slide-33
SLIDE 33

Passive filter example

5 µF C 100 Ω Vs Vo R

(Low−pass filter)

with ω0 = 1/RC → f0 = ω0/2π = 318 Hz H(s) = (1/sC) R + (1/sC) = 1 1 + (s/ω0) ,

f (Hz) −60 −40 −20 20

105 104 103 102 101 |H| (dB)

(SEQUEL file: ee101 rc ac 2.sqproj)

  • M. B. Patil, IIT Bombay
slide-34
SLIDE 34

Passive filter example

Vs Vo R 100 Ω C 4 µF 0.1 mF L

slide-35
SLIDE 35

Passive filter example

Vs Vo R 100 Ω C 4 µF 0.1 mF L

(Band−pass filter)

with ω0 = 1/ √ LC → f0 = ω0/2π = 7.96 kHz H(s) = (sL) (1/sC) R + (sL) (1/sC) = s(L/R) 1 + s(L/R) + s2LC

slide-36
SLIDE 36

Passive filter example

Vs Vo R 100 Ω C 4 µF 0.1 mF L

(Band−pass filter)

with ω0 = 1/ √ LC → f0 = ω0/2π = 7.96 kHz H(s) = (sL) (1/sC) R + (sL) (1/sC) = s(L/R) 1 + s(L/R) + s2LC

−20 −40 −60 −80 f (Hz)

105 104 103 102 |H| (dB) (SEQUEL file: ee101 rlc 3.sqproj)

  • M. B. Patil, IIT Bombay
slide-37
SLIDE 37

Op-amp filters (“Active” filters)

* Op-amp filters can be designed without using inductors. This is a significant advantage since inductors are bulky and expensive. Inductors also exhibit nonlinear behaviour (arising from the core properties) which is undesirable in a filter circuit.

  • M. B. Patil, IIT Bombay
slide-38
SLIDE 38

Op-amp filters (“Active” filters)

* Op-amp filters can be designed without using inductors. This is a significant advantage since inductors are bulky and expensive. Inductors also exhibit nonlinear behaviour (arising from the core properties) which is undesirable in a filter circuit. * With op-amps, a filter circuit can be designed with a pass-band gain.

  • M. B. Patil, IIT Bombay
slide-39
SLIDE 39

Op-amp filters (“Active” filters)

* Op-amp filters can be designed without using inductors. This is a significant advantage since inductors are bulky and expensive. Inductors also exhibit nonlinear behaviour (arising from the core properties) which is undesirable in a filter circuit. * With op-amps, a filter circuit can be designed with a pass-band gain. * Op-amp filters can be easily incorporated in an integrated circuit.

  • M. B. Patil, IIT Bombay
slide-40
SLIDE 40

Op-amp filters (“Active” filters)

* Op-amp filters can be designed without using inductors. This is a significant advantage since inductors are bulky and expensive. Inductors also exhibit nonlinear behaviour (arising from the core properties) which is undesirable in a filter circuit. * With op-amps, a filter circuit can be designed with a pass-band gain. * Op-amp filters can be easily incorporated in an integrated circuit. * However, there are situations in which passive filters are still used.

  • high frequencies at which op-amps do not have sufficient gain
  • high power which op-amps cannot handle
  • M. B. Patil, IIT Bombay
slide-41
SLIDE 41

Op-amp filters: example

Vs RL C R2 R1 Vo 10 k 10 nF 1 k

slide-42
SLIDE 42

Op-amp filters: example

Vs RL C R2 R1 Vo 10 k 10 nF 1 k

Op-amp filters are designed for op-amp operation in the linear region → Our analysis of the inverting amplifier applies, and we get, Vo = − R2 (1/sC) R1 Vs (Vs and Vo are phasors) H(s) = − R2 R1 1 1 + sR2C

slide-43
SLIDE 43

Op-amp filters: example

Vs RL C R2 R1 Vo 10 k 10 nF 1 k

Op-amp filters are designed for op-amp operation in the linear region → Our analysis of the inverting amplifier applies, and we get, Vo = − R2 (1/sC) R1 Vs (Vs and Vo are phasors) H(s) = − R2 R1 1 1 + sR2C This is a low-pass filter, with ω0 = 1/R2C (i.e., f0 = ω0/2π = 1.59 kHz).

slide-44
SLIDE 44

Op-amp filters: example

Vs RL C R2 R1 Vo 10 k 10 nF 1 k

f (Hz) 20 −20

105 104 103 102 101 |H| (dB)

Op-amp filters are designed for op-amp operation in the linear region → Our analysis of the inverting amplifier applies, and we get, Vo = − R2 (1/sC) R1 Vs (Vs and Vo are phasors) H(s) = − R2 R1 1 1 + sR2C This is a low-pass filter, with ω0 = 1/R2C (i.e., f0 = ω0/2π = 1.59 kHz).

slide-45
SLIDE 45

Op-amp filters: example

Vs RL C R2 R1 Vo 10 k 10 nF 1 k

f (Hz) 20 −20

105 104 103 102 101 |H| (dB)

Op-amp filters are designed for op-amp operation in the linear region → Our analysis of the inverting amplifier applies, and we get, Vo = − R2 (1/sC) R1 Vs (Vs and Vo are phasors) H(s) = − R2 R1 1 1 + sR2C This is a low-pass filter, with ω0 = 1/R2C (i.e., f0 = ω0/2π = 1.59 kHz). (SEQUEL file: ee101 op filter 1.sqproj)

  • M. B. Patil, IIT Bombay
slide-46
SLIDE 46

Op-amp filters: example

Vs RL C R2 R1 Vo 1 k 100 nF 10 k

slide-47
SLIDE 47

Op-amp filters: example

Vs RL C R2 R1 Vo 1 k 100 nF 10 k

H(s) = − R2 R1 + (1/sC) = − sR2C 1 + sR1C .

slide-48
SLIDE 48

Op-amp filters: example

Vs RL C R2 R1 Vo 1 k 100 nF 10 k

H(s) = − R2 R1 + (1/sC) = − sR2C 1 + sR1C . This is a high-pass filter, with ω0 = 1/R1C (i.e., f0 = ω0/2π = 1.59 kHz).

slide-49
SLIDE 49

Op-amp filters: example

Vs RL C R2 R1 Vo 1 k 100 nF 10 k

f (Hz) 20 −20 −40

105 104 103 102 101 |H| (dB)

H(s) = − R2 R1 + (1/sC) = − sR2C 1 + sR1C . This is a high-pass filter, with ω0 = 1/R1C (i.e., f0 = ω0/2π = 1.59 kHz).

slide-50
SLIDE 50

Op-amp filters: example

Vs RL C R2 R1 Vo 1 k 100 nF 10 k

f (Hz) 20 −20 −40

105 104 103 102 101 |H| (dB)

H(s) = − R2 R1 + (1/sC) = − sR2C 1 + sR1C . This is a high-pass filter, with ω0 = 1/R1C (i.e., f0 = ω0/2π = 1.59 kHz). (SEQUEL file: ee101 op filter 2.sqproj)

  • M. B. Patil, IIT Bombay
slide-51
SLIDE 51

Op-amp filters: example

Vs RL C1 R2 R1 Vo 100 k 10 k 0.8 µF C2 80 pF

slide-52
SLIDE 52

Op-amp filters: example

Vs RL C1 R2 R1 Vo 100 k 10 k 0.8 µF C2 80 pF

H(s) = − R2 (1/sC2) R1 + (1/sC1) = − R2 R1 sR1C1 (1 + sR1C1)(1 + sR2C2) .

slide-53
SLIDE 53

Op-amp filters: example

Vs RL C1 R2 R1 Vo 100 k 10 k 0.8 µF C2 80 pF

H(s) = − R2 (1/sC2) R1 + (1/sC1) = − R2 R1 sR1C1 (1 + sR1C1)(1 + sR2C2) . This is a band-pass filter, with ωL = 1/R1C1 and ωH = 1/R2C2 . → fL = 20 Hz, fH = 20 kHz.

slide-54
SLIDE 54

Op-amp filters: example

Vs RL C1 R2 R1 Vo 100 k 10 k 0.8 µF C2 80 pF

f (Hz) 20

100 102 104 106 |H| (dB)

H(s) = − R2 (1/sC2) R1 + (1/sC1) = − R2 R1 sR1C1 (1 + sR1C1)(1 + sR2C2) . This is a band-pass filter, with ωL = 1/R1C1 and ωH = 1/R2C2 . → fL = 20 Hz, fH = 20 kHz.

slide-55
SLIDE 55

Op-amp filters: example

Vs RL C1 R2 R1 Vo 100 k 10 k 0.8 µF C2 80 pF

f (Hz) 20

100 102 104 106 |H| (dB)

H(s) = − R2 (1/sC2) R1 + (1/sC1) = − R2 R1 sR1C1 (1 + sR1C1)(1 + sR2C2) . This is a band-pass filter, with ωL = 1/R1C1 and ωH = 1/R2C2 . → fL = 20 Hz, fH = 20 kHz. (SEQUEL file: ee101 op filter 3.sqproj)

  • M. B. Patil, IIT Bombay
slide-56
SLIDE 56

Graphic equalizer

f (Hz) (Ref.: S. Franco, "Design with Op Amps and analog ICs") 20 −20 R2 C1 a 1−a R3A R3B R1A R1B C2 a=0.9 0.7 0.5 0.3 0.1

Vs RL Vo 105 104 103 102 101 R3A = R3B = 100 kΩ R1A = R1B = 470 Ω R2 = 10 kΩ C1 = 100 nF C2 = 10 nF |H| (dB)

  • M. B. Patil, IIT Bombay
slide-57
SLIDE 57

Graphic equalizer

f (Hz) (Ref.: S. Franco, "Design with Op Amps and analog ICs") 20 −20 R2 C1 a 1−a R3A R3B R1A R1B C2 a=0.9 0.7 0.5 0.3 0.1

Vs RL Vo 105 104 103 102 101 R3A = R3B = 100 kΩ R1A = R1B = 470 Ω R2 = 10 kΩ C1 = 100 nF C2 = 10 nF |H| (dB)

* Equalizers are implemented as arrays of narrow-band filters, each with an adjustable gain (attenuation) around a centre frequency.

  • M. B. Patil, IIT Bombay
slide-58
SLIDE 58

Graphic equalizer

f (Hz) (Ref.: S. Franco, "Design with Op Amps and analog ICs") 20 −20 R2 C1 a 1−a R3A R3B R1A R1B C2 a=0.9 0.7 0.5 0.3 0.1

Vs RL Vo 105 104 103 102 101 R3A = R3B = 100 kΩ R1A = R1B = 470 Ω R2 = 10 kΩ C1 = 100 nF C2 = 10 nF |H| (dB)

* Equalizers are implemented as arrays of narrow-band filters, each with an adjustable gain (attenuation) around a centre frequency. * The circuit shown above represents one of the equalizer sections. (SEQUEL file: ee101 op filter 4.sqproj)

  • M. B. Patil, IIT Bombay
slide-59
SLIDE 59
  • M. B. Patil, IIT Bombay
slide-60
SLIDE 60

Sallen-Key filter example (2nd order, low-pass)

f (Hz) 40 20 −20 −40 −60 C1 RB R1 R2 C2 RA (Ref.: S. Franco, "Design with Op Amps and analog ICs")

RL V1 Vs Vo 105 104 103 102 101 |H| (dB) R1 = R2 = 15.8 kΩ C1 = C2 = 10 nF RA = 10 kΩ, RB = 17.8 kΩ

  • M. B. Patil, IIT Bombay
slide-61
SLIDE 61

Sallen-Key filter example (2nd order, low-pass)

f (Hz) 40 20 −20 −40 −60 C1 RB R1 R2 C2 RA (Ref.: S. Franco, "Design with Op Amps and analog ICs")

RL V1 Vs Vo 105 104 103 102 101 |H| (dB) R1 = R2 = 15.8 kΩ C1 = C2 = 10 nF RA = 10 kΩ, RB = 17.8 kΩ V+ = V− = Vo RA RA + RB ≡ Vo/K .

  • M. B. Patil, IIT Bombay
slide-62
SLIDE 62

Sallen-Key filter example (2nd order, low-pass)

f (Hz) 40 20 −20 −40 −60 C1 RB R1 R2 C2 RA (Ref.: S. Franco, "Design with Op Amps and analog ICs")

RL V1 Vs Vo 105 104 103 102 101 |H| (dB) R1 = R2 = 15.8 kΩ C1 = C2 = 10 nF RA = 10 kΩ, RB = 17.8 kΩ V+ = V− = Vo RA RA + RB ≡ Vo/K . Also, V+ = (1/sC2) R2 + (1/sC2) V1 = 1 1 + sR2C2 V1 .

  • M. B. Patil, IIT Bombay
slide-63
SLIDE 63

Sallen-Key filter example (2nd order, low-pass)

f (Hz) 40 20 −20 −40 −60 C1 RB R1 R2 C2 RA (Ref.: S. Franco, "Design with Op Amps and analog ICs")

RL V1 Vs Vo 105 104 103 102 101 |H| (dB) R1 = R2 = 15.8 kΩ C1 = C2 = 10 nF RA = 10 kΩ, RB = 17.8 kΩ V+ = V− = Vo RA RA + RB ≡ Vo/K . Also, V+ = (1/sC2) R2 + (1/sC2) V1 = 1 1 + sR2C2 V1 . KCL at V1 → 1 R1 (Vs − V1) + sC1(Vo − V1) + 1 R2 (V+ − V1) = 0 .

  • M. B. Patil, IIT Bombay
slide-64
SLIDE 64

Sallen-Key filter example (2nd order, low-pass)

f (Hz) 40 20 −20 −40 −60 C1 RB R1 R2 C2 RA (Ref.: S. Franco, "Design with Op Amps and analog ICs")

RL V1 Vs Vo 105 104 103 102 101 |H| (dB) R1 = R2 = 15.8 kΩ C1 = C2 = 10 nF RA = 10 kΩ, RB = 17.8 kΩ V+ = V− = Vo RA RA + RB ≡ Vo/K . Also, V+ = (1/sC2) R2 + (1/sC2) V1 = 1 1 + sR2C2 V1 . KCL at V1 → 1 R1 (Vs − V1) + sC1(Vo − V1) + 1 R2 (V+ − V1) = 0 . Combining the above equations, H(s) = K 1 + s [(R1 + R2)C2 + (1 − K)R1C1] + s2R1C1R2C2 . (SEQUEL file: ee101 op filter 5.sqproj)

  • M. B. Patil, IIT Bombay
slide-65
SLIDE 65

Sixth-order Chebyshev low-pass filter (cascade design)

20 −20 −40 −60 −80 f (Hz) (Ref.: S. Franco, "Design with Op Amps and analog ICs") SEQUEL file: ee101_op_filter_6.sqproj 5.1 n 10 n 62 n 2.2 n 510 p 220 p 2.49 k 4.64 k 6.49 k 8.25 k 10.2 k 10.7 k

Vs RL Vo 105 104 103 102 |H| (dB)

  • M. B. Patil, IIT Bombay
slide-66
SLIDE 66

Third-order Chebyshev high-pass filter

7.68 k 100 n (Ref.: S. Franco, "Design with Op Amps and analog ICs") SEQUEL file: ee101_op_filter_7.sqproj 100 n 54.9 k 100 n 15.4 k 154 k f (Hz) 20 −20 −40 −60 −80

Vs RL Vo 103 102 101 100 |H| (dB)

  • M. B. Patil, IIT Bombay
slide-67
SLIDE 67

Band-pass filter example

f (Hz) 20 −20 −40 40 (Ref.: J. M. Fiore, "Op Amps and linear ICs") SEQUEL file: ee101_op_filter_8.sqproj 5 k 5 k 5 k 5 k 370 k 5 k 5 k 7.4 n 7.4 n

Vs Vo 105 104 103 102 |H| (dB)

  • M. B. Patil, IIT Bombay
slide-68
SLIDE 68

Notch filter example

(Ref.: J. M. Fiore, "Op Amps and linear ICs") SEQUEL file: ee101_op_filter_9.sqproj f (Hz) −40 −20 10 k 10 k 10 k 89 k 10 k 1 k 10 k 265 n 265 n 10 k 10 k 10 k

Vs Vo 101 102 |H| (dB)

  • M. B. Patil, IIT Bombay
slide-69
SLIDE 69

Half-wave rectifier

Vo slope = 1 Vi Ideal half-wave rectifier Vi Vo

slide-70
SLIDE 70

Half-wave rectifier

Vo slope = 1 Vi Ideal half-wave rectifier Vi Vo T/2 T 3T/2 2T

  • 1

1 Vi Vo

slide-71
SLIDE 71

Half-wave rectifier

Vo slope = 1 Vi Ideal half-wave rectifier Vi Vo T/2 T 3T/2 2T

  • 1

1 Vi Vo Vo Von slope = 1 Vi Vi Vo

slide-72
SLIDE 72

Half-wave rectifier

Vo slope = 1 Vi Ideal half-wave rectifier Vi Vo T/2 T 3T/2 2T

  • 1

1 Vi Vo Vo Von slope = 1 Vi Vi Vo Vo T/2 T 3T/2 2T Vi Von

  • 1

1

slide-73
SLIDE 73

Half-wave rectifier

Vo slope = 1 Vi Ideal half-wave rectifier Vi Vo T/2 T 3T/2 2T

  • 1

1 Vi Vo Vo Von slope = 1 Vi Vi Vo Vo T/2 T 3T/2 2T Vi Von

  • 1

1 → need an improved circuit

  • M. B. Patil, IIT Bombay
slide-74
SLIDE 74

Half-wave precision rectifier

D

R Vi Vo

slide-75
SLIDE 75

Half-wave precision rectifier

D

R Vi Vo R Von Vi Vo1 Vo i− iD iR

Consider two cases: (i) D is conducting: The feedback loop is closed, and the circuit looks like (except for the diode drop) the buffer we have seen earlier.

slide-76
SLIDE 76

Half-wave precision rectifier

D

R Vi Vo R Von Vi Vo1 Vo i− iD iR

Consider two cases: (i) D is conducting: The feedback loop is closed, and the circuit looks like (except for the diode drop) the buffer we have seen earlier. Since the input current i− ≈ 0, iR = iD. V+ − V− = Vo1 AV = Vo + 0.7 V AV ≈ 0 V → Vo = V− ≈ V+ = Vi.

slide-77
SLIDE 77

Half-wave precision rectifier

D

R Vi Vo R Von Vi Vo1 Vo i− iD iR

Consider two cases: (i) D is conducting: The feedback loop is closed, and the circuit looks like (except for the diode drop) the buffer we have seen earlier. Since the input current i− ≈ 0, iR = iD. V+ − V− = Vo1 AV = Vo + 0.7 V AV ≈ 0 V → Vo = V− ≈ V+ = Vi. This situation arises only if iD > 0 (since the diode can only conduct in the forward direction), i.e., iR > 0 → Vo = iRR > 0, and therefore Vi = Vo > 0 V .

slide-78
SLIDE 78

Half-wave precision rectifier

D

R Vi Vo R Von Vi Vo1 Vo i− iD iR

slope=1

Vo Vi

Consider two cases: (i) D is conducting: The feedback loop is closed, and the circuit looks like (except for the diode drop) the buffer we have seen earlier. Since the input current i− ≈ 0, iR = iD. V+ − V− = Vo1 AV = Vo + 0.7 V AV ≈ 0 V → Vo = V− ≈ V+ = Vi. This situation arises only if iD > 0 (since the diode can only conduct in the forward direction), i.e., iR > 0 → Vo = iRR > 0, and therefore Vi = Vo > 0 V .

  • M. B. Patil, IIT Bombay
slide-79
SLIDE 79

Half-wave precision rectifier

D

R Vi Vo R Von Vi Vo1 Vo i− iD iR

slope=1

Vo Vi

Consider two cases: (i) D is conducting: The feedback loop is closed, and the circuit looks like (except for the diode drop) the buffer we have seen earlier. Since the input current i− ≈ 0, iR = iD. V+ − V− = Vo1 AV = Vo + 0.7 V AV ≈ 0 V → Vo = V− ≈ V+ = Vi. This situation arises only if iD > 0 (since the diode can only conduct in the forward direction), i.e., iR > 0 → Vo = iRR > 0, and therefore Vi = Vo > 0 V . Note: Von does not appear in the graph.

  • M. B. Patil, IIT Bombay
slide-80
SLIDE 80

Half-wave precision rectifier

D

R Vi Vo

slide-81
SLIDE 81

Half-wave precision rectifier

D

R Vi Vo R Vo1 Vi Vo

(ii) D is not conducting → Vo = 0 V .

slide-82
SLIDE 82

Half-wave precision rectifier

D

R Vi Vo R Vo1 Vi Vo

(ii) D is not conducting → Vo = 0 V . What about Vo1? Since the op-amp is now in the open-loop configuration, a very small Vi is enough to drive it to saturation.

slide-83
SLIDE 83

Half-wave precision rectifier

D

R Vi Vo R Vo1 Vi Vo

(ii) D is not conducting → Vo = 0 V . What about Vo1? Since the op-amp is now in the open-loop configuration, a very small Vi is enough to drive it to saturation. Note that Case (ii) occurs when Vi < 0 V (we have already looked at Vi > 0). Since V+ − V− = Vi − 0 = Vi is negative, Vo1 is driven to −Vsat.

slide-84
SLIDE 84

Half-wave precision rectifier

D

R Vi Vo R Vo1 Vi Vo Vo Vi Vo = 0

(ii) D is not conducting → Vo = 0 V . What about Vo1? Since the op-amp is now in the open-loop configuration, a very small Vi is enough to drive it to saturation. Note that Case (ii) occurs when Vi < 0 V (we have already looked at Vi > 0). Since V+ − V− = Vi − 0 = Vi is negative, Vo1 is driven to −Vsat.

  • M. B. Patil, IIT Bombay
slide-85
SLIDE 85

Half-wave precision rectifier

D on D off diode Super Super diode D

R R Vi Vo = Vi Vo = 0 Vo Vi Vo Vi Vo Vo1 iR

  • M. B. Patil, IIT Bombay
slide-86
SLIDE 86

Half-wave precision rectifier

D on D off diode Super Super diode D

R R Vi Vo = Vi Vo = 0 Vo Vi Vo Vi Vo Vo1 iR

* The circuit is called “super diode” (an ideal diode with Von = 0 V).

  • M. B. Patil, IIT Bombay
slide-87
SLIDE 87

Half-wave precision rectifier

D on D off diode Super Super diode D

R R Vi Vo = Vi Vo = 0 Vo Vi Vo Vi Vo Vo1 iR

* The circuit is called “super diode” (an ideal diode with Von = 0 V). * When D conducts, the op-amp operates in the linear region, and we have V+ ≈ V−.

  • M. B. Patil, IIT Bombay
slide-88
SLIDE 88

Half-wave precision rectifier

D on D off diode Super Super diode D

R R Vi Vo = Vi Vo = 0 Vo Vi Vo Vi Vo Vo1 iR

* The circuit is called “super diode” (an ideal diode with Von = 0 V). * When D conducts, the op-amp operates in the linear region, and we have V+ ≈ V−. * When D is off, the op-amp operates in the saturation region, V− = 0, V+ = Vi, and Vo1 = −Vsat.

  • M. B. Patil, IIT Bombay
slide-89
SLIDE 89

Half-wave precision rectifier

D on D off diode Super Super diode D

R R Vi Vo = Vi Vo = 0 Vo Vi Vo Vi Vo Vo1 iR

* The circuit is called “super diode” (an ideal diode with Von = 0 V). * When D conducts, the op-amp operates in the linear region, and we have V+ ≈ V−. * When D is off, the op-amp operates in the saturation region, V− = 0, V+ = Vi, and Vo1 = −Vsat. * Where does iR come from?

  • M. B. Patil, IIT Bombay
slide-90
SLIDE 90

25 50 75 100 1.5 −1.5 1.5 −1.5 1.5 −1.5

m (t) y (t) c (t) time (µsec) A = 1 M = 0.3 fc = 200 kHz fm = 10 kHz

Application: AM demodulation

  • M. B. Patil, IIT Bombay
slide-91
SLIDE 91

25 50 75 100 1.5 −1.5 1.5 −1.5 1.5 −1.5

m (t) y (t) c (t) time (µsec) A = 1 M = 0.3 fc = 200 kHz fm = 10 kHz

Application: AM demodulation

Carrier wave: c(t) = A sin(2πfct)

  • M. B. Patil, IIT Bombay
slide-92
SLIDE 92

25 50 75 100 1.5 −1.5 1.5 −1.5 1.5 −1.5

m (t) y (t) c (t) time (µsec) A = 1 M = 0.3 fc = 200 kHz fm = 10 kHz

Application: AM demodulation

Carrier wave: c(t) = A sin(2πfct) Signal (e.g., audio): m(t) = M sin(2πfmt + φ)

  • M. B. Patil, IIT Bombay
slide-93
SLIDE 93

25 50 75 100 1.5 −1.5 1.5 −1.5 1.5 −1.5

m (t) y (t) c (t) time (µsec) A = 1 M = 0.3 fc = 200 kHz fm = 10 kHz

Application: AM demodulation

Carrier wave: c(t) = A sin(2πfct) Signal (e.g., audio): m(t) = M sin(2πfmt + φ) AM wave: y(t) = [1 + m(t)] c(t) (Assume M < 1)

  • M. B. Patil, IIT Bombay
slide-94
SLIDE 94

25 50 75 100 1.5 −1.5 1.5 −1.5 1.5 −1.5

m (t) y (t) c (t) time (µsec) A = 1 M = 0.3 fc = 200 kHz fm = 10 kHz

Application: AM demodulation

Carrier wave: c(t) = A sin(2πfct) Signal (e.g., audio): m(t) = M sin(2πfmt + φ) AM wave: y(t) = [1 + m(t)] c(t) (Assume M < 1) e.g., Vividh Bharati: fc = 1188 kHz, fm ≃ 10 kHz (audio).

  • M. B. Patil, IIT Bombay
slide-95
SLIDE 95

AM demodulation using a peak detector

0.15 −0.15

filter AM input

diode Super t (ms) 0.3 0.4 0.5 0.2 t (ms) 1 2

V1 V1 Vi Vo Vi

  • M. B. Patil, IIT Bombay
slide-96
SLIDE 96

AM demodulation using a peak detector

0.15 −0.15

filter AM input

diode Super t (ms) 0.3 0.4 0.5 0.2 t (ms) 1 2

V1 V1 Vi Vo Vi

* charging through super diode, discharging through resistor

  • M. B. Patil, IIT Bombay
slide-97
SLIDE 97

AM demodulation using a peak detector

0.15 −0.15

filter AM input

diode Super t (ms) 0.3 0.4 0.5 0.2 t (ms) 1 2

V1 V1 Vi Vo Vi

* charging through super diode, discharging through resistor * The time constant (RC) needs to be carefully selected.

  • M. B. Patil, IIT Bombay
slide-98
SLIDE 98

AM demodulation using a peak detector

0.15 −0.15

filter AM input

diode Super t (ms) 0.3 0.4 0.5 0.2 t (ms) 1 2

V1 V1 Vi Vo Vi

* charging through super diode, discharging through resistor * The time constant (RC) needs to be carefully selected.

SEQUEL file: super diode.sqproj

  • M. B. Patil, IIT Bombay
slide-99
SLIDE 99

Clipping and clamping

D RL Vo R Vi VR D RL Vo Vi VR C D RL Vo Vi VR C D RL Vo R Vi VR

* What is the function provided by each circuit?

  • M. B. Patil, IIT Bombay
slide-100
SLIDE 100

Clipping and clamping

D RL Vo R Vi VR D RL Vo Vi VR C D RL Vo Vi VR C D RL Vo R Vi VR

* What is the function provided by each circuit? * Verify with simulation (and in the lab).

  • M. B. Patil, IIT Bombay
slide-101
SLIDE 101

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR.

slide-102
SLIDE 102

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD = VR RL + VR − Vi R .

slide-103
SLIDE 103

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD = VR RL + VR − Vi R . Since iD > 0, VR 1 RL + 1 R

  • > Vi

R → Vi < VR R + RL RL

  • ≡ Vi1.
slide-104
SLIDE 104

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD = VR RL + VR − Vi R . Since iD > 0, VR 1 RL + 1 R

  • > Vi

R → Vi < VR R + RL RL

  • ≡ Vi1.

For Vi > Vi1, D does not conduct → Vo = RL R + RL Vi.

slide-105
SLIDE 105

D RL Vo R Vi VR iD Vo Vi Vi1 Slope = RL R + RL VR When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD = VR RL + VR − Vi R . Since iD > 0, VR 1 RL + 1 R

  • > Vi

R → Vi < VR R + RL RL

  • ≡ Vi1.

For Vi > Vi1, D does not conduct → Vo = RL R + RL Vi.

  • M. B. Patil, IIT Bombay
slide-106
SLIDE 106

D RL Vo R Vi VR iD Vo Vi Vi1 Slope = RL R + RL VR When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD = VR RL + VR − Vi R . Since iD > 0, VR 1 RL + 1 R

  • > Vi

R → Vi < VR R + RL RL

  • ≡ Vi1.

For Vi > Vi1, D does not conduct → Vo = RL R + RL Vi. If RL ≫ R, Vi1 = R, and slope = 1 for Vi > Vi1.

  • M. B. Patil, IIT Bombay
slide-107
SLIDE 107

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR.

slide-108
SLIDE 108

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD + VR RL + VR − Vi R = 0.

slide-109
SLIDE 109

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD + VR RL + VR − Vi R = 0. Since iD > 0, −VR 1 RL + 1 R

  • + Vi

R > 0 → Vi > VR R + RL RL

  • ≡ Vi1.
slide-110
SLIDE 110

D RL Vo R Vi VR iD When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD + VR RL + VR − Vi R = 0. Since iD > 0, −VR 1 RL + 1 R

  • + Vi

R > 0 → Vi > VR R + RL RL

  • ≡ Vi1.

For Vi < Vi1, D does not conduct → Vo = RL R + RL Vi.

slide-111
SLIDE 111

D RL Vo R Vi VR iD Vo Vi Vi1 VR Slope = RL R + RL When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD + VR RL + VR − Vi R = 0. Since iD > 0, −VR 1 RL + 1 R

  • + Vi

R > 0 → Vi > VR R + RL RL

  • ≡ Vi1.

For Vi < Vi1, D does not conduct → Vo = RL R + RL Vi.

  • M. B. Patil, IIT Bombay
slide-112
SLIDE 112

D RL Vo R Vi VR iD Vo Vi Vi1 VR Slope = RL R + RL When D conducts, feedback path is closed → V− ≈ V+ = VR → Vo = VR. KCL: iD + VR RL + VR − Vi R = 0. Since iD > 0, −VR 1 RL + 1 R

  • + Vi

R > 0 → Vi > VR R + RL RL

  • ≡ Vi1.

For Vi < Vi1, D does not conduct → Vo = RL R + RL Vi. If RL ≫ R, Vi1 = R, and slope = 1 for Vi < Vi1.

  • M. B. Patil, IIT Bombay
slide-113
SLIDE 113

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle).

slide-114
SLIDE 114

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = VR − Vm sin ωt. → V max

C

= VR − (−Vm) = VR + Vm.

slide-115
SLIDE 115

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = VR − Vm sin ωt. → V max

C

= VR − (−Vm) = VR + Vm. In steady state, VC remains equal to V max

C

→ Vo(t) = Vi(t) + V max

C

= Vm sin ωt + VR + Vm.

slide-116
SLIDE 116

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = VR − Vm sin ωt. → V max

C

= VR − (−Vm) = VR + Vm. In steady state, VC remains equal to V max

C

→ Vo(t) = Vi(t) + V max

C

= Vm sin ωt + VR + Vm. Note: Von of the diode does not appear in the expression for Vo(t).

slide-117
SLIDE 117

D RL Vo Vi C VR iD VC 0.5 1 1.5 2 Time (msec)

  • 4
  • 2

2 4 6 8 Vi VR Vo Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = VR − Vm sin ωt. → V max

C

= VR − (−Vm) = VR + Vm. In steady state, VC remains equal to V max

C

→ Vo(t) = Vi(t) + V max

C

= Vm sin ωt + VR + Vm. Note: Von of the diode does not appear in the expression for Vo(t).

  • M. B. Patil, IIT Bombay
slide-118
SLIDE 118

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle).

slide-119
SLIDE 119

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = Vm sin ωt − VR. → V max

C

= Vm − VR.

slide-120
SLIDE 120

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = Vm sin ωt − VR. → V max

C

= Vm − VR. In steady state, VC remains equal to V max

C

→ Vo(t) = Vi(t) − V max

C

= Vm sin ωt + VR − Vm.

slide-121
SLIDE 121

D RL Vo Vi C VR iD VC Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = Vm sin ωt − VR. → V max

C

= Vm − VR. In steady state, VC remains equal to V max

C

→ Vo(t) = Vi(t) − V max

C

= Vm sin ωt + VR − Vm. Note: Von of the diode does not appear in the expression for Vo(t).

slide-122
SLIDE 122

D RL Vo Vi C VR iD VC 0.5 1 1.5 2 4 2

  • 2
  • 4
  • 6

Time (msec) Vo VR Vi Time constant for the discharging process is RLC. Assume RLC ≫ T → VC can only increase (in one cycle). When D conducts, V− ≈ VR, and VC (t) = Vm sin ωt − VR. → V max

C

= Vm − VR. In steady state, VC remains equal to V max

C

→ Vo(t) = Vi(t) − V max

C

= Vm sin ωt + VR − Vm. Note: Von of the diode does not appear in the expression for Vo(t).

  • M. B. Patil, IIT Bombay
slide-123
SLIDE 123

Half-wave precision rectifier

10 20 30 40 time (msec) 0.6 −0.6 0.4 0.2 −0.2 −0.4 D on D off 2 −2 −4 −6 −8 −10 −12 −14 Super diode D

R Vi Vo = Vi Vo = 0 Vo Vi Vo Vo1 Vo Vi Vi Vo1

  • M. B. Patil, IIT Bombay
slide-124
SLIDE 124

Half-wave precision rectifier

10 20 30 40 time (msec) 0.6 −0.6 0.4 0.2 −0.2 −0.4 D on D off 2 −2 −4 −6 −8 −10 −12 −14 Super diode D

R Vi Vo = Vi Vo = 0 Vo Vi Vo Vo1 Vo Vi Vi Vo1

* When Vi > 0, the op-amp operates in the linear region, and Vo1 = Vo + Von.

  • M. B. Patil, IIT Bombay
slide-125
SLIDE 125

Half-wave precision rectifier

10 20 30 40 time (msec) 0.6 −0.6 0.4 0.2 −0.2 −0.4 D on D off 2 −2 −4 −6 −8 −10 −12 −14 Super diode D

R Vi Vo = Vi Vo = 0 Vo Vi Vo Vo1 Vo Vi Vi Vo1

* When Vi > 0, the op-amp operates in the linear region, and Vo1 = Vo + Von. * When Vi < 0, the op-amp operates in the

  • pen-loop configuration, leading to

saturation, and Vo1 = −Vsat.

  • M. B. Patil, IIT Bombay
slide-126
SLIDE 126

Half-wave precision rectifier

10 20 30 40 time (msec) 0.6 −0.6 0.4 0.2 −0.2 −0.4 D on D off 2 −2 −4 −6 −8 −10 −12 −14 Super diode D

R Vi Vo = Vi Vo = 0 Vo Vi Vo Vo1 Vo Vi Vi Vo1

* When Vi > 0, the op-amp operates in the linear region, and Vo1 = Vo + Von. * When Vi < 0, the op-amp operates in the

  • pen-loop configuration, leading to

saturation, and Vo1 = −Vsat. * The Vi < 0 to Vi > 0 transition requires the

  • p-amp to come out of saturation. This is a

relatively slow process and is limited by the

  • p-amp slew rate.
  • M. B. Patil, IIT Bombay
slide-127
SLIDE 127

Half-wave precision rectifier

10 20 30 40 time (msec) 0.6 −0.6 0.4 0.2 −0.2 −0.4 D on D off 2 −2 −4 −6 −8 −10 −12 −14 Super diode D

R Vi Vo = Vi Vo = 0 Vo Vi Vo Vo1 Vo Vi Vi Vo1

* When Vi > 0, the op-amp operates in the linear region, and Vo1 = Vo + Von. * When Vi < 0, the op-amp operates in the

  • pen-loop configuration, leading to

saturation, and Vo1 = −Vsat. * The Vi < 0 to Vi > 0 transition requires the

  • p-amp to come out of saturation. This is a

relatively slow process and is limited by the

  • p-amp slew rate.

SEQUEL file: ee101 super diode 1.sqproj

  • M. B. Patil, IIT Bombay
slide-128
SLIDE 128

Half-wave precision rectifier

D on D off Super diode D

R Vi Vo = Vi Vo = 0 Vo Vo Vo1 Vi

* The time taken by the op-amp to come out of saturation can be neglected at low signal frequencies.

slide-129
SLIDE 129

Half-wave precision rectifier

D on D off Super diode D

R Vi Vo = Vi Vo = 0 Vo Vo Vo1 Vi

0.6 −0.6 10 20 30 40 time (msec)

Vo Vi f = 50 Hz

* The time taken by the op-amp to come out of saturation can be neglected at low signal frequencies.

slide-130
SLIDE 130

Half-wave precision rectifier

D on D off Super diode D

R Vi Vo = Vi Vo = 0 Vo Vo Vo1 Vi

0.6 −0.6 10 20 30 40 time (msec)

Vo Vi f = 50 Hz

* The time taken by the op-amp to come out of saturation can be neglected at low signal frequencies. * At high signal frequencies, it leads to distortion in the

  • utput waveform.
slide-131
SLIDE 131

Half-wave precision rectifier

D on D off Super diode D

R Vi Vo = Vi Vo = 0 Vo Vo Vo1 Vi

0.6 −0.6 10 20 30 40 time (msec)

Vo Vi f = 50 Hz

0.6 −0.6 0.5 1 1.5 2 time (msec)

Vo Vi f = 1 kHz

* The time taken by the op-amp to come out of saturation can be neglected at low signal frequencies. * At high signal frequencies, it leads to distortion in the

  • utput waveform.
  • M. B. Patil, IIT Bombay
slide-132
SLIDE 132

Half-wave precision rectifier

D on D off Super diode D

R Vi Vo = Vi Vo = 0 Vo Vo Vo1 Vi

0.6 −0.6 10 20 30 40 time (msec)

Vo Vi f = 50 Hz

0.6 −0.6 0.5 1 1.5 2 time (msec)

Vo Vi f = 1 kHz

* The time taken by the op-amp to come out of saturation can be neglected at low signal frequencies. * At high signal frequencies, it leads to distortion in the

  • utput waveform.

* Hook up the circuit in the lab, and check it out!

  • M. B. Patil, IIT Bombay
slide-133
SLIDE 133

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR

slide-134
SLIDE 134

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V .

slide-135
SLIDE 135

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V . D2 cannot conduct (show that, if it did, KCL is not satisfied at Vo). → iR2 = 0, Vo = V− = 0 V .

slide-136
SLIDE 136

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR Vo1 Vi Vo Vi > 0 R1 D1 D2 R R2

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V . D2 cannot conduct (show that, if it did, KCL is not satisfied at Vo). → iR2 = 0, Vo = V− = 0 V .

slide-137
SLIDE 137

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR Vo1 Vi Vo Vi > 0 R1 D1 D2 R R2

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V . D2 cannot conduct (show that, if it did, KCL is not satisfied at Vo). → iR2 = 0, Vo = V− = 0 V . iR1 = iD1 which can only be positive ⇒ Vi > 0 V .

slide-138
SLIDE 138

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR Vo1 Vi Vo Vi > 0 R1 D1 D2 R R2

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V . D2 cannot conduct (show that, if it did, KCL is not satisfied at Vo). → iR2 = 0, Vo = V− = 0 V . iR1 = iD1 which can only be positive ⇒ Vi > 0 V . (ii) D1 is off; this will happen when Vi < 0 V .

slide-139
SLIDE 139

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR Vo1 Vi Vo Vi > 0 R1 D1 D2 R R2 Vo1 Vi Vo Vi < 0 R1 D1 D2 R R2

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V . D2 cannot conduct (show that, if it did, KCL is not satisfied at Vo). → iR2 = 0, Vo = V− = 0 V . iR1 = iD1 which can only be positive ⇒ Vi > 0 V . (ii) D1 is off; this will happen when Vi < 0 V . In this case, D2 conducts and closes the feedback loop through R2.

slide-140
SLIDE 140

Improved half-wave precision rectifier

Vo1 Vi Vo R1 D1 D2 R R2 iD1 iR1 iD2 iR2 iR Vo1 Vi Vo Vi > 0 R1 D1 D2 R R2 Vo1 Vi Vo Vi < 0 R1 D1 D2 R R2

(i) D1 conducts: V− = V+ = 0 V , Vo1 = −VD1 ≈ −0.7 V . D2 cannot conduct (show that, if it did, KCL is not satisfied at Vo). → iR2 = 0, Vo = V− = 0 V . iR1 = iD1 which can only be positive ⇒ Vi > 0 V . (ii) D1 is off; this will happen when Vi < 0 V . In this case, D2 conducts and closes the feedback loop through R2. Vo = V− + iR2R2 = 0 + 0 − Vi R1

  • R2 = − R2

R1 Vi .

  • M. B. Patil, IIT Bombay
slide-141
SLIDE 141

Improved half-wave precision rectifier

Vo1 Vo1 Vi > 0 Vi Vo Vi < 0 Vi Vo Vo Vi Vo = 0 −R2 R1 Vi R1 D1 D2 R R2 R1 D1 D2 R R2 1 k 1 k 1 k 1 k

slide-142
SLIDE 142

Improved half-wave precision rectifier

Vo1 Vo1 Vi > 0 Vi Vo Vi < 0 Vi Vo Vo Vi Vo = 0 −R2 R1 Vi R1 D1 D2 R R2 R1 D1 D2 R R2 1 k 1 k 1 k 1 k

2 1 −1 t (ms) 1 2

Vi Vo

slide-143
SLIDE 143

Improved half-wave precision rectifier

Vo1 Vo1 Vi > 0 Vi Vo Vi < 0 Vi Vo Vo Vi Vo = 0 −R2 R1 Vi R1 D1 D2 R R2 R1 D1 D2 R R2 1 k 1 k 1 k 1 k

2 1 −1 t (ms) 1 2

Vi Vo Vo1

slide-144
SLIDE 144

Improved half-wave precision rectifier

Vo1 Vo1 Vi > 0 Vi Vo Vi < 0 Vi Vo Vo Vi Vo = 0 −R2 R1 Vi R1 D1 D2 R R2 R1 D1 D2 R R2 1 k 1 k 1 k 1 k

2 1 −1 t (ms) 1 2

Vi Vo Vo1

* Note that the op-amp does not enter saturation since a feedback path is available for Vi > 0 V and Vi < 0 V .

slide-145
SLIDE 145

Improved half-wave precision rectifier

Vo1 Vo1 Vi > 0 Vi Vo Vi < 0 Vi Vo Vo Vi Vo = 0 −R2 R1 Vi R1 D1 D2 R R2 R1 D1 D2 R R2 1 k 1 k 1 k 1 k

2 1 −1 t (ms) 1 2

Vi Vo Vo1

* Note that the op-amp does not enter saturation since a feedback path is available for Vi > 0 V and Vi < 0 V .

SEQUEL file: precision half wave.sqproj

  • M. B. Patil, IIT Bombay
slide-146
SLIDE 146

Improved half-wave precision rectifier

Vo1 Vo = 0 Vo Vi Vi Vo −R2 R1 Vi R1 D1 D2 R2 R

The diodes are now reversed.

  • M. B. Patil, IIT Bombay
slide-147
SLIDE 147

Improved half-wave precision rectifier

Vo1 Vo = 0 Vo Vi Vi Vo −R2 R1 Vi R1 D1 D2 R2 R

The diodes are now reversed. By considering two cases: (i) D1 on, (ii) D1 off, the Vo versus Vi relationship shown in the figure is obtained (show this).

  • M. B. Patil, IIT Bombay
slide-148
SLIDE 148

Improved half-wave precision rectifier

Vo1 Vo = 0 Vo Vi Vi Vo −R2 R1 Vi R1 D1 D2 R2 R

The diodes are now reversed. By considering two cases: (i) D1 on, (ii) D1 off, the Vo versus Vi relationship shown in the figure is obtained (show this).

SEQUEL file: precision half wave 2.sqproj

  • M. B. Patil, IIT Bombay
slide-149
SLIDE 149

Full-wave precision rectifier

Half−wave rectifier (inverting) x (−1) x (−2)

Vo1 Vo1 Vi Vo VB Vi Vi VA Vi Vi VB Vo VA

slide-150
SLIDE 150

Full-wave precision rectifier

Half−wave rectifier (inverting) x (−1) x (−2)

Vo1 Vo1 Vi Vo VB Vi Vi VA Vi Vi VB Vo VA

inverting half−wave rectifier inverting summer

Vo R1 D1 R1 D2 Vo1 R R/2 R Vi (SEQUEL file: precision full wave.sqproj)

slide-151
SLIDE 151

Full-wave precision rectifier

Half−wave rectifier (inverting) x (−1) x (−2)

Vo1 Vo1 Vi Vo VB Vi Vi VA Vi Vi VB Vo VA

inverting half−wave rectifier inverting summer

Vo R1 D1 R1 D2 Vo1 R R/2 R Vi (SEQUEL file: precision full wave.sqproj)

1 −1 −2 2 t (ms) 1 2

Vi Vo

  • M. B. Patil, IIT Bombay
slide-152
SLIDE 152

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

slide-153
SLIDE 153

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0

slide-154
SLIDE 154

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0 When D is off, i = V R0 , and VA is (by superposition), VA = V R′ R + R′ − V0 R R + R′ .

slide-155
SLIDE 155

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0 When D is off, i = V R0 , and VA is (by superposition), VA = V R′ R + R′ − V0 R R + R′ . For D to turn on, VA = Von ≈ 0.7 V → V ≡ Vbreak = R R′ (V0 + Von) + Von .

slide-156
SLIDE 156

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0

A D on

i R R′ R0 0 V V −V0 Von When D is off, i = V R0 , and VA is (by superposition), VA = V R′ R + R′ − V0 R R + R′ . For D to turn on, VA = Von ≈ 0.7 V → V ≡ Vbreak = R R′ (V0 + Von) + Von .

slide-157
SLIDE 157

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0

A D on

i R R′ R0 0 V V −V0 Von When D is off, i = V R0 , and VA is (by superposition), VA = V R′ R + R′ − V0 R R + R′ . For D to turn on, VA = Von ≈ 0.7 V → V ≡ Vbreak = R R′ (V0 + Von) + Von . When D is on, i = V R0 + V − Von R + −V0 − Von R′ = V 1 R0 + 1 R

  • + (constant)
slide-158
SLIDE 158

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0

A D on

i R R′ R0 0 V V −V0 Von When D is off, i = V R0 , and VA is (by superposition), VA = V R′ R + R′ − V0 R R + R′ . For D to turn on, VA = Von ≈ 0.7 V → V ≡ Vbreak = R R′ (V0 + Von) + Von . When D is on, i = V R0 + V − Von R + −V0 − Von R′ = V 1 R0 + 1 R

  • + (constant)

i.e., V = (R0 R) i + (constant) .

slide-159
SLIDE 159

Wave shaping with diodes

A D

i R R′ 0 V V −V0 R0

A D off

i R R′ R0 0 V V −V0

A D on

i R R′ R0 0 V V −V0 Von i V Vbreak slope = R0 R slope = R0 When D is off, i = V R0 , and VA is (by superposition), VA = V R′ R + R′ − V0 R R + R′ . For D to turn on, VA = Von ≈ 0.7 V → V ≡ Vbreak = R R′ (V0 + Von) + Von . When D is on, i = V R0 + V − Von R + −V0 − Von R′ = V 1 R0 + 1 R

  • + (constant)

i.e., V = (R0 R) i + (constant) .

  • M. B. Patil, IIT Bombay
slide-160
SLIDE 160

Wave shaping with diodes

A D A D off A D on

i R R′ i R R′ i R R′ i 0 V V −V0 R0 R0 0 V V −V0 R0 0 V V −V0 Von V Vbreak slope = R0 R slope = R0

(a) Vbreak = R R′ (V0 + Von) + Von. (b) When D is on, V = (R0 R) i + (constant) .

  • M. B. Patil, IIT Bombay
slide-161
SLIDE 161

Wave shaping with diodes

A D A D off A D on

i R R′ i R R′ i R R′ i 0 V V −V0 R0 R0 0 V V −V0 R0 0 V V −V0 Von V Vbreak slope = R0 R slope = R0

(a) Vbreak = R R′ (V0 + Von) + Von. (b) When D is on, V = (R0 R) i + (constant) . * Vbreak depends on the ratio R/R′.

  • M. B. Patil, IIT Bombay
slide-162
SLIDE 162

Wave shaping with diodes

A D A D off A D on

i R R′ i R R′ i R R′ i 0 V V −V0 R0 R0 0 V V −V0 R0 0 V V −V0 Von V Vbreak slope = R0 R slope = R0

(a) Vbreak = R R′ (V0 + Von) + Von. (b) When D is on, V = (R0 R) i + (constant) . * Vbreak depends on the ratio R/R′. * The slope R0 R depends on the resistance values.

  • M. B. Patil, IIT Bombay
slide-163
SLIDE 163

Wave shaping with diodes

A D A D off A D on

i R R′ i R R′ i R R′ i 0 V V −V0 R0 R0 0 V V −V0 R0 0 V V −V0 Von V Vbreak slope = R0 R slope = R0

(a) Vbreak = R R′ (V0 + Von) + Von. (b) When D is on, V = (R0 R) i + (constant) . * Vbreak depends on the ratio R/R′. * The slope R0 R depends on the resistance values. * Given the break point and the two slopes, the resistance values can be easily determined.

  • M. B. Patil, IIT Bombay
slide-164
SLIDE 164

Wave shaping with diodes

i R0 0 V V

slide-165
SLIDE 165

Wave shaping with diodes

i R0 0 V V i V

slide-166
SLIDE 166

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0

slide-167
SLIDE 167

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

slide-168
SLIDE 168

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

D2B

R2B′ R2B

slide-169
SLIDE 169

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

D2B

R2B′ R2B i V

slide-170
SLIDE 170

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

D2B

R2B′ R2B i V

D1A

R1A R1A′ V0

slide-171
SLIDE 171

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

D2B

R2B′ R2B i V

D1A

R1A R1A′ V0 i V

slide-172
SLIDE 172

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

D2B

R2B′ R2B i V

D1A

R1A R1A′ V0 i V

D2A

R2A R2A′

slide-173
SLIDE 173

Wave shaping with diodes

i R0 0 V V i V

D1B

R1B′ R1B −V0 i V

D2B

R2B′ R2B i V

D1A

R1A R1A′ V0 i V

D2A

R2A R2A′ i V

  • M. B. Patil, IIT Bombay
slide-174
SLIDE 174

Wave shaping with diodes

D2B D1B D1A D2A

R1B′ R2B′ i R2A R1A R2B R1B R1A′ R2A′ i Vo RL Vi −V0 R0 V0 Ra ∼ 0 V Ra = 5 k R0 = 20 k R1A = R1B = 15 k R2A = R2B = 5 k R1A′ = R1B′ = 60 k R2A′ = R2B′ = 10 k V0 = 15 V Vo i

slide-175
SLIDE 175

Wave shaping with diodes

D2B D1B D1A D2A

R1B′ R2B′ i R2A R1A R2B R1B R1A′ R2A′ i Vo RL Vi −V0 R0 V0 Ra ∼ 0 V Ra = 5 k R0 = 20 k R1A = R1B = 15 k R2A = R2B = 5 k R1A′ = R1B′ = 60 k R2A′ = R2B′ = 10 k V0 = 15 V Vo i

Since Vi = −Rai, the Vo versus Vi plot is similar to the V versus i plot, except for the (−Ra) factor.

slide-176
SLIDE 176

Wave shaping with diodes

D2B D1B D1A D2A

R1B′ R2B′ i R2A R1A R2B R1B R1A′ R2A′ i Vo RL Vi −V0 R0 V0 Ra ∼ 0 V Ra = 5 k R0 = 20 k R1A = R1B = 15 k R2A = R2B = 5 k R1A′ = R1B′ = 60 k R2A′ = R2B′ = 10 k V0 = 15 V Vo i

−10 5 −5 −5 5 10

Vi (V) Vo (V)

Since Vi = −Rai, the Vo versus Vi plot is similar to the V versus i plot, except for the (−Ra) factor.

slide-177
SLIDE 177

Wave shaping with diodes

D2B D1B D1A D2A

R1B′ R2B′ i R2A R1A R2B R1B R1A′ R2A′ i Vo RL Vi −V0 R0 V0 Ra ∼ 0 V Ra = 5 k R0 = 20 k R1A = R1B = 15 k R2A = R2B = 5 k R1A′ = R1B′ = 60 k R2A′ = R2B′ = 10 k V0 = 15 V Vo i

−10 5 −5 −5 5 10

Vi (V) Vo (V)

2 4 6 8 time (msec) 10 −10

Vi Vo

Since Vi = −Rai, the Vo versus Vi plot is similar to the V versus i plot, except for the (−Ra) factor.

  • M. B. Patil, IIT Bombay
slide-178
SLIDE 178

Wave shaping with diodes

D2B D1B D1A D2A

R1B′ R2B′ i R2A R1A R2B R1B R1A′ R2A′ i Vo RL Vi −V0 R0 V0 Ra ∼ 0 V Ra = 5 k R0 = 20 k R1A = R1B = 15 k R2A = R2B = 5 k R1A′ = R1B′ = 60 k R2A′ = R2B′ = 10 k V0 = 15 V Vo i

−10 5 −5 −5 5 10

Vi (V) Vo (V)

2 4 6 8 time (msec) 10 −10

Vi Vo

Since Vi = −Rai, the Vo versus Vi plot is similar to the V versus i plot, except for the (−Ra) factor. SEQUEL file: ee101 wave shaper.sqproj

  • M. B. Patil, IIT Bombay
slide-179
SLIDE 179

Wave shaping with diodes: spectrum

10 −10 5

Vi

slide-180
SLIDE 180

Wave shaping with diodes: spectrum

10 −10 5

Vi

10 −10 2 4 6 8 time (msec) N 2 4 6 8 10 10

Vo

  • M. B. Patil, IIT Bombay