Part Number: TIDM-BUCKBOOST-BIDIR
Other Parts Discussed in Thread: SFRA
Dear Champs,
I am asking this for our customers.
We are aware that you use SFRA for the 3P3Z compensator design.
1) How did you set the initial coefficients for the 3P3Z compensator? Did you use PID tuning for the initial coefficients and then use SFRA/compensator designer for the later pole/zero allocation and fine tuning?
As we know, if the initial coefficients are very improper, the system may go damaged.
2) In the code "BuckBoostBiDir-Main.c" for PID,
b2, b1, b0 are updated, but it seems b3, a1, a2, a3 are not updated accordingly.
Did you set b3=0, a1=1, a2=0, a3=0?
It seems b3, a1, a2, a3 are not explicitly set... or do we missing anything?
if(UpdateCoef==1)
{
CNTL_3P3Z_CoefStruct1.b2 =Dgain_V; // B2
CNTL_3P3Z_CoefStruct1.b1 =(Igain_V-Pgain_V-Dgain_V-Dgain_V); // B1
CNTL_3P3Z_CoefStruct1.b0 =(Pgain_V + Igain_V + Dgain_V); // B0
CNTL_3P3Z_CoefStruct1.max =Dmax_V; //Clamp Hi
UpdateCoef=0;
}
Wayne