• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • DesignFast
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

The AI-enabled MCUs: Basic design venues

December 22, 2019 By Majeed Ahmad Leave a Comment

What has the tiny microcontroller got to do with the mighty artificial intelligence (AI) world and its technology offshoots like machine learning and deep learning? After all, the AI designs have mostly been associated with powerful CPUs, GPUs, and FPGAs.

Right? While this notion is not far from reality, it’s quickly changing with AI’s journey from the cloud to the edge, where AI compute engines allow MCUs to push the boundaries of what’s possible for embedded applications. That, first and foremost, enables embedded designs to improve real-time responsiveness and device security from cyberattacks.

AI-enabled MCUs
Figure 1: The analysis done in the cloud is moving closer to the sensing and actions, and that’s driving the need for AI-enabled MCUs; it reduces the required bandwidth for data transfer and saves the processing capabilities of cloud servers. (Iimage: STMicroelectronics)

The MCUs equipped with AI algorithms are taking on applications that encompass functions such as object recognition, voice-enabled services, and natural language processing. They also facilitate greater accuracy and data privacy for battery-operated devices in the Internet of Things (IoT), wearable, and medical applications.

So, how do MCUs implement the AI functions in edge and node designs? Below is a sneak peek into three fundamental approaches that enable MCUs to perform AI acceleration at the IoT network edge.

Three MCU + AI venues

The first, and probably the most common approach, relates to model conversions for a range of neural network (NN) frameworks such as Caffe 2, TensorFlow Lite, and Arm NN for deploying cloud-trained models and inference engines on MCUs. There are software tools that take pre-trained neural networks from the cloud and optimize them for MCUs by converting them into C-code.

The optimized code running on MCUs can perform AI functions in voice, vision, and anomaly detection applications. Engineers can download these tools into MCU configuration and run inferences of the optimized neural networks. These AI toolsets also offer code examples for the neural network-based AI applications.

Figure 2: The AI toolsets perform model conversion to run inferences of the optimized neural networks on low-cost and low-power MCUs. (Image: STMicroelectronics)

The second approach bypasses the need for pre-trained neural-network models borrowed from the cloud. Designers can integrate AI libraries into microcontrollers and incorporate local AI training and analysis capabilities in their code.

Subsequently, developers can create data models based on signals acquired from sensors, microphones, and other embedded devices at the edge and run applications such as predictive maintenance and pattern recognition.

Third, the availability of AI-dedicated co-processors is allowing MCU suppliers to accelerate the deployment of machine learning functions. The co-processors such as Arm Cortex-M33 leverage popular APIs like CMSIS-DSP to simplify code portability, allowing MCUs tightly coupled with co-processors to accelerate the AI functions like co-relation and matrix operations.

The above software and hardware platforms demonstrate how to implement AI functionality in low-cost MCUs via inference engines developed according to embedded design requirements. That’s crucial because the AI-enabled MCUs may well be on their way to transform the embedded device designs in IoT, industrial, smart building, and medical applications.

You may also like:

  • AI design
    The three approaches to AI design
  • Artificial Intelligence
    DIY Artificial Intelligence

Filed Under: Applications, Artificial intelligence, FAQ, Featured Tagged With: FAQ

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured Contributions

Five challenges for developing next-generation ADAS and autonomous vehicles

Securing IoT devices against quantum computing risks

RISC-V implementation strategies for certification of safety-critical systems

What’s new with Matter: how Matter 1.4 is reshaping interoperability and energy management

Edge AI: Revolutionizing real-time data processing and automation

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

RSS Current EDABoard.com discussions

  • Elektronik devre
  • Powering a USB hub: safely distributing current from a shared power supply
  • RF-DC rectifier impedance matching
  • How can I get the frequency please help!
  • 12VAC to 12VDC 5A on 250ft 12AWG

RSS Current Electro-Tech-Online.com Discussions

  • 100uF bypass Caps?
  • Fuel Auto Shutoff
  • Actin group needed for effective PCB software tutorials
  • how to work on pcbs that are thick
  • compatible eth ports for laptop

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy