Tool/software:
Hi,
I am testing/developing firmware with DRV8316R-EVM + LaunchXL- F280025C for my BLDC motor with Universal Motor Control Lab.
I am modifying the default Teknic_M2310PLN04K
I extracted the values for Rs_Ohm, Ls_d_H, Ls_q_H, RATED_FLUX_VpHz from instaSPIN GUI (https://dev.ti.com/gallery/view/BLDC/DRV8316xEVM_InstaSPIN_Universal_GUI/ver/1.0.0/)
NUM_POLE_PAIRS, MAX_CURRENT_A was taken from the motor spec
FREQ_MAX_Hz was calculated using the following formula: Freq = (Poles*RPM)/120
FREQ_MIN_Hz was set to 0.01 as I am interested in a rather very slow and smooth rotation for my BLDC.
Looking at the motor specs it seems that some of the information is missing in order for me to define all the constants in user_mtr1.h file
Please help in defining the rest Motor related parameters in user_mtr1.h file
SN | #if (USER_MOTOR1 == Teknic_M2310PLN04K) | GL80_KV30 |
1 | #define USER_MOTOR1_TYPE MOTOR_TYPE_PM | |
2 | #define USER_MOTOR1_NUM_POLE_PAIRS (4) | 21 |
3 | #define USER_MOTOR1_Rr_Ohm (NULL) | |
4 | #define USER_MOTOR1_Rs_Ohm (0.393955578f) | 0.8452 |
5 | #define USER_MOTOR1_Ls_d_H (0.000190442806f) | 0.001258 |
6 | #define USER_MOTOR1_Ls_q_H (0.000190442806f) | 0.001258 |
7 | #define USER_MOTOR1_RATED_FLUX_VpHz (0.0399353318f) | 0.0587 |
8 | #define USER_MOTOR1_MAGNETIZING_CURRENT_A (NULL) | |
9 | #define USER_MOTOR1_RES_EST_CURRENT_A (1.5f) | |
10 | #define USER_MOTOR1_IND_EST_CURRENT_A (-1.0f) | |
11 | #define USER_MOTOR1_MAX_CURRENT_A (6.6f) | 2.8 |
12 | #define USER_MOTOR1_FLUX_EXC_FREQ_Hz (60.0f) | |
13 | #define USER_MOTOR1_INERTIA_Kgm2 (7.06154e-06) | |
14 | #define USER_MOTOR1_RATED_VOLTAGE_V (24.0f) // V | 24 |
15 | #define USER_MOTOR1_FREQ_MIN_Hz (9.0f) // Hz | 0.01 |
16 | #define USER_MOTOR1_FREQ_MAX_Hz (600.0f) // Hz | 157.5 |
16 | #define USER_MOTOR1_FREQ_LOW_Hz (5.0f) // Hz | |
19 | #define USER_MOTOR1_FREQ_HIGH_Hz (400.0f) // Hz | |
19 | #define USER_MOTOR1_VOLT_MIN_V (1.0f) // Volt | |
20 | #define USER_MOTOR1_VOLT_MAX_V (24.0f) // Volt | |
21 | #define USER_MOTOR1_FORCE_DELTA_A (0.05f) // A | |
22 | #define USER_MOTOR1_ALIGN_DELTA_A (0.01f) // A | |
23 | #define USER_MOTOR1_FLUX_CURRENT_A (0.5f) // A | |
24 | #define USER_MOTOR1_ALIGN_CURRENT_A (1.5f) // A | |
27 | #define USER_MOTOR1_STARTUP_CURRENT_A (3.5f) // A | |
28 | #define USER_MOTOR1_TORQUE_CURRENT_A (3.0f) // A | |
28 | #define USER_MOTOR1_OVER_CURRENT_A (7.5f) // A | |
29 | #define USER_MOTOR1_SPEED_START_Hz (35.0f) // Hz | |
30 | #define USER_MOTOR1_SPEED_FORCE_Hz (30.0f) // Hz | |
31 | #define USER_MOTOR1_ACCEL_START_Hzps (10.0f) // Hz/s | |
32 | #define USER_MOTOR1_ACCEL_MAX_Hzps (20.0f) // Hz/s | |
33 | #define USER_MOTOR1_SPEED_FS_Hz (3.0f) // Hz | |
34 | #define USER_MOTOR1_BRAKE_CURRENT_A (1.0f) // A | |
35 | #define USER_MOTOR1_BRAKE_TIME_DELAY (12000U) // 60s/5ms |
Thanks,
Dima