IMPLEMENTATION OF DSP RADIO RECEIVER Amaar Ahmad Syed.

Slides:



Advertisements
Similar presentations
Envelope Detector Conventional DSB-AM signals are easily demodulated by an envelope detector It consists of a diode and an RC circuit, which is a simple.
Advertisements

Analog Communications
1 Chelmsford Amateur Radio Society Advanced Licence Course Anthony Martin M1FDE Slide Set 12: v1.4, 2-Dec-2012 (4) Receiver Demodulation Chelmsford Amateur.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Lock-in amplifiers Signals and noise Frequency dependence of noise Low frequency ~ 1 / f –example: temperature (0.1 Hz), pressure.
This lesson covers the following outcomes Unit 54 P1, P7, P8 Unit 6 P10, P11.
Senior Capstone Project Integration of Matlab Tools for DSP Code Generation ECE Department March 2nd, 2006 Team Members: Kwadwo Boateng and Charles Badu.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
Introduction to D/A and A/D conversion Professor: Dr. Miguel Alonso Jr.
Lecture 7 AM and FM Signal Demodulation
Amplitude Modulation Wei Li CSULB May 22, 2006.
1 PC Audio 2 Sound Card  An expansion board that enables a computer to receive, manipulate and output sounds.
Integrated Circuits Design for Applications in Communications Dr. Charles Surya Department of Electronic and Information Engineering DE636  6220
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
STARLight PDR 3 Oct ‘01H.1 Miller STARLight Sensor Signal Processing Ryan Miller STARLight Electrical Engineer (734)
1 Single Side Band Suppressed Carrier Professor Z Ghassemlooy Electronics and IT Division School of Engineering Sheffield Hallam University U.K.
Lecture 3 Data Encoding and Signal Modulation
Angle Modulation Objectives
Electronics Principles & Applications Sixth Edition Chapter 12 Communications (student version) ©2003 Glencoe/McGraw-Hill Charles A. Schuler.
McGraw-Hill © 2008 The McGraw-Hill Companies Inc. All rights reserved. Electronics Principles & Applications Seventh Edition Chapter 12 Communications.
MODULATION.
C H A P T E R 4 AMPLITUDE MODULATIONS AND DEMODULATIONS
Standard Amplitude Modulation (AM)
Chapter 4 Amplitude Modulation. Baseband vs Passband Transmission  Baseband signals: Voice (0-4kHz) TV (0-6 MHz)  A signal may be sent in its baseband.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Amplitude.
TEL312 Electronic Communications Fundamentals Modulation Modulation is the process by which information (message) is transformed Into waveforms that are.
Software Defined Radio Brad Freyberg, JunYong Lee, SungHo Yoon, Uttara Kumar, Tingting Zou Project Description System Design The goal of our project is.
Microcomputer Systems 1 Introduction to DSP’s. 9 August 2015Veton Këpuska2 Introduction to DSP’s  Definition: DSP – Digital Signal Processing/Processor.
Digital Communication Techniques
2 Outline Digital music The power of FPGA The “DigitalSynth” project –Hardware –Software Conclusion Demo.
Lock-in amplifiers
1 RF (Radio Frequency) technology Part ll RF (Radio Frequency) technology Part ll BASIC TELECOMMUNICATIONS.
Chapter 25 Nonsinusoidal Waveforms. 2 Waveforms Used in electronics except for sinusoidal Any periodic waveform may be expressed as –Sum of a series of.
Lecture 1 Signals in the Time and Frequency Domains
Anthony Gaught Advisors: Dr. In Soo Ahn and Dr. Yufeng Lu Department of Electrical and Computer Engineering Bradley University, Peoria, Illinois May 7,
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Spring.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE345S Real-Time Digital Signal Processing Lab Fall.
Student: Vikas Agarwal Guide: Prof H S Jamadagni
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Fall.
Introduction to Communication Prepared By Dr. Hany Taher Modified by: Dr. Mouaaz Nahas.
Team 2 Yimin Xiao Jintao Zhang Bo Yuan Yang.  The project we propose is a digital oscilloscope with playback function that provides almost any function.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Electronics Principles & Applications Fifth Edition Chapter 12 Radio Receivers ©1999 Glencoe/McGraw-Hill Charles A. Schuler.
DSB-SC AM Tx signal  AM Tx signal spectrum
Digital Signal Processing and Generation for a DC Current Transformer for Particle Accelerators Silvia Zorzetti.
ENS 203- Amplitude Modulation and Demodulation Lab 6 Radio Experiment Meric Ozcan After you configure the radio as specified in your lab sheet, you will.
CHAPTER4: CONTINUOUS-WAVE (CW) MODULATION First semester King Saud University College of Applied studies and Community Service 1301CT.
EECE 252 PROJECT SPRING 2014 Presented by: Peizhen Sun Nor Asma Mohd Sidik.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
ECE 448: Lab 5 DSP and FPGA Embedded Resources (Signal Filtering and Display)
Chapter 6. Effect of Noise on Analog Communication Systems
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
Bavarian Forest, Bavarian Forest, 24 April 2009 D. Alberto Signal Processing for Nuclear Detectors, Bavarian Forest, 24 April 2009 Dipartimento di Fisica.
Generating Sinusoidal Signals Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 445S Real-Time Digital.
ECE 448: Lab 7 Design and Testing of an FIR Filter.
Digital AM Receiver System Hassen Abdu, Ebad Ahmed, Wajahat Khan April 21, Introductory Digital Systems Laboratory.
Digital Signal Processing
Amplitude/Phase Modulation
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
Electronic instrumentation Digitization of Analog Signal in TD
Radio Equipment. Review: On the Transmitter Side The purpose of radio communications is to transfer information from one point to another. The information.
MECH 373 Instrumentation and Measurements
Amplitude Modulation.
Signal and Systems Chapter 8: Modulation
DISPLAY AND RECORDING DEVICES-unit 2 -CRO
Lab 2 Part II Instructions
EEG Probe Project Grant G. Connell.
Chapter 9 Advanced Topics in DSP
(Modulation) Data Transmission And Digital Communication
Presentation transcript:

