How to create PID controller using MATLAB/Simulink?

Thread Starter

ashutosh509

Joined Apr 17, 2008
1
HI all,

As aprt of my project i need to use a PID controller in my circuit. Can you guys suggest me can i use Simulink and Matlab for this purpose? I have been doing simulation on Simulink, but i need to build a working model now. I have access to NI DAQ card.
 

visclo

Joined Feb 27, 2006
2
Hi
I think Simulink has a model for PID controllers (found under the drop–down for
Simulink

Extras/Additional Linear/PID Controller). You could also right click on the PID controller block and select ""look Under Mask"" to see the inside constitution. I think this is a good start to understand how to built a PID using simulink without going deep inside math calculation. U could also reuse the model to adapt to your needs
Hope that help, if not, im free for further questions
 

anindya101

Joined Apr 30, 2009
1
Hi!
How to create PID controller using MATLAB/Simulink? I am having a problem using slider in a gui model (Changing the values of Kp,Kd & Ki for a PID controller) in MATLAB. The slider value is shown on the command window but it is not stored in the workspace so i can use it later. how to do this?
 

arkasha

Joined Dec 21, 2009
4
HI all,

As aprt of my project i need to use a PID controller in my circuit. Can you guys suggest me can i use Simulink and Matlab for this purpose? I have been doing simulation on Simulink, but i need to build a working model now. I have access to NI DAQ card.
Starting with Release 2009b there is a new PID Controller block in Simulink. Simply connect it to you plant model. Then open the block and press "Tune..." button. This launches the tuner which designs PID Controller for you. More info is here:
http://www.mathworks.com/products/simcontrol/description2.html

http://www.mathworks.com/company/newsletters/digest/2009/nov/pid-control-design.html

http://www.mathworks.com/company/events/webinars/wbnr38619.html?id=38619&p1=636028070&p2=636028082
 
Top