Sampling and Quantization

Similar documents
Lab Exercise 6: Digital/Analog conversion

INTRODUCTION TO COMMUNICATION SYSTEMS LABORATORY IV. Binary Pulse Amplitude Modulation and Pulse Code Modulation

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

Experiment 8 Frequency Response

Electronics A/D and D/A converters

Part I - Amplitude Modulation

cosω t Y AD 532 Analog Multiplier Board EE18.xx Fig. 1 Amplitude modulation of a sine wave message signal

EE 210 Lab Exercise #4 D/A & A/D Converters

5 V Integrated High Speed ADC/Quad DAC System AD7339

Generating DTMF Tones Using Z8 Encore! MCU

UNIVERSITY OF TECHNOLOGY, JAMAICA School of Engineering -

Low Power, mw, 2.3 V to 5.5 V, Programmable Waveform Generator AD9833-EP

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

Group: Names: Resistor Band Colors Measured Value ( ) R 1 : 1k R 2 : 1k R 3 : 2k R 4 : 1M R 5 : 1M

Assoc. Prof. Dr. Burak Kelleci

Data Conversion and Lab Lab 4 Fall Digital to Analog Conversions

Experiment 9 AC Circuits

UNIVERSITY OF TECHNOLOGY, JAMAICA SCHOOL OF ENGENEERING. Electrical Engineering Science. Laboratory Manual

EE 210: CIRCUITS AND DEVICES

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS

DIGITAL COMMUNICATIONS LAB

LC2 MOS Complete, 12-Bit Analog I/O System AD7868

Lab 2: Capacitors. Integrator and Differentiator Circuits

Quad 12-Bit Digital-to-Analog Converter (Serial Interface)

Computer-Based Project on VLSI Design Co 3/8

UNIVERSITY OF UTAH ELECTRICAL ENGINEERING DEPARTMENT

ADC1206S040/055/ General description. 2. Features. 3. Applications. Single 12 bits ADC, up to 40 MHz, 55 MHz or 70 MHz

Lab 6: Building a Function Generator

CDK bit, 25 MSPS 135mW A/D Converter

Screening Audiometer

Summary Last Lecture

University of Jordan School of Engineering Electrical Engineering Department. EE 219 Electrical Circuits Lab

FUNCTIONAL BLOCK DIAGRAM DIGITAL VIDEO ENGINE

Exp. #2-6 : Measurement of the Characteristics of,, and Circuits by Using an Oscilloscope

Computer-Based Project on VLSI Design Co 3/7

Lab 3: AC Low pass filters (version 1.3)

Lab #2: Electrical Measurements II AC Circuits and Capacitors, Inductors, Oscillators and Filters

ADC1006S055/ General description. 2. Features. 3. Applications. Single 10 bits ADC, up to 55 MHz or 70 MHz

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS

Experiment 9 The Oscilloscope and Function Generator

400ksps/300ksps, Single-Supply, Low-Power, Serial 12-Bit ADCs with Internal Reference

EEE312: Electrical measurement & instrumentation

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

ASTABLE MULTIVIBRATOR

ADC Bit µp Compatible A/D Converter

Physics 310 Lab 4 Transformers, Diodes, & Power Supplies

78A207 MFR1 Receiver DATA SHEET DESCRIPTION FEATURES OCTOBER 2005

SPT BIT, 30 MSPS, TTL, A/D CONVERTER

Physics 120 Lab 6 (2018) - Field Effect Transistors: Ohmic Region

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

EK307 Passive Filters and Steady State Frequency Response

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

University of Jordan School of Engineering Electrical Engineering Department. EE 204 Electrical Engineering Lab

Sept 13 Pre-lab due Sept 12; Lab memo due Sept 19 at the START of lab time, 1:10pm

SINGLE-ENDED ANALOG-INPUT 24-BIT, 96-kHz STEREO A/D CONVERTER

PHYS 536 The Golden Rules of Op Amps. Characteristics of an Ideal Op Amp

2.7 V to 5.5 V, 400 ksps 8-/10-Bit Sampling ADC AD7813

AC LAB ECE-D ecestudy.wordpress.com

SG1524/SG2524/SG3524 REGULATING PULSE WIDTH MODULATOR DESCRIPTION FEATURES HIGH RELIABILITY FEATURES - SG1524 BLOCK DIAGRAM

6-Bit A/D converter (parallel outputs)

EEE3410 Microcontroller Applications Department of Electrical Engineering. Lecture 10. Analogue Interfacing. Vocational Training Council, Hong Kong.

LOW SAMPLING RATE OPERATION FOR BURR-BROWN

Sequential Logic Circuits

LC2 MOS Complete, 14-Bit Analog I/O System AD7869

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

Wireless Communication

Lab 6: MOSFET AMPLIFIER

Experiment #2 Half Wave Rectifier

LC 2 MOS Signal Conditioning ADC AD7712

Lab #2: Electrical Measurements II AC Circuits and Capacitors, Inductors, Oscillators and Filters

BINARY AMPLITUDE SHIFT KEYING

How to turn an ADC into a DAC: A 110dB THD, 18mW DAC using sampling of the output and feedback to reduce distortion

FAMILIARIZATION WITH DIGITAL PULSE AND MEASUREMENTS OF THE TRANSIENT TIMES

Laboratory 2. Lab 2. Instrument Familiarization and Basic Electrical Relations. Required Components: 2 1k resistors 2 1M resistors 1 2k resistor

ELG3175 INTRODUCTION TO COMMUNICATION SYSTEMS

Features. 5V Reference UVLO. Oscillator S R GND*(AGND) 5 (9) ISNS 3 (5)

DELTA MODULATION. PREPARATION principle of operation slope overload and granularity...124

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

Cyber-Physical Systems ADC / DAC

SPT BIT, 100 MWPS TTL D/A CONVERTER

EE 233 Circuit Theory Lab 3: First-Order Filters

Using an automated Excel spreadsheet to compensate a flyback converter operated in current-mode. Christophe Basso, David Sabatié

Lab 6: Instrumentation Amplifier

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

Physics 310 Lab 2 Circuit Transients and Oscilloscopes

Experiment 1: Instrument Familiarization (8/28/06)

+15 V 10k. !15 V Op amp as a simple comparator.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

EE 221 L CIRCUIT II. by Ming Zhu

Laboratory 2 (drawn from lab text by Alciatore)

Evaluation Board Analog Output Functions and Characteristics

P a g e 1. Introduction

Advanced Regulating Pulse Width Modulators

Group: Names: (1) In this step you will examine the effects of AC coupling of an oscilloscope.

5 V, 12-Bit, Serial 220 ksps ADC in an 8-Lead Package AD7898 * REV. A

AD9772A - Functional Block Diagram

QUAD NON-PROGRAMMABLE PCM CODEC

UNIT TEST I Digital Communication

Transcription:

University of Saskatchewan EE Electrical Engineering Laboratory Sampling and Quantization Safety The voltages used in this experiment are less than V and normally do not present a risk of shock. However, you should always follow safe procedures when working on any electronic circuit. Assemble or modify a circuit with the power off or disconnected. Don t touch different nodes of a live circuit simultaneously, and don t touch the circuit if any part of you is grounded. Don t touch a circuit if you have a cut or sore that might come in contact with a live wire. Check the orientation of polarized capacitors before powering a circuit, and remember that capacitors can store charge after the power is turned off. Never remove a wire from an inductor while current is flowing through it. Components can become hot if a fault develops or even during normal operation so use appropriate caution when touching components. Objectives: To investigate PAM sampling and to observe the effects of sampling and quantization and to measure output quality in terms of signal to noise ratio (SNR) for PCM systems. Equipment: You will require a PAM module for the first part and a PCM module for the second part. You will also require a filter module The modules are available from the technicians in C. Reference: Virtual experiment found at http://www.engr.usask.ca/classes/ee// Procedure: Sampling Pulse Amplitude Modulation. Obtain a PAM sampling module (Figure ) from the technicians and set up the sampling Fig. Sampling Module

University of Saskatchewan EE Electrical Engineering Laboratory gnd W (t) 0 ohm n v Sampling Module TTL clock Out khz LPF 0 v Fig. Sampling Circuit circuit of Figure. Use a pulse generator to generate a gating signal for the sampling module. Set the pulse voltage to TTL levels (0 V low to V high). Attach a khz filter module to the output of the sampling module. You will use a signal generator for the input signal for most of the steps below. Limit the input signal to ± V; larger signals may damage the sampling gate chip. The sampling module (Fig. ) uses a 0 CMOS switch, controlled by the gating pulse, to apply the input signal to either a 0K resistor or a 0 nf capacitor to ground, selected by switch S. With the 0K resistor selected, the output voltage will follow the input voltage so long as the 0 switch is closed but will be pulled to ground through the 0K resistor when the 0 switch is open. The result is natural sampling. With the 0 nf capacitor Fig. PAM Sampling Module

