Sie sind auf Seite 1von 11

Chapter 6

An Overview of Transceiver Systems

February 22, 2008

Chapter 6 An Overview of Transceiver Systems February 22, 2008
6.1 Building Blocks b [n ] bit/ transmit coder Modulator symbol filter, p T (t
6.1 Building Blocks
b [n ]
bit/
transmit
coder
Modulator
symbol
filter, p T (t )
interference form
noise
other
users
Channel, c (t )
⊕ ⊕
sampler
ˆ
b [n ]
LNA/
receive/matched
slicer/
Demodulator
Equalizer
AGC
filter, p R (t )
decoder
Carrier
Timing
recovery
recovery
receive/matched slicer/ Demodulator Equalizer AGC filter, p R (t ) decoder Carrier Timing recovery recovery

6.2 MATLAB Simulation of Digital Transmission Systems

Provide a deeper understanding of the subject.

6.2 MATLAB Simulation of Digital Transmission Systems Provide a deeper understanding of the subject.

6.2 MATLAB Simulation of Digital Transmission Systems

Provide a deeper understanding of the subject.

Many times analysis are hard or can be performed with certain approximations.

a deeper understanding of the subject. Many times analysis are hard or can be performed with

6.2 MATLAB Simulation of Digital Transmission Systems

Provide a deeper understanding of the subject.

Many times analysis are hard or can be performed with certain approximations. Simulations provide a way of confirming theoretical results (how valid were the approximations).

certain approximations. Simulations provide a way of confirming theoretical results (how valid were the approximations).

6.2 MATLAB Simulation of Digital Transmission Systems

Provide a deeper understanding of the subject.

Many times analysis are hard or can be performed with certain approximations. Simulations provide a way of confirming theoretical results (how valid were the approximations).

In the context of software radios, developed programs directly translate to the target system.

were the approximations). In the context of software radios, developed programs directly translate to the target

6.3 Baseband PAM transceiver

MATLAB Script pamtxrx.m: Baseband PAM Transceiver

%

%

PARAMETERS

Tb=0.0001; L=100; Ts=Tb/L; alpha=0.5; K=8; sigmav=0; c=1;

%

%

b=sign(randn(1000,1));

%

%

s=b;

%

%

%

pT=sr cos p(K*L,L,alpha);

xT=conv(expander(s,L),pT);

%

%

xR=conv(c,xT);

xR=xR+sigmav*randn(size(xR));

SOURCE

CODER

s=b(1:2:end)+2*b(2:2:end);

TRANSMIT FILTERING / PULSE SHAPING

CHANNEL

% 2-level PAM

4-level PAM

%

% Transmit filter (square-raised cosine filter) % Transmit signal

% Transmit the signal through the channel % Add noise

%

%

RECEIVE FILTERING

pR=pT;

y=conv(x,pR);

%

%

DISPLAY

%

Here, the eye pattern of the received PAM signal is displayed.

y=reshape(y,2*L,length(y)/(2*L));

% Reshape the received signal

y=y(:,8:end-8);

% vector to columns of duration 2Tb. % Delete the transient parts.

t=[0:1/L:2-1/L];

% Time in unit of symbol period.

plot(t,y,’b’)

xlabel(’t/Tb’)

title(’PAM eye-pattern’)

% Time in unit of symbol period. plot(t,y,’b’) xlabel(’t/Tb’) title(’PAM eye-pattern’)

6.4 Eye Patterns in PAM Systems

Run MATLAB Script pamtxrx.m

6.4 Eye Patterns in PAM Systems Run MATLAB Script pamtxrx.m

6.5 QAM Transceiver

MATLAB Script qamtxrx.m: QAM Transceiver

% PARAMETERS

Tb=0.0001; L=100; Ts=Tb/L; fc=100000; Dfc=0; phic=0;

alpha=0.5; K=8; sigmav=0; c=1;

% SOURCE

b=sign(randn(1000,1));

% CODER

s=b(1:2:end)+i*b(2:2:end);

% TRANSMIT FILTERING

pT=sr cos p(K*L,L,alpha); xbbT=conv(expander(s,L),pT);

%

% MODULATION

t=[0:length(xbbT)-1]’*Ts;

xT=real(exp(i*2*pi*fc*t).*xbbT);

%

% CHANNEL

xR=conv(c,xT); xR=xR+sigmav*randn(size(xR)) ;

%

%

DEMODULATION

t=[0:length(xbbT)-1]’*Ts;

xbbR=2*exp(-i*(2*pi*(fc-Dfc)*t+phic).*xR;

% Binary to 4-QAM (QPSK) conversion

% Transmit filter (square-root raised-cosine) % Transmit signal

% Set the time

% Transmit the signal through the channel % Add noise

% Set the time

%

%

RECEIVE FILTERING

pR=pT;

y=conv(xbbR,pR);

%

%

DISPLAY

%

Here, the eye pattern of the received QAM signal is displayed.

plot(t,y,’b’)

xlabel(’real part’)

ylabel(’imaginary part’)

pattern of the received QAM signal is displayed. plot(t,y,’b’) xlabel(’real part’) ylabel(’imaginary part’)

6.6 Eye Patterns in QAM Systems

Run MATLAB Script qamtxrx.m

6.6 Eye Patterns in QAM Systems Run MATLAB Script qamtxrx.m

6.7 The Impact of Frequency Offset on the Baseband Equivalent of Passband Channels

e j2 πf c t
e j2 πf c t
x QAM (t ) x QAM (t ) y (t ) c (t ) ⊗
x QAM (t )
x QAM (t )
y (t )
c (t )
p R (t )
Channel
p T (t ) ⊗
p T (t )

s(t) =

n=−∞

s[n]δ(t nT b )

[·]

y (t ) c (t ) ⊗ p R (t ) Channel p T (t )