# Worksheet: Sensors and actuators

*Tactiverge Academy · Robotics Foundations, module 3 · https://tactiverge.win/academy/robotics-foundations/#sensors-and-actuators*

Name: ______________________    Date: ____________

## Learning objectives

Tick each one when you can do it without looking at your notes.

- [ ] Classify common sensors by what they measure and how they report it.
- [ ] Explain noise, resolution, range and drift in sensor readings.
- [ ] Compare DC motors, servos and stepper motors for different tasks.
- [ ] Describe why gearing trades speed for torque.

## Lesson 1: How sensors measure

What happens inside a sensor, and the vocabulary engineers use to judge one: range, resolution, accuracy, precision, noise and bandwidth.

Read online: https://tactiverge.win/academy/robotics-foundations/sensors-and-actuators/how-sensors-measure/

#### Project: Kitchen-table project: characterise a measuring device

Choose a measuring device you already have: a kitchen scale, a ruler, a bathroom scale, or a phone's built-in compass.

1. Find a reference you trust, such as an unopened 500 g packet of food (the printed mass is a reasonable reference) or a known angle.
2. Take at least ten measurements of the same thing, resetting the device each time.
3. Compute the mean, the bias (mean minus reference) and the standard deviation, by hand, in a spreadsheet, or by adapting the Python example.
4. State the device's resolution from its display, and compare it with the scatter you measured.

Write two sentences on whether the device is more limited by accuracy, precision or resolution.

**Deliverables**

- A list of at least ten readings and the reference value
- Calculated mean, bias and standard deviation
- A short verdict on the device's main limitation

### Check your understanding

1. A sensor's readings are tightly grouped but consistently 3 mm higher than the true value. How would you describe it?
   A) Accurate but imprecise
   B) Precise but inaccurate
   C) Both accurate and precise
   D) Low resolution

2. A 10-bit ADC spans a sensor range of 0–100 °C. What is the approximate resolution?
   A) About 0.1 °C
   B) About 1 °C
   C) About 10 °C
   D) Exactly 0.01 °C

3. Averaging the last 20 readings makes a signal smoother. What is the main cost?
   A) The sensor's range shrinks
   B) The bias is doubled
   C) The resolution gets worse
   D) The smoothed value lags behind real changes

4. A robot drives at 0.5 m/s and its obstacle sensor updates 5 times per second. How far does it travel between readings?
   A) 2.5 cm
   B) 10 cm
   C) 25 cm
   D) 1 m

5. Why do you need an independent reference measurement to discover a sensor's bias?
   A) Because a consistently biased sensor looks perfectly steady on its own; only comparison with a known value reveals the offset
   B) Because bias only appears when the sensor is new
   C) Because averaging always removes bias
   D) Because bias is caused by the reference

### My notes

______________________________________________

______________________________________________

## Lesson 2: Sensing position and motion

How robots measure their own joints and movement with potentiometers, encoders, accelerometers and gyroscopes, and why integrated measurements drift.

Read online: https://tactiverge.win/academy/robotics-foundations/sensors-and-actuators/sensing-position-and-motion/

### Check your understanding

1. An incremental encoder has 1000 slots and is read in quadrature (4 counts per slot). What angle does one count represent?
   A) 0.36°
   B) 0.09°
   C) 0.9°
   D) 4°

2. Why must a robot with incremental encoders usually home its joints after power-up?
   A) To warm up the motors
   B) To calibrate the gyroscope bias
   C) Because incremental encoders only measure changes, so the robot does not know where zero is until it finds a reference
   D) Because absolute encoders require it

3. An accelerometer lying flat and still on a table reads about 9.81 m/s² upward. Why?
   A) It measures the support force resisting gravity, so it senses gravity even when not moving
   B) It is faulty and needs calibrating
   C) The Earth's rotation causes it
   D) It is measuring vibration from the table

4. A still gyro has a bias of 0.2 °/s. After integrating for 2 minutes, roughly how wrong is the angle estimate?
   A) 0.4°
   B) 2.4°
   C) 12°
   D) 24°

5. Why do engineers often combine a gyroscope with an accelerometer to estimate tilt?
   A) Two sensors always cost less than one
   B) The gyro is smooth over short times but drifts; the accelerometer is noisy but does not drift, so together they cover each other's weaknesses
   C) Accelerometers cannot measure tilt at all
   D) Gyroscopes only work when combined with another sensor

