Question
PID PROBLEM IN CONTROLLER STM 32
Posted on August 21, 2014 at 10:02
Hi,
i am facing problem for the PiD controller.what parameter i have to use it for the positive & negative nos for calculation purpose.Kindly look following code New_Duty_cycle_buck=(Previous_Duty_cycle_buck + Error_Duty_cycle_buck);where ''Error_Duty_cycle_buck'' can be positive or negative.it is for the updating a new duty cycle.in declaration part,double Error_Duty_cycle_buck=0;i declare like this.but my pid loop not working correctly.pls helpLook forward to hearing you soon. #stm32f4 #discovery
