Skip to main content
1835116269
Associate II
August 3, 2014
Question

a formula about duty cycle computation

  • August 3, 2014
  • 2 replies
  • 745 views
Posted on August 03, 2014 at 06:34

hello all :

           

  I,recently?found that the formula about duty cycle  computation in the SW do not accord with that in the user manual . Sector ????TimePhA=T/8+?T+X-Z?/2 in the SW,however,

Sector ????TimePhA=?T+X-Z?/2 in the user manual.what is meaning about T/8?

Want to the help of the predecessors.

 Best wishes for you??????

#svpwm-duty-cycle-computation
This topic has been closed for replies.

2 replies

Gigi
ST Employee
August 25, 2014
Posted on August 25, 2014 at 10:29

Ciao Yongfei Liu

In the UM is used T/4 considering T the number of timer tick inside one PWM period.

In the FW (v2.0) it is used T defined as

#define PWM_PERIOD ((u16) (CKTIM / (u32)(2 * PWM_FREQ *(PWM_PRSC+1))))

#define T      (PWM_PERIOD * 4)

So it is basical is 2 times the T used in the formula of the UM.

Anyhow I suggest to you (if possible) to move to the 3.x (or greather) version.

Ciao

Gigi

1835116269
Associate II
August 30, 2014
Posted on August 30, 2014 at 12:24

Ciao Gigi

         First of all,thanks for your answer about above question.and My professor want to see the algorithm of vector control for st,however,the other version do not open to the exterior,so the library is the best s

election.

whether st

company

or open the MC_FOC_Methods.c to us or not? Best wishes for you !!!!!!!!!!!!!

       

Ciao

Yongfei Liu