Inductance Testing Code

Dependencies:   mbed

Fork of CurrentModeSine by Austin Brown

Revision:
0:9edd6ec0f56a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hw_setup/motor_config.h	Sat May 20 21:42:20 2017 +0000
@@ -0,0 +1,16 @@
+#ifndef MOTOR_CONFIG_H
+#define MOTOR_CONFIG_H
+
+//#define R_PHASE 0.105f            //Ohms
+//#define L_D 0.00003f            //Henries
+//#define L_Q 0.00003f            //Henries
+//#define KT .07f                 //N-m per peak phase amp (= RMS amps/1.5)
+#define POLE_PAIRS 7                 //Number of pole pairs
+
+//#define WB KT/NPP               //Webers.  
+
+#define ENC_TICKS_PER_REV 8192
+
+
+
+#endif