Question
Please use MATLAB, screenshot code and results
An automotive power train control system is described by the following matrix equations 1-12 -10 -57 [1] x= 1 0 0 +0 u To 100
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

F12-10-5 u=-K.X+r. 1.12 i -0 o 5 o X + 10 - X- > (T-12 -10 -57 17 Or, XIi oo (o 10 -> x= Ax+ Br - 0 @here, gs is Unit step in

Matlab Codes;:

For case1:

..............................


%Matlab code

%Clears the output screen
clc

%Case1: for K=[1 44 67]

%statement of K matrix
K = [1 44 67]

%statement of A matrix
A = [-12 -10 -5; 1 0 0; 0 1 0] - [1; 0; 0] * K

%statement of B matrix
B = [1; 0; 0]

%statement of C matrix
C = [3 5 -5]

%statement of D matrix
D = [0]

%statement of State space model, Let's name it G.
G = ss(A,B,C,D);

%Plot of Output for time t;
%where t starts from 0, increment in each step by 0.1, ends at 5
t= [0 : 0.01 : 5 ];

%plot of output
stepplot(G,t)
%Turning on Griding
grid on

Output:

K =

1 44 67


A =

-13 -54 -72
1 0 0
0 1 0


B =

1
0
0


C =

3 5 -5


D =

0

- O X Figure 1 File Edit View Insert Tools Desktop Window Help Ou ķ a .. . E Step Response 0.25 0.15 Amplitude 0.05 -0.05 0.5

....................

For case2:

..............................


%Matlab code

%Clears the output screen
clc

%Case1: for K=[10 44 67]

%statement of K matrix
K = [10 44 67]

%statement of A matrix
A = [-12 -10 -5; 1 0 0; 0 1 0] - [1; 0; 0] * K

%statement of B matrix
B = [1; 0; 0]

%statement of C matrix
C = [3 5 -5]

%statement of D matrix
D = [0]

%statement of State space model, Let's name it G.
G = ss(A,B,C,D);

%Plot of Output for time t;
%where t starts from 0, increment in each step by 0.1, ends at 5
t= [0 : 0.01 : 5 ];

%plot of output
stepplot(G,t)
%Turning on Griding
grid on

Output:

K =

10 44 67


A =

-22 -54 -72
1 0 0
0 1 0


B =

1
0
0


C =

3 5 -5


D =

0

- O X Figure 1 File Edit View Insert Tools Desktop Window Help Ou ķ a .. . E Step Response 0.15 0.1 0.05 Amplitude -0.05 0.5

....................

For case3:

..............................


%Matlab code

%Clears the output screen
clc

%Case1: for K=[44 1 1]

%statement of K matrix
K = [44 1 1]

%statement of A matrix
A = [-12 -10 -5; 1 0 0; 0 1 0] - [1; 0; 0] * K

%statement of B matrix
B = [1; 0; 0]

%statement of C matrix
C = [3 5 -5]

%statement of D matrix
D = [0]

%statement of State space model, Let's name it G.
G = ss(A,B,C,D);

%Plot of Output for time t;
%where t starts from 0, increment in each step by 0.1, ends at 5
t= [0 : 0.01 : 5 ];

%plot of output
stepplot(G,t)
%Turning on Griding
grid on

Output:

K =

44 1 1


A =

-56 -11 -6
1 0 0
0 1 0


B =

1
0
0


C =

3 5 -5


D =

0

- O X Figure 1 File Edit View Insert Tools Desktop Window Help Ou ķ a .. . E Step Response -0.1 Amplitude -0.5 0.5 3.5 2.5 Ti

....................

For case4:

..............................

Output:

K =

1 67 44


A =

-13 -77 -49
1 0 0
0 1 0


B =

1
0
0


C =

3 5 -5


D =

0

- O X Figure 1 File Edit View Insert Tools Desktop Window Help Ou ķ a .. . E Step Response 0.25 0.15 -- Amplitude 0.05 -0.05

.......................................

If you have any doubts , Comment down below

Add a comment
Know the answer?
Add Answer to:
Please use MATLAB, screenshot code and results An automotive power train control system is described by...
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
  • please use MATLAB, screenshot the code and the plots. Answer all parts. Laboratory description: The speed...

    please use MATLAB, screenshot the code and the plots. Answer all parts. Laboratory description: The speed control of a high-speed train is represented by the system shown in Figure 1. The transfer function of the train dynamics is as follows. G(s) = 2 + 10s + 20 Laboratory assignment: Part A. For the open-loop system described by the following block diagram, assume that the input r(t) is a unit step. (1) Compute the steady-state system output Yss. (2) Find the...

  • A position control system is given below. Use the MATLAB simulation tool (including Simulink) to ...

    Please provide an original answer. Will thumbs up. Thank you. A position control system is given below. Use the MATLAB simulation tool (including Simulink) to design the controller and to select the appropriate parameters. Please document your source code (submit the code or Simulink block diagrams), show your simulation results, and provide an analysis of obtained results. You are allowed to work in groups of two students. d(t) r(t) yt) то Set d(t)-0 and then design the controller (select gains...

  • control system System Description: The figure 1 and 2 below show, respectively, components and block diagram...

    control system System Description: The figure 1 and 2 below show, respectively, components and block diagram of a motor and the measurements of velocity (via the tacho unit) and position (via the potentiometer). n represents the gearbox ratio between the rotating shaft and the output shaft. The left-hand side of the diagram represents the controller. A reference set point for the rotating shaft is entered in degrees and this is equivalent voltage. The error is calculated by subtracting the measured...

  • Consider the system simulation diagram of Figure 1. This figure shows a simulation diagram form used in the area of automatic control where x[n] is the input, y[n] is the output, and D is the unit shi...

    Consider the system simulation diagram of Figure 1. This figure shows a simulation diagram form used in the area of automatic control where x[n] is the input, y[n] is the output, and D is the unit shift (or delay) operator. 1. Suppose x[n] = 0.8 nµ[n] and assuming zero initial conditions (i.e y[−1] = y[−2] = 0), write a MATLAB program that solves for y[n], 0 ≤ n ≤ 10. Plot both the input signal x[n] and the output signal...

  • Please wriite the matlab code of the question

    &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Please wriite the matlab code of the question :))) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& PROBLEM 4 Suppose that a system is shown in Figure 4. There are three controllers that might be incorporated into this system. 1·G,(s)-K (proportional (P) controller) 2·G,(s)=K/s (integral (I) controller) 3. G (s) K(1+1/s) (proportional, integral (PI) controller) The system requirements are Ts < 10 seconds and P.。. 10% for a unit step response. (a) For the (P) controller, write a piece of MATLAB code to plot root locus...

  • Don't use fplot command. Matlab code. Write out code please, don't make it a screenshot. 2....

    Don't use fplot command. Matlab code. Write out code please, don't make it a screenshot. 2. Use the subplot command to make two plots of the function f(x) = (x + 1)(x - 2)(2x – 0.25) - et one graph for 0 < x <3 and the other for 3 < x < 6. Use a logarithmic scale for the y-axis. Include a plot title (for each subplot), and label both aris(for each subplot).

  • Please show all work, really need to double check this one. 3. Consider a system with...

    Please show all work, really need to double check this one. 3. Consider a system with a following transfer function: G(s) %3D s2 + 2s + 1 a. What are the state equations of the system in control canonical form? Assume the y(t) b. Assume you are using feedback of the form u(t) = -Kx(t) where K = [k, k2]. Calculate values of K so that the response of the system is critically damped. = x, (t).

  • 3. Consider a system with the following state equation h(t)] [0 0 21 [X1(t) [x1(t) y(t)...

    3. Consider a system with the following state equation h(t)] [0 0 21 [X1(t) [x1(t) y(t) [0.1 0 0.1x2(t) X3(t) The unit step response is required to have a settling time of less than 2 seconds and a percent overshoot of less than 5%. In addition a zero steady-state error is needed. The goal is to design the state feedback control law in the form of u(t) Kx(t) + Gr(t) (a) Find the desired regon of the S-plane for two...

  • Problem 4 (25%) Consider the attitude control system of a rigid satellite shown in Figure 1.1....

    Problem 4 (25%) Consider the attitude control system of a rigid satellite shown in Figure 1.1. Fig. 1.1 Satellite tracking control system In this problem we will only consider the control of the angle e (angle of elevation). The dynamic model of the rigid satellite, rotating about an axis perpendicular to the page, can be approximately written as: JÖ = tm - ty - bė where ) is the satellite's moment of inertia, b is the damping coefficient, tm is...

  • Please only solve part C Assume the following state space representation of a discrete-time servomotor system. (As a review for the Final Exam, you might check this state space representation with th...

    Please only solve part C Assume the following state space representation of a discrete-time servomotor system. (As a review for the Final Exam, you might check this state space representation with the difference equation in Problem 1 on Homework 2. This parenthetical comment is not a required part for Homework 8.) 2. 0.048371 u(n) 1.9048x(n) lo.04679 [1,0]x(n) y(n) Compute the open-loop eigenvalues of the system. That is, find the eigenvalues of Ф. Check controllability of the system. Or, answer the...

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