Professional Documents
Culture Documents
STM32 Artificial Intelligence Solutions: Raphael Apfeldorfer - Feb 2021 MDG/MCD/AI Solutions
STM32 Artificial Intelligence Solutions: Raphael Apfeldorfer - Feb 2021 MDG/MCD/AI Solutions
STM32 Artificial Intelligence Solutions: Raphael Apfeldorfer - Feb 2021 MDG/MCD/AI Solutions
Intelligence Solutions
Privacy by design
Realtime, no latency
(GDPR compliant)
Sustainable on
Reliable
energy
Add new functions and
services with Embedded AI
Contact us at edge.ai@st.com 2
Computer Vision for STM32
User 2
Box
Box
Optimized NN Customer
files application
Food Person presence Face Multiple object
classification detection recognition detection STM32.Vision
STM32.AI lib
lib
FP-AI- FP-AI- FP-AI-
Q2 2021*
VISION1 v1.0 VISION1 v2.0 FACEREC v1.0
*available for alpha customers run-time
3
Condition monitoring for STM32
Optimized NN Customer
files application
Vibration monitoring for In-field Condition monitoring with
retrofit of existing systems current for build-in systems STM32.AI lib ML models
FP-AI-
Q1 2021*
NANOEDG1 v1.0
*available for alpha customers run-time
4
AI tools for STM32
2 4
1 3 5
Clean, label data Convert NN into
Build NN topology optimized code for MCU 6
ST toolbox for Neural Networks
Train Neural Network using Convert NN into optimized Run on optimized runtime
any major AI frameworks code
run-time
8
STM32Cube.AI main features
STM32Cube.AI is available both as graphical and command line interface
Power Consumption
MCU Selector
Calculator
Peripherals Configuration
10
Collecting data
& architecting a NN topology
Services provided by Partners ST tools to support
ST BLE
Sensor
Selected partners
Neural Networks engineering services support.
Data scientists and Neural network architects.
STM32L4
www.st.com/SensorTile
12
www.st.com/SensorTile-edu
Fast go to market module
to capture data with more accuracy
SensorTile.Box
Microsoft IoT
services ready
FSM MLC
up to 16 up to 8 Raw Data Deep Learning
Event Decision Neural Networks
Inertial Sensor FSM and MLC Machine Learning
New LSM6DSOX Re-configuration
• Best ultra-low-power sensing at high performance • More advanced and complex NNs
• 550µA (gyroscope and accelerometer) • Decisions on multiple sensors
➔ 200µA less than closest competitor • NN input can be sensor data and/or
• 20~40µA (Accelerometer only for HAR) sensor Machine Learning decisions
• Efficient Finite State Machines: 2µA • Multiple Neural Networks support
• Configurable Machine Learning Core: 4~8µA • Actuation & communication
14
Form factor hardware
AI IoT node for more connectivity
B-L475E-IOT01A
Sub-1GHz Dynamic NFC Tag
+ Wi-Fi
Capture Data Inference on STM32L4
15
www.st.com/IoTnode
Wireless Industrial node
to capture data at industrial grade
STWIN
Industrial-grade sensors
• Industrial scale 9-DoF motion sensors including accelerometer,
gyrometer and an ultra wide-bandwidth vibrometer with ultra low noise
• Very high frequency audio and ultrasound microphone
• High precision temperature and environmental monitoring
• Micro SD card for standalone data logging
• BLE5.0 connectivity and WiFi expansion board
• USART
www.st.com/stwin 16
STM32H7 discovery boards with camera
STM32H747I-DISCO
with B-CAMS-OMV
18
https://github.com/openmv/openmv
Making AI Accessible Now
Leader in Arm® Cortex®-M 32-bit General Purpose MCU
STM32MP1
MPU 4158 CoreMark
650 MHz Cortex -A7
209 MHz Cortex -M4
STM32F2 STM32F4 STM32H7 STM32F7
High Perf 398 CoreMark 608 CoreMark 3224 CoreMark 1082 CoreMark
240 MHz Cortex -M4 216 MHz
MCUs 120 MHz 180 MHz
480 MHz Cortex -M7
Arm® Cortex® core -M0 -M0+ -M3 -M33 -M4 -M7 dual -A7& -M4
More than 40,000 customers Over 4 Billion STM32 shipped since 2007 19
Function Packs
21
FP-AI-SENSING1
Audio scene classification (ASC)
3 classes
Audio Data capture Labelling controlled Data stored on the device Indoor, Outdoor, In vehicle
by smartphone application SD card for future learning labelling
NN & example
dataset provided
5 classes example
Motion Data Capture Labelling controlled Data stored on the device Stationary, walking, running,
by smartphone application SD card for future learning biking, driving labelling
NN & example
dataset provided
Pizza
99%
NN & example
STM32H7 dataset provided 150ms
24
► Demo available
FP-AI-VISION1
Person presence detection
One-class image classification demo Full end-to-end optimized software example
• Models from tensorflow.org (L4R and H7) • from camera acquisition to image pre-processing before feeding
and MobileNet v2 (H7 only) the NN
• QVGA 320x240 color image on the LCD • Multiple models fitting STM32L4R to STM32H7 depending on
• Can adapt camera flipping depending on required performance and cost
which side camera is placed • Visual wake word for Smart home or cities security cameras
• Reduce false alarms due to object movement detection
Unused 9.4 %
Person 34.8 %
No Person 87.1 %
Inferences running
B-CAMS-OMV Resize on the microcontroller
camera bundle
DCMI Crop Greyscale
34.8 %
QVGA 320x240
FP-AI-FACEREC1
Embed face recognition in your IoT project
Collect dataset from Generate free Integrate and Install on Incremental learning Monitor anomalies
industrial-grade ML library deploy premise on-target on-target
vibration sensor
Running AI on ST
Microprocessors
STM32MP1 microprocessor
Augmented intelligence
Cortex-M4
Realtime OS
STM32CubeMX
STM32MP1
= +
X-LINUX-AI
support for
29
X-LINUX-AI Package
for STM32MP1 AI Applications
Hardware Cortex®-A7
AI, CV frameworks
& application
STM32MP1
examples provided
https://www.st.com/content/st_com/en/campaigns/artificial-intelligence-at-the-edge.html
31
For more information
www.st.com/STM32CubeAI
Contact us at edge.ai@st.com
Capture Run on
Train NN
Data STM32
Label
Data
32
Releasing your creativity
/STM32
@ST_World
community.st.com
www.st.com/STM32CubeAI
33
Thank you