Question

In: Electrical Engineering

   How do I calculate the steady-state pitch angle for the unity step input for the...

  

How do I calculate the steady-state pitch angle for the unity step input for the above system in matlab workspace?

Solutions

Expert Solution

consider the system with the dynamic equations in the Laplace domain and the open-loop transfer function of the aircraft pitch as given below :

sA(s) = -0.213 A(s) + 46.7 Q(s) + 0.332 (s)

sQ(s) = -0.0139 A(s)-0.426Q(s) +0.0203 (s)

s(s) = 46.7 Q(s)

P(s) = (s) / (s) = 1.161s + 0.1784 / s3 + 0.738 s2 + 0.821s

For a step reference, the design criteria are the following.

  • Overshoot less than 10%
  • Rise time less than 2 seconds
  • Settling time less than 10 seconds
  • Steady-state error less than 2%

From the analysis of open loop response we can see that the open loop response is unstable. In order to stabilize the system a feedback controller is needed.

The closed-loop transfer function for the above with the controller C(s) simply set equal to one can be generated using the MATLAB command feedback as shown below.

sys_cl = feedback(P_pitch,1)
sys_cl =
 

           1.161 s + 0.1784
  ----------------------------------
  s^3 + 0.738 s^2 + 2.072 s + 0.1784
 
Continuous-time transfer function.

the corresponding step response can be generated by adding the above and following commands to your m-file. Note that the response is scaled to model the fact that the pitch angle reference is a 0.2 radian (11 degree) step. Running your m-file at the command line will produce the plot which will show the rise time, settling time and final value by clicking 'characteristics'.

         step(0.2*sys_cl);
         ylabel('pitch angle (rad)');
         title('Closed-loop Step Response');

We can transform the output back to the time domain to generate a time function for the system's response to get some insight into how the poles and zeros of the closed-loop transfer function affect the system's response. Assuming the closed-loop transfer function has the form Y(s) / R(s), the output Y(s) in the Laplace domain is calculated as follows where R(s) is a step of magnitude 0.2.

Y(s) = 1.161 s + 0.1784 / s^3 + 0.738 s^2 + 2.072 s + 0.1784 X R(s)

Y(s) = 1.161 s + 0.1784 / s^3 + 0.738 s^2 + 2.072 s + 0.1784 X 1/s  

  Y(s) = 1.161 s + 0.1784 / s^4 + 0.738 s^3 + 2.072 s^2 + 0.1784s

Based on the above, the denominator of our output Y(s) can be factored into a first-order term for the real pole of the transfer function, a second-order term for the complex conjugate poles of the transfer function, and a pole at the origin for the step input. Therefore, it is desired to expand Y(s) as shown below.

Y(s) = A/s + B / s+ 0.08905 + Cs+D / s^2 + 0.640s + 2.023

The specific values of the constants A, B, C, and D can be determined by hand calculation or by using the MATLAB command residue to perform the partial fraction expansion ( [r,p,k] = residue(num,den) ) . so the resulting values of A, B,C&D are 0.2, 0.0891, 0.12 & 0.087 respectively.

entering the following code in the MATLAB command window will generate the desired plot with steady state pitch angle

t = [0:0.1:70];
y = 0.2 - 0.0891*exp(-0.08905*t) - exp(-0.3255*t).*(0.12*cos(1.3816*t)+0.0320*sin(1.3816*t));
plot(t,y)
xlabel('time (sec)');
ylabel('pitch angle (rad)');
title('Closed-loop Step Response');

Related Solutions

how do I find the steady-state equation???
how do I find the steady-state equation???
How do I calculate this? Please include detailed step by step method to solve. The Springvale...
How do I calculate this? Please include detailed step by step method to solve. The Springvale Seaside owners see the change in profits from the price decrease in May and the projection for June. They decide to go back to a price of $81.00 and have sales of 35,000 boxes in June. The May production required staff to work 2 weekends and there were many complaints. No one wanted to work weekends during vacation season in Maine and there was...
How calculate the steady-state level of income per capita?
How calculate the steady-state level of income per capita?
How do I prove (step by step) Thales' Theorem?
How do I prove (step by step) Thales' Theorem?
how do i calculate the ETF Value(in $). HOW DO I CALCULATE WHAT FOR THIS ANSWER?...
how do i calculate the ETF Value(in $). HOW DO I CALCULATE WHAT FOR THIS ANSWER? Day Value of Index Index Daily Change ETF Expected % Change ETF Value (in $) 1 100 100 2 110 10.0 20 120.00 3 100 -9.1 -18.2 98.16 4 90 -10.1 -20.2 78.33
I need to show how to calculate step by step! Sephora wants to evaluate the effect...
I need to show how to calculate step by step! Sephora wants to evaluate the effect of its loyalty program with customer lifetime value (CLV). The expected profits per customer is assumed to be $300 over the next five years, the chur rate is 15% before the program and 10% after Sephora launched the program. The development cost of the program is $200,000,000. Fill in the CLV table below. Calculate the ROI of the loyalty program. With the program Year...
Can I get a Step by Step on how to do this problem Test the claim...
Can I get a Step by Step on how to do this problem Test the claim that the proportion of people who own cats is larger than 80% at the 0.005 significance level. The null and alternative hypothesis would be: H0:p≤0.8H0:p≤0.8 H1:p>0.8H1:p>0.8 H0:μ=0.8H0:μ=0.8 H1:μ≠0.8H1:μ≠0.8 H0:p≥0.8H0:p≥0.8 H1:p<0.8H1:p<0.8 H0:p=0.8H0:p=0.8 H1:p≠0.8H1:p≠0.8 H0:μ≥0.8H0:μ≥0.8 H1:μ<0.8H1:μ<0.8 H0:μ≤0.8H0:μ≤0.8 H1:μ>0.8H1:μ>0.8 The test is: right-tailed left-tailed two-tailed Based on a sample of 700 people, 82% owned cats The test statistic is:  (to 2 decimals) The p-value is:  (to 2 decimals) Based...
How do I find the angle between two three-dimensional vectors?
How do I find the angle between two three-dimensional vectors?
Please provide step by step detailing on how i should do this assignment. In Angel, you...
Please provide step by step detailing on how i should do this assignment. In Angel, you will find a class called Employee. This class should include a constructor which sets name to blanks and salary to $0.00 and a constructor which sets name to a starting name and salary to a set amount. Additionally, the class should include methods to set the name and salary and return the name and salary. Create another method to return the name and salary...
How do I create a state of operations for healthcare?
How do I create a state of operations for healthcare?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT