工具与软件:
您好!
我正在 使用 通用电机控制实验练习中的 DRV8316R-EVM + LaunchXL- F280025C 为 BLDC 电机测试/开发固件。
我正在修改默认 Teknic_M2310PLN04K
我 从 instaSPIN GUI 中提取了 Rs_Ohm、Ls_d_H、Ls_q_H、RATED_FLUX_VpHz 的值 (https://dev.ti.com/gallery/view/BLDC/DRV8316xEVM_InstaSPIN_Universal_GUI/ver/1.0.0/)
NUM_POLE_PAIRS、 MAX_CURRENT_A 取自电机规格
使用以下公式计算 FREQ_MAX_Hz:Freq =(Poles*RPM)/120
FREQ_MIN_Hz 被设置为0.01、因为我对 BLDC 非常缓慢而平滑的旋转感兴趣。
纵观电机规格、我似乎缺少一些信息来定义 user_mtr1.h 文件中的所有常数
请帮助定义 user_mtr1.h 文件中的 REST 电机相关参数
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_NULL Rr_Ohm (NULL) | |
4. | #define USER_MOTOR1_MOTORI 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)//电压 | |
20. | #define USER_MOTOR1_VOLT_MAX_V (24.0f)//电压 | |
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_扭 矩_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 |
谢谢!
DIMA