I'm trying to design a PID controller to control a nonlinear system, I finished all the dynamics and error (e) equations, P, I, D; but I couldn't find some useful tips, to start writing my code.
One could found some ready code from internet, but I want to understand how one could be able to make such things; since I'm a bit new to this area!!
Any one can suggest some tutorials, or informative resources?