2. circuit implementation of the transfer function
TRANSCRIPT
2. Circuit implementation of the transfer function
Kanazawa UniversityMicroelectronics Research Lab.Akio Kitagawa
3
Linear elements for continuous-time circuit
s
/s
In1
In2
Out
Out
Out
In
In
Adder and subtractor
Differentiator
Integrator
The parameters , , and are the gain of an amplifier, a differentiator, and an integrator, respectively.
OutInConstant multiplication
4
)()()(1)(
outinoutinoutinout
inout
in
out
VVs
VcVbs
VcVbs
V
VbVcscsb
VV
Block diagram of 1st-order LPF
csbVin Vout =
scsb
VVsHin
out)(
cb
Transfer function
/s VoutVin
NOTE: A feedback of a constant introduces a constant term in a denominator.
Block diagram of transfer function
5
Block diagram of 1st-order HPF
cssa
Vin Vout =
s
scssa
VVsHin
out)(
ca
/s VoutsVin
)()()(1)(
outinoutinoutinout
inout
in
out
VVss
VcVsas
VcVsas
V
VsaVcscssa
VV
Transfer function Block diagram of transfer function
6
)()()(1)()(
outininoutininoutininout
inout
in
out
VVVss
VcVbVsas
VcVbVsas
V
VbsaVcscsbsa
VV
Block diagram of 1st-order transfer function
csbsa
Vin Vout=
ss
csbsa
VVsHin
out)(
cba
/s Vout
sVin
Transfer function
Block diagram of transfer function
7
})({})({
})(1{1)(1)(
1001
10101
01
2
2
2
outoutinoutoutin
outoutinoutoutinout
inout
in
out
VVVss
VdVeVcss
VdVeVcss
VeVsdVcs
V
VcVesds
esdsc
VV
Block diagram of 2nd-order LPF 1esds
c2Vin Vout
010112
102)(
ssesds
cVVsHin
out
010
11
10
edc
/s VoutVin/s
NOTE: A feedback element 0 introduces a constant term in a denominator, and 1makes a design flexibility.
8
Block diagram of 2nd-order LPF 2esds
c2Vin Vout
010112
102)(
ssesds
cVVsHin
out
010
10
10
edc
11Vs
Vout
/s VoutVin
/s
V1
)()(
)()(1)(
01101
011
001
01
011001
012
2
2
outinoutin
outoutinoutoutinout
inout
in
out
VVVss
VeVdVcss
VeVsdVcss
VeVsdVcs
V
VcVesds
esdsc
VV
NOTE: This is another solution of 2nd-order LPF.
9
Block diagram of 2nd-order LPF 3esds
c2Vin Vout
1010
210
2)(ssesds
cVVsHin
out
10
10
10
edc
Vout
s
/sVin/s
)(
)(
)(1
10
101010
10
2
outoutin
outoutin
outoutinout
VVsVss
VeVsdVcss
VeVsdVcs
V
10
)()(
)()(
)(1)(1
0010
111
010
1010
10
11
1
10
10
22
2
2
2
outoutininin
outoutininin
outoutinininout
in
out
VVsss
VVss
Vss
VeVsdss
VbVsas
Vcss
VeVsds
VcVsbVsas
V
esdscsbsa
VV
Block diagram of 2nd-order transfer function
010
110
010
11
11
edcba
esdscsbsa
2
2
VoutVin
Vout
s
/sVin /s
s
11
Stability of higher order transfer function
β’ A 2-stage-cascade connection of the integrators or differentiators can cause instability of the circuit with the feedback loop, because of the phase rotation > . In the worst case, the circuit unexpectedly oscillates.
log
-
|HI()|(dB)
-20dB
Bode diagram of integrator
The feedback loop with the phase shift > causes the negative feedback (NFB) or positive feedback (PFB).
1st stage2nd stage
log-/2
β π» π
12
Stability and distribution of pole
You can simply cheek the stability of the circuit with the pole arrangement of the transfer function. The poles on the imaginary axis and right half plane cause the instability of the circuit.
s-plane
Re
Im
Stable
Instable
Pole Impulse responsepositive real number exponential growthconjugate complex number divergent vibrationpure imaginary number steadyβstate vibration
14
Integrator and differentiator (1)Integrator by BET Differentiator by BET
)(1
)()(
1)()(
)()()(
1
1
1
zVzTzVTzV
zzVzV
zVzzVzV
inS
XSout
inX
XinX
)(1)(1
zVTzzV inS
out
)(
1)( 1 zV
zTzV inS
out
)(1
)}()({1)(
)()(
1
1
1
zVTz
zVzVzT
zV
zVzzV
inS
ininS
out
inY
z-1
Vin(z) Vout(z)VX(z)
TS
z-1
Vin(z) Vout(z)
VY(z)
1/TS
οΌ
οΌ
15
Integrator and differentiator (2)Integrator by bilinear transform Differentiator by bilinear transform
)(11
2)(
2)(
)()1()()1(
)()()1()(
1
1
11
11
zVzzTzVTzV
zVzzVz
zVzzVzzV
inS
XS
out
inX
XinX
)(112)( 1
1
zVzz
TzV in
Sout
)(11
2)( 1
1
zVzzTzV in
Sout
)(112)(2)(
)()1()()1(
)()()1()(
1
1
11
11
zVzz
TzV
TzV
zVzzVz
zVzzVzzV
inS
XS
out
inX
XinX
z-1
Vin(z) Vout(z)VX(z)
TS/2z-1 z-1
Vin(z) Vout(z)VX(z)
2/TSοΌ
οΌ
z-1
οΌ
οΌ
16
IntegratorIntegrator by FET
)(1
)( 1
1
zVzzTzV in
Sout
TSz-1
1-z-1 Vout(z)Vin(z)
The FET integrator is equivalent to the BET integrator + the delay element of Ts.
z-1Vin(z) Vout(z)VX(z) TS
NOTE: The integrator and delaying integrator show the same characteristic except for delay time. The delaying integrator does not output the hazard generated by the adder.
Block diagram of variable s and z
17
Examples of 1st-order LPF
variable s
variable z
Continuous-time analog circuits
Discrete-time analog circuits and digital circuits
Implementation methods of analog circuits
19
Signal Circuitry Components FeaturesContinuous time RC R, C, OPA High precision, low
power consumptiongm-C C, OTA High speed, low power
consumptionDiscrete time Switched
capacitorC, CMOS-switch, OPA
Very high precision
Switched Current
Current mirror, CMOS-switch
Very high speed
2 types of OPA
)(2
inind
out VVAV
Function
)(2
inind
out VVAV
Ad = Differential Gain
Symbol of Single-end OPA
Symbol of Full-differential OPA
)( inindout VVAV
Ad = Differential Gain
outoutout VVV
20
AC characteristic of OPA
21
1st pole
2nd pole
0dB
Open loop gain
f
f
|Ad(f)|
f)0deg.
-90deg.
Unity gain frequency fu or GBP
Slope = -20dB/Dec.
Linear operators
22
cs
a/s
In1
In2
Out
Out
Out
In
In
Addition and subtraction
Derivation
Integral
(Current summing)
a, b, c : circuit constants
Linear operation elements in the analog circuits
(Capacitor)
(OPA or OTA)
b OutIn (Resistor)Constant factor
(Typical implementation)Operation Symbol
Continuous-time analog operators
23
π π‘ππ π‘ππ‘ πΆ
ππ£ π‘ππ‘
ββ πΌ π π πΆ Β· π π
π π‘1π π£ π‘ πΊπ£ π‘
ββ πΌ π πΊ Β· π π
π£ π‘1πΆ π π‘
1πΆ π π ππ
ββπ π
1π πΆ πΌ π
q -q
Constant multiplication
Voltage differentiation
Current integration
q -q
Continuous-time analog integrator (CAI)
24
π» π π π π π
πΊπΆπ
Transfer function of CAI:
I(s)
Implementation example 1
25
π1
π πΆ2 π πΆ1 Β· π1π 1π
1π 2π
π» π ππ
πΆ1πΆ2
π πΊ1πΆ1
π πΊ2πΆ2
ππ ππ π
G1-1sC2
Vin(s) Vout(s)++
G2sC1
++
++
Full-differential implementation
26
π» π ππ
πΆ1πΆ2
π πΊ1πΆ1
π πΊ2πΆ2
π» π ππ
πΆ1πΆ2
π πΊ1πΆ1
π πΊ2πΆ2
Implementation example 2
27
C2G1Vin
+ Vout+
G4
C2
G4
+- +-Vin
- Vout-+
- +-
G1
G3
G3
C1
C1
G2
G2
π» π πΊ1πΊ2πΆ1πΆ2
π πΊ4πΆ2 π
πΊ2πΊ3πΆ1πΆ2
Delay element
29
1
00
)()(
)()()(
)()()(
zTxeTx
dteTttxdteTtx
TttxTtx
SsT
S
stS
stSd
SSd
S
z-1 Vout(z)Vin(z)
π£ π‘ π£ π‘ πTime shift for 1-cycle
Discrete-time analog operators 1
30
πΌ π π πΆ Β· π π πΌ π§ πΆ 1 π§1π V z
π π 1
π πΆ πΌ π π π§1πΆ
11 π§ πΌ π§ π
Voltage differentiation
Charge integration
i(t)
π π§ πΌ π§ π πΆ 1 π§
i(t)
π π§1πΆ
11 π§ π π§
Discrete-time analog operators 2
31
Constant multiplication (Switched capacitor)
π π‘ πΆ Β· π£ π‘π2
β π π§ πΆ Β· π π§ π§
π π‘ πΆ Β· π£ π‘βπ π§ πΆ Β· π π§
q -q
Non-overlapping clock generator
32
Delay
Delay
1
2
The two-phase clocks 1 and 2 are required to drive the switched capacitor. The edge of clocks 1 and 2 must not overlap, because the leak of the charge stored in capacitors causes the error of the signal processing.
DAI: discrete-time analog integrator 1
33
Positive phase integrator
+- +-
1
1
CM
1
1
CM
in+
in-
out+
out-
Q(z)
π» π§πΆ1πΆ2
π§1 π§
DAI: discrete-time analog integrator 2
34
Opposite phase integrator
+- +-
1 1
CM
1 1
CM
out+
out-
in+
in-
π» π§πΆ1πΆ2
11 π§
Q(z)
Implementation example
35
+- +-
C11
1
VCM
C11
1
VCM
C2
C3
Vin+
Vin-
Vout+
Vout-
C21 1
VCM
C11 1
VCM
-C1ο½₯z-1/2Vin(z) -1C3(1 β z-1)
Vout(z)
C2
++
+
π» π§π π§π π§
πΆ1πΆ2 πΆ3
π§
π§ πΆ3πΆ2 πΆ3
π1πΆ3
11 π§ πΆ1π§ π πΆ2 Β· π
(LPF)
Poles in s-plane and z-plane
36
Re
Im
Re
Im
ff
s-plane z-plane
2 1 π
a
a2π
1 - a
π2
π4
3
CornerCorner
Digital operators 2
39
Integration (BET)
Integration (FET)
π π§ π π§ π§ π π§
π π§1
1 π§ π π§
π π§ π§ π π§ π π§
π π§π§
1 π§ π π§
Adder
NOTE: The FET integrator does not output the hazards, because the digital delay element is the same as an register.