0% found this document useful (0 votes)
11 views2 pages

Control System - Exp 7

The document outlines an experiment to find the step response of two transfer functions using MATLAB. The first transfer function is G(s) = (4500k)/(s^2 + 361.2s + 4500k) and the second is G(s) = (1.5×10^7)k/(s^3 + 3408.3s^2 + 1204000s + (1.5×10^7)k), with k values of 7.248, 14.5, and 181.2. The MATLAB code provided generates step response plots for each transfer function and k value.

Uploaded by

Uddhav Mittal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Control System - Exp 7

The document outlines an experiment to find the step response of two transfer functions using MATLAB. The first transfer function is G(s) = (4500k)/(s^2 + 361.2s + 4500k) and the second is G(s) = (1.5×10^7)k/(s^3 + 3408.3s^2 + 1204000s + (1.5×10^7)k), with k values of 7.248, 14.5, and 181.2. The MATLAB code provided generates step response plots for each transfer function and k value.

Uploaded by

Uddhav Mittal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CONTROL SYSTEM (ECICC18)

Uddhav Mohan Mittal


2022UEC2646
ECE-2

Experiment 7 : To find the Step response of (a) G(s)= (4500k)/(s^2+361.2s+4500k) For


k=7.248;14.5;181.2 (b) G(s) = (1.5x10^7)k/(s^3+3408.3s^2+1204000s+(1.5x10^7)k) For k=
7.248;14.5;181.2 using MATLAB.

clc; clear; close all;

k_values = [7.248, 14.5, 181.2];

%% (a) Transfer Function: G(s) = (4500k)/(s^2 + 361.2s + 4500k)


figure;
for i = 1:length(k_values)
k = k_values(i);
num = 4500 * k; % Numerator
den = [1, 361.2, 4500 * k]; % Denominator
sys = tf(num, den); % Transfer function

subplot(length(k_values), 1, i);
step(sys); % Step response
title(['Step Response of G(s) for k = ', num2str(k)]);
grid on;
end
sgtitle('(a) Step Response for G(s) = (4500k)/(s^2 + 361.2s + 4500k)');

%% (b) Transfer Function: G(s) = (1.5×10^7)k/(s^3 + 3408.3s^2 + 1204000s + (1.5×10^7)k)


figure;
for i = 1:length(k_values)
k = k_values(i);
num = 1.5e7 * k; % Numerator
den = [1, 3408.3, 1204000, 1.5e7 * k]; % Denominator
sys = tf(num, den); % Transfer function

subplot(length(k_values), 1, i);
step(sys); % Step response
title(['Step Response of G(s) for k = ', num2str(k)]);
grid on;
end
sgtitle('(b) Step Response for G(s) = (1.5×10^7)k/(s^3 + 3408.3s^2 + 1204000s + (1.5×10^7)k)');

You might also like