This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Respected sir,
Please reply as soon as possible. It is very urgent.
I have implemented LAB 20 on my hvkit_rev1p1 kit . I have replaced the hal.c , hal.h , user.c and user.h of LAB 20 and 21 with that of LAB3a. I am able to run the motor using LAB20. But when i try to run the LAB21 the motor is making single tone sound. So why motor is making single tone sound??
Is it because of wrong IPD_HFI parameters??
Regards,
Digvijay
Hi,
i am trying to tune the IPD_HFI parameters. Right now i am playing with the Course and Fine excitation magnitudes and wait times. I am getting the current waveform similar to sinusoidal with magnitude of 325.2 mA. But i am not able to get the waveform same as given in LAB21 of instaspin lab manual. The parameters are as follows
#elif (USER_MOTOR == MY_PMSMMOTOR)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (4)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (1.5018753)
#define USER_MOTOR_Ls_d (0.0108114174)
#define USER_MOTOR_Ls_q (0.0108114174)
#define USER_MOTOR_RATED_FLUX (0.650064)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (0.5)
#define USER_MOTOR_IND_EST_CURRENT (-0.5)
#define USER_MOTOR_MAX_CURRENT (0.5)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0)
#define USER_MOTOR_FREQ_LOW (20.0) // Hz - suggested to set to 10% of rated motor frequency
#define USER_MOTOR_FREQ_HIGH (200.0) // Hz - suggested to set to 100% of rated motor frequency
#define USER_MOTOR_FREQ_MAX (240.0) // Hz - suggested to set to 120% of rated motor frequency
#define USER_MOTOR_VOLT_MIN (3.0) // Volt - suggested to set to ~20% of rated motor voltage
#define USER_MOTOR_VOLT_MAX (18.0) // Volt - suggested to set to 100% of rated motor voltage
#define IPD_HFI_EXC_FREQ_HZ (750.0) // excitation frequency, Hz
#define IPD_HFI_LP_SPD_FILT_HZ (35.0) // lowpass filter cutoff frequency, Hz
#define IPD_HFI_HP_IQ_FILT_HZ (100.0) // highpass filter cutoff frequency, Hz
#define IPD_HFI_KSPD (6.0) // the speed gain value
#define IPD_HFI_EXC_MAG_COARSE_PU (0.11) // coarse IPD excitation magnitude, pu
#define IPD_HFI_EXC_MAG_FINE_PU (0.09) // fine IPD excitation magnitude, pu
#define IPD_HFI_EXC_TIME_COARSE_S (0.6) // coarse wait time, sec max 0.64
#define IPD_HFI_EXC_TIME_FINE_S (0.5) // fine wait time, sec max 0.4
#define AFSEL_FREQ_HIGH_PU (_IQ(20.0 / USER_IQ_FULL_SCALE_FREQ_Hz))
#define AFSEL_FREQ_LOW_PU (_IQ(10.0 / USER_IQ_FULL_SCALE_FREQ_Hz))
#define AFSEL_IQ_SLOPE_EST (_IQ((float)(1.0/0.1/USER_ISR_FREQ_Hz)))
#define AFSEL_IQ_SLOPE_HFI (_IQ((float)(1.0/10.0/USER_ISR_FREQ_Hz)))
#define AFSEL_IQ_SLOPE_THROTTLE_DWN (_IQ((float)(1.0/0.05/USER_ISR_FREQ_Hz)))
#define AFSEL_MAX_IQ_REF_EST (_IQ(0.4))
#define AFSEL_MAX_IQ_REF_HFI (_IQ(0.4))
So what is going wrong??
How can i know whether i am going in right direction or not??
Also is there document/link/video other than instaspin lab manual for IPD_HFI tuning??
Where to find gthrottle(Kspd tuning)??
Regards,
Digvijay
Hi,
please reply as soon as possible to this and previous questions also.
What is the role of gThrottle_Result in LAB21 (IPD and HFI)??
Regards,
digvijay
Respected sir,
I have replaced the HAL files of LAB20 and LAB21. The LAB 20 is working fine(able to run motor). So i think LAB 21 also should not have any problem.
Also i have gone through the instaspin_lab guide for LAB21.
I have calculated the excitation frequency and trying the cource and fine magnitudes. But rotor is not moving continuously.
After setting Flag_Run_Indetify the rotor is giving small jerk and stoping there with single tone sound.
So why this is happening??
My Ld and Lq are as follows
#define USER_MOTOR_Ls_d (0.0108114174)
#define USER_MOTOR_Ls_q (0.0108114174)
My Ld and Ls are same. Could that be reason??
Regards,
Digvijay