Energy & Power · Study deck

Energy-Aware Design Basics

Picture a soil sensor that lasts months in a spreadsheet but dies after several wet, weak-signal nights.

Battery Bruno is your guide for this deck.

aware
Energy Aware Introduction cover: Bruno choosing sleep, sense, transmit, and wake power-mode tokens beside a battery-powered IoT device.
iotclass.org

After studying this chapter

Learning objectives

Turn the maintenance promise into a measured average-current allowance.

  • The service promise sets the energy allowance.The soil sensor’s sensing, reporting, response, and maintenance requirements must be defined before choosing its energy source.
  • Average current must represent the repeating workload.Each measured state contributes its current multiplied by the time spent sleeping, sensing, communicating, or waiting.
  • Usable capacity depends on deployment conditions.Cutoff, temperature, pulse load, age, and reserve can reduce the energy available from the battery label.
  • A lifetime claim needs reproducible evidence.Retry behavior, environmental margin, and the board and firmware versions must accompany the current trace.

I am reviewing a soil sensor that died after wet, weak-signal nights. I need the service promise and measured workload together before accepting its battery estimate.

iotclass.org

Major section

Start With a Device That Must Outlast Its First Week

A field lifetime claim starts with the repeating workload the battery must actually support.

  • The workload must include every important operating state.Sleep, sensing, compute, storage, radio, retry, and alarm activity all contribute to the repeating cycle.
  • State timing determines how much charge a cycle consumes.The evidence record needs each state’s current, duration, and event count before average demand can be calculated.
  • The measurement setup must match the deployed device.Board, firmware, battery, and environmental records connect the current trace to the soil sensor’s actual configuration.
  • Weak signal can invalidate the bench estimate.Additional radio attempts extend field activity even when the original peak current remains unchanged.

I am comparing the soil sensor’s bench trace with its field failures. I include retries and alarms because quiet bench operation cannot represent every deployed cycle.

iotclass.org

Activity 1 · Match

✎ Build the evidence record

I want you to match each lifetime assumption with evidence another engineer can inspect.

On paper, match reporting frequency, sleep current, usable capacity, retry count, and firmware version to service requirements, whole-device traces, source derating, field radio logs, and the build record. Explain why a battery label cannot replace this evidence.

3 minutes · Pen and paper · Answer: Activity 1

Your answer
iotclass.org

Major section

Usable Capacity and Pulse Headroom

Usable capacity combines separate source losses, while a radio pulse also tests voltage headroom.

  • The nameplate energy is only the starting point.The chapter’s 2400 mAh source at 3.6 V stores 8.64 Wh before deployment losses are applied.
  • Separate retention factors combine into usable capacity.The 95% shelf, 87% cold-and-pulse, and 85% cutoff factors leave 70.3%, or 1,686.1 mAh.
  • The source resistance can consume the radio’s voltage margin.The voltage drop is 0.336 V through 8 ohms during a 42 mA pulse, leaving 0.864 V of brownout margin.
  • A larger source resistance can prevent operation.At 40 ohms, the pulse leaves 1.92 V and fails the chapter’s 2.4 V limit.

I am checking the 2400 mAh cell behind the sensor’s lifetime promise. I examine both the retained capacity and the voltage during a 42 mA radio burst.

iotclass.org

Major section

Energy Is A Design Budget

Follow usable capacity through the power path and load states, then return measurement evidence to the budget.

  • The source label differs from usable capacity.The first budget step must account for temperature, cutoff, pulse load, age, and reserve under deployment conditions.
  • The power path can consume part of the allowance.Regulator leakage and conversion losses reduce what remains for the sensors, processor, radio, and other loads.
  • Load states determine the measured average-current demand.The budget combines each state’s current and duration before comparing the workload with the service allowance.
  • The evidence loop can revise every budget assumption.Field retries or longer firmware states require corrections to the ledger rather than a single optimistic lifetime number.
An energy-aware budget is a loop: usable source assumptions feed the power path and load-state ledger, while measurement evidence updates the average-current claim.
An energy-aware budget is a loop: usable source assumptions feed the power path and load-state ledger, while measurement evidence updates the average-current claim.
iotclass.org

