Hello,
With reference to this document
https://www.ti.com/lit/an/spraco3/spraco3.pdf
I would like to know some details about the PI control loop employed in the fast current loop library.
In fcl_cpu_code.dm in the PI wrap function FCL_runPICtrlWrap_M1(),
why are we using invZbase and how does it relate to the rotor resistance and rotor inductance,
I see that :
float32_t Vbase = pMotor->FCL_params.Vdcbus * 1.15 / 2;
float32_t invZbase = pMotor->FCL_params.Ibase / Vbase;
I understand that FCL_params.Vdcbus is the actual dclink voltage(PPBresult*74.1/4096) , but why are we multiplying by 1.15/2?
And how is this related to the rotor resistance and inductance?
fclVars[0].pi_iq.Kp = pMotor->FCL_params.Lq * invZbase *
pMotor->FCL_params.wccQ;
fclVars[0].pi_iq.Ki = pMotor->FCL_params.Rq * invZbase *
pMotor->FCL_params.wccQ * pMotor->FCL_params.tSamp;
It would be helpful if this was explained in layman's terms :)