Hello,
My velion motor has a very low inductance. The proj_lab2c can identify it, but if i change the values in the user.h i get an Error. "USER_ErrorCode_ctrlFreq_Hz_Low"
The universal gui showed an inductance of 0.000066 mH and i changed them in the user.h to 0. 000 000066 H.
Is this to less?
Here are the setting from my motor:
#elif (USER_MOTOR == Velion)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (4)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (0.005759544670581818)
#define USER_MOTOR_Ls_d (0.00000006699826826661592)
#define USER_MOTOR_Ls_q (0.00000006699826826661592)
#define USER_MOTOR_RATED_FLUX (0.008646308444440365)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (5.0)
#define USER_MOTOR_IND_EST_CURRENT (-0.5)
#define USER_MOTOR_MAX_CURRENT (20.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (120)
#define IPD_HFI_EXC_FREQ_HZ (750.0) // excitation frequency, Hz
#define IPD_HFI_LP_SPD_FILT_HZ (10.0) // lowpass filter cutoff frequency, Hz
#define IPD_HFI_HP_IQ_FILT_HZ (20.0) // highpass filter cutoff frequency, Hz
#define IPD_HFI_KSPD (31.4) // the speed gain value
#define IPD_HFI_EXC_MAG_COARSE_PU (0.2) // coarse IPD excitation magnitude, pu
#define IPD_HFI_EXC_MAG_FINE_PU (0.2) // fine IPD excitation magnitude, pu
#define IPD_HFI_EXC_TIME_COARSE_S (0.2) // coarse wait time, sec max 0.64
#define IPD_HFI_EXC_TIME_FINE_S (0.1) // 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/1.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))
Here is the Picture from the GUI: