TSTE17 System Design, CDIO Lecture 7. Additional information resources. Testing. Check timing of the IP blocks Testing

Similar documents
Practical issue: Group definition. TSTE17 System Design, CDIO. Quadrature Amplitude Modulation (QAM) Components of a digital communication system

TSTE17 System Design, CDIO. General project hints. Behavioral Model. General project hints, cont. Lecture 5. Required documents Modulation, cont.

SC - Single carrier systems One carrier carries data stream

What s Behind 5G Wireless Communications?

2015 The MathWorks, Inc. 1

B SCITEQ. Transceiver and System Design for Digital Communications. Scott R. Bullock, P.E. Third Edition. SciTech Publishing, Inc.

Lecture 9: Spread Spectrum Modulation Techniques

Wireless Communication Systems: Implementation perspective

MIMO RFIC Test Architectures

Fundamentals of Digital Communication

Technical Aspects of LTE Part I: OFDM

Multiple Access Schemes

Lecture LTE (4G) -Technologies used in 4G and 5G. Spread Spectrum Communications

Unit 1 Introduction to Spread- Spectrum Systems. Department of Communication Engineering, NCTU 1

Spread Spectrum (SS) is a means of transmission in which the signal occupies a

OFDMA and MIMO Notes

Part 3. Multiple Access Methods. p. 1 ELEC6040 Mobile Radio Communications, Dept. of E.E.E., HKU

OFDM and FFT. Cairo University Faculty of Engineering Department of Electronics and Electrical Communications Dr. Karim Ossama Abbas Fall 2010

EE359 Lecture 18 Outline

Outline / Wireless Networks and Applications Lecture 7: Physical Layer OFDM. Frequency-Selective Radio Channel. How Do We Increase Rates?

Spread Spectrum Techniques

Ten Things You Should Know About MIMO

Field Experiments of 2.5 Gbit/s High-Speed Packet Transmission Using MIMO OFDM Broadband Packet Radio Access

Mobile & Wireless Networking. Lecture 2: Wireless Transmission (2/2)

Simple Algorithm in (older) Selection Diversity. Receiver Diversity Can we Do Better? Receiver Diversity Optimization.

SPREAD SPECTRUM (SS) SIGNALS FOR DIGITAL COMMUNICATIONS

OFDM and MC-CDMA A Primer

UTILIZATION OF AN IEEE 1588 TIMING REFERENCE SOURCE IN THE inet RF TRANSCEIVER

EC 551 Telecommunication System Engineering. Mohamed Khedr

Some Radio Implementation Challenges in 3G-LTE Context

2002 IEEE International Solid-State Circuits Conference 2002 IEEE

RF/IF Terminology and Specs

Part A: Spread Spectrum Systems

EFFICIENT SMART ANTENNA FOR 4G COMMUNICATIONS

Satellite Communications: Part 4 Signal Distortions & Errors and their Relation to Communication Channel Specifications. Howard Hausman April 1, 2010

From Antenna to Bits:

ECE5984 Orthogonal Frequency Division Multiplexing and Related Technologies Fall Mohamed Essam Khedr. Fading Channels

Decrease Interference Using Adaptive Modulation and Coding

Chapter 2 Channel Equalization

Chapter 2 Overview - 1 -

ISHIK UNIVERSITY Faculty of Science Department of Information Technology Fall Course Name: Wireless Networks

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

UNIK4230: Mobile Communications. Abul Kaosher

5G, WLAN, and LTE Wireless Design with MATLAB

GNSS Technologies. GNSS Acquisition Dr. Zahidul Bhuiyan Finnish Geospatial Research Institute, National Land Survey

Case Study: and Test Wireless Receivers

Radio Receiver Architectures and Analysis

What s Behind 5G Wireless Communications?

ECS455: Chapter 4 Multiple Access

Page 1. Overview : Wireless Networks Lecture 9: OFDM, WiMAX, LTE

Study of Performance Evaluation of Quasi Orthogonal Space Time Block Code MIMO-OFDM System in Rician Channel for Different Modulation Schemes

Mobile Communication Systems. Part 7- Multiplexing

Performance Evaluation of Wireless Communication System Employing DWT-OFDM using Simulink Model

