LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM use modules NI-9263 or NI-9225

Hi,

I'm want to use PWM pulse to control ON-OFF 6 IGBT of DC-AC converter (3 phases). the hardware I had are NI cRIO-9074, NI-9263

, and NI-9225.
 I dont know can I generater PWM pulses via what I had. if it can do, please give me some examble or document for it.

And I dont know if I just want to simulate the PWM pulse by labview without hardware. I have tried to do it by use 3 sines signal with different phase (0, -120, 120) ( modulation signal ) and 1 triangle pulse, then I compared each sine signal with triangle signal. ( the frequence of sine signal about 50Hz and the triangle pulses's 10000Hz). but I can get the right signal output like I hope (it not like the output of PWM signal)

 

thanks for your care

0 Kudos
Message 1 of 6
(4,483 Views)

Hello aloalo, 

 

What frequency of PWM signal are you trying to generate?  Are you using FPGA mode or Scan Interface mode?  

 

PWM generation is not the intended purpose of analog output modules, such as the NI 9263.  That isn't to say that they aren't capable of doing PWM, but ideally, you would want to use a digital output card.  I understand the 3-phase sine wave modulation signals, but could you tell me more about the purpose of the triangle wave?

0 Kudos
Message 2 of 6
(4,445 Views)

hi WishKebab

 

thank you for your advise. Yes, PWM is an digital signal, I just have bought an output digital signal module, It is 9041 module. I'm very new in labview and FPGA so I can't get the output signal via the 9041 module. might you help me?

to generate PWM signal, we triangel signal to compare with each phrase of sine signal. if sine signal greater than triangel signal,PWM = 1, if sine signal is less than triangel signal, PWM signal = 0.

 

0 Kudos
Message 3 of 6
(4,429 Views)

Hi aloalo, 

 

Do you mean to say that you are now using an NI 9401 module?  If that's the case, and you are using it in Scan Interface mode, you can easily set the PWM level by configuring the card itself for PWM mode.

 

 

~~SCAN INTERFACE MODE~~

 

KnowledgeBase: How Can I Perform Pulse-Width Modulation with an NI-9401 Using the Scan Interface?

http://digital.ni.com/public.nsf/allkb/0892C8D55C6D0C0E86257585004FD0B0

 

If you want to manually write the lines high or low, you can use the following example:

 

Example: Generate PWM Clock on cRIO Using Scan Mode

https://decibel.ni.com/content/docs/DOC-11079

 

~~FPGA INTERFACE MODE~~

 

Example: Pulse Train Generation with LabVIEW FPGA on CompactRIO

http://zone.ni.com/devzone/cda/epd/p/id/1726

 

0 Kudos
Message 4 of 6
(4,418 Views)

explation of complete daigrams and how tp design diagrams

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

@cherryraj206 wrote:

explation of complete daigrams and how tp design diagrams


Is this a question?

0 Kudos
Message 6 of 6
(4,141 Views)