All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Programmer's Corner

Notices

Programmer's Corner Discussion forum for all aspects of programming and software engineering. Any software programming language welcome: C, C++, C#, Fortran, Java, Matlab, etc.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-17-2008, 01:37 PM
ashutosh509 ashutosh509 is offline
New Member
 
Join Date: Apr 2008
Posts: 1
Default How to create PID controller using MATLAB/Simulink?

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.
Reply With Quote
  #2  
Old 01-13-2009, 01:02 PM
visclo visclo is offline
New Member
 
Join Date: Feb 2006
Posts: 2
Default

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
Reply With Quote
  #3  
Old 01-14-2009, 03:55 AM
kahafeez kahafeez is offline
Senior Member
 
Join Date: Dec 2008
Location: Islamabad, Pakistan
Posts: 150
Default

hi i dont knw if this is useful for u or not bt u will find PID in this .zip file....
Attached Files
File Type: zip Control System_lab.zip (64.6 KB, 1250 views)
Reply With Quote
  #4  
Old 05-01-2009, 05:40 AM
anindya101 anindya101 is offline
New Member
 
Join Date: May 2009
Posts: 1
Send a message via Skype™ to anindya101
Default

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?
Reply With Quote
  #5  
Old 12-21-2009, 09:09 PM
arkasha arkasha is offline
New Member
 
Join Date: Dec 2009
Posts: 4
Default

Quote:
Originally Posted by ashutosh509 View Post
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/si...cription2.html

http://www.mathworks.com/company/new...ol-design.html

http://www.mathworks.com/company/eve...0&p2=636028082
Reply With Quote
  #6  
Old 06-20-2012, 04:28 AM
kitto326 kitto326 is offline
New Member
 
Join Date: Aug 2009
Location: pakistan
Posts: 2
Send a message via Yahoo to kitto326
Default

try SISO on MATLAB.
I know its too late. Might be helpful for up coming viewer.
Reply With Quote
Reply   Post New Thread

Tags
, , ,


Similar Threads
Thread Thread Starter Forum Replies Last Post
Treadmill Controller Problems akatsuki_92 General Electronics Chat 4 05-18-2013 12:12 AM
PID controller simulink crazynuts Programmer's Corner 0 11-23-2010 05:33 PM
PID controller qubits1 General Electronics Chat 11 08-29-2010 09:18 PM
PID temperature controller for TEC/Peltier drfreaky The Projects Forum 23 07-18-2009 10:13 AM
Create PID with mplab diferbe Homework Help 3 05-08-2009 03:03 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:19 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.