### My notes

______________________________________________

______________________________________________

## Lesson 3: Sensing force, touch and proximity

How robots feel: strain gauges and load cells for measuring force, force-sensitive resistors for detecting touch, and capacitive and infrared sensors for noticing what is nearby.

Read online: https://tactiverge.win/academy/robotics-foundations/sensors-and-actuators/sensing-force-and-touch/

### Check your understanding

1. A 350 Ω strain gauge with gauge factor 2 experiences a strain of 1000 µε. What is the resistance change?
   A) 0.35 Ω
   B) 0.7 Ω
   C) 7 Ω
   D) 700 Ω

2. Why are strain gauges normally connected in a Wheatstone bridge?
   A) To make the gauge stronger
   B) So that the output is near zero when balanced and the tiny strain-induced imbalance can be amplified, with some temperature effects cancelled
   C) Because the bridge converts force directly into a digital number
   D) To increase the gauge factor to 100

3. A designer needs to know only whether a fingertip is touching an object. Which sensor is the most sensible low-cost choice?
   A) A six-axis wrist force/torque sensor
   B) A stereo camera
   C) A force-sensitive resistor
   D) A gyroscope

4. A brightness-based IR proximity sensor reports a black box as farther away than a white box at the same distance. Why?
   A) Black objects are always farther away
   B) Infrared light travels more slowly near dark objects
   C) Capacitance is lower for black objects
   D) The black surface reflects less infrared light, and the sensor interprets a weaker reflection as greater distance

5. A load cell reads 0.20 mV with no load and 3.20 mV with a 3.000 kg reference mass. What mass gives 1.70 mV?
   A) 1.5 kg
   B) 1.7 kg
   C) 1.0 kg
   D) 2.5 kg

### My notes

______________________________________________

______________________________________________

## Lesson 4: Cameras and depth sensing

How image sensors capture light, what frame rate and exposure mean for a moving robot, and how stereo, structured light and time of flight measure depth, and fail.

Read online: https://tactiverge.win/academy/robotics-foundations/sensors-and-actuators/cameras-and-depth/

### Check your understanding

1. A camera exposes each frame for 20 ms while an object crosses the view at 0.25 m/s. How long is the motion blur?
   A) 0.5 mm
   B) 5 mm
   C) 50 mm
   D) 12.5 mm

2. A stereo camera has f = 500 pixels and baseline B = 10 cm. An object shows a disparity of 25 pixels. How far away is it?
   A) 20 cm
   B) 125 cm
   C) 200 cm
   D) 500 cm

3. Why does stereo depth estimation struggle with a plain white wall?
   A) There are no distinctive features to match between the two images
   B) White surfaces reflect too much infrared
   C) The wall is always too far away
   D) Stereo cameras only work outdoors

4. What is multipath error in a time-of-flight sensor?
   A) Two sensors interfering with each other's pattern
   B) Motion blur caused by a long exposure
   C) Light bouncing off an extra surface before returning, so the measured distance is too long
   D) The rolling shutter reading rows at different times

5. A robot must detect clear glass bottles on a shelf. Which concern is most important?
   A) Glass is perfectly visible to all depth sensors
   B) Transparent objects are often invisible or wrongly measured by depth sensors, so another sensing method may be needed
   C) Glass makes stereo baselines longer
   D) Only frame rate matters for glass

### My notes

______________________________________________

______________________________________________

## Lesson 5: Actuators

How the three most common electric actuators in small robots work, how each is controlled, and when to choose a brushed DC motor, a servo or a stepper.

Read online: https://tactiverge.win/academy/robotics-foundations/sensors-and-actuators/motors-servos-steppers/

#### Project: Paper project: pick the actuator

For each of these five robot parts, choose a brushed DC motor, a hobby servo or a stepper motor, and justify your choice in two or three sentences using the strengths and weaknesses from this lesson:

1. The drive wheels of a small floor-cleaning robot.
2. The jaw of a small gripper that only needs to be open or closed.
3. The pen-lifting and pen-moving axes of a drawing plotter.
4. A camera on a tilting mount that must point at a chosen angle.
5. A turntable that must rotate an object exactly 37.8° between photographs.

For the turntable, calculate how many full steps of a 200-step-per-revolution stepper are needed, and whether 1/16 microstepping is required.

This is a paper exercise. No hardware is needed.

**Deliverables**

