test
Dependencies: mbed-dev-f303 FastPWM3
Diff: Config/motor_config.h
- Revision:
- 48:74a40481740c
- Parent:
- 47:e1196a851f76
- Child:
- 52:8e74c22ed89f
- Child:
- 53:e85efce8c1eb
diff -r e1196a851f76 -r 74a40481740c Config/motor_config.h --- a/Config/motor_config.h Wed Dec 05 04:07:46 2018 +0000 +++ b/Config/motor_config.h Sun Mar 03 02:51:51 2019 +0000 @@ -1,14 +1,16 @@ #ifndef MOTOR_CONFIG_H #define MOTOR_CONFIG_H -#define R_PHASE 0.02f //Ohms +#define R_PHASE 0.13f //Ohms #define L_D 0.00002f //Henries #define L_Q 0.00002f //Henries #define KT .08f //N-m per peak phase amp, = WB*NPP*3/2 #define NPP 21 //Number of pole pairs #define GR 1.0f //Gear ratio #define KT_OUT 0.45f //KT*GR -#define WB 0.0024f //Flux linkage, Webers. +#define WB 0.0025f //Flux linkage, Webers. +#define R_TH 1.25f //Kelvin per watt +#define INV_M_TH 0.03125f //Kelvin per joule