evolving flocking

14
Evolving Flocking Simulation and Robotics Dan Sayers iotic.com

Upload: orinda

Post on 24-Feb-2016

55 views

Category:

Documents


0 download

DESCRIPTION

Evolving Flocking. Simulation and Robotics Dan Sayers iotic.com. Flocking in Nature. Flocking and other group behaviours in animals and humans have natural beauty and have long been a source of fascination - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Evolving Flocking

Evolving FlockingSimulation and RoboticsDan Sayers iotic.com

Page 2: Evolving Flocking

Flocking in Nature

• Flocking and other group behaviours in animals and humans have natural beauty and have long been a source of fascination

• Group behaviour in animals gives rise to the phenomena of “swarm cognition” or “group intelligence” in which whole groups respond and act for the collective interest of the group

• Flocking in animals is usually observed in prey species –studies have demonstrated a link between predation and flocking behaviours

Page 3: Evolving Flocking

Flocking Behaviours

Page 4: Evolving Flocking

Flocking in Simulation

• Flocking and other group behaviours have been studied in simulation since the Eighties, using simple rules for individual flock members, from which flocking emerges as a group phenomenon

• This furthers our understanding of group behaviours in various species (including humans)

• Also, it given us a method to interact with the beauty of flocking in artistic ways

Page 5: Evolving Flocking

Simulated Flocking

Craig Reynolds – 3 rules:• Collision avoidance (separation)• Velocity matching (alignment)• Flock centering (cohesion)

These three (locally applicable) rules are observed to be sufficient for realistic flocking in 2D and 3D simulations

Each rule influences a steering force on each agent. These agents were named ‘Boids’ by Reynolds

Page 6: Evolving Flocking

Evolved Flocking Under Predation

In my simulation, flocking is shown to evolve when under the influence of predators. The evolution takes place through a gradual improvement of the connections between sensors and steering forces.

The control system for the prey members is very simple – a vector sum of the sensor vectors gives the steering force

F = c1S1 + c2S2 + …The amounts (c1, c2 etc.) that the different sensors affect the

steering force is what is evolved. Prey and predator populations are kept constant.

Page 7: Evolving Flocking

Flocking “Sensors”

Each flock member is capable of responding to fellow members within a defined radius, and within a defined vision angle

Prey members also respond to predators within their field of perception

Page 8: Evolving Flocking

Sensors

The prey have sensors for:• Average nearby prey position (close)• Average nearby prey position (far)• Average nearby prey velocity• Average nearby obstacle location• Average nearby predator location

These vectors are added together (multiplied by genetically determined weights) to give the prey’s steering force at any given time

Page 9: Evolving Flocking

From Simulation to Robotics

This simulation contains a number of idealisations:• The sensors are ideal in that the information about

neighbouring vehicles and obstacles is communicated directly rather than being sensed by real-world, “noisy” sensors

• The steering vector is also idealised

Page 10: Evolving Flocking

In the Real World …

• Robots need to able to survive collisions• Real, noisy sensors to deal withConsideration of how to sense nearby boids:• Vision• Ultrasound• Sonar / Radar• Wifi / Broadband

Page 11: Evolving Flocking

Existing Robots for Flocking

Festo Penguins

Page 12: Evolving Flocking

Existing Robots for Flocking

Khepera Robots

Page 13: Evolving Flocking

Existing Swarmbots

Formica mini swarm bots

• Cost as low as £15 each to make• IR communications / sensors• LED ‘mood’ indicators

Page 14: Evolving Flocking

Web Links

Craig Reynolds’ Boidshttp://www.red3d.com/cwr/boids/My evolved flocking pageshttp://iotic.com/flock2/Khepera robotshttp://www.k-team.com/index.php?version=ENFormica PCB robotshttp://warrantyvoidifremoved.com/formica