# NG2S857 AC Machines And Root Locus Assessment 2 Answer

Pages: 4 Words: 890

## Question :

 Faculty of Computing, Engineering and Science

Assessment Cover Sheet and Feedback Form

 Module Code:NG2S857 Module Title:Power, Machines, and Control Assessment Title and Tasks: AC Machines & Root Locus. Assessment No. 2

IT IS YOUR RESPONSIBILITY TO KEEP RECORDS OF ALL WORK SUBMITTED

Part B: Marking and Assessment
(to be completed by Module Lecturer)
Part 2:

Part A:  MATLAB/Simulink Modeling of Autopilot System
Briefly read up on aircraft roll control system through Ailerons, and the role of Autopilot and Powered Flight Control Unit (PFCU) to better understand the assignment. Focus on understanding the fundamental aircraft motion – ‘banking turn’.
Creating the Simulation
2. Parts: You will need an Integrator, Transfer, step input block (from the Source folder), and a Scope (from the Sink folder). Also include scope to observe any relevant outputs.
3. Creating signal paths between parts – Align four of the blocks in the untitled window in the order, Step Input – Transfer Function – Integrator – Scope. Now click on the output tag on the Step Input using the left mouse button and drag a line across the screen to contact the input tag on the Transfer Function. Repeat this operation to form the signal path between the Transfer Function and the Integrator, and then from the path between the Integrator and the first scope. Now using the right click mouse button between the Transfer Function and the Integrator, connect to the Scope.
4. Setting the Step Input – Double-click on the Step Input. Check that the step time is 1, and the initial value is 0, and that the final value is 1. Click OK.
5. Setting the Roll rate to Aileron Transfer Function – Double click on the Transfer Function. Set the numerator window to [2]. Set the denominator window to [1 4]. Click OK.
Note this enters the transfer function:
1. Setting the Integrator – Double click on the integrator and check that the initial value is set to 0.
2. Naming the blocks
1. Aileron – Click on the label below the Step Input and type ‘Aileron’.
2. Roll Rate/Aileron Transfer Function – Click on the label below the Transfer Function and type ‘Roll rate/aileron TF’.
3. Roll Angle Graph – Click on the label below the first Auto Scale Graph and type ‘Roll Angle’.
4. Roll Rate Graph – Click on the label below the second Auto Scale Graph and type ‘Roll Rate’ in its place.
3. Saving the Simulation – From the file menu select Save as. Enter ‘RollControlA’ in the appropriate window of the dialog box that appears. Click OK.
4. Running the Simulation – Click on the Simulation menu at the top of the window. Select Start.
5. Graphical Output – Click on the scope to activate the display windows.
6. Obtaining Screen Captions – of the ‘RollControlA’ window and your graph of Roll Rate and Roll Angle and understand the interaction of each reading to each of the other readings (i.e. their meaning). Drag the input step signal on to the scope as well to better appreciate what is going on.
7. Find the overall transfer function of this system and compare the pole positions and the gain with that observed on the graphs. Does the response in the time-domain match as you expected, according to your transfer function? Compare/contrast your results.
Part B – Simulation of an Autopilot Roll Control Closed-loop.
Roll Control Simulation
1. Copy system in step A over to a new window and rename the ‘Aileron’ block, to ‘Autopilot Roll Angle Demand’.
2. Closing the loop – create a closed-loop system by having the roll angle feedback into a Summing block, and incorporate a Gain that receives the Error signal. Name the Gain block ‘Proportional Gain’.
3. Saving the Simulation – Save the system as ‘RollControlB’.
4. ‘Aileron Angle’ should also be represented onto the scope.
5. By typing on to the workspace, identify each of the signal paths between blocks, e.g. ‘Aileron’, ‘Roll Angle Feedback’ etc.
6. Roll Response to a step input in aileron – Run the simulation and obtain screen captions of Roll-angle, Roll-rate, and Aileron-angle.
7. Identifying the poles of the closed loop system - Using the expression: -
to create the closed-loop transfer function, where K = Proportional Gain, G(s) is the Feed-Forward Transfer function (or often referred to as the forward Transfer Function). Now, use the Characteristic Equation to find the closed-loop poles.
1. Incorporating a Powered Flying Control Unit (PFCU) – Incorporate a Powered Flying Control Unit into the system by inserting its transfer function between the summer and the Roll Dynamics. The PFCU (or actuator) has a time constant of 0.1 seconds and a steady state gain of 1. Identify the signal paths as ‘Actuator Position Demand’ and ‘Aileron Angle’.
2. Step Response with PFCU in the Loop – Again obtain the step response in roll angle. Compare this response with the response obtained when the actuator was not included in the closed loop. Is there much change, or any at all?
Part C – Root Locus Design Method to Ascertain Loop Gain to Meet Specification.
1. Refer part B and create the open-loop transfer function consisting of the actuator and the aircraft dynamics.
2. Enter the numerator of the open-loop transfer function into the Matlab workspace in the format num=[set of coefficients].
3. Enter the denominator of the transfer function into the Matlab workspace in the format den=[set of coefficients].
4. Enter the command rlocus(num,den). The root locus plot will be drawn.
5. Enter the command sgrid. Look at the plot again and note that lines of constant natural frequency and damping ratio now appear on the plot.
6. Refer to the handout and ascertain the specified damping ratio, zeta=0.7.
7. Enter the command sgrid(zeta,0) where zeta is the specified damping ratio. Look at the plot again and check that the required line of constant damping now appears.
8. Use the + and – zoom buttons on the plot frame, to look at the area around the origin more closely but keeping all poles visible.
9. Now enter the command [K,poles]=rlocfind(num,den). Check that cross-hairs now appear on the plot. Move the cross-hairs to the intersection of the locus and the line of constant damping and click the left mouse button. Note the values of K and poles that are returned to the workspace.
10. Take a screen caption.
11. Repeat for other zeta values.
12. Compare the response obtain when zeta is changed and comment on justifying which is suitable zeta value for this system in terms of its overshoot, rise time and settling time values.
Roll Control Simulation with Calculated Value of K
1. Open a new Simulink window, and then open the file that you saved in Part B.
2. Check that the values in the transfer function are the same as the system on which you used the root locus method. Alter them if they are not the same.
3. In the Proportional Gain Block, change the numerator value to the value of K that you found above.
4. Run the simulation with the new value of K and check that the response shows the appropriate overshoot.
5. Saving the Simulation –Save the system as ‘RollControlC’.
6. Obtain screen captions for Roll-angle, Roll-rate, and Aileron angle.
7. Identify the poles of the closed loop system – Using the expression: -
create the closed-loop transfer function and check that the poles are at the position returned by the rlocfind command you used in part 9 previously.
Learning Outcomes to be assessed
 Demonstrate an ability to analyse and understand the operating principles of electrical machines and basic power systems, using appropriate models and mathematical methods. Students will have an understanding of the mathematical and software tools and techniques required to implement measurement and control systems strategies across a range of engineering sectors. Students will be able to understand and interpret system specifications in order to produce introductory level closed loop control system designs with particular reference transient response, steady state response and stability criteria.