Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a script to plot time-domain response of overdamped and underdamped control systems based on user given output functions Y(s) . 3. Ask user to

Write a script to plot time-domain response of overdamped and underdamped control systems based on user given output functions Y(s).

3. Ask user to enter coefficients of the numerator of the output function as a vector.

4. Ask user to enter coefficients of the denominator of the output function as a vector.

5. Use residue function to calculate the partial fractions corresponding to the output function.

6. Find the smallest non-zero real part of the root of denominator (characteristic equation) [smallest non-zero absolute value of the real part of P vector from residue function]. This will be the dominant root of the response and will define the shape of the response, i.e. how long it is going to take for the transient response to decay.

7. Calculate the time constant = 1/dominant root

8. Calculate the time domain response corresponding to each of the partial fraction term up to 10. Keep your interval to be /100. Note that time domain response for each of the partial fraction term for overdamped and underdamped systems can be given by R(k)eP(k)t , where R(k) is the k-th numerator of the partial fraction term and P(k) is the corresponding k-th root of the denominator.

9. Add up all of the individual responses from each of the partial fraction term to get the total response y(t).

10. Plot y(t) vs. t

11. From your program, calculate the peak time, peak value, and percent overshoot for the output

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

ISBN: 1583474013, 978-1583474013

More Books

Students also viewed these Databases questions