May 16, 2016 #1 M.Rehan Full Member level 2 Joined Feb 10, 2016 Messages 129 Helped 2 Reputation 66 Reaction score 33 Trophy points 28 Activity points 972 can someone explain PID control logic for PWM duty cycle given below --> Lets say output refrence voltage are 2.5V If voltage are changed (transient change) from reference "V" Change PWM duty cycle accordingly to maintain 2.5 output only using PID control logic Assumption ADC read at RA0/AN0 PWM1 out at RC1 Ps Explain in Mikroc syntax
can someone explain PID control logic for PWM duty cycle given below --> Lets say output refrence voltage are 2.5V If voltage are changed (transient change) from reference "V" Change PWM duty cycle accordingly to maintain 2.5 output only using PID control logic Assumption ADC read at RA0/AN0 PWM1 out at RC1 Ps Explain in Mikroc syntax
May 16, 2016 #2 KlausST Advanced Member level 7 Joined Apr 17, 2014 Messages 25,269 Helped 4,873 Reputation 9,767 Reaction score 5,565 Trophy points 1,393 Activity points 169,172 Hi, You want us to write your code? For free? What did you do so far? Show us your code and your experience with it. Klaus
Hi, You want us to write your code? For free? What did you do so far? Show us your code and your experience with it. Klaus