0% found this document useful (0 votes)
23 views

Comm Toolbox

Uploaded by

Blessy Bala
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Comm Toolbox

Uploaded by

Blessy Bala
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Digital Modulations with MATLABs Communications Toolbox

1998 BG Mobasseri

11/30/98

Basic Steps
n

To generate a digitally modulated signal, the following steps have to be followed


generate random data map them to a specific constellation(MATLAB calls this digital to analog conversion) impress carrier modulation on the baseband signal above

1998 BG Mobasseri

11/30/98

Baseband signal
n

The function that maps your digital information to a specific constellation is modmap

MODMAP Maps digital signal to analog signal for modulation. Y = MODMAP(X, Fd, Fs, METHOD, OPT1, OPT2, OPT3) maps a sample frequency Fd (Hz) signal vector X in to a sample frequency Fs (Hz) in-phase and quadrature components in Y. Y is a two column matrix. The first column is an in-phase component and second column is a quadrature component. When METHOD = 'ask', Y is a column vector instead of a matrix. This function does mapping only. For digital modulation, use DMOD for passband simulation and DMODCE for baseband simulation.
1998 BG Mobasseri 3 11/30/98

Example: 8-Phase Modulation(8PSK)


x=randint(1,100,8): generate 1x100 integer random numbers in the range {0 to 7} y=modmap(x,1,10,'psk',8); y is a 2-column vector containing the I and Q signals. plot(y(:,1)) for I and plot(y(:,2)) for Q
1998 BG Mobasseri 4 11/30/98

Example I-Q plots


5

-5

50

100

150

200

250

300

350

400

450

500

-5

50

100

150

200

250

300

350

400

450

500

1998 BG Mobasseri

11/30/98

Arbitrary Constellations
n

We can setup arbitrary shape constellations in a number of ways


y=modmap(x,fd,fs,qask/arb,in_phase,quad)

in-phase and quad are the x and y components of the constellation points you want to create

1998 BG Mobasseri

11/30/98

What are fd and fs?


n

Symbol rate is given by fd. Usually this is normalized to 1 symbol per second n Sampling rate that MATLAB uses is fs interpreted as samples per symbol (or samples per second)

1998 BG Mobasseri

11/30/98

Constellations made of concentric circles


n

V.29 is an example of 4 concentric circles


9600 bps V.29 16-QAM
90

135 5 3 225

45 3 315 5

180

2
3 5

32

1998 BG Mobasseri

270

11/30/98

Variation of modmap
n n

An expanded format of modmap is


y=modmap(x,fd,fs,qask/circle,noc,roc,poc)

noc: number of symbols on each circle n roc: radii on each circle n poc: phase shift on each circle, in radian

1998 BG Mobasseri

11/30/98

Actual numbers for V.29


n n n

noc=[4 4 4 4] roc=[sqrt(2) 3 3sqrt(2) 5] poc=[pi/4 0 pi/4 0]

9600 bps V.29 16-QAM


90

135 5 3 225

45 3 315 5

180

2
3 5 270

32

1998 BG Mobasseri

10

11/30/98

Doing the modulations


n

The output of modmap goes into dmod to produce RF modulation


5 4 3 2 1 0 -1 -2 -3 -4 -5

50

100

150

200

250

1998 BG Mobasseri

11

11/30/98

You might also like