Task Description
Task Description
Over the course of this lab, you will design a circuit/system that operates according to the
given specifications. You will have to choose and size the transistors and the circuits in
order to meet these requirements, while you will characterize the circuit through
simulation. Due to time constraints, the final step towards silicon manufacturing, the
layout, is omitted.
The design of a circuit in CMOS technology is more complex than the theory you already
know from lectures. Furthermore, there are many more degrees of freedom in the design
compared to what you have learned in the lectures. Therefore, you are encouraged to
come to discuss with us potential difficulties during the consultation hours. Additionally,
the relevant materials will be available on Moodle for reference.
To get the credit points, you will have to report your progress during the semester –
details will be given later in this report. For all tasks, a suitable mixture of hand
calculations and transistor level simulations is mandatory to let your design meet the
circuit specifications. A ’brute force’ approach will not lead to a satisfactory design within
a reasonable time and we recommend following the procedures described below.
*The digital filtering of the output has been omitted due to time constraints.
2
Rules and Suggestions in the Labs:
1. Deliverables:
2. Teamwork: Each group will have 2 members. Please make sure you are in good
relationship and achieve the final goal together. The division of labour is
determined by each group themselves.
3. Lab usage: The lab room (N4303) is open Monday to Friday during office hours
(9:00 - 18:00). Please do not shutdown the computers after you finish your work,
since they are also used by others. So just log off. For security purposes, these
machines will not read USB drives.
4. Grading: The final report containing all submissions and the final presentation are
graded, not only in terms of its content, but also considering their quality and
clarity.
Reference Books
D.A. Johns; K. Martin, Analog Integrated Circuit Design, Wiley, 1997
B. Razavi, Design of Analog CMOS Integrated Circuits, McGraw-Hill, 2001
R. Schreier; G.C. Temes, Understanding Delta-Sigma Data Converters, IEEE Press, 2005
S.R. Norsworthy; R. Schreier, Delta-Sigma Data Converters, IEEE Press, 1997
A.V. Oppenheim; A.S. Willsky, Signals and Systems, Prentice Hall, 1999
R.J. Baker; H.W. Li; D.E. Boyce, CMOS, Circuit Design, Layout and Simulation, Wiley, 1997
R. Gregorian; G.C. Temes, Analog MOS Integrated Circuits For Signal Processing, Wiley, 1986
S.J. Orfanidis, Introduction to Signal Processing, Prentice Hall, 1998
3
A 2nd Order CT Σ∆ Modulator
Problem for system design
In this LAB, the understanding of Σ∆ modulators shall be deepened. All questions can be
answered by studying the literature and making simulations with MATLAB/Simulink and
Cadence.
The circuit will be designed in a 45nm n-well technology. The available circuit
components are n-MOSFET and p-MOSFET transistors, parasitic bipolar pnp transistors,
capacitors and resistors.
4
Task 1: Concept and Theories (Deadline - 14.11.2021)
(a) What is the difference between a Σ∆ ADC and a Nyquist rate ADC? Which
applications are best suited for a Σ∆ ADC and why?
(b) What is the function of a Σ∆ modulator within a Σ∆ ADC?
(c) Sketch the signal block diagram for both 1st and 2nd order Σ∆ modulators.
Describe each of the functional blocks in the diagrams. What is the NTF and
STF of these modulators.
(d) What is an idle tone? What is the relationship between idle tones and the
order of a Σ∆ modulator? How can the effects of these tones be removed?
(e) What is the Discrete Fourier Transform? What is the equation that defines
it?
(f) MATLAB does not provide a DFT function; instead it provides the similar
function FFT. What is the relationship between these two functions?
(g) Briefly explain what a ‘window function’ is. Why is it used and how does it
affect the results?
(h) Determine the minimum required OSR needed to implement the required
SNR with a 2nd order Σ∆ modulator. What would the OSR be in case on a 1st
order Σ∆ modulator?
(a) Use the Delta-Sigma toolbox in MATLAB to find the NTF and for both 1st and
2nd order modulators. Use the in-built commands to find the coefficients
needed for system level realization for both modulators. You can use any
topology of your choice.
(b) Prototype the both modulators in Simulink.
(c) Plot a sinusoidal input with the maximum possible amplitude and the resulting
output signal over time on the same graph. Describe and interpret your
results.
(d) Transform the output signal with the help of FFT in the frequency domain.
1
Display the whole spectrum in the range from 0 ≤ 𝑓 ≤ 2 𝑓𝑠 , where fs is the
sample rate. Describe and interpret your result. Do this for both modulators.
(e) Does the obtained SNR meet the specifications? What circuit non-idealities are
neglected in Simulink right now? How would they affect the SNR in actual
circuit implementation?
1
(f) Use a constant input signal 𝑉𝑖𝑛 = 𝑉 . Simulate the system and analyze the
3 𝑟𝑒𝑓
output signal in the time and frequency domain. What undesired effects occur
and why do they occur? Are they same in both 1st and 2nd order modulator?
Why or why not?
5
(g) Design and implement a strategy that reduces this problem. Test your
implementation via simulation and compare the results. What are the main
downsides to this solution?
You will now implement your Simulink prototype in Cadence Virtuoso in two
iterations. In the first iteration, you will create a circuit using (mostly) ideal
components. Please implement your design using a continuous-time approach.
You only need to do the following steps for a 2nd order modulator.
(a) The noise budget will set a limit on the resistor and capacitance in the circuit.
Determine the values such that the RMS noise is less than 0.5 LSB.
(b) What is the effective ENOB of this system? Plot the frequency spectrum and
calculate the SNR.
Verify that the circuit behaviour using the same input signals used in your Simulink
model.
Once the circuit works with ideal components, work on the “transistor-level”
implementation. In this iteration, you should replace the ideal components with more
realistic components.
Design a quantizer using clocked comparator and an Opamp for the integrator,
summer etc.
6
Relevant materials:
These are just for reference. Feel free to use any other circuits or topologies that
you like.
Clocked comparators:
https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=7130773
Delta-Sigma toolbox:
https://www.eecis.udel.edu/~vsaxena/courses/ece697A/docs/DSToolbox.pdf