Robotics and Embedded Systems

Lesson 19: Responsible Robotics: Safety, Privacy and BiasNew-age

Robots act in the world, and their actions have consequences. A robot that moves can hurt someone; a robot that records can invade privacy; a robot that decides can discriminate. Building robots therefore means thinking about responsibility, not just about circuits and code. This lesson is about the three responsibilities that matter most for the robots you will build: keeping people safe, respecting privacy, and avoiding bias in the decisions a robot makes.

These are not abstract questions. A school robot that follows children, a delivery robot that records video, a hiring algorithm that prefers one group over another — all of them are real, and all of them were built by people who did not stop to ask whether they should. Asking the question is part of building the robot.

Key Terms.
  • Safety — designing so that a robot cannot hurt people, even when it fails.
  • Fail-safe — a design that goes to a safe state when something goes wrong, such as stopping.
  • Privacy — people’s right to control information about themselves.
  • Consent — permission given freely, with understanding, to be recorded or studied.
  • Bias — a systematic unfairness in a robot’s decisions, often learned from biased data.
  • Accountability — being able to say who is responsible when a robot causes harm.
  • Dual use — a technology that can be used for good or for harm.
  • Transparency — being open about how a robot works and what data it collects.

Safety: design for failure

A robot must be safe not only when it works but when it fails. Motors stall, sensors misread, batteries die, code crashes — and the robot’s behaviour in those moments is a design decision. The fail-safe principle is simple: when something goes wrong, the robot should stop. A motor driver that stops when its signal disappears, a bumper that cuts power on contact, a timeout that halts a wireless robot when its link drops — these are all fail-safes, and they should be designed in from the start, not added after an accident.

Privacy: what a robot records

A robot with a camera or a microphone records people, often without them noticing. A school robot that films a corridor, a delivery robot that records a street, a home assistant that listens all day — each of them collects data about people who did not agree to be recorded. The rule is consent: people should know what is being recorded, why, and who can see it. If they do not know, the recording is not merely rude; in many places it is unlawful.

Bias: when a robot decides unfairly

A robot that decides — who to let in, what to recommend, whom to flag as a risk — can discriminate, and it usually does so by learning from biased data. A face-recognition system trained mostly on one group of people will recognise that group better than others; a hiring tool trained on a company’s past hires will repeat its past preferences. The robot is not being malicious; it is doing exactly what it was trained to do, and what it was trained on was unfair.

Accountability and dual use

When a robot causes harm, someone is responsible — but who? The person who built it, the person who programmed it, the person who deployed it, or the company that sold it? Accountability means the answer is clear before the harm happens, not argued about afterwards. Keep records of what your robot does and why: a log of its decisions is not only a debugging tool, it is an accountability tool. A robot whose decisions can be reviewed can be corrected; one whose decisions are a mystery cannot.

Worked example — a school delivery robot

A school proposes a small robot to deliver books between classrooms, using a camera to navigate and a microphone to take voice commands. The safety review asks: what happens if it meets a child in the corridor? The answer is a fail-safe — it stops on contact, moves at walking pace, and has a bumper. The privacy review asks: does the camera record children? The answer is to process the video on the robot and delete it immediately, recording nothing. The bias review asks: does the voice recognition work for all the children, including those with accents? The answer is to test it with every group in the school before deployment. Three reviews, three different responsibilities — and the robot is better for all of them.

Worked example 2 — a biased sensor

A robot uses an infrared sensor to detect people and open a door. It works well for most people but fails for people in dark clothing, because dark fabric absorbs infrared. The robot is not prejudiced; its sensor is. The fix is technical — use an ultrasonic sensor as well — but the lesson is general: a robot’s decisions are only as fair as its sensors and its data, and the builder is responsible for checking both.

Common mistakes

  • Designing for the happy path only. A robot must be safe when it fails, not only when it works.
  • Recording people without telling them. Consent is part of the design, not an afterthought.
  • Assuming a robot is neutral because it is a machine. Its sensors and its data carry bias.
  • Building a system that cannot explain its decisions, then being unable to say who is responsible when it harms someone.

Discussion questions

  1. A delivery robot films the street as it navigates. The footage is useful for debugging, but it records people without their consent. What should the builders do?
  2. A robot’s voice recognition works for most students but not for those with a particular accent. Is that a technical problem, a fairness problem, or both?
  3. Who is responsible when a self-driving delivery robot hits someone — the builder, the programmer, the owner, or the company that sold it?

Practice questions

  1. What is a fail-safe, and give one example from robotics. Answer: A design that goes to a safe state when something goes wrong, such as a robot that stops when its wireless link drops or when its bumper is hit. Explanation: Fail safe, not fail dangerous.
  2. Why is consent needed before a robot records people? Answer: Because people have a right to control information about themselves. Recording without consent — and without telling them — violates privacy and may be unlawful. Explanation: Tell people, and ask.
  3. How can a robot be biased if it is just a machine? Answer: Through its sensors and its training data: a sensor that works poorly for dark clothing, or data that under-represents a group, produces unfair decisions. Explanation: Bias lives in sensors and data.
  4. What is dual use, and why should a builder think about it? Answer: A technology that can be used for good or for harm. Builders should consider the likely harmful uses and refuse to build them. Explanation: Think about the uses, not only the build.
  5. Why is a log of a robot’s decisions useful for accountability? Answer: Because it lets the decisions be reviewed and corrected. A robot whose decisions can be examined can be held accountable; one whose decisions are a mystery cannot. Explanation: Records make responsibility possible.

✅ Check your understanding

Quick recall check, generated from this lesson’s key terms. It is practice only and is not graded.

Keep reading to complete this lesson