poida
Guru
Joined: 02/02/2017 Location: AustraliaPosts: 1415 |
Posted: 11:09pm 06 Nov 2018 |
|
|
|
Gaspo:
I have been running a different code than you! That is why you see something I do not. Sorry to waste your time.
I am running the vf_output_freq code right now. This has the 50% duty cycle when stopped. That is what I used in the video https://youtu.be/L6i5yOFxR2k when illustrating how these programs work.
The 2x sinewave pwm code you are running is different to the above...
I just loaded the 2x sinewave pwm code and it does exactly what you have shown. These narrow pulses are no problem due to approximately 500ns dead time from the gate drvie ICs. The MOSFET gates see little or no drive with these narrow pulses.
I like Tinyt's fix. I'm not sure it's required but it seems to be a safe way to clean up the drive narrow pulse signalling.
wronger than a phone book full of wrong phone numbers |