University of Saskatchewan EE Electrical Engineering Laboratory selected, the input voltage charges the capacitor while the 0 switch is closed and the voltage is maintained by the capacitor when the 0 switch is open. The result is flattop sampling provided the gate signal has a small duty cycle. A second 0 switch allows the capacitor to be discharged before the next sample resulting in less than 00% width flattop sampling. The timing is controlled by a PC microcontroller; the % width of flattop sampling is set by the dip switch. The TL0 voltage follower prevents loading of the sampling circuit by the device connected to the output.. Set the sampling pulse to 00 µs period (0 khz) and % duty cycle. Apply V DC to the input and confirm that the sampling gate is operating correctly. Use the 0K load resistor to produce natural sampling, and check the result with both an oscilloscope and a spectrum analyzer. Measure the spectrum and confirm that it agrees with theory.. Apply a V pp sinusoid at khz to the sampling circuit input. Display the input signal, the sampled signal and the filter output signal on the oscilloscope and spectrum analyzer. Measure the spectrum and confirm that it agrees with theory.. nvestigate how the sampled signal s spectrum and the filtered output wave form changes as a) the input signal frequency f m is increased b) the pulse duty cycle is increased c) the sampling frequency f s is altered d) f m is increased up to twice f s. Generate an approximation to flattop sampling by using the 0 nf capacitor in place of the 0K load resistor and by reducing the duty cycle of the gating pulses as much as possible; be sure the sampling frequency is 0 khz. Start with 00% width flattop sampling. Observe the sampled waveform on the oscilloscope and use the spectrum analyzer to observe baseband alias frequency components as the input signal frequency is increased up to and beyond f s. Confirm that the relative gain follows the theoretical sin x / x function part of which is shown in Figure. Switch to 0% and then % width flattop sampling and measure the relative gain as a function of signal frequency..0 % % 0. 0% Relative Gain 0. Sampling Frequency Fs = 0 khz 00% 0. 0. Frequency in khz Fig. Signal Gain in Flat Top Sampling

University of Saskatchewan EE Electrical Engineering Laboratory Procedure: Quantization Pulse Code Modulation. Obtain the PCM test module shown in Figure. The circuit uses a AD bit A/D converter to digitize the input signal. Provide a 00 khz TTL sampling clock to operate the converter. Apply a khz sine wave and adjust the amplitude to match the maximum input range of the A/D converter (about V pp ). The capacitive coupling and the resistor network is used to shift the input voltage so that the voltage applied to the A/D converter is positive. f the input range of the A/D converter is exceeded your signal will be clipped, but if your signal is much less than the input range then the effective number of bits will be reduced. The module also includes two bit DACs and switches that allow the bits to go to either the first or the second DAC. f n higher order bits are sent to the first DAC then its output will be the nbit PCM signal. The second DAC receives the n lower order bits, and its output approximates the error signal.. Using the setup of Figure without the speaker or voltmeter, observe and sketch the quantized signal and the error signal. Observe the effect of using different numbers of bits of quantization. Reduce the sampling frequency to 0 khz and measure the signaltonoise ratio (SNR) in the sampled signal after the khz lowpass filter for different n bits of quantization (the expected change is db per bit).. Plot the bit SNR as the signal level is reduced up to 0 db relative to the maximum NPUT.K AD SAMPLE CLOCK µf V MHZ CONVERSON CLOCK µf V µf CA0 ONE SHOT CLK AGND V VDD (LSB) D0 D AD AN VREF V 0 D D D D D (MSB) D TP RD C BUSY S DAC REF 0K pf DGND 0 V 0 0 (LSB) (MSB) V V (LSB) (MSB) V V DAC # DAC0 o Vref () Vref ( ) o VLC COMP V V DAC # DAC0 V V Vref () Vref ( ) o o VLC COMP. TL0. TL0 DAC REF DAC REF OUTPUT # TL0 OUTPUT # TL0 Fig. PCM A/D and D/A Circuit

University of Saskatchewan EE Electrical Engineering Laboratory Fig. PCM Measurement Setup signal. (Note that quantizing noise power should be constant except when overload occurs).. ncreasing the sampling rate improves the SNR of a bandlimited PCM system (i.e. a system with a lowpass filter on the output). Verify this experimentally by changing the sampling rate from 0 khz to 0 khz and measuring the SNR.