Major section

The Four Budget Questions

Service, states, source, and evidence define different parts of the same lifetime claim.

  • The service specifies what the device must deliver.Sensing, reporting, response, reliability, and maintenance behavior define the promise that consumes the energy budget.
  • The state list describes where operating time goes.Sleeping, sensing, computing, storing, transmitting, receiving, retrying, and waiting must appear in the workload record.
  • The source estimate describes energy available in deployment.Usable capacity must account for cutoff, temperature, pulse load, age, and reserve before supporting a lifetime claim.
  • The evidence identifies how the budget was measured.The trace, firmware version, board configuration, and field record let another engineer review the same operating conditions.

I am building one review record for the soil sensor. I keep the service, states, source, and evidence separate so each assumption can be challenged.

iotclass.org

Major section

Beginner Vocabulary

Separate the rate of consumption from the total accumulated over a workload.

  • Power is the rate of energy consumption.A state’s voltage and current establish its power while the device is sleeping, computing, or transmitting.
  • Energy and charge are totals accumulated over time.Energy is power accumulated over time, while charge is current accumulated over time for the battery-capacity calculation.
  • Average current is the workload’s steady equivalent.The measured cycle charge must be divided by the complete cycle time, including long sleep intervals.
  • Duty cycle and usable capacity describe different constraints.Duty cycle is a state’s time share; usable capacity is the part of the source available under deployment conditions.

I am reading the sensor’s 600-second cycle beside its battery capacity. I distinguish a momentary rate from an accumulated total before combining the numbers.

iotclass.org

Major section

Build The Energy Design Ledger

A useful ledger lets another engineer inspect the workload and challenge the assumptions.

  • The ledger connects the service promise to measured demand.Allowed average current must be compared with whole-device state currents and durations from the repeating workload.
  • The source derating belongs beside the demand estimate.A lifetime calculation needs usable capacity after deployment losses rather than the battery’s nominal label alone.
  • Conservative assumptions make uncertainty visible.Expected and conservative ledgers show how retries, environmental conditions, and source limits can consume the remaining margin.
  • Average current cannot replace every energy analysis.Mixed voltages, converter losses, pulse loads, and harvesting paths may require an energy-based comparison.

I am handing the soil sensor’s energy ledger to another engineer. I keep the expected and conservative cases visible so the remaining margin can be questioned.

iotclass.org

Major section

Budget Workflow

Set the allowance first, measure the cycle next, and review margin before accepting the design.

  • The maintenance target determines the average-current allowance.The 2400 mAh source at 70 percent usable capacity allows about 96 uA over two years.
  • The example board is already above the allowance.The total is about 110 uA from 80 uA sleep plus 30 uA other work, before retry or cold-weather margin.
  • Measured state charge must include current and duration.Each sleep, wake, sensing, storage, transmit, and receive state contributes its current multiplied by measured time.
  • Cycle charge must be compared with cycle time.Dividing total charge by the complete cycle duration reveals whether the required service fits the average-current allowance.

I am testing the chapter’s two-year promise before selecting optimizations. I compare the 96 uA allowance with a board that already spends about 110 uA.

iotclass.org

Major section

Review Ledger

Record the assumption, its evidence, its likely failure, and the change that demands retesting.

  • A changed reporting interval reopens the service budget.Faster reporting changes wake frequency, while altered latency or maintenance targets can change the original allowance.
  • Firmware and hardware changes require renewed state evidence.A new sensor, radio, clock, peripheral, or board assembly can alter measured current and state timing.
  • A source change can alter usable capacity.Battery chemistry, regulator, enclosure, temperature range, and reserve policy are explicit triggers for reviewing source derating.
  • Field failures can expose missing budget assumptions.Resets, missed reports, unexpected retries, and weak signal require renewed review of margin and measurement evidence.

I am revisiting the ledger after the sensor starts missing field reports. I connect each changed assumption to the evidence that needs another measurement.

iotclass.org

Major section

What The Numbers Mean

