PI parameter of MC9S12ZVML128_PMSM_Sensorlessuse

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

PI parameter of MC9S12ZVML128_PMSM_Sensorlessuse

687 Views
zhoumaokang
Contributor II

Hello,I download MC9S12ZVML128_PMSM_Sensorlessuse and user my own motor, and modify the parameters in the software.but the speed  is wrong in open loop mode,I think it is the reason for the PI parameter, but I don't know the tuning principle of the PI parameter. I think the bandwidth and attenuation settings are wrong, but I don't know how to solve it.How can I do?

Labels (1)
0 Kudos
2 Replies

540 Views
pachamatej
NXP Employee
NXP Employee

Hello,

First of all, the Excel you have shared is obsolete tool, already replaced by MCAT (FreeMASTER-integrated web-based interface with control page and all the settings).

If the motor speed is wrong even in open loop mode, there are two possible reasons:

  • the motor pole-pair number is not correct
  • the algorithm timing is wrong, which usually happens when
    • CPU clock is set differently from the original software
    • ADC-done or PMF-reload interrupt timing is set differently (e.g. number of reload opportunities, PMF modulus, reorganized ADC triggers)

What is the "wrong" speed in relation to the real speed?

Best regards,

Matej

540 Views
zhoumaokang
Contributor II

OK!Thanks!!best wish!

0 Kudos