Home › FOC Motor Control Internship

Sensored PMSM Field-Oriented Control

FOC Motor Control Internship

A sensored motor-control internship on the STM32 NUCLEO-G474RE with the X-NUCLEO-IHM08M1 driver. You'll implement the full FOC stack — current sensing and ADC calibration, Clarke/Park transforms, discrete PI current control with anti-windup, SVPWM, and nested speed control — then close the loop on a digital twin with quantitative protection and verification experiments.

Who it's for

Open to anyone with basic C, signals & control systems and electrical machines — usually final-year B.Tech (EEE/ECE) or M.Tech students; strong pre-final-year students are welcome.

₹62,000₹45,000 / 4-6 months

Included: Remote Hardware Lab worth ₹16,800 — 45 days of access to 13 automotive ECU projects on real STM32 boards and a real CAN bus.

What you'll get

Welcome to the FOC Motor Control Internship — Sensored PMSM Field-Oriented Control (FOC) on the NUCLEO-G474RE with the X-NUCLEO-IHM08M1 driver. Watch the intro, then work through the modules and projects below.

8 modules — video lessons + real hardware lab

  1. Module 0 · Introduction to STM32 software and hardware — Orientation videos: toolchain setup, board overview and how this course works. No coding challenge — add one or more videos below.
  2. M1 · PMSM, inverter and motor-model foundations — Relate three-phase voltage, rotor angle, torque and speed in a low-voltage PMSM model.
  3. M2 · Current sensing, ADC calibration and PWM synchronization — Convert ADC counts to amperes and sample away from switching edges.
  4. M3 · Clarke and Park transforms — Transform phase currents into stationary alpha-beta and rotating d-q quantities, then reconstruct them.
  5. M4 · Discrete PI current control, limits and anti-windup — Regulate id/iq without integrator runaway when the inverter voltage saturates.
  6. M5 · SVPWM and the fast control loop — Convert alpha-beta voltage into three legal duty cycles and execute the current loop on deadline.
  7. M6 · Sensored startup and nested speed control — Align electrical zero, close the current loop first, then safely enable the slower speed loop.
  8. M7 · PMSM digital twin, protection and verification — Run reproducible speed/load/fault experiments and report quantitative evidence.

4 hands-on projects

P1 · Current Measurement Chain

Convert ADC counts to phase currents with offset and gain calibration, and synchronise sampling to the PWM so readings avoid switching edges.

Submit: Source + calibration table + plots

P2 · Clarke/Park and Discrete PI Current Loop

Implement Clarke and Park transforms and a discrete PI id/iq controller with output limits and anti-windup; verify the step responses on the PMSM digital twin.

Submit: Source + step-response plots

P3 · SVPWM and the Fast Control Loop

Turn the voltage vector into three legal duty cycles with SVPWM and run the current loop within its deadline.

Submit: Source + duty-cycle plots + timing log

P4 · Capstone — Sensored FOC Speed Drive (Digital Twin)

Align the rotor angle, close the current loop and then the speed loop, and run reproducible speed, load and fault experiments with protection on the PMSM digital twin.

Submit: Source + experiment report

Try a free workshop first · Why CAEE · Remote Hardware Lab