cancel
Showing results for 
Search instead for 
Did you mean: 

Why do MCM_Park and MCM_Rev_Park use non-standard equation forms?

Jeffery Scott
Associate II
Posted on April 05, 2018 at 22:29

I'm trying to compare the SVPWM code with what we have today, and as a precaution I also looked at the inverse park routine. I noticed that MCM_Rev_Park uses a different form than most others use, and the MCM_Park transform seems to match this. Comments showing a comparison between CMSIS and MCSDK code is shown below.

MCM_Rev_Park:

 Valfa= Vq*Cos(theta)+ Vd*Sin(theta)

 Vbeta=-Vq*Sin(theta)+ Vd*Cos(theta)

arm_math.h:

Id = Ialpha * cosVal + Ibeta * sinVal;

Iq = -Ialpha * sinVal + Ibeta * cosVal;

I'm looking at MCSDK V5.0.

Thanks

2 REPLIES 2
Lee DongWook
Associate
Posted on June 18, 2018 at 11:39

Hello,

I have the same question.

I am looking at MCSDK V4.3.

Clark, Park, RevPark transform is different from the general formula.

MCSDK V4.3 Sourc code.

Clark :

Ialpha : Ia

Ibeta  :  -Ia/3 - 2Ib/3

general formula.

Clark:

Ialpha : Ia

Ibeta  :  Ia/3 + 2Ib/3

I think that the current control is not working properly, and the cause is the non-standard formula.

Let me know when the issue is resolved.

Thank you.

Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards