can I use the FOC code developed by NXP for the Linux motor to control another type of motor

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

can I use the FOC code developed by NXP for the Linux motor to control another type of motor

跳至解决方案
1,034 次查看
abderrahimjamao
Contributor III

Good morning all,
I have a question, please. I am working on brushless motor control and want to know if I can use the FOC code developed by NXP for the Linux motor to control another type of motor. do I have to modify the code to adapt it with my motor or is it a general code?

标记 (1)
1 解答
882 次查看
dumitru-daniel_
NXP Employee
NXP Employee

abderrahimjamaoui@gmail.com‌,

In general, if you only change the motor (i.e. Linix motor with another type of PMSM surface mount motor), you do not have to change the algorithm but you need to update the parameters of the motor and/or sensors.

Also, you need to retune the PI controllers for the new motor.

These are considered to be parameters for the FOC hence we can say that C-code does not change but the Data needs to be updated to have the motor running correctly.

Best regards,
Daniel

在原帖中查看解决方案

4 回复数
883 次查看
dumitru-daniel_
NXP Employee
NXP Employee

abderrahimjamaoui@gmail.com‌,

In general, if you only change the motor (i.e. Linix motor with another type of PMSM surface mount motor), you do not have to change the algorithm but you need to update the parameters of the motor and/or sensors.

Also, you need to retune the PI controllers for the new motor.

These are considered to be parameters for the FOC hence we can say that C-code does not change but the Data needs to be updated to have the motor running correctly.

Best regards,
Daniel

882 次查看
abderrahimjamao
Contributor III

ok, thank you so much. I don't understand how to retune the PI controllers for my motor.

0 项奖励
882 次查看
constantinrazva
NXP Employee
NXP Employee

Hello abderrahimjamaoui@gmail.com,

I am not sure if you are referring to our models or other NXP code -- on this community we mainly handle topics regarding MATLAB/Simulink and our toolboxes. If you have specific questions regarding the examples we ship for FOC, adriantudor‌ can help with some answers.

Kind regards,

Razvan.

0 项奖励
882 次查看
abderrahimjamao
Contributor III

Thanks, I'm sorry to ask the question in this community. 

0 项奖励