Tool/software:
Hi team,
do we need to convert all the quantities wr,ids,iqs,imds etc to per unit while doing theta calculation?
what modifications have to made if am using tms320f28335 floating point dsp processor....?
what range exactly theta will vary ? is o to 1 in per unit represents o to 2pi?
iq Wslip, We;
#define CUR_MOD_MACRO(v) \
v.IMDs += _IQmpy(v.Kr,(v.IDs - v.IMDs)); \
Wslip = _IQdiv(_IQmpy(v.Kt,v.IQs),v.IMDs); \
We = v.Wr + Wslip; \
v.Theta += _IQmpy(v.K,We); \
\
if (v.Theta > _IQ(1)) \
v.Theta -= _IQ(1); \
else if (v.Theta < _IQ(0)) \
v.Theta += _IQ(1);
Thanks,
Sathish