Download presentation

Presentation is loading. Please wait.

Published byAlejandro Salazar Modified over 2 years ago

1
p1 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Modeling Project at Reading Dr Richard Mitchell and Dr Will Browne Cybernetics, School of Systems Engineering A Part 2 assignment – 15% of a 20 credit Control module – taught to Cybernetics and Electronic Engineering students Builds on Laplace Transforms in Part 1 Engineering Maths. Students find theoretical response to a second order system. Using MATLAB they superimpose the simulated and theoretical responses – to verify the simulation. They generate the block diagram and transfer function of other systems (different each year) and simulate them. Though often considered hard, students say they learn much. We also provide a cut down version of a control toolbox.

2
p2 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 History In 1998 this was introduced in Summer term of year 1 (which was first term of Part 2) in a unit comprising Laplace Transforms and Modelling The students were as now required to find theoretical response of second order systems, but the simulation and plotting was done as an exercise in object-oriented programming. In 2002, MATLAB was introduced to replace O-O prog (which is now part of an exercise for neural networks). By summer 2003, Reading had more sensible structure – so Laplace Transforms moved to Part 1 Maths, Modelling Project incorporated in Part 2 Control module. Feedback and Control introduced in Part 1 Cybernetics module.

3
p3 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 On the Assignment – from sheet Assignment has Parts A and B. Part A is 'open book' marked for accuracy. Part B is 'closed book' marked for accuracy, description and uniqueness (i.e. copying anyone else's code is plagiarism) Derive models of systems using block diagrams. Simulate such systems using MATLAB. Find theoretical step response of first & second order systems. Verify simulation, by superimposing theory and simulation. Utilise MATLAB for system understanding, incl Bode & Nyquist. You will be assessed by a report you write – in the School Style. Keep a log book: it is good practice and will help the report. Write as many MATLAB functions (m files) as is reasonable. If you need help in part A, ask! Use lecture notes & refs for B.

4
p4 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Hints The transfer functions you should find can be expressed in one of the following forms, which will help you find the theoretical step response: If you cannot get the transfer function in such a form, you are wrong! Theoretical response: use commands like thy = 1 - exp(-1.5*t) - (1.5*t.*exp(-1.5*t)); Use '.*' operator to multiply corresponding elements in column vectors (must be the same size)

5
p5 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Tasks to do for Systems in A and B 1. For each system below, draw relevant block diagram(s), and by hand find its transfer function – put in standard form. 2. For each system, using the relevant block diagram, use MATLAB commands to confirm your transfer function. 3. For each system, use Laplace transform techniques to find an expression for the system output as a function of time, when its input is a unit step and initial values are zero. Use only the transforms in the table provided. 4. Use subplot to plot two graphs side by side. The first graph should be the simulated step response, superimposed on to which is the theoretical response. The second graph is the Bode diagram of the system. 5. Utilise MATLAB for system understanding.

6
p6 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 On m-files to write Task 1-4 : Put the code you have written here in an m file function modelass(sys) % sys specifies system to analyse % function generates the transfer function and plots % simulated & theoretical step response + Bode diagram Task 5 : Create an input/output viewer that will plot the output signal against time on the same axes as its sinusoid input. Test this viewer with a range of input frequencies applied to the systems. Also plot Nyquist and Bode diagrams: function ioviewer(sys) % where sys specifies the system to analyse % functions produces the transfer function of the system % & plots its input/output relation – simulated or theoretical

7
p7 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Systems in Part A Input position, x i Output position, x o Spring, k mass m Dashpot, F Object 0.5Ω I L 2F V o V i 1 Ω I 1 10H V m I m Derive the block diagram of the above, reorganise it and then use the inverse transfer function method to find V o /V i. Optional : verify transfer function using two port networks 1 2

8
p8 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Systems in Part B (vary each year) Control L: Local P:Plant Scaler Output,O Input, I S: Pre- Feedback M: Main Control C:Series 3a - Control of Second Order Plant using PID 3b - Control using Lead Lag and velocity feedback

9
p9 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell Wien Bridge for Theremin Oscillators C1C1 R1R1 VpVp VoVo R2R2 C2C2 + - RFRF R3R3 Research history, uses and benefits of circuit – cite sources – not wikipedia etc Find the resonant frequency ω o when R 1 = R 2 and C 1 = C 2 Using skills leant in Part A thoroughly investigate the circuit, noting important features of frequency and time responses. Use values of C = 10nF, R = 10KΩ, R F = 20KΩ and R 3 = 10KΩ

10
p10 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 On MATLAB MATLAB is introduced in Part 1 – plots, commands and m-files in the Cybernetics module + various practicals (some GUI interface but others involve writing m-files). At the start of Part 2 all students do an introduction to MATLAB for control practical – learn control toolbox. The modelling project is done in students own time – they can use school PCs which have MATLAB + control toolbox, but also other Uni PCs (or their own) without the toolbox Hence we have RMControlToolbox that they can download rmcontrl (help file); rmstep; rmbode; rmtf; rmseries; etc

11
p11 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Students Comments Assignment is hard and not worth as many marks as it should. Many say that it has really helped their understanding. It is good that it tests a range of topics. They like the short (ish) exercises on range of systems. One did project again as a revision aid. Suggestions for improvements: Submit Part A and get feedback before doing Part B. Currently parameter values given … go and search for them. Have Lab practical afterwards implementing some systems to see techniques in practice.

12
p12 RJM 13/03/08For IEEE Colloquium Control Education, Sheffield © Dr Richard Mitchell 2008 Discussion Laplace is taught with Differential Equations in 10 lectures – and students often ignore the Laplace This assignment helps to get it understood. Also helps to show material in one module used in others Control is clearly relevant to Cybernetics, but some Electronic Engineering students are not so clear on its relevance Hence the modelling assignment has control & electronics. Helps emphasise systems aspect of Cybernetics. Overall – the project is a good one which has stood the test of time whilst continually evolving.

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google