need help in integrating encoder with S32K144 and GD3000 driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

need help in integrating encoder with S32K144 and GD3000 driver

922 次查看
Raghu96
Contributor I

HI NXP team,

We are trying to evaluate S32 K144 EVB for speed control of BLDC motor with MCSTPE1AK144_PMSM_FOC_1SH reference example. we were able to run the motor using FREEMATSER in sensor less mode. now we want to use Encoder as feedback sensor. There is a provision for enabling encoder mode in the example code but we are unable to read the encoder values. 

please provide additional information on how to use encoder for BLDC motor control using S32K144.

 

Thanks & Regards

Raghu

0 项奖励
回复
3 回复数

882 次查看
Raghu96
Contributor I

Hi Leo,
Thanks for replying.
I'm trying with a different motor and so changed most of the motor and encoder parameters.
We are not able to rotate the motor and also we were not able to read the encoder values. Even, QUADEN bit of QDCTRL register of FTM2 is not going high.

Screenshot 2024-08-30 164541.png

Jumpers JP9,10,11 are in 1-2 (FOC-PMSM). encoder is 5V. J8 is not connected. 

What should be the way forward.

 

Thanks & Regards 

Raghu

0 项奖励
回复

876 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Maybe you do not have R168 and R166 in your S32K144EVB

_Leo__0-1725042009163.png

 

_Leo__1-1725042026956.png

 

_Leo__2-1725042035427.png

 

0 项奖励
回复

894 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You can refer to the same instructions as the following post:

https://community.nxp.com/t5/S32K/MCSPTE1AK344-encoder-mode/m-p/1592069

In this post a hollow shaft incremental encoder was coupled to the shaft without change the kit's motor. And the performance changed due to the influence of the coupling in terms of friction and inertia.

In case you change the motor, the appropriate electrical parameters must be entered and tune the parameters of the different control schemes.

I recommend you to take as reference the following training to learn how to use our MCAT Tool:

Motor Control Application Tuning (MCAT) Tool – PMSM Servo Tuning

Hope it helps you.

Have a nice day!

0 项奖励
回复