25
© Copyright 2012 Xilinx . QAM Receiver Reference Design © Copyright 2011 Xilinx V 1.0

QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

  • Upload
    others

  • View
    16

  • Download
    1

Embed Size (px)

Citation preview

Page 1: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

QAM Receiver

Reference Design

© Copyright 2011 Xilinx

V 1.0

Page 2: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Revision

date ver author note

9-28-2012 0.1 Alex Paek,

Jim Wu

Page 2

Page 3: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Overview

The goals of this QAM receiver reference design are: – Easily scalable/parameterizable “generic” design: the design can easily adapt

to changes in algorithm or specification by the use of parameters and sensible hierarchy. As the data rate changes, the utilized resource will change accordingly.

– Efficient design methodology and tools: Use the right tool depending on the nature of the module - Sysgen, Vivado HLS and RTL.

– SOC: Easily integrate both logic fabric and the processor within a single chip (to be included in the next version)

The specifications for the reference design: – Programmable QAM setting: QPSK, 16,64,256QAM with the variable symbol

rate up to 6.25 Msps – IF input stream centered at 12.5 MHz (= Fs/4, Fs=50Msps) – No DC offset or AGC control – Timing Recovery loop – Carrier/Phase Recovery loop – LMS algorithm based adaptive equalizer with 16 symbol spaced taps – Blind acquisition for carrier loop and equalizer – No FEC – The target device: Z7020 (has 220 DSP48, XX FF, XX LUTs, XX BRAMs) – Clock rate: 200 MHz

Page 3

Page 4: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Block Diagram

Page 4

Page 5: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Design Consideration

Select the right methodology with the following criteria: – Time to prototype: Utilize the existing IP, reference design, such as FIRcompiler, DDScompiler, FFT.

Use the right type of design entry – RTL, C, Sysgen.

– Maintainability: it is inevitable that things change – specification, algorithms, target device, etc; thus, the design should be created such that it can be easily understood and can be modified. Consider: 1. make it as generic as possible by use of parameters, 2. create sensible hierarchy.

– Debug capability: Create a high level golden model of the design (matlab/simulink or C), which should help cross-checking at the modular level and top level

Recommendation for the demo design: Use Sysgen as a top level tool where all the modules are integrated, for its capability to create a sophisticated testbench. At the module level, use:

– Vivado HLS: where complexity of the algorithm is high

– RTL: for any control type of design, and any existing RTL design where it make sense to use as-is

– Sysgen Block: FIR, FFT, etc

– Embedded processor: for MAC and higher layer processing

Utilize the right resource: – Use as wide data/coeff width as the FPGA macro like DSP48 allows (25X18)

– Take advantage of BRAM configuration (i.e., 36Kx1, 18Kx2.., etc). Often times, the BRAM usage is low in this type of design.

Page 5

Page 6: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Sysgen Top Level

All the RTL modules generated by Vivado HLS are imported into the Sysgen toplevel using blackbox

Page 6

Page 7: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Sysgen Top Level

The default data width between the major blocks is: 16.13

Page 7

Page 8: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Digital Down Converter (DDC)

Includes:

– Mixer: frequency shift down by Fs/4. The real input stream is multiplied by 1,0,-1,0, repeats, to produce I output; and 0,1,0,-1, repeats, to produce Q output

– decimate by 2 filter, 21 tap. Takes advantage of zeros in the input stream

Sysgen model shown below (using FIRcompiler, RTL for mixer)

Resource:

Processing clock rate of 200 MHz

Page 8

Page 9: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

DDC

Decimate by 2 filter response

Page 9

Input spectrum to the DDC (with white Gaussian noise added – in blue), the output of DDC

Page 10: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Timing Recovery Loop (TREC)

Designed in C++, and synthesized to RTL by Vivado HLS The processing clock: 100 MHz Includes:

– Interpolation filter: 64 phases, 4 taps filter – Phase NCO: generates the 1x symbol enable, 2x symbol enable for the rest of

the RX – Square raised root cosing filter, 48 tap – Timing error detector – PI Loop filter

Resource:

Page 10

Page 11: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

SRRC (square raised root cosine) filter

Page 11 © Copyright 2011 Xilinx

Data rate = 2x symbol rate (12.5 Msps)

