MIT Motor FOC Control
Config/motor_config.h
- Committer:
- benkatz
- Date:
- 2019-07-21
- Revision:
- 52:8e74c22ed89f
- Parent:
- 48:74a40481740c
File content as of revision 52:8e74c22ed89f:
#ifndef MOTOR_CONFIG_H #define MOTOR_CONFIG_H #define R_PHASE 7.5f //Ohms #define L_D 0.006f //Henries #define L_Q 0.006f //Henries #define KT 0.268f //N-m per peak phase amp, = WB*NPP*3/2 #define GR 1.0f //Gear ratio #define KT_OUT 0.268f //KT*GR #define WB 0.025f //Flux linkage, Webers. #define R_TH 1.25f //Kelvin per watt #define INV_M_TH 0.03125f //Kelvin per joule #endif