LabView Exercises: Part II

Similar documents
Lab experience 1: Introduction to LabView

Spectrum Analyser Basics

Introduction To LabVIEW and the DSP Board

Getting Started with the LabVIEW Sound and Vibration Toolkit

MIE 402: WORKSHOP ON DATA ACQUISITION AND SIGNAL PROCESSING Spring 2003

Virtual Vibration Analyzer

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Experiment 13 Sampling and reconstruction

Analyzing and Saving a Signal

Virtual instruments and introduction to LabView

LOOK AT THE NETWORK OF METAL STRIPS ON THE BACKSIDE OF THE PROTOTYPING BOARD

4.9 BEAM BLANKING AND PULSING OPTIONS

SUBSYSTEMS FOR DATA ACQUISITION #39. Analog-to-Digital Converter (ADC) Function Card

Experiment 2: Sampling and Quantization

Chapter 1. Introduction to Digital Signal Processing

Digital Effects Pedal Description Ross Jongeward 10 December 2014

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

THE OPERATION OF A CATHODE RAY TUBE

THE OPERATION OF A CATHODE RAY TUBE

University of Tennessee at Chattanooga Steady State and Step Response for Filter Wash Station ENGR 3280L By. Jonathan Cain. (Emily Stark, Jared Baker)

Lab 5 Linear Predictive Coding

Data Acquisition Using LabVIEW

OWNERS MANUAL LUNATEC V3 MICROPHONE PREAMPLIFIER AND A/D CONVERTER

Working with a Tektronix TDS 3012B Oscilloscope EE 310: ELECTRONIC CIRCUIT DESIGN I

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC

Investigation of Digital Signal Processing of High-speed DACs Signals for Settling Time Testing

Audio Compression Technology for Voice Transmission

Introduction: Overview. EECE 2510 Circuits and Signals: Biomedical Applications. ECG Circuit 2 Analog Filtering and A/D Conversion

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

S I N E V I B E S FRACTION AUDIO SLICING WORKSTATION

Experiment 9A: Magnetism/The Oscilloscope

Synthesized Clock Generator

Calibrate, Characterize and Emulate Systems Using RFXpress in AWG Series

Techniques for Extending Real-Time Oscilloscope Bandwidth

There are many ham radio related activities

NanoGiant Oscilloscope/Function-Generator Program. Getting Started

APPLICATION NOTE # Monitoring DTMF Digits Transmitted by a Phone

Pole Zero Correction using OBSPY and PSN Data

USING MATLAB CODE FOR RADAR SIGNAL PROCESSING. EEC 134B Winter 2016 Amanda Williams Team Hertz

Modular Analog Synthesizer

ECE438 - Laboratory 4: Sampling and Reconstruction of Continuous-Time Signals

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

MONITORING AND ANALYSIS OF VIBRATION SIGNAL BASED ON VIRTUAL INSTRUMENTATION

Session 1 Introduction to Data Acquisition and Real-Time Control

Application Note AN-LD09 Rev. B Troubleshooting Low Noise Systems. April, 2015 Page 1 NOISE MEASUREMENT SYSTEM BASELINES INTRODUCTION

DMC550 Technical Reference

Experiment # 5. Pulse Code Modulation

Basic LabVIEW Programming Amit J Nimunkar, Sara Karle, Michele Lorenz, Emily Maslonkowski

S op o e p C on o t n rol o s L arni n n i g n g O bj b e j ctiv i e v s

DSP First Lab 04: Synthesis of Sinusoidal Signals - Music Synthesis

LabView Exercises: Part III

REPORT DOCUMENTATION PAGE

Digital Lock-In Amplifiers SR850 DSP lock-in amplifier with graphical display

ESI VLS-2000 Video Line Scaler

Major Differences Between the DT9847 Series Modules

Digital Delay / Pulse Generator DG535 Digital delay and pulse generator (4-channel)

ni.com Digital Signal Processing for Every Application

Table of Contents Introduction

ECE 2274 Pre-Lab for Experiment Timer Chip

University of Utah Electrical & Computer Engineering Department ECE1050/1060 Oscilloscope

Embedded Signal Processing with the Micro Signal Architecture

A MISSILE INSTRUMENTATION ENCODER

The Design of Teaching Experiment System Based on Virtual Instrument Technology. Dayong Huo

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

PHYSICS OF MUSIC. 1.) Charles Taylor, Exploring Music (Music Library ML3805 T )

Light Emitting Diodes and Digital Circuits I

Simple Harmonic Motion: What is a Sound Spectrum?

B I O E N / Biological Signals & Data Acquisition

Scanning For Photonics Applications

PRODUCT SHEET TRANSDUCER MODULE GSR100C

Digital Strobe Tuner. w/ On stage Display

Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711

Light Emitting Diodes and Digital Circuits I

BTV Tuesday 21 November 2006

The Distortion Magnifier

Instructions and answers for teachers

ALGORHYTHM. User Manual. Version 1.0

Appendix D. UW DigiScope User s Manual. Willis J. Tompkins and Annie Foong

ONE SENSOR MICROPHONE ARRAY APPLICATION IN SOURCE LOCALIZATION. Hsin-Chu, Taiwan

Synthesis Technology E102 Quad Temporal Shifter User Guide Version 1.0. Dec

BER MEASUREMENT IN THE NOISY CHANNEL

2 MHz Lock-In Amplifier

Diamond Cut Productions / Application Notes AN-2

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

Acoustic Measurements Using Common Computer Accessories: Do Try This at Home. Dale H. Litwhiler, Terrance D. Lovell

Interpolated DDS Technique in SDG2000X October 24, 2017 Preface

Light Emitting Diodes and Digital Circuits I

Version 1.10 CRANE SONG LTD East 5th Street Superior, WI USA tel: fax:

The Tone Height of Multiharmonic Sounds. Introduction

Laboratory Assignment 3. Digital Music Synthesis: Beethoven s Fifth Symphony Using MATLAB

UNIVERSAL SPATIAL UP-SCALER WITH NONLINEAR EDGE ENHANCEMENT

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

Lab 1 Introduction to the Software Development Environment and Signal Sampling

EMS DATA ACQUISITION AND MANAGEMENT (LVDAM-EMS) MODEL 9062-C

14 GHz, 2.2 kw KLYSTRON GENERATOR GKP 22KP 14GHz WR62 3x400V

MODEL PA II-R (1995-MSRP $549.00)

MP212 Principles of Audio Technology II

6SN7 Mu Follower Distortion. Ian Thompson-Bell. January 2009

Transcription:

Physics 3100 Electronics, Fall 2008, Digital Circuits 1 LabView Exercises: Part II The working VIs should be handed in to the TA at the end of the lab. Using LabView for Calculations and Simulations LabView provides a convenient means of performing calculations and displaying the results in graphical form. This part of the lab involves building two VIs. Exercise 1: Starting from a blank VI, build an application which calculates the I-V characteristic of the diode starting from the exponential model for the diode. I D = I S (e V D/nV T 1) The VI should graph I D vs V D on the front panel. There are several ways to accomplish this, I suggest using a formula node on the block diagram. To use this you will need to look at the help window in order to learn the syntax which must be used in a formula node. The graphing tool you need to use is an XY Graph(don t use the Express VI for this as you will need to modify things). I suggest a front panel layout similar to that shown below:

