QAMFlowchart
QAMFlowchart
Generate Random data (or Audio/video signal). You can use PRBS-7 to generate
random data in hardware.converting the data into bit stream (say 1Mbps)
This will be: 0 1 0 0 1 0 1 1 0 0 etc.at t = 0us, 1us, 2us, etc
1
4-QAM data mapper(binary to gray coding) Note: Output of data mapper will have I
and Q each at 0.5MSps
This will be:
(0 1) (0 0) (1 0) (1 1) (0 0) =>
I = -1 1 1 -1 1
Q = 1 1 -1 -1 1
at t = 0us, 2us, 4us, etc
2
Filtering with a digital filter with 0.125 normalized cutoff (filter output is 4MSps on I
and 4MSps on Q). Each sample at filter output can be 8-bit fixed pointed (say)
Example: h=gaussfir(0.125)
I_fil = filter(h,1,I_up)
Q_fil = filter(h,1,Q_up)
cos(2*pi*fc*t) = 1 0 -1 0 1 0 -1 0 ...
sin(2*pi*fc*t) = 0 1 0 -1 0 1 0 -1 ...
Mixer_ouput = I_fil1, Q_fil2, -I_fil3, -Q_fil4, I_fil5, Q_fil6, -I_fil7, -Q_fil8, ...
Where t = 0us, 0.25us, 0.5us, ...
6