- DSP log - http://www.dsplog.com -

Minimum frequency spacing for having orthogonal sinusoidals

Posted By Krishna Sankar On December 31, 2007 @ 4:46 am In Uncategorized | 8 Comments

In this post, the objective is to figure out the minimum separation between two sinusoidals having frequencies , of duration each to be orthogonal. Let the phase difference between the sinusoidals is where can take any value from to (Refer Example 4.3 [DIG-COMM-SKLAR] [1]).

For the two sinuosidals to be orthogonal,

Integrating and applying the limits, the above equation simplifies to (thanks to the detailed simplification in Example 4.3 [DIG-COMM-SKLAR] [1]) ,

.

Note:

and where is an integer.

Let as assume that is an integer. Then two terms in the above equation vanishes as

and .

The above equation simplifies to,

.

For an arbitrary value of from to

In a such a case, for the above equation to be zero, then the cosine term to be equal to 1 and the sine term need to be equal to 0 for making the above equation zero. To satisfy that requirement, need to have,

.

Ofcourse, the minimum value of is 1, then

.

For =

When = , then cosine term in the equation is already zero. To make the eqution 0, the sine term need to be equal to be zero. To satisfy that requirement, need to have,

.

Ofcourse, the minimum value of is 1, then

.

% Simple Matlab/Octave code

% Minimum frequency seperation between two sinusoidals

T = 1;
fs = 100;
t = 0:1/fs:T;
t = t(1:end-1);

% with random phase
f1 = 1;
f2 = 2;
phi = 2*pi*rand; % uniformly distributed from 0 tp 2pi
s1 = cos(2*pi*f1*t+phi);
s2 = cos(2*pi*f2*t);
sum_with_phi_random = sum(s1.*s2)

% with zero phase difference
f3 = 3/4;
f4 = 5/4;
s3 = cos(2*pi*f3*t);
s4 = cos(2*pi*f4*t);
sum_with_phi_zero = sum(s3.*s4)

close all
figure
plot(t,s1,’b.-’)
hold on
plot(t,s2,’rx-’)
legend(‘s1′,’s2′)
title(‘Minimum frequency seperation for random phase’)
grid on
xlabel(‘time’)
ylabel(‘amplitude’)

figure
plot(t,s3,’b.-’)
hold on
plot(t,s4,’rx-’)
legend(‘s3′,’s4′)
title(‘Minimum frequency seperation for zero phase’)
grid on
xlabel(‘time’)
ylabel(‘amplitude’)

Figure: Two sinusoidals with frequency difference = 1/T

Figure: Two sinusoidals with frequency difference = 1/2T

Summary

1. When the phase difference between two sinuosidals is not known, then the minimum frequency separation between them is for the sinusoidals to be orthogonal.

2. When the phase difference between two sinuosidals is zero, then the minimum frequency separation between them is for the sinusoidals to be orthogonal.

3. In the above Matlab code snippet, with seperation, the sum of the product of two sinusoidals is only nearly equal to zero (and not zero). Need to think more and revert.

References

[DIG-COMM-SKLAR] Digital Communications: Fundamentals and Applications (2nd Edition), Bernard Sklar [1]

Hope this helps,

Krishna


Article printed from DSP log: http://www.dsplog.com

URL to article: http://www.dsplog.com/2007/12/31/minimum-frequency-spacing-for-having-orthogonal-sinusoidals/

URLs in this post:

[1] [DIG-COMM-SKLAR]: http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FDigital-Communications-Fundamentals-Applications-2nd%2Fdp%2F0130847887&tag=dl04-20&linkCode=ur2&camp=1789&creative=9325

[2] click here to SUBSCRIBE : http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1348583&loc=en_US

Copyright © 2007-2012 dspLog.com. All rights reserved. This article may not be reused in any fashion without written permission from http://www.dspLog.com.