Bayley Wang
/
foc-ed_in_the_bot_compact
robot
config_inverter.h
- Committer:
- bwang
- Date:
- 2016-12-03
- Revision:
- 39:80b38a8e1787
- Parent:
- 37:ba7ebf4f8a78
- Child:
- 52:fd3d8df99287
File content as of revision 39:80b38a8e1787:
#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