Modulation with a baseband signal in Matlab

  • Follow


Hi, 

I have a simple matlab question: I have a baseband signal with a 2MHz
bandwidth (wideband), sampled at 100MHz. I would like to use this signal to
modulate a 5Ghz carrier. What is the simplest way to proceed? I was
thinking using the ammod function, but in that case I would need to
resample my signal to a higher sampling rate (which may add some
distortion). Is there a more elegant way to go about it?

Thanks 

0
Reply Nitram 11/23/2009 2:41:50 AM


Nitram wrote:

> Hi, 
> 
> I have a simple matlab question: I have a baseband signal with a 2MHz
> bandwidth (wideband), sampled at 100MHz. I would like to use this signal to
> modulate a 5Ghz carrier. What is the simplest way to proceed?

The simplest way to proceed is do everything in the baseband.


Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com
0
Reply Vladimir 11/23/2009 3:44:23 AM


>The simplest way to proceed is do everything in the baseband.
>

My aim is to test out a frequency search algorithm where the receiver does
not know the carrier frequency of the transmitted signal. Therefore, I need
to go to RF in order to verify my search algorithm (unless there is a
better way).

Thanks
0
Reply Nitram 11/23/2009 3:26:05 PM


Nitram wrote:

>>The simplest way to proceed is do everything in the baseband.
>>
> 
> 
> My aim is to test out a frequency search algorithm where the receiver does
> not know the carrier frequency of the transmitted signal.

If your goal is frequency search algorithm, why bother with low level 
details in time domain?

  Therefore, I need
> to go to RF in order to verify my search algorithm (unless there is a
> better way).

Split your problem into a set of different problems at different scales 
and do everything in the baseband.

Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com
0
Reply Vladimir 11/23/2009 3:32:38 PM

On 11/23/2009 8:26 AM, Nitram wrote:
>> The simplest way to proceed is do everything in the baseband.
>>
>
> My aim is to test out a frequency search algorithm where the receiver does
> not know the carrier frequency of the transmitted signal. Therefore, I need
> to go to RF in order to verify my search algorithm (unless there is a
> better way).
>
> Thanks

Is the algorithm going to be applied at baseband or at RF?  If it will 
be applied to the baseband signal, why not test it there?   Frequency 
offset at RF = frequency offset at baseband.

-- 
Eric Jacobsen
Minister of Algorithms
Abineau Communications
http://www.abineau.com
0
Reply Eric 11/23/2009 3:41:37 PM

>
>If your goal is frequency search algorithm, why bother with low level 
>details in time domain?

I guess I should explain myself in more details:

Actually I want to extract synchronization information of an OFDM signal.
I am planning to use cyclic prefix correlation to get the timing
information and then wideband filtering plus a correlation of a known
sequence in frequency domain to get the frequency correlation. Therefore, I
have to introduce a timing and frequency offset (which I was hoping could
be anywhere from 0 to 50MHz). I was planning to introduce the frequency
offset by upconverting the signal to RF and downconverting it with a
slighthly different LO, creating a frequency offset. 


>>  Therefore, I need
>> to go to RF in order to verify my search algorithm (unless there is a
>> better way).
>
>Split your problem into a set of different problems at different scales 
>and do everything in the baseband.

I am not sure if I understand correctly what are the different scales you
are thinking of. Would it be possible to elaborate?

I really appreciate your help.
0
Reply Nitram 11/23/2009 4:06:03 PM

>Is the algorithm going to be applied at baseband or at RF?  If it will 
>be applied to the baseband signal, why not test it there?   Frequency 
>offset at RF = frequency offset at baseband.

True, but I would need to simulate pretty large frequency offset e.g.
cases where half the bandwidth of the baseband signal is filtered out by
the RF front-end filter. What would be a simple way to achive this in
baseband?

Thanks
0
Reply Nitram 11/23/2009 4:25:43 PM

On 11/23/2009 9:25 AM, Nitram wrote:
>> Is the algorithm going to be applied at baseband or at RF?  If it will
>> be applied to the baseband signal, why not test it there?   Frequency
>> offset at RF = frequency offset at baseband.
>
> True, but I would need to simulate pretty large frequency offset e.g.
> cases where half the bandwidth of the baseband signal is filtered out by
> the RF front-end filter. What would be a simple way to achive this in
> baseband?
>
> Thanks

Why not model the RF filter effect at baseband?  Is there an asymmetric 
distortion that you need to model?

-- 
Eric Jacobsen
Minister of Algorithms
Abineau Communications
http://www.abineau.com
0
Reply Eric 11/23/2009 6:17:37 PM

>Why not model the RF filter effect at baseband?  Is there an asymmetric 
>distortion that you need to model?

