is a complete rework of https://github.com/carneeki/OpenVFD
-
This version produces 6 signals for separate HI and LOW side driver control;
-
It is suitable only for 3-phase motors, as separate waveforms aproximated by 3 HI-side PWM signals are not sinusoidal. LOW-side signals are not even PWM. This is done because it is impossible to synchronise 6 signals in proper way with only 3 timers. Check provided spreadsheet for details on how signals combine to produce sinus current in motor;
-
To achieve higher output frequencies on ATmega328, waveform resolution (not PWM) decreased from 256 to 64. This has no noticable affect on noice level;
-
Overcurrent protection support with PWM pulse skipping (external signal on interrupt pin);
-
Software reverse support with and without separate control pin;
-
Acceleration/deceleration support (gradual frequency change);