Professional Documents
Culture Documents
Microchip Webinar - Machine Learning With MCHP MCU & MPU - Oct - 23 - 2020
Microchip Webinar - Machine Learning With MCHP MCU & MPU - Oct - 23 - 2020
2
How does Supervised Learning work?
The basic machine learning training process
Server, Infrastructure
Tensorflow, Caffe etc.
App
Integration
“inference”
33
ML vs Rules-Based Algorithm
! Benefits
• Much faster development time
• Days vs Month
• Scalable Accuracy of the Prediction
• More Processing Power and more Data variety = More accuracy
• Local Learning
• Decrease false positives or negatives
• Create new possibilities
• Can find “hard to see” pattern
! Challenges
• Needs data to train the model
• Labelled / Curated
• Cover all possible scenarios
• Could be complex to develop the right model/inference
• May need Data Scientist and ML expertise
• Bigger memory footprint
4
Challenges of data processing
Cloud, Big Data, IoT, Edge – What does this all mean?
5 5
Why ML at the Edge?
Edge is the location of Data Processing near the source of Data Generation
• Reduce Cost
• Less Communication
• Low Power
• No need for fast communication
• Local Learning
• Better performance by learning each product individually
6
Machine Learning with Microchip
8
Machine Learning with Microchip
MCU/MPUs
9
Who is it for?
• Embedded Designer
10
Why ML with Microchip MCU/MPUs?
• Easy to implement
• Complete flow from Data generation to Chip programming
• Partners’ solution will help with Data needs
• Partners integration within MPLAB
• Accessible to embedded engineers
• Low Power
• Technical Support
11
ML Flow with Partners
12
Target Areas for MCU/MPU
Smart Predictive Maintenance (SPM)
Smart HMI (SHMI)
13 13
Industry 4.0
14
Different Maintenance Strategies
15
Smart Predictive Maintenance ( PdM )
• Optimize asset availability and lifetime
• Reduce Maintenance cost up to 30%*
• Eliminate breakdown up to 75%*
• Reduce downtime up to 45%*
• Minimize unplanned downtime
• Increase production by up to 25%*
• Extend equipment life
PwC Source
16
Smart Predictive Maintenance
• A single hour of IT downtime costs
• >$100,000 for 98% of firms polled
• >$300,000 for 86% of firms polled
• >$1 Million for 34% of firms polled
• Excludes lawsuits, fines, and penalties
• Source: Information Technology Intelligence Consulting
18
ML in Smart HMI
• Enhance Customer experience through gesture-based interaction
19
Automotive
20
Automotive Trend
• Increased amount of sensors in a car
• Sensor data requires higher data bandwidth
• The current network bandwidth may not be sufficient
21
How to save cost and enhance feature?
• Reduce network bandwidth by implementing AI/ML at
sensors / nodes
• Reduce unnecessary data transmit to the ECU
• Reduce overall system power
• Enhance Features:
• Better predicted maintenance
• Reduce maintenance cost
• Enhance safety by properly notifying driver on failures
22
Improving Sensor Performance
• What if we can improve sensors performance?
• What is the cost of a false negative or positive?
• Driver needs to go to a shop
• Shop will change a perfectly functioning unit
• Shop will charge the OEM
23
Partners
24
Cartesiam
Intelligence of Things
• NanoEdge AI Studio
• Your embedded developer becomes your AI developer
• Just need to provide small sample of typical Data
• Self select algorithm for accuracy and confidence
• Small footprint algorithm (4kB to 32kB RAM)
• Simplified testing with integrated emulator
• Sensors options
• Vibrations, Pressure, (VOC) Volatile organic compound, Current, Magnetic,
Temperature, Ultrasound, Multi signal sensor
• Does not work with Video or Voice
25
Edge Impulse
Making Things smarter
• Full tinyML pipeline
• Collect Data
• Build a model
• Deploy and Monitor
26
Motion Gestures Solutions
Gesture Recognition in minutes!
• Easy to create your own gesture
28
Machine Learning Evaluation Kit
• EV18H79A: SAMD21 ML Evaluation Kit with TDK 6-axis MEMS
• ATSAMD21
• A light sensor
• A high-accuracy temperature sensor - MCP9808
• WiFi - WINC1510
• TDK ICM-42688-P
30
Adafruit Edge Badge
TensorFlow Lite for Microcontrollers
• Based on SAMD51
• 1.8” TFT Display
• 2MB of SPI Flash
• Microphone, Accelerometer, Light Sensor
32