Skip to content
Tactiverge

School/◇ Explorer/Week 4

You can't have it all: constraints and trade-offs

Phone makers could fit a battery that lasts a whole week. Why don't they?

About 25 min · 3 goals · Checked by automated tests; not yet reviewed by an educator

1.Why should I care?

Every real design is squeezed between limits: money, mass, size, time, safety. Engineers who understand trade-offs can explain why a design is the way it is, and spot clever ways to beat a limit.

  • ◇ Tell the difference between a constraint (a must) and a criterion (a 'the more the better').
  • ◇ Describe a trade-off: improving one thing makes another worse.
  • ◇ Use a simple budget (cost or mass) to check whether a design fits.

2.Predict

A team doubles the size of a phone's battery. What else changes?

Guess first. Being wrong here is how the surprise works.

3.Discover

In the trade-offs lab, give 'mass' the most weight, then 'cost', then 'performance'. Each time, note which design wins. Can you find one design that is never the worst at anything?

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.

EST. ACCURACY (%) vs COST (CU)406080050100150BUDGET 100AMICROCONTROLLER ONLYBMICROCONTROLLER + LOW-RES CAMERACSINGLE-BOARD COMPUTERDSBC + CAMERAE✕ SBC + CAMERA + ACCELERATORF✕ SBC + DEPTH CAMERACIRCLE AREA ∝ POWER
  • Meets limits
  • ✕ Violates a limit
  • Pareto frontier
  • Outside a limit

Limits

100 CU
8.0 W

Priorities (weights 0–10)

5

Cheaper is better

3

Lower draw means a smaller battery or longer run time

2

Headroom for heavier algorithms later

6

Estimated task success

0 %
Horizontal axis

Illustrative figures for teaching, not measured specifications

  1. 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

    Score58
  2. DSBC + 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

    Score57
  3. AMicrocontroller 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

    Score50
  4. CSingle-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)

    Score46
  5. ESBC + 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

    Score53
  6. FSBC + 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 designs with scores for mass, cost, performance and other criteria. Making one criterion more important changes which design scores best. A design that is worse than another on every criterion can be ruled out straight away.

4.Understand

Constraints: the walls you can't cross

A constraint is a hard limit: must cost under £20, must fit through a 70 cm door, must be safe for under-fives. If a design breaks a constraint, it's out, however good it is at everything else.

Criteria and trade-offs

A criterion is something you want more (or less) of: lighter, cheaper, faster, quieter. Often criteria fight each other. Stronger usually means heavier; faster usually uses more energy. Giving up some of one to gain another is a trade-off. Engineers make trade-offs on purpose, and write down why.

Budgets keep you honest

Engineers keep running totals called budgets: a mass budget, a cost budget, a power budget. Each part gets a share. If the parts add up to more than the budget, something has to change before anything gets built. A rover with a 10 kg mass budget can't carry an 11 kg payload, however exciting.

Explain it another way

Packing for a trip with one small bag: you can't bring everything, so you trade the extra jumper for the book you really want.

Worked example 1

A robot's mass budget is 5 kg. Frame 1.8 kg, motors 1.2 kg, battery 1.5 kg. Can you add a 0.8 kg camera arm?

Total so far: 1.8 + 1.2 + 1.5 = 4.5 kg. Adding 0.8 kg makes 5.3 kg: 0.3 kg over budget. Options: a lighter frame, a smaller battery (trade-off: shorter run time), or a lighter camera arm.

Common mix-ups

  • A perfect design has no trade-offs.
    ✓ Every real design has trade-offs. A good design makes them on purpose, for the right users.
  • Constraints are bad news.
    ✓ Constraints focus a design. Many clever inventions came from engineers working around a tight limit.

5.Practice

Practice, not a test. Wrong answers get a hint and another try.

Practice 1

Which is a constraint rather than a criterion?

Practice 2

Which is an example of a trade-off?

Practice 3

Your project budget is £25. You've spent £9 on wood and £7.50 on wheels. How much is left for everything else, in pounds?

£

Practice 4

A drone's mass budget is 900 g. Its parts weigh 350 g, 280 g, 190 g and 120 g. How many grams over budget is it?

g

6.Apply it

Design a paper bridge that must span a 20 cm gap using at most 2 sheets of paper and 30 cm of tape (constraints). Try to hold as many coins as possible (criterion). Record each version: what you changed, what it held, and what you traded off.

7.Reflect

Concepts: Constraints, budgets and trade-offs