1.Why should I care?
Mass, cost, power and space are shared by every part of a design. Engineers keep a running budget for each, so that when one team adds 50 g, everyone can see whether the whole machine still fits.
- ◇ Turn a client's words into measurable constraints such as mass, cost and power limits.
- ◇ Build a budget that adds up every part and compare it with the limit.
- ◇ Calculate a margin as a percentage and explain why margins shrink during a project.
2.Discover
Open the trade-offs lab. Set a cost limit and a power limit and watch designs drop out as 'ruled out'. Find the tightest pair of limits that still leaves at least two designs. Which constraint is doing most of the work?
Explorer 04 — Engineering constraints
No design wins on everything
Choosing a robot's perception and compute stack means trading cost, power and capability. Set your priorities and limits, then see which options survive and which are simply worse than another.
- Meets limits
- ✕ Violates a limit
- Pareto frontier
- Outside a limit
Limits
Priorities (weights 0–10)
Cheaper is better
Lower draw means a smaller battery or longer run time
Headroom for heavier algorithms later
Estimated task success
Illustrative figures for teaching, not measured specifications
BMicrocontroller + low-res cameraRank 1
Microcontroller reading a small low-resolution camera for colour blobs.
- Cost
- 30 CU
- Power
- 0.9 W
- Compute
- 3×
- Est. accuracy
- 52 %
✓ Meets all limits · On the frontier
Score58DSBC + cameraRank 2
Single-board computer running classical vision on a standard camera.
- Cost
- 80 CU
- Power
- 5.5 W
- Compute
- 25×
- Est. accuracy
- 74 %
✓ Meets all limits · On the frontier
Score57AMicrocontroller onlyRank 3
Microcontroller with distance and contact sensors; no camera.
- Cost
- 12 CU
- Power
- 0.3 W
- Compute
- 1×
- Est. accuracy
- 35 %
✓ Meets all limits · On the frontier
Score50CSingle-board computerRank 4
General-purpose single-board computer with the same simple sensors, no camera.
- Cost
- 55 CU
- Power
- 4.0 W
- Compute
- 25×
- Est. accuracy
- 48 %
✓ Meets all limits · Dominated by B (no worse on cost or accuracy, better on one)
Score46ESBC + camera + acceleratorExcluded
Adds a neural-network accelerator for learned object detection.
- Cost
- 150 CU
- Power
- 10.0 W
- Compute
- 120×
- Est. accuracy
- 86 %
✕ over budget by 50 CU; over power limit by 2 W · On the frontier
Score53FSBC + depth cameraExcluded
Single-board computer with a depth camera; better 3-D estimates, costly sensor.
- Cost
- 165 CU
- Power
- 7.5 W
- Compute
- 25×
- Est. accuracy
- 82 %
✕ over budget by 65 CU · Dominated by E (no worse on cost or accuracy, better on one)
Score42
State
4 of 6 options meet the limits (budget 100 CU, power 8.0 W). Highest weighted score: B, Microcontroller + low-res camera, 58 of 100, on the Pareto frontier. Frontier on cost versus accuracy: A, B, D, E.
4 of 6 options meet the limits (budget 100 CU, power 8.0 W). Highest weighted score: B, Microcontroller + low-res camera, 58 of 100, on the Pareto frontier. Frontier on cost versus accuracy: A, B, D, E.
How to read this
Each circle is a design option, placed by cost (left is better) and estimated accuracy (up is better); its area shows power. Filled circles meet every limit you set; dashed, hollow circles marked ✕ break at least one, and the hatched area shows where a limit rules options out.
The stepped line is the Pareto frontier: options for which nothing else is both cheaper (or lower-power) and more accurate. An option off the frontier is dominated, meaning another option beats it on both axes, whatever your priorities. The weighted score below is a different question: it depends entirely on the weights you chose, so two people can reasonably rank the frontier differently.
Assumptions & limitations
- All figures are illustrative teaching values chosen to make trade-offs visible. They are not measured specifications, prices or benchmarks of any product.
- Options are generic archetypes; real stacks vary widely in what each part costs, draws and achieves.
- Scores use a weighted sum of min–max normalised criteria. Normalisation is relative to these six options, so adding or removing one changes every score.
- A weighted sum hides trade-offs: a high score can come from one extreme strength. That is why the Pareto view is shown alongside it.
- The frontier is computed on the two plotted criteria only; an option dominated here may still be the best on a criterion not plotted (for example F has lower power than E).
- Accuracy is treated as a single fixed number. In practice it depends on lighting, the objects, the algorithm and integration effort, and is uncertain until tested.
Can't use the interactive? Read a description instead
The trade-offs lab lists six hypothetical robot designs with cost, power, computing load and accuracy. You set limits for cost and power; designs that break a limit are marked 'ruled out' and the rest are ranked. The activity is to find the tightest limits that still leave two designs.
3.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1
A robot must weigh at most 1000 g and the parts total 850 g. What margin is left, as a percentage?
4.Apply it
Make a mass and power budget for your capstone machine (simulated parts can use estimates from datasheets or the Builds). Give each line its source, total each budget, and state the margin against limits you set in your requirements.
5.Understand
Constraints are limits
A requirement says what the design must do; a constraint limits how it can do it: at most 1 kg, under £40, no more than 10 W, must fit in a 20 cm cube. Clients often state constraints vaguely ('light', 'cheap', 'small'). Your job is to ask until each has a number and a unit.
Budgets add up
Mass, cost and power add across parts, so list every part with its estimate and total them. Frame 150 g + motors 100 g + battery 120 g + electronics 45 g = 415 g. Power works the same way: three 2 W motors plus a 1.5 W controller draw 7.5 W, so a 15 Wh battery lasts about 2 hours.
Keep a margin
Margin = (limit − total) ÷ limit × 100%. Early in a design, estimates are guesses and always grow, so teams aim for 20–30% margin at the start and accept less as numbers firm up. A negative margin means you are over budget now, before anything has been built.
Explain it another way
A budget is pocket money for your design: every part spends some, and you want a little left over for surprises.
For an additive resource, total = Σ parts; margin = (limit − total)/limit. Track estimate maturity (guess, calculated, measured) alongside each line.
Limit 750 g, parts 150 + 100 + 120 + 45 = 415 g: margin = 335 ÷ 750 ≈ 44.7%. Battery life = energy ÷ power = 15 Wh ÷ 7.5 W = 2 h.
Drone teams keep a mass budget because every extra gram cuts flight time. Spacecraft budgets are so tight that engineers trade grams between subsystems like currency.
Worked example 1
Client: 'It has to be cheap enough for schools.' Turn this into a constraint.
Ask what schools pay. If the answer is 'under £50 a kit, bought in packs of 10', the constraint is: parts cost at most £50 per unit at a quantity of 10.
Worked example 2
Power budget: two 3 W motors, a 0.5 W sensor and a 1 W controller. A 12 Wh battery lasts how long?
Total = 6 + 0.5 + 1 = 7.5 W. Time = 12 ÷ 7.5 = 1.6 h, about 96 minutes, if everything runs at full power the whole time.
Common mix-ups
- If the total is under the limit, the budget is fine.
✓ Check the margin too. 2% under the limit at the sketch stage almost always ends over the limit. - Power budgets only need the biggest component.
✓ Every component that draws power adds to the total, including sensors and the controller.
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2 · a fresh version every time
A robot must weigh at most 500 g. Current estimates: frame 220 g, motors 80 g, battery 90 g, electronics 60 g. What margin is left, as a percentage of the 500 g limit? (Negative means over budget.)
Practice 3
Three motors draw 2 W each and the controller draws 1.5 W. How many hours does a 15 Wh battery last at that power?
Practice 4
Why do engineers keep a margin in a mass budget early in a project?
Practice 5
Which is a constraint rather than a functional requirement?
7.Predict
A robot must weigh at most 1000 g. Parts so far total 850 g. What is the margin?
Guess first. Being wrong here is how the surprise works.
8.Reflect
Concepts: Constraints, budgets and trade-offs · Electrical power and energy budgets