Please tell me the meaning of these words in S12ZVM_PMSMFOC_appcfonfig.xlsm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Please tell me the meaning of these words in S12ZVM_PMSMFOC_appcfonfig.xlsm

1,836 Views
菜緒西井
Contributor III

Hello.

I download MC9S12ZVML128 PMSM Sensorless.

I wanna try to use my own motor, and to modify the parameters in the software.

But, I'm not sure what parameters indicate.

Please tell me meaning of these parameters below, or provide manual about S12ZVM_PMSMFOC_appcfonfig.xlsm.

  • Current loop bandwidth
  • Current loop attenuation
  • Speed loop bandwidth
  • Speed loop attenuation
  • Speed measurement filter (moving average)
  • Position observer bandwidth
  • Position observer loop attenuation
  • Transient to sensorless at speed
4 Replies

1,476 Views
Marek_NXP
NXP Employee
NXP Employee

Hello Nao Nishii,

The excel spreadsheet you refer to is an obsolete form of getting the parameters for control algorithm. This document is neither not supported nor shared any more. Please download and install the latest release of the SW package for given MCU platform.

https://www.nxp.com/downloads/en/evaluation-development-boards-systems/MTRCKTSPNZVM128_SW.exe

The latest SW package contains a FreeMASTER project with an MCAT tool. MCAT (Motor Control Application Tuning)tool is an NXP tool for tuning the control algorithm parameters.

Each control loop in the control structure behaves as a filter. To simplify the task, tuning the control loop means to tune the filter (cut-off frequency = bandwidth and attenuation).

Current loop - bandwidth in the range 100-300Hz, attenuation 0.7-1.

Speed loop - 10 times less than current loop bandwidth, attenuation = 1

Position observer bandwidth - up to 50Hz, attenuation 0.7-1.

For more details refer to the application note which is a part of installed package.

Regards,

Marek

1,476 Views
菜緒西井
Contributor III

Hello, Marek Stulrajter.

Thank you for your reply.

I installed the latest file.

 

But I get errors when I build these project.

(Both AN5327_SW_CW10 and MTRCKTSPNZVM128_CW10.)

 

If you know the cause or solution please let me know.

*I use CW for MCU ver10.7, for S12Z.

 

The detail of the error is described below.

This error has been repeatedly generated in once build.

 

"error"

 → C:/Freescale/CW MCU v10.7/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa|Compiler|Error

 

Best regards,

Nao

0 Kudos

1,476 Views
pachamatej
NXP Employee
NXP Employee

Hello,

Have you tried to "Clean" the project? Right click on the project folder in CW and select Clean.

Please let me know if it helps. Thank you.

Matej

0 Kudos

1,476 Views
菜緒西井
Contributor III

Hello,Matej Pacha.

Thank you for your reply and advice.

 

I tried to "Clean" the project, but I couldn't build... 

I can build old projects (but they are not latest).

I installed the latest again, but the result was the same.

 

Best regards,

Nao

0 Kudos