Lab 13: LabVIEW DSP Module Examples

Similar documents
DSP Laboratory: Analog to Digital and Digital to Analog Conversion

LABVIEW DSP TEST TOOLKIT FOR TI DSP

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

Lab 3: Introduction to Data Acquisition Cards

Data Acquisition Using NI-DAQmx

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

MixMeister EZ Converter Setup & Troubleshooting Contents:

LabVIEW DSP Test Integration Toolkit for TI DSP

Page 1 S5.5 Monitoring Software Manual Rev 1.2 for Software Ver 1.0

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Lab View with crio Tutorial. Control System Design Feb. 14, 2006

EET 310 Programming Tools

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED

IGSS. Interactive Graphical SCADA System. Quick Start Guide

Lab 4 - Data Acquisition

Getting Started with the LabVIEW Mobile Module

Cell Phone Vibration Experiment

Getting Started with the LabVIEW Mobile Module Version 2009

Manual for the sound card oscilloscope V1.24 C. Zeitnitz english translation by P. van Gemmeren and K. Grady

Elluminate Live! Troubleshooting Guide

2016 Frontier Communications. Here s your guide to easy installation. Get the most out of Frontier High-Speed Internet.

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

User Guide. VT1708A VIA HD Audio Adeck For Windows 2000, Windows XP & Server Jun Revision 1.1e

AI Audio 2 (SoundMAX High Definition Audio utility)

Controllable Space Phaser. User Manual

QUICK SETUP GUIDE SETUP FOR ICONNEX SOUNDCARD AND AUDACITY RECORDING SOFTWARE

1. Installing The Monitoring Software

Job Scheduler User Guide IGSS Version 11.0

Lab 1: Full Adder 0.0

Twido Simulator - Online Help Scope What's in this Part? Twido Simulator Overview What's in this Chapter? How to Use Twido Simulator

HP Advanced Wireless Docking Station. User Guide

Getting Started Manual

LabVIEW Day 6: Saving Files and Making Sub vis

UC-One. Epik. UC-One Quick Guide. Quick Guide For Apps. Why we love UC-One

Vodafone PC SMS (Software version 4.7.1) User Manual

Blackboard Collaborate Ultra

Audio Only Broadcast through Flash Media Live Encoder On Windows

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

First Bytes Programming Lab 2

Work Smart: Using Lync 2010 Attendee

mybullard Personal Control Panel User Guide

IP Softphone for Windows Mobile 5. Release 3.0 Getting Started

SHORETEL CALL MANAGER Installation Instructions:

Practice Fusion API Client Installation Guide for Windows

Using Flow Control with the HEAD Recorder

VIA High Definition Audio VDeck User Guide Black Skin

1. Installing the client module on the phone

Chapter 1 Connecting the Router to the Internet

4. Do you have a VGA splitter ( Y Cable)? a document camera?

Lenovo Miix 2 8. User Guide. Read the safety notices and important tips in the included manuals before using your computer.

K2 CW Filter Alignment Procedures Using Spectrogram 1 ver. 5 01/17/2002

Manual Analysis Software AFD 1201

Mbox Basics Guide. Version 6.7 for LE Systems on Windows XP or Mac OS X. Digidesign

ivms-4500 (iphone) Mobile Client Software User Manual (V3.1)

Mobile Viewer s Access Instruction. 1 Windows mobile System Symbian System iphone.6 4 Blackberry..7 5 Android.11

Windows XP Pro: Basics 1

Transmitter Interface Program

2.6. In-Laboratory Session QICii Modelling Module. Modelling Module Description

LSR4300 Control Center Software

Radio Interface Setup

E-Loader Operation Manual

Vmed QUICKSTART PC-DISPLAY INSTALLATION & PC-Display and Bluetooth Instructions

Installing and Configuring TrueConf Client Application for OS X

Application Notes for Valcom PagePro IP with Avaya IP Office Issue 1.0

BIG LOTS VENDOR COMPLIANCE WEB PORTAL USER GUIDE - VENDOR 300 PHILLIPI RD. COLUMBUS, OH 43228

Using SSH Secure Shell Client for FTP

PM1122 INT DIGITAL INTERFACE REMOTE

LabVIEW Lesson 5 Clusters

Application Notes for the GN Netcom GN 8120 USB Headset Adapter with Avaya IP Softphone Issue 1.0

Lab Experiment 1: The LPC 2148 Education Board

Exercise 10: Basic LabVIEW Programming

NEW FEATURES IN VERSION 1.4

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Inear Display Oxymore Version

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

Introduction to LogixPro - Lab

Getting Started with the LabVIEW Embedded Module for ARM Microcontrollers 1.0 For the Keil MCB2300

Welcome to Ipswitch Instant Messaging

Using WaveCenter/PCI with Vision on the Macintosh

REMOTE DESKTOP SHARING

T R O U B L E S H O O T I N G T I P S

FAQs. XAP Frequently Asked Questions. Software/Configuration

Client applications are available for PC and Mac computers and ios and Android mobile devices. Internet

