Lab No 10

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

NAME: Faizan Ahmed

SECTION: ME-12C
CMS ID: 332667

LAB NO 10
TITLE:
State space representation of system and (Parallel & Series) connections of models
using MATLAB.

OBJECTIVES:
 To learn how to represent the system in state space model using MATLAB.
 To learn how to find the open loop transfer function of system in which blocks are
connected in series and parallel connections.
 To learn how to find the closed loop transfer function of control system with
feedback.

SOFTWARE USED:SYSTEM.
1. MATLAB.

THEORETICAL BACKGROUND:
INTRODUCTION TO MATLAB:
MATLAB is a high-performance language for technical computing. It integrates
computation, visualization, and programming in an easy-to-use environment where
problems and solutions are expressed in familiar mathematical notation. The name
MATLAB stands for matrix laboratory. MATLAB was originally written to provide easy
access to matrix.
CLOSED LOOP CONTROL SYSTEM:
A closed-loop control system is a type of control system in which the controlling action
shows dependency on the generated output of the system.
STATE SPACE REPRESENTATION:
In control engineering, a state-space representation is a mathematical model of a physical
system as a set of input, output and state variables related by first-order differential
equations or difference equations.

PARACTICE EXERCISES:
EXERCISE NO 01:
Find the state space model of following transfer functions:
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

CODE:
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

OUTPUT:
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

EXERCISE NO 02:
Find the transfer function of following system with blocks connected in series. G1(s), G2(s)
and G3(s) values are given in the figure below block diagram.
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

CODE:

OUTPUT:

EXERCISE NO 03:
Find the transfer function of following system with blocks connected in parallel. G1(s), G2(s)
and G3(s) values are given in the figure below block diagram.
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

CODE:

OUTPUT:

EXERCISE NO 04:
Find the closed loop transfer function of following closed loop control systems.
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

CODE:
NAME: Faizan Ahmed
SECTION: ME-12C
CMS ID: 332667

OUTPUT:

CONCLUSIONS AND DISCUSSION:

We learned how to perform operations on tf objects in order to implement what we saw in block
diagrams. In the first lab we encountered difficulty in providing a user friendly output of our state
space representation. Exercise 2 and 3 just required knowledge and understanding of block
diagrams. The last part of exercise 4 was difficult and required a symbolic approach, clearing had to
be done in order to prevent system from coercing transfer function objects into symbolic variables,
printing the total transfer function of the system was a difficult task.

You might also like