Uses trigonometry to produce high quality 3 phase sinewave output waveworms on the PWM. Tested from 30 to 100Hz at 10kHz modulation. Changes frequency glitch free. Amplitude is scalable. Could be used as a basic invertor back-end. Not optimised for processor overhead, could be modified to use lookup tables if less accuracy required. Oscilloscope trace here:

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
0:d040778370fc 2010-11-28 v2 File  Diff  Annotate