Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_inverter.h
- Revision:
- 126:498f56ba051e
- Parent:
- 125:32d84699156b
- Child:
- 157:a9b2002994d5
--- a/config_inverter.h Sun Apr 30 03:48:32 2017 +0000 +++ b/config_inverter.h Sun Apr 30 03:53:01 2017 +0000 @@ -10,8 +10,8 @@ /*max duty cycle*/ #define DTC_MAX 0.945f -/*propagation delay (us)*/ -#define VOLTAGE_CMD_DELAY 318.0f +/*propagation delay swizzle factor (+w_m / V_PHASE_SWIZZLE)*/ +#define V_PHASE_SWIZZLE 1048.0f /*max modulation*/ #define MODULATION_MAX (2.f * DTC_MAX - 1.f)