Modified Motor Driver Firmware to include Flash + Thermal
Dependencies: FastPWM3 mbed-dev-STM-lean
Diff: Config/motor_config_U10.h
- Revision:
- 66:3947255b18c5
- Parent:
- 62:bbdf5afada79
- Child:
- 67:96a4052a1705
--- a/Config/motor_config_U10.h Thu Nov 26 04:31:14 2020 +0000 +++ b/Config/motor_config_U10.h Fri Jan 29 20:39:36 2021 +0000 @@ -3,14 +3,14 @@ // CONFIGURATION PARAMETERS OF U10 MOTORS -#define R_PHASE 0.158f //Ohms +#define R_PHASE 0.433f //Ohms #define L_D 0.0002f //Henries -#define L_Q 0.000256f //Henries +#define L_Q 0.0002f //Henries, set both inductances equal for now #define NPP 21 //Number of pole pairs -#define KT 0.191f //N-m per peak phase amp, = WB*NPP*3/2 +#define KT 0.15f //N-m per peak phase amp, = WB*NPP*3/2 #define GR 6.0f //Gear ratio -#define KT_OUT 1.146f //KT*GR +#define KT_OUT 0.9f //KT*GR #define WB 0.00606f // from KT //Flux linkage, Webers. #define R_TH 1.25f //needs update //Kelvin per watt