Interface Electronics

Interface electronics deals with data converters. Data converters are very interesting electronic systems combining digital, analog electronics and signal processing.
  • System perspective: Microcontrollers, FPGAs and ADC, DAC
  • ADC, DAC support circuits
  • ADC, DAC circuit architecture
  • ADC, DAC simulation, test and measurement
10.10.2023

1. Introduction

  • Analog versus digital, data converter systems
  • Data converter metrics:
    • N, Vref, Vfs, Vmax, LSB
Reading: CMOS: Circuit Design, Layout and Simulation, Baker, Chap.28, p.932-940
📹 Video Introduction 7.10.2020
10.10.2023

2. LTSPICE

  • Installation and Operation
  • Behavioral models of AD converters and DA converters
Reading: CMOS: Circuit Design, Layout and Simulation, Baker, Chap1, p.8-29
📹 Video LTSPICE 12.10.2020



17.10.2023

3. Static errors and measurement

  • INL, DNL, offset, gain error
  • INL, DNL example
  • INL, DNL histogram testing
Reading: CMOS: Circuit Design, Layout and Simulation, Baker, Chap.28, p.932-964
📹 Video INL and DNL 14.10.2020
17.10.2023

4. Spectral Test

  • Quantization Error
  • Dynamic characteristic: spectrum analysis
    • Sampling
    • Aliasing
    • FFT, SNDR
Simulation of INL, DNL and spectrum analysis

Reading: CMOS: Circuit Design, Layout and Simulation, Baker, Chap.28, p.953-957
📹 Laboratory 21.10.2020 Web report and ADC DAC simulation
📹 Lecture 23.10.2020 Spectral test

24.10.2023

5. DAC architecture

  • R string
  • Charge Scaling
  • Interpolating, segmented and split array architectures.
  • R2R and C2C architectures
Laboratory 1

Reading: CMOS: Circuit Design, Layout and Simulation, Baker, Chap.29, p.965-984
📹 Lecture 26.10.2020 DAC architectures

31.10.2023

6. Errors in Practical Realization

  • Systematic Errors
  • Statistical Errors and Mismatch
  • Impact on INL and DNL
  • DAC Calibration
Laboratory 2

Reading:
Link:
📹 Lecture 28.10.2020 DAC errors


7.11.2023

7. DAC practical considerations

  • Settling time
  • Spurios signal coupling
  • Timing error
  • Reconstruction filter
  • Implementation Examples
Laboratory 3

Link:
📹 Lecture 2.11.2020 DAC practical considerations

14.11.2023

8. Analog to digital converters (ADC)


Sampling and Jitter
  • Sampling: Resistance, capacitance, jitter
  • Single slope and dual slope ADC
Laboratory 4

Reading:
📹 Lecture 4.11.2020 ADC Architectures, sampling, jitter


21.11.2023

9. Basic ADC Architectures

Laboratory 5

Reading: CMOS: Circuit Design, Layout and Simulation, Baker, Chap 29, p.985-1007
📹 Lecture 25.11.2020 Flash and SAR ADC

28.11.2023

10. Pipeline ADC start

  • Building blocks and simulation of a pipeline AD converter.
Laboratory 6

Reading:
CMOS: Circuit Design, Layout and Simulation, Baker, Chap 29, p.994-998
CMOS Analog Circuit Design, Allen, Holberg, Chap 10, p.612-729
📹 Video Pipeline ADC 16.12.2020


5.12.2023

11. Pipeline ADC details


Laboratory 7

Reading:
12.12.2023

12. Oversampling ADC

Sigma delta ADC, PWM
  • Passive 1st order sigma delta ADC
    Simulation example
  • Active first order sigma delta ADC with decimation filter
  • Active second order sigma delta ADC with decimation filter
Laboratory 8

Reading:
📹 Lecture 1.12.2020 Sigma Delta ADC

19.12.2023

13. Advanced sigma delta ADC


