From the series: Coder Summit
Ram Cherukuri, MathWorks
Vaidehi Venkatesan, MathWorks
Microcontrollers such as Cortex-M processors are increasingly important in traditional machine learning algorithms such as linear SVM and k-means clustering, as well as shallow neural networks of five or fewer layers.
This video describes a general approach for a battery transducer algorithm that predicts current based on duty cycle using different voltages and temperatures. However, the application must fit within 3KB of RAM on the microcontroller. The approach uses MATLAB® to extract features to develop a trained classification model using the Classification Learner app. Deployment to microcontrollers and FPGAs is shown using automatic code generation.
However quantization using Fixed-Point Designer™ is critical to develop the fixed-point data types to satisfy the resource constraints on target hardware. We'll show how this approach reduces memory by 67% compared to the single-precision design.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.