Showing results for 
Search instead for 
Did you mean: 
Reply

How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

i need pwm pulses by comparing sinusoidal wave with high frequency triangular wave in labview . is it possible to create this pwm pulses with pulse width modulation technique. please help for this . since i have to drive the inverter circuit using this pulses for various output

 

0 Kudos
Message 1 of 8 (1,944 Views)
Reply
0 Kudos

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

Why you need generate a triangular wave? Is a sinusoidal wave a input of your system? If dont you can generate a table of pwm periods and the multuply by a scalar to control the amplitude or change the sample rate to control the frequency.

 

 

0 Kudos
Message 2 of 8 (1,899 Views)
Reply
0 Kudos

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

Thank you sir,

 In my project i have to vary the frequency of triangular wave to get variable width pwm pulses. my question is can i use the sine wave and triangular wave from any wave form generation in labview or by using simulate signal block.  will you able to give any alternate suggestion?

 

0 Kudos
Message 3 of 8 (1,882 Views)
Reply
0 Kudos

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

Hi,

As far i know there are two frequencies on the system, first is the carrier frequencie which is the triangular wave. The second is the modulating frequency, the sinusoidal wave.

The triangular wave has a frequecy much greater than the sinusoidal wave, generally ten times the frequency of the sinusoidal wave.

If you want vary anything you should vary the sinusoidal wave, not the triangular wave.

0 Kudos
Message 4 of 8 (1,867 Views)
Reply
0 Kudos

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

Thank you sir. as per your answer i have to vary the frequency of sinusoidal wave . you are right. my question is how to implement this in labview using simulate signal block. please tell suggesstion for that.

0 Kudos
Message 5 of 8 (1,845 Views)
Reply
0 Kudos

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

Hi,

 

Se the code in attachment.

Message 6 of 8 (1,814 Views)

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

Hi,

I think this is what I need, but I found trouble of how to send the pulses to NI USB DAQ. Would you telling me how to do that?

0 Kudos
Message 7 of 8 (1,716 Views)
Reply
0 Kudos

Re: How to create PWM pulses by comparing the sinusoidal wave with high frequency triangular wave in labview

excuse me, can you help me? i want to ask How to create PWM pulses by comparing the modified sinusoidal wave with high frequency triangular wave in labview

0 Kudos
Message 8 of 8 (412 Views)
Reply
0 Kudos