- An actuator choice and justification for each of the five parts
- The step calculation for the turntable
- One sentence on what could go wrong with each choice

**Safety (adult supervision required):** This activity is on paper only. If you later test any idea with real motors, do so only with adult supervision, use low-voltage supplies or hobby battery packs, keep fingers and hair away from moving parts, and disconnect power before adjusting anything.

### Check your understanding

1. A DC motor is driven by PWM at 25% duty cycle from a 12 V supply. Roughly what average voltage does it see?
   A) 3 V
   B) 9 V
   C) 12 V
   D) 0.25 V

2. What tells a hobby servo which angle to move to?
   A) The supply voltage
   B) The number of pulses sent per second
   C) The width of a pulse repeated about every 20 ms
   D) The current drawn by the motor

3. A 200-step stepper is commanded to turn exactly 90°. How many full steps is that?
   A) 45
   B) 18
   C) 90
   D) 50

4. Why can an open-loop stepper system end up permanently wrong in position?
   A) Steppers drift like gyroscopes
   B) If the motor misses steps under heavy load or fast acceleration, the controller does not know and every later position is offset
   C) The step angle changes as the motor warms up
   D) Microstepping always loses half the steps

5. Which is the best match for the drive wheels of a small mobile robot?
   A) A hobby servo with 180° travel
   B) A stepper with no homing
   C) A DC motor with a gearbox, plus an encoder if speed or distance must be controlled
   D) A load cell

### My notes

______________________________________________

______________________________________________

## Lesson 6: Torque, speed and gearing

Read a motor's torque–speed curve, see how a gearbox trades speed for torque, and size a motor and gear ratio for a robot joint with a complete worked example.

Read online: https://tactiverge.win/academy/robotics-foundations/sensors-and-actuators/choosing-an-actuator/

#### Project: Calculator or Python project: size an elbow joint

Using the same hypothetical motor (stall torque 0.06 N·m, no-load speed 5000 rpm, gearbox efficiency 70%), size the **elbow** of the same arm.

The elbow sits 0.15 m from the shoulder, so it carries the payload (0.5 kg) at 0.15 m and a forearm link of 0.1 kg with its centre 0.075 m from the elbow.

1. Compute the worst-case static torque at the elbow.
2. Apply a margin of 2 and require at least 30 rpm under the static load.
3. Test gear ratios of 30, 50, 75 and 100, by hand or by adapting the Python program.
4. Recommend a ratio and explain the trade-off you made.

This is a calculation exercise; no hardware is needed.

**Deliverables**

- The elbow's static torque calculation with units
- A table of peak torque, motor load fraction and output speed for each ratio
- A recommended gear ratio with a short justification

**Safety (adult supervision required):** This is a paper and computer exercise. If you later build a powered joint, work only with adult supervision, use low-voltage supplies, keep fingers clear of gears and moving links, and never hold a motor stalled for long because it can overheat.

### Check your understanding

1. A 1.2 kg mass hangs 0.25 m from a horizontal joint. Using g = 9.81 m/s², what torque must the joint supply to hold it?
   A) 0.30 N·m
   B) 2.94 N·m
   C) 4.71 N·m
   D) 11.8 N·m

2. A motor with 0.04 N·m stall torque drives a 50 : 1 gearbox with 80% efficiency. What is the peak output torque?
   A) 2.5 N·m
   B) 0.032 N·m
   C) 2.0 N·m
   D) 1.6 N·m

3. On a linear DC motor torque–speed curve, where is mechanical output power greatest?
   A) At stall, where torque is largest
   B) At no load, where speed is largest
   C) At half the stall torque and half the no-load speed
   D) Power is the same everywhere on the curve

4. Why might an engineer pick a higher gear ratio than the minimum that meets the torque requirement?
   A) To make the joint faster
   B) So the motor works at a smaller fraction of its stall torque, drawing less current and running cooler when holding a load
   C) Because higher ratios remove backlash
   D) Because gear efficiency always rises with ratio

5. A joint's static torque is 2 N·m and the engineer applies a margin of 2. Which statement is the best practice?
   A) Choose a motor and gearbox whose stall torque at the output is exactly 2 N·m
   B) Ignore the margin if the motor looks large enough
   C) Require at least 4 N·m of peak output torque and record why a margin of 2 was chosen
   D) Use a margin only for mobile robots

### My notes

______________________________________________

______________________________________________

---

## Answer key (for self-checking after you try)

