switched capacitor concepts & circuits

28
Switched Capacitor Concepts & Circuits

Upload: others

Post on 15-Oct-2021

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Switched Capacitor Concepts & Circuits

Switched CapacitorConcepts & Circuits

Page 2: Switched Capacitor Concepts & Circuits

Outline• Why Switched Capacitor circuits?

– Historical Perspective– Basic Building Blocks

• Switched Capacitors as Resistors• Switched Capacitor Integrators

– Discrete time & charge transfer concepts– Parasitic insensitive circuits

• Signal Flow Graphs• Switched Capacitor Filters

– Comparison to Active RC filters– Advantages of Fully Differential filters

• Switched Capacitor Gain Circuits• Reducing the Effects of Charge Injection• Tradeoff between Speed and Charge Injection

Page 3: Switched Capacitor Concepts & Circuits

Why Switched Capacitor Circuits?

• Historical Perspective– As MOS processes came to the forefront in the late 1970s and

early 1980s, the advantages of integrating analog blocks such asactive filters on the same chip with digital logic became a driving force for inovation.

– Integrating active filters using resistors and capacitors to acturately set time constants has always been difficult, because of large process variations (> +/- 30%) and the fact that resistors and capacitors don’t naturally match each other.

– So, analog engineers turned to the building blocks native to MOSprocesses to build their circuits, switches & capacitors. Since time constants can be set by the ratio of capacitors, very accurate filter responses became possible using switched capacitor techniques

Mixed-Signal Design was born!

Page 4: Switched Capacitor Concepts & Circuits

Switched Capacitor Building Blocks

• Capacitors: poly-poly, MiM, metal sandwich & finger caps

• Switches: NMOS, PMOS, T-gate

• Op Amps: at first all NMOS designs, now CMOS

Page 5: Switched Capacitor Concepts & Circuits

Non-Overlapping Clocks

• Non-overlapping clocks are used to insure that one set of switches turns off before the next set turns on, so that charge only flows where intended. (“break before make”)

• Note the notation used to indicate time based on clock periods: ... (n-1)T, (n-½)T, nT, (n+½)T, (n+1)T ...

Page 6: Switched Capacitor Concepts & Circuits

Switched Capacitors as Resistors

I = dq/dt = ∆q/∆t = C1(V1 – V2)/Twhere T = clock period

compare this to: I = (V1 – V2)/Req

Req = T/C1 or Req = 1/fs C1

Page 7: Switched Capacitor Concepts & Circuits

Switched Capacitors as Resistors (cont.)

Page 8: Switched Capacitor Concepts & Circuits

Switched Capacitor Integrator

• The resistor input of a traditional op amp integrator is replaced by a switched capacitor resistor

• This SC integrator operates in discrete time increments, first sampling the input signal onto C1, and then switching C1 to transfer this charge onto C2 :

Q1(n-1) = C1·Vi(n-1) and Q2(n-½) = Q2(n-1) - Q1(n-1)

Vo(n) = Vo(n-½) = Q2(n-½)/C2 = Vo(n-1) - (C1/C2)·Vi(n-1)

Vo(z) = z-1·Vo(z) - (C1/C2) z-1·Vi(z) H(z) = -(C1/C2)/(z-1)

Page 9: Switched Capacitor Concepts & Circuits

Switched Capacitor Integrator (cont.)

Page 10: Switched Capacitor Concepts & Circuits
Page 11: Switched Capacitor Concepts & Circuits

Effect of Parasitic Capacitors

• Cp2 and Cp3 cause no errors because they are in parallel with ground and virtual ground, respectively, and so remain uncharged.

• Cp4 does increase the load capacitance that the op amp must drive, but causes no errors.

• Cp1, the parasitic cap associated with the top plate of C1,appears directly in parallel with C1 and changes the transfer function to :

⎟⎠⎞

⎜⎝⎛

−⎟⎟⎠

⎞⎜⎜⎝

⎛ +−=

1z1

