21
Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane CSE 377

Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Embed Size (px)

Citation preview

Page 1: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Sensor-Actuator Networks(Braitenburg Vehicles)

“Experiments in Synthetic Psychology”OR

Steps toward “[really] artifical life”

Norm BadlerSteve LaneCSE 377

Page 2: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

General Structure

Decision_function

Sensors Actuators

Environment

Actuators = Decision_function(Sensors)

Page 3: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

A Simple Example

kS

S V=kS

Environment

V = k(S)Velocity is a linear function of sensor value

Page 4: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Basic Braitenberg Vehicle Design

• Sensor/Actuator Pairs

• Light or other environment feature sensor(s)

• Motor(s) (wheels)

• “Wiring”

Vehicle 1

Page 5: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Two Motors Make it a Little More Interesting (Left-Right Actuators)

kl(Sl) ; kr(Sr)

Sl;Sr Vleft = kl(Sl); Vright = kr(Sr)

Environment

Vleft = kl(Sl); Vright = kr(Sr)Velocity of (left, right) actuators are

linear functions of two sensor values

Page 6: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

A Little More Complex

kl(Sr) ; kr(Sl)

Sl;Sr Vleft = kl(Sr); Vright = kr(Sl)

Environment

Vleft = kl(Sl); Vright = kr(Sr)Velocity of (left, right) actuators are

linear functions of two sensor values (but crossed)

Page 7: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Excitatory and Inhibitory Functions

kl(Sl) ; kr(Sr)

Sl;Sr Vleft = kl(Sl); Vright = kr(Sr)

Environment

Vleft = kl(Sl); Vright = kr(Sr)Functions may be excitatory (+) or inhibitory (-)(essentially reflects the slope of the function)

Page 8: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Fear & Aggression

Vehicle 2

Page 9: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Exploring & Love

Vehicle 3

Page 10: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Values & Special Tastes – Con’t

Vehicle 4

• The outer 2 sensors are uncrossed & excitatory

• The next pair in are crossed and excitatory

• The third pair are uncrossed and inhibitory like Sensor/Actuator Pairs

• The fourth pair are crossed and excitatory.

Page 11: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Values & Special Tastes

Vehicle 4

• Dislikes high temperature (turns away from hot places.

• Dislikes light sources (turns toward them and destroys them.

• Prefers oxygenated environment containing organic matter

• Can move elsewhere when O2 & food scarce.

Page 12: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

VALUES, KNOWLEDGE & INFERENCE

• From the outside you might conclude that Vehicle 4 has:– a system of VALUES

• Dislikes high temperatures• Dislikes light sources• Prefers environments with food sources

– KNOWLEDGE of its environment and

– an INFERENCE ability • Light bulbs are a source of heat• If I destroy them then I will be cooler• Oxygen & organic matter make energy

Page 13: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

But What’s Really Going On?

• Intelligence implies the ability to acquire, represent and process information

• There was no such acquisition or representation of information here.

– In constructing Vehicle 4 we were just playing with the wiring between sensors and actuators

• The behavioral properties and responses that emerge may look intelligent but they really are not.

– When we analyze a system we tend to overestimate its complexity

– Anyone have pets?

Page 14: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Taking this Further

Fl(params,Sl,Sr); Fr(params,Sl,Sr)

Sl;Sr Vleft = Fl(…); Vright = Fr(…)

Environment

Vleft = Fl(params,Sl,Sr); Vright = Fr(params,Sl,Sr)Velocity of (left, right) actuators are non-linear,

parametric functions of two sensor values

Page 15: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Non-linear sensory responses

V= speed of motorI= intensity of stimulation

Page 16: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

What’s the Point?

Hard-wired function; Learned function

“Eyes”;“Ears”

“Hunger”

Wheels; Legs; Color;Other internal state

Environment

The decision functions relate actuator behaviorsto the sensed environment.

Can generalize any component.

Page 17: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Decisions ?

Page 18: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Sensor Scope ?

Page 19: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

What (Who) is Being Sensed?• Environment

– Check for obstacles, food sources, lights, etc.

– Beware zig-zag wall following…

• Other [nearby] vehicles/creatures

– Check local environment for motion of neighbors, gives rise to flocking and herding behaviors.

– Boids

Page 21: Sensor-Actuator Networks (Braitenburg Vehicles) “Experiments in Synthetic Psychology” OR Steps toward “[really] artifical life” Norm Badler Steve Lane

Conclusions• The interaction of simple devices and systems can give rise

to a variety of complex emergent behavior• Many of these individual behaviors can be readily seen in

animals such as insects, bees, ants, etc.– love, fear, aggression, foraging, exploring, etc,

• Group behaviors also can be created in a similar manner– Flocking, herding, schooling, etc.

• You can implement this for particular cases in your worlds.• The computational model is scalable to multiple individuals

(“code re-use”, parameterized).• Lesson Learned – [Graphical] Synthesis is a lot easier than

Analysis!