Other Parts Discussed in Thread: C2000WARE
Hi,
I am debugging a digital buck board for customer based on TIDM_DC_DC_BUCK, I already ported software to F280025C.
These days, I found there is a surge current with load transient, since duty cycle of buck MOSFET was increased very
quickly due to Vout is dropping, so i want to either control loop speed, or change PID controller
Regarding control loop speed, are below defines correct?
#define BUCK_ISR_CTRL_LOOP_RATIO 1
Regarding PID controller parameters, I found below sentences inside BUCK_runIsr(), but not sure which parameters
I should change inside BUCK_ctrl, could you tell me which is K parameters, which is I parameters of the ?
BUCK_ek_pu = BUCK_vOutSet_pu -BUCK_vOutSensed_pu;
//
// Calculate the required control effort (duty cycle)
//
BUCK_uk_pu = BUCK_DCL_RUN_IMMEDIATE(&BUCK_ctrl,
BUCK_ek_pu);
Or if you can give any other suggestions to suppress the surge current?
Regards
Hely