1 / 20

University Of Khartoum Electrical and Electronic Engineering

University Of Khartoum Electrical and Electronic Engineering Control and Instrumentation Departments. Control laboratory 1. Principals of Automatic Control Laboratory. Story time!!. Problem: too many variables!. THUS.

conan
Download Presentation

University Of Khartoum Electrical and Electronic Engineering

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. University Of Khartoum Electrical and Electronic Engineering Control and Instrumentation Departments Control laboratory 1 Principals of Automatic Control Laboratory

  2. Story time!! Problem: too many variables!

  3. THUS.. Automatic (feedback) Control System: an interconnection of components forming a system configuration that will provide a desired system response: Regulate/ servo

  4. Tools of the trade..

  5. Tools of the trade..

  6. Tools of the trade..

  7. Too much math!

  8. MATLAB is relatively easy to learn Why MATLAB? • MATLAB may behave like a calculator or as a programming language • MATLAB is interpreted, errors are easier to fix • Although primarily procedural, MATLAB does have some object-oriented elements

  9. MATLAB Desktop

  10. What can I use MATLAB for?

  11. Basics! • Scalar: >>a = 4 • • Vector: >>v = [3 5 1] • >>v(2) = 8 • >>t = [0:0.1:5] • • Matrix: >>m = [1 2 ; 3 4] • >>m(1,2)=0 • More: >>b = 10 / ( sqrt(a) + 3 )

  12. What can I use MATLAB for?

  13. Plots! • x = [0:0.01:2*pi]; • y = cos(x); • plot(x,y)

  14. What can I use MATLAB for?

  15. m. files • Programming in Matlab is done by creating “.m” files. • Useful for storing a sequence of commands or creating new functions. • Call the program by writing the name of the file where it is saved (check the “current directory”) • “%” can be used for commenting.

  16. Scripts and Functions • M-file can contain two types of code : script or function is called Intro MATLAB

  17. What can I use MATLAB for?

  18. Simulink • Simulink: is a graphical, “drag and drop” environment used to model, analyze and simulate dynamic systems using block diagrams. Library of elements

  19. Evaluation

  20. Thank you! You can get this material from: www.taaeaa.blog.com

More Related