Uploaded by Sk. Shah Alam (181016016)

Sk Shah Alam 181016016.docx (1)

advertisement
LAB REPORT 02
Course Code: EEE 404
Course Title: Control System Engineering and Robotics lab
Experiment No: 02
Experiment Name: Familiarization With Matlab Control System
Tool Box,Matlab/Simulink Tool Box.
Submitted by:
Name: Sk Shah Alam
ID: 181016016
Submitted to: Abul Barkat Mollah Sayeed Ud Doulah, PhD
Date of experiment: 11-03-2021
Date of submission: 18-03-2021
Objective: To obtain
I. Pole, zero, gain values from a given transfer function
II. Transfer function model from pole, zero, gain values
III. Pole, zero plot of a transfer function
MATLAB CODE AND RESULT:
EXAMPLE 1
clc; clear all;close all;
num =[1 4 3];
den =[1 9 27 35];
g =tf(num, den)
[z, p, k]=tf2zp(num, den)
pzmap(g)
Figure 01: Pole zeros map into example 1
EXAMPLE 1 USE ANOTHER CODE
clc; clear all;close all;
num =[1 4 3];
den= conv([1 5], [1 4 7])
g =tf(num, den)
[z, p, k]=tf2zp(num, den)
pzmap(g)
Figure 02: Pole zeros map into example 1
Problem 1
clc;close all;clear all;
num = [1];
den = [1 1 4];
g=tf(num, den);
[z, p, k]= tf2zp(num,den)
pzmap(g)
Figure 03: poles zeros map of example 1
Problem 2
clc;close all;clear all;
num = [5];
den = [1 9];
g=tf(num, den);
[z, p, k]= tf2zp(num,den)
pzmap(g)
Figure 04: poles zeros map of example 2
Problem 3
clc;close all;clear all;
num = [1];
den = [1 8 15], [1 3 5];
g=tf(num, den);
[z, p, k]= tf2zp(num,den)
pzmap(g)
Figure 05: poles zeros map of example 3
Problem 4
clc; close all;clear all;
p= [-1+i -1-i -4];
z= [-2 -5];
k= 1;
[num, den]= zp2tf(z',p',k)
g= tf(num, den)
TRANSFER FUNCTION
Figure 06: pole zeros to TF
Problem 5
clc; close all;clear all;
p= [-1+4i -1-4i -5];
z= [-8 -5];
k= 0.75;
[num, den]= zp2tf(z',p',k)
g= tf(num, den)
Figure 07: pole zeros to TF
Discussion: Firstly we understand how to find out the poles, zeros and gain using the matlab
code and also find out the transfer function from poles, zeros and gain. After that we practice
some problem from lab manual which is find out the poles, zeros and gain. Then we practice
some other problem which is find out the transfer function from poles, zeros and gain.
Download