Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: DRV8305
Hi,
Fiddling with lab3b,
with the following user configuration
#define USER_MOTOR_FREQ_LOW (10.0) /* 10% of rated motor frequency */ #define USER_MOTOR_FREQ_HIGH (150.0) /* 100% rated motor frequency */ #define USER_MOTOR_FREQ_MAX (180.0) /* 120% of rated motor frequency */ #define USER_MOTOR_VOLT_MIN (3.0) /* 15% of rated motor voltage */ #define USER_MOTOR_VOLT_MAX (36.0) /* 100% rated motor voltage */ /* Lab 2c */ #define USER_PWM_FREQ_kHz (100.0) #define USER_MOTOR_FLUX_EST_FREQ_Hz (120.0) #define USER_MOTOR_RES_EST_CURRENT (1.0) #define USER_MOTOR_MAX_CURRENT (3.0) #define USER_MOTOR_NUM_POLE_PAIRS (1) /* Lab 3b, parameters from lab 3a Run */ #define USER_MOTOR_Rr (NULL) #define USER_MOTOR_Rs (0.486400336) #define USER_MOTOR_Ls_d (0.000118467273) #define USER_MOTOR_Ls_q (0.000118467273) #define I_A_offset (0.9788709283) #define I_B_offset (0.9824429154) #define I_C_offset (0.9814400673) #define V_A_offset (0.5764682293) #define V_B_offset (0.5764139295) #define V_C_offset (0.5716812611)
The motor which can run at a maximum of 50,000 RPM, runs at 36,000RPM. Which looks like the maximum I can run ?
Issue #1. I cant seem to make it run faster than ~ 35,000 RPM. Tried fiddling around with the PWM_FREQ and MOTOR_FLUX frequencies, but it doesn't seem want to go any further higher
With an oscilloscope the waveform shows about 360Hz. How to push it further up.
Additionally, running the same motor with lab6a with the following user configuration
/* Lab 2c */ //#define USER_PWM_FREQ_kHz (45.0) #define USER_MOTOR_FLUX_EST_FREQ_Hz (120.0) #define USER_MOTOR_NUM_POLE_PAIRS (1) #define USER_MOTOR_RES_EST_CURRENT (1.0) #define USER_MOTOR_IND_EST_CURRENT (-1.0) #define USER_MOTOR_MAX_CURRENT (3.0) /* Lab 3b, parameters from lab 3a Run */ #define USER_MOTOR_Rr (NULL) #define USER_MOTOR_Rs (0.486400336) #define USER_MOTOR_Ls_d (0.000118467273) #define USER_MOTOR_Ls_q (0.000118467273) #define USER_MOTOR_RATED_FLUX (0.0564761274) #define I_A_offset (0.9788709283) #define I_B_offset (0.9824429154) #define I_C_offset (0.9814400673) #define V_A_offset (0.5764682293) #define V_B_offset (0.5764139295) #define V_C_offset (0.5716812611) /* Lab 5c */ #define USER_MOTOR_ENCODER_LINES (1.0) #define USER_MOTOR_MAX_SPEED_KRPM (50.0) #define USER_SYSTEM_INERTIA (0.009338378906) #define USER_SYSTEM_FRICTION (-0.02804970741)
The following issues I do see:
The maximum speed the motor reaches is 18,000RPM. The motor runs with more noise in comparison, the PWM is smoother in the case with lab3b in comparison
If USER_PWM_FREQ_kHz is enabled: Once the motor is Run with enableSys and Run_Identify, the motor fails to run, even with VelIdRun to stop the PWM waveform, the RESET button needs to be pressed
How to increase PWM frequency with lab6a ?
Thanks,
Manu