S12ZVM12EVB Evaluation Board

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

S12ZVM12EVB Evaluation Board

跳至解决方案
1,686 次查看
sohyunjang
Contributor III

Hi.

I use S12ZVM12EVB Evaluation Board.

And I test BLDC / PMSM control application given by NXP.

I have some question.

1. I am wondering how 45ZWN2490B(given by board) Motor's phase UVW match green, blue, white color.

2. I use MC9S12ZVML128_BLDC_Sensorless. I dont know how I drive reverse rotation (should I add code?).

3. I am wondering there are application used resolver with S12ZVM12EVB Evaluation Board.

标签 (1)
0 项奖励
回复
1 解答
1,362 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi

It doesn’t matter how you connect phases. It will work in any case. However, it determines the direction in which the motor rotates, so if you switch two phases, you change the direction.

You can change the direction by software.

In the MCS12ZVML128_BLDC_Sensorless.c there are following constants:

const char MaskVal[6]      = {0x34,0x1c, 0x13,0x31, 0x0d,0x07};

const char OutCtl[6]         = {0x0c,0x30, 0x30,0x03, 0x03,0x0c};

const char BemfPhase[6] = {0x03,0x02, 0x01,0x03, 0x02,0x01};

then replace 0-5 1-4 2-3.

const char MaskVal[6]      = {0x07,0x0d, 0x31,0x13, 0x1c,0x34};

const char OutCtl[6]         = {0x0c,0x03, 0x03,0x30, 0x30,0x0c};

const char BemfPhase[6] = {0x01,0x02, 0x03,0x01, 0x02,0x03};

Note: Do not change the direction while the motor is running.

Unfortunately, we don’t have any application for a resolver.

Regards

Daniel

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,363 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi

It doesn’t matter how you connect phases. It will work in any case. However, it determines the direction in which the motor rotates, so if you switch two phases, you change the direction.

You can change the direction by software.

In the MCS12ZVML128_BLDC_Sensorless.c there are following constants:

const char MaskVal[6]      = {0x34,0x1c, 0x13,0x31, 0x0d,0x07};

const char OutCtl[6]         = {0x0c,0x30, 0x30,0x03, 0x03,0x0c};

const char BemfPhase[6] = {0x03,0x02, 0x01,0x03, 0x02,0x01};

then replace 0-5 1-4 2-3.

const char MaskVal[6]      = {0x07,0x0d, 0x31,0x13, 0x1c,0x34};

const char OutCtl[6]         = {0x0c,0x03, 0x03,0x30, 0x30,0x0c};

const char BemfPhase[6] = {0x01,0x02, 0x03,0x01, 0x02,0x03};

Note: Do not change the direction while the motor is running.

Unfortunately, we don’t have any application for a resolver.

Regards

Daniel

0 项奖励
回复
1,367 次查看
sohyunjang
Contributor III

Thanks your command.

And I have some question.

1. I use AN5327sw and AN5135sw application. I dont know how I drive reverse rotation (should I add code?).

2.  Is there MCAT Tool in AN5135sw? I find MC9S12ZVML128_PMSM_Sensorless.pmp in AN5135sw. but it is not MCAT Tool.

3. I use PMSM sensored FOC control( shunt register and linear sensor used). So I use on the basis of AN5327sw and AN5135sw. I am wondering that I use POSPE_FLT.c part of MTRCKTSPS5643L application. Is it no problem?

0 项奖励
回复
1,367 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

 

Unfortunately, I’m not aware of any other way by which you could reverse the direction.

 

The file you found, MC9S12ZVML128_PMSM_Sensorless.pmp, is FreeMASTER project with MCAT plug-in. You can find more information here.

The MTRCKTSPS5643L software is written for MPC564x and therefore it is not compatible. But you can basically add whatever you want if it works.

 

Regards,

Daniel

0 项奖励
回复
1,366 次查看
sohyunjang
Contributor III

Thanks your command.

I mean, I dont know how I drive reverse rotation MC9S12ZVML128_PMSM_Sensorless. Not MCS12ZVML128_BLDC_Sensorless.

I can drive reverse rotation MCS12ZVML128_BLDC_Sensorless by your commands.

replace 0-5 1-4 2-3.

const char MaskVal[6]      = {0x07,0x0d, 0x31,0x13, 0x1c,0x34};

const char OutCtl[6]         = {0x0c,0x03, 0x03,0x30, 0x30,0x0c};

const char BemfPhase[6] = {0x01,0x02, 0x03,0x01, 0x02,0x03};

And Can I get some Information that S12ZVMx12EVM. Maby I have old version EVM.

EVM information is

S/N: 0213-27484-0055

170-27485 REV A

SCH-27484 REV A

700-27484 REV X2

0 项奖励
回复
1,366 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi

 

You can reverse rotation in MCAT, if you put negative speed.

MCAT.png

You can find all information about the board here.

Regards

Daniel