Interface Electronics

Laboratory 06: Pipeline ADC

Prof. Jörg Vollrath



Overview

This is a laboratory to simulate, build and measure a pipeline ADC.

Pipeline ADC circuit: Overview

This simulation contains static CLK for simulating transfer characteristic.
Dynamic CLK statements are used for normal operation generating serially 8 bit at Dout.
Generating a positiv digital signal from 0V to 3V req8bit_Pipeline_Sim_Transferuires R3 and R4 connected to VDDp.
On the left are the 2 switches selecting input voltage V(in) or V(res) from a pipeline stage operation.
The voltage Vin is saved as Vinx on sample and hold capacitor C1.
The comparator X3 generates data output Dout.
Vout = 2 * Vinx - Dout is generated by X1 and saved via a switch on C2 as Voutx. Buffer X6 feeds VoutX as residue Vres back to the input for the next cycle.
CLK 1 is shortly activated to sample V(in) and generate the first Dout. For the number of required bits CLK2 and then CLK 3 is activated generating the remaining bits.

  • Simulate a ramp signal with static CLKs and discuss the transfer characteristic.
    Comment out the .save command to see all signals.
    Activate the CLK PULSE statements and deactivate th static CLK DC statements.
  • Use the ramp signal for calibration
  • Simulate a sine signal and calculate SNR, ENOB
  • Simulate a sine signal and calculate SNR, ENOB with calibration



A dout signal 0V..2.6V is generated.
Input range is from -1.44V up to 1.44v.
There will be missing codes due to output voltages at the switching point of:
1.128V..-1.128 V.
The rounded shape of dout caused by the diodes in the opamp model will give wrong codes at the transition.
A real opamp can avoid this, but can introduce a feedback loop to Vintx via opamp X1.
The comparator opamp model has to include an inverter output stage and a separate sample and hold for Vinx for gain is needed to prevent feedback oscillation.

Ramp simulation


CLK1 controls the sampling every 480µs.
CLK2 and CLK have a cycle of 60µs.
480/60 = 8 bits.
This is a 8-bit pipeline ADC.

The transient simulation is done for 983.4ms.
983.4ms/480µs = 2048
2048 samples are generated.
Read raw file should have a step size of 480µs.

The DAC has a Vref of VDDp = 3 V and a resolution of 8-bit.
LSB = 3/256 V = 0.01171875 V.
VDD = 2V
LSB = 2/256 V = 0.0 V.
Simulation gives 7mV step size due to RC limits?.

Pipeline ADC circuit: Overview

This simulation contains static CLK for simulating transfer characteristic.
Dynamic CLK statements are used for normal operation generating serially 8 bit at Dout.
Generating a positiv digital signal from 0V to 3V requires R3 and R4 connected to VDDp.
On the left are the 2 switches selecting input voltage V(in) or V(res) from a pipeline stage operation.
The voltage Vin is saved as Vinx on sample and hold capacitor C1.
The comparator X3 generates data output Dout.
Vout = 2 * Vinx - Dout is generated by X1 and saved via a switch on C2 as Voutx. Buffer X6 feeds VoutX as residue Vres back to the input for the next cycle.
CLK 1 is shortly activated to sample V(in) and generate the first Dout. For the number of required bits CLK2 and then CLK 3 is activated generating the remaining bits.





SN74HC595Serialparallel
ICpinNrNameNode
SN74HC5951QBDD1
SN74HC5952QCDD2
SN74HC5953QDDD3
SN74HC5954QEDD4
SN74HC5955QFDD5
SN74HC5956QGDD6
SN74HC5957QHDD7
SN74HC5958GNDGND
SN74HC5959QHDD8
SN74HC59510/SRCLRVCC
SN74HC59511SRCKCLK2
SN74HC59512RCKCLK1
SN74HC59513/GGND
SN74HC59514SERDout
SN74HC59515QADD0
SN74HC59516VCCVCC
CD4053B3switch
ICpinNrNameNode
CD4053B1byvres
CD4053B2bx-
CD4053B3cycy
CD4053B4OUT cvoutx
CD4053B5cx-
CD4053B6INHGND
CD4053B7VEEVPP-
CD4053B8VSSGND
CD4053B9SEL CCLK2
CD4053B10SEL BCLK3
CD4053B11SEL ACLK1
CD4053B12ax-
CD4053B13ayvin1
CD4053B14OUT avinx
CD4053B15OUT bvinx
CD4053B16VDDVCC
TL9744 Opamp
ICpinNrNameNode
TL9741OUT1Vres
TL9742IN1-Vres
TL9743IN1+voutx
TL9744VCC+VPP+
TL9745IN2+vinx
TL9746IN2-op2m
TL9747OUT2cy
TL9748OUT3vin1
TL9749IN3-vin1
TL97410IN3+Vin
TL97411VCC-VPP-
TL97412IN4+vinx
TL97413IN4-vref
TL97414OUT4dout
EE
EENameNode
DIO8CLK1CLK1
DIO9CLK2CLK2
DIO10CLK3CLK3
VPP+VPP+
VPP-VPP-
GNDGND
OSC1Vin
OSC2Dout
OSC3Vres
OSC4
AWG1Vin
DIO16DigitalData0DD0
DIO17DigitalData1DD1
DIO18DigitalData2DD2
DIO19DigitalData3DD3
DIO20DigitalData4DD4
DIO21DigitalData5DD5
DIO22DigitalData6DD6
DIO23DigitalData7DD7
VCCVCC
Vref1vref
Namepinwire
R5Hop2m
R5Lcx
R6Hdout
R6Lop2m
C1Hvinx
C1LGND
C2Hvoutx
C2LGND



Input buffer Opamp

The slew rate limit and bandwidth of the buffer is measured.
TL9744 Opamp
ICpinNrNameNode
TL9744VCC+VPP+
TL9748OUT3vin1
TL9749IN3-vin1
TL97410IN3+Vin
TL97411VCC-VPP-
EE
EENameNode
VPP+VPP+
VPP-VPP-
OSC1Vin
OSC2Vin1
AWG1Vin
VPP+ = 4 V; VPP- = -4 V.
Apply a sine function via AWG1 with 2 V amplitude.

Sample and hold

The frequency limit of sample and hold is measured.
Excercise select A line DIO8 and look at the transfer of a sine signal.
CD4053B3switch
ICpinNrNameNode
CD4053B6INHGND
CD4053B7VEEVPP-
CD4053B8VSSGND
CD4053B11SEL ACLK1
CD4053B13ayvin1
CD4053B14OUT avinx
CD4053B16VDDVCC
TL9744 Opamp
ICpinNrNameNode
TL9744VCC+VPP+
TL9748OUT3vin1
TL9749IN3-vin1
TL97410IN3+Vin
TL97411VCC-VPP-
EE
EENameNode
VPP+VPP+
VPP-VPP-
OSC1Vin
OSC2Vin1
OSC3Vinx
AWG1Vin
DIO8CLK1CLK1
Namepinwire
C1Hvinx
C1LGND

VCC is enabled for 3.3V.
VPP+ = 3 V; VPP- = -3 V
AWG1 amplitude: 2V, T= 10us f = 100kHz,
Digital DIO: 2.5 us high; T=5us; f = 200kHz;
Osci: Time 2us/div

Comparator

Document the level of the outputs

Residue

First connect Op2 and measure waveform.
Connect cy switch of CD4053 and hold the clock C at VDD.