TactivergeLite

Lite / Building Machines That Respond / Week 31

From a vague brief to budgets with margins

Your robot must weigh under 1 kg. Today's estimate is 850 g. Are you safe, or are you about to run out of room?

About 35 min · 3 goals · Checked by automated tests · Full interactive version

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.

Predict

A robot must weigh at most 1000 g. Parts so far total 850 g. What is the margin?

  1. 150 %
  2. 15 %
  3. 85 %
  4. 0.15 %
Guess first, then reveal

15%. Margin = (limit − total) ÷ limit × 100 = 150 ÷ 1000 × 100 = 15%. That sounds comfortable, but early estimates nearly always grow (cables, screws, glue), so teams keep a margin for exactly that.

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?

What the interactive shows (text version)

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.

You can also open the interactive on the full site when you have a faster connection.

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

Intuitive

A budget is pocket money for your design: every part spends some, and you want a little left over for surprises.

Technical

For an additive resource, total = Σ parts; margin = (limit − total)/limit. Track estimate maturity (guess, calculated, measured) alongside each line.

Mathematical

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.

Applied

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

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

%

%

h

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?

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.

Reflect

Which of your budget lines is the shakiest guess, and how could you firm it up?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Requirements two strangers would agree onEvery requirement needs a test and a reason →