Inferensys

Glossary

Static Power vs. Dynamic Power

Static power is the constant power consumed by a circuit due to leakage current when powered on but idle, while dynamic power is the additional power consumed during active switching and computation.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
TINYML BENCHMARKING & PROFILING

What is Static Power vs. Dynamic Power?

In TinyML, understanding power consumption is critical for battery life. The total power draw is the sum of static and dynamic power, each with distinct causes and optimization strategies.

Static power (or leakage power) is the constant power consumed by a circuit when it is powered on but idle, primarily due to subthreshold leakage current across transistors, which is a function of silicon process technology, voltage, and temperature. Dynamic power is the additional power consumed during active computation, resulting from the charging and discharging of capacitive loads (switching activity) and short-circuit current during transistor state transitions. For battery-powered TinyML devices, minimizing both is essential for operational longevity.

In microcontroller-based systems, dynamic power often dominates during active inference, scaling with clock frequency and the square of the supply voltage (P_dyn ∝ C * V² * f). Static power becomes the primary concern in low-duty-cycle or always-on sensing applications where the device spends most of its time in a sleep state. Profiling tools measure these components to guide optimizations like voltage scaling, clock gating, and selecting low-leakage silicon to navigate the fundamental energy-accuracy trade-off in embedded machine learning.

TINYML POWER ANALYSIS

Static Power vs. Dynamic Power: Key Differences

A comparison of the two fundamental components of total power consumption in microcontroller-based TinyML systems, critical for battery life and thermal design.

Feature / MetricStatic Power (Leakage Power)Dynamic Power (Switching Power)

Primary Cause

Transistor leakage current (subthreshold, gate oxide)

Capacitive charging/discharging during logic transitions

Dependency on Activity

Constant when device is powered on

Proportional to switching frequency (clock rate) and data activity

Formula

P_static = I_leakage * V_dd

P_dynamic = α * C * V_dd² * f

Key Variables

Supply voltage (V_dd), temperature, process technology

Activity factor (α), load capacitance (C), voltage (V_dd), frequency (f)

Dominance in TinyML

Dominant in deep sleep or idle states; significant in advanced low-power nodes

Dominant during active inference computation

Primary Mitigation Technique

Power gating (shutting off power to idle blocks)

Dynamic Voltage and Frequency Scaling (DVFS), clock gating

Impact of Temperature

Increases exponentially with higher temperature

Largely independent; minor indirect effects

Measurement Focus

Microamps (µA) or nanoamps (nA) in sleep modes

Milliamps (mA) during active inference, Energy per Inference (µJ)

Design Optimization

Selecting low-leakage process libraries, aggressive power gating

Operator/kernel fusion, efficient dataflow, precision reduction (e.g., INT8)

TINYML BENCHMARKING & PROFILING

How Static and Dynamic Power Work in TinyML Systems

In TinyML systems, total power consumption is the sum of static and dynamic power, two fundamental components with distinct physical origins and optimization strategies.

Static power is the constant power consumed by a powered-on integrated circuit due to leakage current flowing through transistors even when they are idle. It is determined by the chip's manufacturing process, operating voltage, and temperature. In battery-powered TinyML deployments, minimizing static power is critical for extending device lifetime during long periods of standby or low activity.

Dynamic power is the additional power consumed during active computation when transistors switch states to perform logic operations. It is proportional to the switching activity, operating frequency, and the square of the supply voltage. For TinyML, optimizing dynamic power involves techniques like voltage scaling, efficient kernel implementations, and reducing the MACC count of the model to lower the energy per inference.

TINYML BENCHMARKING & PROFILING

Characteristics of Static and Dynamic Power

Understanding the distinct sources of power consumption in microcontroller-based systems is fundamental for optimizing battery life and thermal design in TinyML applications.

01

Static Power (Leakage Power)

Static power is the constant power dissipated by a digital circuit when it is powered on but not actively switching. It is caused by subthreshold leakage current flowing through transistors even when they are nominally 'off'. This power is independent of clock speed or computational activity. Key factors influencing static power include:

  • Process Technology: Smaller transistor geometries (e.g., 28nm vs. 180nm) exhibit exponentially higher leakage.
  • Supply Voltage (Vdd): Static power has a super-linear relationship with Vdd.
  • Temperature: Leakage current increases dramatically with junction temperature.
  • Standard Cell Libraries: Use of high-Vt (threshold voltage) cells reduces leakage at the cost of slower switching speeds. For a typical microcontroller in a sleep state, static power can range from microamps to milliamps, dominating total energy consumption in long idle periods.
02

Dynamic Power (Switching Power)

Dynamic power is the power consumed during active computation due to the charging and discharging of capacitive loads (wires and transistor gates) during logic transitions. It is the primary power cost of performing inference. The classic equation is P_dynamic = α * C * V² * f, where:

  • α (Activity Factor): The probability a gate will switch in a clock cycle (typically 0.1-0.2 for neural network layers).
  • C (Load Capacitance): The total capacitive load being switched.
  • V (Supply Voltage): The core voltage, which has a quadratic impact.
  • f (Clock Frequency): The switching rate. In TinyML, dynamic power spikes during the execution of compute-intensive layers like convolutions. Techniques like clock gating and dynamic voltage and frequency scaling (DVFS) directly target dynamic power reduction.
03

Primary Physical Causes

The physical origins of static and dynamic power are distinct and rooted in semiconductor physics.

Static Power Sources:

  • Subthreshold Leakage: Current flowing between source and drain when the transistor is in weak inversion.
  • Gate Oxide Tunneling: Current leaking through the thin insulating gate oxide.
  • Reverse-Bias Junction Leakage: Minority carrier diffusion in reverse-biased p-n junctions.

Dynamic Power Sources:

  • Capacitive Switching Energy: The dominant component, required to charge the gate capacitance of fan-out transistors and wire capacitance to logic '1' and discharge it to '0'.
  • Short-Circuit (Crowbar) Current: A brief period during switching when both PMOS and NMOS transistors are partially on, creating a direct path from Vdd to GND. Understanding these causes informs low-level optimization, such as choosing a semiconductor process node or implementing power gating to eliminate leakage in idle blocks.
04

Dependence on Operational Mode

The proportion of static vs. dynamic power varies drastically based on the system's operational state, which is central to TinyML duty-cycling strategies.

Active Inference Mode:

  • Dynamic power dominates. The processor cores, memory, and accelerators are clocked, performing millions of switches per second.
  • Power draw can be 10-1000x higher than in sleep mode.

Deep Sleep / Standby Mode:

  • Static power dominates. Clocks are halted, and most logic is power-gated or in a retention state.
  • Only essential always-on domain circuits (e.g., a real-time clock or wake-up controller) leak current.

Key TinyML Strategy: Minimize the product of active power and inference time, then maximize the length of deep sleep periods where only static power is paid. This is quantified by the energy per inference metric.

05

Impact of Model & Hardware Architecture

Design choices at the model and hardware level directly determine the balance and magnitude of power consumption.

Model Architecture Impact:

  • Dynamic Power: Models with higher MACC counts and activation sparsity directly influence the activity factor (α). Quantized models (e.g., INT8 vs. FP32) reduce the switched capacitance (C) in arithmetic units.
  • Static Power: Larger models with more parameters require more SRAM for weights, increasing the total silicon area and thus aggregate leakage current.

Hardware Architecture Impact:

  • Dynamic Power: Dedicated neural processing unit (NPU) accelerators with optimized dataflows achieve the same computation with far fewer memory accesses, reducing dynamic energy.
  • Static Power: Systems-on-Chip with fine-grained power gating can shut off leakage in unused NPU tiles, SRAM banks, or peripherals. The choice of process corner (fast vs. low-power) trades off dynamic performance for static leakage.
06

Measurement and Profiling Techniques

Accurately attributing power consumption requires specialized measurement methodologies.

Direct Measurement:

  • Using a high-precision digital multimeter or source measurement unit (SMU) in series with the power supply to sample current at a high rate (kHz+).
  • Calculating Energy: Integrating the current-voltage product over the exact inference window: E_inference = ∫ V(t) * I(t) dt.

On-Chip Estimation:

  • Performance Counters: Some MCUs provide counters for clock cycles, cache misses, etc., which can be correlated with power models.
  • Internal Current Sensors: Advanced microcontrollers integrate on-die current sensors for coarse-grained monitoring.

Profiling Workflow:

  1. Measure total system power in deep sleep to establish static power baseline.
  2. Execute a single inference in a tight loop, measuring total active power.
  3. The difference is the dynamic power contribution for that workload.
  4. Use layer-wise profiling tools to attribute dynamic power to specific network layers. Tools like the MLPerf Tiny Profiler or vendor-specific suites assist in this analysis.
TINYML POWER ANALYSIS

Frequently Asked Questions

Understanding power consumption is critical for deploying TinyML models on battery-powered microcontrollers. This FAQ clarifies the fundamental distinction between static and dynamic power, their causes, measurement techniques, and optimization strategies.

Static power is the constant power consumed by a circuit when it is powered on but idle, primarily due to leakage current through transistors. Dynamic power is the additional power consumed during active computation, caused by the charging and discharging of capacitive loads when transistors switch states.

In TinyML, static power is the baseline draw that determines standby battery life, while dynamic power spikes occur during sensor sampling, data preprocessing, and most critically, during the model inference itself. The total power for an inference task is the sum of the static power over the entire operation time plus the dynamic power consumed during the active compute phases.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.