What I would need to do is shift my baseband signal by a certain frequency
offset, pass it through a lowpass filter to emulate a receiver RF filter(in
the graph the lowpass filter is represented by a brickwall filter) and then
attempt to find the frequency of the random shift on the receiver. ^       
                   ^  
|                           |_________         
|______                     |    _____|<--low pass filter
|      \                    |   |     |\
|       \               --> |   |     | \<--shifted signal
|________\_________>f       |___|_____|__\______>f   
<-------->                      <-------->
    BW
The shift would be a simple complex multiplication and I guess the only
thing I need to be careful about is not to shift my signal too far so that
I get aliasing before my lowpass filter (either this or do successive
shift/lowpass procedures).

What do you think?

Thanks.

0
Reply Nitram 11/23/2009 8:28:33 PM

On 11/23/2009 1:28 PM, Nitram wrote:
>> Why not model the RF filter effect at baseband?  Is there an asymmetric
>> distortion that you need to model?
>
> What I would need to do is shift my baseband signal by a certain frequency
> offset, pass it through a lowpass filter to emulate a receiver RF filter(in
> the graph the lowpass filter is represented by a brickwall filter) and then
> attempt to find the frequency of the random shift on the receiver. ^
>                     ^
> |                           |_________
> |______                     |    _____|<--low pass filter
> |      \                    |   |     |\
> |       \               -->  |   |     | \<--shifted signal
> |________\_________>f       |___|_____|__\______>f
> <-------->                       <-------->
>      BW
> The shift would be a simple complex multiplication and I guess the only
> thing I need to be careful about is not to shift my signal too far so that
> I get aliasing before my lowpass filter (either this or do successive
> shift/lowpass procedures).
>
> What do you think?
>
> Thanks.
>

If you're trying to simulate the effects of a frequency offset and how 
it would be affected by the frequency selectivity of the RF or IF 
filter, that looks appropriate to me.

-- 
Eric Jacobsen
Minister of Algorithms
Abineau Communications
http://www.abineau.com
0
Reply Eric 11/23/2009 8:51:38 PM

>
>If you're trying to simulate the effects of a frequency offset and how 
>it would be affected by the frequency selectivity of the RF or IF 
>filter, that looks appropriate to me.
>
Thank you so much, I will try it.
0
Reply Nitram 11/24/2009 3:31:48 AM

Nitram wrote:
>> Why not model the RF filter effect at baseband?  Is there an asymmetric 
>> distortion that you need to model?
> 
> What I would need to do is shift my baseband signal by a certain frequency
> offset, pass it through a lowpass filter to emulate a receiver RF filter(in
> the graph the lowpass filter is represented by a brickwall filter) and then
> attempt to find the frequency of the random shift on the receiver. ^       
>                    ^  
> |                           |_________         
> |______                     |    _____|<--low pass filter
> |      \                    |   |     |\
> |       \               --> |   |     | \<--shifted signal
> |________\_________>f       |___|_____|__\______>f   
> <-------->                      <-------->
>     BW
....


Cool text-graph!

Grant
-- 
_____________________________________________________________________

Grant R. Griffin
Publisher of dspGuru                          http://www.dspguru.com
Iowegian International Corporation            http://www.iowegian.com
See http://www.iowegian.com/img/contact.gif for e-mail address
0
Reply Grant 11/25/2009 1:49:35 AM

On Nov 24, 8:49=A0pm, Grant Griffin <nob...@example.com> wrote:
> Nitram wrote:
> >> Why not model the RF filter effect at baseband? =A0Is there an asymmet=
ric
> >> distortion that you need to model?
>
> > What I would need to do is shift my baseband signal by a certain freque=
ncy
> > offset, pass it through a lowpass filter to emulate a receiver RF filte=
r(in
> > the graph the lowpass filter is represented by a brickwall filter) and =
then
> > attempt to find the frequency of the random shift on the receiver. ^ =
=A0 =A0 =A0
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^ =A0
> > | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |_________ =A0 =
=A0 =A0 =A0
> > |______ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0_____|<--low p=
ass filter
> > | =A0 =A0 =A0\ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 | =A0 =A0 |=
\
> > | =A0 =A0 =A0 \ =A0 =A0 =A0 =A0 =A0 =A0 =A0 --> | =A0 | =A0 =A0 | \<--s=
hifted signal
> > |________\_________>f =A0 =A0 =A0 |___|_____|__\______>f =A0
> > <--------> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<-------->
> > =A0 =A0 BW
>
> ...
>
> Cool text-graph!
>

yeah, i'm impressed, too.  makes me continue to be glad i read these
with a mono-spaced font.

and always, it's nice to see you in these parts, Grant.

r b-j
0
Reply robert 11/26/2009 1:57:15 AM

12 Replies
334 Views

(page loaded in 0.176 seconds)

Similiar Articles:


















7/22/2012 9:22:36 PM


Reply: