Professional Documents
Culture Documents
Dr. I. Fletcher
Analogue Circuit Design
Analogue circuits generally use :
• Passive Technology
Resistors, Capacitors and Inductors i.e. filters
Waste silicon area
Difficult to construct/Accuracy
Double Poly Capacitors
• Active Technology
Diodes, Transistors i.e. Logic, op-amps
CMOS/BiCMOS construction
Switching frequency
Digital to Analogue Conversion
DAC’s produce an analogue output which is
proportional to an n-bit digital code input :
Voltage Vref Scaling D.Vref Output Vout
Reference Network Amplifier
Binary
Most Significant Bit (MSB) Latches Least Significant Bit (LSB)
represents the largest switched represents the smallest switched
level that can take place level that can take place
b1 b2 b3 bn
n–bit Digital Signal
VRange 0.1
LSB Value : ≤ VRange
2n 100
100
Hence : 2n ≥ n ≥ 10
0.1
Binary Weighted DAC
b1 I1
VRef R Remember for ‘ideal’ op-amps :
b2 I2 • Virtual Earth V+ = V-
2R
b3 I3 • Zero Input Current
4R
b4 I4
8R
b5 I5 Rf
16R
b6 I6
32R I _
b7 I7
64R Vo
b8 I8 +
128R
R 2R
R
R
b1 b2 b3 bn-1 bn
VRef
φ2.bn φ1 φ2.b2 φ1 φ2.b1 φ1
Reset discharges
During the clock low ( clk ) : VC2 and hence VO
prior to conversion!
bi = 0 C1 discharged to 0V
bi = 1 C1 charged to VRef
During the clock high ( clk ) :
Charge shared between C1 and C2 VO = VC2
After n clocks the
Linear and ‘halved’ if C1 = C2 ! conversion is complete
Charge Redistribution Operation
bi.clk clk
LSB b4 b3 b2 MSB b1
-Vref
+Vref
Clock
Solution : 1 2 3 4
A +VRef +VRef +VRef +VRef
B +VRef +3VRef /2 +3VRef /2 +3VRef /2
C +VRef +3VRef /2 +7VRef /4 +7VRef /4
VO -VRef -VRef /2 -VRef /4 -VRef /8
Analogue to Digital Conversion
Analogue to Digital Conversion (ADC) requires
control logic to determine the equivalent digital
code to the current analogue input :
Analogue
Input
Vin + Error Control
_ Logic
n-bit
digital
word
Vd
DAC
Analogue version of
the digital equivalent
50%
Vd 1 LSB
Vd DAC 25%
1 clock
0%
Time (clock Pulses)
50%
Vd 1 LSB
Vd DAC 25%
1 clock
0%
Time (clock Pulses)
0%
Time (clock Pulses)
2 2 2
Vin Σ Z -1 Σ Z -1 Σ Z -1
+1 -1 +1 -1 +1 -1
where − 1 ≤ bi ≤ +1 and
-Vref
+Vref range − VRef ≤ VADC ≤ +VRef
2 2 2
-2V
Vin Σ Z -1 Σ Z -1 Σ Z-1
+1 -1 +1 -1 +1 -1
-Vref
+Vref
+
_ output
Va
+VRef
+1
+VRef
Σ -1
Vin -1 Gnd
+
_ output
Va
+VRef
+1
+VRef
Σ -1
Vin -1 Gnd
Clock No. 1 2 3 4 5 6 7 8
Solution : Va/Vref 0.35 0.70 0.40 0.80 0.60 0.20 0.40 0.80
Vb/Vref 0.70 1.40 0.80 1.60 1.20 0.40 0.80 1.60
Output 0 1 0 1 1 0 0 1
0 1 0 1 1 0 0 1
Vin = 10 + + + + + + + ≅ 3.477V
*
Check :
2 4 8 16 32 64 128 256
Parallel ADC
VRef Vin
R
+_
R
+_
R
+_
R Digital
Encoding
Shift Digital
Network
Register output
R
+_
R
+_
R
• Fastest Conversion
• Large Area : Doubling every bit
2n Identical Resistors
• Accuracy requires : 2n-1 Identical Comparators
Switched Capacitors
Previous lessons have shown the problems
associated with implementing resistors in VLSI
technology.
One alternative approach is to use high
frequency switched capacitor circuits :
φ1 φ2
I I
R
Vin Vout Vin C Vout
Vin − Vout
Ohm’s Law : I =
R
Switched Capacitor
φ
Analysis
φ1 φ2
I
Vin C Vout
T 1
Reff = =
C f C .C
Alternative SC Circuits - 1
The previous SC network is a parallel realisation.
Alternative forms used are :
φ1 φ2
Series SC : 1
Vin Vout Reff =
C fCC
φ1 φ2
Series-Parallel 1
Reff =
f C (C1 + C2 )
SC : Vin Vout
C1 C2
Alternative SC Circuits - 2
φ1 φ2
C 1
Bilinear SC : Vin Vout Reff =
4f C C
φ2 φ1
φ1 φ2
C
Stray-Insensitive 1
Vin φ2 φ1 Vout Reff =
SC : fCC
R
Vin C Vout Vin CR C Vout
+
Vin Vout Vin CR Vout
Where :
Vout ( s) 1 1 f C .CR
=− =−
Vin ( s) sReff C s C
‘Active’ SC Filters Feedback
Certain SC circuits are no good for resistive
feedback in op-amp circuits as the input-output
connection must be present at all times.
For example consider φ1 φ2
a differentiator :
R
C
_
CR
C
+
_
Vin Vout
φ1
+
Vin Vout
C
_ CR
+
Vin Vout
Worked Example
R1 R2
Sketch a non-inverting 1st
_
order active LPF filter using R
+
Vin C Vout
Bilinear SC circuits.
Solution : φ1 φ2 φ1 φ2
OK as feedback
Vout (s ) R1 + R2 1 C1 C2 present during both
=
Vin (s ) R1 sRC +1 clock phases !
φ2 φ1 φ2 φ1
C + C2 1
= 1 _
C
s C CR
+
4f C + 1
2
C R Vin C Vout
φ1 φ2
Tutorial Questions
1. Design the Algorithmic DAC to perform a
unipolar conversion from 0 to VRef
2. How long would an 8-bit Counter DAC take to
convert a 2V input if the DAC output is in the
range -10V to +10V and fC = 2MHz.
3. Develop an expression for the clock speed that
is required to allow the tracking ADC to follow
an input of bandwidth ωS.
4. Derive the effective resistance of :
i) Series SC
ii) Parallel-Series SC
Tutorial Solution – Q1
A 1/2 B 1/2 C 1/2
0 Σ Z -1 Σ Z -1 Σ Z -1 Σ Z -1 VO
LSB b4 b3 b2 MSB b1
VIN(-)
VIN(+)
b b b b
Where : VO ( z ) = b1.z −1 + 2 .z − 2 + 32 .z −3 + 43 .z − 4 + ..... + nn−1 .z − n VIN
2 2 2 2
2n − 1
If b’s all Zero’s : VO ( z ) = n −1 VIN (− ) = ‘0’ VIN(-) = 0
2
2n − 1
If b’s all One’s : VO ( z ) = n −1 VIN (+ ) = ‘VRef ’ VIN(+) ≅ VRef
2
2 n −1
Exactly : VIN (+ ) = n .VRef → VRef !
2 −1
n →∞
Tutorial Solution – Q2
+10V Error changes
sign !
5V
2V
0V
Vd 1 LSB
-5V
1 clock
-10V
Time (clock Pulses)
Hence time to
TC = Vin Tmax = 76.8 = 77 µsec
*
convert is :
Tutorial Solution – Q3
System of bandwidth ωS has a maximum rate of change of
dA sin(ωS t )
= AωS cos(ωS t ) ω =0 = AωS volts/sec
dt S
Normalised sine 8
Using 8-Bit
wave ( ωS = 1 ) 7
Conversion :
6
fC=128Hz
5
4
fC=96Hz
3
fC=64Hz
2
0
0 1 2 3 4 5 6
Tutorial Solution – Q4(i)
φ1 φ2
dq (t )
T
Series SC : I=
Vin Vout T 0
C
T 1
Reff = =
C f C .C
Tutorial Solution – Q4(ii)
φ1 φ2
dq (t )
T
Series-Parallel
I=
SC : Vin Vout T 0
C1 C2
T 1
Reff = =
C1 + C 2 f C .(C1 + C 2 )