DSP in Communications and Signal Processing

Similar documents
IMPLEMENTATION AND ANALYSIS OF FIR FILTER USING TMS 320C6713 DSK Sandeep Kumar

Data Converters and DSPs Getting Closer to Sensors

Chapter 1. Introduction to Digital Signal Processing

REAL-TIME DIGITAL SIGNAL PROCESSING from MATLAB to C with the TMS320C6x DSK

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

Introduction To LabVIEW and the DSP Board

Rapid prototyping of of DSP algorithms. real-time. Mattias Arlbrant. Grupphandledare, ANC

Enhancing the TMS320C6713 DSK for DSP Education

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

Laboratory Exercise 4

1.1 Digital Signal Processing Hands-on Lab Courses

Microprocessor Design

TMS320VC5501/5502/5503/5507/5509/5510 DSP Multichannel Buffered Serial Port (McBSP) Reference Guide

Tools to Debug Dead Boards

Design and analysis of microcontroller system using AMBA- Lite bus

A First Laboratory Course on Digital Signal Processing

PC-based Personal DSP Training Station

Multiband Noise Reduction Component for PurePath Studio Portable Audio Devices

: INTERFACING J-DSP WITH A TI DSK FOR USE IN A SIGNAL PROCESSING CLASS

Solutions to Embedded System Design Challenges Part II

Multicore Design Considerations

Journal of Theoretical and Applied Information Technology 20 th July Vol. 65 No JATIT & LLS. All rights reserved.

ELEC 310 Digital Signal Processing

Introduction to Digital Signal Processing (DSP)

TOWARD A FOCUSED MARKET William Bricken September A variety of potential markets for the CoMesh product. TARGET MARKET APPLICATIONS

Real-time EEG signal processing based on TI s TMS320C6713 DSK

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30

Lab 1 Introduction to the Software Development Environment and Signal Sampling

EEM Digital Systems II

AR SWORD Digital Receiver EXciter (DREX)

Implementation of Graphical Equalizer using LabVIEW for DSP Kit DSK C6713

Real-time Chatter Compensation based on Embedded Sensing Device in Machine tools

FPGA Design. Part I - Hardware Components. Thomas Lenzi

Instrumentation Grade RF & Microwave Subsystems

DATUM SYSTEMS Appendix A

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

PROVIDING AN ENVIRONMENT TO TEACH DSP ALGORITHMS. José Vieira, Ana Tomé, João Rodrigues

LMH0340/LMH0341 SerDes EVK User Guide

MIXED-SIGNAL AND DSP DESIGN TECHNIQUES

Design and Realization of the Guitar Tuner Using MyRIO

IP LIVE PRODUCTION UNIT NXL-IP55

Inside Digital Design Accompany Lab Manual

1ms Column Parallel Vision System and It's Application of High Speed Target Tracking

Design and Implementation of Timer, GPIO, and 7-segment Peripherals

Major Differences Between the DT9847 Series Modules

Introduction to Signal Processing D R. T A R E K T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules

Interfacing the TLC5510 Analog-to-Digital Converter to the

COE328 Course Outline. Fall 2007

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

DH400. Digital Phone Hybrid. The most advanced Digital Hybrid with DSP echo canceller and VQR technology.

Digital Signal Processing

New Products and Features on Display at the 2012 IBC Show

Digital Fundamentals. Introduction to Digital Signal Processing

Area-Efficient Decimation Filter with 50/60 Hz Power-Line Noise Suppression for ΔΣ A/D Converters

Chapter 4. Logic Design

Ensemble QLAB. Stand-Alone, 1-4 Axes Piezo Motion Controller. Control 1 to 4 axes of piezo nanopositioning stages in open- or closed-loop operation

Low-Cost Personal DSP Training Station based on the TI C3x DSK

Laboratory 5: DSP - Digital Signal Processing

GALILEO Timing Receiver

Reconfigurable FPGA Implementation of FIR Filter using Modified DA Method

VXI RF Measurement Analyzer

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

RF4432 wireless transceiver module

FPGA Development for Radar, Radio-Astronomy and Communications

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

Prototyping Solutions For New Wireless Standards

