Design of a pid controller for an aircraft pitch system

Assignment Help MATLAB Programming
Reference no: EM131457441 , Length: 3

Question 1. 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 you denote the external force applied to mass mi. 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.

1761_Mechanical system.jpg

Figure 1: Mechanical system of Problem.

Question 2.

Design of a PID Controller for the Ball and Beam System

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.

1505_Mechanical system1.jpg

Figure 3: Ball and beam system in Problem.

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 (in)
(d) lever arm offset =0.03 (m)
(g) gravitational acceleration =9.8 (m/s2)

(L) length of the beam =1.0 (m)
(I) ball's moment of inertia =9.99x 10-6 (kg.m2)

(r) ball position coordinate
(α) beam angle coordinate
(θ) servo gear angle

System Equations: The second derivative of the input angle a 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¨ + mgsinα - mrα·2 (3)

Linearization of this equation about the beam angle, a = 0, gives us the following linear approxi-mation 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.θ

Substituting this into the previous equation, we get:

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

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.

Question 3. Design of a PID Controller for an Aircraft Pitch System

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.

1620_Mechanical system2.png

Figure 4: System to be controlled.

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 6 and the output will be the pitch an¬gle 0 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, 0(s)

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 0 (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 over the time interval [0, 20] (s).

- Using final value theorem, compute the final 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 MATLAB/Simulink.

Reference no: EM131457441

Questions Cloud

Formulate constraint to ensure there are no overfilled buses : Consider a school district's problem to assign student from different villages to central schools. Typically, with the closing of small neighborhood schools.
Determine the optimal solution point : Graph the constraints, determine the feasible set, and use the graphical solution method to determine the optimal solution point. Which constraints are binding.
Describe the eight elements of the staffing process : Describe the eight elements of the staffing process. Examine relationship between eight elements of staffing process and four activities related to HR planning.
Social learning theory and behavioral therapy : you will be annotating 4 scholarly (peer-reviewed) journal articles. You will select 2 articles that support Behavioral Learning Theory.
Design of a pid controller for an aircraft pitch system : Design of a PID Controller for an Aircraft Pitch System - Present a state-space equation for the dynamical system - Design a unity closed-loop control system
Graph the constraints and determine the feasible set : Graph the constraints, determine the feasible set, and use the graphical solution method to determine the optimal solution point.
Draw a graph showing the buyer profit and loss : FIN200 - Principles of Finance Assignment. Draw a graph showing the buyer's profit and loss at the same share price range
How did you feel when others were engaged with object : Choose something of significance to give up for the next 8 modules/weeks. You could choose something like Facebook, Twitter, texting.
What does it mean to map the consumption chain : What does it mean to map the consumption chain? What does it mean to "hire" a product to do a "job" for you? Is this a useful perspective? Why or why not?

Reviews

len1457441

4/10/2017 7:53:22 AM

I need the step-by-step process for these problem and any MATLAB code used for these problems. Using final value theorem, compute the final value of the closed-loop output Using MATLAB/Simulink, simulate the linear closed-loop system's response Thank you

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd