Built for production. Proven in research. Fun on weekends.


📹 Video Demos

Short clips showing what the toolbox does on real hardware.

DemoVideoWhat it shows
Motor parameter estimation▶ 3:14Simulation → code generation → on-target data visualisation (Delpoux + Kerhuel)
XCP External Mode▶ 2:18Real-time parameter tuning from Simulink → Getting Started
Processor In the Loop (PIL)▶ 3:05Verify generated code matches simulation → Getting Started
Field weakening (KKT)▶ 12:45PMSM field-weakening — math + embedded demo → Example
Sensored motor ID▶ 3:18On-target motor parameter ID with live update (Delpoux + Kerhuel)
Sensorless motor ID▶ 2:51Sensorless observer estimation (Delpoux + Kerhuel)
Inverted pendulum▶ 0:45 · ▶ 0:23State-space control, dsPIC + IMU, no encoder
Flying magnet (maglev)▶ 1:20Magnetic levitation with dsPIC
Picooz helicopter — identification▶ chirp · ▶ steps · ▶ large stepGrey-box identification on a toy motor → Full tutorial
AUAV3 autopilot in wind▶ flight 1 · ▶ flight 2Sliding-mode roll/pitch on a fixed-wing RC plane

More on the ctrl+elec YouTube channel →


📘 PhD Theses & Research

Houmsi 2025 — Embedded Convex Optimisation for Synchronous Machines

Proves that convex optimisation fits on a €3 microcontroller. LMI solver + KKT field-weakening + robust H₂ control, all on dsPIC33AK128MC106.

📄 Manuscript (HAL) · ▶ Video · Field-weakening example →

Hiba Houmsi, INSA Lyon — Ampère Lab (UMR CNRS 5005). Defended 24 Oct 2025. Supervisors: R. Delpoux, P. Massioni, F. Bribiesca-Argomedo. Industrial guest: L. Kerhuel (Microchip).

Alhaj Hassan 2024 — PMSM Observer Design with Offline Data Logging

Records 6 variables at 20 kHz via 6 Mbaud UART, replays in offline Simulink simulation. Turns days of on-bench tuning into minutes of desktop work.

🔗 ctrl-elec page · 💾 Dataset (GitHub)

S. Alhaj Hassan, R. Delpoux, L. Kerhuel, V. Léchappé, X. Brun — Electrimacs 2024, Castelló de la Plana.

Delpoux HDR 2021 — Embedded Synchronous Machine Control

Modélisation et commandes embarquées génériques de machines synchrones — Avancées et perspectives.

📄 HDR on HAL (French)

Romain Delpoux, INSA Lyon — Ampère Lab. Defended 10 Dec 2021.


🏗️ Lab Platform — INSA Lyon, Ampère Lab

Educational deployments. The platform was originally developed for fifth-year electrical-engineering students of the CCSA option (Commande de Convertisseurs et Systèmes d’Actionnement) at INSA Lyon’s Department of Electrical Engineering, and has been used in that curriculum since 2016. It has since been adopted by the HILRES (Hardware in the Loop for Renewable Systems with SoC platforms) thematic school of the IEEE IES Technical Committee on Electronic Systems on Chip (ESOC), and was offered as a tutorial at ICEM 2024. During the COVID-19 pandemic, individual setups were shipped to 18 students and 4 teachers so the practical sessions could continue fully remotely.

Four motor test benches, all driven by the MCHP Blockset:

BenchPowerTopics
SPMSM170 W, 24 V, 6000 rpmField-weakening, observer design
IPMSM7.5 kW, 310 V, 3000 rpmMTPA, online magnetic characterisation
SynRM1.5 kW, 400 V, 1500 rpmSaturation, residual magnetism
Axial Flux Generator1 kW, 11 V, 330 rpmSmall wind turbine emulator

🔗 Lab details · 🔗 ctrl-elec.fr · 📦 GitHub · 📹 YouTube @ctrl_elec


Using the MCHP Blockset for a thesis, lab project, course, or hobby build? We’d love to feature it.

Contact: lubin.kerhuel@microchip.com