Multirate Digital Signal Processing

Embedded System Design

Commsonic. Multi-channel ATSC 8-VSB Modulator CMS0038. Contact information. Compliant with ATSC A/53 8-VSB

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

IP LIVE PRODUCTION UNIT NXL-IP55 USO RESTRITO. OPERATION MANUAL 1st Edition (Revised 2) [English]

ex 800 Series ematrix System

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

PEP-II longitudinal feedback and the low groupdelay. Dmitry Teytelman

UNIT V 8051 Microcontroller based Systems Design

PRINCIPLES AND APPLICATIONS

International Journal of Engineering Research-Online A Peer Reviewed International Journal

Dac3 White Paper. These Dac3 goals where to be achieved through the application and use of optimum solutions for:

RF Solution for LED Display Screen

F24X DSK Setup and Tutorial

DMC550 Technical Reference

ScanExpress JET. Combining JTAG Test with JTAG Emulation to Reduce Prototype Development Time. Ryan Jones Corelis, Inc. An EWA Technologies Company

Nutaq. PicoDigitizer-125. Up to 64 Channels, 125 MSPS ADCs, FPGA-based DAQ Solution With Up to 32 Channels, 1000 MSPS DACs PRODUCT SHEET. nutaq.

MULTIMIX 8/4 DIGITAL AUDIO-PROCESSING

SDA 3302 Family. GHz PLL with I 2 C Bus and Four Chip Addresses

Display Interfaces. Display solutions from Inforce. MIPI-DSI to Parallel RGB format

Implementing Audio IP in SDI II on Arria V Development Board

L12: Reconfigurable Logic Architectures

Serial Digital Interface II Reference Design for Stratix V Devices

Triple RTD. On-board Digital Signal Processor. Linearization RTDs 20 Hz averaged outputs 16-bit precision comparator function.

Explorer Edition FUZZY LOGIC DEVELOPMENT TOOL FOR ST6

RF4432F27 wireless transceiver module

SignalTap Plus System Analyzer

Computer Systems Architecture

Internet of Things. a practical component-oriented approach. What is IoT (wikipedia):

Digital Front End (DFE) Training. DFE Overview

PCI Express JPEG Frame Grabber Hardware Manual Model 817 Rev.E April 09

Overview of BDM nc. The IEEE JTAG specification is also recommended reading for those unfamiliar with JTAG. 1.2 Overview of BDM Before the intr

Transcription:

Overview DSP in Communications and Signal Processing Dr. Kandeepan Sithamparanathan Wireless Signal Processing Group, National ICT Australia Introduction to digital signal processing Introduction to digital signal processors (DSP) Application space communications and signal processing Hardware Texas instrument s C6000 processors Texas Instrument s DSP Starter Kits - DSK Software tools Texas Instrument s CCS Project example sonic modem 2 Introduction to Digital Signal Processing Introduction to Digital Signal Processing Real world signals are continuous in nature Signals contain information, which need to be extracted or conveyed Signals need to be processed for information extraction or analysis Signals need to be processed and modified to convey the information (at the end information will be extracted) Continuous signals can be processed either In the continuous domain processing with analog components In the discrete domain processing with digital components For discrete processing, continuous signals are sampled and discretised The signals need to be sampled, such that the information in the signal is not lost or changed Nyquist s sampling theorem f s > 2B Sampled signal spectrum repeats every f s (Hz) Real world signal (Continuous signal) Sampled signal Sampled at fs Hz Signal processing Information Extraction Convey information after manipulation Computers/processors that are used for processing signals are called Digital Signal Processors or DSP 3 4

