A Flock of Sheep


The Sheep are small machines designed for research into cooperative and emergent behaviour. Pictured here is Sheep 1, the prototype member of the Sheffield Hallam University Flock. This particular machine uses a generic IO card for driving all of its sensors and actuators and does not have an analogue IO card for sound input and output.

Reasons for Building the Machine

The Sheep have been built to investigate co-operative and emergent behaviour in large collections of autonomous agents. They are small and relitivly cheap machines built in a modular fashion so that adding capabilites to them is a fairly simple task.

Programming and Software Design

Unfortunatly the Sheep have to be programmed in assembler, that said the specially written Z80 ZUES assembler has given excellent service, it generates Motorola S1, S2 and S3 files which are then down-loaded into each sheep using a serial interface (see Processing Architecture).

Each sheep will implement all of Matarics Basis behaviours, using Subsumption implemented in assembler. Currently this has only been done for the avoid behaviour, which has been an interesting learning curve.

The Superstructure

The superstructure is constructed from Technic Lego, though the machine has fallen from a few table-tops it has proved surpisingly resiliant. Perhaps slightly on the heavy side but very easy to build and connect boards and sensors to, Technic Lego is an excellent and cost effective soloution for an experimental vehicle. It is possible however, that later versions of the Sheep will be custom manufactured in aluminium if properly geared motors can be found. My current fashion in placing cooling fins on the back of a machine can clearly be seen in the design of each sheep.

Processing Architecture

All the Sheep use the same processing architecture, which is a mixture of four different board types:

Currently all the boards are based on a CMOS Z80 CPU architecture, as the project progress the Flexible Architecture boards and the Processing boards are likely to change. The processing architecture also has two related components:

The Sensors

The Sheep are heavily laden with sensors, there are several reasons for this including:

The Sheep have or are planned to have the following onboard sensors: In addition to these external sensors each Sheep can also sense the voltage or current levels of several internal circuits, these include the current drawn by the machine from the battery and the battery voltage levels.

The Actuators

Power Systems

The battery systems carried by each Sheep are nowhere near as complex as Prestons power systems and simply consist of a 6V sealed lead-acid battery. As described in the Sensor section a Sheep can monitor the current drain and the voltage level of its battery. The battery is to the rear of the machine and is designed to be swapped out with ease so that Sheep downtime is reduced to a minimum.

At some-time in the future it is hoped that each Sheep will have an onboard recharging system so that the Sheep can replenish its power supply itself.

A large switch on the rear enables each Sheep to be switched off when not in use. An electronic fuse rated at 7.0A protects the machine from overloads, though this may be reduced to nearer 2A in future designs.


Forward to Preston the Sheep Dog
Back to main Alife Index
Back to main Index