Discrete Time Signals and Switched Capacitor Circuits (rest of chapter , 10.2)

Similar documents
Discrete Time Signals and Switched Capacitor Circuits (rest of chapter , 10.2)

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Discrete-Time David Johns and Ken Martin University of Toronto

System on a Chip. Prof. Dr. Michael Kraft

Bandgap References and Discrete Time Signals (chapter 8 + 9)

Chapter 2 Switched-Capacitor Circuits

Sample-and-Holds David Johns and Ken Martin University of Toronto

Lecture 6, ATIK. Switched-capacitor circuits 2 S/H, Some nonideal effects Continuous-time filters

Oversampling Converters

Switched Capacitor: Sampled Data Systems

University Question Paper Solution

Stability Condition in Terms of the Pole Locations

Switched Capacitor Circuits I. Prof. Paul Hasler Georgia Institute of Technology

DESIGN MICROELECTRONICS ELCT 703 (W17) LECTURE 3: OP-AMP CMOS CIRCUIT. Dr. Eman Azab Assistant Professor Office: C

ELEG 305: Digital Signal Processing

Z Transform (Part - II)

Lecture 7, ATIK. Continuous-time filters 2 Discrete-time filters

Sophomore Physics Laboratory (PH005/105)

Master Degree in Electronic Engineering. Analog and Telecommunication Electronics course Prof. Del Corso Dante A.Y Switched Capacitor

Lecture 10, ATIK. Data converters 3

V. IIR Digital Filters

EEL3135: Homework #4

3.2 Complex Sinusoids and Frequency Response of LTI Systems

OPERATIONAL AMPLIFIER APPLICATIONS

EE482: Digital Signal Processing Applications

Switched-Capacitor Filters

Pipelined multi step A/D converters

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

Advanced Current Mirrors and Opamps

Chapter 7: IIR Filter Design Techniques

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

Digital Signal Processing Lecture 8 - Filter Design - IIR

EEE598D: Analog Filter & Signal Processing Circuits

CMOS Comparators. Kyungpook National University. Integrated Systems Lab, Kyungpook National University. Comparators

Discrete Time Systems

SWITCHED CAPACITOR AMPLIFIERS

Discrete-Time Filter (Switched-Capacitor Filter) IC Lab

EE482: Digital Signal Processing Applications

E : Lecture 1 Introduction

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

Today. ESE 531: Digital Signal Processing. IIR Filter Design. Impulse Invariance. Impulse Invariance. Impulse Invariance. ω < π.

Homework Assignment 11

Module 4 : Laplace and Z Transform Problem Set 4

Discrete-time Signals and Systems in

EXAMPLE DESIGN PART 2

Appendix A Butterworth Filtering Transfer Function

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

ELECTRONIC SYSTEMS. Basic operational amplifier circuits. Electronic Systems - C3 13/05/ DDC Storey 1

Digital Signal Processing IIR Filter Design via Bilinear Transform

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Lecture 7 - IIR Filters

Nyquist-Rate D/A Converters. D/A Converter Basics.

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

An Anti-Aliasing Multi-Rate Σ Modulator

Electronic Circuits Summary

Single-Time-Constant (STC) Circuits This lecture is given as a background that will be needed to determine the frequency response of the amplifiers.

AC Circuits Homework Set

PURPOSE: See suggested breadboard configuration on following page!

ECGR4124 Digital Signal Processing Exam 2 Spring 2017

DSP Design Lecture 2. Fredrik Edman.

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

Topic 4. The CMOS Inverter

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

UNIT 1. SIGNALS AND SYSTEM

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

CMOS Cross Section. EECS240 Spring Dimensions. Today s Lecture. Why Talk About Passives? EE240 Process

Filters and Tuned Amplifiers

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

Review of Linear Time-Invariant Network Analysis

Switched Capacitor Filters (SCF)

THE INVERTER. Inverter

Lecture 12 CMOS Delay & Transient Response

EXAMPLE DESIGN PART 2

MOS Transistor Theory

Fourier Series Representation of

ECEN 610 Mixed-Signal Interfaces

! Crosstalk. ! Repeaters in Wiring. ! Transmission Lines. " Where transmission lines arise? " Lossless Transmission Line.

Your solutions for time-domain waveforms should all be expressed as real-valued functions.

Electronic Circuits EE359A

ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals. 1. Sampling and Reconstruction 2. Quantization

ESE 531: Digital Signal Processing

Detailed Solutions to Exercises

Aspects of Continuous- and Discrete-Time Signals and Systems

Chapter 10 Feedback. PART C: Stability and Compensation

Chapter 2 Time-Domain Representations of LTI Systems

EE 435 Lecture 44. Switched-Capacitor Amplifiers Other Integrated Filters

Topic 3: Fourier Series (FS)

PS403 - Digital Signal processing

Analog LTI system Digital LTI system

ECE 255, Frequency Response

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Lecture 6: Time-Dependent Behaviour of Digital Circuits

Z-Transform. x (n) Sampler

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Topics to be Covered. capacitance inductance transmission lines

Transcription:

Discrete Time Signals and Switched Capacitor Circuits (rest of chapter 9 + 0., 0.2) Tuesday 6th of February, 200, 9:5 :45 Snorre Aunet, sa@ifi.uio.no Nanoelectronics Group, Dept. of Informatics Office 3432 Last time Tuesday 9th of February, and today, February the 6th: 8.5 Bandgap Voltage Reference Basics 8.6 Circuits for Bandgap References Chapter 9 Discrete-Time Signals 9. Overview of some signal spectra 9.2 Laplace Transforms of Discrete-Time Signals 9.2-9.6 0.-0.2 (0.3((?)))

6. februar 200 3 6. februar 200 4 2

6. februar 200 5 6. februar 200 6 3

6. februar 200 7 6. februar 200 8 4

6. februar 200 9 xn () xn () 0 5 5 n 5 0 5 n 0 rad/sample = 0 cycles/sample 8 rad/sample = 6 cycles/sample xn () xn () 5 5 5 6. februar 200 n n 0 5 0 0 rad/sample 8cycles/sample 4 = 2 rad/sample = 4cycles/sample 5

6. februar 200 n n 0 2 L L = 4 0 4 8 0 4 ----- 2 -- 6 6 2 6. februar 200 2 6

