Chetan Sharma
/
HKCC_Controller_MBed_OS
Modifying the HKCC for no readily apparent reason
Config/motor_config.h
- Committer:
- cactode
- Date:
- 2020-03-18
- Revision:
- 52:966335310c01
- Parent:
- 48:74a40481740c
File content as of revision 52:966335310c01:
#ifndef MOTOR_CONFIG_H #define MOTOR_CONFIG_H #define R_PHASE 0.06f //Ohms MODIFIED #define L_D 0.000042f //Henries MODIFIED #define L_Q 0.000033f //Henries MODIFIED #define KT .027f //N-m per peak phase amp, = WB*NPP*3/2 MODIFIED #define NPP 7 //Number of pole pairs MODIFIED #define GR 1.0f //Gear ratio #define KT_OUT 0.027f //KT*GR MODIFIED #define WB 0.0022f //Flux linkage, Webers. MOFIFIED #define R_TH 1.25f //Kelvin per watt #define INV_M_TH 0.03125f //Kelvin per joule #endif