Академический Документы
Профессиональный Документы
Культура Документы
of Analog-to-Digital Converters
Grzegorz Zareba
Olgierd. A. Palusinski
University of Arizona
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Outline
Introduction and Motivation
Summary
Future work
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Introduction
Simulation Levels
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Introduction
Available Simulation Tools
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Introduction
Simulations with Commercial Simulation Tools
if v_div == v_first/I;
t_res(k,1)=v_div;
t_res(k,2)=i; Matlab
k=k+1;
end;
module test;
reg [4:0] inreg;
wire [1:0] outwire; Verilog
integer I;
Simulink
Additional processing
Design description
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Introduction
New Approach in Behavioral Modeling of A/D Converters
DLL modules
Design description
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Introduction
New Approach in Behavioral Modeling of A/D Converters
Advantages:
• Any programming environment can be used to create a DLL module
• DLL module can be modified without having to update the simulator
• Executable module
Disadvantage?
• It seems that creation of a DLL module requires a proficiency in programming
*.exe *.dll
Simulator + BBMs = Executable model of A/D converter
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Structure of the simulator
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Representation of A/D converters
Simulation parameters:
• Simulation time
• Simulation mode
Parameters of BBMs:
• input offset voltage
Connectivity of BBMs [BEGIN] • droop rate
name="SubADC"
id=23
• slew rate
[BEGIN] type=Block_SUBADC • hysteresis
name="Vref N"
id=27 <in>
• delay
type=Block_VREFN in[1]=27:out[1]
in[2]=15:out[1]
<out>
out[1]=31:in[2] <out>
out[1]=23:in[1] out[1]=14:in[1]
out[1]=24:in[1] out[2]=14:in[2]
out[1]=25:in[1]
out[1]=26:in[1] <ctrl>
ctrl[1]=3:out[1]
[END] [END]
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Basic Building Modules of A/D converters
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
BBMs – Example of BBM written in C++
if( bCtr )
{ // Block activated by the control line
if( bSample )
{
dOutput = dInput;
bSample = false;
}
else
{ More flexible than existing
dOutput = dInput;
simulation languages
bSample = true;
}
}
else // Block activated by the output line
{
if( bSample )
dOutput = dInput;
}
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Basic Building Modules
Sample-and-Hold Module
tacq
τ =−
ln ( 0.001)
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Basic Building Modules
Sample-and-Hold Module – Behavioral model
⎛ ∆t
⋅ln ( 0.001) ⎞
VCH ( t ) = VCH ( t − ∆t ) + (Vin ( t ) + Voff ( t ) ) ⎜ 1 − e ⎟
tacq
⎜ ⎟
⎝ ⎠
∆t
ln ( 0.001)
(
VCH ( t ) = VCH ( t − ∆t ) − V in
(t )) ⋅ e tacq
+ VCH ( t − ∆t )
VCH ( t ) = VCH ( t − ∆t ) − Dr ⋅ ∆t
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Basic Building Modules
Sample and Hold Module – Simulation results
5
Vout, Vctrl [V]
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6 3.8
t[us]
4
Vin,Vout[V]
0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38
t[us]
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Basic Building Modules
Other Modules
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Basic Building Modules
Graphical representation of BBMs
Max Hysteresis
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Simulator core
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Simulation Module – Multilevel dynamic list
PSpice Schematic
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Simulation Module – Simulation setup
Simulation Setup:
Simulation Time
Simulation Mode
Clock Frequency
Output File
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Behavioral Simulator of A/D Converters
Post-Processing Module
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
8-bit Multistage A/D Converter
17 Comparators
17 Analog Switches
1 Reference Voltage
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
8-bit Multistage A/D Converter
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
8-bit Multistage A/D Converter – Simulation results
DNL Error
D N L [L S B ]
0
-0.05
-0.1
-0.15
-0.2
0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Input codes
INL Error
0.2
0.15
0.1
I N L [V L S B ]
0.05
0
-0.05
-0.1
-0.15
-0.2
0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Input codes
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
8-bit Multistage A/D Converter – Simulink
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
Pipelined A/D Converters
Basic elements:
• Sample-and-hold
• Sub-ADC
• Sub-DAC
• Summation
• Amplifier
• Shift register
• Digital correction
VFS
Vres = Vin − Dk (Vin ) ⋅ [V ]
2k − 1
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
8-bit Pipelined A/D Converter - Schematic
2-2-2-2-bit configuration
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Simulation of A/D Converters
8-bit Pipelined A/D Converter – Simulation results
Imperfections:
• Synchronization errors
• Input offset voltage
Imperfections:
• Stability of Vref
• Gain error
• Input offset voltage
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Summary
New approach in behavioral simulation of A/D Converters
New simulation algorithm based on combination of an event driven
scheme and data flow technique
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Future work
Implementation of load effect
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING
Questions ?
ELECTRICAL and
CMSL - Circuit Modeling and Simulation Laboratory COMPUTER
ENGINEERING