**Lesson 1: How sensors measure**

1. B — Tight grouping means good precision. A consistent offset is bias, which means poor accuracy. Calibration against a known reference could remove most of it.
2. A — 10 bits give 2¹⁰ = 1024 counts. 100 / 1024 ≈ 0.098 °C per count, so roughly 0.1 °C. Resolution says nothing about accuracy, though.
3. D — An average describes the recent past, so it responds slowly to real changes. Smoothness and delay trade against each other.
4. B — Time between readings is 1/5 = 0.2 s. Distance = 0.5 m/s × 0.2 s = 0.1 m = 10 cm, during which the robot has no new information.
5. A — Bias does not show up as scatter, so repeated readings alone cannot reveal it. You must compare against something whose true value you trust.

**Lesson 2: Sensing position and motion**

1. B — 4 × 1000 = 4000 counts per revolution, and 360° / 4000 = 0.09° per count.
2. C — Counts are relative to wherever counting began. Moving to a known reference, such as a limit switch, establishes the zero position.
3. A — An accelerometer cannot distinguish gravity from acceleration. That is what makes it useful as a tilt sensor, and confusing when the robot is moving.
4. D — Error = bias × time = 0.2 °/s × 120 s = 24°. Integration turns a small constant rate error into a steadily growing angle error.
5. B — Their errors are complementary. Trusting the gyro for fast changes and the accelerometer for the long-term average is the idea behind sensor fusion.

**Lesson 3: Sensing force, touch and proximity**

1. B — ΔR = gauge factor × strain × R = 2 × 0.001 × 350 Ω = 0.7 Ω, only 0.2% of the gauge's resistance.
2. B — The resistance change is a fraction of a percent. A balanced bridge isolates that small change from the large constant resistance.
3. C — FSRs are cheap, thin and very good at detecting contact. Their nonlinearity and drift matter less when you only need yes or no.
4. D — The sensor only sees the strength of the reflection. Triangulation-based IR sensors measure the return angle instead, which depends much less on colour.
5. A — Gain = 3.000 kg / (3.20 − 0.20) mV = 1.0 kg per mV. Mass = (1.70 − 0.20) × 1.0 = 1.5 kg. Always subtract the offset first.

**Lesson 4: Cameras and depth sensing**

1. B — Blur = speed × exposure = 0.25 m/s × 0.020 s = 0.005 m = 5 mm.
2. C — Z = f × B / d = 500 × 10 / 25 = 200 cm. The same formula shows why small disparities, far away, are sensitive to pixel errors.
3. A — Stereo needs to find the same point in both images. A featureless surface offers nothing to match. Structured light adds its own texture to fix this.
4. C — A longer path takes longer to travel, and the sensor interprets the extra time as extra distance. Corners and shiny floors are common culprits.
5. B — Light passes through or reflects off glass rather than returning cleanly, so depth readings are unreliable. Touch or proximity sensing can help confirm contact.

**Lesson 5: Actuators**

1. A — Average voltage ≈ duty × supply = 0.25 × 12 V = 3 V. The motor's inertia smooths the fast switching.
2. C — Pulse width encodes the angle, typically around 1.0–2.0 ms. The servo's internal potentiometer and controller do the rest.
3. D — Each full step is 1.8°, so 90° / 1.8° = 50 steps.
4. B — Without a sensor, the controller assumes every step happened. Homing at start-up, or adding an encoder, guards against this.
5. C — Wheels need continuous rotation and good speed. DC motors provide it; an encoder lets a controller regulate speed and measure distance.

**Lesson 6: Torque, speed and gearing**

1. B — τ = m × g × r = 1.2 × 9.81 × 0.25 ≈ 2.94 N·m.
2. D — Output torque = 0.04 × 50 × 0.8 = 1.6 N·m. Without losses it would be 2.0 N·m.
3. C — Power = torque × speed. It is zero at both ends of the line, so it peaks in the middle, where P = stall torque × no-load speed / 4.
4. B — More reduction means less motor torque for the same load, which reduces heating. The cost is lower top speed, and often more backlash and friction.
5. C — Margins cover acceleration, uncertain loads and losses. Stating the margin and its reason lets others check the judgement later.

---

This work is licensed under the Creative Commons Attribution 4.0 International licence (CC BY 4.0): https://creativecommons.org/licenses/by/4.0/. Attribute as: Tactiverge Academy, https://tactiverge.win.
