Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_inverter.h
- Revision:
- 39:80b38a8e1787
- Parent:
- 37:ba7ebf4f8a78
- Child:
- 52:fd3d8df99287
--- a/config_inverter.h Tue Nov 29 00:31:18 2016 +0000 +++ b/config_inverter.h Sat Dec 03 17:49:02 2016 +0000 @@ -1,9 +1,14 @@ #ifndef __CONFIG_INVERTER_H #define __CONFIG_INVERTER_H +/*DC link voltage, volts*/ #define BUS_VOLTAGE 160.0f +/*switching frequency, hertz*/ #define F_SW 5000.0f + +/*maximum modulation of PWM scheme, + used to calculate FW crossover point*/ #define MODULATION_INDEX .906f #endif \ No newline at end of file