Artificial intelligence is moving rapidly from cloud data centers into embedded devices. Modern products increasingly need to perform object detection, image classification, anomaly detection, audio recognition, sensor fusion, pose estimation, and predictive maintenance directly at the edge.
Running these workloads entirely on a conventional CPU can be inefficient because neural networks perform huge numbers of repetitive operations such as matrix multiplication, convolution, vector arithmetic, and tensor processing.
A Neural Processing Unit, or NPU, is designed specifically for these workloads.
Instead of asking a general-purpose CPU to execute millions of AI operations one instruction at a time, the NPU accelerates many of them in parallel. This can significantly improve inference speed, energy efficiency, CPU availability, and real-time responsiveness.
Fundamentals and Technology Overview
What Is an NPU?
NPU stands for Neural Processing Unit.
It is a specialized processor designed to execute machine-learning operations efficiently.
An NPU is typically optimized for:
- multiply-accumulate operations,
- tensor arithmetic,
- convolution,
- activation functions,
- quantized inference.
NPUs are increasingly integrated into microcontrollers, application processors, edge AI SoCs, and industrial computing platforms.
Why CPUs Are Not Ideal for Every AI Workload
CPUs are highly flexible. They can run operating systems, communication protocols, control algorithms, and general application code.
But neural networks contain large amounts of highly parallel arithmetic. A CPU may execute these operations using relatively few general-purpose execution units, leading to higher latency and more energy per inference.
Why NPUs Are Different
An NPU contains hardware specifically designed to process many neural-network operations simultaneously.
Instead of repeatedly fetching and decoding general-purpose instructions, the accelerator executes structured AI workloads more directly. This improves operations per cycle and performance per watt.
CPU vs GPU vs DSP vs NPU
| Processor | Best Use | Flexibility | AI Efficiency |
|---|---|---|---|
| CPU | General control and application logic | Excellent | Moderate |
| GPU | Large parallel workloads and graphics | High | Strong |
| DSP | Signal processing and vector math | High | Good |
| NPU | Neural-network inference | Specialized | Excellent |
| FPGA | Custom dataflow pipelines | Very high | Strong |
The strongest embedded systems often combine several of these processor types.
How an NPU Accelerates Neural Networks
Most neural networks are built from layers such as convolution, matrix multiplication, activation, and pooling. These operations can be parallelized.
An NPU contains many arithmetic processing elements that execute them simultaneously.
Multiply-Accumulate Operations
A fundamental neural-network operation is:
output = input × weight + accumulated value
This is a MAC operation.
Neural networks may require millions or billions of MAC operations per inference. NPUs are designed to execute many MACs in parallel.
Tensor Processing
AI frameworks represent data as tensors.
Examples include image tensors, audio tensors, and feature maps.
An NPU processes these multidimensional arrays efficiently.
Convolution Acceleration
Computer-vision networks rely heavily on convolution.
A convolution layer repeatedly applies filters across an image. Dedicated NPU hardware can perform these operations far faster and more efficiently than scalar CPU code.
Quantized Inference
Embedded AI commonly uses reduced numerical precision such as:
- INT8,
- INT16.
Instead of using FP32 floating point everywhere, quantized models use smaller integer representations.
Why Quantization Helps NPUs
Lower precision reduces:
- model size,
- memory bandwidth,
- arithmetic complexity,
- energy consumption.
An accelerator can therefore perform more INT8 operations in parallel.
Dataflow Architecture
Many NPUs use a dataflow-oriented execution model.
Instead of constantly moving weights and activations between external memory and compute units, the architecture tries to keep working data close to the arithmetic engines.
Reducing data movement is important because memory access often consumes substantial energy.
Local Memory
An NPU often includes local SRAM or tightly coupled memory for:
- weights,
- feature maps,
- intermediate buffers.
Local memory reduces repeated access to slower external memory.
Why Memory Bandwidth Matters
An NPU with very high theoretical compute performance can still underperform if data cannot be supplied quickly enough.
Real AI performance depends on:
compute throughput + memory bandwidth + software efficiency
not only TOPS or GOPS.
Architecture and Operating Principles
TOPS and GOPS
GOPS means billions of operations per second.
TOPS means trillions of operations per second.
These metrics are useful, but they are not sufficient by themselves.
Why TOPS Alone Can Be Misleading
Real-world inference also depends on:
- model architecture,
- supported operators,
- numerical precision,
- memory bandwidth,
- compiler quality,
- accelerator utilization.
A lower-TOPS NPU may outperform a higher-TOPS accelerator on a specific embedded model.
NPU Offloading
A common embedded architecture is:
CPU
Handles:
- application logic,
- RTOS,
- networking,
- device control.
NPU
Handles:
- neural-network inference.
This allows the CPU to remain available for real-time and system-management tasks.
CPU + NPU Workflow
A typical inference sequence is:
- CPU captures sensor data.
- CPU or DSP preprocesses the data.
- NPU runs the neural network.
- CPU reads the inference result.
- Application decides what to do.
Arm Ethos-U
Arm Ethos-U NPUs are designed for efficient edge AI inference on constrained devices.
Arm's current edge AI ecosystem combines Cortex-M processors, Helium vector extensions, and Ethos-U NPUs.
Arm also provides the Vela compiler to optimize LiteRT models for Ethos-U accelerators.
Why Ethos-U Matters
It allows microcontroller-class systems to run more capable AI models without moving to a large application processor, improving:
- energy efficiency,
- latency,
- system cost.
STMicroelectronics STM32N6
The STM32N6 is a major example of NPU integration in a microcontroller-class device.
ST's STM32N6 includes the proprietary Neural-ART Accelerator and is specified for up to 600 GOPS of AI acceleration.
The device also combines:
- Cortex-M55 CPU,
- large embedded SRAM,
- image-processing capabilities.
This enables embedded vision workloads on an MCU-class platform that previously may have required an MPU.
Why This Is Important
Microcontrollers traditionally handled control, sensing, and communication.
With integrated NPUs, they can now also handle computer vision, audio AI, and more complex classification.
This changes the boundary between MCU and MPU-class AI systems.
ST NPU Software Ecosystem
ST provides an STM32N6 AI ecosystem for:
- model optimization,
- deployment,
- benchmarking.
The tools support bring-your-own-data and bring-your-own-model workflows.
An NPU is useful only if the software toolchain can target it effectively.
NXP eIQ Neutron NPU
NXP's eIQ ecosystem includes the eIQ Neutron NPU.
NXP positions it as a scalable AI accelerator across its MCU and application-processor portfolio.
This creates a common direction for deploying edge AI across devices with different performance levels.
Integrated NPU vs Discrete NPU
Integrated NPU
Advantages:
- lower latency,
- simpler board,
- lower power.
Sensors, Perception, and Motion Control
Discrete NPU
Advantages:
- scalable performance,
- easier upgrade path.
The best choice depends on the application and system architecture.
Embedded Vision
Computer vision is one of the strongest NPU applications.
Tasks include:
- object detection,
- defect inspection,
- people detection,
- pose estimation.
Vision networks contain large convolution workloads that map well to NPU architectures.
Industrial Machine Vision
A factory camera may perform:
- image capture,
- image preprocessing,
- NPU inference,
- defect classification,
- PLC output.
Running inference locally reduces network traffic, cloud dependence, and response latency.
Smart Cameras
An intelligent camera does not need to stream every frame.
It can transmit only:
- event,
- defect result,
- object coordinates,
- metadata.
This reduces bandwidth dramatically.
Robotics
Robots require perception, planning, and motion control.
An NPU can run:
- object detection,
- semantic segmentation,
- pose estimation.
The CPU or real-time core can continue handling motor control, networking, and safety.
Autonomous Mobile Robots
AMRs can use NPUs for:
- visual navigation,
- obstacle detection,
- human recognition.
Local inference allows rapid reaction even when cloud connectivity is unavailable.
Audio Processing
NPUs can accelerate:
- speech recognition,
- sound classification,
- keyword spotting.
Smaller audio models are increasingly deployed directly on embedded processors.
Predictive Maintenance
An NPU can process vibration, acoustic, and current data to detect machine anomalies.
For simpler models, CPU-based TinyML may already be sufficient.
An NPU becomes more valuable when multiple models run simultaneously, inference frequency is high, or model complexity increases.
Sensor Fusion
Modern edge AI systems combine data from:
- camera,
- radar,
- IMU,
- microphone.
NPUs can help process neural models used for sensor fusion.
Edge AI Latency
Local NPU inference eliminates the network delay associated with cloud processing.
This is important for robotic reaction, machine inspection, and industrial autonomy.
Privacy
Local inference can keep images, audio, and industrial data on the device.
Only inference results need to leave the edge system.
Power Efficiency
One of the biggest benefits of an NPU is performance per watt.
A specialized accelerator can perform AI operations using less energy than a CPU performing the same workload.
This is especially important for battery systems and thermally constrained devices.
Always-On AI
Some applications must run continuously.
Examples include:
- wake-word detection,
- safety monitoring,
- presence detection.
A low-power NPU can support always-on inference more efficiently than repeatedly waking a high-performance CPU.
Performance, Memory, and Data Processing
NPU and RTOS Systems
An NPU can work inside an RTOS-based embedded system.
A task may:
- prepare input,
- start inference,
- wait for completion,
- consume the result.
The CPU can perform other work during NPU execution.
Interrupt-Driven NPU Completion
The accelerator can notify the CPU when inference is complete.
This reduces active waiting.
DMA and NPU
DMA is often used to move tensor data between:
- memory,
- accelerator,
- peripherals.
Efficient DMA pipelines reduce CPU copying.
NPU and Camera Pipelines
A vision system may follow:
Camera → ISP → DMA → SRAM/DRAM → NPU → CPU decision
Every stage must be optimized.
Preprocessing Hardware
Some SoCs include hardware for:
- image scaling,
- color conversion,
- resizing.
This prevents the CPU from becoming the preprocessing bottleneck.
NPU Operator Support
An NPU may not support every neural-network operation.
Unsupported operators may run on CPU or DSP.
This is called fallback.
Why Operator Coverage Matters
Too much fallback can reduce the expected NPU speedup.
Always benchmark the real model.
NPU Compiler
The compiler maps a trained model onto accelerator hardware.
It may perform:
- graph optimization,
- operator fusion,
- memory planning,
- quantization.
Compiler quality is a major part of real-world NPU performance.
Arm Vela Compiler
Arm's Vela compiler converts compatible LiteRT models into a representation optimized for Ethos-U NPUs.
This demonstrates how software tooling bridges AI models and hardware accelerators.
Model Partitioning
A complex model may be split.
Supported layers run on the NPU.
Unsupported layers run on the CPU.
This creates a heterogeneous execution graph.
Operator Fusion
A compiler may combine operations such as:
convolution + bias + activation
into one optimized block.
This reduces memory traffic and runtime overhead.
Memory Planning
NPU deployment requires careful planning for:
- weights,
- activations,
- scratch buffers.
A model may fit computationally but still exceed available SRAM.
External Memory
Large models may require:
- PSRAM,
- SDRAM,
- LPDDR.
External memory increases capacity but may increase power and latency.
Applications and Practical Examples
Model Compression
Common techniques include:
- INT8 quantization,
- pruning,
- compact architectures,
- knowledge distillation.
Smaller models are easier to keep near the NPU.
NPU vs TinyML on CPU
A CPU may be enough when:
- the model is small,
- inference frequency is low.
Use an NPU when:
- model complexity grows,
- latency targets are tighter,
- multiple models run,
- power is constrained.
Example: Vibration Sensor
A small anomaly model may run perfectly on a Cortex-M CPU.
Adding an NPU may not be necessary.
Example: Smart Vision Sensor
Object detection may require much more compute.
An NPU can make the workload practical on an MCU-class platform.
Cost Trade-Off
An NPU increases silicon area and may increase device cost.
The design should evaluate whether acceleration provides enough value.
Thermal Benefits
Higher efficiency means less heat for the same inference workload.
This matters in sealed industrial enclosures, compact cameras, and robots.
Security
AI models may represent intellectual property.
Edge AI systems need:
- secure boot,
- signed firmware,
- protected model storage.
NXP's current edge AI portfolio also emphasizes model-IP protection.
Safety
An NPU should not automatically control a safety-critical actuator without independent validation.
A robust architecture may use:
NPU
For:
- perception,
- prediction.
Safety MCU
For:
- hard limits,
- emergency shutdown.
Functional Isolation
AI workloads can be isolated from real-time control.
This prevents large inference workloads from interfering with deterministic motor-control tasks.
Industrial Architecture Example
A robot controller might use:
NPU
Vision and object detection.
CPU
Planning and networking.
Real-Time Core
Servo control.
Safety Logic
Emergency stop.
This is a heterogeneous embedded system.
Qualcomm Industrial Edge AI
Qualcomm's 2026 industrial edge AI platforms illustrate how purpose-built AI processors are being deployed for real-time insights, autonomous operation, and physical AI.
The broader trend is that NPU-class acceleration is becoming part of complete edge-computing platforms rather than an isolated feature.
Agentic AI at the Edge
Industrial edge platforms are beginning to run:
- foundation models,
- agentic AI,
- physical AI workflows.
These workloads require increasingly capable accelerators.
NPUs will therefore support not only classification, but more advanced on-device reasoning.
Implementation, Testing, and Optimization
Performance Benchmarking
Do not rely only on theoretical specifications.
Measure:
- model latency,
- energy per inference,
- memory use,
- CPU utilization.
Benchmark the Complete Pipeline
A 5 ms NPU inference may still produce a 30 ms application if image capture, preprocessing, and memory copies consume the rest.
Measure:
sensor → decision
not only accelerator execution.
Common NPU Design Mistakes
Choosing by TOPS Alone
Real performance depends on model compatibility.
Ignoring Operator Support
CPU fallback can destroy performance gains.
Ignoring Memory Bandwidth
The NPU may spend time waiting for data.
Ignoring Preprocessing Cost
CPU image resizing can become the bottleneck.
No Model Optimization
A floating-point model may not use the accelerator efficiently.
Assuming NPU Eliminates CPU
The CPU is still required for system control, communication, and accelerator management.
NPU Selection Checklist
Evaluate:
- supported precision,
- operator coverage,
- memory,
- compiler,
- AI frameworks,
- performance per watt,
- sensor interfaces,
- lifecycle support.
NPU Development Workflow
Step 1
Train or select the model.
Step 2
Quantize and optimize it.
Step 3
Run compatibility analysis.
Step 4
Compile for the NPU.
Step 5
Measure memory usage.
Step 6
Benchmark inference.
Step 7
Profile CPU fallback.
Step 8
Measure total pipeline latency.
Step 9
Measure energy.
Step 10
Validate with real-world data.
When an NPU Makes Sense
An NPU is especially valuable when:
- inference runs frequently,
- latency matters,
- the model uses supported operators,
- CPU availability matters.
When an NPU May Be Unnecessary
A CPU-only solution may be better when:
- the model is tiny,
- inference happens rarely,
- cost is critical.
Future of Embedded NPUs
Embedded NPUs will become more common in:
- microcontrollers,
- industrial processors,
- sensor hubs,
- robotics platforms.
Future devices will increasingly combine:
- CPU,
- NPU,
- DSP,
- secure hardware.
NPUs and Physical AI
Physical AI systems need to convert sensor data into physical action.
NPUs provide the perception layer.
Examples include:
- vision,
- speech,
- anomaly detection.
Real-time processors then convert inference results into deterministic control.
NPUs and Distributed Intelligence
Future factories may contain many NPU-enabled edge nodes.
Each node can make local decisions while coordinating with gateways, cloud AI, and other machines.
This reduces centralized compute load.
Conclusion
Neural Processing Units are specialized accelerators designed to execute neural-network inference efficiently.
They improve embedded AI by accelerating:
- matrix operations,
- tensor processing,
- convolution,
- quantized arithmetic.
Compared with CPU-only designs, an NPU can provide:
- lower inference latency,
- higher throughput,
- better performance per watt,
- more CPU availability.
The most important engineering principle is:
use the NPU for the neural workload and keep the CPU focused on system control.
However, NPU performance depends on more than hardware specifications.
Designers must also evaluate:
- operator coverage,
- compiler quality,
- memory bandwidth,
- model quantization,
- preprocessing.
For simple TinyML workloads, a CPU may remain sufficient.
For increasingly complex embedded vision, robotics, and industrial AI applications, NPUs are becoming a core part of the processor architecture.
As embedded devices continue to become more intelligent, the NPU will increasingly sit alongside the CPU as a standard compute engine for real-time edge AI.