LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI9476 and PWM

Solved!
Go to solution

Hi all,

 

for a project I have three NI-9476 module mounted on a Ethercat NI-9145. All the slot of the Ethercat module are occupied. In the third NI-9476 module I have some DO channel free.

 

My client wants to command 9 SCR lines with PWM using the DO free channels. Is it possible to uso only some DOs as PWM via FPGA? Is there some examples online?

 

Thank you very much.

0 Kudos
Message 1 of 8
(2,436 Views)

Hi Penzium,

 


@Penzium wrote:

Is it possible to uso only some DOs as PWM via FPGA? Is there some examples online?


In the FPGA you can control each single DO channel as you like…

(Keep in mind the NI9476 switches rather slow.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(2,433 Views)

How slow? I have to generate a cycle time of 100Hz maximum

0 Kudos
Message 3 of 8
(2,429 Views)

Hi Penzium,

 


@Penzium wrote:

How slow? I have to generate a cycle time of 100Hz maximum


Do you mind to read the manual of the 9476 module? It contains all the information you need!

 

The spec of the module mentions a 500us switching time, so this module only allows up to 2kHz. This will not give very accurate PWM at 100Hz cycle rate...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 8
(2,404 Views)

Sorry, you are right I could read the manual. 

 

Thank you for all the info that you provide me. Probably I have to choose another way to generate the PWM.

 

Thanks. 

0 Kudos
Message 5 of 8
(2,354 Views)

Small update. I tried yesterday and I was able to command 6 SCR line in PWM with the NI9476 module so it seems ok to use this module to generate 100Hz cycle rate PWM.

 

Thanks

0 Kudos
Message 6 of 8
(2,327 Views)
Solution
Accepted by topic author Penzium

Hi Penzium,

 

as I wrote before: it's ok, but not very accurate…

(At 100Hz cycle rate you can only output PWM values at steps of 5%.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 8
(2,325 Views)

Hi GerdW,


thanks for the response, I don't have alternative is an existing installation with no update possibility so I cannot change or install new module.


I think step of 5% should be ok for our purposes. I will have to control the duty cycle with a PID so I will have to take into account this limitation.


Thanks

0 Kudos
Message 8 of 8
(2,319 Views)