Other Parts Discussed in Thread: CONTROLSUITE
Hello! I'm trying to debug my own speed controller, and I would like to understand a couple of things.
1, The spd_ref was updated in CTRL_setup() which call CTRL_runTraj(), the target value is the speed reference?Am i right?
2, How can i bypass the traj ramp module which generate the actual speed reference of speed pi controller?
3,
// when appropriate, run the PID speed controller
if(CTRL_doSpeedCtrl(handle))
{
_iq refValue = TRAJ_getIntValue(obj->trajHandle_spd); //////////////////////////////////
//! \return The mechanical frequency, pu
_iq fbackValue = EST_getFm_pu(obj->estHandle);
My question is : What's the relationship between krmp and the mechanical frequency pu?
4,
//! \brief Sets the output speed reference value in the controller
//! \param[in] handle The controller (CTRL) handle
//! \param[in] speed_ref_pu The output speed reference value, pu
static inline void CTRL_setSpeed_ref_pu(CTRL_Handle handle,const _iq speed_ref_pu)
{
CTRL_Obj *obj = (CTRL_Obj *)handle;
obj->speed_ref_pu = speed_ref_pu;
return;
} // end of CTRL_setSpeed_ref_pu() function
Does speed _ref_pu mean the mechanical frequency pu?
Thanks a lot !