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: http://mbed.org/users/waynemcl/notebook/sine3-v2/
mbed.bld@0:d040778370fc, 2010-11-28 (annotated)
- Committer:
- waynemcl
- Date:
- Sun Nov 28 22:39:32 2010 +0000
- Revision:
- 0:d040778370fc
v2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
waynemcl | 0:d040778370fc | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e |