Introduction to Digital Signal Processors Introduction to Digital Signal Processors Digital signal processors (DSP) are specially designed for signal processing purposes (i.e. number crunching) for embedded applications Was initially used in military and space applications Evolved into commercial applications over the past 15 years More parallel processing capabilities Efficient Arithmetic and Logical Units (ALU) Multiple peripheral interfaces Efficiently designed for real-time applications with real time operating systems General purpose processors are not designed for real-time applications General purpose microprocessors are designed to do bulk processing DSP performance has increased by almost 40% over the past 10 years The DSP architecture and design are in its 4th generation more onboard memory VLIW architecture Floating point processing as well as fixed point processing High speed processors Single cycle multiplication and arithmetic operations General purpose processors are catching up with DSP like processors, with enhanced capabilities 5 6 Introduction to Digital Signal Processors Application Space Some of the general purpose processors use DSP for real time processing Market for DSP processors in 1997 $3 billion Development boards for research and education purposes (high speed sampling with wider bandwidth) Development boards used as prototypes for demonstrators Current DSP development boards include FPGA Testbeds for communications and signal processing applications are based on DSP based development boards Software based, reusable, easy to use boards Telecommunications Cellular phones : Low power consumption Video conferencing : More onboard memory Pagers and cordless phones: Low power consumption Satellite communications: Low power consumption for onboard systems Digital receiver and modem designs: High speed and low power consumption Cellular base stations/ satellite earth terminals: High speed Other/signal processing applications Medical applications and instrumentations (ultra sound) Speech processing and automated voice systems Digital cameras and MP3 players Music synthesis Radar and sonar applications 7 8

Introduction to Digital Signal Processors Introduction to Digital Signal Processors Common tasks for a DSP How to choose a DSP for you need? Filtering Coding (Turbo coding, Viterbi Coding) Speech signal processing (speaker recognition, speech recognition, speaker tracking) Signal synthesis Implementing complex mathematical functions for nonlinear signal processing Modulation, synchronisation and detection Cost Easy development process Tools for development Power consumption Memory usage Processor speed Peripheral support 9 10 Hardware TI s C6000 DSP TI s C6000 DSP and Peripherals Viterbi Coprocessor (C6416) Turbo Coprocessor (C6416) Timers and Counters 2 or 3 timers, able to count internal external clocks Capable of generating interrupts for CPU/EDMA General purpose input output could observe signals at pin levels Boot loader operates upon reset, or power-up Ethernet Interface UTOPIA for ATM connection By courtesy of Texas Instruments inc, Ref[1] 11 12

TI s C6000 DSP and Peripherals TI s C6000 DSP and Peripherals Hardware Interrupts HWI Allows synchronisation with the external world CPU has 12 configurable interrupts 1 global enable/disable interrupt switch Interrupt source may EDMA, codecs, external pins etc Parallel peripherals Allows a master slave operational mode by letting another DSP/PC access the memory Host port Interface XBUS PCI EDMA Enhanced DMA One of the main features of the C6000 family for its high level performances Not using the EDMA means not getting the maximum performance out of the C6000 device Enables data transfer between external and internal memory 16 EDMA channels on C67 devices and 64 EDMA channels on C64 devices EMIF External Memory Interface Interface between CPU and external memory or EDMA and external memory Access to Asynch and Synch memories 13 14 TI s C6000 DSP and Peripherals TI s C6713 DSP Starter Kit - DSK McBSP: Multi-channel buffered Serial Port Used for serial communications Commonly used to connect to any serial codecs (auido codecs) Upto 100Mbps speed Two sections for transmit and receive, giving a fully duplex system McASP Includes all McBSP features and many more Designed for multi-channel audio processing, such as 5.1 surround sound Up to 8 stereo lines (16 channels) 15 16

TI s C6713 DSP Starter Kit - DSK TI s C6713 DSP Starter Kit - DSK 17 18 TI s C6713 DSP Starter Kit - DSK AIC23 DSK onboard stereo audio codec Four external pins: line-in, line-out, microphone and headphone 3.5mm audio stereo pins Variable sampling frequency from 8khz to 96kHz derived form a 12MHz clock Circuit includes analog components resulting in thermal noise The sampled input signal is passed through an interpolator, modulator and a decimator for improved signal top noise ratio performances Uses sigma-delta technique for the discretisation process, which is a nonlinear process Sampled data are available in 2 s complement format Data transfer from and to the audio codec is performed by the McBSP Software Tools for Development Texas Instruments provides its own software development tool called the Code Composer Studio CCS CCS runs on the host PC CCS is an Integrated Development Environment (IDE) - Codes could be entered and edited in CCS - Codes can be built and compiled to make an executable - Target DSP can be run and stopped from CCS - Codes can be debugged at assembly level - Visualisation tools, to view memory The license to the DSK version of CCS is the Development board itself (a hardware key for the software) CCS includes the compiler assembler and the linker 19 20

