Software Defined Radio Lec 7 – Digital Generation of Signals Sajjad Hussain, MCS-NUST.

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

Spread Spectrum Chapter 7.
Spread Spectrum Chapter 7. Spread Spectrum Input is fed into a channel encoder Produces analog signal with narrow bandwidth Signal is further modulated.
Fourier Series 主講者:虞台文.
Digital Kommunikationselektroink TNE027 Lecture 6 (Cryptography) 1 Cryptography Algorithms Symmetric and Asymmetric Cryptography Algorithms Data Stream.
Biosignals and Systems Prof. Nizamettin AYDIN 1.
Theoretical basis for data communication
Lecture 7: Spread Spectrum
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 14.
CHAPTER 4 DIGITAL MODULATION Part 1.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Quantization Prof. Siripong Potisuk.
Cellular Communications
King Fahd University of Petroleum &Minerals Electrical Engineering Department EE-400 presentation CDMA systems Done By: Ibrahim Al-Dosari Mohammad.
Lecture 7 AM and FM Signal Demodulation
Lecture 3 Data Encoding and Signal Modulation
04/26/2006VLSI Design & Test Seminar Series 1 Phase Delay in MAC-based Analog Functional Testing in Mixed-Signal Systems Jie Qin, Charles Stroud, and Foster.
Wireless communication channel
"All of RF is Truly FM" SIGA2800 Basic SIGINT Technology
SAMPLING & ALIASING. OVERVIEW Periodic sampling, the process of representing a continuous signal with a sequence of discrete data values, pervades the.
Chapter 15 Fourier Series and Fourier Transform
Digital Communication Techniques
Spread Spectrum Techniques
DSP Techniques for Software Radio DSP Front End Processing Dr. Jamil Ahmad.
Digital signal Processing
Lecture 1 Signals in the Time and Frequency Domains
1-1 Basics of Data Transmission Our Objective is to understand …  Signals, bandwidth, data rate concepts  Transmission impairments  Channel capacity.
King Fahd University of Petroleum & Minerals  Electrical Engineering Department EE 578 Simulation of Wireless Systems Code Division Multiple Access Transmission.
Introduction.
EE 445S Real-Time Digital Signal Processing Lab Fall 2013 Lab 4 Generation of PN sequences Debarati Kundu and Andrew Mark.
Understanding ADC Specifications September Definition of Terms 000 Analogue Input Voltage Digital Output Code FS1/2.
Multirate Signal Processing
1 Introduction to. 2 Contents: DEFINITION OF SPREAD SPECTRUM ( SS ) CHARACTERISTICS OF SPREAD SPECTRUM BASIC PRINCIPLES OF DIRECT SEQUENCE SPREAD SPECTRUM.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Digital Signal Processing
EE210 Digital Electronics Class Lecture 2 March 20, 2008.
Overlapped modulation structure Overlapped modulation structure Overlapped harmonic structure Overlapped harmonic structure Spurious spectral components.
Session 1 Stream ciphers 1.
Lecture 1B (01/07) Signal Modulation
Signals CY2G2/SE2A2 Information Theory and Signals Aims: To discuss further concepts in information theory and to introduce signal theory. Outcomes:
Basic Concepts of Audio Watermarking. Selection of Different Approaches Embedding Domain  time domain  frequency domain DFT, DCT, etc. Modulation Method.
1 Chapter 7. Spread Spectrum Wen-Shyang Hwang KUAS EE.
Introduction Advantage of DSP: - Better signal quality & repeatable performance - Flexible  Easily modified (Software Base) - Handle more complex processing.
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
1“Principles & Applications of SAR” Instructor: Franz Meyer © 2009, University of Alaska ALL RIGHTS RESERVED Dr. Franz J Meyer Earth & Planetary Remote.
Generating Sinusoidal Signals Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 445S Real-Time Digital.
Implementing and Optimizing a Direct Digital Frequency Synthesizer on FPGA Jung Seob LEE Xiangning YANG.
Software Defined Radios 長庚電機通訊組 碩一 張晉銓 指導教授 : 黃文傑博士.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
ECE 5233 Satellite Communications Prepared by: Dr. Ivica Kostanic Lecture 19: Multiple Access Schemes (4) (Section 6.8) Spring 2011.
Code Division Multiple Access (CDMA) Transmission Technology
Lecture 12-13: Multi-access Aliazam Abbasfar. Outline.
Code Division Multiple Access (CDMA) Transmission Technology
Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 11 Recursive Architectures for 2DLNS.
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Spread Spectrum Chapter.
1 st semester 1436 / Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital.
Outline  Introduction (Resource Management and Utilization).  Compression and Multiplexing (Other related definitions).  The Most Important Access Utilization.
Digital Signal Processing
CH#3 Fourier Series and Transform 1 st semester King Saud University College of Applied studies and Community Service 1301CT By: Nour Alhariqi.
INTRODUCTION. Electrical and Computer Engineering  Concerned with solving problems of two types:  Production or transmission of power.  Transmission.
CI Lecture Series Summer 2010 An Overview of IQ Modulation and Demodulation Techniques for Cavity LLRF Control.
Singular Value Decomposition and its applications
Software Defined Radio PhD Program on Electrical Engineering
Subject Name: Digital Communication Subject Code: 10EC61
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
Spread Spectrum Chapter 7.
Direct Digital Synthesis: Applications to Radar
Generating Sinusoidal Signals
Spread Spectrum Chapter 7.
Chapter 10 Error Detection and Correction
Presentation transcript:

Software Defined Radio Lec 7 – Digital Generation of Signals Sajjad Hussain, MCS-NUST.

Outline for Today’s Lecture Digital Generation of Signals 1. Introduction 2. Comparison to Analog generation 3. DDS Techniques 4. Analysis of Spurious Contents 5. Band-pass Signal Generation 6. Performance of DDS Systems 7. Generation of Random Numbers 8. ROM compression techniques

Generation of Random Sequences Random sequences are needed in a variety of communication applications  scrambling, bit- synchronization, spreading, security etc. Spreading  Use of different codes for same freq. Scrambling  Help maintain synchronization and adding randomness.. Ideal binary random sequence (infinite length, identically distributed RV ) vs. PN sequences (finite length)

Type of Sequences Most common technique for generating PN sequences  use of binary digital linear feedback shift register Maximum Length Sequences  Sequences with a maximum-period are called max length seq.  m- sequences  Shift register with 2 m -1 period -> polynomial should be primitive-> irreducible-> cannot be factored into product of polynomials with binary coefficients and degrees of at-least 1 If N = 2 m -1 is the period of sequence y(n), then the periodic auto-correlation function is

Gold Sequences Composite codes with good and well-defined cross-correlation properties Generated by using ‘preferred m-sequences’  m-sequences with certain specific correlation properties  Modulo-2 sum of 2 preferred m-sequences  Same length as that of input codes  A different code is generated by shifting one of the codes  Thus construction of 2 m -1 codes from pairs of m-stage shift registers Though constructed from m-sequences, are not maximal sequences Codes can be selected with bounded cross-correlation properties

Gold Code Generator

Gold Codes with bounded auto- correlation

Randomization with Wheatley procedure Used for removal of harmonic spurs If removal not possible, spreading energy in all harmonics is useful – Wheatley procedure  high noise floor with few strong harmonics Randomly varying (dithering) the periods of output, while keeping the average of these periods unchanged The method consists of adding a sequence of random numbers to the contents of the accumulator in a prescribed manner to convert harmonic signals into a continuous noise floor, whose level is much lower than that of harmonic signals At each clock-cycle a RV is added – 0:Δ r -1  Introduces un-correlated phase noise

Wheatley Procedure

Effect on Spectrum because of Wheatley Procedure