TU Dresden uses National Instruments Platform for 5G Research

Lecture 3: Wireless Physical Layer: Modulation Techniques. Mythili Vutukuru CS 653 Spring 2014 Jan 13, Monday

Exploring Trends in Technology and Testing in Satellite Communications

Prof. P. Subbarao 1, Veeravalli Balaji 2

What's New in MATLAB and Simulink for Signal Processing? Daniel Aronsson, Application Engineer

WHITE PAPER. Hybrid Beamforming for Massive MIMO Phased Array Systems

Page 1. Outline : Wireless Networks Lecture 6: Final Physical Layer. Direct Sequence Spread Spectrum (DSSS) Spread Spectrum

Basic idea: divide spectrum into several 528 MHz bands.

A GENERAL SYSTEM DESIGN & IMPLEMENTATION OF SOFTWARE DEFINED RADIO SYSTEM

Nutaq OFDM Reference

CDMA - QUESTIONS & ANSWERS

Recap of Last 2 Classes

RFIC Design ELEN 351 Lecture 2: RFIC Architectures

TSEK02: Radio Electronics Lecture 8: RX Nonlinearity Issues, Demodulation. Ted Johansson, EKS, ISY

Part A: Spread Spectrum Systems

Computational Complexity of Multiuser. Receivers in DS-CDMA Systems. Syed Rizvi. Department of Electrical & Computer Engineering

Receiver Designs for the Radio Channel

2012 LitePoint Corp LitePoint, A Teradyne Company. All rights reserved.

Comparative Study of OFDM & MC-CDMA in WiMAX System

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 9: Multiple Access, GSM, and IS-95

5G 무선통신시스템설계 : WLAN/LTE/5G

Testing RFIC Power Amplifiers with Envelope Tracking. April 2014

TSEK02: Radio Electronics Lecture 8: RX Nonlinearity Issues, Demodulation. Ted Johansson, EKS, ISY

A Research Concept on Bit Rate Detection using Carrier offset through Analysis of MC-CDMA SYSTEM

Chapter 2 Overview - 1 -

CHAPTER 3 ADAPTIVE MODULATION TECHNIQUE WITH CFO CORRECTION FOR OFDM SYSTEMS

CDMA Principle and Measurement

Implementation and Comparative analysis of Orthogonal Frequency Division Multiplexing (OFDM) Signaling Rashmi Choudhary

Unrivalled performance and compact design

Working Party 5B DRAFT NEW RECOMMENDATION ITU-R M.[500KHZ]

Spread Spectrum: Definition

Modern Quadrature Amplitude Modulation Principles and Applications for Fixed and Wireless Channels

ELEC E7210: Communication Theory. Lecture 11: MIMO Systems and Space-time Communications

Spread Spectrum. Chapter 18. FHSS Frequency Hopping Spread Spectrum DSSS Direct Sequence Spread Spectrum DSSS using CDMA Code Division Multiple Access

Orthogonal frequency division multiplexing (OFDM)

Performance Analysis of n Wireless LAN Physical Layer

Pre-distortion. General Principles & Implementation in Xilinx FPGAs

ELT Receiver Architectures and Signal Processing Exam Requirements and Model Questions 2018

OFDM system: Discrete model Spectral efficiency Characteristics. OFDM based multiple access schemes. OFDM sensitivity to synchronization errors

With a lot of material from Rich Nicholls, CTL/RCL and Kurt Sundstrom, of unknown whereabouts

Lecture 3 Cellular Systems

Ultra Wideband Transceiver Design

Session 3. CMOS RF IC Design Principles

OFDM AS AN ACCESS TECHNIQUE FOR NEXT GENERATION NETWORK

MAKING TRANSIENT ANTENNA MEASUREMENTS

Wireless Networks (PHY): Design for Diversity

TSEK38 Radio Frequency Transceiver Design: Project work B

Transcription:

TSTE17 System Design, CDIO Lecture 7 1 Project hints 2 Check timing of the IP blocks Testing FFT/IFFT, Viterbi block IP Data rates, setup time, average throughput Hints RF Selection of block and its parameters may influence the architecture Setup time (before first calculation) Throughput requirements IP blocks use serial interface with protocol Collection of data put into packets 3 4 Additional information resources Testing Check the websites from the manufacturer Four types of tests Application notes shows common interfaces and applications www.altera.com Check model examples from MATLAB Specification Test Design Test Implementation Test Operation Test Demo Examples Web

5 6 Specification Test Make sure the scenarios given in the specification is correct Build an executable specification Usually requires modeling of the environment of the design Design Test Make sure the functional model complies with specification Include filter attenuation, non-linear phase etc. 7 8 Implementation Test Find manufacturing errors Needs to be inexpensive Perform selftest Operation Test Should not impact operation Few testpatterns

Different Types 9 Boundary Scan Principle Replacement of flip-flops with mux+flipflop 10 Boundary Scan Two modes, Test and Operational Built-In Self-Test Tools JTAG Pros Specialized tests Simple to Generate (automatized) Total control of test patterns Cons Not full speed test (timing not tested) Slow (serial) test pattern updates JTAG 11 JTAG pin control example 12 IEEE 1149 Standard Control each pin individually Both input and output Special controller Identify Self check Predefined interface Connect multiple chips in sequence

13 14 Specialized Tests Memory blocks Many different algorithms Depends on technology Signature tests CRC LSFR IP Block Problems IP = Intellectual property Designs bought from other manufacturer How to test a circuit we do not have source code for? What boundary cases? 15 16 FPGA debugging Add hardware to view internal signals Multiplex if too few pins available Signaltap Store signal in internal memory Access through jtag port controller Test internal Checksum, edge detectors,... FPGA IP core models IP cores are described at different abstraction levels Different abstraction levels Simulink Behavoural VHDL Gate Netlist VHDL Gate Netlist VHDL with timing

17 18 FPGA IP Core models, cont. Many models are handmade Functionality may differ between model levels Simulink internals Important to understand internals to debug models IP Cores can be hardcoded macros (defines the layout) VHDL code import Use same code for both Simulink and Behavoural VHDL Automatic synthesis to gatelevel VHDL Slows down simulation 19 20 Model execution Model execution simulation loop Initializing Evaluate block parameters Flatten hierarchy Sort blocks in update order Detect algebraic loops Check sample rate and vector length on interconnections Forward data type and sample rate info on interconnects Simulation loop Calculate next sample hit Calculate outputs in major step Update discrete states in major step Integration Calculate derivatives Calculate outputs Calculate derivatives Locate zero crossings

21 22 Simulink simulation cont. Zero crossings Integration of Non-discontinues signals Bouncing-ball example Algebraic loops Direct feedthrough Algebraic constraint block Simulink simulation cont. Discrete systems Zero-order hold on outputs Sampler on the inputs Sample time definition Scalar Ts Vector [Ts, Offset] (used by discrete event blocks) t = n * Ts + Offset 23 24 Toolboxes/block sets More information available by right-clicking the block in the library pane Simulink blockset Subsystems In, out Enable and Trigger Sources and Sinks Most blocks does not map to VHDL! Data type mismatch Possible problems Data types are sometimes propagated through the design Add description of data types in the schematic Force data types by adding type block

25 26 Possible problems, cont. Debugging help Sample time Use the Display menu in the simulink window Sample time may be necessary to define on more than the input/output Must match exact expected speed (1/3 not equal to 0.3333) Block execution order Simulation model different Shows data width, sample rate, execution order etc. Use displays and scopes to visualize the signal values Save values to the workspace Store a log of all data into a structure Show multichannel data in a readable form Use the built-in Simulink Debugger Use simulink debugger to find order May change priority of block to force update order Other Simulink hints 27 DSP Systems toolbox Introduce concept of frames 28 Use workspace I/O to partition the system Collection of time sequences Run only subsystems using workspace I/O to read stimuli and store results Reduces run time! Use vectors initially for data Faster simulation Less problems with synchronization Frame vs Sample Designed to increase simulation speed Frames can be changed into multichannel sample Special sources helps create frames See Signal processing blockset Also possible to buffer samples to create frames Special casting block convert Frame <=> Sample Sample time colors