To Install EdiView IP camera utility on Android device, follow the following instructions:

The demo guide contains

Installing and Using No Machine to connect to the Redhawk Cluster. Mac version

Audio-Technica AT-LP60-USB, AT-LP120-USB, AT-LP240-USB & AT-LP1240-USB Turntables. Software Guide

User Guide to LabVIEW & APT

Embroidery Fonts Plus ( EFP ) Tutorial Guide Version

Tutorial for Tracker and Supporting Software By David Chandler

Zoom Participant Guide

Installing Remote Desktop Connection

Quick Start Guide Vodafone Mobile Broadband USB Stick. Designed for Vodafone

Setting up VPN and Remote Desktop for Home Use

E-Map Application CHAPTER. The E-Map Editor

EasyC. Programming Tips

USER GUIDE ENGLISH ( 3 6 )

Construct User Guide

JORAM 3.7 Administration & Monitoring Tool

Transcription:

Lab 13: LabVIEW DSP Module Examples This lab includes three examples showing how the LabVIEW DSP Module can be used to run DSP graphical codes directly on a DSP target board without performing any C programming. These examples correspond to the waveform generation, digital filtering, and adaptive filtering labs covered in the previous chapters. As stated earlier, to begin designing DSP systems by using the LabVIEW DSP Module, double-click on the LabVIEW Embedded Edition icon on the Windows desktop. After the appearance of the main dialog, select a proper target from the Execution Target pull-down menu. Throughout this lab, the C6713 DSK is used with the consideration that all the codes for DSK 6713 can also be run on the C6711 DSK and the SPEEDY-33 board without the need to make any modifications. L13.1 Waveform Generation and Frequency Analysis The first example consists of waveform generation and frequency analysis. Create a blank VI and locate a Simulate Signal VI (Functions Embedded Signal Generation Simulate Signal) in the BD to generate a waveform. Then, double-click on the VI to configure its parameters. In the configuration dialog, change the parameters as indicated in Figure 13-1. To observe the frequency characteristics of the generated signal, place a Spectral Measurements Express VI (Functions Signal Processing Frequency Domain Spectral Measurements) in the BD and configure it as illustrated in Figure 13-2. Next, locate an Analog Output function (Functions 7

LabVIEW DSP Module Examples Elemental I/O Analog Output) and wire it to the output of the Simulated Signal VI. This function writes data from the DSP board in the form of an analog signal through the codec on the board. Double-click on the Analog Output function to change its configuration as shown in Figure 13-3. Now, toggle to the FP and place two Waveform Graphs (Controls Graph Waveform Graph) and a Horizontal Pointer Slide (Controls Numeric Horizontal Pointer Slide). Each of these waveform graphs is wired to the simulated signal output and the spectral measurement output. The slide control is wired to the Frequency node of the Simulate Signal VI in order to change the frequency of the signal. As the final step, locate a While Loop and enclose all the BD objects to run the graphical code continuously. The completed BD of the VI is illustrated in Figure 13-4. Notice that the DSP board label is displayed at the bottom left corner of the BD and FP. 8

Lab 13 Figure 13-1. Configuration dialog of Simulate Signal Express VI. Figure 13-2. Configuration dialog of Spectral Measurements Express VI. 9

LabVIEW DSP Module Examples (a) (b) Figure 13-3. Configuration dialog of Elemental I/O function: (a) output type (b) sampling frequency. 10

Lab 13 Figure 13-4. BD of Waveform & FFT VI. By clicking the Run button, the VI gets compiled, downloaded, and executed on the DSP target. Also, a LabVIEW DSP Module Status Monitor window is brought up displaying the status of the code. One should be able to see the FP shown in Figure 13-5. Connect a speaker to the Line Out port of the DSK board in order to hear the generated tone signal. However, one hears ticks coming out of the speaker instead of the tone signal. This is due to the slow communication speed between the DSK and the host PC in updating the FP. To resolve this, check the Disconnect Front Panel box on the LabVIEW DSP Module Status Monitor window, see Figure 13-6. This allows the graph update on the FP to be disabled and the tone signal to be properly heard through the speaker. 11

LabVIEW DSP Module Examples Figure 13-5. FP of Waveform & FFT VI. Figure 13-6. Disconnect Front Panel. 12

Lab 13 The frequency control on the FP can be adjusted to alter the tone frequency while the VI is running. Note that the FP controls and indicators/graphs can get updated by clicking the SnapShot button. L13.2 Digital Filtering This section provides two approaches for implementing a digital filtering system using the LabVIEW DSP Module. L13.2.1 Digital Filtering Using Filter Express VI One approach involves modifying the Waveform & FFT VI presented in the previous section by adding the Filter Express VI (Functions Signal Processing Filters Filter), see Figure 13-7. Figure 13-7. Digital Filtering using Filter Express VI. 13

