Austin Brown
/
ESCmk2_Inductance
Inductance Testing Code
Fork of CurrentModeSine by
hw_setup/motor_config.h@0:9edd6ec0f56a, 2017-05-20 (annotated)
- Committer:
- austinbrown124
- Date:
- Sat May 20 21:42:20 2017 +0000
- Revision:
- 0:9edd6ec0f56a
First Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
austinbrown124 | 0:9edd6ec0f56a | 1 | #ifndef MOTOR_CONFIG_H |
austinbrown124 | 0:9edd6ec0f56a | 2 | #define MOTOR_CONFIG_H |
austinbrown124 | 0:9edd6ec0f56a | 3 | |
austinbrown124 | 0:9edd6ec0f56a | 4 | //#define R_PHASE 0.105f //Ohms |
austinbrown124 | 0:9edd6ec0f56a | 5 | //#define L_D 0.00003f //Henries |
austinbrown124 | 0:9edd6ec0f56a | 6 | //#define L_Q 0.00003f //Henries |
austinbrown124 | 0:9edd6ec0f56a | 7 | //#define KT .07f //N-m per peak phase amp (= RMS amps/1.5) |
austinbrown124 | 0:9edd6ec0f56a | 8 | #define POLE_PAIRS 7 //Number of pole pairs |
austinbrown124 | 0:9edd6ec0f56a | 9 | |
austinbrown124 | 0:9edd6ec0f56a | 10 | //#define WB KT/NPP //Webers. |
austinbrown124 | 0:9edd6ec0f56a | 11 | |
austinbrown124 | 0:9edd6ec0f56a | 12 | #define ENC_TICKS_PER_REV 8192 |
austinbrown124 | 0:9edd6ec0f56a | 13 | |
austinbrown124 | 0:9edd6ec0f56a | 14 | |
austinbrown124 | 0:9edd6ec0f56a | 15 | |
austinbrown124 | 0:9edd6ec0f56a | 16 | #endif |