ROM Compression Spurious signals are one of the main drawbacks of DDS system, especially those caused by phase- truncation – spurious harmonic signals phase-truncation – to avoid a very large ROM Phase-truncation can be avoided if it was possible to compress more information into the ROM One simple compression approach takes advantage of the symmetry of sine-wave  store only one quadrant of information  eliminates 75% of the normal memory requirements Other techniques along-with the sine-symmetry – interpolation-based

Interpolation using Taylor Series Expansion Certain values of sine function are stored in ROM and the values in-between these angles can be interpolated using Taylor series expansion

Interpolation using two terms of power series

Effect of using four-terms of power series

Effect of using seven-terms of power series

Interpolation using trignometric identities Using trigonometric identities to find the values between the exact known values  Most of these methods work only well when the deviation from the known angle is very small Hutchison Algorithm :  Division of values of sine function in first quadrant into ‘coarse’ and ‘fine’ ROM  Trig. Identities can then be used to generate the sine values for any angle θ by decomposing it to values contained in the coarse and fine ROM  No. of bits addressing the ROM are divided into C coarse bits (for θ C ) and F fine bits (for θ F )  If θ= θ C + θ F

Example : ROM size savings using Hutchison algorithm For an accumulator (address) width = 12 bits and ROM width = na = 12 bits  total no. of bits stored is 2 12 * 12 = 49,152 Same resolution can be obtained using a lesser no. of stored bits by Hutchison algorithm If C= 8 bits and F = 4 bits Total no. of bits required for storing  2 4 * * 12 = 3,264 bits

Sunderland algorithm An improvement over Hutchison algorithm and divides the phase-angle into three parts, thus using 3 ROMs  θ= θ C + θ s + θ F The coarse angles are defined in the first quadrant of a sine-wave from 0 to π/2, divided into 2 C equal angles. The Sunderland angle is defined as one of coarse angles divided into 2 S equal angles. Finally, the fine angle is defined as one of the Sunderland angles divided into 2 F equal angles

Sine-Phase Difference Algorithm Approach Introduces a way to reduce the storage requirements for the quarter-wave sine function. The idea is to store f(θ) = sin (πθ/2) – θ, instead of sin (πθ/2) The variation in the function f(θ) values is small, and thus a small LUT (as many as two bits saving for storing amplitude values) can be used to represent f(θ) and sin (πθ/2) can be easily calculated from f(θ) Sine LUT propagation delay is also reduced, increasing the maximum clock freq. of DDS

Modified Sine-Phase Difference Algorithm Approach – Parabolic Approximations In this approach, a parabola is used to approximate the sinusoid of the sine half-period To generate the same sine wave, the sine parabola difference approximation uses a more narrow range of values (saves as many as 4 bits of memory word-length) than the sine-phase difference approach Additional hardware to generate corresponding parabola values at ROM output can be easily implemented without significant complexity

Example : Qualcomm’s Q2240 Direct Digital Synthesizer Suited for needs of wireless comm. And complex waveform synthesis Max freq. 100 MHz (5V) or 60 MHz (3.3 V) 31-bit Freq. Control Register (FCR), 32-bit phase-accumulator, 14– bit address output and 12-bit sine LUT  14-bit phase output resolution  12-bit output resolution The latched FCR value is accumulated in the phase-accumulator in every clock-cycle The LUT can be by-passed, ending the 14 MSBs of the phase- accumulator directly to the output The unused sine LUT is de-activated to reduce power consumption

Block Diagram of Qualcomm’s DDS – Q2240I-3S1

Conclusion DDS in comparison to analog approaches provide  Flexibility  Fine freq. resolution  Fast response time  Ease-of-manufacturing and testing  Robustness to environmental changes Most DDS  ACC + ROM + DAC Issue in DDS Design  Spurious signal removal  Hybrid designs  ROM-size constraints  compression techs., trig. Identities. Etc.