some Question about the function "adc" when i use s12zvml128 control pmsm foc (MC9S12ZVML128_PMSM_)

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

some Question about the function "adc" when i use s12zvml128 control pmsm foc (MC9S12ZVML128_PMSM_)

跳至解决方案
917 次查看
Clarkhe
Contributor I

Hi

I use the single resistance sampling mode without a reference voltage of 2.5V. At present, I can only sample the current in one direction. Can I use the current demo simply to modify it? What is the efficiency?

Is there any problem. In addition, when the single resistance bus sampling will appear negative current?

0 项奖励
1 解答
888 次查看
pachamatej
NXP Employee
NXP Employee

Hi,

I'm just assuming, so if I'm not correct, please clarify.

In case you are using our devkits

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solu...

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solu...

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solu...

All three boards are capable of using DC-link shunt resistor to control a 3-ph motor, but the last two can do only this technique (aka "single-shunt" only).

If you are using the MTRCKTSPNZVM128 or MTRCKTSBNZVM128 (physically, it is the same devkit), then I would recommend to verify the jumper settings first according to the Quick start guide and the dedicated application note - there is a different configuration for dual-shunt and for single-shunt.

By the way, in all the cases, the reference voltage is 2.5V and thanks to that, the ADC can see positive and negative currents.

If you see any difference from what you want to achieve and from the description above, please let us know.

Best regards.

Matej

在原帖中查看解决方案

0 项奖励
3 回复数
889 次查看
pachamatej
NXP Employee
NXP Employee

Hi,

I'm just assuming, so if I'm not correct, please clarify.

In case you are using our devkits

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solu...

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solu...

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/magniv-and-s12-solu...

All three boards are capable of using DC-link shunt resistor to control a 3-ph motor, but the last two can do only this technique (aka "single-shunt" only).

If you are using the MTRCKTSPNZVM128 or MTRCKTSBNZVM128 (physically, it is the same devkit), then I would recommend to verify the jumper settings first according to the Quick start guide and the dedicated application note - there is a different configuration for dual-shunt and for single-shunt.

By the way, in all the cases, the reference voltage is 2.5V and thanks to that, the ADC can see positive and negative currents.

If you see any difference from what you want to achieve and from the description above, please let us know.

Best regards.

Matej

0 项奖励
871 次查看
Clarkhe
Contributor I

OK,thankyou 

0 项奖励
901 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I'm not sure if I understand.

Can you please elaborate?

 

Thank you,

BR, Daniel

 

0 项奖励