CCC

)z(H2

1p1

Page 12: Switched Capacitor Concepts & Circuits

Parasitic Insensitive Integrators

• During clock phase 1, C1 is charged to the input voltage

• During clock phase 2, this charge is transferred to C2However, since the + side of C1 is tied to ground, this results in a non-inverting transfer function :

⎟⎠⎞

⎜⎝⎛

−⎟⎟⎠

⎞⎜⎜⎝

⎛=

1z1

CC)z(H2

1

Page 13: Switched Capacitor Concepts & Circuits

Parasitic Insensitive Integrators (cont.)

• Cp2, Cp3 are in parallel with ground or virtual ground and Cp4 is in parallel with the output, so they cause no errors.

• In this circuit, Cp1 is once again charged to the input voltage on clock phase 1. However, this time Cp1 is discharged to ground on clock phase 2. Since no error charge is transferred to C2, the transfer function is insensitive to this parasitic cap and remains unchanged.

Page 14: Switched Capacitor Concepts & Circuits

Parasitic Insensitive Integrators (cont.)

• Similar to the previous circuit, just the clock phases changed

( ) ( ) ( )

( ) ( ) ( )

( ) ( ) ( )

( ) ( )( ) ⎟

⎠⎞

⎜⎝⎛

−−=⎟

⎠⎞

⎜⎝⎛−

−==⇒

−=

−−=

−−=

1zz

CC

z11

CC

zVzVzH

zVCCzVzzV

nVCC1nVnV

nVC1nVCnVC

2

11

2

1

i

O

i2

1O

1O

i2

1OO

i1O2O2

Page 15: Switched Capacitor Concepts & Circuits

Signal Flow Graphs

• Can be used to show a function symbolically

• Sometimes easier than keeping track of charge movement for a complicated circuit (e.g., SC filters)

• The example shown is just a superposition of our previous 2 cases, plus a non-switched capacitor input

Page 16: Switched Capacitor Concepts & Circuits

Switched Capacitor Filters

( )1z

CC1

CCz

CCC

zH

A

3

A

1

A

21

−⎟⎟⎠

⎞⎜⎜⎝

⎛+

−⎟⎟⎠

⎞⎜⎜⎝

⎛ +

−=

• Take an active RC filter and replace the R’s with SC equivalents

Page 17: Switched Capacitor Concepts & Circuits

substituting z = ejωT = cos(ωT) + jsin(ωT)

into H(z) and solving assuming ωT << 1

A

3

A

3

p

C2C1

CC

Tj+

−=ω⇒ eq. 10.42

Page 18: Switched Capacitor Concepts & Circuits

• For cases where we can’t assume that ωT << 1,we have to “pre-warp”the pole/zero frequencies to convert from thes-domain to z-domain using Ω = tan(ω/2)

• This makes use of the bilinear transform

p = (z – 1)/(z + 1)

where p = σp + jΩ

• Note that this maps the unit circle in the z-domain onto the jω-axis

Page 19: Switched Capacitor Concepts & Circuits

Switched Capacitor Filters (cont.)

• This circuit is identical to the previous one, except the switches on the left side of C3 are now being shared with the switches on the right side of C2 to reduce area and wiring complexity

Page 20: Switched Capacitor Concepts & Circuits

Fully Differential SC Filters

Key Advantages offully differential circuits :• Noise appears as a

common-mode signal• Even-order distortion

terms cancel

Page 21: Switched Capacitor Concepts & Circuits

Switched Capacitor Gain Circuits

( )( ) KzVzV)z(H

in

out −==

Page 22: Switched Capacitor Concepts & Circuits

SC Gain Circuits with Reset

• Voltage gain = - C1/C2

• Output is reset every clock period during Φ2

• Cancels offset by storingVos on C1 and C2 during reset

But, the op amp must :

• Be able to slew fast

• Be stable for unity gain

Page 23: Switched Capacitor Concepts & Circuits

SC Gain Circuits with Reset (cont.)

• Very similar to previous circuit, with Vos cancellation and gain = - C1/C2 , except

• Vout is stored on C3, which is used during reset to keep the output voltage from needing to slew down to 0V

• C4 is an optional “deglitching” cap sometimes used to provide feedback during the clock’s non-overlap time

Page 24: Switched Capacitor Concepts & Circuits

Quazi-Differential SC Circuits

• By including a “replica” of all caps and switches on the op amp’s + input, a single-ended circuit can be made to appear “quazi-differential”, thus making charge injection errors look common-mode (max improvement ~ 20dB)

• Also provides differential to single-ended conversion

Page 25: Switched Capacitor Concepts & Circuits

Reducing the Effects of Charge Injection

• Charge injection errors can be greatly reduced by the used of “advanced” clocks, which switch just slightly earlier than the main clocks

• Once Q3,4 above turn off, one side of C2,3 is an open circuit the charge injected by the other switches can’t change the charge stored on these caps!

• Still have charge injection from Q3,4 , but since these are tied to a virtual ground this just looks like an offset

Page 26: Switched Capacitor Concepts & Circuits
Page 27: Switched Capacitor Concepts & Circuits

Tradeoff between Speed & Charge Injection

• For high speed, we need to use large switches tosettle fast, but this means more charge injection!

2ERR

CLK

ONOXCHERR

ONOX

ON

ONCLKON

L5Vf

ngsubstitutiC2VWLC

C2QV

VLWC

1R

CR101fCR5

2T

µ<

==

µ=

<⇒>

Page 28: Switched Capacitor Concepts & Circuits

Tradeoff between Speed & Charge Injection

• Note that this result is independent of cap size and supply voltage, and is proportional to 1/L2

Big improvements as we scale to smaller processes!