In: Electrical Engineering
what are the steps needed to be done in Matlab in order to design a PID controller? ( i need a step-by-step guidelines) the transfer function is already obtained. how do you adjust the value in order to get the best value for PID controller?
Let, our system be:
First, run this segment of MATLAB Code:
sys=tf(1,[1 2 4]);
pidtool(sys)
NOTE: If you have a different transfer function, define that instead of this one.
This will open the PID controller designer tool for you.
This will export your designed controller to the Matlab Workspace, and you can access this controller using the default variable name "C".