Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69049

Time sensitive pwm

$
0
0

I am trying to write a burst fire pwm control for a 60W incandescent light bulb (and eventually a heater). I'm using the cRIO digital I/O module hooked up to an SSR (not zero-crossing). I've tried in both FPGA and the scan interface, but I've had problems in both. In my first attempt, the light shines and dims/brightens as expected, but there is another pulse every so often that makes the light even brighter. I have no idea where that comes from. In the second attempt, it doesn't do at all what is expected, it flashes at what seems like arbitrary times even when the duty cycle is 0%. I realize that my code isn't very precise on timing. How do I control the timing of the loops to be equal, and is there something else wrong with my code?


Viewing all articles
Browse latest Browse all 69049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>