29 30 RF Distortion RF (radio frequency) subsystem have limitations Peak-to-Average Power Ratio (PAPR) imbalance between I and Q phase noise filtering of out of band signals Components in the RF system IQ modulator Split input data stream into two streams Multiply one with sinusoidal, other with cosinusoidal waveform (baseband signal << frequency << RF) Add both together to generate IF (intermediate frequency) Total envelop A= x I x I x Q x Q Baseband Converter Multiply with carrier f c (local oscillator) 31 32 Components of the RF system cont. Spectral Filter Limit out of band power Power amplificer (PA) Give enough power to get reliable transmission Amplifier Classification Different types of amplifiers Class A Continuous current flow Linear region Poor efficiency (25%) Class B (often push-pull configuration) Better efficiency Poor linearity Better output power

33 34 Amplifier Classification Class C Each transistor current 0 more than 50% of the cycle Better efficiency Class E Switch on/off, use tuned output circuit More efficient than Class B More harmonic distortion Amplifier imperfections Intermodulation (see fig 5.4) near-in IM products Difficult to filter out other IM products possible to filter out Saturation 1 db compression in power transfer function Linear region noise region to saturation region 35 36 Harmonic Distortion AM/AM (Amplitude to Amplitude distortion) Distortion of amplitude due to nonlinear PA AM/PM (Amplitude to Phase distortion) Distortion of phase due to nonlinear PA Use pilot tones to reduce problem (helps AM/PM but not AM/AM) Predistortion Techniques Amplitude Clipping Non-adaptive Distortion modelled as a noise source Nyquist sampling => in-band noise Oversampled signal => out-of-band noise + reduced in-band noise In-band noise => higher BER Out-of band noise possible to filter out

37 38 Predistortion techniques Decision-Aided Method for Clipping Amplitude Recovery Work in frequency domain Try to find and restore clipped samples Restore signal through IFFT Resulting waveform will have a larger dynamic range Possible to miss or take too many samples in the algorithm Predistortion techniques Adaptive Predistortion Modify the signal before it reaches the RF parts Must train the system How long time to perform this? detect the output determine the correction parameters RAM/Table lookup methods 39 40 IQ imbalance DC-offset added before mixer Amplitude and phase offset between I and Q mixers Use multiple antennas Antenna Diversity Possible both with receiver and transmitter antennas Some strategies requires knowledge about the channel At 5 GHz is the channel different even with a small physical distance (0.1 1 m) Popular name is MIMO (Multiple Input Multiple Output) 802.11n allows up to 600 Mbit/s LTE advanced based on MIMO (1Gbit/s)

MIMO idea May give increased coverage by focusing power in the correct direction 41 Receive Diversity Use multiple receiver antennas 42 Beamforming Tx and/or Rx Selection diversity May reduce effect of neighbor interferer May increase data rate by creating parallel beams Select the one antenna with the best SNR Requires no additional RF receiver chain Assume independent channels by spatial diversity Used in some access point product for 802.11b Multipath is now required to reach high data rates! Only uses information from one antenna when receiving data => Not optimal 43 44 Selection Diversity Maximal Ratio Combining Rayleigh fading channel with multiple receive antenna Optimize received signal by combining all input signals Compute total signal as a linear combination of all inputs Gain of 2-3 db for two antennas Gain of 3-4 db for four antennas Antennas with heavily faded signals are less important Requires knowledge about the channel (channel estimation)

45 46 Maximal Ration Combining 10 db gain with two antennas 15 db gain with four antennas Remember requirement of channel Transmit Diversity Use multiple antennas to transmit information Multiple transmit, single receive antennas will NOT give improvement Total power transmitted is still limited => Each antenna emits P/N instead of P Cyclic Delay Diversity Send information on one at a time Cycle through all antennas Avoid catastrophic interference 47 50 Delay Diversity Transmit Diversity Send the information over N antennas repeated N times non-overlapping S=[ s 1 s 2 s 3 s 4 s 5 0 s 1 s 2 s 3 s 4 0 0 s 1 s 2 s 3] Require knowledge about the channel The receiver must solve an optimization problem, checking all possible sequences of N symbols Layered Space-Time Codes Send demultiplexed data on different antennas using the same frequency and modulation Divide the input streams using beam forming (spatial resolution) Decode most important stream, considering the others as interference Decode the second most important stream, considering the rest as interference...