Sigma delta ADC, PWM
  • MASH 2-1 sigma delta ADC with Decimation filter
Laboratory 9

Reading:
📹 Lecture 9.12.2020 Advanced Sigma Delta ADC

\( FOM = \frac {Power}{f_{sample} \cdot 2^{NBit}} \)
9.1.2024

14. Summary and Outlook

  • Figure of Merit for ADCs
  • Noise in data converters
  • Interfaces
Laboratory 10
Laboratory 11-14 and Summary
16.1.2024; 23.1.2024
Reading:


Laboratory 2023


Students will do their reports as 1 page IEEE report.
Students will do their reports as Internet web sites.
Making of a web report

A basic setup of files are provided here as an zip file (39 MB).

  1. Guided laboratory 1,2: LTSPICE and data converters
  2. Laboratory 3: Simulating an ADC DAC test setup
    Internet Copyright Form
  3. Word example report
  4. Laboratory 4: Setting up the Arduino MKR WIFI 1010
    * Building and measuring a R2R DAC
    Link:
    📹 Lecture 18.11.2020 Laboratory review

    Optimize the setup for 1 channel DAC, ADC: (1) Maximum speed, (2) maximum resolution, (3) maximum performance (speed, resolution)
    Provide changes in program and/or changes in hardware.
    Provide evidence with measurements: Offset error, gain error, ramp INL and DNL, FFT SNR, SDR, INL and DNL
    Document your results as web page.

Nr Date Group Date GroupRaum
01 24.10.2023 Di 8:00 A 25.10.2023 Mi 14:00 BT219b
02 07.11.2023 Di 8:00 A 08.11.2023 Mi 14:00 BT219b
03 14.11.2023 Di 8:00 B 15.11.2023 Mi 14:00 AT219b
04 21.11.2023 Di 8:00 A 22.11.2023 Mi 14:00 BT219b
05 28.11.2023 Di 8:00 B 29.11.2023 Mi 14:00 AT219b
06 5.12.2023 Di 8:00 A 12.12.2023 Di 8:00 BT219b
07 19.12.2023 Di 8:00 A 20.12.2023 Mi 14:00 BT219b
08 09.01.2024 Di 8:00 B 10.1.2024 Mi 14:00 AT219b
09 16.01.2024 Di 8:00 A 17.1.2024 Mi 14:00 BT219b
10 23.01.2024 Di 8:00 B 24.1.2024 Mi 14:00 AT219b
xxx606, A A1 Lab01,2
Lab03
xxx338, H B1 Lab01
Lab02
Lab03
xxx309, G C1 Lab01,2
Lab03
xxx268, G A4 (+) Lab01,2
(+) Lab03
xxx284, I B2 Lab01,2
Lab03
xxx271, L C2 Lab01,2
Lab03
xxx456, G A5 Lab01,2
(+) Lab03
xxx215, K B6 Lab01,2
Lab03
xxx159, M C3 Lab01,2
Lab03
xxx312, R A6 Lab01,2
Lab03
xxx703, A D1 Lab01,2
Lab03
xxx461, Oe C4 (+) Lab01,2
(+) Lab03
xxx093, Z A7 Lab01,2
Lab03
xxx833, N D3 Lab01,2
Lab03
xxx900, R C5 Lab01,2
Lab03
xxx000, x --
xxx407, B D4 Lab01,2
xxx995, R C6 Lab01,2
Lab03
xxx000, x --
xxx000, x --
xxx297, S C7 Lab01,2
Lab03

