1 / 23

Control Theory (2)

Control Theory (2). Jeremy Wyatt School of Computer Science University of Birmingham. Aims. Understand first order models Be able to analyse them See their generality Analyse PE control for our DC motor Meet PI and PID control. Modelling a Simple Process. q = temperature

morty
Télécharger la présentation

Control Theory (2)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Control Theory (2) Jeremy Wyatt School of Computer Science University of Birmingham

  2. Aims • Understand first order models • Be able to analyse them • See their generality • Analyse PE control for our DC motor • Meet PI and PID control

  3. Modelling a Simple Process q= temperature Q=rate of heat input • What is the relationship between the heat supply and the temperature of the room? • What is f?

  4. Modelling a Simple Process • There are two ways in which heat is “used up” heats the room leaks out through the walls • We combine these to give a first order differential equation model • C is the heat capacity of the room • L is the loss coefficient (how leaky the room is) [1]

  5. q t First order processes • The behaviour is characteristic of what we call a first order lag process • We can analyse the equation to tell us: • The final temperature • The transient behaviour

  6. Steady State Behaviour • If we hold Q constant the temperature will eventually level out • At that point so • If then must rise • If then must fall is the steady state temperature is the temperature at time t

  7. q t Transient Behaviour • If we solve we obtain • tells us the final temperature • tells us how fast we reach it [2] is the initial temperature is the temperature at time t

  8. The time constant • tells us how fast we reach the steady state • We can express this another way • Where t is pronounced “tau” and is called the time constant of the process • Any first order lag process reaches ~0.63 of its steady state value when t=t q t t

  9. q t t Standard Form • Any first order lag process reaches • ~0.63 of its steady state value when t=t • ~0.95 of its steady state value when t=3t • ~0.99 of its steady state value when t=5t • Recall • A simple rearrangement gives us a standard form: [1] in general [3]

  10. Solution by Inspection • Once in standard form we can solve by inspection: • GU is the steady state • where U is the process input (or control action) • G is called the steady state gain • Here [3]

  11. Our DC Motor example revisited • Our DC motor can also be modelled as a first order process • A motor generates a back voltage proportional to its speed • The net voltage is related to current by Ohm’s law [4] is a motor constant is the motor speed is the resistance of the motor is the current drawn

  12. Our DC Motor example revisited • The torque produced is proportional to the current drawn • We can combine these to make a first order model [5] [4] is a motor constant is the mass being driven

  13. Questions • Combine the equations to form the first order model • What is the steady state speed? • What is the time constant t?

  14. Adding Gears • We can alter the properties of the process by adding gears • g is the gear ratio (g >1 means a step down gear) • input speed = g output speed • g input torque = output torque [4] [5]

  15. Questions • Combine the equations to form the new first order model • What is the new steady state speed? • What is the new time constant t?

  16. Analysing our PE Controller • Recall our proportional error control law where a G + -

  17. Properties of PE Control • The PE controller will not reach the target speed • The difference is called the steady state error • How big will it be? sT s t

  18. Analysing our PE Controller • The open loop behaviour was described by • We can remodel the new system by substituting [7] back into [6] • For now assume that [6] [7]

  19. Steady state Analysing our PE Controller • The new system is described by • So as the steady state error disappears and it reaches the steady state more quickly • But big causes instability Time constant [7]

  20. Proportional Integral Control (PI) • IDEA: Add a proportion of the accumulated error to the control signal • GOOD: there is no steady state error • BAD: • Hard to tune • More lag • More unstable sT s t

  21. PID control • IDEA: Add a third term which looks at how fast the error is changing sT s t t

  22. PID control • GOOD: • fast initial response to increases in error (D component) • No steady state error (I component) • As error decreases P 0 and D < 0, therefore stable • BAD: very hard to tune sT s t t

  23. Summary • Seen generality of first order model • Used it to analyse PE control • Seen principles of PI and PID control

More Related