The block diagram below represents a system with position and velocity feedback. R(s)- F(s) C,(s) -U(s)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The block diagram below represents a system with position and velocity feedback. R(s)- F(s) C,(s) -U(s) G,(s) C₂(S) n(s) N(S) S H(s) G,(s) Block diagram for system with position and velocity feedback - Y(s) Inputs are the command, R(s), and disturbance, n(s). Outputs are the position, Y(s), and the controller output, U(s). Transfer functions for the blocks are provided in the script below. MATLAB can be used to combine transfer functions using the append and connect functions. Alternatively, transfer functions can be combined by multiplying and adding transfer functions directly, or by using the feedback, parallel, and series functions. Step response parameters, such as %OS and T,, can be found using the stepinfo function. The pole and zero functions return the poles and zeros of a system. Write a script that uses MATLAB to simplify and analyze the block diagram above. The MATLAB script must do the following: 1) Create the transfer function 7 (s) = Y(s). The transfer function must be stored in the variable T R(s) 2) Create the transfer function D(s)=(s) The transfer function must be stored in the variable D R(s) 3) Create the transfer function E(s) = Y(s). The transfer function must be stored in the variable E n(s) 4) Calculate the poles of T(s). The poles' values must be stored in the variable Tpole ▪ T(s) has multiple poles. The poles' values should be stored in a vector. MATLAB's pole and roots functions automatically store multiple values in a vector. 5) Calculate the zeros of T(s). The zeros' values must be stored in the variable Tzero ▪ T(s) has multiple zeros. The zeros' values should be stored in a vector. MATLAB's zero and roots functions automatically store multiple values in a vector. 6) Determine the settling time, T., for T(s). The value of T, must be stored in the variable Tset ▪ MATLAB's stepinfo function can be used to find T, or %OS. ▪ → To get help using stepinfo, press Submit without answering Step 6 and review the assessment feedback for Step 6 provided below. 7) Determine the percent overshoot, %OS, for T(s). T(s)'s percent overshoot value must be stored in the variable Tos ▪ Use MATLAB's stepinfo function to find %OS. Ex: Tos-50 corresponds to 50% overshoot. 8) Determine the percent overshoot, % OS, for D(s). D(s)'s percent overshoot value must be stored in the variable Dos ▪ Use MATLAB's stepinfo function to find %OS. 1% clear; close all; % clear all variables and graphs 2% include when using the desktop version of MATLAB. clear and close all are not needed in MATLAB Grader online. 3 % 4 format compact; % removes extra lines in the output 5 6% System transfer functions 7 F=tf(2,1); 8 G1-tf(2, [1 4]); 9 G2= tf([8*8],[1 2*0.8*8 8*8 ]); 10 C2-tf(20, [1 20]); 11 S1-tf(1,1); % a unity transfer function, that can be used if needed 12 C1-tf([55], [110]); 13 H=tf(30, [1 30]); 14 N=tf(50, [1 100]); The block diagram below represents a system with position and velocity feedback. R(s)- F(s) C,(s) -U(s) G,(s) C₂(S) n(s) N(S) S H(s) G,(s) Block diagram for system with position and velocity feedback - Y(s) Inputs are the command, R(s), and disturbance, n(s). Outputs are the position, Y(s), and the controller output, U(s). Transfer functions for the blocks are provided in the script below. MATLAB can be used to combine transfer functions using the append and connect functions. Alternatively, transfer functions can be combined by multiplying and adding transfer functions directly, or by using the feedback, parallel, and series functions. Step response parameters, such as %OS and T,, can be found using the stepinfo function. The pole and zero functions return the poles and zeros of a system. Write a script that uses MATLAB to simplify and analyze the block diagram above. The MATLAB script must do the following: 1) Create the transfer function 7 (s) = Y(s). The transfer function must be stored in the variable T R(s) 2) Create the transfer function D(s)=(s) The transfer function must be stored in the variable D R(s) 3) Create the transfer function E(s) = Y(s). The transfer function must be stored in the variable E n(s) 4) Calculate the poles of T(s). The poles' values must be stored in the variable Tpole ▪ T(s) has multiple poles. The poles' values should be stored in a vector. MATLAB's pole and roots functions automatically store multiple values in a vector. 5) Calculate the zeros of T(s). The zeros' values must be stored in the variable Tzero ▪ T(s) has multiple zeros. The zeros' values should be stored in a vector. MATLAB's zero and roots functions automatically store multiple values in a vector. 6) Determine the settling time, T., for T(s). The value of T, must be stored in the variable Tset ▪ MATLAB's stepinfo function can be used to find T, or %OS. ▪ → To get help using stepinfo, press Submit without answering Step 6 and review the assessment feedback for Step 6 provided below. 7) Determine the percent overshoot, %OS, for T(s). T(s)'s percent overshoot value must be stored in the variable Tos ▪ Use MATLAB's stepinfo function to find %OS. Ex: Tos-50 corresponds to 50% overshoot. 8) Determine the percent overshoot, % OS, for D(s). D(s)'s percent overshoot value must be stored in the variable Dos ▪ Use MATLAB's stepinfo function to find %OS. 1% clear; close all; % clear all variables and graphs 2% include when using the desktop version of MATLAB. clear and close all are not needed in MATLAB Grader online. 3 % 4 format compact; % removes extra lines in the output 5 6% System transfer functions 7 F=tf(2,1); 8 G1-tf(2, [1 4]); 9 G2= tf([8*8],[1 2*0.8*8 8*8 ]); 10 C2-tf(20, [1 20]); 11 S1-tf(1,1); % a unity transfer function, that can be used if needed 12 C1-tf([55], [110]); 13 H=tf(30, [1 30]); 14 N=tf(50, [1 100]);
Expert Answer:
Answer rating: 100% (QA)
To solve these tasks in MATLAB we need to use the provided system transfer functions and apply the block diagram reduction rules to find the closedloo... View the full answer
Related Book For
Posted Date:
Students also viewed these accounting questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
A direct-drive arm is an innovative mechanical arm in which no reducers are used between motors and their loads. Because the motor rotors are directly coupled to the loads, the drive systems have no...
-
What is the effect of cultural commoditization and transformation on local traditions and customs? Give an example. Check Chapter 4 in the textbook for information on cultural commoditization and...
-
The following list shows the top six pharmaceutical companies in the United States and their sales figures ($ millions) for a recent year. Use this information to construct a pie chart and a bar...
-
Multiple charges at different locations are said to be in equilibrium if the force acting on any one of them is identical in magnitude and direction to the force acting on any of the others. Suppose...
-
Given the network in figure, find the average power supplied to the circuit. j1n 12/0 A 4/0 v (+ :-j20
-
The multiple testing problem states that as more hypothesis tests are performed, small P-values become ___________________ meaningful. In Exercises 3 and 4, fill in each blank with the appropriate...
-
A 20-year-old student decided to set aside $100 on his 2pt birthday for investment. Each subsequent year through his 55th birthday, he plans to increase the sum for investment on a $100 arithmetic...
-
Michelle has been a registered nurse since obtaining her RN at age 28 She has been living in Brampton since her childhood, and feels that serving the community that her parents raised her in is her...
-
On December 31, 2021, the end of its first year of operations, Botani Associates owned the following securities that are held as long-term investments. On this date, the total fair value of the...
-
12. [6 marks] f dx. (a) Using the trapezoidal rule with n = 4, estimate the integral (b) Calculate the exact result and compare this with the approximate answer in part (a) by calculating the...
-
If fund managers are talented, why do the returns of their funds to investors not have positive alphas?
-
Why are the value and cash flows of levered equity less than if the firm had issued unlevered equity?
-
Why will a short-term and long-term investor with the same beliefs be willing to pay the same price for a stock?
-
Why are investors indifferent to the firms capital structure choice?
-
How can you estimate a firms stock price based on its projected free cash flows?
-
The incorporators of Beta Corporation would like to make a counter offer to an angel investor. The latter is offering P4,000,000 for a 50% share in the business. They would like to make a direct...
-
Define deferred revenue. Why is it a liability?
-
Different signal-flow graphs can represent the same system. Which form facilitates the calculation of the variable gains during controller design?
-
Repeat Problem 43 using MATLABs Symbolic Math Toolbox and Eq. (4.96). In addition, run your program with an initial condition, Data From Problem 43: Solve for y(t) for the following system...
-
Repeat Problem 31 for the system of Figure P6.7. Data From Problem 13: Use the Routh-Hurwitz criterion to find the range of K for which the system of Figure P6.6 is stable. R(s) + E(s) K(s + 1) C(s)...
-
Describe the Borgman method for the generation of a random time history in physical terms. Why does it work?
-
For Example 9.13, derive the expressions for \(\mu_{k_{1}}\) and \(\sigma_{k_{1}}^{2}\). Example 9.13 An Uncertain Two Degree-of- Freedom System Use the two-term Taylor series approximation and the...
-
In Example 9.13, formulate expressions for the mean value and variance of \(R_{3}\). Example 9.13 An Uncertain Two Degree-of- Freedom System Use the two-term Taylor series approximation and the...
Study smarter with the SolutionInn App