B. Farhang-Boroujeny (2013), Adaptive Filters: Theory and
Applications (2nd ed.). John Wiley & Sons, Inc.
Simon O. Haykin (2014), "Adaptive Filter Theory" Prentice-Hall, Inc.
5rd edition
Diniz, P. S. R. (2020). Adaptive Filtering: Algorithms and
Practical Implementation (5th ed.). Springer
Sen M. Kuo. Real-Time Digital Signal Processing: Fundamentals,
Implementations and Applications, 3rd Edition. John Wiley & Sons
2013
Stankovic, Ljubisa. (2015). Digital Signal Processing with Selected
Topics.
A. Chan Carusone and D. A. Johns, "Analog Filter Adaptation Using a
Dithered Linear Search Algorithm," IEEE Int. Symp. Circuits and
Syst., May 2002. [PDF], [Slides]
for osr_cur in osr_list dt = tui/osr_cur; # Simulation time step tt = [0:dt:tlen_ir-dt;] ir = ω*exp.(-tt*ω); ir_dt_sum = sum(ir*dt); push!(ir_dt_sum_list, ir_dt_sum) end
p = plot(osr_list, ir_dt_sum_list, label = "OSR") gui(p)
Elastic Buffer
the elastic buffer approach would be the most general for modeling
say frequency offsets between TX and RX (will be addressed in future
development)
generate PAM symbols
here Big Endian
1 2 3 4 5
#generate PAM symbols fill!(So, zero(Float64)) #reset So to all 0 for n = 1:bits_per_sym @. So = So + 2^(bits_per_sym-n)*So_bits[n:bits_per_sym:end] end
1 2 3 4 5 6
function int2bits(num, nbit) return [Bool((num>>k)%2) for k in nbit-1:-1:0] end
Sanders, Anthony, Michael Resso and John D'Ambrosia. “Channel
Compliance Testing Utilizing Novel Statistical Eye Methodology.”
(2004).
X. Chu, W. Guo, J. Wang, F. Wu, Y. Luo and Y. Li, "Fast and Accurate
Estimation of Statistical Eye Diagram for Nonlinear High-Speed Links,"
in IEEE Transactions on Very Large Scale Integration (VLSI) Systems,
vol. 29, no. 7, pp. 1370-1378, July 2021, doi:
10.1109/TVLSI.2021.3082208.
HSPICE® User Guide: Signal Integrity Modeling and Analysis, Version
Q-2020.03, March 2020
IA Title: Common Electrical I/O (CEI) - Electrical and Jitter
Interoperability agreements for 6G+ bps, 11G+ bps, 25G+ bps I/O and 56G+
bps IA # OIF-CEI-04.0 December 29, 2017 [pdf]
J. Park and D. Kim, "Statistical Eye Diagrams for High-Speed
Interconnects of Packages: A Review," in IEEE Access, vol. 12,
pp. 22880-22891, 2024 [pdf]
function bist_prbs_gen(;poly, inv, Nsym, seed) seq = Vector{Bool}(undef,Nsym) for n = 1:Nsym seq[n] = inv for p in poly seq[n] ⊻= seed[p] end seed .= [seq[n]; seed[1:end-1]] end return seq, seed end
1 2 3 4 5 6 7 8 9 10 11 12
%% Matlab
function[seq, seed] = bist_prbs_gen(poly,inv, Nsym, seed) seq = zeros(1,Nsym); for n = 1:Nsym seq(n) = inv; for p = poly seq(n) = xor(seq(n), seed(p)); end seed = [seq(n), seed(1:end-1)]; end end
function ber_check_prbs(rcvd_bits; poly, inv, seed, lock_status, lock_cnt, lock_threshold, ber_err_cnt, ber_tot_cnt) nbits_rcvd = lastindex(rcvd_bits) if lock_status #if prbs already locked, use prbs_gen for reference bits ref_bits, seed = bist_prbs_gen(poly=poly, inv=inv, Nsym=nbits_rcvd, seed=seed) ber_err_cnt += sum(rcvd_bits .⊻ ref_bits) ber_tot_cnt += nbits_rcvd
else# if not locked yet, use received bits as seed for n = 1:nbits_rcvd brcv = rcvd_bits[n] btst = inv for p in poly btst ⊻= seed[p] end seed .= [brcv; seed[1:end-1]]
#need consecutive non-error for lock. reset when error happens lock_cnt = (btst == brcv) ? lock_cnt+1 : 0
if lock_cnt == lock_threshold lock_status = true println("prbs locked") #run prbs till end ref_bits, seed = bist_prbs_gen(poly=poly, inv=inv, Nsym=nbits_rcvd-n, seed=seed) ber_err_cnt += sum(rcvd_bits[n+1:end] .⊻ ref_bits) ber_tot_cnt += nbits_rcvd - n
break end end end
return seed, lock_status, lock_cnt, ber_err_cnt, ber_tot_cnt end
Lim, Byong Chan, M. Horowitz, "Error Control and Limit Cycle
Elimination in Event-Driven Piecewise Linear Analog Functional Models,"
in IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 63,
no. 1, pp. 23-33, Jan. 2016 [https://sci-hub.se/10.1109/TCSI.2015.2512699]
—, J. -E. Jang, J. Mao, J. Kim and M. Horowitz, "Digital Analog
Design: Enabling Mixed-Signal System Validation," in IEEE Design
& Test, vol. 32, no. 1, pp. 44-52, Feb. 2015 [http://iot.stanford.edu/pubs/lim-mixed-design15.pdf]
— , Mao, James & Horowitz, Mark & Jang, Ji-Eun & Kim,
Jaeha. (2015). Digital Analog Design: Enabling Mixed-Signal System
Validation. Design & Test, IEEE. 32. 44-52. [https://iot.stanford.edu/pubs/lim-mixed-design15.pdf]
S. Liao and M. Horowitz, "A Verilog piecewise-linear analog behavior
model for mixed-signal validation," Proceedings of the IEEE 2013
Custom Integrated Circuits Conference, San Jose, CA, USA, 2013 [https://sci-hub.se/10.1109/CICC.2013.6658461]
—, M. Horowitz, "A Verilog Piecewise-Linear Analog Behavior Model for
Mixed-Signal Validation," in IEEE Transactions on Circuits and
Systems I: Regular Papers, vol. 61, no. 8, pp. 2229-2235, Aug. 2014
[https://sci-hub.se/10.1109/TCSI.2014.2332265]
Ji-Eun Jang et al. “True event-driven simulation of
analog/mixed-signal behaviors in SystemVerilog: A decision-feedback
equalizing (DFE) receiver example”. In: Proceedings of the IEEE 2012
Custom Integrated Circuits Conference. 2012 [https://sci-hub.se/10.1109/CICC.2012.6330558]
—, Si-Jung Yang, and Jaeha Kim. “Event-driven simulation of Volterra
series models in SystemVerilog”. In: Proceedings of the IEEE 2013 Custom
Integrated Circuits Conference. 2013 [https://sci-hub.se/10.1109/CICC.2013.6658460]
T. Wen and T. Kwasniewski, "Phase Noise Simulation and Modeling of
ADPLL by SystemVerilog," 2008 IEEE International Behavioral Modeling
and Simulation Workshop, San Jose, CA, USA, 2008 [slides,
paper]
Jaeha Kim,Scientific Analog. UCIe PHY Modeling and Simulation with
XMODEL [pdf]
Then rise time of 20% to 80% is \[
T_{r} = \tau_{RC}\cdot \ln\frac{0.8}{0.2} = 1.3863 \cdot \tau_{RC}
\] we have \[
f_{3dB} = \frac{1}{2\pi}\frac{1}{\tau_{RC}} = \frac{1}{2\pi}\frac{
1.3863}{T_r} = \frac{0.22}{T_r}
\]
\(0.5/T_r\)
TODO 📅
CMI & DMI
Ahmed Sada Staff Silicon Validation Engineer, Synopsys. Don't Be
Intimidated: Manual Calibration for Stressed Eye Testing
Patrick Kennedy, Impact of Noise Coupler on 128 GT/s Rx Calibration
and DUT Testing
Anritsu White paper: PCIe® 6.0: Testing for a New Generation [link]
sinusoidal differential mode interference
(DMI), and common mode interference
(CMI)
Since we have (ideally) no return current, the ground
reference becomes less important. The ground potential can
even be different at the sender and receiver or moving around within a
certain acceptable range. However, you need to be careful because
DC-coupled differential signaling (such as USB, RS-485, CAN) generally
requires a shared ground potential to ensure that the signals stay
within the interface's maximum and minimum allowable common-mode
voltage.
To understand the impact of the clock jitter on the performance of a
wireline system, the transfer functions of the PLL in the
transmitter side and the CDR loop in the receiver should
be taken into consideration
the minimum jitter occurs at the point
where the transmit PLL UGB is minimum and the
CDR UGB is maximized
the net rms jitter that impacts the performance of a wireline
transceiver is much lower than the rms jitter of the transmit PLL
the jitter requirements of the transmit PLL on the wireline system
is much more relaxed compared to the wireless transceiver
Corresponding to the three distinct voltage thresholds in the
PAM4 systems, it would need 12 slicers, 3
multiplexers, and one thermometer-to-binary decoder in
each deserialized data path, even if only one tap of the DFE is
unrolled
Look-Ahead Multiplexing DFE
The look-ahead multiplexing technique brings the key benefit that the
timing constraint can be significantly relaxed, as the iteration bound
is doubled at the expense of extra
hardware
"ISI cancellation" based equalization is conceptually more
straightforward but suffers from SNR penalty or error propagation
Jitter Amplification
by Passive Channels
Enhancing
Resolution with a \(\Delta \Sigma\)
Modulator
Sub-Resolution Time Averaging
\(\Delta \Sigma\) modulator
effectively dithers the LSB bit
between zero and one, such that you can get the effective
resolution of a much higher resolution DAC in the number of bits
Decimation
how they affect sampling phase
DLF's input bit-width can be reduced by decimating BBPD's
output. Decimation is typically performed by realizing either
majority voting (MV) or boxcar
filtering.
Note that deserialization is inherent to both
MV and boxcar filtering
Decimation is commonly employed to alleviate the high-speed
requirement. However, decimation increases loop-latency which causes
excessive dither jitter.
Decimation is basically, widen the data and slowing it down
Decimating by \(L\) means frequency
register only added once every \(L\)
UI, thus integral path gain reduced by \(L\) in linear model
proportional path gain is unchanged
CDR Linear Model
condition:
Linear model of the CDR is used in a frequency lock
condition and is approaching to achieve phase
lock
Using this model, the power spectral density (PSD) of jitter in the
recovered clock \(S_{out}(f)\) is \[
S_{out}(f)=|H_T(f)|^2S_{in}(f)+|H_G(f)|^2S_{VCO}(f)
\] Here, we assume \(\varphi_{in}\) and \(\varphi_{VCO}\) are uncorrelated as they
come from independent sources.
Using below notation \[\begin{align}
\omega_n^2=\frac{K_{PD}K_{VCO}}{C} \\
\xi=\frac{K_{PD}K_{VCO}}{2\omega_n^2}
\end{align}\]
We can rewrite transfer function as follows \[
H_T(s)=\frac{2\xi\omega_n s+\omega_n^2}{s^2+2\xi \omega_n s+\omega_n^2}
\]
The jitter transfer represents a low-pass filter
whose magnitude is around 1 (0 dB) for low jitter frequencies and drops
at 20 dB/decade for frequencies above \(\omega_n\)
the recovered clock track the low-frequency
jitter of the input data
the recovered clock DONT track the
high-frequency jitter of the input data
The recovered clock does not suffer from high-frequency jitter even
though the input signal may contain high-frequency jitter, which will
limit the CDR tolerance to high-frequency jitter.
Jitter Peaking in
Jitter Transfer Function
The peak, slightly larger than 1 (0dB) implies that jitter will be
amplified at some frequencies in the CDR, producing a
jitter amplitude in the recovered clock, and thus also in the recovered
data, that is slightly larger than the jitter amplitude
in the input data.
This is certainly undesirable, especially in applications such as
repeaters.
Jitter Generation
If the input data to the CDR is clean with no jitter, i.e., \(\varphi_{in}=0\), the jitter of the
recovered clock comes directly from the VCO jitter. The transfer
function that relates the VCO jitter to the recovered clock jitter is
known as jitter generation. \[
H_G(s)=\frac{\varphi_{out}}{\varphi_{VCO}}|_{\varphi_{in}=0}=\frac{s^2}{s^2+2\xi
\omega_n s+\omega_n^2}
\] Jitter generation is high-pass filter with
two zeros, at zero frequency, and two poles identical to those of the
jitter transfer function
Jitter Tolerance (JTOL)
To quantify jitter tolerance, we often apply a sinusoidal jitter of a
fixed frequency to the CDR input data and observe the BER of the CDR
The jitter tolerance curve DONT capture a CDR's true
tolerance to random jitter. Because we are applying
"sinusoidal" jitter, which is deterministic signal.
We can deal only with the jitter's amplitude and frequency instead of
the PSD of the jitter thanks to deterministic sinusoidal jitter signal.
\[
JTOL(f) = \left | \varphi_{in}(f) \right |_{\text{pp-max}} \quad
\text{for a fixed BER}
\] Where the subscript \(\text{pp-max}\) indicates the
maximum peak-to-peak amplitude. We can further expand
this equation as follows \[
JTOL(f)=\left| \frac{\varphi_{in}(f)}{\varphi_{e}(f)} \right| \cdot
|\varphi_e(f)|_\text{pp-max}
\]
Relative jitter, \(\varphi_e\) must
be less than 1UIpp for error-free operation
In an ideal CDR, the maximum peak-to-peak amplitude
of \(|\varphi_e(f)|\) is
1UI, i.e.,\(|\varphi_e(f)|_\text{pp-max}=1UI\)
Accordingly, jitter tolerance can be expressed in terms of the number
of UIs as \[
JTOL(f)=\left| \frac{\varphi_{in}(f)}{\varphi_{e}(f)} \right|\quad
\text{[UI]}
\] Given the linear CDR model, we can write \[
JTOL(f)=\left| 1+\frac{K_{PD}K_{VCO}H_{LF}(f)}{j2\pi f} \right|\quad
\text{[UI]}
\] Expand \(H_{LF}(f)\) for the
CDR, we can write \[
JTOL(f)=\left| 1-2\xi j \left(\frac{f_n}{f}\right) -
\left(\frac{f_n}{f}\right)^2 \right|\quad \text{[UI]}
\] At frequencies far below and above the natural frequency, the
jitter tolerance can be approximated by the following \[
JTOL(f) = \left\{ \begin{array}{cl}
\left(\frac{f_n}{f}\right)^2 & : \ f\ll f_n \\
1 & : \ f\gg f_n
\end{array} \right.
\]
the jitter tolerance at very high jitter frequencies
is limited to 1UIpp
1 2 3 4 5 6 7 8 9 10 11 12 13 14
clc; clear all;
f_fn = logspace(-1, 2, 60); for xi = [2, 1, 0.5, 0.2] jtol = abs(1- 1i*2*xi.*(1./f_fn)- (1./f_fn).^2); loglog(f_fn, jtol,LineWidth=2) disp(["min(JTpp)=", min(jtol),"@\xi=",xi]) hold on end grid on; xlabel("f/f_n") ylabel('JT_{pp}') legend('\xi=2', '\xi=1', '\xi=0.5', '\xi=0.2')
JTF, by jitter frequency, compares how much input signal jitter is
transferred to the output of a clock-recovery's PLL (recovered
clock)
Input signal jitter that is within the clock recovery PLL's loop
bandwidth results in jitter that is faithfully transferred (closed-loop
gain) to the clock recovery PLL's output signal. JTF in this situation
is approximately 1.
Input signal jitter that is outside the clock recovery PLL's loop
bandwidth results in decreasing jitter (open-loop gain) on the clock
recovery PLL's output, because the jitter is filtered out and no longer
reaches the PLL's VCO
Observed Jitter Transfer Function
Input Signal Versus Sampled Signal
OJTF compares how much input signal jitter is transferred to the
output of a receiver's decision making circuit as
effected by a clock recovery's PLL. As the recovered clock is the
reference for detecting the input signal
Input signal jitter that is within the clock
recovery PLL's loop bandwidth results in jitter on the recovered clock
which reduces the amount of jitter that can be detected. The input
signal and clock signal are closer in phase
Input signal jitter that is outside the clock
recovery PLL's loop bandwidth results in reduced jitter on the
recovered clock which increases the amount of jitter that can
be detected. The input signal and clock signal are more out of phase.
Jitter that is on both the input and clock signals can not detected or
is reduced
JTF and OJTF for 1st Order PLLs
The observed jitter is a complement to the PLL jitter transfer
response OJTF=1-JTF (Phase matters!)
OTJF gives the amount of jitter which is tracked and therefore not
observed at the output of the CDR as a function of the jitter rate
applied to the input.
The combination of the OJTF of a jitter measurement device and the
JTF of the clock generator under test gives the measured jitter as a
function of frequency.
For example, a clock generator with a type 1, 1st order PLL measured
with a jitter measurement device employing a golden PLL is \[
J_{\text{measured}} = \frac{\omega_1}{s+\omega_1}\frac{s}{s+\omega_2}
\]
Accurate measurement of the clock JTF requires that the OJTF cutoff
of the jitter measurement be significantly below that of the clock JTF
and that the measurement is compensated for the instrument's OJTF.
The overall response is a band pass filter because the clock JTF is
low pass and the jitter measurement device OJTF is high pass.
The compensation for the instrument OJTF is performed by measuring
the jitter of the reference clock at each jitter rate being tested and
comparing the reference jitter with the jitter
measured at the output of the DUT.
The lower the cutoff frequency of the jitter measurement device the
better the accuracy of the measurement will be.
The cutoff frequency is limited by several factors including the
phase noise of the DUT and measurement time.
Digital Sampling
Oscilloscope
How to analyze jitter:
TIE (Time Interval Error) track
histogram
FFT
TIE track provides a direct view of how the phase of
the clock evolves over time.
histogram provides valuable information about the
long term variations in the timing.
FFT allows jitter at specific rates to be measured
down to the femto-second range.
Maintaining the record length at a minimum of \(1/10\) of the inverse of the PLL loop
bandwidth minimizes the response error
reference
Dalt, Nicola Da and Ali Sheikholeslami. “Understanding Jitter and
Phase Noise: A Circuits and Systems Perspective.” (2018).
quantization noise is ~ bounded uniform distribution
Using unbounded Gaussian -> pessimistic BER prediction
AFE Nonlinearity
"total harmonic distortion" (THD) in
AFE
Relative to NRZ-based systems, PAM4 transceivers require more
stringent circuit linearity, equalizers which can implement multi-level
inter-symbol interference (ISI) cancellation, and improved
sensitivity
Because if it compresses, it turns out you have to use a much more
complicated feedback filter. As long as it behaves linearly,
the feedback filter itself can remain a linear FIR
Linearity can actually be a critical constraint in these signal
paths, and you really want to stay as linear as you can all the way up
until the point where you've canceled all of the ISI
Elad Alon, ISSCC 2014, "T6: Analog Front-End Design for Gb/s Wireline
Receivers"
BER with Quantization Noise
\[
\text{Var}(X) = E[X^2] - E[X]^2
\]
Impulse Response or Pulse
Response
TX FFE
TX FFE suffers from the peak power constraint, which in effect
attenuates the average power of the outgoing signal - the low-frequency
signal content has been attenuated down to the high-frequency level
H. Shakiba, D. Tonietto and A. Sheikholeslami, "High-Speed Wireline
Links-Part II: Optimization and Performance Assessment," in IEEE Open
Journal of the Solid-State Circuits Society, vol. 4, pp. 110-121, 2024
[https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10579874]
R. Walker, “Designing Bang-Bang PLLs for Clock and Data Recovery in
Serial Data Transmission Systems,” in Phase-Locking in High-Performance
Systems, B. Razavi, Ed. New Jersey: IEEE Press, 2003, pp. 34-45. [http://www.omnisterra.com/walker/pdfs.papers/BBPLL.pdf]
P. K. Hanumolu, M. G. Kim, G. -y. Wei and U. -k. Moon, "A 1.6Gbps
Digital Clock and Data Recovery Circuit," IEEE Custom Integrated
Circuits Conference 2006, San Jose, CA, USA, 2006, pp. 603-606 [https://sci-hub.se/10.1109/CICC.2006.320829]
Da Dalt N. A design-oriented study of the nonlinear dynamics of
digital bang-bang PLLs. IEEE Transactions on Circuits and Systems I:
Regular Papers. 2005;52(1):21–31. [https://sci-hub.se/10.1109/TCSI.2004.840089]
Jang S, Kim S, Chu SH, Jeong GS, Kim Y, Jeong DK. An optimum loop
gain tracking all-digital PLL using autocorrelation of bang–bang phase
frequency detection. IEEE Transactions on Circuits and Systems II:
Express Briefs. 2015;62(9):836–840. [https://sci-hub.se/10.1109/TCSII.2015.2435691]
CDR Loop Latency
Denoting the CDR loop latency by \(\Delta
T\) , we note that the loop transmission is multiplied by \(exp(-s\Delta T)\simeq 1-s\Delta T\).The
resulting right-half-plane zero, \(f_z\) degrades the phase margin and must
remain about one decade beyond the BW\[
f_z\simeq \frac{1}{2\pi \Delta T}
\]
This assumption is true in practice since the bandwidth of the CDR
(few mega Hertz) is much smaller than the data rate (multi giga
bits/second).
Homayoun, Aliakbar and Behzad Razavi. “On the Stability of
Charge-Pump Phase-Locked Loops.” IEEE Transactions on Circuits and
Systems I: Regular Papers 63 (2016): 741-750.
N. Kuznetsov, A. Matveev, M. Yuldashev and R. Yuldashev, "Nonlinear
Analysis of Charge-Pump Phase-Locked Loop: The Hold-In and Pull-In
Ranges," in IEEE Transactions on Circuits and Systems I: Regular
Papers, vol. 68, no. 10, pp. 4049-4061, Oct. 2021
limit cycles imply self-sustained oscillators due nonlinear
nature
Ouzounov, S., Hegt, H., Van Roermund, A. (2007). SUB-HARMONIC
LIMIT-CYCLE SIGMA-DELTA MODULATION, APPLIED TO AD CONVERSION. In: Van
Roermund, A.H., Casier, H., Steyaert, M. (eds) Analog Circuit Design.
Springer, Dordrecht. [https://sci-hub.se/10.1007/1-4020-5186-7_6]
Digital CDR Category
DCO part is analogous so that it cannot be perfectly
modeled
Digital-to-phase converter is well-defined phase output, thus, very
good to model real situation
Z-domain modeling
The difference equation is \[
\phi[n] = \phi[n-1] + K_{DCO}V_C[n]\cdot T\cdot2\pi
\] z-transform is \[
\frac{\Phi(z)}{V_C(z)}=\frac{2\pi K_{DCO}T}{1-z^{-1}}
\]
where \(K_{DCO}\) : \(\Delta f\) (Hz/bit)
\(\Delta
\Sigma\)-dithering in DCO
Quantization noise
Here, \(\alpha_T\) is data
transition density
BBPD quantization noise
DAC quantization noise
M. -J. Park and J. Kim, "Pseudo-Linear Analysis of Bang-Bang
Controlled Timing Circuits," in IEEE Transactions on Circuits and
Systems I: Regular Papers, vol. 60, no. 6, pp. 1381-1394, June 2013 [https://sci-hub.st/10.1109/TCSI.2012.2220502]
Time to Digital Converter
(TDC)
Digital to Phase Converter
(DPC)
IIR low pass filter
simple approximation: \[
z = 1 + sT
\] bilinear-z transform \[
z =\frac{}{}
\]
FAQ
PLL vs. CDR
PLL
CDR
Clock edge periodic
Data edge random
Phase & Frequency detecting possible
Phase detecting possible , Frequency detecting impossible
PLL or FD(Frequency Detector) for frequency detecting in CDR
reference
J. Stonick. ISSCC 2011 "DPLL-Based Clock and Data Recovery" [slides,transcript]
P. Hanumolu. ISSCC 2015 "Clock and Data Recovery Architectures and
Circuits" [slides]
Amir Amirkhany. ISSCC 2019 "Basics of Clock and Data Recovery
Circuits"
Fulvio Spagna. INTEL, CICC2018, "Clock and Data Recovery Systems" [slides]
M. Perrott. 6.976 High Speed Communication Circuits and Systems
(lecture 21). Spring 2003. Massachusetts Institute of Technology: MIT
OpenCourseWare, [lec21.pdf]
Akihide Sai. ISSCC 2023, T5 "All Digital Plls From Fundamental
Concepts To Future Trends" [T5.pdf]
J. L. Sonntag and J. Stonick, "A Digital Clock and Data Recovery
Architecture for Multi-Gigabit/s Binary Links," in IEEE Journal of
Solid-State Circuits, vol. 41, no. 8, pp. 1867-1875, Aug. 2006 [https://sci-hub.se/10.1109/JSSC.2006.875292]
—, "A digital clock and data recovery architecture for
multi-gigabit/s binary links," Proceedings of the IEEE 2005 Custom
Integrated Circuits Conference, 2005.. [https://sci-hub.se/10.1109/CICC.2005.1568725]
P. Palestri et al., "Analytical Modeling of Jitter in
Bang-Bang CDR Circuits Featuring Phase Interpolation," in IEEE
Transactions on Very Large Scale Integration (VLSI) Systems, vol.
29, no. 7, pp. 1392-1401, July 2021 [https://sci-hub.se/10.1109/TVLSI.2021.3068450]
Rhee, W. (2020). Phase-locked frequency generation and clocking :
architectures and circuits for modern wireless and wireline
systems. The Institution of Engineering and Technology
M.H. Perrott, Y. Huang, R.T. Baird, B.W. Garlepp, D. Pastorello, E.T.
King, Q. Yu, D.B. Kasha, P. Steiner, L. Zhang, J. Hein, B. Del Signore,
"A 2.5 Gb/s Multi-Rate 0.25μm CMOS Clock and Data Recovery Circuit
Utilizing a Hybrid Analog/Digital Loop Filter and All-Digital
Referenceless Frequency Acquisition," IEEE J. Solid-State Circuits, vol.
41, Dec. 2006, pp. 2930-2944 [https://cppsim.com/Publications/JNL/perrott_jssc06.pdf]
—, et al., "Modeling of ADC-Based Serial Link Receivers With
Embedded and Digital Equalization," in IEEE Transactions on
Components, Packaging and Manufacturing Technology, vol. 9, no. 3,
pp. 536-548, March 2019 [https://sci-hub.se/10.1109/TCPMT.2018.2853080]
K. Zheng, "System-Driven Circuit Design for ADC-Based Wireline Data
Links", Ph.D. Dissertation, Stanford University, 2018 [https://purl.stanford.edu/hw458fp0168]
S. Cai, A. Shafik, S. Kiran, E. Z. Tabasy, S. Hoyos and S. Palermo,
"Statistical modeling of metastability in ADC-based serial I/O
receivers," 2014 IEEE 23rd Conference on Electrical Performance of
Electronic Packaging and Systems [pdf]
We typically use the two spectra, \(S_{\phi
n}(f)\) and \(S_{out}(f)\),
interchangeably, but we must resolve these inconsistencies.
voltage spectrum is called Lorentzian
spectrum
The periodic signal \(x(t)\) can be
expanded in Fourier series as:
Assume that the signal is subject to excess phase noise,
which is modeled by adding a time-dependent noise
component \(\alpha(t)\). The noisy
signal can be written \(x(t+\alpha(t))\), the added excess phase
\(\phi(t)=
\frac{\alpha(t)}{\omega_0}\)
The autocorrelation of the noisy signal is by definition:
The autocorrelation averaged over time results in:
By taking the Fourier transform of the autocorrelation, the spectrum
of the signal \(x(t + \alpha(t))\) can
be expressed as
It is also interesting to note how the integral in Equation
9.80 around each harmonic is equal to the power of the harmonic
itself \(|X_n|^2\)
The integral \(S_x(f)\) around
harmonic is \[\begin{align}
P_{x,n} &= \int_{f=-\infty}^{\infty}
|X_n|^2\frac{\omega_0^2n^2c}{\frac{1}{4}\omega_0^4n^4c^2+(\omega
+n\omega_0)^2}df \\
&= |X_n|^2\int_{\Delta
f=-\infty}^{\infty}\frac{2\beta}{\beta^2+(2\pi\cdot\Delta f)^2}d\Delta f
\\
&= |X_n|^2\frac{1}{\pi}\arctan(\frac{2\pi \Delta
f}{\beta})|_{-\infty}^{\infty} \\
&= |X_n|^2
\end{align}\]
The phase noise does not affect the total power in the
signal, it only affects its distribution
Without phase noise, \(S_v(f)\) is
a series of impulse functions at the harmonics of \(f_o\).
With phase noise, the impulse functions spread, becoming fatter and
shorter but retaining the same total power
Phase
perturbed by a stationary noise with Gaussian PDF
If keep \(\phi_{rms}\) in \(R_x(\tau)\), i.e. \[
R_x(\tau)=\frac{A^2}{2}e^{-\phi_{rms}^2}\cos(2\pi f_0
\tau)e^{R_\phi(\tau)}\approx \frac{A^2}{2}e^{-\phi_{rms}^2}\cos(2\pi f_0
\tau)(1+R_\phi(\tau))
\] The PSD of the signal is \[
S_x(f) = \mathcal{F} \{ R_x(\tau) \} =
\frac{P_c}{2}e^{-\phi_{rms}^2}\left[S_\phi(f+f_0)+S_\phi(f-f_0)\right] +
\frac{P_c}{2}e^{-\phi_{rms}^2}\left[\delta(f+f_0)+\delta(f-f_0)\right]
\] ❗❗above Eq isn't consistent with stationary
white noise process - the following section
Phase
perturbed by a stationary WHITE noise process
Assuming that the delay line is noiseless
Expanding the cosine function we get \[\begin{align}
R_y(t,\tau) &= \frac{A^2}{2}\left\{\cos(2\pi
f_0\tau)E[\cos(\phi(t)-\phi(t-\tau))] - \sin(2\pi
f_0\tau)E[\sin(\phi(t)-\phi(t-\tau))]\right\} \\
&+ \frac{A^2}{2}\left\{\cos(4\pi
f_0(t+\tau/2-T_D))E[\cos(\phi(t)+\phi(t-\tau))] - \sin(4\pi
f_0(t+\tau/2-T_D))E[\sin(\phi(t)+\phi(t-\tau))] \right\}
\end{align}\]
where, both the process \(\phi(t)-\phi(t-\tau)\) and \(\phi(t)+\phi(t-\tau)\) are independent of
time \(t\), i.e. \(E[\cos(\phi(t)+\phi(t-\tau))] =
m_{\cos+}(\tau)\), \(E[\cos(\phi(t)-\phi(t-\tau))] =
m_{\cos-}(\tau)\), \(E[\sin(\phi(t)+\phi(t-\tau))] =
m_{\sin+}(\tau)\) and \(E[\sin(\phi(t)-\phi(t-\tau))] =
m_{\sin-}(\tau)\)
The second term in the above expression is periodic in \(t\) and to estimate its PSD, we compute the
time-averaged autocorrelation function\[
R_y(\tau) = \frac{A^2}{2}\left\{\cos(2\pi f_0\tau)m_{\cos-}(\tau) -
\sin(2\pi f_0\tau)m_{\sin-}(\tau)\right\}
\]
After nontrivial derivation
Phase perturbed by a Weiner
process
The phase process \(\phi(t)\) is
also gaussian but with an increasing variance which
grows linearly with time\(t\)
The spectrum of \(y(t)\) is
determined by the asymptotic behavior of \(R_y(t,\tau)\) as \(t\to \infty\)
❗❗ \(\lim_{t\to\infty}R_y(t,\tau)\) rather than
time-averaged autocorrelation function of cyclostationary
process, ref. Demir's paper
We define \(\zeta(t,
\tau)=\phi(t)+\phi(t-\tau) = \phi(t)-\phi(t-\tau) +
2\phi(t-\tau)\), the expected value of \(\zeta(t,\tau)\) is 0, the variance is \(\sigma_{\zeta}^2=(k\sigma)^2(\tau +
4(t-\tau))=(k\sigma)^2(4t-3\tau)\)\[
E[\cos(\zeta(t,\tau))]=\frac{1}{\sqrt{2\pi
\sigma_{\zeta}^2}}\int_{-\infty}^{\infty}e^{-\zeta^2/2\sigma_{\zeta}^2}\cos(\zeta)d\zeta
= e^{-\sigma_{\zeta}^2/2}=e^{-(k\sigma)^2(4t-\tau)}
\] i.e., \(\lim _{t\to \infty}
E[\cos(\zeta(t,\tau))] = \lim_{t\to \infty}e^{-(k\sigma)^2(4t-\tau)} =
0\)
For \(E[\sin(\zeta(t,\tau))]\), we
have \[
E[\sin(\zeta(t,\tau))] = \frac{1}{\sqrt{2\pi
\sigma_{\zeta}^2}}\int_{-\infty}^{\infty}e^{-\zeta^2/2\sigma_{\zeta}^2}\sin(\zeta)d\zeta
\] i.e., \(E[\sin(\zeta(t,\tau))]\) is odd
function, therefore \(E[\sin(\zeta(t,\tau))]=0\)
A. Hajimiri and T. H. Lee, "A general theory of phase noise in
electrical oscillators," in IEEE Journal of Solid-State
Circuits, vol. 33, no. 2, pp. 179-194, Feb. 1998 [paper],
[slides]
A. Demir, A. Mehrotra and J. Roychowdhury, "Phase noise in
oscillators: a unifying theory and numerical methods for
characterization," in IEEE Transactions on Circuits and Systems I:
Fundamental Theory and Applications, vol. 47, no. 5, pp. 655-674,
May 2000 [https://sci-hub.se/10.1109/81.847872]
Godone, A. & Micalizio, Salvatore & Levi, Filippo. (2008). RF
spectrum of a carrier with a random phase modulation of arbitrary slope.
[https://sci-hub.se/10.1088/0026-1394/45/3/008]
Bae, Woorham; Jeong, Deog-Kyoon: 'Analysis and Design of CMOS
Clocking Circuits for Low Phase Noise' (Materials, Circuits and Devices,
2020)
proportional term (P) depends on the present error
integral term (I) depends on past errors
derivative term (D) depends on anticipated future errors
PID controller makes use of linear extrapolation of
the measured output
PI controller does not make use of any prediction of
the future state of the system
The prediction by linear extrapolation (D) can
generate large undesired control signals because measurement noise is
amplified, that's why D is not used widely
The Problem of
"Sinusoids Running Around Loops"
The representative of Fourier transform \(\frac{1}{j\omega+j\omega_0}\) back in the
time domain \(e^{-j\omega_0 t}\) is
infinite extent in time
Running around a loop, chasing one's tail — these are thought
pictures that only work in a discretized, time-sequenced conceptual
framework that has a beginning and an end
Fix in your mind that oscillations are a type of
resonance
rearrangement
The closed loop transfer function of \(Y/X\) and \(Y_1/X_1\) are almost same, except sign
charge pumps are capacitive
DC-DC converters. The two most common switched capacitor
voltage converters are the voltage inverter and the
voltage doubler circuit
We derive a recursive equation that describes the output voltage
\(V_{out,n}\) after the \(n\)th clock cycle \[
V_{out,n} = \frac{2V_{in}C_p + V_{out,n-1}C_o}{C_p + C_o}
\]
Therefore, average output voltage \(\overline{V}_{out}\) in steady-state is
\[
\overline{V}_{out} = \frac{V_t+V_b}{2}=2V_{in} -
\frac{I_{load}}{f_{sw}C_p}\left(1 + \frac{C_p^2}{4C_o(C_p+C_o)}\right)
\approx 2V_{in} - \frac{I_{load}}{f_{sw}C_p}
\] which results in a simple expression for the output
voltage droop
\[
\Delta V_{out} = \frac{I_{load}}{f_{sw}C_p}
\]
The charge pump can be modeled as a voltage source with a
source resistance\(R_\text{out}\). Therefore, \(\Delta V_{out}\) can be seen as the voltage
drop across \(R_\text{out}\) due to the
load current:
Fourier transform of the output of the expander is a frequency-scaled
version of the Fourier transform of the input
Subsampling or Downsampling
Eqs. (4.72)
the superposition of an infinite set of amplitude-scaled copies of
\(X_c(j\Omega)\), frequency scaled
through \(\omega = \Omega T_d\) and
shifted by integer multiples of \(2\pi\)
Eq. (4.77)
the superposition of \(M\)
amplitude-scaled copies of the periodic Fourier transform \(X (e^{j\omega})\), frequency scaled by
\(M\) and shifted by integer multiples
of \(2\pi\)
downsampled by a factor of \(M =
2\)
Upsampling or Zero Insertion
Rouphael, Tony. (2009). RF and Digital Signal Processing for
Software-Defined Radio. [pdf]
Assuming \(X(e^{j\omega_1}) =
U_f(e^{j\omega_1})\) with \(\omega_1 =
\Omega T_1\), upsampled by ratio \(L\), then obtain
Polyphase decomposition is a powerful technique used in digital
signal processing to efficiently implement multirate systems.
where \(e_k[n]=h[nM+k]\)
Polyphase Implementation of Decimation Filters &
Interpolation Filters
Decimation system
Interpolation system
sampling identity
LPTV Implementation
TODO 📅
The interpolation filter following an up-sampler
generally is time varying and cannot be represented by
a simple transfer function. The equivalent filter in a
zero-order hold is an exception, perhaps unique, that
can be represented with a time-invariant transfer function
The interpolation filter following an up-sampler generally is
time varying and cannot be represented by a simple
transfer function. The equivalent filter in a Zero-Order
Hold is an exception, perhaps unique, that can be represented
with a time-invariant transfer function
Split the \(1:LM\) hold process into
a \(1 : L\) hold followed by a \(1 : M\) hold \[
Y(\eta)=X(\eta^{L})\frac{1-\eta^{-L}}{1-\eta^{-1}}
\] then \[\begin{align}
F_2(z) &= Y(z^M)\cdot\frac{1-z^{-M}}{1-z^{-1}} \\
&=X(z^{LM})\frac{1-z^{-LM}}{1-z^{-M}}\cdot \frac{1-z^{-M}}{1-z^{-1}}
\\
&= X(z^{LM})\frac{1-z^{-LM}}{1-z^{-1}}
\end{align}\]
That is \(F_1(z)=F_2(z)\), i.e. they
are equivalent
In (a), the loop gain is \(\frac{\phi_o(z)}{\phi_e(z)}\), which is
\[
LG_a(z)=\frac{\phi_o(z)}{\phi_e(z)} = \frac{1}{1-z^{-1}}
\]
In (b),
Accumulate-And-Dump
(AAD) is \(\frac{1-z^{-L}}{1-z^{-1}}\), then \(\phi_m(\eta)\) can be expressed as \[
\phi_m(\eta) = \frac{1-\eta^{-1}}{1-\eta^{-1/L}}\cdot \frac{1}{L}
\] Hence \[\begin{align}
\phi_o(\eta) &= \phi_m(\eta) \frac{1}{1-\eta^{-1}} \\
&= \frac{1-\eta^{-1}}{1-\eta^{-1/L}}\cdot \frac{1}{L}\cdot
\frac{1}{1-\eta^{-1}}
\end{align}\]
After zero-order hold process, we obtain \(\phi_f(z)\), which is \[\begin{align}
\phi_f(z) &= \phi_o(z^L) \cdot \frac{1-z^{-L}}{1-z^{-1}} \\
&=\frac{1-z^{-L}}{1-z^{-1}}\cdot \frac{1}{L}\cdot
\frac{1}{1-z^{-L}}\cdot \frac{1-z^{-L}}{1-z^{-1}}
\end{align}\] i.e., \[
LG_b(z) = \frac{1}{1-z^{-1}}\cdot \frac{1}{L}\cdot
\frac{1-z^{-L}}{1-z^{-1}}
\]
When bandwidth is much less than sampling rate (data rate), \(\frac{1}{L}\cdot \frac{1-z^{-L}}{1-z^{-1}} \approx
1\)
J. Stonick. ISSCC 2011 "DPLL-Based Clock and Data Recovery" [slides,transcript]
J. L. Sonntag and J. Stonick, "A Digital Clock and Data Recovery
Architecture for Multi-Gigabit/s Binary Links," in IEEE Journal of
Solid-State Circuits, vol. 41, no. 8, pp. 1867-1875, Aug. 2006 [https://sci-hub.se/10.1109/JSSC.2006.875292]
J. Sonntag and J. Stonick, "A digital clock and data recovery
architecture for multi-gigabit/s binary links," Proceedings of the
IEEE 2005 Custom Integrated Circuits Conference, 2005.. [https://sci-hub.se/10.1109/CICC.2005.1568725]
Y. Xia et al., "A 10-GHz Low-Power Serial Digital Majority
Voter Based on Moving Accumulative Sign Filter in a PS-/PI-Based CDR,"
in IEEE Transactions on Microwave Theory and Techniques, vol.
68, no. 12 [https://sci-hub.se/10.1109/TMTT.2020.3029188]
J. Liang, A. Sheikholeslami. ISSCC2017. "A 28Gbps Digital CDR with
Adaptive Loop Gain for Optimum Jitter Tolerance" [slides,paper]
J. Liang, A. Sheikholeslami,, "Loop Gain Adaptation for Optimum
Jitter Tolerance in Digital CDRs," in IEEE Journal of Solid-State
Circuits [https://sci-hub.se/10.1109/JSSC.2018.2839038]
Rhee, W. (2020). Phase-locked frequency generation and clocking :
architectures and circuits for modern wireless and wireline
systems. The Institution of Engineering and Technology
W. Liu, P. Huang and Y. Chiu, "A 12b 22.5/45MS/s 3.0mW 0.059mm2 CMOS
SAR ADC achieving over 90dB SFDR," 2010 IEEE International
Solid-State Circuits Conference - (ISSCC), San Francisco, CA, USA,
2010 [https://sci-hub.se/10.1109/ISSCC.2010.5433830]
Slewing in Folded-Cascode Op
Amps
In practice, we choose \(I_P \simeq
I_{SS}\)
Avoid zero current in cascodes
left circuit
\(I_b \gt I_a\)
right circuit
\(I_b \gt 2I_a\)
Huijsing, J. H. (2017). Operational Amplifiers: Theory and Design. (3
ed.) Springer
where \(\frac{g_m}{I_B} e^{-\omega_T t} \gt
1\) at initial response
Therefore, initial response speed is dominated by
SR, rather than \(G_m\) (or bandwidth)
MOS parasitic Rd&Rs, Cd&Cs
Decrease the parasitic R&C
priority: \(R_s \gt R_d\), \(C_s \gt C_d\)
source follower
A. Sheikholeslami, "Voltage Follower, Part III [Circuit Intuitions],"
in IEEE Solid-State Circuits Magazine, vol. 15, no. 2, pp.
14-26, Spring 2023, doi: 10.1109/MSSC.2023.3269457
Z. Guo et al., "A 112.5Gb/s ADC-DSP-Based PAM-4 Long-Reach
Transceiver with >50dB Channel Loss in 5nm FinFET," 2022 IEEE
International Solid-State Circuits Conference (ISSCC), San Francisco,
CA, USA, 2022, pp. 116-118, doi: 10.1109/ISSCC42614.2022.9731650.
Double Differential pair
\(V_\text{ip}\) and \(V_\text{im}\) are input, \(V_\text{rp}\) and \(V_\text{rm}\) are reference voltage \[
V_o = A_v(\overline{V_\text{ip} - V_\text{im}} - \overline{V_\text{rp} -
V_\text{rm}})
\]
In differential comparison mode, the feedback loop ensure \(V_\text{ip} = V_\text{rp}\), \(V_\text{im} = V_\text{rm}\) in the end
assume input and reference common voltage are
same
Pros of (b)
larger input range i.e., \(\gt \pm
\sqrt{2}V_\text{ov}\) of (a), it works even one
differential is off due to lower voltage
larger \(g_m\) (smaller input
difference of pair)
Cons of (b)
sensitive to the difference of common voltage between \(V_\text{ip}\), \(V_\text{im}\) and \(V_\text{rp}\), \(V_\text{rm}\)
common-mode voltage
difference
copy aforementioned formula here for convenience \[
V_o = A_v(\overline{V_\text{ip} - V_\text{im}} - \overline{V_\text{rp} -
V_\text{rm}})
\]
at sample phase\(V_\text{ip}=
V_\text{im}= V_\text{cmi}\) and \(V_\text{rp}= V_\text{rm}=
V_\text{cmr}\)
\(I_\text{ip0}= I_\text{im0} =
I_\text{i0}\)
\(I_\text{rp0}= I_\text{rm0} =
I_\text{r0}\)
i.e. \(\overline{I_\text{ip} + I_\text{rm}}
- \overline{I_\text{im} + I_\text{rp}} = 0\)
at compare start
\(V_\text{ip}= V_\text{im}=
V_\text{cmi}\) and \(V_\text{rp}=
V_\text{cmr}+\Delta\), \(V_\text{rp}=
V_\text{cmr}-\Delta\)
i.e. \(\overline{I_\text{ip} + I_\text{rm}}
- \overline{I_\text{im} + I_\text{rp}} \lt 0\), we need to
increase \(V_\text{ip}\) and decrease
\(V_\text{im}\).
and \(I_\text{ip0}= I_\text{im0} =
I_\text{i0}\), \(I_\text{rp0}=
I_\text{rm0} = I_\text{r0}\)
i.e. \(\overline{I_\text{ip} + I_\text{rm}}
- \overline{I_\text{im} + I_\text{rp}} = 0\)
If \(V_\text{cmr} - V_\text{cmi} =
\sqrt{2}V_{OV} + \delta\), and \(\delta
\gt 0\). one transistor carries the entire tail current
\(I_\text{ip} =0\) and \(I_\text{rp} = I_{SS}\), all the time
At the end, \(V_\text{im} = V_\text{cmi} -
(\Delta - \delta)\), the error is \(\delta\)
In closing, \(V_\text{cmr} - V_\text{cmi}
\lt \sqrt{2}V_{OV}\) for normal work
Furthermore, the difference between \(V_\text{cmr}\) and \(V_\text{cmi}\) should be minimized due to
limited impedance of current source and input
pair offset
In the end \[
V_\text{cmr} - V_\text{cmi} \lt \sqrt{2}V_{OV} - V_{OS}
\]
Under the condition, every transistor of pairs are on in
equilibrium
Resistive degeneration in differential pairs serves as one
major technique for linear amplifier
The linear region for CMOS differential pair would be extended by
\(±I_{SS}R/2\) as all of \(I_{SS}/2\) flows through \(R\). \[\begin{align}
V_{in}^+ -V_{in}^- &= V_{OV} + V_{TH}+\frac{I_{SS}}{2}R - V_{TH} \\
&= \sqrt{\frac{2I_{SS}}{\mu_nC_{OX}\frac{W}{L}}} + \frac{I_{SS}R}{2}
\end{align}\]
In \(z\)-domain \[
\left\{(A + D - Y)\frac{z^{-1}}{1-z^{-1}} - 2Y
\right\}\frac{z^{-1}}{1-z^{-1}} + Q = Y
\] That is \[
Y = A z^{-2} + Dz^{-2} + Q(1-z^{-1})^2
\] In time domain \[\begin{align}
y[n] &= \alpha[n-2] + d[n-2] + q[n]-2q[n-1]+q[n-2] \\
&= \alpha + d[n-2] + q[n]-2q[n-1]+q[n-2]
\end{align}\]
LSB Dither
?? integer valued impulse responses
S. Pamarti, J. Welz and I. Galton, "Statistics of the Quantization
Noise in 1-Bit Dithered Single-Quantizer Digital Delta–Sigma
Modulators," in IEEE Transactions on Circuits and Systems I: Regular
Papers, vol. 54, no. 3, pp. 492-503, March 2007 [pdf]
stability of DSM
accumulator wordlength
Z. Ye and M. P. Kennedy, "Hardware Reduction in Digital Delta–Sigma
Modulators Via Error Masking—Part II: SQ-DDSM," in IEEE Transactions
on Circuits and Systems II: Express Briefs, vol. 56, no. 2, pp.
112-116, Feb. 2009 [https://sci-hub.se/10.1109/TCSII.2008.2010188]
—, "Hardware Reduction in Digital Delta-Sigma Modulators Via Error
Masking - Part I: MASH DDSM," in IEEE Transactions on Circuits and
Systems I: Regular Papers, vol. 56, no. 4, pp. 714-726, April 2009
[https://sci-hub.se/10.1109/TCSI.2008.2003383]
Truncation DAC
accumulator is implicit quantizer
with \(\frac{y}{2^{m_2}} + q= v\),
where \(v =
\lfloor\frac{y}{2^{m_2}}\rfloor\)
\[
\left\{ \begin{array}{cl}
Y + 2^{m_2} Q &= 2^{m_2}V \\
U - z^{-1}2^{m_2}Q &= Y
\end{array} \right.
\]
The STF & NTF is shown as below \[
V = \frac{1}{2^{m_2}}U + (1-z^{-1})Q
\]
To avoid accumulator overflow, stable input range is only
of a fraction of the full scale ( \(2^{m_1+m_2}-1\)) \[
u \leq 2^{m_1+m_2} - 2^{m_2}
\]
M. H. Perrott, M. D. Trott and C. G. Sodini, "A modeling approach for
/spl Sigma/-/spl Delta/ fractional-N frequency synthesizers allowing
straightforward noise analysis," in IEEE Journal of Solid-State
Circuits, vol. 37, no. 8, pp. 1028-1038, Aug. 2002 [https://www.cppsim.com/Publications/JNL/perrott_jssc02.pdf]
Sigma-delta digital-to-analog converters (SD DAC’s) are often used
for discrete-time signals with sample rate much higher than
their bandwidth
Because of the high sample rate relative to signal bandwidth,
a very simple DAC reconstruction filter (Analog
lowpass filter) suffices, often just a one-pole RC
lowpass
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
R= 4.7e3; % ohms resistor value C= .01e-6; % F capacitor value fs= 1e6; % Hz DAC sample rate % input signal x= [zeros(1,20) .9*ones(1,200) .1*ones(1,200)]; % find output y of SD DAC and output y_filt of RC filter [y,y_filt]= sd_dacRC(x,R,C,fs);
t = linspace(0,length(x)-1, length(x))*1/fs*1e3; subplot(3,1,1) plot(t, x, '.'); title('x'); grid on subplot(3,1,2) plot(t, y, '.'); title('y'); grid on subplot(3,1,3) plot(t, y_filt); title('y_{filt}'); xlabel('t(ms)'); grid on
% https://www.dsprelated.com/showarticle/1642.php % Neil Robertson, Model a Sigma-Delta DAC Plus RC Filter
% function [y,y_filt] = sd_dacRC(x,R,C,fs) 2/5/24 Neil Robertson % 1-bit sigma-delta DAC with RC filter % Model does not include a zero-order hold. % % x = input signal vector, 0 <= x < 1 % R = series resistor value, Ohms. Normally R > 1000 for 3.3 V logic. % C = shunt capacitor value, Farads % fs = sample frequency, Hz % y = DAC output signal vector, y(n) = 0 or 1 % y_filt = RC filter output signal vector % function[y,y_filt] = sd_dacRC(x,R,C,fs) N= length(x); x= fix(x*2^16)/2^16; % quantize x to 16 bits %I 1-bit Sigma-delta DAC s= [x(1) zeros(1,N-1)]; for n= 2:N u= x(n) + s(n-1); s(n)= mod(u,1); % sum y(n)= fix(u); % carry end
%II One-pole RC filter model % Matched z-Transform https://ocw.mit.edu/courses/2-161-signal-processing-continuous-and-discrete-fall-2008/cc00ac6d468dc9dcf2238fc1d1a194d4_lecture_19.pdf Ts= 1/fs; Wc= 1/(R*C); % rad -3 dB frequency fc= Wc/(2*pi); % Hz -3 dB frequency a1= -exp(-Wc*Ts); b0= 1 + a1; % numerator coefficient a= [1 a1]; % denominator coeffs y_filt= filter(b0,a,y); % filter the DAC's output signal y
J. W. M. Rogers, F. F. Dai, M. S. Cavin and D. G. Rahn, "A multiband
/spl Delta//spl Sigma/ fractional-N frequency synthesizer for a MIMO
WLAN transceiver RFIC," in IEEE Journal of Solid-State
Circuits, vol. 40, no. 3, pp. 678-689, March 2005 [https://sci-hub.se/10.1109/JSSC.2005.843604]
(a) a fractional accumulator, and (b) a triple-loop \(\Delta\Sigma\) accumulator for \(N(z) = 100 + 1/32\)
—. "LSB Dithering in MASH Delta–Sigma D/A Converters," in IEEE
Transactions on Circuits and Systems I: Regular Papers, vol. 54,
no. 4, pp. 779-790, April 2007 [https://sci-hub.se/10.1109/TCSI.2006.888780]
Pavan, Shanthi, Richard Schreier, and Gabor Temes. (2016) 2016.
Understanding Delta-Sigma Data Converters. 2nd ed. Wiley.
John Rogers, Calvin Plett, and Foster Dai. 2006. Integrated Circuit
Design for High-Speed Frequency Synthesis (Artech House Microwave
Library). Artech House, Inc., USA. [pdf]
K. Hosseini and M. P. Kennedy, Minimizing Spurious Tones in Digital
Delta-Sigma Modulators (Analog Circuits and Signal Processing). New
York, NY, USA: Springer, 2011.
Rhee, W. (2020). Phase-locked frequency generation and clocking :
architectures and circuits for modern wireless and wireline
systems. The Institution of Engineering and Technology
Lacaita, Andrea Leonardo, Salvatore Levantino, and Carlo Samori.
Integrated frequency synthesizers for wireless systems.
Cambridge University Press, 2007.
"Quantizers" and "truncators",
and "integrators" and "accumulators"
are used in delta-sigma ADCs and DACs,
respectively
P. Kiss, J. Arias and Dandan Li, "Stable high-order delta-sigma
DACS," 2003 IEEE International Symposium on Circuits and Systems
(ISCAS), Bangkok, 2003 [https://www.ele.uva.es/~jesus/analog/tcasi2003.pdf]
plot(w1/2/pi, abs(h1), LineWidth=3) hold on plot(w2/2/pi, abs(h2), LineWidth=3) grid on legend('MOD1', 'MOD2') xlabel('fs') ylabel('mag') title('NTF of MOD1 & MOD2')
SQNR improvement
In general, for an \(l\)th order
modulator with \(\text{NTF}(z) = (1 −
z^{−1})^l\), the SQNR increases by \((6l + 3)\) dB for every
doubling of the OSR, which provides \(l+0.5\)extra bits
resolution
where \(N\) is the number of bits in
the output, \(M\) is known as the
over-sampling ratio, \(L\) is loop
orders
Quantizer Bits & ENOB
without the delta-sigma loop
High-Order \(\Delta\Sigma\) Modulators
The greater the number of quantizer levels, the
smaller quantization error
Quantizer overload
\(\Delta \Sigma\) vs. \(\Delta\) modulation
\(\Delta \Sigma\) modulators,
and other noise-shaping modulators, change the spectrum of the
noise but leave the signal unchanged
\(\Delta\) modulators and other
signal-predicting modulators shape the spectrum of the
modulated signal but leave the quantization noise unchanged at the
receiver
output vs.
error-feedback
The error-feedback architecture is
problematic for analog implementation, since it is
sensitive to variations of its parameters (subtractor realization)
The error-feedback structure is thus of limited utility in \(\Delta \Sigma\)ADCs
The error-feedback structure is very useful and applied in
digital loops required in \(\Delta \Sigma\)DACs
ADC
DAC
P. Kiss, J. Arias and Dandan Li, "Stable high-order delta-sigma
DACS," 2003 IEEE International Symposium on Circuits and Systems
(ISCAS), Bangkok, 2003 [https://www.ele.uva.es/~jesus/analog/tcasi2003.pdf]
always @(*) i_func_extended = {i_func[15],i_func[15],i_func[15],i_func[15],i_func}; always @(posedge i_clk ornegedge i_res) begin if (i_res==0) begin DAC_acc_1st<=16'd0; DAC_acc_2nd<=16'd0; this_bit = 1'b0; end elseif(i_ce == 1'b1) begin if(this_bit == 1'b1) begin DAC_acc_1st = DAC_acc_1st + i_func_extended - (2**15); DAC_acc_2nd = DAC_acc_2nd + DAC_acc_1st - (2**15); end else begin DAC_acc_1st = DAC_acc_1st + i_func_extended + (2**15); DAC_acc_2nd = DAC_acc_2nd + DAC_acc_1st + (2**15); end // When the high bit is set (a negative value) we need to output a 0 and when it is clear we need to output a 1. this_bit = ~DAC_acc_2nd[19]; end end endmodule
an interpolation filter effectively
up-samples its low-rate input and
lowpass-filters the resulting high-rate data
to produce a high-rate output devoid of images
Any such physically feasible device will take
a finite time to operate – in other words, the
quantized output will only be available a small time
after the quantizer has "looked" at the input - insert a one-sample
delay
there cannot be a "delay free loop" is a
common idea in sequential digital state machine design
Both integrator and quantizer are delay free
NTF realizability criterion: No delay-free loops in the modulator
linear settling & GBW of
amplifier
TODO 📅
Switched capacitor has been the common realization technique of
discrete-time (DT) modulators, and in order to achieve a
linear settling, the sampling frequency used
in these converters needs to be significantly lower than the gain
bandwidth product (GBW) of the amplifiers.
Pavan, Shanthi, Richard Schreier, and Gabor Temes. (2016).
Understanding Delta-Sigma Data Converters. 2nd ed. Wiley.
Norsworthy, Steven R., Richard Schreier, Gábor C. Temes and Ieee
Circuits. “Delta-sigma data converters : theory, design, and
simulation.” (1997).
Horowitz, P., & Hill, W. (2015). The art of electronics
(3rd ed.). Cambridge University Press. [pdf]
John Rogers, Calvin Plett, and Foster Dai. 2006. Integrated Circuit
Design for High-Speed Frequency Synthesis (Artech House Microwave
Library). Artech House, Inc., USA. [pdf]
R. Schreier, ISSCC2006 tutorial: Understanding Delta-Sigma Data
Converters
P. M. Aziz, H. V. Sorensen and J. vn der Spiegel, "An overview of
sigma-delta converters," in IEEE Signal Processing Magazine, vol. 13,
no. 1, pp. 61-84, Jan. 1996 [https://sci-hub.st/10.1109/79.482138]
V. Medina, P. Rombouts and L. Hernandez-Corporales, "A Different View
of Sigma-Delta Modulators Under the Lens of Pulse Frequency Modulation
[Feature]," in IEEE Circuits and Systems Magazine, vol. 24, no.
2, pp. 80-97, Secondquarter 2024