100% found this document useful (1 vote)
633 views

Lab Report: Simulink

The document describes using Simulink to model and simulate a process control system. Key steps include opening Simulink, adding blocks like Step, Transfer Function and Scope, configuring the blocks, connecting them in the proper order, and playing the simulation to view the output graph on the Scope. The objective is achieved by plotting the process in Simulink using common blocks like Gain and Transfer Function.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
633 views

Lab Report: Simulink

The document describes using Simulink to model and simulate a process control system. Key steps include opening Simulink, adding blocks like Step, Transfer Function and Scope, configuring the blocks, connecting them in the proper order, and playing the simulation to view the output graph on the Scope. The objective is achieved by plotting the process in Simulink using common blocks like Gain and Transfer Function.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

LAB REPORT

CONTROL ENGINEERING (MATLAB)

OBJECTIVE
To plot a process in Simulink command using Gain, Transfer function and Scope.

Simulink
Simulink is a block diagram environment for multidomain simulation and Model-Based Design. It
supports simulation, automatic code generation, and continuous test and verification of embedded
systems.
Simulink provides a graphical editor, customizable block libraries, and solvers for modeling and
simulating dynamic systems. It is integrated with MATLAB, enabling you to incorporate MATLAB
algorithms into models and export simulation results to MATLAB for further analysis.

Blocks
Fcn

Apply specified expression to input

Function Caller

Call Simulink or State flow function

Interpreted MATLAB Function

Apply MATLAB function or expression to input

Level-2 MATLAB S-Function

Use Level-2 MATLAB S-function in model

MATLAB Function

Include MATLAB code in models that generate embeddable C code

MATLAB System

Include System object in model

S-Function

Include S-function in model

S-Function Builder

Create S-function from C code that you provide

Simulink Function

Function definition used by Function Caller block or State flow chart

PROCEDURE
123456-

First of all open matlab and write Simulink: in the command window.
Now open a new window for the process.
Go to the Simulink window and search Step and then add this into window.
Double click on step and select the input limits.
Now search for Transfer Fcn and add it into the window.
Double click on the box and assign corresponding values to numerator and
denominator.
7- Now add scope.
8- Add a Gain box and set its value as 0.33.
9- In Simulink window search Sin wave and add it into the window.
10-Now add another Transfer function for controller on the second input.
11-Now join them all according to following order.

12-Now set the graph limit as 40 and click on play button.


13-Double click on Scope and we will get the following graph.

14-This

is our required output.

You might also like