Robotics
Programmable machines with sensors and moving parts that do physical work.
WATCH IT EXPLAINED
EXPLORE IT IN 3D
The robot cell
A car body shop at night: a six-axis robot welds every car the line brings in. Take it apart, give it a new job, be a robot vacuum's microprocessor — then judge what a robot is, where robots work and whether they are worth it.
What robotics is
Robotics is about designing, building and running robots, and most robots look nothing like people.
Exam:Robotics is a branch of computer science that incorporates the design, construction and operation of robots.
In other words: planning robots, building them and making them work.
The syllabus gives three kinds of example:
| Example | What it does |
|---|---|
| Factory equipment | a robot arm welds and paints car bodies |
| Domestic robot (works in the home) | a robot vacuum cleaner cleans the floor; a robot lawnmower cuts grass |
| Drone (a flying robot with no pilot on board) | films or delivers |
Notice that none of these robots looks like a person.
The three characteristics of a robot
A robot has a mechanical body, electrical parts (sensors, microprocessor, actuators) and a program.
A robot has three characteristics:
| Characteristic | What it means |
|---|---|
| A mechanical structure or framework | an arm, a body or wheels |
| Electrical components | sensors, microprocessors and actuators (such as motors) |
| It is programmable | its instructions can be changed for a different job |
Each part has a job:
- A sensor collects data about the surroundings. Without sensors, the robot cannot react to its surroundings.
- The microprocessor processes the data and decides.
- An actuator, such as a motor, makes the robot move. Without actuators, nothing moves.
- Without a program, nothing happens at all.
In the figure, switch each part off, press Run, and see what breaks.
Programmable: same robot, new job
Change a robot's program and you change its job, without changing its hardware.
Being programmable makes a robot more than a machine built for one task.
The program is the list of instructions that the robot's microprocessor follows. Change the program and you change the job, not the hardware.
Example:The same robot arm, with a new program, paints a different car.
The warehouse robot in the figure has one body and two programs:
- Job A takes it to shelf A.
- Job B takes it round a wall to shelf B.
The blocks are the robot's own commands, not exam pseudocode. Pick a job and press Run. Then write your own job: tap a block, and insert, delete or move blocks.
JOB A JOB B
REPEAT 4 TIMES TURN LEFT
MOVE MOVE
END REPEAT MOVE
PICK TURN RIGHT
REPEAT 4 TIMES
MOVE
END REPEAT
PICKSensors let a robot react
With a sensor, one program works in any room, because the robot reacts to what it finds.
| Program | In a bigger room | In a smaller room |
|---|---|---|
| Only counts: "MOVE 4 times, then turn left" | turns too early | hits the wall |
| Uses a sensor: "keep moving WHILE the path ahead is clear, then turn" | goes round the room | goes round the room |
The counting program works in one room only. The sensor program works whatever the room's size.
How the parts work together:
- The sensor sends data about what is in front of the robot.
- The microprocessor uses the data to decide.
- The wheel motors, which are actuators, carry out the decision.
Try both programs in all three rooms.
Inside a robot: sense, decide, act
A robot that controls itself runs a loop: sense, compare with a target, act, repeat.
Most robots control themselves. So the control loop from topic 6.1, automated systems, runs inside them.
Example:A drone holds its height at a target of 20 m.
- Its altitude sensor measures the height. It sends the reading to the microprocessor.
- The microprocessor compares the reading with the stored target of 20 m.
- Too low? It signals the motors to speed up.
- Too high? It signals the motors to slow down.
- The sensor takes the next reading, and the loop repeats for as long as the drone is flying.
What a robot is not
A robot does not have to look like a person, be intelligent, or even control itself.
Three wrong ideas about a robot:
| Wrong idea | The truth |
|---|---|
| A robot looks like a person. | Most robots do not. A robot arm, a vacuum cleaner and a drone are all robots. |
| A robot is intelligent. | Not necessarily. Most robots follow their program exactly. They cannot deal with a situation the program did not plan for. |
| A robot is in control of itself. | Not always. A surgical robot is moved by a surgeon. It helps the surgeon work more precisely. |
Remember:Artificial intelligence (AI) is a separate topic, 6.3.
Where robots work
Robots work in six areas: industry, transport, agriculture, medicine, the home and entertainment.
The syllabus names six areas where robots are used:
| Area | Examples |
|---|---|
| Industry | weld, paint and assemble cars; pack goods |
| Transport | driverless trains; delivery robots; warehouse robots that move goods |
| Agriculture | pick fruit, remove weeds, milk cows; drones spray crops |
| Medicine | surgical robots; robots that carry medicines around a hospital |
| Domestic (in the home) | vacuum floors, cut grass (lawnmowers), clean windows |
| Entertainment | theme-park rides, animatronic figures, camera robots that film sport |
The figure is a fruit picker. Its camera lets it choose which fruit to pick.
Advantages and disadvantages
Robots work tirelessly, accurately and safely in danger, but they cost a lot and only do what they are programmed for.
| Advantages | Disadvantages |
|---|---|
| work 24 hours a day without breaks | expensive to buy and set up |
| the same accuracy every time | need maintenance by skilled staff |
| can work where it is dangerous for people: bomb disposal, near radiation, the deep sea | can replace human workers |
| do boring, repetitive work | cannot deal with jobs or situations they were not programmed for |
| lower running costs over time | can break down or be hacked |
Exam:Give the points that fit the area in the question. For example, a warehouse robot needs no breaks, but it means fewer jobs for warehouse workers.
AREA
+ ADVANTAGE / - DISADVANTAGE
industry
+ same weld on every car, day and night
− expensive to buy and set up
transport
+ a warehouse robot needs no breaks
− fewer jobs for warehouse workers
agriculture
+ can pick fruit day and night
− may miss fruit not in its program
medicine
+ more precise surgery, a smaller cut
− needs skilled staff to maintain it
domestic
+ does the boring cleaning every day
− can get stuck on unplanned things
entertainment
+ a ride moves the same way every time
− a breakdown stops the ride for allWhich sensor would an automated system use for each job?
PICK ONE, THEN PICK ITS GROUP
- empty
- empty
- empty
- empty
- empty
KEY TERMS
CHECK YOURSELF
1.Which of these is a defining characteristic of a robot?
2.Give the strongest argument FOR using robots on a production line.
3.Which list gives the electrical components of a robot?
4.A robot vacuum keeps moving while its sensor says the path ahead is clear. What does the sensor let it do?
5.Which statement about robots is true?
6.A robot picks strawberries only when its camera shows they are ripe. Which area of robot use is this?