Unable to run PMSM Closed Loop Motor Control Example

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

Unable to run PMSM Closed Loop Motor Control Example

923 次查看
Sriram
Contributor IV

Hello ,

I am trying to run PMSM Closed Loop Control Example from S32 example, on S32K144 EVB and DEVKit MotorGD.

After building and downloading the code, on S32K144EVB I see Green LED is glowing. When I press SW2 or SW3 it tries to spin the motor during the LED flashes and motor stops spinning for a while then starts moving back and forth with screechy sound  .The LED turn green to blue. Could not find what could be the reason.

 I am able to load and run all other examples successfully(BLDC open/closed and PMSM open loop)

 I have attached a picture of my setup

I also tried the suggestions given to a similar post ( i took out the J8 jumper and the J9 10 11 are in  1-2 position. R 72 is also set to counterclock max.)

 Can anyone suggest how to make it run . Thank you 

 

 

0 项奖励
5 回复数

842 次查看
marekmusak
NXP Employee
NXP Employee

Hello and thank you for contacting us.

1) Do you use original motor or your own motor?

2) Can you tell me what is the project name and what is the version? You can find it in release notes. 

3) Could you make a screenshot of fault variables in FreeMASTER as shown below? You can find it in FM project three > Faults and Trips)

marekmusak_0-1653465068701.png

Thank you!

Marek

 

0 项奖励

840 次查看
Sriram
Contributor IV

i am using the linix motor that came with the dev kit

Im using the matlab mbdt example of pmsm closed loop foc model ( version 2.2.0) in matlab 22a

How to log the fault and trips in freemaster? i couldnt find any example files

 

Thank you

0 项奖励

894 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have asked kit owner for help with your issue.

Best regards,

Peter

862 次查看
Sriram
Contributor IV

@petervlna Any updates regarding the issue ?

0 项奖励

855 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I understand that application engineer will reply here during this week.

Best regards,

Peter

0 项奖励