Ben Katz / Mbed 2 deprecated Hobbyking_Cheetah_F334

Dependencies:   CANnucleo FastPWM3 mbed

Fork of Hobbyking_Cheetah_Compact by Ben Katz

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers motor_config.h Source File

motor_config.h

00001 #ifndef MOTOR_CONFIG_H
00002 #define MOTOR_CONFIG_H
00003 
00004 #define R_PHASE 0.105f            //Ohms
00005 #define L_D 0.00003f            //Henries
00006 #define L_Q 0.00003f            //Henries
00007 #define KT .07f                 //N-m per peak phase amp (= RMS amps/1.5)
00008 #define NPP 21                  //Number of pole pairs
00009 
00010 #define WB KT/NPP               //Webers.  
00011 
00012 
00013 
00014 #endif