51 52 Water-Filling Single Antenna Do not send power in channels that are faded out, or have narrow-band interference Two step approach Power Allocation (more power if low attenuation and little noise) Bit-loading (create same BER for all subcarriers) Requires knowledge about the channel at the transmitter Possible in, e.g., ADSL Adaptive Modulation Previous systems all designed for worst case channels If we know the channel, we can reduce power or increase data rates when the channel is good Change power, modulation, constellation size, and/or coding rate/scheme depending on channel Requires good channel estimates in the receiver that is sent with low latency to the transmitter 53 54 Antenna Diversity More methods are available Block Space-Time Codes Multidimensional Space-Time Codes Sperical Space-Time Codes Water-Filling in multiple antenna systems Alternatives to OFDM Want to use wide band for communication High datarates Problem caused by multipath channels Fading Narrow-band interference OFDM solved these problems by using multiple carriers

55 56 CDMA (Code Division Multiple Access) Spread spectrum technique Each transmitter is assigned a unique code sequence Spreading code CMDA Receiver Reciever correlates input signal with the synchronised copy of the code sequence Processing gain Gp = transmission bandwidth / information bandwidth Used to encode data to send code signal bandwidth >> data signal bandwidth Reciever knows the code Cross correlation between different users are small 57 58 CMDA Properties Only the intended user signal will be despread in the correlation of the received signal. Can handle multipath channels Privacy Must know the sequence to be able to detect the data Interference rejection CDMA Properties Cont, Well suited for military applications Low probability of interception Low power density => difficult to detect transmission Antijamming capability Any signal in the frequency band used for transmission will be spread in the reciever Narrow-band jamming will not work Cross correlation of narrowband interference will spread the interference.

59 60 Pure CDMA Direct Sequence CDMA Multiply information signal directly with high chip rate spreading code Frequency Hopping CDMA Carrier frequency is rapidly changed according to a spreading code Time Hopping CDMA Information sent in short bursts defined by the spreading code (no continous transmission) Two types of systems averaging systems Pure CDMA Average interference over a long time Direct Sequence avoidance systems Avoid most of the time the interference Frequency Hopping Time Hopping 61 62 Direct Sequence CDMA Simple Transmitter principle DS CMDA Transmitter BPSK and no data modulation example Code signal uses chips, consisting of -1 and 1 in a sequence (rate >> data rate) Data Data modulator Spreading modulator Carrier Generator Code Generator

63 64 DS CMDA Receiver Local code generator must be identical to transmitter and synchronized Despreading Data demodulator Data DS CDMA Properties Coded signal is easy to generate Carrier Generator easy to implement (single carrier) No synchronisation among users Difficult to aquire and maintain synchronization Code Synchronization/ tracking Code generator Carrier generator Synchronization error << chip time and nonavailable continous frequency bands => practical bandwidth limit 10-20 MHz 65 66 DS versus Frequency Hopping Both transmits the same average power in all frequency bands Frequency Hopping Transmitter and Receiver structures

67 68 Two types Frequency Hopping Fast frequency hopping Carrier frequency changes a number of times during transmission of one symbol Frequency band defined by pulse shape of the hopping signal Slow frequency hopping Multiple symbols transmitted at the same carrier frequency Frequency band used is defined by the information bandwidth Frequency Hopping Properties Time synchronization easier than for DS-CDMA Frequency bands used in the hop sequence can be non-continous Better near-far performance Low probability to have multiple users transmitting on the same frequency band Requires a sophisticated frequency synthesizer Coherent demodulation difficult (phase reference difficult to maintain) 69 70 Time Hopping Collect data into frames Select one timeslot according to code Transmit all data in this time slot Frequency Time Hopping Properties Implementation is simpler than FH-CDMA Useful when the transmitter is average-power limited but not peak-power limited Short bursts of data at high power Near-far problem is much less of a problem Takes a long time to synchronise codes If concurrent transmission => large data loss Time

71 The RAKE Receiver Multipath components considered as interference Better performance if the power of each path is instead combined