Question

1. Use the Routh-Hurwitz test to determine if the system described by the following transfer function is stable. If the syste
0 0
Add a comment Improve this question Transcribed image text
Answer #1

ols-3) CtS) RLS) here 6 rlem is Slable. and RHS Pole is Zevo. S3 Sa R. H. Pole=0 Pole on Tmeiny axis Synlem is magina StekleS 1 25 0 Syf tem is unstable and No of R-Hs pole 63วั £02.5 S 3s Syple is tab No. of RHs Pole o

To Verify this answer in Matlab, Matlab Code is given Below :

clear ;
close all;
clc
% Taking coefficients vector and organizing the first two rows
coeffVector = input('input vector of your system coefficients: i.e. [an an-1 an-2 ... a0] = ');
ceoffLength = length(coeffVector);
rhTableColumn = round(ceoffLength/2);
% Initialize Routh-Hurwitz table with empty zero array
rhTable = zeros(ceoffLength,rhTableColumn);
% Compute first row of the table
rhTable(1,:) = coeffVector(1,1:2:ceoffLength);
% Check if length of coefficients vector is even or odd
if (rem(ceoffLength,2) ~= 0)
% if odd, second row of table will be
rhTable(2,1:rhTableColumn - 1) = coeffVector(1,2:2:ceoffLength);
else
% if even, second row of table will be
rhTable(2,:) = coeffVector(1,2:2:ceoffLength);
end
%% Calculate Routh-Hurwitz table's rows
% Set epss as a small value
epss = 0.01;
% Calculate other elements of the table
for i = 3:ceoffLength

% special case: row of all zeros
if rhTable(i-1,:) == 0
order = (ceoffLength - i);
cnt1 = 0;
cnt2 = 1;
for j = 1:rhTableColumn - 1
rhTable(i-1,j) = (order - cnt1) * rhTable(i-2,cnt2);
cnt2 = cnt2 + 1;
cnt1 = cnt1 + 2;
end
end
  
for j = 1:rhTableColumn - 1
% first element of upper row
firstElemUpperRow = rhTable(i-1,1);
  
% compute each element of the table
rhTable(i,j) = ((rhTable(i-1,1) * rhTable(i-2,j+1)) - ....
(rhTable(i-2,1) * rhTable(i-1,j+1))) / firstElemUpperRow;
end
  
  
% special case: zero in the first column
if rhTable(i,1) == 0
rhTable(i,1) = epss;
end
end
%% Compute number of right hand side poles(unstable poles)
% Initialize unstable poles with zero
unstablePoles = 0;
% Check change in signs
for i = 1:ceoffLength - 1
if sign(rhTable(i,1)) * sign(rhTable(i+1,1)) == -1
unstablePoles = unstablePoles + 1;
end
end
% Print calculated data on screen
fprintf(' Routh-Hurwitz Table: ')
rhTable
% Print the stability result on screen
if unstablePoles == 0
fprintf(' it is a stable system! ')
else
fprintf(' it is an unstable system! ')
end
fprintf(' Number of right hand side poles =%2.0f ',unstablePoles)

Add a comment
Know the answer?
Add Answer to:
1. Use the Routh-Hurwitz test to determine if the system described by the following transfer function...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT