Logo

Robotics

Robotics and AI/ALife are often seen as two different fields entirely, robotics being a mechanical engineering field, and AI/ALife being computer science related. Whilst this is very true, robotics and AI are closely meshed, both in obvious, and less obvious ways.

When does Robotics meet AI?
A robot ploughs into a wall, it promptly stops, reverses and turns 90 degrees and zooms off, hitting the next wall a few seconds later. Another robot zooms towards the wall, but before hitting it, turns away. Another robot is "told" to pick up the object, the robot goes towards the cube in the centre of the room and lifts it up. Yet another robot is told to pick up the red object. The robot proceeds into the room with a red, blue and green cube. The robot navigates around the green and blue cubes and picks up the red one. At what stage did the robot turn from a mechanical device to a artificially intelligent robot? The answer is of course subjective. The authors (JM) opinion is that from the second instance onward, the robots exhibit a form of intelligence.

In the first case, the robot hits the wall, and 'realises' this (probably through a microphone mounted at the front of the machine) then reverses its motor and turns away. Yet from the second case onwards, the robot must determine its distance from the wall, and must turn to avoid collision. From the third instance, shape-detection is necessary. The robot must carry a camera, or similar optical device, and it must be able to detect edges and shapes. The fourth case includes colour recognition on top of this.

Application of AI to Robotics?
One of the main applications of AI is in the area of robot control. By using evolving control architectures, the robot can 'learn' the best way to do a task. Designers can use neural networks and genetic algorithms to enable the robot to cope with complicated tasks, such as navigation in a complicated environment (Mars, for instance). Another area is image, sound and pattern recognition - 3 traits that any anthropomorphic robot would need. Again, neural-networks could be used to analyze data from the optical or audio device the robot used.

    Example
    A robot is assigned to hover over an assembly line and examine the gears that pass underneath is for faults. If a fault is discovered, the robot is to push the gear off the line into the rejection bin. Before the robot is put into practice, the robot is trained using a neural network to recognize the salient features of the gear - its radius, the shape of its perimeter, and its size. When the machine is then put on to the assembly line, its optical equipment converts what it sees into input for the neural network which then analyzes whether the gear is ok or not. If so, it passes, else an arm is activated to push the gear off. There are limitations to such visual systems, described in the Problems with Machine Vision essay.

Another area that robotics and AI/ALife are closely connected is the 'simple function, complex behaviour' robots. Such robots perform small tasks, using very simple rules, but behave rather in a complicated fashion, in a very similar way to Conway's Boids. For example, 5-6 robots could be programmed to clean up a room, moving small objects to the nearest corner of the room, whilst avoiding obstacles and each other. The military and NASA are researching such robots as possible spy (or for NASA, exploration) robots that could easily pass through enemy defenses, and through sheer numbers gather a large amount of data, without risk of loss of human life.

Examples of robots

Cog.
MIT has always been at the forefront of AI technology, and it is building its own robot(s) under a project heading "The Cog Shop", then main one called Cog. Cog is an attempt at creating a robot that simulates the sensory and motor dynamics of the human body (the only exception being its lack of legs). The motors within Cog all simulate the degree of freedom that the human body does. The robot also has an advanced vision system that again simulates that of the human. Each 'eye' consists of two cameras, one for the wide-angle view, the other for a smaller, more precise view (mimicking the fovea). Cog is powered by 8 (expandable to 239!) 16Mhz Motorola 68332 microprocessors that are networked together, running L (a version of Common Lisp). Cogs main limitation lies in its lack mobility, since it will always see the world from the same, limited perspective -- its learning may be severely restricted by this. Visit Cog's homepage to learn more.

Kesmit.
Other robot from the "The Cog Shop" is a social robot called Kesmit. Kesmit is a completely autonomous robot that attempts to simulate a baby learning from its parents. This rather cute looking robot uses facial expressions to show the untrained user how it feels. So far it has over 10 different facial expressions, including fear, disgust, anger, surprise and other common emotions. His features include a mouth, eye-brows, ears and eyelids - giving Kesmit a Gremlin-like appearance.

Kesmits software takes much of its theory from "...psychology, ethology, and developmental psychology..." [Cog 2]. It is split up into 5 systems, perception system, the motivation system, the attention system, the behaviour system, and the motor system. The perception system extracts the data from the outside world (through the cameras in Kesmits eyes), the motivation system maintains the emotions Kesmit 'feels', the attention system regulates the extent of these emotions, the behaviour system implements the emotions, and the motor system controls the hardware required to express the emotion. Visit Kismet's homepage to learn more, its a fascinating project.

Conclusion

Robotics is in many respects Mechanical AI. It is also a lot more complicated, since the data the robot is receiving is real-time, real-world data, a lot more complicated that more software-based AI programs have to deal with. On top of this more complicated programming required, algorithms to respond via motors and other sensors is needed.

The field of robotics is where AI is all eventually aimed, most research is intended to one day become part of a robot.


  • Introduction to Robotics - The basics of robots.
  • Problems with Machine Vision - An intro to the problems that image recognition faces.