ENGINEERING PROJECT

Matlab/Simulink Program

5:38 PM

SIMULINK

Posted by Shahrul


The usage of SIMULINK interactive tools include modeling, simulating, and analyzing dynamic systems, including controls, signal processing, communications, and other complex systems. It supports linear and nonlinear systems, modeled in continuous time, sampled time, or a hybrid of the two. Systems can also be multirate for example there have different parts that are sampled or updated at different rates.


It also can be used to access to all the MATLAB analysis tools, so user can take the results and analyze and visualize them. A goal of Simulink is to give a sense of the fun of modeling and simulation through an environment that encourages user to pose a question, model it, and see what happens.


SIMULINK encourages the user to try things out. User can easily build models from scratch or take an existing model and modify it. Simulations are interactive, so user can change parameters on the spot and immediately see what happens.


The relation between MATLAB and SIMULINK are incorporated together so that user can simulate, analyse, and revise the models in either environment at any point.


Tool for Model-Based Design


Simulink provides user with demos and the tools to model and simulate almost any real-world problem. Simulink provides a graphical user interface (GUI) for building models as lock diagrams, allowing user to draw models as draw with pencil and paper.

Simulink also includes a comprehensive block library of sinks, sources, linear and nonlinear components, and connectors. If these blocks do not meet user needs, however user can also create your own blocks. The interactive graphical environment simplifies the modeling process, eliminating the need to formulate differential and difference equations in a language or program. Models are hierarchical, so user can build models using both top-down and bottom-up approaches.

There also can view the system at a high level, then double-click blocks to see increasing levels of model detail. This approach provides insight into how a model is organized and how its parts interact.

Tool for Simulation[6]

After define a model, user can simulate it, using a choice of mathematical integration methods, either from the Simulink menus or by entering commands in the MATLAB® Command Window. The menus are convenient for interactive work, while the command line is useful for running a batch of simulations. Using scopes and other display blocks, user can see the simulation results while the simulation runs.

Then can change many parameters and see what happens for “what if” exploration. The simulation results can be put in the MATLAB workspace for post processing and visualization.

Tool for Analysis[6]

The external interfaces library allows user to write C and FORTRAN programs that interact with MATLAB. It includes facilities for calling routines from MATLAB (dynamic linking), for calling MATLAB as a computational engine and for reading and writing MAT-files.

Electric machines play an important role in industry as well as our day to day life. They are used to generate electrical power in power plants and provide mechanical work in industries. They are also an indispensable part of our daily lives. Electric machines are very important pieces of equipment in our everyday lives. The DC machine is considered to be basic electric machines.

The aim of this final year project is to introduce students to the modeling of power components and to use computer simulation as a tool for conducting transient and control studies. Simulation can be very helpful in gaining insights to the dynamic behavior and interactions that are often not readily apparent from reading theory. Simulation is often chosen by engineers to study transient and control performance or to test conceptual designs.

MATLAB/SIMULINK is used because of the short learning curve that most students require to start using it, its wide distribution, and its general purpose of nature. This will demonstrate the advantages of using MATLAB for analyzing power system steady-state behavior and its capabilities for simulating transients in power systems and power electronics, including control system dynamic behavior