04-04-2019 07:40 AM
Hi. I have an odd problem with my PWM duty cycle. At 1 = 100% duty cycle I have no power and full power at 0 = 0% duty cycle. How can that be???
Kind regards
Lasse
04-04-2019 07:53 AM - edited 04-04-2019 07:54 AM
04-05-2019 01:21 AM - edited 04-05-2019 01:22 AM
I've already tried the basic PWM express VI. Same thing??? Also on another myRIO. It makes no sense to me??
04-05-2019 01:41 AM
Hi Thorfinn,
unfortunately I'm stuck at LV2017 right now, so cannot open your VI.
At 1 = 100% duty cycle I have no power and full power at 0 = 0% duty cycle.
It makes no sense to me??
Well, it makes sense to me - for a certain kind of DAQ hardware!
I'm using PWM generating devices in my testbenches (like this). Those PWM modules use "low-side" switches ("open-collector" outputs, switching to COMMON/GND). Because of that I need to use pull-up resistors and handle an inversion of the output signal: 100%PWM signal leads to 100% switched to GND level leads to 0% power at the connected device…
So your observation can make sense - it all depends on the used hardware!
04-05-2019 06:48 AM
Hmmm... Makes sense if that's the case. But I'm using the Digilent motor adaptor for NI myRIO and a LEGO DC motor which actually states that the A4973 driver used has been configured for a 1.5A max current at 100% duty cycle. Then again I must be missing something here because your explanation makes perfect sense. Thanks!
04-05-2019 06:57 AM
What does the signal look like at 25% and 75%. Does .25 look like 75% power, and .75 look like 25% power?
04-08-2019 01:54 AM
Sorry for the late reply.
Yes .25 gives a 75% high signal...
04-08-2019 01:58 AM
04-08-2019 02:05 AM
I can't find that option anywhere and I'v also tried on two separate myRIOs. The funny thing is that I didn't had the same problem with Labview 2016 a couple of years ago... For now I'll just negate and add one to correct it. But thanks