Washing Machine Load Weighing
Introduction
This project demonstrates using machine learning models to predict the load weight in a washing machine. This ensures that the water level can be adjusted accurately without relying on a physical weight sensor.
Dataset and Model Details
Dataset
The dataset consists of 6 current, voltage, and speed-based features obtained from TI Lab. The dataset ranges from 0g - 900g, with 100g precision.
Variable |
Description |
|---|---|
Vd |
Voltage component along d-axis |
Id |
Current component along d-axis |
Vq |
Voltage component along q-axis |
Iq |
Current component along q-axis |
Iqref |
Reference Current |
Speed |
Speed of the washing machine motor |
Model Architecture
REGR_13K model is a CNN-based architecture with approximately 13,000 parameters consisting of 3 convolution layers and 2 fully connected layers.
Inference run on Cortex M33 CPU
Input Features
The model takes 4D input (N,C,H,W):
N (1): batch size which is restricted to 1
C (6): channels which is 6 for the features
H (512): samples of timeseries signals which is 512 in this example
W (1): width of samples is restricted to 1 for timeseries applications
Output
This model produces a 1D output representing the weight of the clothes in the washing machine (in grams).
Feature Extraction Configuration
A SimpleWindow transformation is used, which makes use of the previous 512 datapoints to predict the current instance of the target variable. No FFT or frequency-domain feature extraction is applied.