2014-08-02 09:34 PM
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-computation2014-08-25 01:29 AM
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 Gigi2014-08-30 03:24 AM
election.
whether stcompany
or open the MC_FOC_Methods.c to us or not? Best wishes for you !!!!!!!!!!!!! CiaoYongfei Liu