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.
Hello,
In example project I've encountered on some params:
USER_M1_EST_FLUX_HF_SF,
USER_M1_EST_FREQ_HF_SF
USER_M1_EST_BEMF_HF_SF
If You could tell me what is role of that params, where tthey are used and what impact would be on project if I change that params.
Best Regards,
Krzysztof
These 3 parameters are used in the following 3 functions that are a new patch for the low-inductance, low voltage and high current motor. There are not a detailed description about these functions in the lab/user’s guide, but there is a comment about the settings of these parameters in the user_mtr1.h file. If the motor is a typical PMSM, the user can use the default values in the header file or don’t need to call these 3 functions.
// set the scale factor for high frequency motor
EST_setOneOverFluxGain_sf(obj->estHandle,
obj->userParamsHandle, USER_M1_EST_FLUX_HF_SF);
EST_setFreqLFP_sf(obj->estHandle,
obj->userParamsHandle, USER_M1_EST_FREQ_HF_SF);
EST_setBemf_sf(obj->estHandle,
obj->userParamsHandle, USER_M1_EST_BEMF_HF_SF);
//! \brief Defines the scale factor for the flux estimation
//! the default value is 1.0f, change the value between 0.1f and 1.25f
//!
#define USER_M1_EST_FLUX_HF_SF (0.125f)
//#define USER_M1_EST_FLUX_HF_SF (0.250f)
//#define USER_M1_EST_FLUX_HF_SF (1.00f)
//! \brief Defines the scale factor for the frequency estimation
//! the default value is 1.0f, change the value between 0.5f and 1.5f
//!
#define USER_M1_EST_FREQ_HF_SF (1.00f)
//! \brief Defines the scale factor for the bemf estimation
//! the default value is 1.0f, change the value between 0.50f and 1.25f
//!
#define USER_M1_EST_BEMF_HF_SF (1.00f)