hi ,i trying to limit output current of buck converter circuit by making current loop feedback but i cant understand how to use the pid library and how to make a pid code plz Thanks
You don’t say which PID implementation you’re using, but Brett Beauregard’s implementation comes with quite a lot of documentation and several examples.
Do you understand in general terms what a PID algorithm is? Which implementation are you using? Does it include documentation and examples? Have you read the documentation and run the examples? What attempts have you made to adopt the examples to your project?