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

Download repository: zip gz

Files at revision 0:d040778370fc

Name Size Actions
main.cpp 1731 Revisions Annotate
mbed.bld 66 Revisions Annotate