1 / 30

An Introduction to Cybernetics

An Introduction to Cybernetics Robert Oates Room B50 rxo@cs.nott.ac.uk Overview What is “Cybernetics”? Control Theory and Cybernetics Ordinary Differential Equations (ODEs) for Simulation ODEs & Isoclines ODEs vs Agent Based Simulation Before we start… calculus! Integration

jaden
Download Presentation

An Introduction to Cybernetics

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. An Introduction to Cybernetics Robert Oates Room B50 rxo@cs.nott.ac.uk

  2. Overview • What is “Cybernetics”? • Control Theory and Cybernetics • Ordinary Differential Equations (ODEs) for Simulation • ODEs & Isoclines • ODEs vs Agent Based Simulation

  3. Before we start… calculus! • Integration • Calculates the area under a curve • Just adds up at each ‘sample’ • Differentiation • Calculates the gradient of a curve • The difference between each ‘sample’ • Differentiation is to integration what division is to multiplication

  4. Calculus x t T

  5. The Original Interdisciplinary Research Topic! • Product of The Macy Conferences (1946 – 1953) • Contributors include • Norbert Weiner • John Von Neumann • Claude Shannon • Warren McCulloch • Walter Pitts

  6. What is Cybernetics? • The study of systems where the input affects the output • The study of control and communication in man and machine • The study of sailors

  7. The Steersman (Κυβερνήτης)

  8. Block Diagram Representation of a Control System Control System System Output Input + -

  9. Transducer (Eyes) Error Block Diagram Representation of a Control System Steersman Boat Output Input / Desire + -

  10. Encoder Block Diagram Representation of a Control System Proportional Integral Differential Controller PID Controller Motor Output (θA) Input (θB) + -

  11. PID Controller KP Error ∫e.dt KI + Input To System + + de/dt KD

  12. Cybernetics vs Control Theory • Control Theory • Control! • Manipulate inputs • Negative feedback is good • Positive feedback is bad • Cybernetics • Understand, characterise and unite • Feedback is feedback!

  13. Is Positive Feedback Really That Bad? Negative Feedback Positive Feedback Combining Feedback

  14. Ordinary Differential Equations (ODEs) for System Representation + x y - + -

  15. Numerical Simulation Based on Differential Equations • Euler’s Method

  16. x1 x2 x3 x4 Euler’s Method x t x0

  17. A Quick Aside • Better numerical integration techniques exist • The best one in general is Fourth-Order Runge-Kutta. The wikipedia page is actually very good!

  18. Differential Equations for System Representation + x y - + - } But where do we start? This technique can only comment on systems once we know the initial conditions

  19. Isoclines • There are techniques that allow us to examine a system without knowing the initial conditions • Examine the isoclines!

  20. dx/dt = 0 -- +- dy/dt = 0 (5,3) ++ (2,1) -+ -- Isoclines • Assessing stability and “flow” y x

  21. Sea Angels (Cliones)http://www.youtube.com/watch?v=vB5recdpPaI Muscle output + + - Ventral Dorsal + - External Stimulus

  22. Clione Neuron Interaction Taken from Hugh R Wilson’s “Spikes, Decisions and Actions”, Oxford University Press, 1999

  23. 50 1 dv/dt=0 dR/dt=0 0 R V(mv) 0.5 -50 X Y -100 0 0.5 0 10 -1 -0.5 0 5 Time (ms) V(V) Isoclines in the Clione Nervous System dR/dt and dV/dt models taken from Nagumo et al (1962)

  24. Simulation • ODEs are not the only way to perform simulation • Many other techniques exist • It would be interesting to compare ODEs to agent-based simulation

  25. Daisyworld – An Investigation into ODE’s vs Agent-Based Simulations • The Parable of Daisyworld • James Lovelock and Andrew Watson • Designed to illustrate “Gaia Theory” • Grey planet • Two species of daisy – black and white • A sun getting hotter

  26. Daisy Fitness

  27. Fitness Death Rate Population Dynamics

  28. Agent-Based System

  29. Rules Occupied? yes no P(Death) = γ P(Growth of daisy type p) = apβ

  30. References • Watson, A. J. and J. E. Lovelock (1983). Biological homeostasis of the global environment: the parable of Daisyworld. Tellus 35B, 284-289. • Isoclines example taken from Dr Richard Mitchell’s lecture notes (1999)

More Related