TI s CCS - Snap Shot TI s Code Composer Studio 21 22 Software Development Tools DSP/BIOS CCS also includes the DSP/BIOS DSP/BIOS is a real time operating system developed for TI s DSPs DSP/BIOS consists of three main features Real time scheduler Real time Capture analysis Real time Input/Output DSP/BIOS makes life easy for the application developer DSP/BIOS Kernel could be altered if required User has the option to right codes for the DSP instead of using the DSP/BIOS, which might be more efficient in some instances 23 24

TI s Code Composer Studio Code Generation Codes are written in C or C++. With extensions.c or.cpp Codes can also be generated in Assembly or linear Assembly, with.asm extension or.sa extension Linear Assembly codes are incorporated using the Asm Optimizer Two modes for compilation in CCS Debug mode Optimization mode Assembler creates the object file for the linker Linker generated the executable.out file to be loaded on to the DSP.MAP file is a report file generated from the linking process 25 26 Project Development Step1: Connect the DSK board to the host PC via the USB interface and power up the DSK Step2: Start CCS (note CCS would not start without the DSK board) Step3: Go to the project tab in CCS and open the project called swi_audio.pjt. All the file associated with the project will be loaded, and could be viewed on the left hand side of the CCS window. Project Development Step4: Go to the source folder under the swi_audio project in your left side window on the CCS, then double click on the swi_audio.c file to open it on the main window. You can go through the source codes to get some understanding of how the DSP is programmed. Step5: Build the project (that is compile and link the codes), by clicking on the tool shown below with the red arrows on it. 27 28

Project Development Project Task Step6: Now, load the program to the DSP by going to File tab and clicking on the Load Program. Now the program is loaded into the DSP and the DSP is ready to perform the instructions given in the program. Note that the program cannot be loaded if there are errors in the compilation process (i.e. the building process) Step7: Now, run the DSP by clicking on the run action on the left side panel. When the DSP is running, the message CPU Running is displayed at the bottom left hand side of the CCS window. You can stop the DSP as shown below. When the DSP is not running the message DSP Halted is displayed at the bottom. A Simple Binary FSK based modem design Objective You have to design a modem based on Binary FSK modulation. The audio codec on the DSK has got the sampling frequency set at 48kHz, therefore use frequency tones of 1200Hz and 2400Hz for the FSK modulation. You could transmit these tones through the Lineout terminal of the DSK using a speaker and receive the signal using a microphone, directed to the speakers, connected to the Microphone terminal of the DSK. Design a simple receiver/detector for the BFSK that you designed. You can synchronise the transmission by transmitting some known sequence of data in order to get coherent detection, and also achieve timing synchronisation You can use a single DSK board (using loop back techniques) or use two DSK boards depending on the availability. Note that you can connect only one DSK per PC. 29 30 Advanced Task Summary Software Implemented Digital Phase Locked Loop Design a Digital Phase-Locked Loop (DPLL) for tracking down the fundamental frequency of a symmetric periodic signal The DPLL is implemented in software hence also known as Software Implemented PLL or SPLL Most fundamental element of software radio design If not familiar with DPLL, refer to [DPLL] Introduction to DSP and its applications Introduction to DSP Implementation DSP usage increases rapidly with emerging embedded applications Introduction to TI s DSP Starter Kit DSK Future work on DSP design and implementation with WSP @ NICTA 31 32

Wrap up Ongoing/future DSP projects @ WSP, NICTA Software defined radio Efficient Receiver designs Equalisation and synchronisation techniques, and Coding techniques DSP based wireless test-bed design Channel measurements Multi-channel DSP based test-bed MIMO applications: channel measurement, receiver design, synchronisation techniques etc Reference: [1] Texas Instruments Tutorials and Training manuals Thank you For more details contact Email: Kandeepan.Sithamparanathan@nicta.com.au Phone: 61256251 33