Other Parts Discussed in Thread: TMS320F28027F
So my goal is to be able to control the rpm of a hobby motor up to ~2000 rpm. I have no experience in working with motors and so I hoped purchasing TI's motor solutions items would allow me to accomplish my seemingly trivial goal quickly.
I have completed the InstaSPIN labs up to lab4 and I do not have a issues with finding the calibrated motor values such as Rs, Ld, etc but I cannot get the motor to spin as I increase gMotorVars.IqRef_A. As I increment by 0.1, when I get to 0.9 my motor goes nuts (along with my power supply) and I need to immediately shut off power.
I have followed all of the steps in the lab document so I am not sure what could be causing this. One idea is that I have some incorrect values in my user.h file, but as I am new to motors, it is difficult for me to make sure they are all correct.
I'd really appreciate help with this. Thank you in advance.
The current parameters I set that I was not sure of are:
#define USER_IQ_FULL_SCALE_FREQ_Hz (800.0)
#define USER_IQ_FULL_SCALE_VOLTAGE_V (18.0)
#define USER_IQ_FULL_SCALE_CURRENT_A (20.0)
#define USER_PWM_FREQ_kHz (45.0)
#define USER_MOTOR_RES_EST_CURRENT (1.5)
#define USER_MOTOR_IND_EST_CURRENT (-1.5)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (200.0)
Here is a list of all the things I am using:
-Motor: Turnigy Park250 Brushless Outrunner 2200kv
-BOOSTXL-DRV8301 REVB
-30V 1A DC Power Supply (set to 18 V)
-C2000 TMS320F28027F
The only specs provided for the motor are:
Spec.
Battery: 2 Cell /7.4V
RPM: 2200kv
Max current: 7A
No load current: 7.4V/0.45A
Current capacity: 8A/15sec
Internal resistance: 0.25 ohm
Weight: 14g (not including connectors)
Diameter of shaft: 2mm
Dimensions: 35x23mm
Required;
10A ESC
2S Li-Po / 6 cell Ni-MH/Ni-Cd
5.5x4.5 ~ 8x6(SF) prop
Suitable for sport and scale airplanes weighing 6 to 12 ounces (170g–340g).