Physics 3100 Electronics, Fall 2008, Digital Circuits 2 Now add a second formula node which calculates the load line describing the voltage drop across the resistor in the circuit In order to graph both of these on the same graph you need to build an array as in this example from XY Graph.vi Exercise 2: We frequently do Monte Carlo simulations to compare experimental measurements to what might have been predicted from calculation. This is a particularly useful method for evaluating the uncertainty in measurements for systems which are very complex (for example, those having many variables). The reason this approach is called Monte Carlo is because it relies on the generation of random numbers (as a way of simulating the random uncertainties associated with experimental measurements). The first task in building a Monte Carlo simulation is to find a reliable random number generator. This is not as easy as it may sound since computers have a nasty habit of doing the same calculation the same way every time (thus always getting the same answer). This can introduce correlations into the random number generation process. Using LabView, build a simple VI which calculates two random numbers (between 0 and 1) and plots them against each other (using the XY Graph tool) on the front panel. See if you can tell whether there are any correlations between the two random numbers generated. (For example, you can calculate

Physics 3100 Electronics, Fall 2008, Digital Circuits 3 very many pairs of random numbers, plot them, and look for any patterns which might appear. If the numbers are truly random, there will be no correlation.) Using LabView to Turn your Computer into a Scientific Instrument The computer sound card provides a convenient means of converting a time dependent analog voltage into a stream of digital numbers which can be analyzed by the computer. One important limitations is that we need to use the MIC or microphone input (pink coloured jack on computer) which only accepts voltages less than about 0.7 volts (presumably they are protected by a pair of crossed diodes acting as limiters. In order to use our spectrum analyzer we need to provide a source of signal for our input. The designer boards which you have in the lab have a basic function generator. Attach the output of the function generator to the potentiometer on your designer board, then put a pair of crossed diodes (as limiters) between the centre tap and the ground. Finally, connect the output to a BNC connector on the designer. This provides a protected voltage variable output which we can safely use with the MIC input on the computer. Starting from a blank VI create a front panel which resembles the example below: The upper graph displays the time domain signal which is input into the spectrum analyzer via the MIC input and the computer sound card. Next, place the following Express VIs on the block diagram.

Physics 3100 Electronics, Fall 2008, Digital Circuits 4

Physics 3100 Electronics, Fall 2008, Digital Circuits 5 The output of the Acquire Sound VI is to be wired to the input of the Filter. The output of the Filter is to be connected to the Spectral Measurements module. The Acquire Sound Express VI module should be configured to acquire 1 seconds worth of data, using a single channel, with a sampling rate of 44,100 Hz (if possible) and 16 bits of resolution. You can later changes these settings to see how they affect the signal you observe. The Filter module can be configured in a number of ways: Low-Pass High-Pass Band-Pass Band-Stop Smoothing These choices have settings such as, for the Band-Pass Filter, the low cutoff frequency and the high cutoff frequency. To begin with, choose the Band-Pass Filter option and place two Numeric Controls on the front panel (as shown above) to allow you to changes these settings while the spectrum analyzer is running. There are also several different types of filter algorithms which you can use to generate any one of these filters (remember, these are digital filters since they operate on numerical data obtained from the digitized output of the sound

Physics 3100 Electronics, Fall 2008, Digital Circuits 6 card. The theory behind these filter algorithms is beyond the scope of this class but they are based on the analog filters having the same names. These analog filters are discussed in Chapter 12 of our textbook. The choices available are: Butterworth Chebyshev Inverse Chebyshev Elliptic Bessel The Order of the filter defines the number of poles (see Chapter 12). A single time constant filter, such as we have discussed, is a single pole filter. Two such elements in series would constitute a two pole filter, etc. As you will see by changing the number of poles, the higher order the filter is, the sharper the cut-off range is. Digital filters of very high order are easy to build whereas it is tricky to build an analog filter of higher than 6th order. When the spectrum analyzer is working, change the type of filter, the cut-off frequencies, the filter algorithm used and the number of poles to see how these changes affect the spectrum. After you have finished building the Spectrum Analyzer VI, hook up the protected function generator output from your designer board (see above) to the MIC input using the BNC to miniature phono plug cable provided. Vary the frequency of a sine wave to see whether the filter characteristics are reflected in the response. Vary the type of filter used as well. Next, look at the spectrum of the square wave. You should see the fundamental (frequency of the square wave) and a large number of odd harmonics (1,3,5,7...) occurring at multiples of the fundamental frequency. An ideal square wave has an infinite number of odd harmonics whose amplitudes decrease with harmonic order. As a final exercise, reconstruct the noisy signal which you created in Lab. 2, adding the protective circuitry described above. Modify the filter as needed to completely eliminate the 60 Hz signal from the spectrum. You should also be able to eliminate everything except the 60 Hz signal.