Engineering Production-Ready Intelligence From Sensor Data to Real-Time On-Device Decisions.
TinyML. Computer Vision. Audio AI. Sensor AI. Anomaly Detection. MCU AI. CPU. DSP. GPU. NPU. Quantization. Model Compression. ONNX. LiteRT. ExecuTorch. CMSIS-NN. Zero-Copy. Real-Time Inference. Edge Generative AI. Model Deployment. Validation. Lifecycle Management.
Artificial intelligence becomes valuable inside an electronic product only when it can reliably transform: Physical Data
into:
Useful Product Decisions.
A model may achieve:
98% accuracy
on a development workstation.
But the final embedded product may have:
1 MB RAM
limited Flash
tight battery budget
restricted thermal dissipation
real-time latency requirements
no permanent cloud connection
and manufacturing variation in the sensor itself.
That changes the engineering problem completely.
365PCB Edge AI & Embedded AI Development therefore approaches AI as: A Complete Sensor-to-Decision Product Architecture.
Don't Start With the Neural Network
Before selecting:
CNN
Transformer
YOLO
or:
LLM
define:
What decision must the product make?
Examples:
Is the machine behaving abnormally?
Is a person present?
Which object is visible?
What command was spoken?
Is the sensor signal healthy?
What is likely to happen next?
AI Begins With the Product Decision — Not the Model Architecture.
This is a surprisingly important question.
Some problems are better solved using:
threshold logic
digital filters
classical signal processing
state machines
control algorithms.
AI Should Be Used When It Improves the Product — Not When It Improves the Marketing Slide.
If the relationship can be explicitly described:
Input → Deterministic Rule → Output
a classical algorithm may be simpler.
If the relationship is difficult to describe but can be learned from examples: Machine Learning May Create Value.
Many of the strongest products combine:
Physics-Based Processing
Machine Learning.
Example: Sensor Calibration → DSP Filtering → Feature Extraction → ML Classification
AI Does Not Need to Replace Good Engineering.
Possible outputs include:
Classification
Regression
Detection
Segmentation
Anomaly Score
Forecast
Embedding
Natural-Language Output
Model Output Should Map to Product Meaning.
Question: Which category does this input belong to?
Examples:
Normal / Fault
Object A / B / C
Command 1 / 2 / 3.
Predict a continuous value.
Examples:
remaining life
quality score
physical parameter estimate.
AI Can Estimate — Not Only Classify.
Identify: What and Where.
Detection Adds Spatial Meaning.
Classify individual pixels or regions.
Useful where precise shape/location matters.
More Detailed Output Usually Costs More Compute.
In industrial systems, a particularly powerful problem is: Does This Look Different From Normal?
This can sometimes be more practical than collecting every possible failure type.
AI may estimate future:
load
trend
failure probability
from historical sequences.
Time-Series AI Adds Time to the Feature Space.
Inputs can combine:
Vibration
Current
Temperature
Speed
Several Weak Signals Can Become One Strong Prediction.
A product can combine:
Image
Audio
Sensor Data
Text
into a richer model.
Intelligence Can Span Several Sensor Modalities.
This is now becoming a real embedded-system category.
On-device models can support:
natural-language interaction
summarization
semantic search
multimodal interpretation
on sufficiently capable hardware.
MLPerf Mobile v6.0 introduced standardized on-device LLM benchmarks using Llama-family models from 1B through 8B parameters, showing how quickly local GenAI is moving into measurable product engineering.
Edge Generative AI Is Moving From Demo to Benchmarkable System Engineering.
A sensor node detecting bearing failure probably does not need: 8 Billion Parameters.
Use the Smallest Intelligence Architecture That Solves the Product Problem.
This improves:
cost
power
reliability
latency.
Before model development, define:
Accuracy
How correct?
Recall
How many important events can be missed?
Precision
How many false alarms are acceptable?
Latency
How fast?
Memory
How much RAM / Flash?
Power
How much energy?
Thermal
How much sustained heat?
Cost
What compute platform can the product afford?
AI Requirements Are Multi-Dimensional.
Model A: 99.0% accuracy
but: 800 ms latency.
Model B: 98.5%
but: 20 ms latency.
For a real-time product: Model B May Be Better.
A false positive says: problem exists, when it does not.
In industrial monitoring this can create: unnecessary service, alarm fatigue.
A false negative misses: A Real Event.
Depending on application, its cost may be much higher.
AI Thresholds Should Follow Product Consequence.
Moving decision threshold can trade: Sensitivity
against: False Alarm Rate.
The "Best Threshold" Is a Product Decision — Not Only a Data-Science Decision.
A single accuracy percentage hides:
which classes fail
which classes are confused.
Know How the Model Is Wrong.
Suppose: 99.9% of machine operation is normal.
A model predicting: normal
all the time can achieve: 99.9% Accuracy
and be completely useless.
Dataset Statistics Can Make Accuracy Misleading.
A model learns from: Data.
If the data does not represent:
real sensors
real environment
production variation
then the model may learn the wrong problem.
Model Quality Begins With Dataset Quality.
Define:
What data?
From which hardware?
Under which operating states?
At what temperature?
From how many units?
Data Source Should Be Traceable.
Keep independent subsets for: Training, Hyperparameter Development, Final Evaluation.
Don't Measure a Model Using the Same Data It Memorized.
Leakage can create unrealistically high validation results.
Example: samples from the same physical recording appear in both: training test.
Test Independence Matters.
For physical products, splitting by:
Physical Unit
can be more meaningful than randomly splitting individual samples.
Because otherwise the model may learn: characteristics of one sensor unit.
Collect data from:
Unit A
Unit B
Unit C
not only one golden prototype.
Production AI Must Survive Production Hardware Variation.
Dataset may need:
Temperature
Lighting
Noise
Humidity
Mounting
Background
variation according to application.
Laboratory Data Is Not Automatically Field Data.
The rare events often matter most.
Dataset Collection Should Hunt for Difficult Cases — Not Only Common Cases.
Every training sample needs the correct answer.
That answer is: Ground Truth.
If 5% of labels are wrong: The Model Is Being Trained to Learn Errors.
Different human annotators may disagree.
Define: class boundaries, ambiguity rules.
Ground Truth Needs Its Own Specification.
Some samples are genuinely uncertain.
Uncertainty Should Not Be Hidden as False Certainty.
Suppose two sensors have different gain/offset.
A model may accidentally learn: Sensor Identity
instead of: Physical Phenomenon.
Calibrate the Measurement Chain Before Asking AI to Learn Physics.
Model input may require:
normalization
resizing
filtering
feature extraction.
Preprocessing Is Part of the Model.
A common deployment failure:
training uses: RGB normalized 0–1
while device sends: BGR 0–255.
Perfect Model + Wrong Preprocessing = Broken Product.
Preprocessing logic must be versioned with the model.
Model File Alone Does Not Define the AI System.
For some sensor problems, engineered features remain highly effective:
RMS
FFT Features
Spectral Peaks
Statistical Features.
Deep Learning Is Not Mandatory for Every Embedded AI Problem.
Other systems can learn directly from:
waveform
image
audio.
Remove Manual Features Only When the Data and Compute Budget Support It.
Time-series models often operate on windows:
100 ms
1 second
10 seconds
depending on phenomenon.
Window Length Is Latency Architecture.
Overlapping windows can increase detection responsiveness but also: compute load.
Sampling Architecture and AI Architecture Interact.
Higher sample rate captures more information.
But costs:
memory
compute
power.
More Data Is Not Free Intelligence.
AI cannot recover information already destroyed by poor sampling.
Nyquist Still Exists in the AI Era.
Garbage analog signal → Garbage ADC data → Garbage AI.
A Neural Network Cannot Repair Every Measurement-System Failure.
This directly connects Page 12.
Noise may be:
random
correlated
environmental.
Model Training Should Understand Real Sensor Noise.
Artificial variations can improve robustness.
Examples:
noise
rotation
scale
depending on modality.
Augmentation Should Represent Plausible Product Variation.
If synthetic data creates physically impossible examples: The Model Can Learn Unrealistic Physics.
Simulation can help expand difficult datasets.
But: Synthetic → Real Domain Gap
must be understood.
Model trained on: Factory A
may perform worse in: Factory B.
Real Deployment Distribution Can Change.
Some systems can use adaptation or retraining to handle new environments.
But production governance becomes more complex.
Learning After Deployment Requires Lifecycle Engineering.
Potential models include:
CNN
RNN / LSTM
TCN
Transformer
Autoencoder
and many others.
Architecture Should Follow Data Structure and Deployment Constraints.
Convolutional networks remain efficient for many:
vision
audio
sensor
problems.
Local Spatial Structure Can Be Exploited Efficiently.
Architectures such as MobileNet use depthwise-style operations to reduce compute.
Model Architecture Can Be Designed for Edge Efficiency.
Time-series AI can use convolution across time.
Sequence Processing Does Not Always Require Recurrent Networks.
Useful for selected sequential problems.
But recurrent execution can limit: parallelism.
Architecture Affects Accelerator Efficiency.
Transformers increasingly appear in:
vision
audio
language
multimodal systems.
But resource requirements can be larger.
Model Popularity Does Not Override Product Constraints.
Attention can be powerful but memory traffic may become significant.
Compute Is Not the Only Cost of AI.
Generative transformer inference can require substantial memory for: Key / Value Cache.
At edge scale: Memory Capacity and Bandwidth Can Become the Limiting Resource.
For local language models, engineering variables include:
Parameter Count
Quantization
Context Length
KV Cache
Tokens/s
Time to First Token
Memory
Thermal
"Runs an LLM" Is Not a Performance Specification.
Interactive user experience depends strongly on: Initial Response Latency.
Once generation begins:
Generation Rate
affects user experience.
Larger context can increase:
memory
compute.
Bigger Context Has an Edge Cost.
A 1-billion-parameter model at: FP16 requires fundamentally different storage than highly quantized representation.
Numerical Precision Becomes Memory Architecture.
At the other extreme: TinyML places AI on highly resource-constrained MCU-class devices.
MLCommons describes TinyML as ultra-low-power inference on systems ranging from small microcontrollers to vector processors and dedicated neural accelerators; MLPerf Tiny v1.4 explicitly measures both performance and optional energy efficiency.
Tiny embedded AI may run: Sensor → Cortex-M → Model → Decision → without Linux or cloud.
Intelligence Can Live Inside a Few Milliwatts.
Examples include:
wake word
vibration monitoring
occupancy detection.
These workloads often spend most of their time: Waiting.
Therefore idle energy matters enormously.
MLPerf Tiny's streaming wake-word workload explicitly includes the always-listening operating model rather than measuring inference in isolation.
An always-on system may: Sense Continuously
but: Run Heavy Inference Occasionally.
Duty-Cycled Intelligence Can Save Energy.
Architecture:
Tiny Low-Power Detector → Wake Larger Processor → Run Complex Model
Use Expensive Compute Only When Needed.
A product might contain:
MCU
Application Processor
NPU.
Different Intelligence Workloads Can Belong to Different Compute Domains.
CPUs provide:
flexibility
broad operator support.
CPU Is Often the Universal Fallback.
But not always the most efficient engine.
DSPs can be effective for:
audio
sensor
vector workloads.
Traditional Signal Processing and AI Often Share the Same Compute Architecture.
GPUs provide high parallel throughput for suitable workloads.
Parallel Arithmetic Can Accelerate Neural Networks.
But they may carry:
memory
power
thermal costs.
Neural Processing Units are specifically optimized for machine-learning operations.
Dedicated AI Hardware Can Deliver More Inference per Watt.
But only if the model maps well to the accelerator.
TOPS usually describes: Trillions of Operations per Second.
But: TOPS Is a Theoretical Compute Metric — Not Product Throughput.
Two processors with equal: 20 TOPS
can deliver different real performance because of:
operator support
memory bandwidth
compiler
utilization
quantization
model architecture.
Effective Utilization Matters.
Don't ask only: How many TOPS?
Ask: What is the measured latency for our model?
Model-Specific Benchmark > Marketing Number.
Vision AI might be: Exposure → Sensor Readout → ISP → Preprocess → Inference → Postprocess → Application Decision
Inference Time Is Only One Component.
A model running: 5 ms
does not guarantee: 200 FPS
if camera and pipeline deliver only: 30 FPS.
System performance is limited by the slowest stage.
Optimize the Pipeline — Not Only the Neural Network.
One of the most important Edge AI concepts.
Traditional: Camera → Copy to CPU → Copy to GPU → Copy to NPU
creates:
latency
bandwidth
power.
Avoid Unnecessary Copies.
Potential architecture: Sensor → DMA Buffer → ISP → NPU → Display / Application
with shared buffer infrastructure where platform supports it.
Data Movement Is Part of AI Performance.
Google's current LiteRT v2 CompiledModel architecture explicitly includes:
automatic accelerator selection
GPU/NPU acceleration
zero-copy I/O buffers
asynchronous execution.
Edge AI Runtime Architecture Is Becoming Hardware-Aware.
AI accelerators may perform arithmetic faster than tensors can reach them.
Memory Bandwidth Can Limit AI More Than Compute.
Models that reuse data effectively can utilize compute more efficiently.
Model Architecture Interacts With the Memory Hierarchy.
CPU/GPU cache behavior can strongly affect performance.
Tensor Layout Is a Hardware Performance Variable.
On MCU/NPU-class devices: on-chip SRAM can be dramatically faster/lower-energy than external memory.
Keep Working Data Close to Compute.
Large models may require DDR.
This introduces:
latency
power
PCB complexity
SI/PI requirements.
AI Model Size Can Become PCB Architecture.
If the model requires: 4 GB LPDDR
that requirement affects:
schematic
PCB
power
thermal.
AI Requirements Should Exist Before Board Layout Freezes.
NPU may be: inside SoC
or: external accelerator.
External devices introduce:
PCIe
memory
power
driver
requirements.
AI Compute Architecture Connects Directly to Pages 09, 21, 22, 23 and 29.
Training optimizes model weights.
Inference executes the trained model.
Most Embedded AI products perform: Inference on Device.
Training may occur elsewhere.
Some applications may adapt locally.
But training costs:
compute
memory
energy
much more than ordinary inference.
Local Learning Should Have a Specific Product Reason.
A product may adjust selected parameters locally without fully retraining the whole model.
Personalization Can Be Smaller Than Training.
Distributed devices may contribute to model improvement without centralizing all raw data.
But architecture becomes significantly more complex.
Privacy-Preserving Learning Still Requires System Engineering.
Training framework representation must become deployable artifact.
Possible pathways include: PyTorch → ExecuTorch
or: Framework → ONNX → Target Runtime / Compiler
or: TensorFlow → LiteRT
depending on platform.
Training Model and Deployment Model Are Not Automatically the Same Artifact.
ONNX provides an open representation for exchanging neural-network graphs across tools/runtimes.
ONNX release management currently lists 1.22.0 as released June 15, 2026, with 1.23 planned for September 1, 2026.
Portable Model Representation Can Reduce Framework Lock-In.
A model converting to ONNX does not guarantee:
target runtime support
accelerator support
equal numerical output.
Model Format Compatibility ≠ Hardware Compatibility.
An accelerator may support:
Conv
MatMul
ReLU
but not a custom operator.
Then unsupported portions may: Fall Back to CPU.
Runtime may divide model: NPU Segment → CPU Segment → NPU Segment.
Hardware Boundary Can Create Data-Copy Overhead.
A model that is:
99% accelerator-compatible
can still perform poorly if the remaining 1% creates expensive transfers.
Operator Placement Matters More Than Percentage Supported.
ExecuTorch 1.0 supports deployment across CPUs, GPUs, DSPs and NPUs from embedded devices to larger edge platforms. In April 2026 it formally became part of PyTorch Core governance.
Training-to-Edge Toolchains Are Becoming More Integrated.
For Cortex-M products, CMSIS-NN provides optimized neural-network kernels designed to improve performance while minimizing memory footprint.
MCU AI Needs Kernel-Level Optimization.
Possible factors:
Model Framework
Target Processor
Accelerator
Operator Support
Memory
Licensing
Lifecycle
Runtime Selection Is Product Architecture.
Many NPU vendors provide dedicated compilers.
These transform: Model Graph
into: Hardware-Specific Execution.
Two compiler versions can produce different:
latency
memory
accuracy.
AI Toolchain Is Product Configuration.
Compiler may:
fuse operators
reorder
quantize
schedule memory.
Deployment Can Transform the Original Graph Significantly.
Example:
Conv
Bias
Activation
may execute as one fused kernel.
Less Intermediate Memory Can Improve Performance.
Static calculations can be performed at compile time.
Don't Spend Device Compute on Values That Never Change.
Remove:
unnecessary nodes
redundant conversions.
Model Optimization Is Software Compilation.
One of the most important Embedded AI technologies.
Convert numerical representation from: FP32
toward:
FP16 / INT8 / lower precision
where accuracy permits.
Lower Precision Can Reduce Memory and Compute Cost.
INT8 is extremely important in embedded inference because many accelerators provide strong integer support.
8-Bit Arithmetic Can Make AI Practical on Much Smaller Hardware.
Reduced precision can create:
accuracy loss
saturation
numerical error.
Measure Accuracy After Deployment Quantization.
Train high precision.
Then quantize.
Fast Deployment Path.
But some models lose too much accuracy.
PTQ usually requires representative samples to estimate numerical ranges.
Quantization Calibration Data Should Represent Real Deployment Inputs.
If calibration only contains bright daytime images: nighttime activations may clip.
Quantization Quality Depends on Calibration Distribution.
Simulate quantization effects during training.
Teach the Model to Survive the Numerical Format It Will Actually Use.
Quantization scale can be applied:
globally to tensor
separately to channels
depending on runtime/accelerator support.
Numerical Granularity Can Affect Accuracy and Performance.
Different quantization mappings make different trade-offs.
Model Format Must Match Hardware Kernel Expectations.
Lower-bit quantization is increasingly important for:
generative AI
memory-constrained inference.
Every Bit Removed Saves Storage — but Increases Numerical Risk.
Different layers can use different precisions.
Spend Precision Where the Model Needs It.
Half precision can reduce:
memory
bandwidth
on platforms with strong hardware support.
Some accelerators support BF16-style arithmetic.
Numerical Format Is Hardware Ecosystem-Dependent.
Remove less-important weights/connections.
Potential benefit: smaller model.
But: Sparse Model Only Runs Faster if the Hardware/Runtime Exploits Sparsity.
Remove:
channels
filters
blocks.
Structured Sparsity Is Often Easier for Hardware to Accelerate.
Many individual zeros.
This may compress well but not automatically accelerate inference.
Storage Efficiency ≠ Execution Efficiency.
Train a smaller: Student Model
from a larger: Teacher Model.
Transfer Intelligence Into a Smaller Deployment Footprint.
Model architectures can be optimized around:
latency
memory
accelerator constraints.
Edge Model Design Can Be Hardware-Aware From the Beginning.
Possible objectives:
Smaller
Faster
Lower Power
while preserving: Accuracy.
Optimization Has No Single Best Model.
Embedded AI must know:
Weights
Activations
Scratch
Input / Output
Peak RAM Can Be Much Larger Than Model File Size.
A small model may create huge intermediate feature maps.
Parameter Count Does Not Equal Runtime Memory.
Intermediate tensors can share memory if their lifetimes do not overlap.
Memory Scheduling Is AI Compiler Engineering.
Tiny inference runtimes often pre-plan a shared memory arena.
Deterministic Memory Can Eliminate Runtime Allocation.
For embedded products: Known Memory Before Runtime
can improve:
predictability
reliability.
Repeated dynamic tensor allocation can create:
fragmentation
jitter.
AI Runtime Memory Policy Is Real-Time Policy.
Camera resize/crop buffers can consume as much memory as the model.
Measure the Whole Pipeline.
Detection models often require:
decoding
thresholding
NMS or related operations.
The Model Output Still Needs Product Interpretation.
Non-Maximum Suppression can itself consume meaningful CPU time.
Postprocessing Can Become the Bottleneck After NPU Acceleration.
If NPU inference takes: 4 ms
but CPU postprocessing takes: 18 ms,
product latency is: Not 4 ms.
CPU can perform other work while accelerator executes where platform supports it.
Overlap Compute Instead of Serializing Everything.
LiteRT v2 specifically highlights asynchronous execution as part of its newer on-device inference architecture.
Example: Frame N → NPU
while: Frame N+1 → ISP
and: Frame N−1 → Application.
Throughput Can Improve Without Reducing Individual Stage Latency.
Cloud AI loves large batching.
Real-time edge systems often use: Batch 1.
Because latency matters.
Batching can increase throughput but also increase waiting.
Optimize for the Product Metric.
Real-time does not mean: AI is fast.
It means: Inference + Pipeline meets a required deadline.
Average: 12 ms
is not enough if: worst case = 140 ms
and product deadline is: 30 ms.
AI Needs Real-Time Distribution Thinking Too.
On MCU products:
AI inference competes with:
control
communication
sensing.
AI Must Fit Into the Scheduler Budget.
This directly connects Page 27.
On Linux platforms:
AI competes with:
networking
graphics
storage.
AI Performance Must Be Measured Under Real System Load.
High-performance systems may allocate workloads among cores.
Scheduling Can Protect AI or Protect Control From AI.
Several models may share one NPU.
Accelerator Is a Shared Resource.
A system may run:
Detection
Face / Object Classification
Audio
simultaneously.
Model Interaction Matters.
A safety/critical anomaly detector may deserve resource priority over:
background analytics.
AI Workloads Need Scheduling Policy.
Accelerators consume power.
Sustained inference can heat:
SoC
NPU
DDR
regulator.
AI Performance Is Thermal Performance.
A product may benchmark: 30 FPS cold,
then fall to:
17 FPS
after 20 minutes.
Benchmark Steady-State Thermal Performance.
Marketing often highlights: Peak.
Products live at: Sustained.
For battery products: Energy / Inference
may matter more than: Inferences / Second.
MLPerf Tiny explicitly supports energy benchmarking for this reason.
Always-on AI can spend 99% of time waiting.
Optimize the System Between Inferences Too.
Low-power sensor → detects event → wakes AI accelerator.
Intelligence Can Have Power States.
Dynamic voltage/frequency scaling may reduce energy when full performance is unnecessary.
AI Performance and Power Can Be State-Dependent.
Ask: How many inferences per battery charge?
Product Energy Metric Beats Chip Benchmark.
NPU/GPU bursts create:
transient current
PDN demands.
AI Accelerator Performance Depends on Power Integrity.
Power droop can cause:
throttling
crash
unreliable operation.
Model Performance Can Become PDN Performance.
Higher accelerator utilization → more heat → lower clock → higher latency.
Electronics Physics Closes the AI Performance Loop.
External DDR or PCIe accelerators require: robust high-speed channels.
Edge AI Can Create High-Speed PCB Requirements.
Choose:
SoC
RAM
Flash
Sensor
Camera
Power
based partly on the intended model.
Don't Finish the Board and Then Ask Where the AI Fits.
A 12 MP camera creates far more data than a 1 MP sensor.
More Pixels Create Compute and Memory Cost.
The target object may not require full sensor resolution.
Optimize Information — Not Pixel Count.
Crop/select important regions.
Process the Data That Matters.
Not every frame needs full inference.
Temporal Redundancy Can Save Compute.
Normal state: low-rate AI.
Suspicious state: high-rate AI.
Intelligence Workload Can Follow Product Risk.
Some model architectures can stop inference early when confidence is sufficient.
Easy Cases Do Not Always Need Full Compute.
Small model: screening.
Large model: confirmation.
Spend Compute According to Uncertainty.
Model probability is not automatically: Real-World Confidence.
Calibration matters.
A model saying: 90% should ideally have interpretable reliability if the application uses probability quantitatively.
Confidence Needs Validation.
Output: 0.62
may be:
positive
negative
depending on threshold.
Threshold Is Part of Product Firmware.
Changing threshold can alter field behavior without changing model weights.
AI Configuration Is Product Configuration.
Some inputs are outside training distribution.
A strong system can sometimes recognize: I Don't Know.
Model trained on: motors
may see: hammer noise.
High Neural Confidence Does Not Guarantee Familiar Input.
Products can define: uncertain → request another measurement / use fallback.
Not Every Input Needs a Forced AI Answer.
If AI fails or confidence is too low: What Happens?
Possible architecture: AI → if uncertain: Classical Logic / Safe Product State.
AI Should Fit Inside the Overall Reliability Architecture.
Some applications need insight into: Why the model produced this result.
The required depth depends on product/market.
Engineering tools may inspect which:
signal ranges
image regions
features
influence predictions.
Explainability Can Help Debug Models — Not Only Explain Them to Users.
When prediction is wrong:
don't only ask: Why did the network fail?
Ask:
Sensor?
Label?
Preprocessing?
Quantization?
Runtime?
Threshold?
Environment?
AI Failure Is End-to-End Failure Analysis.
Maintain: Reference High-Precision Model and Embedded Deployment Model.
Compare outputs.
Deployment Optimization Should Be Measured Against a Reference.
For selected samples: Training Framework vs. ONNX vs. Target Runtime vs. NPU
Find Where Outputs Begin to Diverge.
If the final output differs: compare intermediate tensors where tooling permits.
Debug Numerical Drift Like a Signal Chain.
Track accuracy after every:
compiler
runtime
quantization
change.
Performance Optimization Must Not Silently Destroy Accuracy.
Keep a fixed validation suite.
Every Model Release Should Be Compared Against the Same Evidence.
Run actual:
sensors
cameras
processors
with controlled stimuli.
Test Intelligence on the Physical Product.
Replay known sensor data through the embedded pipeline.
Repeatable Input Enables Repeatable AI Validation.
Recorded data cannot expose:
sensor timing
optics
noise
synchronization.
Real Sensors Still Matter.
Vision AI performance depends on:
focus
exposure
lens
sensor.
Optical Manufacturing Can Become AI Accuracy.
Different focus or optical alignment between units can shift model accuracy.
Vision AI Is Mechatronic Manufacturing Too.
Acoustic AI depends on:
microphone sensitivity
enclosure
port geometry.
Audio Model Performance Can Be Mechanical Design Performance.
A vibration model can change dramatically if sensor mounting changes.
Mechanical Transfer Function Becomes Dataset Distribution.
Production may calibrate:
sensor offset
camera
microphone
accelerometer
before AI operation.
Calibrated Hardware Creates More Stable AI Inputs.
Manufacturing test can verify:
model exists
accelerator works
representative inference succeeds.
AI Can Be a Production-Test Requirement.
Apply known:
image
acoustic
sensor
input and verify expected response range.
AI Product Manufacturing Needs Functional Intelligence Testing.
Production testing should verify: Manufacturing Integrity.
Full model validation belongs primarily to engineering qualification.
Design Validation and Production Test Serve Different Purposes.
The finished product includes: Firmware Version
Model Version.
The Model Is Product Software.
A cryptographic hash can identify exact model artifact.
"Model v3" May Not Be Enough for Traceability.
Model may depend on:
camera
sensor
NPU generation.
Correct Model Must Reach Correct Hardware.
Connected products may update models separately from full firmware.
AI Lifecycle Can Move Faster Than Firmware Lifecycle.
If model behavior affects product operation: Model Authenticity Matters.
Do not accept arbitrary model files.
A new model can reduce field performance even if it technically runs.
AI Update Needs Known-Good Recovery.
Deploy to:
small fleet
first.
Monitor:
accuracy proxy
alarms
resource use.
Fleet AI Should Be Rolled Out Gradually.
A new model can sometimes run in parallel without controlling the product.
Compare: Current Model Decision vs. New Model Decision.
Evaluate Before Granting Control.
Over time, the real-world data distribution can change.
Examples:
machine wear
new environment
new user behavior.
The World Changes Even If the Model Does Not.
Input distribution moves.
Detect the Change Before Assuming Model Quality Is Constant.
Relationship between input and correct output itself changes.
Old Labels May No Longer Describe New Reality.
Field systems often do not have immediate ground truth.
Therefore monitoring may use:
confidence
distribution
alarm rates
as proxy indicators.
Field AI Monitoring Is Hard Because Truth Arrives Slowly.
When reliable labels eventually become available: Field Error → Dataset → Retraining → Validation → New Model.
AI Products Need a Learning Lifecycle.
Dataset used for model:
v7
should be identifiable.
Reproduce the Training Evidence.
Model artifact depends on:
Data
Code
Hyperparameters
Framework.
The Model Is the Output of a Build Process.
A professional release should trace: Dataset → Training Configuration → Model → Conversion → Quantization → Compiler → Deployment Artifact.
AI Needs Configuration Management Like Firmware.
Cloud MLOps often ends at: Model Artifact.
Embedded AI continues: Runtime → Hardware → Power → Thermal → Physical Sensor → Manufacturing.
Edge MLOps Must Include the Device.
In addition to ordinary software dependencies, future lifecycle management increasingly needs visibility into:
model
runtime
compiler
libraries.
AI Supply Chain Is Part of Software Supply Chain.
Threats can involve:
unauthorized replacement
model theft
malicious input
depending on product.
AI Adds New Assets and Attack Surfaces.
Proprietary models may represent valuable IP.
Deployment Architecture Should Consider Whether Model Extraction Matters.
Machine-learning systems can sometimes respond unpredictably to carefully constructed inputs.
AI Security Is Not Solved by TLS.
The required defense depends on application/threat model.
A physical attacker may manipulate:
image
audio
sensor input.
AI Security Begins at the Sensor.
The device still needs:
Secure Boot
Authenticated Update
Access Control
Model Integrity.
Intelligent Product Must First Be a Secure Product.
On-device inference can reduce the need to transmit raw:
audio
video
sensor data.
MLCommons and PyTorch both highlight local processing as one of Edge AI's privacy/responsiveness advantages.
Sometimes the Best Cloud Privacy Architecture Is Not Sending the Raw Data to the Cloud.
Device can upload: Result
instead of:
Raw Data.
Example:
bearing_health = 0.83
instead of uploading continuous vibration.
If only prediction is stored: How do engineers investigate false predictions?
Selected event capture may be needed according to privacy and storage requirements.
Ask:
What Must Be Local?
latency
privacy
offline control.
What Belongs in Cloud?
fleet analytics
model training
long-term trend.
Intelligence Can Be Distributed.
Small local model can decide: uncertain.
Then send selected data to larger cloud model.
Escalate Difficult Cases.
Architecture: Local AI handles normal operation.
Cloud extends capability.
The Product Should Not Stop Being Intelligent When Wi-Fi Disappears.
Edge model can handle: local private interactions.
Cloud model handles: larger reasoning, when connectivity/permission allows.
Model Placement Can Be Dynamic.
An industrial gateway can aggregate several sensors and run AI centrally at the edge.
Not Every Leaf Sensor Needs Its Own NPU.
One edge computer may serve several cameras.
Now resource planning includes:
memory bandwidth
decoder/ISP
NPU scheduling.
AI Architecture Becomes Shared Infrastructure.
At scale, one stream should not consume all accelerator resources.
AI Needs Resource Governance.
What happens if:
NPU driver crashes
model cannot load
memory allocation fails?
AI Failure Needs Product Recovery.
Potentially: NPU unavailable → CPU fallback
if latency still acceptable.
Redundancy Can Exist Across Compute Engines.
CPU fallback may use:
10× more power
miss deadline.
"It Runs" Does Not Mean "It Is an Acceptable Fallback."
An AI task can hang.
Intelligence Still Needs System Supervision.
Define: How long can one inference run before it becomes invalid?
AI Has Deadlines Too.
If image is already:
500 ms old
then a perfect prediction may be operationally useless.
Correct Intelligence at the Wrong Time Is Wrong Product Behavior.
A prediction should be associated with: The Input Time.
Especially in moving/control systems.
Multimodal AI may require:
Camera
IMU
Microphone
aligned in time.
AI Fusion Depends on Time Integrity.
What if:
camera unavailable
microphone fails?
Multimodal AI Needs Degraded-Mode Behavior.
Model may need to know: sensor data is currently unreliable.
AI Should Not Treat Every Tensor as Equally Trustworthy.
A mature review asks:
Product
What decision is AI making?
Dataset
Does training data represent production reality?
Model
Is accuracy adequate?
Hardware
Can it fit into memory/power/thermal?
Runtime
Does accelerator support every critical operator?
Timing
Does the whole pipeline meet the deadline?
Reliability
What happens when AI is uncertain or unavailable?
Manufacturing
Will sensor variation change accuracy?
Lifecycle
How will the model be updated and monitored?
Review the Product Intelligence — Not Only the Model.
Compare candidate platforms on:
Area | Question |
Compute | Actual model latency? |
Memory | Peak RAM requirement? |
Acceleration | Supported operators? |
Power | Energy per inference? |
Thermal | Sustained performance? |
Runtime | Supported deployment framework? |
Lifecycle | Long-term silicon/software support? |
Choose the Hardware Using the Workload.
Compare:
Model | Accuracy | Recall | Latency | RAM | Flash/Storage | Power |
Model Selection Should Be Quantitative.
One model may maximize accuracy.
Another minimizes latency.
Neither dominates completely.
Edge AI Optimization Is Usually a Pareto Problem.
Neutral benchmarks can help compare platforms.
MLPerf Tiny v1.4 now provides standardized workloads and accuracy/energy methodology across a wide range of low-power architectures.
Benchmarks Are Useful — but Your Product Workload Is the Final Benchmark.
Don't compare: Model A @ INT8
against: Model B @ FP16
and call it: Hardware Comparison.
Benchmark Conditions Must Match.
One platform may be faster because:
It Uses a Lower-Accuracy Configuration.
Compare equal-quality targets where possible.
This is one of the reasons MLPerf uses defined quality targets.
Benchmark the exact:
Model
Compiler
Runtime
Hardware
combination.
Edge AI Performance Is a Stack Result.
New compiler:
faster model
but changes numerical behavior.
Toolchain Updates Require Revalidation.
Same principle.
AI Runtime Is Product Infrastructure.
ONNX does not maintain an LTS branch; its official release management states each minor release is superseded by the next.
Model-Format Version Strategy Matters for Long-Lived Products.
Once qualified:
record:
ONNX Version
Compiler
Runtime
SDK
Driver
Production Intelligence Must Be Reproducible.
Development firmware/platform may expose:
intermediate tensors
timing
accelerator profiling.
EVT AI Needs Observability.
Production can remove unnecessary debugging while retaining:
health
version
failure telemetry.
Optimize Without Becoming Blind.
EVT asks:
Can the Complete Sensor-to-Inference Architecture Work?
Validate:
sensors
preprocessing
accelerator
model
timing.
Prototype measurements may reveal:
Training Data Was Wrong.
That is useful.
Hardware EVT Can Improve the Dataset.
DVT asks: Does AI remain accurate and performant in the final product environment?
Validate:
enclosure
thermal
lighting
acoustics
operating corners
software workload.
One prototype cannot reveal: Manufacturing Distribution.
Collect data from realistic operation.
Final Validation Should Resemble the Customer Environment.
PVT asks: Can production repeatedly create hardware that preserves AI performance?
Validate:
calibration
sensor assembly
model loading
production tests
traceability.
Correlate:
Sensor Calibration
Optical Alignment
Board Revision
with:
AI Output.
Manufacturing Data Can Become AI Quality Data.
After shipment:
monitor selected:
confidence
alarm rates
resource use
model version.
Model Release Is the Beginning of AI Lifecycle.
Compare: Model v4 vs. Model v5 on similar hardware.
Field Deployment Can Provide Evidence of Model Improvement.
Compare model performance across:
PCB Rev A
PCB Rev B
or sensor vendors.
AI Can Reveal Hardware Variation.
A pure AI company may see: Accuracy dropped 4%.
A hardware company may see: Sensor passed electrical test.
A manufacturer may see: Assembly passed.
But an integrated ODM can ask:
Dataset?
Model?
Quantization?
Sensor Calibration?
Lens Alignment?
Power Noise?
Thermal Throttling?
PCB Revision?
Component Lot?
AI Performance Is a Physical Product Property.
Imagine: False Detection Rate
correlates with: Camera Module Lot B.
Now AI telemetry becomes: Manufacturing Evidence.
This is extremely powerful for365PCB's long-term technology direction.
We previously said: The Factory Should Learn From the Fleet.
Now we can go one step further: The Factory Can Learn From the Intelligence Running Inside the Fleet.
Potential chain: Sensor Lot → PCB Revision → Calibration → Model Version → Inference Performance → Field Result
AI Can Extend Product Traceability Into Behavioral Quality.
At the highest level: Product Requirement → AI Use-Case Definition → Sensor Architecture → Data Collection → Ground Truth → Dataset Versioning → Model Selection → Training → Accuracy / Error Analysis → Compression → Quantization → Distillation / Pruning where appropriate → Model Export → ONNX / LiteRT / ExecuTorch / Target Toolchain → Hardware Compiler → CPU / DSP / GPU / NPU Mapping → Memory Planning → Zero-Copy Data Path → Preprocessing → Inference → Postprocessing → Decision Logic → Timing Validation → Power Measurement → Thermal Validation → Uncertainty / Fallback → Security → Model Versioning → Signed Deployment → Model OTA → EVT → DVT → PVT → Production Calibration → Field Monitoring → Drift Detection → Retraining → Fleet Deployment → Reliable Product Intelligence
That is the difference between: Running a Neural Network
and: Engineering an Intelligent Product.
Typical Edge AI & Embedded AI Development Deliverables
Depending on project requirements, a 365PCB ODM AI program may include:
AI Product Requirements
AI Use-Case Definition
AI Feasibility Analysis
Classical Algorithm vs ML Trade Study
Sensor / AI Co-Design
Sensor Data Architecture
Dataset Requirements
Data Acquisition Plan
Data Collection Firmware Inputs
Dataset Construction
Dataset Versioning
Ground-Truth Definition
Annotation Guidelines
Dataset Quality Review
Train / Validation / Test Strategy
Device-Level Dataset Split
Production Variation Dataset Inputs
Environmental Dataset Inputs
Data Augmentation
Synthetic-Data Inputs
Preprocessing Architecture
Feature Engineering
DSP + AI Hybrid Architecture
Classification Model Development
Regression Model Development
Object Detection
Segmentation
Audio AI
Keyword Spotting
Anomaly Detection
Time-Series AI
Predictive-Maintenance Inputs
Sensor-Fusion AI
TinyML
MCU AI
Edge Vision
Edge Audio
Multimodal AI Inputs
On-Device LLM Feasibility
On-Device GenAI Inputs
Model Architecture Selection
Model Training
Transfer Learning
Model Fine-Tuning
Model Benchmarking
Confusion-Matrix Analysis
Precision / Recall Analysis
Threshold Optimization
Confidence Calibration
Out-of-Distribution Inputs
AI Fallback Architecture
Model Compression
Post-Training Quantization
Quantization-Aware Training
INT8 Optimization
INT4 Feasibility Inputs
FP16 / Mixed-Precision Inputs
Pruning
Structured Sparsity Inputs
Knowledge Distillation
Model Export
ONNX Integration
LiteRT Integration
ExecuTorch Integration
CMSIS-NN Integration
Tensor Runtime Integration
Target NPU Compiler Integration
Operator Compatibility Analysis
Graph Partitioning Analysis
Accelerator Fallback Analysis
CPU / DSP / GPU / NPU Architecture
Hardware Accelerator Selection
Model / Hardware Benchmarking
MLPerf-Based Comparative Inputs
Memory Footprint Analysis
Activation-Memory Analysis
Tensor Memory Planning
Static Memory Allocation
AI Runtime Integration
Zero-Copy Architecture
DMA Buffer Integration
Camera / ISP / AI Pipeline
Audio / DSP / AI Pipeline
Sensor / AI Pipeline
Preprocessing Optimization
Postprocessing Optimization
Asynchronous Inference
Multi-Model Scheduling
Accelerator Resource Management
Real-Time Inference Inputs
Worst-Case Latency Analysis
Frame / Sample Timing
RTOS AI Integration
Embedded Linux AI Integration
CPU Affinity Inputs
Inference Profiling
Throughput Analysis
Latency Histogram
Power Measurement
Energy-per-Inference Analysis
Low-Power AI Architecture
Always-On AI
Cascaded AI Architecture
Thermal Characterization
Sustained AI Performance
Throttling Analysis
PDN / AI Power Inputs
DDR / Memory-Bandwidth Inputs
Edge / Cloud AI Partition
Offline AI Architecture
Model Security Inputs
Model Integrity
Model Signing
Model Authentication
Secure Model Deployment
Model Confidentiality Inputs
Adversarial-Robustness Inputs
AI Privacy Inputs
Model Version Control
Hardware / Model Compatibility
Model Release Manifest
Model Hash / Traceability
Model OTA
Model Rollback
Canary Model Deployment
Shadow Model Evaluation
Model Drift Monitoring Inputs
Data Drift Inputs
Field AI Telemetry
AI Health Monitoring
Model Cohort Analysis
Dataset Feedback Loop
Retraining Pipeline Inputs
MLOps / Edge MLOps Inputs
AI Toolchain Configuration
AI Build Reproducibility Inputs
Compiler / Runtime Version Control
Reference Model vs Deployed Model Correlation
Numerical Correlation
Quantization Regression Testing
Recorded-Data Replay
Hardware-in-the-Loop AI Testing
Live Sensor Validation
Multi-Unit AI Validation
Camera Calibration Inputs
Sensor Calibration Inputs
Production Calibration
End-of-Line AI Functional Test
Production Model Programming
AI Product Configuration Traceability
EVT AI Validation
DVT AI Validation
PVT AI Validation
Environmental AI Validation
Long-Duration AI Testing
AI Field Failure Analysis
Model Lifecycle Maintenance
Edge AI Architecture Documentation
The actual engineering depth should follow:
AI Use Case + Sensor + Dataset + Accuracy Requirement + Latency + RAM + Storage + Power + Thermal + Compute Architecture + Product Lifetime.
Bring Us the Intelligence Problem — Not Just the Model
You can begin with:
Product Requirement
Sensor Data
Existing Dataset
Existing Model
PyTorch / TensorFlow Model
ONNX Model
Target MCU / SoC
NPU
Memory Limit
Power Requirement
Latency Requirement
Existing AI Accuracy Problem
Existing Edge AI Prototype
or simply:
Tell Us What the Product Needs to Understand — and What Hardware It Must Understand It On.
365PCB can help translate:
Physical Signal → Dataset → Model → Embedded Hardware → Inference → Product Decision → Production.
Don't Just Put AI on the Device.
Define the Product Decision.
Understand the Sensor.
Build the Right Dataset.
Validate the Ground Truth.
Choose the Right Model.
Compress It Intelligently.
Quantize It Carefully.
Map It to the Right Compute Engine.
Control the Memory.
Reduce Data Movement.
Measure End-to-End Latency.
Measure Energy per Inference.
Validate Sustained Thermal Performance.
Design the Fallback.
Protect the Model.
Version the Model.
Test It on Real Production Hardware.
Monitor It in the Field.
Feed What You Learn Back Into the Next Model — and the Next Product.
365PCB Edge AI & Embedded AI Development connects:
Sensors + Analog + PCB + MCU / SoC + RTOS / Linux + DSP + GPU / NPU + AI Models + Power + Thermal + Manufacturing + Cloud