Presentation is loading. Please wait.

Presentation is loading. Please wait.

EE445S Real-Time Digital Signal Processing Lab Fall 2016 Lecture 16 Quadrature Amplitude Modulation.

Similar presentations


Presentation on theme: "EE445S Real-Time Digital Signal Processing Lab Fall 2016 Lecture 16 Quadrature Amplitude Modulation."— Presentation transcript:

1 EE445S Real-Time Digital Signal Processing Lab Fall 2016 Lecture 16 http://www.ece.utexas.edu/~bevans/courses/realtime Quadrature Amplitude Modulation (QAM) Receiver Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin

2 16 - 2 Outline Introduction Automatic gain control Carrier detection Channel equalization Symbol clock recovery QAM demodulation QAM transmitter demonstration

3 16 - 3 Introduction Channel impairments Linear and nonlinear distortion of transmitted signal Additive noise (often assumed to be Gaussian) Mismatch in transmitter/receiver analog front ends Receiver subsystems to compensate for impairments FadingAutomatic gain control (AGC) Additive noiseMatched filters Linear distortionChannel equalizer Carrier mismatchCarrier recovery Symbol timing mismatchSymbol clock recovery

4 16 - 4 Baseband QAM A/D Symbol Clock Recovery LPF Carrier Detect AGC X X r1(t)r1(t) r(t)r(t) r[m]r[m] Channel Equalizer L L L samples/symbol m sample index n symbol index QAM Demodulation c(t)c(t) 2 cos(  c m) -2 sin(  c m) Receiver i[n]i[n] gT[m]gT[m] L + cos(  c m) q[n]q[n] gT[m]gT[m] L sin(  c m) Serial/ parallel converter 1 Bits Map to 2-D constellation J Pulse shapers (FIR filters) Index s[m]s[m] D/A s(t)s(t) Transmitter fsfs Downconverted signal r 1 (t) Carrier recovery is not shown i[m]i[m] q[m]q[m]

5 Automatic Gain Control Scales input voltage to A/D converter Increase/decrease gain for low/high r 1 (t) Consider A/D converter with 8-bit signed output When gain c(t) is zero, A/D output is 0 When gain c(t) is infinity, A/D output is -128 or 127 f -128, f 0, f 127 represent how frequent outputs -128, 0, 127 occur f i = c i / N where c i is count of times i occurs in last N samples Update #1: c(t) = (1 + 2 f 0 – f -128 – f 127 ) c(t –  ) Update #2: Constant  > 0 prevents division by zero 16 - 5 A/D AGC r1(t)r1(t) r(t)r(t)r[m]r[m] c(t)c(t)

6 16 - 6 Carrier Detection Detect energy of received signal (always running) c is a constant where 0 < c < 1 and r[m] is received signal Let x[m] = r 2 [m]. What is the transfer function? What values of c to use? If receiver is not currently receiving a signal If energy detector output is larger than a large threshold, assume receiving transmission If receiver is currently receiving signal, then it detects when transmission has stopped If energy detector output is smaller than a smaller threshold, assume transmission has stopped

7 Channel Equalizer Mitigates linear distortion in channel When placed after A/D converter Time domain: shortens channel impulse response Frequency domain: compensates channel distortion over entire discrete-time frequency band instead of transmission band Ideal channel Cascade of delay  and gain g Impulse response: impulse delayed by  with amplitude g Frequency response: allpass and linear phase (no distortion) Undo effects by discarding  samples and scaling by 1/g 16 - 7 z-z- g

8 Channel Equalizer IIR equalizer Ignore noise n m Set error e m to zero H(z) W(z) = g z -  W(z) = g z -  / H(z) Issues? FIR equalizer Adapt equalizer coefficients when transmitter sends training sequence to reduce measure of error, e.g. square of e m 16 - 8 Discrete-Time Baseband System z-z- h + w - xmxm ymym emem rmrm nmnm + Equalizer Channel g Ideal Channel + Receiver generates x m Training sequence

9 Adaptive FIR Channel Equalizer Simplest case: w[m] =  [m] + w 1  [m-1] Two real-valued coefficients w/ first coefficient fixed at one Derive update equation for w 1 during training Using least mean squares (LMS) Step size 0 <  < 1 z-z- h + w - xmxm ymym emem rmrm nmnm + Equalizer Channel g Ideal Channel + Receiver generates x m Training sequence smsm

10 16 - 10 Symbol Clock Recovery Two single-pole bandpass filters in parallel One tuned to upper Nyquist frequency  u =  c + 0.5  sym Other tuned to lower Nyquist frequency  l =  c – 0.5  sym Bandwidth is B/2 (100 Hz for 2400 baud modem) A recovery method Multiply upper bandpass filter output with conjugate of lower bandpass filter output and take the imaginary value Sample at symbol rate to estimate timing error  Smooth timing error estimate to compute phase advancement when Lowpass IIR filter Pole locations? See Reader handout M

11 Baseband QAM Demodulation Recovers baseband in-phase/quadrature signals Assumes perfect AGC, equalizer, symbol recovery QAM modulation followed by lowpass filtering Receiver f max = 2 f c + B and f s > 2 f max Lowpass filter has other roles Matched filter Anti-aliasing filter Matched filters Maximize SNR at downsampler output Hence minimize symbol error at downsampler output 16 - 11 LPF X X 2 cos(  c m) -2 sin(  c m) x[m]x[m]

12 16 - 12 Baseband QAM Demodulation QAM baseband signal QAM demodulation Modulate and lowpass filter to obtain baseband signals baseband high frequency component centered at 2  c baseband high frequency component centered at 2  c

13 Single Carrier Transceiver Design Design/implement transceiver Design different algorithms for each subsystem Translate algorithms into real-time software Test implementations using signal generators & oscilloscopes

14 0-14 Lab 4 Rate Control Lab 6 QAM Encoder Lab 3 Tx Filters Lab 2 Bandpass Signal LabVIEW demo by Zukang Shen (UT Austin) QAM Transmitter Demo http://www.ece.utexas.edu/~bevans/courses/realtime/demonstration Reference design in LabVIEW

15 0-15 QAM Transmitter Demo LabVIEW control panel QAM baseband signal Eye diagram LabVIEW demo by Zukang Shen (UT Austin)

16 Got Anything Faster? Multicarrier modulation divides broadband (wideband) channel into narrowband subchannels Uses Fourier series computed by fast Fourier transform (FFT) Standardized for ADSL (1995) & VDSL (2003) wired modems Standardized for IEEE 802.11a/g wireless LAN Standardized for IEEE 802.16d/e (Wimax) and cellular (3G/4G) subchannel frequency magnitude carrier channel Each ADSL/VDSL subchannel is 4.3 kHz wide (about width of voiceband channel) and carries a QAM signal 16 - 16


Download ppt "EE445S Real-Time Digital Signal Processing Lab Fall 2016 Lecture 16 Quadrature Amplitude Modulation."

Similar presentations


Ads by Google