<< Chapter < Page Chapter >> Page >

To continue the investigation, suppose that the carrier phase offset is zero, (i.e.,  Φ = 0 ), but that the frequency offset γ is not. Then the spectrum of x ( t ) from [link] is

X ( f ) = A c 4 [ W ( f - γ ) + W ( f - 2 f c - γ ) + W ( f + 2 f c + γ ) + W ( f + γ ) ] ,

and the lowpass filtering of x ( t ) produces

M ( f ) = A c 4 W ( f - γ ) + W ( f + γ ) .

This is shown in [link] . Recognizing this spectrum as a frequency shiftedversion of w ( t ) , it can be translated back into the time domain using [link] to give

m ( t ) = A c 2 w ( t ) cos ( 2 π γ t ) .

Instead of recovering the message w ( t ) , the frequency offset causes the receiver to recover a low frequencyamplitude modulated version of it. This is bad with even a small carrier frequency offset.While cos ( Φ ) in [link] is a fixed scaling, cos ( 2 π γ t ) in [link] is a time-varying scaling that will alternately recover m ( t ) (when cos ( 2 π γ t ) 1 ) and make recovery impossible (when cos ( 2 π γ t ) 0 ). Transmitters are typically expected to maintain suitableaccuracy to a nominal carrier frequency setting known to the receiver. Ways of automatically tracking (inevitable) smallfrequency deviations are discussed at length in [link] .

When there is a carrier frequency offset in the receiver oscillator, the two images of W(·) do not align properly. Their sum is not equal to Ac/2W(f).
When there is a carrier frequency offset in the receiver oscillator, the two images of W ( · ) do not align properly. Their sum is not equal to A c 2 W ( f ) .

The following code AM.m generates a message w ( t ) and modulates it with a carrier at frequency f c . The demodulation is done with a cosine offrequency f c + γ and a phase offset of Φ . When γ = 0 and Φ = 0 , the output (a lowpass version of the demodulated signal)is nearly identical to the original message, except for the inevitable delay caused by the linearfilter. [link] shows four plots: the message w ( t ) on top, followed by the upconverted signal v ( t ) = w ( t ) cos ( 2 π f c t ) , followed in turn by the downconverted signal x ( t ) . The lowpass filtered versionis shown in the bottom plot; observe that it is nearly identical to the original message, albeit with a slight delay.

time=.3; Ts=1/10000;                        % sampling interval and time base t=Ts:Ts:time; lent=length(t);               % define a "time" vectorfc=1000; c=cos(2*pi*fc*t);                  % define the carrier at freq fc fm=20; w=5/lent*(1:lent)+cos(2*pi*fm*t);    % create "message"v=c.*w;                                     % modulate with carrier gam=0; phi=0;                               % freq & phase offset c2=cos(2*pi*(fc+gam)*t+phi);                % create cosine for demodx=v.*c2;                                    % demod received signal fbe=[0 0.1 0.2 1]; damps=[1 1 0 0]; fl=100;  % low pass filter designb=firpm(fl,fbe,damps);                      % impulse response of LPF m=2*filter(b,1,x);                          % LPF the demodulated signal
AM.m suppressed carrier with (possible) freq and phase offset (download file)
The message signal in the top frame is modulated to produce the signal in the second plot. Demodulation gives the signal in the third plot, and the LPF recovers the original message (with delay) in the bottom plot.
The message signal in the top frame is modulated to produce the signal in the second plot. Demodulation gives thesignal in the third plot, and the LPF recovers the original message (with delay) in the bottom plot.

Using AM.m as a starting point, plot the spectra of w ( t ) , v ( t ) , x ( t ) , and m ( t ) .

Try different phase offsets Φ = [ - π , - π / 2 , - π / 3 , - π / 6 , 0, π / 6 , π / 3 , π / 2 , π ] . How well does the recovered message m ( t ) match the actual message w ( t ) ? For each case, what is the spectrum of m ( t ) ?

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?

Ask