AnsweredAssumed Answered

I wanna use the GFLIB_AtanYXShifted in NXP_GFLIB of Motor Control Development Toolbox for MPC564xL v1.3.0,but the answer is not accordance with the file of MCLIB_MPC564xL_rev_0_91 about the module

Question asked by Eden Li on Apr 8, 2017
Latest reply on Apr 23, 2017 by Eden Li

Torday,I use the GFLIB_AtanYXShifted in NXP_GFLIB of Motor Control Development Toolbox for MPC564xL v1.3.0,but the answer is not accordance with the file of MCLIB_MPC564xL_rev_0_91,but the simulation is not the same as the discription of  MCLIB_MPC564xL_rev_0_91 ,in the  MCLIB_MPC564xL_rev_0_91 file ,the 3.9.8 Code exzample discribe the " Output angle should be 0.138888889 rad ",but i simuliated that the result is 0.6923,and i built a model,as the content in   MCLIB_MPC564xL_rev_0_91 file ,the content :

the model shows that:

the result is 0.4363 ,and the result is not the same as  0.6923,shows as follow:

not:

 the model above ,the parameter is the same as the exzample :

The attachment is the model.

 

I thought the GFLIB_AtanYXShifted is calculated as follow,

the return is the ,my thought is right or not?   Now,i don't know how to do!

Original Attachment has been moved to: Atanxy_Shift.mdl.zip

Outcomes