Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Transfer Functions

1. Assume that the unit step response of a linear time-invariant system is given by

c(t) = 1 + e-tcos(t) + e-2t sin(3t), t ≥ 0.                       (1)

(a) Obtain the transfer function of the system.

(b) Determine the zeros and poles of the system.

Linearization of Nonlinear Dynamical Systems

2. Consider a 1 (kg) mass connected to a nonlinear damper and spring whose forces are given by 2 tanh(x·)  and 2 tan-1(x), respectively, in which x and x· represent the horizontal position (m) and velocity (m/s) of the mass. Then, the dynamical equation of motion can be given by

x¨ + 2 tanh(x·) + 2 tan-1(x) = u,                                   (2)

where u denotes the external force applied to the mass.

(a) Present a state-space equation for the dynamical system in (2).

(b) Using MATLAB/Simulink, obtain the system response for a step input with the magnitude 0.1 (N) and initial conditions being x(0) = 0 (m) and x·(0) = 0 (m/s) over the time interval [0, 10](s).

(c) Obtain the linearized model of (2) around x = 0 (m) and x· = 0 (m/s).

(d) Using MATLAB/Simulink, obtain the response of the linearized system for a step input with the magnitude 0.1 (N) and initial conditions being zero over the time interval [0, 10](s).

(e) Plot the responses of the linearized and nonlinear systems together and compare the solutions. What do you conclude?

Mathematical Modeling

3. Consider the dynamical system of Fig. 1, in which x1 and x2 represent the vertical displacements of masses m1 and m2 with respect to the ground, respectively. Let u denote the external force applied to mass m1. Assume that m1 = 10 (kg) m2 = 0.1 (kg), and k1 = k2 = 10 (N/m).

Remark: Do not consider the gravity terms.

(a) Present a state-space equation for the dynamical system in Fig.1.

(b) Using MATLAB/Simulink, plot the system response for a step input with the magnitude 0.1(N), and initial conditions x1(0) = 0.1 (m), x2(0) = -0.1 (m), x·1(0) = x·2(0) = 0 (m/s) over the time interval [0, 10](s).

(c) Obtain the transfer functions x1(s)/u(s) and x2(s)/u(s). Compute the zeros and poles of these transfer functions.

2170_Figure.png

Second-Order Systems

4. Consider a rigid body with the moment of inertia J rotating around a fixed axis. Let θ, ω = θ? and u represent the angular position and velocity of the body, and the external torque applied to the body, respectively. Here, we assume that there are no rotational friction and compliance in this motion. To stabilize the position of the body, we employ a control system as shown in Fig. 4. The closed-loop system includes position and velocity loops with gains Kp and Kv, respectively.

(a) Obtain the closed-loop transfer function θ(s)/r(s), where r(s) is the set-point for the position.

(b) Assume that J = 1 (kgm2). Design Kp and Kv such that the maximum overshoot and the peak time for the unit step response become 0.2 and 1 (s), respectively.

659_Figure1.png

Design of a PID Controller for the Ball and Beam System

5. Physical Setup: A ball is placed on a beam, see figure below, where it is allowed to roll with 1 degree of freedom along the length of the beam. A lever arm is attached to the beam at one end and a servo gear at the other. As the servo gear turns by an angle θ, the lever changes the angle of the beam by α. When the angle is changed from the horizontal position, gravity causes the ball to roll along the beam. A controller will be designed for this system so that the ball's position can be manipulated.

647_Figure2.png

System Parameters: For this problem, we will assume that the ball rolls without slipping and friction between the beam and ball is negligible. The constants and variables for this problem are defined as follows:

(m) mass of the ball = 0.11 (kg)

(R) radius of the ball = 0.015 (m)

(d) lever arm offset = 0.03 (m)

(g) gravitational acceleration =9.8 (m/s2)

(L) length of the beam =1.0 (m)

(J) ball's moment of inertia = 9.99 × 10-6(kg.m2)

(r) ball position coordinate

(α) beam angle coordinate

(θ) servo gear angle

System Equations: The second derivative of the input angle α actually affects the second derivative of r. However, we will ignore this contribution. The Lagrangian equation of motion for the ball is then given by the following:

0 = (J/R2 + m)r·· + mg sinα - mrα·2                (3)

Linearization of this equation about the beam angle, α = 0, gives us the following linear approximation of the system:

(J/R2 + m)r¨ = -mgα                                        (4)

The equation which relates the beam angle to the angle of the gear can be approximated as linear by the equation below:

α = (d/L)θ                                                        (5)

Substituting this into the previous equation, we get:

(J/R2 + m)r¨ = -mg(d/L)θ                                 (6)

  • By taking the Laplace transform of the equation (6), obtain the transfer function of the open-loop system, defined as, G(s) := r(s)/θ(s). Here, the servo gear angle θ is assumed to be the control input for the open-loop system.
  • Design a unity closed-loop control system with the desired input rd (i.e., desired ball position) and the actual output r (i.e., actual ball position) using a PID controller to achieve the following requirements: (1) Settling time < 3 seconds, and (2) Overshoot < 5%.
  • Using MATLAB/Simulink, simulate the linear closed-loop system's response for a step input 0.1 (m) in the presence of a step-like external disturbance with the magnitude 5π/180 (rad) over the time interval [0, 10] (s).
  • Using final value theorem, compute the final value of the closed-loop output, i.e., limt→∞ r(t), for a ramp input in the absence of the external disturbance. Repeat this computation for an acceleration input. Check your results with MATLAB/Simulink.

Design of a PID Controller for an Aircraft Pitch System

5. Physical Setup: The equations governing the motion of an aircraft are a very complicated set of six nonlinear coupled differential equations. However, under certain assumptions, they can be decoupled and linearized into longitudinal and lateral equations. Aircraft pitch is governed by the longitudinal dynamics. In this problem, we will design an autopilot that controls the pitch of an aircraft.

The basic coordinate axes and forces acting on an aircraft are shown in the figure given below.

2324_Figure3.png

We will assume that the aircraft is in steady-cruise at constant altitude and velocity; thus, the thrust, drag, weight and lift forces balance each other in the x- and y-directions. We will also assume that a change in pitch angle will not change the speed of the aircraft under any circumstance (unrealistic but simplifies the problem a bit). Under these assumptions, the longitudinal equations of motion for the aircraft can be written as follows:

α· = -0.313α + 56.7q + 0.232δ                                   (7)

q· = -0.0139α - 0.426q + 0.0203δ                               (8)

θ· = 56.7q.                                                               (9)

For this system, the input will be the elevator deflection angle δ and the output will be the pitch angle θ of the aircraft. The numerical values are taken from the data from one of Boeing's commercial aircraft.

  • By taking the Laplace transform of the above equations, obtain the transfer function of the open-loop system, defined as, G(s) := θ(s)/δ(s).
  • Design a unity closed-loop control system with the desired input θd (i.e., desired pitch position) and the actual output θ (i.e., actual pitch position) using a PID controller to achieve the following requirements: (1) Settling time < 10 seconds, and (2) Overshoot < 10%.
  • Using MATLAB/Simulink, simulate the closed-loop system's response for a step input 0.1 (rad) in the presence of a step-like external disturbance with the magnitude -6π/180 (rad) over the time interval [0, 20] (s).
  • Using final value theorem, compute the ?nal value of the closed-loop output, i.e., limt→∞ θ(t), for a ramp input in the absence of the external disturbance. Check your results with MAT-LAB/Simulink.

Attachment:- Assignment Files.rar

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92255812
  • Price:- $160

Guranteed 48 Hours Delivery, In Price:- $160

Have any Question?


Related Questions in MATLAB

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As