PWM Duty Adjustment - on the fly
Philldapill
Posts: 1,283
Currently, I'm using the standard PASM PWM object in the obex. I can change the duty cycle as normal, but I'd like to be able to change the duty VERY quickly. My frequency would be ~20kHz, and my duty cycle changing frequency would be anywhere from 0 to 10kHz. How would I do this? Completely Re-write the driver?
I'm using this to generate a sinusoidally varying current through an H-bridge.·This is for a home-made motor controller for a PM sync motor.
I'm using this to generate a sinusoidally varying current through an H-bridge.·This is for a home-made motor controller for a PM sync motor.
Comments