Inferensys

Glossary

Wake-on-Event

Wake-on-Event is a system power management feature where a deeply sleeping device is awakened by a specific external trigger, enabling ultra-low-power always-on sensing for IoT and TinyML applications.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
POWER-AWARE TINYML

What is Wake-on-Event?

A core power management technique for always-on sensing in battery-powered IoT and edge devices.

Wake-on-Event (WoE) is a system-level power management technique where a device in a deep sleep state is awakened by a specific, pre-configured hardware or software trigger, enabling ultra-low-power, event-driven operation. Instead of periodically waking up to check for activity, the system's always-on (AON) domain—a minimal, low-power circuit—continuously monitors a designated input, such as a sensor exceeding a threshold or a signal from a wake-up radio (WUR). This eliminates the energy waste of unnecessary polling, allowing the main processor and peripherals to remain powered down until a meaningful event occurs.

In TinyML and IoT deployments, WoE is fundamental for achieving multi-year battery life. Common triggers include GPIO pin transitions, analog comparator outputs, specific I2C/SPI transactions, or internal timers. The technique creates a critical energy-accuracy trade-off, as the complexity and power of the AON monitoring logic must be balanced against the system's responsiveness and false-positive rate. Successful implementation requires tight integration of hardware capabilities, firmware, and power-aware scheduling to minimize the latency and energy cost of the full wake-up sequence.

POWER-AWARE TINYML

Key Characteristics of Wake-on-Event Systems

Wake-on-event is a critical power management feature for always-on sensing. It enables a device to remain in an ultra-low-power sleep state until a specific external trigger occurs, at which point the main processor is awakened to perform a task.

01

Ultra-Low-Power Always-On (AON) Domain

The core enabler of wake-on-event is a dedicated, minimal always-on (AON) power domain. This tiny circuit, often just a simple state machine or ultra-low-power microcontroller (e.g., an Arm Cortex-M0+), remains active while the main CPU and other subsystems are in a deep sleep state (e.g., a C-state like C7). It continuously monitors one or more wake-up sources, drawing only microamps of current. This domain is physically isolated on the chip to prevent leakage from the sleeping logic.

02

External Hardware Triggers

Wake-up events originate from hardware peripherals that can operate independently of the main CPU. Common triggers include:

  • Digital GPIO Interrupts: A change in state on a configured pin, such as a button press or a signal from an external sensor.
  • Analog Comparator: Wakes the system when a sensor's analog voltage (e.g., from a photodiode or temperature sensor) crosses a pre-set threshold.
  • Real-Time Clock (RTC) Alarm: A timed event from a low-power clock, enabling periodic sampling.
  • Wake-Up Radio (WUR): A specialized, simple receiver that listens for a specific RF packet or pattern while consuming orders of magnitude less power than the main radio.
03

Sensor Hub & Pre-Processing

To avoid waking the main CPU for irrelevant data, the AON domain can perform basic sensor data pre-processing. For example, an integrated low-power accelerometer might be configured to only generate a wake-up event if motion exceeds a specific magnitude (activity detection) or matches a simple pattern (tap detection). This adaptive sampling and thresholding at the sensor level is a key technique for minimizing system-level energy consumption in TinyML applications.

04

Deterministic & Fast Wake-Up Latency

A critical system specification is the wake-up latency—the time from the trigger event to the main CPU being ready to execute code. This is dictated by:

  • The speed of the AON domain's interrupt handling.
  • The time required to restore power and clock to the main CPU cores and essential peripherals.
  • The time to restore context from non-volatile memory if the system was in a hibernation state. For always-on voice assistants or fall detection, this latency must be reliably under 100ms, often targeting 10ms or less.
05

Integration with Power Management ICs (PMICs)

In complex systems, wake-on-event logic is tightly coordinated with an external Power Management IC (PMIC). The AON domain communicates with the PMIC via a low-power bus (e.g., I2C) to sequence the power rails: it may signal the PMIC to enable the 1.8V rail for the core logic, then the 3.3V rail for I/O, ensuring a stable and controlled power-up sequence. The PMIC itself can also be a wake-up source, responding to events like a battery insertion or a charger connect.

06

Software & OS Abstraction (ACPI)

In systems running an OS like Linux, wake-on-event capabilities are exposed to the kernel and applications through standards like the Advanced Configuration and Power Interface (ACPI). ACPI defines sleep states (S-states) and wake events. For example, a system in S3 (Suspend-to-RAM) can be woken via a GPIO interrupt defined in the ACPI tables. This abstraction allows application developers to configure wake sources (e.g., echo enabled > /sys/class/.../wakeup) without detailed knowledge of the underlying hardware registers.

POWER-AWARE TINYML

How Wake-on-Event Works: A Technical Breakdown

Wake-on-Event is a foundational power management technique for always-on sensing in battery-powered IoT and TinyML devices.

Wake-on-Event (WoE) is a system power management architecture where a device's main processor remains in a deep, ultra-low-power sleep state until a specific hardware or software trigger awakens it. This trigger is generated by a simple, low-power circuit—the always-on (AON) domain—which continuously monitors external signals like a sensor threshold breach, a GPIO interrupt, or a packet from a wake-up radio (WUR). By eliminating the need for the power-hungry main CPU to poll for events, WoE enables energy-neutral operation for long-term deployments.

The technical implementation relies on a hardware comparator or a basic finite-state machine (FSM) within the AON domain to evaluate the trigger condition. When met, this circuit asserts a wake-up signal to the system's power management unit (PMU), which restores power and clocks to the main cores. In TinyML systems, this allows for duty cycling where the device sleeps for minutes or hours, wakes for a brief inference, and returns to sleep, achieving microamp-average current draw. This is distinct from Dynamic Power Management (DPM), which manages active power states.

POWER-AWARE TINYML

Common Wake-on-Event Triggers & Use Cases

Wake-on-event enables perpetual sensing by keeping the main processor in a deep sleep state until a specific, pre-defined external condition is met. The following triggers are fundamental to designing ultra-low-power always-on applications.

01

Analog Comparator & Threshold

A dedicated, ultra-low-power analog comparator circuit monitors a sensor's voltage output. When the signal crosses a pre-set voltage threshold, the comparator generates a digital interrupt that wakes the main MCU. This is the most energy-efficient method for simple event detection.

  • Example: A temperature sensor's output wakes the system only when it exceeds 30°C.
  • Key Benefit: The main MCU and its ADC remain completely powered off until needed, saving milliwatts of power.
02

Digital Interrupt from Sensor

Many modern sensors (e.g., accelerometers, PIR motion detectors) include a built-in digital signal processor and configurable interrupt pins. They can process data internally and only signal the host MCU when a specific condition is met.

  • Example: An accelerometer configured for "free-fall detection" wakes the system only upon a sudden drop.
  • Key Benefit: Offloads simple digital signal processing (DSP) tasks to a specialized, lower-power peripheral.
03

Real-Time Clock (RTC) Alarm

An always-on domain Real-Time Clock (RTC) maintains timekeeping with nanoamp current draw. A programmed RTC alarm generates a periodic wake-up signal at fixed intervals, enabling time-based sampling or scheduled communication.

  • Example: A wildlife tracker wakes every hour to take a GPS fix and transmit data.
  • Key Benefit: Enables predictable, scheduled duty cycling with extremely low timekeeping overhead.
04

Wake-Up Radio (WuR)

A secondary, ultra-simple wake-up receiver (WuR) circuit listens for a specific, low-data-rate RF signature (e.g., a 100bps On-Off Keying pattern). Upon detecting its unique address, it triggers the main radio and MCU. This allows the primary high-power radio (e.g., LoRa, BLE) to remain off indefinitely.

  • Example: A soil moisture sensor sleeps until it receives a "transmit now" ping from a passing drone.
  • Key Benefit: Reduces average power consumption of wireless nodes by orders of magnitude compared to periodic listening.
05

Pin Change & GPIO State

A change in the logic level on a designated General-Purpose Input/Output (GPIO) pin can trigger a wake-up. This is often used for simple user interfaces or to signal from one subsystem to another.

  • Example: A door contact switch changes a pin's state from HIGH to LOW, waking a security camera.
  • Key Benefit: Provides a generic, flexible digital trigger for external events or inter-device communication.
06

Peripheral-Specific Events

Certain peripherals within the always-on domain can be configured to generate wake events based on internal conditions. This includes:

  • UART: Receiving a start bit on the RX line.
  • I2C/SPI: Detection of its own slave address on the bus.
  • Timer/Counter: A counter reaching a specific value.

Key Benefit: Allows communication buses and timers to act as intelligent triggers without CPU intervention.

COMPARISON

Wake-on-Event vs. Alternative Low-Power Strategies

A comparison of Wake-on-Event against other common power management techniques used in TinyML and IoT systems, highlighting their core mechanisms, typical latency, and primary use cases.

Feature / MetricWake-on-Event (WoE)Duty CyclingDynamic Voltage & Frequency Scaling (DVFS)Power Gating

Core Power-Saving Mechanism

Deep sleep with external hardware trigger

Periodic active/sleep schedule

Dynamic adjustment of voltage & clock speed

Complete power cutoff to idle blocks

Typical Wake-Up Latency

< 1 ms (from sensor/radio trigger)

10 ms - 10 sec (from timer interrupt)

< 100 µs (frequency transition)

1 ms - 100 ms (power rail stabilization)

Static (Leakage) Power Reduction

High (deep sleep domain)

Medium (sleep between cycles)

Low (voltage scaling reduces some leakage)

Very High (power supply is cut off)

Dynamic Power Reduction

Very High (core is off)

High (off for most of cycle)

Medium (scales with V²·f)

Very High (block is off)

Primary Trigger for Activation

External event (sensor threshold, wake-up radio)

Internal timer

CPU workload prediction/OS scheduler

Idle detection by power management unit

Hardware Complexity & Cost

Medium (requires wake-up comparator/radio)

Low (uses internal timer)

Medium (requires voltage regulators & PLLs)

High (requires power switches & isolation)

Best Suited For

Ultra-low-power always-on sensing (e.g., voice activity detection, break-in detection)

Regular, predictable data sampling (e.g., environmental monitoring every 5 minutes)

Variable, compute-intensive workloads (e.g., bursty image classification)

Idle functional blocks in SoCs (e.g., turning off a dormant GPU or DSP core)

Energy-Accuracy Trade-off

Minimal (processing only on relevant events)

High (may miss events between cycles)

Controlled (performance scales with power)

None (functionality is unavailable when gated)

WAKE-ON-EVENT

Frequently Asked Questions

Wake-on-event is a critical power management technique for always-on sensing in battery-powered and energy-harvesting devices. These questions address its core mechanisms, applications, and design considerations.

Wake-on-event is a system power management feature where a device in a deep sleep state is awakened by a specific, pre-configured external trigger, enabling ultra-low-power always-on sensing. It works by maintaining a minimal always-on (AON) domain—a small, isolated section of the chip with a simple processor, comparator, or dedicated hardware—that remains powered to monitor inputs while the main CPU and most peripherals are powered down. When a monitored signal, such as a sensor reading exceeding a threshold or a specific packet from a wake-up radio (WuR), matches the pre-defined condition, the AON domain triggers a wake-up interrupt that restores power and clocks to the main system to perform more complex processing.

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.