LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with amplitude modulation

Solved!
Go to solution

Dear Labview users, 

 

Im having some trouble with this Amplitude Modulation. What I want is to change the Amplitude of a sine wave using a rectangular pulse as following (see figure): 

Modulation.JPG

 

The A.M. sinewave will be the input for my Daq device. I figured this is a strange modulation since i haven't found any info about this type of modulation (most only refer to sine-by-sine modulation). 

 

Any help on this problem would be greatly appreciated 🙂 

 

Regards, Dennis

0 Kudos
Message 1 of 6
(4,379 Views)
Is the problem that you don't know how to do the modulation? The only strange thing to my eye is the relative frequencies of the two signals. Normally you have one (called the carrier) that has a much higher frequency. Also remember that as M. Fourier taught us a squarewave is simply the result of summing a very large number of sinewaves.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 6
(4,359 Views)

Dear Mike,

 

Thank you for your reply! My problem is indeed that i dont know how to do the modulation =/

My drawing might be misleading. The carrier (which is the sinewave) is in fact between the rectangular pulse (AM-modulated by it) i haven't drawn that one because there is no sine function in paint 😛

 

Some additional information regarding the frequencys: 

- The sinewave is a typical mains signal with 50 Hz.

- The squarewave's amplitude will be increasing, starting from 0.008 Hz till 40 Hz.

So yes you are indeed right about the carrier frequency being higher..

 

Still, any help will be greatly appreciated 🙂

 

 

0 Kudos
Message 3 of 6
(4,350 Views)
Solution
Accepted by topic author WickedW4lker

Amplitude modulation is simply multiplication.  If you multiply your sine wave carrier signal by your amplitude modulation you will be there.  There are a lot of subtleties, but that is the essense of it.  The wikipedia article is a good roundup and has some nice graphics to explain it.  In LabVIEW you can multiply two arrays as easily as multiplying two numbers.  Just wire them both to the multiply primitive.

Message 4 of 6
(4,343 Views)

Dear DFGray,

 

Yes i figured that out, but i was hoping that someone would come with a nice example ^^ 

Anyway, both of you thanks for the help!

 

0 Kudos
Message 5 of 6
(4,340 Views)

@WickedW4lker wrote:

Dear DFGray,

 

Yes i figured that out, but i was hoping that someone would come with a nice example ^^ 

Anyway, both of you thanks for the help!

 


OK here is a nice simple example:

 

AM.png

- tbob

Inventor of the WORM Global
0 Kudos
Message 6 of 6
(4,317 Views)