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?
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.
Predict
A robot must weigh at most 1000 g. Parts so far total 850 g. What is the margin?
- 150 %
- 15 %
- 85 %
- 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.
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
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.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
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.