LabVIEW DSP Module Examples As an example, let us design a lowpass filter with the cut-off frequency of 2200 Hz. In the configuration window of the Express VI, the specification of the filter can be adjusted in an interactive graphical way, see Figure 13-8. Figure 13-8. Configuration dialog of Filter Express VI. Two instances of the generated input and output signals are shown in Figure 13-9. Figure 13-9 (a) illustrates the passband input signal, the 500 Hz signal, and its 14

Lab 13 filtered version, while Figure 13-9 (b) illustrates the stopband input signal, the 3000 Hz signal, and its filtered version. (a) (b) Figure 13-9. BD of Waveform & FFT VI: input and output signal in (a) passband (b) stopband. Next, instead of using a simulated signal, the above filtering system is modified to process an incoming signal originating from the input port of the DSK board. This requires replacing the waveform simulation portion of the BD with an Analog Input function (Functions Elemental I/O Analog Input). Configure the Elemental I/O function as shown in Figure 13-10. The BD incorporating this modification is shown in Figure 13-11. By connecting a microphone or a signal source to the MIC In port of the DSK board, the filtering can be done by the DSP on the board. 15

LabVIEW DSP Module Examples Figure 13-10. Configuration dialog of Elemental I/O function. 16

Lab 13 Figure 13-11. Filtering system with input and output signals. L13.2.2 Digital Filtering using DFD Filter Express VI The second approach of implementing digital filters involves using the DFD Filter Express VI of the LabVIEW DSP Module, which utilizes the Digital Filter Design toolkit. Let us begin by designing the lowpass filter covered in Lab 4. Use the regular LabVIEW, not the LabVIEW Embedded Edition, in order to design the filter with the DFD toolkit. In a blank VI, locate the DFD Classical Filter Design Express VI (Functions All Functions Digital Filter Design Filter Design DFD Classical Filter Design) and configure it as shown in Figure 13-12. Place the DFD Save to File VI (Functions All Functions Digital Filter Design Utilities DFD Save to File) and wire the filter in node of the VI to the filter out node of the DFD Classical Filter Design Express VI, refer to Figure 13-13. 17

LabVIEW DSP Module Examples Figure 13-12. Configuration dialog of DFD Classical Filter Design Express VI. Figure 13-13. Filter Design with DFD toolkit. 18

Lab 13 Upon running the VI, a window is brought up which asks the file path for saving the designed filter. Type filter.fds as the filename. Figure 13-14. Save a designed filter. Now, close all the windows associated with LabVIEW and run the Embedded Edition to build the filter by using the DFD Filter Express VI of the LabVIEW DSP Module. Replace the Filter Express VI in Figure 13-7 with the DFD Filter Express VI and double-click on it to configure the file path of the filter. If the filter is successfully linked, its response should appear as shown in Figure 13-15. The complete BD of the filtering system based on the DFD Filter Express VI is shown in Figure 13-16. 19

LabVIEW DSP Module Examples Figure 13-15. Configuration dialog of DFD Filter Express VI. Figure 13-16. Filtering system using DFD Filter Express VI. 20

Lab 13 L13.3 Adaptive Noise Cancellation The adaptive noise cancellation system covered in Lab 6 is repeated here using the LabVIEW DSP Module. The BD of the adaptive noise cancellation system is illustrated in Figure 13-17. Let us briefly mention the VIs and functions of this BD. Figure 13-17. Filtering system using DFD Filter Express VI. The EMB Uniform White Noise Waveform VI (Functions Embedded Signal Generation EMB Uniform White Noise Waveform) is used to generate a white noise signal which is then added to an input signal. Before adding the noise signal, a delay, say 10, is introduced by using the Sample Delay VI (Functions Signal Processing Time Domain Sample Delay). This is done to simulate an ideal channel which causes a time delay with no gain or frequency change. The input signal consists of a chirp 21

LabVIEW DSP Module Examples signal whose frequency sweeps between two frequencies. This is implemented by using the Frequency Sweep Generator Express VI (Functions Embedded Signal Generation Frequency Sweep Generator). The configuration of this VI is shown in Figure 13-18. Note that the default values are used for all the fields. This signal and the delayed noise signal are summed together to construct the signal to be processed. Figure 13-18. Filtering system using DFD Filter Express VI. Next, add the LMS Adaptive Filter VI (Functions Signal Processing Filters LMS Adaptive Filter) to the BD. Wire the noise signal to the LMS input0 node of the VI to act as the reference signal and wire the summed signal to the LMS input1 22

Lab 13 node. Also, wire the numeric constants for the filter order and convergence factor to the LMS Adaptive Filter VI. Notice that the output of the LMS Adaptive Filter VI corresponds to the estimated noise. Thus, the output of the LMS filter needs to be subtracted from the summed signal to obtain the de-noised signal. Place the function Select to compare the noise corrupted input signal and the de-noised output signal. Either of these signals can be wired to the Waveform Graph and Analog Output function for sending out data through the codec output port. Figure 13-19 shows the noise corrupted input signal and the de-noised output signal. (a) (b) Figure 13-19. Adaptive Noise Cancellation signals. 23