FEE Conference – Brussels – October 2013 An Introduction to Digital Modulation Presenter: Barry Hack, Aeroflex UK www.aeroflex.com What do you know about Digital Comms ? Is it really different from analog modulation? V= A(t) sin[2 p f(t) + f (t)] AM, Pulse FM V= A(t) sin[ q(t)] PM (Sine wave modulation signal) Name some early systems using digital modulation? 2 www.aeroflex.com What do you know about Digital Comms ? Early systems employed: Sonar Morse code Semaphore Smoke signals 3 www.aeroflex.com What do you know about Digital Comms ? ▼ Acronyms Other terms – GSM – Interleaving – TETRA – Chipping Rate – UMTS – Rake Receiver – BPSK – Multi-path /4 – Spreading Factor – DQPSK – CODEC – LTE – RBER – BCCH – MNC 4 www.aeroflex.com Why do People want Digital Modulation ? ▼ Security – Princess Diana and the Sun newspaper – Prevent eaves dropping and ‘spoof’ or ‘rogue’ users…. ▼ Capacity – More users per piece of spectrum than analog – Less congestion – More revenue for operators ▼ Cost -> Seller makes more money – Digital radios have less analog bits ▼ 5 Cheaper to produce, more reliable, easier to align www.aeroflex.com Why do People want Digital Modulation ? ▼ Voice Quality – Works better where signal is weak ▼ Roaming – Can speak over larger geographies – Emergency services can all communicate directly – GSM roaming across most countries (130+) 6 ▼ Immunity to interference ▼ Capability to send voice and/or data www.aeroflex.com One ‘technical’ reason to move to ‘Digital’ Comparison with analog FM Low background noise Digital Quality High background noise FM Range 7 www.aeroflex.com Real radio systems ▼ They do not use one access method – They combine techniques and attempt to get the best of each (divide the users by space/location, time, frequency and/or code) ▼ There is no “best” solution – It depends on what you are trying to achieve ▼ voice, data – Geography – Regulatory constraints – Spectrum availability – Cost objectives – Services needed – User density – Politics 8 www.aeroflex.com The analog implementation ▼ Information source modulates carrier directly Analog Baseband Modulator filter Power Amplifier Tx Filter Duplexer V.C.O. Baseband Demodfilter ulator 9 Low Noise Rx Filter Amp www.aeroflex.com Simplified digital transceiver Digital A to D Speech Coder Analog Channel Coder Baseband filters Modulator Tx Filter Duplexer V.C.O. D to A Speech Decoder Channel Decoder Filters & Equalizer Demodulator Rx Filter Note: TX output PA and RX LNA removed for clarity 10 www.aeroflex.com Modulation: where is the information V= A(t) sin[2 p f(t) + f (t)] AM, Pulse FM V= A(t) sin[ q(t)] 11 PM (Sine wave modulation signal) www.aeroflex.com Basic Digital Modulation Amplitude Frequency (FSK) Phase Both Amplitude and Phase 12 www.aeroflex.com IQ Diagram: Phase and Amplitude Q+ 90° Reference Phase Phase 0° I+ Origin – Magnitude is an absolute value from the origin – Phase is relative to a reference signal (from I + axis) 13 www.aeroflex.com Digital Modulation: Signal vector Phase 0 deg Amplitude Modulation 0 deg Amplitude and Phase 14 Phase 0 deg Phase Modulation 0 deg Frequency Modulation www.aeroflex.com Modulation Measurements ▼ Analog Systems – Power – Bandwidth – Frequency error – Modulation Accuracy (FM deviation / AM depth) ▼ Digital Systems – Power – Bandwidth – Frequency error – Modulation accuracy (Error Vector Magnitude) – Burst Timing (Power) – Symbol Timing (Data) 15 www.aeroflex.com Modulation Accuracy ▼ EVM is a good measure – Some systems (i.e. FSK) would use phase error only ▼ Definition – EVM is the difference between the actual signal vector and an ideal signal vector. Q ▼ Some causes of EVM Magnitude error (IQ error magnitude) Measured signal Error vector – Component variations – PCB track layout – Phase Noise Ideal (reference signal) q Phase Error (IQ Phase error) I – Spurious signals – Modulator errors 16 www.aeroflex.com Causes of EVM - Example 1 ▼ Carrier Leakage – Some of the un-modulated local oscillator bleeds across to the output ▼ Poor screening ▼ Poor PCB layout Q I: p/2 Carrier I Carrier Leakage Q: IQ Modulator 17 www.aeroflex.com Causes of EVM – Example 2 ▼ IQ Skew – The I and Q modulation paths are not exactly 90 degrees ▼ Component tolerances ▼ Different lengths for I and Q signal paths ▼ Poor PCB layout Q I: p/2 Q: Carrier I Cos (q + 90 + skew) IQ Modulator 18 www.aeroflex.com Causes of EVM – Example 3 ▼ IQ Gain Imbalance – The I and Q modulation paths do not have the same gain ▼ Component tolerances – Note: Gain and skew can be seen as AM modulation in the analog domain ! Q I: p/2 Carrier I Q: IQ Modulator 19 www.aeroflex.com EVM ▼ Example 1 Noise can be seen because of the spread of constellation points This angle is not 90 degrees showing skew Gain imbalance present because I and Q values are not symmetrical 20 www.aeroflex.com EVM ▼ Example 2 – Minor issues with carrier leak and phase noise – BUT the quality is well inside the measurement limits Vector Diagram 21 Constellation Diagram Rotated Vector www.aeroflex.com Receiver Tests ▼ Analog Systems – RSSI (Received Signal Strength Indicator) – Rx sensitivity (using SINAD measurement) ▼ Digital Systems – RSSI (Received Signal Strength Indicator) – Rx sensitivity (using BER measurement) 22 www.aeroflex.com Receiver Tests ▼ Digital Systems – Bit Error Rate is a measure of the received bits in error as a ratio to the total received bits ▼ Other measurements include… – RBER – Residual Bit Error Rate – FER – Frame Error Rate – MER – Message Error Rate BER/MER v. Power Level BER/MER Rx Sens = -119dBm -122.0 23 -120.0 -118.0 -116.0 -114.0 -112.0 Power Level 45.00 40.00 35.00 30.00 25.00 20.00 15.00 10.00 5.00 0.00 -110.0 -108.0 -5.00 BER Class 0 BER Class 1 BER Class 2 RBER Class 0 RBER Class 1 MER If you use a 1kHz test tone, SINAD and BER can give very similar answers for receiver sensitivity ….. www.aeroflex.com Vector representation of AM and FM ▼ Remove carrier phase changes ▼ Indicate relative phase changes only Q Q Q I I unmodulated carrier, fc, arbitrary phase 24 I carrier, fc, with AM carrier, fc, with FM www.aeroflex.com Vector representation of AM - Slow 25 www.aeroflex.com Vector representation of AM – Faster ! 26 www.aeroflex.com IQ Modulation Explained A B C serial data stream D 10 t Bit period serial/parallel conversion I(t) A B C Q(t) D Q 00 I 11 01 vector phase states t Dibits Symbol period 27 www.aeroflex.com IQ Modulation Explained I.sin(fc) ‘I’ signal A 1 0 ‘Q’ signal t Bit period Q.cos(fc) L.O. fc 10 I(t) Q(t) 1 A 0 Dibits Symbol period Q 00 -sin(I), +cos(Q) I t 11 28 90 º 01 www.aeroflex.com IQ Modulation Explained I.sin(fc) ‘I’ signal B 0 1 Q.cos(fc) Bit period t ‘Q’ signal L.O. fc 90 º sin(I), -cos(Q) 10 I(t) Q(t) 0 B 1 Q 00 I t Dibits Symbol period 11 29 01 www.aeroflex.com IQ Modulation Explained I.sin(fc) ‘I’ signal C 1 1 Bit period Q.cos(fc) ‘Q’ signal t L.O. fc 90 º -sin(I), -cos(Q) 10 1 C 1 I(t) Q(t) Q 00 I t Dibits Symbol period 11 30 01 www.aeroflex.com IQ Modulation Explained I.sin(fc) ‘I’ signal D 0 0 Bit period t Q.cos(fc) ‘Q’ signal L.O. fc 90 º sin(I), cos(Q) 10 0 D 0 I(t) Q(t) Q 00 I t Dibits Symbol period 31 11 01 www.aeroflex.com IQ Modulation Explained 10 Q 00 I 11 32 01 www.aeroflex.com Vector Timing and Synchronisation ▼ 33 To decide when the vector is at a symbol point you need to apply timing and synchronisation www.aeroflex.com QPSK Modulation – Noisy but perfect ! 34 www.aeroflex.com Alternative Approaches to QPSK Time offset QPSK Q Phase offset QPSK Q I Real signals are filtered I Avoid zero crossings and so minimise AM 35 www.aeroflex.com Sampling and Speech Coding ▼ Standard telecom data rates – 300 to 3.4kHz audio band – 8k samples / sec, 13 bits / sample (103kbit / sec) – Compressed to 8 bits / sample (64kbit / sec) with A-law or u-law compander ▼Even 64kbit / sec data is too high for wireless systems ▼ CODEC – (COder-DECoder) reduces data rate by up to 80% – Several approaches: model vocal tract; code book & lookup table A to D Audio 300-3.4kHz 36 CODEC 8,000 13-bit samples / sec (103kbit / sec) 13kbit / sec www.aeroflex.com The Channel Coder A to D D to A 37 Speech Coder Channel Coder Speech Decoder Channel Filters & Decoder Equalizer www.aeroflex.com Interleaving ▼ Loss of a single data frame makes the entire message meaningless. How do we fix this? COLD 38 FEET NEED HEAT www.aeroflex.com Interleaving – Demonstration 39 www.aeroflex.com Equalisation A to D D to A 40 Speech Coder Channel Coder Speech Decoder Channel Filters & Decoder Equalizer www.aeroflex.com Equalisation ▼ Mobile communications often rely on multipath signals – How often do you actually have sight of the basestation when using a mobile phone? ▼ The EQUALISER in the receiver – Overcomes the effects of delay spreading – Using real-time adaptive filtering implemented in DSP – Requires some prior knowledge of the received signal ▼i.e...... 41 a training sequence www.aeroflex.com The End Any questions ? 42 www.aeroflex.com