is there a code example about analysising sine-cosine signal of kmz60?

cancel
Showing results for 
Search instead for 
Did you mean: 

is there a code example about analysising sine-cosine signal of kmz60?

414 Views
xiangxu860
Contributor II

recently i use KMZ60 to get the rotor position of motor. there are two signals : sin(theta) and cos(theta).  

i  use  look-up table method   to get the value of arctan().but i found the precision of rotor position i get is not sufficiently high.

so is there  a code example about analysising sine-cosine signal ? 

thks!

0 Kudos
2 Replies

115 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Xu,

Can you attach the user manual or data sheet of the KMZ60 here? I can not download it from public website of NXP.

After I get the doc, I will have a review.

BTW, do you know whether NXP provide library to track the rotor position?

BR

Xiangjun Rong

0 Kudos

115 Views
xiangxu860
Contributor II

I'm so sorry to reply you now .

the attachments below are documents about KMZ60.

i don't know if NXP provide library to track the rotor position,could you please help me contact with the global NXP engineer which can deal with this problem?

thanks very much!

0 Kudos