IMPLEMENTATION OF DSP RADIO RECEIVER Amaar Ahmad Syed

Project Goal Implementation of a multi-demodulation scheme radio receiver using the DSP Board Avr-32 that houses the Texas Instruments 320C32 Project Goal Implementation of a multi-demodulation scheme radio receiver using the DSP Board Avr-32 that houses the Texas Instruments 320C32

Dalanco Avr-32 DSP board Overview Overview “ The Model AVR-32 is a high performance signal processing and data acquisition board for the PCI Bus designed for desktop and embedded applications. Processing power is provided by the Texas Instruments TMS320C32 DSP and Xilinx Virtex FPGA. High speed A/D and D/A converters and a digital data connector form the I/O section. The digital data connector may be configured as an IDE connector for direct-to-disk data acquisition and playback applications” (Dalanco Spry) “ The Model AVR-32 is a high performance signal processing and data acquisition board for the PCI Bus designed for desktop and embedded applications. Processing power is provided by the Texas Instruments TMS320C32 DSP and Xilinx Virtex FPGA. High speed A/D and D/A converters and a digital data connector form the I/O section. The digital data connector may be configured as an IDE connector for direct-to-disk data acquisition and playback applications” (Dalanco Spry) Key Features Key Features 1. TI TMS320C32 DSP at 60 MHz 2. Xilinx Virtex FPGA K Bytes SRAM K Bytes Flash Memory 5. 3 MSPS or 25 MSPS 12 bit A/D Converter 6. 3 MSPS 12 bit D/A Converter

Target Schemes 1. Amplitude Modulation 2. Single Side Band Modulation 3. Frequency Modulation Target Schemes 1. Amplitude Modulation 2. Single Side Band Modulation 3. Frequency Modulation

Analog Input sent through the CPU’s I/O port Keyboard for control Monitor Screen Command & instruction entry to Avr-32 Response from the Avr-32 appears on the screen Analog Output sent through the CPU’s I/O port ADC (Analog to digital converter) Xilinx FPGA for handling input/output TMS320C32 DSP runs the Demodulation programs DAC (digital to analog converter) Cathode ray Oscilloscope (CRO) for wave and signal display Wave Generator Overall System Schematic CPU System houses the PCB-slotted Avr-32

Actual System Setup Wave Generator Cathode Ray Oscilloscope (CRO) Keyboard for controlling DSP CPU with the Avr-32 DSP board

Amplitude Demodulation H(w) Lowpass filter (.) 2 √(.) x(n)y(n) Square-Law Envelope AM Detector

Single Side Band Demodulation X X Bandpass filter Hilbert filter Cos(2 п nfc/F) -Sin(2 п nfc/F) I(n) Q(n) Adding I and Q channels gives USB whereas subtracting them gives LSB X(n)

Frequency Demodulation Different- iator filter Arc tangent I(n) Q(n) y(n) FM demodulation by phase detection

Signal Processing (1) Reading Input and Output Signaling 1. Avr-32 uses default FPGA configuration 2. Input/Output transmission of any data value requires formatting of the sort 80B F H ( 80b is the Hex value read or written to the I/O buffer and F is format specific of the FPGA configuration) Signal Processing (1) Reading Input and Output Signaling 1. Avr-32 uses default FPGA configuration 2. Input/Output transmission of any data value requires formatting of the sort 80B F H ( 80b is the Hex value read or written to the I/O buffer and F is format specific of the FPGA configuration)