33 symmetric taps

RMS ISI = -38 dB

Peak ISI = -33 dB

Page 12: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

TREC Implementation

Page 12 © Copyright 2011 Xilinx

Show VHLS implementation

Page 13: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

TREC Behavior

The output spectrum of the SRRC filter (sampled at 2x symbol rate)

Page 13

The output constellation of the SRRC output. Transmitted source is 16 QAM with 50 PPM offset wrt symbol rate

The output of the integrator term in the PI loop filter

Page 14: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Carrier Recovery Loop (CREC)

Designed in C++, and synthesized to RTL by Vivado HLS Mode to bypass EQ while CREC is in acquisition mode for faster acquisition

time – helpful when the carrier offset is high CREC and EQ can operate in autonomous mode by “Acquisition/Tracking

Control” block Uses RCA – Reduced Constellation Algorithm for blind acquisition The processing clock: 100 MHz Includes:

– De-rotator – Slicer – PI loop filter – Phase detection – VCO – Acquisition/Tracking control

Resource:

Page 14

Page 15: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

CREC Behavior

Page 15

VCO output, CREC loop filter integrator term output

X axis is the symbol unit

Input, output of the CREC

The input source is 100 ppm off from IF frequency (1.25 KHz = 100e-6*12.5e6)

Page 16: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

CREC Implementation

Page 16 © Copyright 2011 Xilinx

Show VHLS implementation

Page 17: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Adaptive Equalizer (EQ)

symbol spaced EQ, 16 tap. 24 bit coefficients

DLMS (Delayed LMS) algorithm, allowing pipelining the error feedback term for LMS update.

Switching between blind acquisition mode – using MMA (multi-level modulus algorithm) and tracking mode – decision directed mode, based on the average slicer error.

Resource:

Page 17

Page 18: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

DLMS Algorithm

The critical path in LMS equalizer consists of computation of the filter output - y(n), and error term - e(n), which is multiplied with the step size and used to compute the next set of coefficients to apply in the “FIR” operation

In DLMS, we can introduce delays in computation of error term, such that instead of applying e(n) to compute the next set of coefficients - C(n+1), we can use the error term “D” samples ago - e(n-D), which thus allows D pipe stages.

It is critical that when we use e(n-D), we need to align the equalizer input accordingly. Below is the DLMS algorithm

size step update :

error term :)(

data slicedor data traininga becan value,desired :)(

outputequalizer :)(

array data :)(

arrayt coefficien :)(

ne

nd

ny

n

n

X

C

)(*)()(

)()()(

)(*)(*)()1( '

nnny

DnyDndDne

DnDnenn

XC

XCC

Page 19: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

EQ Behavior

Page 19

Input/output of the equalizer

The input source is 16QAM and going thru slight multipath channel with AWGN

Spectrum at the RX input and the output of SRRC

Page 20: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

EQ Behavior

Page 20

The equalizer coefficients update Slicer SNR, CREC integral term

Page 21: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

EQ Implementation

Page 21 © Copyright 2011 Xilinx

Show VHLS implementation

Page 22: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

HW-cosimulation

ZC702: x speed up Describe several options to speed up the simulation

– Matlab callable HWcosim – Using script for batch simulation – Using frame based input/output – Real time HW platform

Page 22

Page 23: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Overall Resource

Page 23

Page 24: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Reference

1. UG902, Vivado Design Suite User Guide, High-Level Synthesis

2. DS795, FIR Compiler v6.3 Data Sheet

3. J.Yang, J.J.Werner, and G.A.Dumont,”The Multi modulus blind equalizer and its generalized algorithms.” IEEE Journal on selected areas on commun., Vol.20, NO.5, pp.997-1015, June2002.

4. G. Long, “The LMS algorithm with delayed coefficient adaptation”, IEEE transaction on acoustics, speech and signal processing 37, 1989

5. R. Poltman, “Conversion of the delayed LMS algorithm into the LMS Algorithm,” IEEE signal processing letters 2, 1995

Page 24

Page 25: QAM Receiver Reference Design - Xilinx · 2019-10-24 · The goals of this QAM receiver reference design are: –Easily scalable/parameterizable “generic” design: the design can

© Copyright 2012 Xilinx .

Backup slides

Page 25