Problem Set
Last updated
Was this helpful?
Last updated
Was this helpful?
The longitudinal dynamic model of a Boeing 747 aircraft flying at a speed 870 ft/s is obtained as
where u change in flight speed expressed as a fraction of the equilibrium speed (non- dimensional) change in angle of attack from trim, rad q pitch rate, rad/sec change in pitch attitude from trim, rad change in elevator deflection from trim, rad
Answer the following questions:
For Problem 1, a printout of your MATLAB script with the answers written in the script using comments is acceptable. Attach the plots that have been asked.
(i) Find the eigenvalues and eigenvectors of the system matrix. (1 point)
(ii) Obtain the transfer function between the pitch attitude and the elevator control input. (2 points)
(iii) Obtain the poles of the transfer function of part (ii). Compare the poles of the transfer function with the eigenvalues of part (i). (2 points)
(iv) Compute the damping ratios, natural frequencies, damped frequencies and time periods of the individual modes. (2 points)
(v) Using the transfer function of part (ii), obtain frequency response plots (Bode plots). (1 point)
(vi) Plot the pitch attitude and pitch rate responses to a step elevator input of 0.02 rad. (2 points)
Consider the following block diagram of a feedback control system:
Given
design a lead compensator
such that the phase margin is 60, the gain margin is not less than 10 dB, and the static velocity error constant Kv is 0.75. Your final answer should have the desired values of K, a and b. Plot the unit step response of the closed-loop system.
An engineering laboratory has presented a plan to operate an Earth-orbiting satellite that is to be controlled from a ground station. A block diagram of the proposed system is shown in the figure. It takes T seconds for the signal to reach the spacecraft from the ground station and an identical delay for the return signal. The proposed ground-based controller is a proportional-derivative (PD) controller. Assume no transmission delay (i.e., T=0), and design a controller to the following specifications: (i) percent overshoot of 8% to a unit step input, and (ii) time to peak roughly at 2 sec to a unit step input. Compute the closed loop system damping ratio and natural frequency and phase margin with the controller in the loop but assuming a zero transmission time delay. Estimate the amount of allowable time delay for a stable system from the phase margin calculation.
Consider the differential equation given by:
A SIMULINK model for this system is given in the following figure:
Using the figure as a guide, create your own Simulink model. For , , plot the position and the velocity over the time interval [0, 25] sec for the following cases. (i) r(t) is a unit step input, and zero initial conditions
(ii) r(t) is zero,
(iii) r(t) is zero,
(iv) r(t) is a sinusoidal input of amplitude of 3 and frequency of 2 rad/s, i.e., and .
The following differential equation describes the dynamics of a system:
where is the system output, and is the control input. It is required to implement a proportional plus derivative controller (PD controller) with control law of the form
Draw a SIMULINK block diagram for this system with as the input and as the output.
Use
Simulate the closed-loop system response to the following command inputs of :
(a) pulse input of unit magnitude and pulse width of 2 seconds starting at s.
(b) step input of magnitude 2 starting at s.
Print out your SIMULINK diagram, command input plots and response plots.
Develop the following block diagram in SIMULINK. The “Zero Order Hold” block accounts for the sampling time in digital control systems. Run the simulation for a sampling time of 0.2, 0.5, 0.8, 1.5 and 2 seconds, for a period of 30 sec. Plot these 5 graphs superimposed on the same axis. What is the effect of sampling time on system response?
Refer to question 1 for the state space matrices A and B as well as the defined state vector. You will need to determine the C and D matrices as needed. Using SIMULINK, create a conventional proportional controller for a pitch angle command system, using a gain of , i.e., . Simulate the response over a time range of to . Use a pitch angle pulse command input of magnitude of rad, pulse width of and the pulse starting at and ending at . Create plots of pitch angle command , pitch attitude and altitude () versus time.
Show the SIMULINK model, C and D matrices, a plot of pitch attitude command and pitch attitude response (both on the same plot) versus time and a plot of climb rate response versus time. You should only need the following blocks in SIMULINK: step input, sum, gain, state space, demux and workspace blocks.
Your task is to design a position controller for a spacecraft. The spacecraft has a mass of 4000 kg, and you can idealize it as a point mass. There is a thruster on each axis, 3 perpendicular axes total. These thrusters allow both pushing and pulling forces (this way we don’t need 6). You can directly control how much thrust is applied to each thruster, positive or negative, in units of Newtons, where positive thrust will move the spacecraft in the positive axis direction. The thrust F = 1000u, where u is the thruster input (the input to your plant). Design a position controller using feedback from your IPS (interstellar position system), which outputs in units of meters. (Assume that when you start using your controller you will reset the system to output a value of 0m on each axis.) Use a PD controller.
i) First, do this by creating a state space model of your system. You should assume that the spacecraft’s IPS system is perfect, and simulate its output through the use of the state variables that you define. Remember that the only information the IPS provides is displacement. (Output from your plant should not include velocities.) You will need to show the A, B, C, and D matrices that you create. You will put this model into SIMULINK using the SS block.
First, obtain the equations of motion. With X, Y, Z as inertial position and U, V, W as inertial velocity components, then
where is the spacecraft mass and are the total external force components along the inertial X, Y, Z axes, respectively. If only forces acting on the spacecraft are the forces from the thrusters, then
where and are the control inputs to the thrusters. The above set of equations can be rearranged as
By defining the state vector as
the control vector as
and the output vector as
obtain the A, B, C and D matrices needed in the SS block of your SIMULINK model.
ii) Create your control system in SIMULINK. (You can only use variables that the IPS provides, or functions of those variables, as feedback to the control system. For now, assume that you can take the derivative of these variables, but note that in general taking the derivative of experimental digital variables is a BAD thing!) Then use it to determine gains that work. (You don’t have to optimize your gains, we will do that during the semester in lab, just pick something that gives a decent response. You may test your model using a step input on each axis if you wish.)
iii) Next, simulate your control system for the following hypothetical situation. During a trip through interstellar space, an enemy ship intercepts your path and locks on with a tractor beam. Their ship has matched your velocity and is located at (-100, -200, -100), in meters, with respect to you. The tractor beam is pulling your ship towards theirs with 5000 N of force. Your response to this attack is to reposition your ship at coordinates (10, 5, 4) to get out of their firing path. (Assume that your movement won’t change the tractor beam orientation enough to matter. Remember that in interstellar space speed is relative, so it doesn’t matter how fast you were originally moving, and that your original position at the time of attack is the origin of your coordinate system.)
You need to turn in your simulation responses for each axis, include both the command input and the response on the same plot. Also, turn in your SIMULINK model, with labels, and all state space matrices, with the state, control, and output vectors defined, as well as any gains that you used. (Do not use the PID block in SIMULINK, ever. You should use the following blocks: state space, summation, constant source, step input, output to workspace, gain, mux, and demux.)