Predicting rotor torque in motors presents a significant engineering challenge: direct measurement requires costly sensors that add weight, a critical concern for electric vehicles striving for efficiency. While traditional statistical methods for estimating rotor torque exist, they are limited by the need for domain expertise and motor-specific tuning.
This project leverages deep learning to efficiently predict rotor torque in Permanent Magnet Synchronous Motors (PMSM), enabling a substantial reduction in the hardware sensors required for motor instrumentation and control.
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 nortos |
| Toolchain | ti-arm-clang |
| Board | am261x-lp |
| Example folder | examples/ai/torque_measurement/ |
The dataset contains sensor measurements collected from a PMSM running on a controlled test bench. The measurements were collected by the LEA department at Paderborn University at 2 Hz sampling rate.
| Column Name | Description |
|---|---|
i_d | Current d-component (active) |
i_q | Current q-component (reactive) |
u_d | Voltage d-component (active) |
u_q | Voltage q-component (reactive) |
motor_speed | Motor speed |
ambient | Ambient temperature |
torque | Torque induced by current (target) |
The model uses a subset of easily measurable inputs: Ambient temperature, Coolant temperature, Voltage components (u_d, u_q), and Phase current magnitude to predict torque.
This regression model REGR_10k contains approximately 10,000 parameters with three convolutional layers (each with BatchNorm and ReLU) followed by two linear layers.
The model takes 4D input (N,C,H,W):
This model produces a 1D output representing the continuous value of torque.
For this torque measurement system, no FFT or frequency-domain feature extraction is applied. The model uses normalization to convert floating point input into fixed point for efficient inference.
Configuration in user_input_config.h: