Can It Be Done Without a Dedicated AI Chip? The Evolution of MCU-Based Edge AI and Facial Recognition
\n
Face Recognition Without Asking the Cloud: A Turning Point for MCU-Based Edge AI
If the internet goes down while you’re standing in front of a door lock, should access authentication stop too?
With conventional face recognition systems, it could. A common setup sent images captured by a camera to a cloud server, which then returned the AI inference results. Network latency, connection failures, and the transmission of personal data were persistent problems with this approach.
But a demo unveiled by Microchip at Embedded World North America 2026 offered a different answer. It processed both face recognition and liveness detection entirely on-device, inside the MCU. With no internet connection or separate high-performance AI accelerator, a small controller can verify a person’s face and distinguish spoofing attempts involving photos, videos, or masks.
A System That Keeps Camera Images on the Device
The key to this demo isn’t simply that it can “recognize a face.” It’s that the entire authentication process takes place on the device.
A typical workflow looks like this:
- The camera captures an image of the face.
- The MCU performs basic preprocessing, such as resizing and normalization.
- A lightweight deep learning model extracts facial features and compares them with registered data.
- A liveness detection model checks whether it is a real person rather than a photo or a replayed video.
- The door lock, gate, or alarm system responds immediately based on the authentication result.
There’s no need to send the original facial data to an external server. This means authentication can keep working even in locations with unreliable networks, while reducing the risk of sensitive biometric data leaving the device.
The key shift: We’re moving from a system where sensors send data to the cloud and wait for a decision to one where sensors and MCUs make decisions and take action right on-site.
How It’s Possible Without a Dedicated AI Chip
Face recognition has long been considered the domain of high-performance computing hardware such as GPUs, NPUs, and dedicated AI accelerators. But modern Edge AI makes models smaller and optimizes them to run within tight memory and power constraints.
Common techniques include:
Quantization
Converts 32-bit floating-point operations to primarily 8-bit integer operations, reducing memory use and computational workload.Pruning
Removes connections and parameters that have little impact on inference results, making the model lighter.Knowledge distillation
Transfers the performance characteristics of a large model to a smaller one, shrinking it to a size that can run on an MCU.
With these optimizations, an MCU can handle camera input, communications, and actuator control while also performing limited deep learning inference. In other words, a single chip becomes an edge node that brings together sensing → AI decision-making → physical control → status transmission.
Edge AI Is Especially Powerful for Security Devices
On-device authentication powered by an MCU isn’t limited to door locks and access gates. It’s particularly practical in places where internet access is difficult or privacy is a priority.
- Industrial access control: Maintains worker authentication and restricted-area management even during network outages
- Smart door locks: Enables fast unlocking and spoofing prevention regardless of server outages
- Compact security devices: Provides on-site authentication using just a camera and an MCU—no separate AI server required
- Medical and public facilities: Supports privacy requirements by reducing the need to transmit facial images externally
Of course, MCUs won’t replace every AI workload. Large-scale video analysis, complex multi-object recognition, and continuous learning are still better suited to the cloud or high-performance edge servers. Instead, MCUs will handle decisions that must be made on-site and without interruption, such as immediate authentication and safety control.
That’s what makes Microchip’s demo significant: AI is no longer the exclusive domain of massive servers and expensive accelerators. An era in which everyday devices—from door locks and sensors to wearables and industrial controllers—can see and make decisions for themselves may be arriving sooner than we think.
From AI Accelerators to MCUs: What Has Changed in the Tiny Chip? — The Shift of Edge AI
The old way of doing things—sending sensor data to the cloud, waiting for the server’s response, and then having the device act—is changing. Devices now read data, make decisions, and act immediately on site. At the heart of this shift are not dedicated NPUs or GPUs, but microcontrollers (MCUs) already used throughout products.
MCUs once mainly read sensor values and controlled motors, relays, and LEDs. Today, MCU-based Edge AI handles sensing, preprocessing, deep learning inference, control, and communication as one continuous process on a single small chip. The controller is becoming more than a device that simply executes commands: it is becoming the decision-making engine at the edge.
The Limits of a Dedicated AI Chip-Centered Architecture
Dedicated accelerators such as GPUs and NPUs are effective for running high-performance AI models quickly. But it is difficult to put these chips into every product.
- Cost burden: A separate accelerator, memory, and power design add to the bill of materials (BOM).
- Power consumption: High power requirements are a challenge for battery-powered sensors and wearables.
- Space constraints: Small modules, smart locks, and industrial sensor nodes have limited room for additional chips.
- System complexity: Connecting the MCU, AI accelerator, and communications module separately complicates hardware and firmware design.
Dedicated AI chips therefore remain important in areas requiring substantial computing power, such as high-performance vision, large language models, and complex robotics. But not every decision requires that level of computing. The range of tasks that MCUs can handle is rapidly expanding to include relatively narrow, well-defined jobs such as anomaly detection, keyword spotting, simple image classification, human detection, and access authentication.
How MCU-Based Edge AI Changes the Processing Flow
The conventional architecture generally looked like this:
Sensor input → MCU preprocessing → Cloud transmission → AI inference → Result received → Device control
This approach makes it easy to run large models, but response time and reliability can fluctuate with network conditions. That can be a problem in settings where decisions must be made immediately, such as access control, safety systems, and equipment protection.
MCU-based Edge AI shortens the process:
Sensor input → MCU preprocessing and AI inference → Immediate control → Send summary information only when needed
The cloud does not disappear in this architecture. Its role changes. The device at the edge handles real-time decisions, while the cloud takes care of tasks such as model training, long-term data analysis, remote monitoring, and OTA update management. In other words, the cloud shifts from being the “brain that makes immediate decisions” to an “operations and control layer that supports learning and management.”
Why AI Can Run on a Small Chip
MCUs have not suddenly acquired GPU-level performance. The key is redesigning models to fit the limited memory and computing resources of an MCU.
Common techniques include:
Quantization
Reduces 32-bit floating-point operations to, for example, 8-bit integer operations. This can reduce model size and memory use while improving inference speed and power efficiency.Pruning
Removes connections or filters that have little impact on the result. This reduces unnecessary computations and produces a smaller model.Knowledge distillation
Transfers patterns learned by a large model to a smaller one. It is used to create models that can run on an MCU while minimizing the loss of accuracy.Clearly defining the task
Rather than asking the system to judge anything and everything like general-purpose AI, the problem is narrowly defined: “detect abnormal vibration,” “verify whether the user is registered,” or “classify whether a person is approaching.” This approach is especially well suited to small models and low-power environments.
Ultimately, the strength of MCU-based AI does not lie only in forcing huge models into smaller forms. It lies in precisely defining the problem a product needs to solve and designing a lightweight model for that specific task.
From Sensing to Control, All on One Chip
MCUs have always excelled at connecting directly to peripheral devices. They receive data from cameras, microphones, IMUs, and temperature, pressure, and vibration sensors, then use the results to control motors, relays, warning lights, and locks. Adding AI inference shortens the chain of connections in product design.
For example, an industrial motor monitoring device can read vibration and current data, detect abnormal patterns on the MCU, and immediately slow the motor or issue a warning depending on the level of risk. Even if the network goes down, basic protective actions can continue.
The same is true in physical security. A facial recognition and liveness detection demo that Microchip showcased at Embedded World North America 2026 points to an approach in which the MCU determines whether the subject is a real person and whether they match the user—all without sending camera images to the cloud. The system distinguishes spoofing attempts using photos, videos, or masks, then controls a door lock or gate based on the authentication result.
The benefits are clear:
- Responses are faster because there is no network round trip.
- Core functions remain available even in locations with unreliable internet.
- Fewer original images and sensitive sensor data need to be sent outside the device.
- Products can be built without a separate AI accelerator, reducing cost and board space.
Product Design Priorities Are Changing, Too
As Edge AI expands to MCUs, product teams need to decide first not “Which AI chip should we use?” but “Which decisions should be made on site?”
The most practical design is not an either-or choice between processing all data locally and sending all data to the cloud. In general, dividing responsibilities works best:
| What the edge MCU handles | What the cloud handles | |---|---| | Immediate detection and inference | Training large-scale models | | Safety control and local alerts | Long-term data analysis | | Basic offline operation | Integrated monitoring across multiple devices | | Initial processing of sensitive data | Model and firmware deployment and operations management | | Generating summary logs | Managing data for retraining |
This architecture can also reduce network traffic. Instead of constantly transmitting camera footage or high-frequency sensor data, devices can send only events and summary metrics such as “anomaly detected,” “authentication successful,” or “risk level increased.”
Operational Readiness Matters More Than Performance
Getting AI to run on an MCU does not mean the product is finished. In real-world commercialization, deployment, security, and maintenance are just as important as model performance.
When operating thousands of devices or more, the following must also be designed:
- A secure boot chain and firmware verification
- Encryption and integrity checks for model files
- Staged OTA updates and rollback in case of failure
- Model version management for each device
- Monitoring for performance degradation caused by changes in field data—in other words, data drift
A model deployed on a small MCU may be difficult to replace, and an error during an update can affect the device’s functionality itself. MCU-based Edge AI is therefore less a matter of simply choosing a chip and more a systems design challenge that spans the entire product lifecycle.
Dedicated accelerators are not going away. Instead, AI is moving down into more layers of the stack. While high-performance servers and NPUs handle complex training and large-scale inference, MCUs make fast, quiet decisions right where they are needed. That shift is turning small sensor nodes from simple data collectors into intelligent products that can act on their own.
Edge AI: How to Run Deep Learning on a Budget of Just Tens of Kilobytes
Running a neural network on an MCU with limited memory and power is about more than simply shrinking the model file. You have to balance accuracy, latency, power consumption, and cost within tens to hundreds of kilobytes of RAM and flash memory.
That’s why the key to MCU-based Edge AI isn’t using “the biggest model.” It’s designing a model that makes the most reliable decisions within the hardware budget you have.
How Memory Is Used Matters More Than Model Size
In an MCU environment, the size of a model’s parameters tells only part of the story. During inference, the system also needs memory for input images, intermediate results, and working buffers. Models with multiple layers—such as CNNs—can use substantial amounts of RAM for intermediate activations.
For a camera-based recognition feature, for example, you need to account for all of the following:
- Input frame resolution and color format
- Flash storage used by the model weights
- RAM used by intermediate data at each layer
- Memory required by the inference engine’s workspace and communication and control logic
- Spare storage for OTA updates
So when designing a model, the first question should not be “Does it have few parameters?” but “Will its peak RAM usage stay within the MCU’s limits?”
8-Bit Quantization Is the Starting Point for MCU Edge AI
The most widely used technique is quantization. Typical deep learning models use 32-bit floating-point operations, but on MCUs, converting them to 8-bit integers is a practical approach.
- 32-bit float weights → 8-bit integer weights
- Reduced model storage
- Reduced memory bandwidth
- Improved inference speed and power efficiency through integer operations
Even a simple calculation shows a big difference. Weights that take up 400 KB in 32-bit format can shrink to around 100 KB after 8-bit quantization. The actual size depends on metadata and runtime structure, of course, but on an MCU, that difference can determine whether a product is feasible to build.
Quantization can, however, reduce accuracy. In practice, that’s why developers may use not only post-training conversion, but also quantization-aware training, which accounts for the errors introduced by integer operations from the training stage onward. For features where the cost of a wrong decision is high—such as face recognition or anomaly detection—it is essential to validate accuracy after quantization.
Reducing the Input Also Reduces the Computational Load
On MCU-based Edge AI systems, reducing the size of the input data is one of the most effective ways to optimize performance.
Instead of analyzing an entire camera image at high resolution, you can use strategies such as:
Extract only the region of interest
Analyze only the areas you need, such as a face, a product surface, or an instrument panel.Lower the resolution
Instead of processing a 640×480 image as is, reduce it to 96×96 or 128×128, as appropriate for the task.Simplify the color information
Using grayscale instead of full RGB reduces both the input data and the preprocessing burden.Run inference only when an event occurs
Rather than running AI on every frame, perform inference only when motion is detected or a sensor value exceeds a threshold.
This approach doesn’t mean automatically sacrificing accuracy. In fact, by clearly defining the problem, you can remove unnecessary data while retaining the decision-making performance you need.
Keep Only the Computation You Need with Pruning and Lightweight Architectures
Not every connection in a neural network is actually important. Pruning reduces a model’s computational load by removing weights or filters with little impact. Combined with lightweight architectures—such as small CNNs and depthwise separable convolutions—it can compress a model to a size that runs on an MCU.
The important point, however, is that the goal isn’t to maximize the pruning rate. If you cut too aggressively, performance can deteriorate sharply under real-world conditions such as changing lighting, angles, vibration, or temperature.
Optimization therefore usually follows this sequence:
- Collect data from the actual operating environment.
- Define a minimum accuracy threshold.
- Reduce the model structure and input size.
- Apply 8-bit quantization.
- Measure RAM, flash, inference time, and power consumption.
- Revalidate false positives and false negatives under field conditions.
In other words, an MCU model shouldn’t be judged by lab benchmarks. It needs to be small and robust enough to hold up in the field.
Accuracy Is Built by the System, Not the Model Alone
To achieve high performance on a budget of just tens of kilobytes, it’s best not to leave every decision to a single neural network. Combining traditional signal processing with rule-based logic can significantly reduce the model’s workload.
For example, an industrial anomaly detection device could be designed to:
- Filter sensor signals to remove noise
- Use simple thresholds to classify clearly normal or abnormal conditions
- Run a lightweight neural network only when the situation is ambiguous
- Immediately trigger a warning, reduce speed, or switch to a safe mode based on the result
The same principle applies to face authentication devices. Instead of processing the entire camera input with a costly model every time, breaking the process into stages—motion detection, face-region detection, quality checks, authentication, and liveness detection—makes it easier to manage power and computational load.
Ultimately, the competitive advantage of MCU-based Edge AI doesn’t come from having a small model alone. It comes from the ability to design sensing, preprocessing, AI inference, and control as one efficient pipeline. A budget of just tens of kilobytes is a constraint—but it’s also a design guide that drives us to build AI that is more precise and purpose-built.
The Field Transformed by Small AI: Edge AI for Robots, Factories, and Access Security
What if a robot stopped, factory equipment missed a warning sign, or an access control system gave up on authentication when the network went down?
In the field, systems that are “smart only when they can connect to a server” are not enough. When immediate decisions are critical—whether for people’s safety, protecting production equipment, or controlling access—those decisions need to be made right where the data is generated. MCU-based Edge AI brings this decision-making capability into small, low-power controllers.
Robots: Safety functions keep running, even when the connection drops
Robots need to respond to their surroundings in milliseconds. Sending camera or sensor data to the cloud and waiting for a result leaves them vulnerable to network delays and outages.
With MCU-based Edge AI, a robot can analyze sensor inputs locally and make basic decisions immediately.
- Detect obstacles or hazardous situations using distance, IMU, and basic vision data
- Execute safety controls such as slowing down, stopping, or avoiding an obstacle when the risk of collision is high
- Maintain essential protection logic even when communication fails
- Implement a hybrid architecture in which servers handle complex path planning and large-scale training
In other words, the cloud can make a robot smarter, but it cannot make the on-site decision to bring the robot to a safe stop on its behalf. That is the role of the MCU running local inference.
Factories: Respond the moment an anomaly is detected
Industrial sites continuously generate vast amounts of sensor data, including vibration, temperature, current, and pressure readings. Sending all this data to the cloud for analysis drives up communication costs and can delay the detection of critical warning signs.
MCU-based Edge AI runs lightweight anomaly detection models on controllers installed close to the equipment. When a signal deviates from normal patterns, the system can respond immediately, regardless of network conditions.
For example, the process might look like this:
- The MCU continuously collects vibration and current data from a motor.
- A quantized anomaly detection model identifies patterns that differ from the norm.
- The controller issues a warning or switches the equipment to a reduced-speed operating mode.
- Only event summaries and logs are sent to the central server.
Instead of bringing a production line to a complete stop every time, this architecture can be designed to safely reduce operating speed or request an inspection based on the level of risk. Edge AI goes beyond simple monitoring, providing a foundation for equipment to detect and respond to risks on its own.
Access Security: Keep facial data on the device
Physical security is where the practical value of MCU-based Edge AI becomes especially clear. When facial recognition and liveness detection run locally, door locks and access gates can authenticate users even without an internet connection.
Liveness detection, in particular, distinguishes spoofing attacks that use photographs, video playback on a screen, masks, and other methods. The system must do more than check whether a face looks similar—it needs to determine whether the subject in front of the camera is a real person.
The advantages of on-device processing are clear:
- Fast response: Returns an authentication result on-site, with no network round trip.
- Offline operation: Keeps authentication working in underground facilities, industrial sites, and temporary entry points.
- Privacy protection: Reduces the risk of data exposure by keeping facial images from being sent to external servers.
- Lower costs: Operates without a dedicated AI server or continuous video uploads.
Microchip’s MCU-based facial recognition and liveness detection demo offers a vivid illustration of this potential. With just a camera, an MCU, and a lock controller, a single on-site device can complete the entire flow: sensing → AI decision → door control → log transmission.
The key is not a “small model,” but decision-making centered on the field
AI models running on MCUs are smaller than those used in large data centers, and they face tight memory and power constraints. That makes optimization techniques such as quantization, pruning, and knowledge distillation essential. But the real point of this technology is not simply to run AI on a small chip.
It is to change where decisions are made.
Instead of sending data to a distant server and waiting for a decision,
the system makes decisions instantly, right where the data is generated.
It provides robots with uninterrupted safety, factories with rapid responses to anomalies, and access security with privacy and trust. Edge AI running on small MCUs is no longer just an auxiliary feature. It is becoming a critical layer that safeguards the continuity and safety of systems in the field.
Edge AI: The Real Battle Goes Beyond the Chip—Deployment, Security, and Maintenance
An AI system that works once in a demo is a very different proposition from one that operates safely for 10 years across thousands of devices. If you’ve successfully used an MCU to recognize faces or detect anomalies, that’s only the beginning. The real test for Edge AI isn’t getting a model onto a chip—it’s keeping it running reliably after deployment in the field.
MCU-based devices are often installed in places people can’t easily access, such as factory equipment, access gates, remote sensors, and wearables. That makes deployment, security, updates, and incident response just as important as model performance.
Model Deployment: How to Safely Deploy the Same AI to Thousands of MCUs
Moving a model validated in a development environment onto real devices involves more than simply copying a firmware file. Hardware revisions, memory capacity, network conditions, and installation environments can all vary from device to device.
In MCU-based Edge AI, the AI model is often bundled with the firmware or managed as a separate model package. In either case, the following are essential:
- Hardware compatibility testing: Even the same model can behave differently depending on the MCU’s RAM, flash memory, and camera sensor conditions.
- Phased rollout: Rather than updating every device at once, it’s safer to validate the update on a subset of devices first through a canary deployment.
- Version control: Firmware versions, model versions, and data preprocessing rules should all be tracked together so issues can be traced back to their source.
- Rollback capability: If the new model’s accuracy drops or devices start malfunctioning, it must be possible to revert to the previous version immediately.
Imagine deploying an anomaly detection model to thousands of vibration sensors across a factory. If the new model mistakes the normal vibration of a particular motor for an anomaly, unnecessary alerts and production disruptions may follow. That’s why model updates need to be designed more conservatively than ordinary software deployments.
Security: AI Models Are Targets, Too
Running AI on an MCU has the advantage that facial images and equipment data don’t need to leave the device for an external server. But keeping data local doesn’t make security concerns disappear. An attacker may physically steal a device, target its network update path, or try to copy the model itself.
At a minimum, secure Edge AI operations require the following:
- Secure Boot: Verify that only valid, signed firmware runs when the device boots.
- Encrypted OTA updates: Protect firmware and model files delivered over the network against tampering.
- Code signing and certificate management: Devices must be able to verify that update providers are trusted.
- Key protection: Encryption keys and authentication credentials should be stored in a secure area, not in ordinary memory.
- Disabled debug interfaces: If debug ports such as JTAG or SWD are left open on field devices, firmware and models can be exposed with little difficulty.
Security features such as facial recognition and liveness detection are especially sensitive. If an authentication model is leaked or an update file is tampered with, the consequences can go beyond a simple service outage to include bypassed access controls, privacy breaches, and physical security incidents.
Maintenance: Models Grow Stale Over Time
Traditional MCU firmware could often run the same logic for years once it had been validated. AI models are different. When field conditions and input data change, model performance changes with them. This is known as data drift or model drift.
For example, an anomaly detection model in an industrial setting may be affected by changes such as:
- Normal vibration patterns changing as equipment ages
- Temperature and humidity conditions shifting with the seasons
- Changes in product types or production speeds
- Camera lens contamination, lighting changes, or sensor variation
Even a model that was accurate at first may produce more false positives and false negatives over time. That’s why, even if devices don’t send all raw data, it’s important to securely collect summary logs, anomaly events, confidence scores, and representative samples needed for retraining and quality checks.
The key is not to “send all data to the cloud,” but to send only the data needed to improve the model. This is a practical way to maintain AI quality while protecting privacy and controlling communication costs.
Lightweight MLOps Is Key to Long-Term Operations
As MCU-based Edge AI becomes more widespread, large-scale, cloud-centric MLOps alone will no longer be enough. What’s needed is lightweight Edge MLOps designed around limited memory, intermittent connectivity, long product lifespans, and field safety requirements.
Model accuracy isn’t the only operational metric that matters in the field.
| Area to monitor | Questions to ask | |---|---| | Model performance | Are false positives and false negatives increasing? | | Device health | Are memory shortages, overheating, or longer inference times occurring? | | Update quality | Has the error rate risen since the new version was deployed? | | Security status | Are there unsigned firmware images or attempts at unauthorized access? | | Connectivity | Do essential decisions and controls remain operational while offline? |
Ultimately, successful MCU-based Edge AI takes more than a “small, fast model.” Secure OTA updates, version control, rollback, data drift monitoring, and device security must all work together as a unified operating system.
Inference running on a chip is only the starting point. The real technical capability that sets companies apart in the MCU Edge AI market is keeping decisions trustworthy, even as field conditions change over many years.
Comments
Post a Comment