The arithmetic is useful only when its states and source assumptions represent deployment.

  • Whole-device traces can reveal hidden loads.Pull-ups, indicators, powered sensors, and regulator leakage may consume energy missing from individual component tables.
  • Radio and firmware behavior can extend active states.Receive windows, joins, retries, storage writes, and delays may increase the workload beyond the ideal trace.
  • Duration determines the accumulated energy cost.Voltage and current establish state power, but the time spent in that state determines its energy contribution.
  • A precise calculation still depends on realistic assumptions.The lifetime number is only useful when measured behavior and usable source limits represent the intended deployment.

I am looking for loads hidden by the soil sensor’s ideal trace. I include powered sensors, receive windows, and firmware delays before trusting the arithmetic.

iotclass.org

Major section

Worked Cycle Example

Weight each state by its duration before judging how much the sleeping device consumes.

  • Sleep is the longest state in the measured cycle.The 600-second cycle includes 592 seconds at 0.008 mA, alongside warm-up, compute, radio, storage, and shutdown.
  • The short radio state still uses substantial charge.The transmit-and-receive state has 42 mA for 3 seconds, contributing 126 mA*s to the cycle.
  • The total cycle charge determines average current.The measured states sum to 146.736 mA*s; division by 600 seconds gives 0.2446 mA.
  • Usable capacity turns average demand into a lifetime estimate.The chapter’s 1680 mAh usable capacity gives about 286 days before additional weak-signal retries.

I am following the sensor’s 10-minute reporting cycle. I compare its long sleep with the short 42 mA radio state before estimating life from 1680 mAh.

iotclass.org

Activity 2 · Work it out

✎ Price the radio retries

I want you to calculate the retry cost before trusting the battery-life estimate.

On paper, divide 146.736 mA*s by a cycle lasting 600 seconds. Then add the extra retry charge of 252 mA*s and divide by the same cycle time. Compare the chapter’s estimates of 286 days and 105 days, and explain what changed.

4 minutes · Pen and paper · Answer: Activity 2

Your answer
iotclass.org

Major section

Equations To Use Carefully

Choose the relationship that matches the quantities and boundary being reviewed.

  • State power requires matching voltage and current.The relationship P = V x I applies when those quantities describe the operating state under review.
  • Energy depends on power over the stated duration.The relationship E = P x t supports comparisons involving different voltages, converters, pulse loads, or harvesting paths.
  • Average current requires the complete measured cycle.The sum of state current times duration must be divided by total cycle time, including sleep and waiting.
  • Lifetime requires derated capacity and stated assumptions.Usable capacity divided by average current gives an estimate only after source losses and workload conditions are recorded.

I am checking the units in the 600-second ledger. I use state power, cycle charge, and usable capacity at the points where each quantity answers the review question.

iotclass.org

Major section

Handoff Points That Break Budgets

A changed handoff can invalidate the budget without changing a component’s advertised active current.

  • Faster reporting can increase the workload.The service-to-firmware handoff changes wake frequency and therefore the energy consumed across the reporting cycle.
  • Radio coordination can cost more than the payload.Joins, acknowledgments, receive windows, and retries all add state time that the budget must include.
  • The assembled board has loads beyond component ratings.Whole-device measurement includes regulators, sensors, leakage, and standby loads that individual tables may omit.
  • Field conditions can invalidate a laboratory estimate.Weak signal, enclosure changes, dirty connectors, and firmware logging can change behavior after prototype testing.

I am investigating failed joins after the soil sensor wakes. I follow the firmware-to-radio handoff because extra state time can defeat an otherwise low-current design.

iotclass.org

Major section

Summary

Keep the service promise, usable source, measured workload, and remaining margin in one reviewable record.

  • Long sleep does not guarantee a small average current.The chapter’s 592-second sleep still shares a cycle with a costly 3-second radio state.
  • Usable capacity can be smaller than nominal capacity.Cutoff, temperature, pulse load, aging, converter behavior, and reserve determine what the workload can actually consume.
  • Retries can reduce lifetime without changing peak current.Two extra radio attempts raise the example’s average to 0.6646 mA and reduce its estimate to about 105 days.
  • Design changes require another ledger review.Firmware, hardware, source, environment, and service changes can invalidate the assumptions behind the accepted lifetime claim.

I am comparing the same sensor with and without weak-signal retries. I keep the changed radio duration beside the source assumptions so the lifetime difference is explainable.

iotclass.org

Deck summary

Key takeaways

Accept a battery-life estimate only with reproducible workload measurements and explicit source assumptions.

  • The service target must become an average-current allowance.The two-year example allows about 96 uA from a 2400 mAh cell at 70 percent usable capacity.
  • The measured cycle must cover the whole device.Receive windows, retries, sleep leakage, and board loads belong beside sensing and transmit activity in the evidence record.
  • The source derating and uncertainty must remain visible.Expected and conservative ledgers connect usable capacity, deployment conditions, and remaining margin to the lifetime estimate.
  • Field evidence must keep the budget current.Reset logs, missed reports, weak signal, and changed workload are reasons to repeat the measurement and review.

I am deciding whether the soil sensor’s battery promise is ready for review. I need a repeatable trace and visible margin as well as the final lifetime number.

iotclass.org

Retrieval practice

Recall check 1 of 3

Battery Bruno says: answer from memory, then check your reasoning.

Q1A team claims a two-year battery life because the battery label has enough nominal mAh for the calculator. What should the review ask for first?

AOnly a larger battery, because battery size is the only variable in energy-aware design.
BThe peak transmit current and pulse duration, to confirm the battery supports radio bursts.
COnly the dashboard screenshot, because displayed data proves the energy budget.
DA service requirement, usable-capacity assumption, measured state-current trace, duty-cycle ledger.
Show answer

Answer: D Nominal capacity alone does not prove a deployed lifetime claim; the review needs a service-bound evidence record.

iotclass.org

Retrieval practice

Recall check 2 of 3

Battery Bruno says: answer from memory, then check your reasoning.

Q2A prototype meets its average-current budget on the bench, but only when radio retries are disabled and the battery is fresh at room temperature. What should be recorded before accepting the design?

AA conservative ledger that includes retry behavior, usable-capacity derating, environmental assumptions.
BOnly the best bench trace, because the lowest current proves the deployed lifetime.
CThe battery's nominal capacity and room-temperature discharge curve, to document the source rating.
DOnly a new chart color, because the energy evidence is already complete.
Show answer

Answer: A The accepted claim must reflect deployment conditions, not only the easiest bench trace.

iotclass.org

Retrieval practice

Recall check 3 of 3

Battery Bruno says: answer from memory, then check your reasoning.

Q3A current trace shows low active current, but field logs show frequent failed joins after wakeup. Which budget handoff should be investigated first?

AOnly the battery label, because radio behavior cannot change current consumption.
BThe firmware-to-radio handoff, because joins, receive windows, acknowledgments, and retries add state time.
COnly the page title, because failed joins are a documentation issue.
DNo investigation is needed because low active current proves the budget is complete.
Show answer

Answer: B The average budget must include real radio behavior after wakeup, not only the ideal active state.

iotclass.org

Print reference

Answers

Answer key.

  1. D · Nominal capacity alone does not prove a deployed lifetime claim; the review needs a service-bound evidence record.
  2. A · The accepted claim must reflect deployment conditions, not only the easiest bench trace.
  3. B · The average budget must include real radio behavior after wakeup, not only the ideal active state.
iotclass.org

Print reference

Activity 1 answer

Model answer.

Match: Reporting frequency belongs to service requirements; sleep current needs a whole-device trace; usable capacity needs source derating; retry count needs field radio logs; firmware version belongs to the build record. The label alone excludes state timing, deployment losses, and reproducible workload evidence.

iotclass.org

Print reference

Activity 2 answer

Model answer.

Work it out: The baseline is 0.2446 mA, about 245 uA. With retries, (146.736 + 252) / 600 = 0.6646 mA. At 1680 mAh usable capacity, the chapter estimates about 286 days versus about 105 days. Radio state duration increased; peak current stayed unchanged.

iotclass.org