Calibration of the Cathode Ray Oscilloscope 1. Integer values send to and from the ADC and DAC range from 000H to FFFH that have to be formatted H measures V, 80B measures 0 V, FFFH measures 2.24 V 3. Floating points can be used but the digital signal processing for the project used the Avr- 32’s integer format Calibration of the Cathode Ray Oscilloscope 1. Integer values send to and from the ADC and DAC range from 000H to FFFH that have to be formatted H measures V, 80B measures 0 V, FFFH measures 2.24 V 3. Floating points can be used but the digital signal processing for the project used the Avr- 32’s integer format h[n] starts at 100H Input x[n] fills in this direction for 1000H locations 25 input memor y locatio ns used in produci ng every output. This time it is y[3]. All these locations are initialized to zero as dummy inputs Maximum address for input storage Following is an example of a single 25 Tap FIR memory usage. An additional FIR filter inside the same program would have similar memory usage except that it would start at other locations like 16A0H for h[n] and 16F0H for x[n]. h[0] 100H h[1] 101H h[2] 102H.. h[24] 118H. x[-24] 137H. x[-21] 13AH. x[-3] 14DH x[-2] 14EH x[-1] 14FH x[0] 150H x[1] 151H x[2] 152H x[3] 153H.. x[4432] 1150H. Fig. 7 DSP RAM Memory

Signal Processing (2) 1. FIR filter of N Taps N y[n]=∑h[k] ×x[k-n] or H(z)=1+a×z-1+b×z-2+c×z-3 +… k=0 k=0 Implementation Algorithm Store N weights (max weight is N hex ) and N zeros as initialized inputs in pre-determined memory locations Loc1 and Loc2 respectively Read x[n] from ADC, store it in Loc2, perform the convolution equation and re-adjust filter program’s pointers to Loc2 After a window of 1000 locations for x[n] have been filled, revolve the last N inputs to the original Loc2 …Repeat

Signal Processing (3) 2. Magnitude scaling of real-time FIR There are can be no decimals in integer format. Thus, relative scaling is performed to get desired response. Example If an input sample x[n] is 67H and its convolved sum using the convolution equation with 25 taps becomes 4237 H then not only is this figure is too much for the DAC but also lager than the original value. Scaling 4237 H is scaled down to a range of less than FFF to a value corresponding to 4.0 V (i.e 0CCFH ) Question Isn’t an FIR filter supposed to attenuate or at most not change the input value? Answer Yes that is true but here it is the relative difference that counts. We need a voltage level sufficient for audibility (since this value will be fed into a speaker for listening to radio broadcast) Those x[n]s whose processed output y[n] is to be attenuated, their corresponding value will be much less than 0CCF H

Actual Frequency Response

ADC Sampling Rates and Program Speed Digital frequency = input frequency / sampling rate * 2*pi We need high sampling rates to offset quantization noise But limit on sampling rate imposed by program’s processing time for every input x[n] N is number of taps AM cycles 93+ N SSB cycles N Thus for AM demodulation, the max sampling rate is 60 MHz/ (93 +N) or about 500 KHz per sample for a 25 tap filter

Digital Oscillator I[n] = x[n] × sin (2π ωc) Q[n] = x[n] × cos(2π ωc) s1[n+1]= cos θ × s1[n] + (cos θ +1) × s2[n] for sine s2[n+1]= (cos θ -1) × s1[n] + cos θ × s2[n] for cosine ‘cos θ’ generated by arithmeaticall right shifting the contents of register having the values of s1 or s2

I / Q channels and dual filter implementation in Master-Program -sin (2 π ωc ) Cos(2 π ωc ) FIR 1 FIR 2 x Digital Oscillator De- formatte d input from ADC

Testing using MATLAB simulation MATLAB used in generating tap coefficients for the FIR filters. FFTs used to estimate the desired filter frequency response and compare with actual response. Example (To check Band-Pass Filtering for AM) Input: A sinusoid with a 1.0 V peak to peak sinusoid provided FIR Taps: (25 taps burned in RAM memory) Desired Output: The a sinusoidal wave should be generated between 4 to 7 KHz with very low peak to peaks on either side of this band. Test Output: Band-pass range of 5.1 and 8.4 KHz and low peak to peaks on either side

Project Re-Assessment 1. End of Project Goals met for AM and SSB, FM is incomplete 2. Frequency Translation (Project expansion) AM, FM or SSB signals too high frequency for the ADC or the processor to handle. Tunable frequency down-conversion required for a complete communications system to handle the radio bandwidth. 3. System as a Digital Receiver (Project expansion) The DSP receiver already has digital oscillator, mixers and multiple filtering modules. This system can act as a prototype for handling digital demodulation schemes as well. Programmability offers versatility in running numerous Digital and of course analog schemes

Actual Lowpass Filtering on CRO The lower wave is the input and the upper one is the attenuated output with a frequency more than the cutoff

Amplitude Demodulation The first CRO wave is the simulated squared AM signal. The second CRO wave is the demodulated DC component after lowpass filtering of the same wave.

Single Side Band Demodulation The first figure above is the simulated wave for the USB signal. The second sinusoidal CRO wave is the recovered message from the signal.

Hilbert Filtering The above CRO waves show the effect of a Hilbert filter. Notice the 90 degree phase difference between the input and the output

Finished!