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, 1244 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
DMA controller on Ti 8051 PhotoMonger Embedded Systems and Microcontrollers 8 01-22-2008 08:35 AM
Ethernet controller interface with microcontroller diyora Embedded Systems and Microcontrollers 1 01-22-2008 08:24 AM
Nintendo GBA as controller BlackBox Embedded Systems and Microcontrollers 0 04-22-2007 02:06 PM
Strobe light and light controller problem FlyBriz The Projects Forum 3 10-12-2006 08:51 PM

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 11:54 PM.


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