This repository provides models, scripts, and documentation for experiments and simulations conducted in the ELE 644 Electric Drive Systems course at the American University of Sharjah, using the TI LAUNCHXL-F28379D microcontroller and Simulink.
-
matlab/
Contains all project models and resources, organized by experiment:-
1 Blink Test/
Simple LED blinking using CPU1/CPU2 cores. -
2 Open Loop Control using f28379d/
Open-loop PMSM motor control and ADC offset calibration. -
3 Parameter Estimation/
Automated Rs, Ld, Lq, Ke, J, B estimation using TI hardware. -
4 Quadrature Encoder Offset Calibration for PMSM Motor/
Encoder index offset calibration using QEP sensor. -
5 Sensored FOC/
Field-Oriented Control of PMSM using encoder feedback. -
6 Sensorless FOC/
FOC using sensorless algorithms (Flux Observer, SMO, etc). -
Datasheets/
Reference datasheets for motor, drivers, and controller boards.
-
-
report/
Contains the official course lab guide and solution report:-
ELE_644_Project_F28379D_Part1.pdf
Main manual covering all setup and experiments. -
ELE_644_Project_F28379D_Solution.pdf
Solutions and implementation results for:- PMSM motor control
- BLDC drone motor (T-Motor MN3508 + 15" carbon fiber propeller)
-
- TI LAUNCHXL-F28379D
- BOOSTXL-DRV8305 / DRV8301 inverter modules
- 3-phase PMSM motor with or without encoder
- DC power supply, host PC with MATLAB/Simulink
Below are sample photos from the setups used in this project.
- Installation of Embedded Coder Support Package for TI C2000
- Simulink model deployment to TI hardware
- LED blinking using CPU1 and CPU2
- Open-loop control of PMSM
- ADC offset calibration
- PMSM parameter estimation (Rs, Ld, Lq, Ke, J, B)
- Quadrature encoder offset calibration
- Field-Oriented Control (FOC) with and without sensors
- MATLAB R2021a or later
- Toolboxes:
- Embedded Coder
- Motor Control Blockset
- Fixed-Point Designer
- Simulink Coder
- C2000 Microcontroller Blockset
-
Full lab guide:
report/ELE_644_Project_F28379D_Part1.pdf
-
Solutions + Drone BLDC motor section:
report/ELE_644_Project_F28379D_Solution.pdf
It includes setup, model configuration, calibration steps, and control strategies with step-by-step instructions.
This project is provided for educational purposes under fair academic use.