9.5 Discrete-Time Filters (pp. 382 in J&M ) un () Hz () yn () yn () (Discrete-time filter) ( equals hn () if un () is an impulse) An input series of numbers is applied to a filter to create a modified output series of numbers Discrete-time filters are most often analyzed and visualized in terms of the z-transform In this figure (Fig. 9.9) the output signal is defined to be the impulse response, h(n), when the input, u(n), is an impulse (i.e. for n = 0 and 0 otherwise. Transfer function; H(z) being the z-transform of the impulse response, h(n). Continuous time LP-filter 6. februar 200 4 7

Discrete-Time Transfer Function Assume the following (LP-) transfer function: = Hz () 0,05 = ------------------------------------- z 2,6z + 0,65 Poles: Complex conjugated at 0.8+/-0.j -j = 3 --- Zeros: Two zeros at infinity (Defined). The number of zeros at infinity reflects 2 the difference in order between denominator and nominator In the discrete time somain z= corresponds to the freq. response at both dc (ω= 0) and ω = 2π. The frequency respons need only be plotted for 0 ω π(frequency response repeats every 2π. The unit circle, e jω, is used to determine the frequency response of a system that has it s input and output as a series of numbers. (The magnitude is represented by the product of the lengths of the zero-vectors divided by the product of the lengths of the pole-vectors. The phase is calculated using addition and subtraction) = 2 - j e j z-plane = 0 = 2 Frequency response s-plane high-frequency j = = 2 j e j z-plane j - = 0 dc (poles) j = 0 = -j = 2 3 = --- 2 The frequency response of discrete-time filters are similar to the response of continuous-time filters. The poles and zeroes are located in the z-plane instead of the s-plane DC/2 equals z=, fs/2 equals z=- The response is periodic with period 2 8

6. februar 200 7 Stability of Discrete-Time Filters b yn ( + ) xn () z yn () The filters are described by finite difference equations In the z-domain: yn ( + ) = bx n a () + ayn () zyz () = bxz () + ayz () Hz Yz () b () ---------- = ---------- Xz () z a H(z) has a pole in z=a. a<= to ensure stability In general a LTI system is stable if all the poles are located inside or on the unit circle 9

Test for stability Let the input, x(n) be an impulse signal (i.e. for n=0, and 0 otherwise), which gives the following output signal, according to 9.25, y(0) = k, where k is some arbitrary initial state for y. y(n+)=bx(n) + ay(n) y(0+) = b x(0) + a y(0) = b + ak = b + ak, y(2) = b x() + a y() = b 0 + a (b + ak) = ab + a 2 k Y(3) = b x(2) + a y(2) = b 0 + a y(2) = a (ab + a 2 k) = a 2 b +a 3 k Y(4) = a 3 b +a 4 k Response, h(n) = 0 for (n < 0), k for (n=0) (a n- b+a n k) for n>= This response remains bounded only when a <= for this st order filter, and unbounded otherwise. In general, an arbitrary, time invariant, discrete time filter, H(z), is stable if, and only if, all its poles are located within the unit circle. IIR and FIR Filters Infinite Impulse Response (IIR) filters are discretetime filters whose outputs remain non-zero when excited by an impulse: Can be more efficient Finite precision arithmetic may cause limit-cycle oscillations Finite Impulse Response (FIR) filters are discretetime filters whose outputs goes precisely to zero after a finite delay: Poles only in z=0 Always stable Exact linear phase filters may be designed High order often required 0

Bilinear transform Bilinear Transform In many cases it is desirable to convert a continuous-time filter into a discrete-time filter or vice-versa. H c () p is a CT transfer function with p = p + j.then z + p p = ----------- z = ----------- z+ p The bilinear transforms map the z-plane locations of (DC) and -(fs/2) to the p-plane locations 0 and.

Bilinear Transform The unit-circle z e j = in the z-plane is mapped to the entire j-axis in the p-plane: e j 2 e j 2 e j 2 e j p = --------------- e j = ------------------------------------------------------------- + e j 2 e j 2 e j 2 + 2jsin 2 = ---------------------------- = 2cos 2 j tan 2 The following frequency mapping occurs: Then Hz () H c ( z z+ ) = tan 2 and He j ( ) = H c ( jtan 2) Sample-and-Hold Response (/3) A sampled and held signal is related to the sampled continuous-time signal as follows: x sh () t = x c ( nt) ( t nt) ( t nt T) n = Taking the Laplace-transform: X sh () s = e st ------------------ x s c ( nt)e snt n = e st = ---------------- X s s () s 2

Sample-and-Hold Response (2/3) The hold transfer function H sh (s) is due to the previous result equal to: e st H sh () s = ------------------ s The spectrum is found by setting s=j: H sh ( j ) j T j T --------- e 2 = --------------------- = T e j Finally the magnitude is given by: sin ------- T 2 -------------------- T ------- 2 This response sin(x)/x is usually referred to as the sincresponse. Sample-and-Hold Response (3/3) Shaping only occurs for continuous-time signals, since a sampled signal will not be affected by the hold function. A S/H before an A/D converter does not reduce the demand of an anti-aliasing aliasing filter preceeding the A/D-converter, but simply allow the A/D to have a constant input value during the conversion. 3

Tuesday 6th of February: Discrete Time Signals (from chapter 9) Today: as far as we get with: Chapter0 Switched Capacitor Circuits 0. Basic building blocks (Opamps, Capacitors, Switches, Nonoverlappingg clocks) 0.2 Basic operation and analysis (Resistor equivalence of a Switched Capacitor, Parasitic Insensitive Integrators) Properties of SC circuits Popular due to accurate frequency response, good linearity and dynamic range Easily analyzed with z-transform Typically y require aliasing and smoothing filters Accuracy is obtained since filter coefficients are determined from capacitance ratios, and relative matching is good in CMOS The overall frequency response remains a function of the clock, and the frequency may be set very precisely through the use of a crystal oscillator SC-techniques may be used to realize other signal processing blocks like for example gain stages, voltage-controlled oscillators and modulators 4

Basic building blocks in SC circuits; Opamps, capacitors, switches, clock generators (chapter 0.) DC gain typically in the order of 40 to 80 db (00 0000 x) Unity gain frequency should be > 5 x clock speed (rule of thumb) Phase margin > 70 degrees (according to Johns & Martin) Unity-gain and phase margin highly dependent on the load capacitance, in SC-circuits. In single stage opamps a doubling of the load capacitance halves the unity gain frequency and improve the phase margin The finite slew rate may limit the upper clock speed. Nonzero DC offset can result in a high output dc offset, depending on the topology chosen, especially if correlated double sampling is not used C p metal poly2 Basic building blocks in SC circuits; Opamps, capacitors, switches, clock generators poly C thin oxide C p2 thick oxide metal bottom plate C C p C p2 (substrate - ac ground) cross-section view equivalent circuit Typically constructed between two polysilicon layers Parasitics; Cp, Cp2. Parasitic Cp2 may be as large as 20 % of the desired, C Cp typically 5 % of C. Therefore, the equivalent model contain 3 capacitors 5

Basic building blocks in SC circuits; Opamps, capacitors, switches, clock generators Symbol n-channel v v v v 2 2 transmission gate p-channel v v 2 v v 2 Desired: very high off-resistance (to avoid leakage), relatively low on-resistance (for fast settling), no offset Phi, the clock signal, switches between the power supply levels Convention: Phi is high means that the switch is on (shorted) Transmission gate switches may increase the signal range Some nonideal effects: nonlinear capacitance on each side of the switch, charge injection, capacitive coupling to each side Basic building blocks in SC circuits; Opamps, capacitors, switches, clock generators V on T V off V on n 2 n n n + t T 2 f s -- T delay delay V off 2 n 3 2 n 2 n+ 2 t T Must be nonoverlapping; at no time both signals can be high Convention in Johns & Martin ; sampling numbers are integer values Location of clock edges need only be moderately controlled (assuming low-jitter sample-and-holds ld on input and output t of the overall circuit) Delay elements above can be an even number of inverters or an RC network 6

SC Resistor Equivalent (/2) 2 R eq V V 2 V V 2 C Q = C V V 2 every clock period Q x = C x V x R eq T = --- C C is first charged to V and then charged to V2 during one clock cycle Q = C V V 2 The average current is then given by the change in charge during one cyclecle C V V 2 I avg = ------------------------------ T Where T is the clock period (/fs) SC Resistor Equivalent (2/2) 2 R eq V V 2 V V 2 C Q = C V V 2 every clock period T R eq = --- C The current through an equivalent resistor is given by: Combining the previous equation with Iavg: V V 2 I eq = ------------------ R eq The resistor equivalence is valid when fs is much larger than the signal frequency. In the case of higher signal frequencies, z-domain analysis is required : T R eq = ---- --------- C = C f s 7

Example of resistor implementation What is the resistance of a 5 pf capacitance sampled at a clock frequency of 00 khz? Note the large resistance that can be implemented. Implemented in CMOS it would take a large area for a plain resistor of the same resistance R eq = 50 2 00 0 3 - = 2M An inverting integrator v ( nt) c2 v () t cx 2 C 2 v () t ci v () t co v () t c C v() n v i = ( nt) ci v () n v o = ( nt) co 8

6. februar 200 37 Transfer function for simple discrete time integrator in chapter 0.2 9

Example waveforms. H(z) rewritten to eliminate terms of z having negative powers. Equation representative just before end of phi only V o ( z) C Hz () ------------ ----- = ---------- V i () z z C 2 2 t v () t ci t t v () t cx t v () t co t Frequency response (Low frequency) (/2) Hz () = C ----- --------------------------- / C 2 z 2 / z 2 / z 2 z = = e j T cost+ jsint z 2 / = cos T ------- + j T ------- 2 sin 2 z 2 / = cos T ------- j ------- T 2 sin 2 cost ------- j He j T C ( ) ----- 2 sin T ------- 2 = ------------------------------------------------- C 2 j2 sin T ------- 2 20

Example 0.2 (2/2) Assuming low frequency i.e. : T«The gain-constant is depending only on the capacitor-ratio and clock frequency: ( ) ----- --------- jt He j T C C 2 C K I ----- C 2 T -- v i ( n) Parasitics reducing accuracy and performance Parasitics added C p the one that is harmful, as C p C p3 C 2 C p2 C 2 C p4 v ( n) o accurate discrete-time frequency responses depends on precise matching of capacitors, (sometimes down to 0. percent) C p -5 % of C (page 396) Gain coefficient related to C p which is not well controlled and partly nonlinear larger area 2

2 2/6/200 Effect of parasitic capacitors C p3 C p4 C 2 Hz () C + C --------------------- p C 2 = ---------- z v i ( n) 2 v ( n) o C p C C p2 The gain coefficient depends on the parasitic and possibly non-linear capacitance Parasitic-Insensitive Integrator C p4 C p3 C 2 2 v () n i C v () n o C p C p2 The following parasitics does not influence: Cp2 is either connected to virtual ground or physical ground Cp3 is connected to virtual ground Cp4 is driven by the output Cp is charged between vi(n) and gnd, and does not affect charge on C 22

2 2/6/200 Parasitic-Insensitive Integrator C 2 2 C v () t ci v () t co v ( n) = v ( nt) i ci v () n = v ( nt) o co Two additional switches removes sensitivity to parasitics: Improved linearity More well-defined and accurate transfer-functions Transfer function not dependent on Cp: (Circuit in Fig. 0.9) 23

Parasitic-Insensitive Integrator (fig. 0.9) C 2 2 C v () t ci v () t co 2 v () n = v( nt) i ci v () n = v ( nt) o co V o () z Hz () ------------ = ----- ----------- Note that the integrator is now positive V i () z C 2 z C and C 2 no longer need to be much larger than parasitics A remaining limitation is the lateral stray capacitance between the lines leading to the electrodes of C and C 2. This can be reduced by inserting a grounded line between the leads. In any case the minimum permissible C and C 2 values are reduced d by a factor 0 50 if the stray-insensitive iti configuration is used, hence reducing the area required by the capacitors is reduced by the same factor [GrTe86]. Price is proportional to area. While parasitics do not affect the discrete time difference equation (or H(z)), they may slow down settling time behaviour. C H(z) for inverting, delay-free integrator 24

Inverting delay-free integrator (fig. 0.2) C 2 C v () n i V () z i 2 2 v ( n ) o V () z o Equations similar to previous slide, but with clocking- and timing convention as in fig. 0.3: H(z) having z - removed: C 2 v co ( nt T 2 ) = C 2v co( ( nt T ) 2 co C 2 v co ( nt) = C 2 v co ( nt T 2) C v ci ( nt) V Hz () o () z C ------------ = ----- ---------- z V i () z C 2 z Next time, Tuesday the 23rd Rest of chapter 0. (0.3, 0.4, 0.5, 0.7) Chapter, Data Converter Fundamentals Additional litterature (chapter 9 and 0): Sedra & Smith Franklin W. Kuo (FYS3220 (?)) Nils Haaheim, Analog CMOS Basic Electrical Engineering, Schaum s outlines 6. februar 200 50 25