robot

Dependencies:   FastPWM3 mbed

Committer:
bwang
Date:
Sun Nov 27 11:36:54 2016 +0000
Revision:
37:ba7ebf4f8a78
Parent:
32:b31423041c4e
Child:
39:80b38a8e1787
updated get_mtpa_dq to be always give the correct ratio of id to iq; NOT TESTED: switched get_dq to use the get_mtpa* functions as altermotter requires huge amounts of d-axis amps

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bwang 15:b583cd30b063 1 #ifndef __CONFIG_INVERTER_H
bwang 15:b583cd30b063 2 #define __CONFIG_INVERTER_H
bwang 15:b583cd30b063 3
bwang 29:50e6e4e46580 4 #define BUS_VOLTAGE 160.0f
bwang 15:b583cd30b063 5
bwang 22:72840d3db788 6 #define F_SW 5000.0f
bwang 32:b31423041c4e 7 #define MODULATION_INDEX .906f
bwang 22:72840d3db788 8
bwang 15:b583cd30b063 9 #endif