Laboratories:


  1. 2012:
    Using LTSPICE and FFT for data converter analysis
    Create a 3-Bit Digital to Analog parallel charge scaling converter with LTSPICE.
    Design and simulate a sigma delta analog to digital converter
  2. 2013:
    1. Build a DAC
    2. Build a pipelined ADC and measure performance
  3. 2014:
    A charge coupling DAC
    Build a pipelined ADC and measure performance
  4. 2015:
    Building a successive approximation (SAR) ADC
  5. 2016:
    Building and measuring a sigma delta ADC
  6. 2017:
    Build a C2C DAC for a successive approximation (SAR) ADC
  7. 2018:
    1. Laboratory 1: Research: State of the art literature
    2. Laboratory 2: Research: State of the art commercial devices
    3. Laboratory 3: DA Converter SPICE model INL and DNL
    4. Laboratory 4: Measuring a R2R DAC
  8. 2020,2021:
    Investigation of ADC and DAC realized with Arduino MKR WIFI 1010
  9. 2022: ADC Precision Lab Investigations
    TI Precision Labs: ADCs


Laboratory 2019


Students will do their reports as Internet web sites.
Making of a web report

A basic setup of files are provided here as an zip file (39 MB).

  1. Guided laboratory 1,2: Webpage report, LTSPICE and data converters
  2. Laboratory 3: Simulating an ADC DAC test setup
  3. Laboratory 4: Simulating and measuring an R2R DAC
  4. Laboratory 05: A pipeline ADC
xxx910, A A00 Lab01,2
Lab03
Lab04
xxx700, C E00 Lab03
Lab04
xxx640, R M00 Lab01
Lab02
Lab03
Lab04
xxx726, P A01 xxx , E01 xxx , M01
xxx848, S B00 Lab03
Lab04
xxx639, R H00 Lab01,2
Lab03
Lab04
xxx, N00
xxx851, C B01 xxx426, W H01 xxx, N01
xxx136, H C00 Lab03
Lab04
xxx600, K J00 Lab03
Lab04
xxx , O00 Lab03
xxx742, K C01 xxx419, L J01 xxx, O01
xxx963, M D00 Lab03
Lab04
xxx936, S L00 Lab03
Lab04
xxx085, G P00 Lab03
Lab04
xxx877, S D01 xxx139, R L01 xxx777, T P01

Excercise:


Interface Electronics Problems

Overview of Practical Laboratories and Tools:


  1. Intro: ADC simulation of INL, DNL and spectrum analysis

  2. DAC simulation: DA Converter SPICE model INL and DNL

    Read LTSPICE raw file for data converter analysis.

    JavaScript ADC FFT histogram data analysis application with calibration

  3. DAC measurement: Measuring a 10-Bit C2C DA converter

    Digital signal generator

    Read oscilloscope data

  4. ADC simulation: Sigma Delta ADC simulation example

  5. Building a SAR, pipeline and sigma delta ADC
    Building a successive approximation (SAR) ADC
    Build a pipelined ADC and measure performance
    Building and measuring a sigma delta ADC


Duration: 22:23 min
Presentation of the Online Data Converter Framework



References:

[1] Data Conversion Handbook (Analog Devices), Walter Kester PDF Documents
[2] CMOS: Circuit Design, Layout, and Simulation, Revised Second Edition, R. Jacob Baker, Wiley, ISBN 978-0-470-22941-5, Revised 2nd Edition, 2008
[3] CMOS: Mixed-Signal Circuit Design, Second Edition, Baker, Wiley 2009
www.cmosedu.com
[4] EE247 Analog-Digital Interface Integrated Circuits, Haideh Khorramabadi
Course Description and Material
[5] EE315B - VLSI Data Conversion Circuits, Murmann, Stanford
Murmann Web Page
[6] P. E. Allen, D.R. Holberg, CMOS Analog IC Design, https://aicdesign.org/2016-short-course-notes-2/
[7] IEEE Standard 1241
IEEE Std 1241
[8] Data Converters, Franco Maloberti
Data Converters, Springer
[9] ECE 627 - Oversampled Delta-Sigma Data Converters, Oregon State University, Gabor C. Temes, Data Converters,
Exams available
[10] Analog-to-Digital Conversion, M. Pelgrom, second ed,. Springer,2013(optional)
[11] Bezhad Razavi,
215D, Spring, Data converter problems
UCLA pipelined ADC Simulator UPAS