IntermediateMATLAB R2026a
BLDC two-wheeler motor designer app with PMSM comparison (0.25–15 kW)
Design a BLDC hub or mid-drive motor for e-cycles, scooters and motorcycles, and compare six-step BLDC with a PMSM run on FOC.


Aim
Size a BLDC two-wheeler motor (outer-rotor hub or inner-rotor mid-drive), simulate its six-step Hall drive and an FOC-driven PMSM twin switch by switch, and see which suits each two-wheeler segment on efficiency, torque ripple, controller current and cost.
What you’ll learn
- Trapezoidal vs sinusoidal back-EMF, and how slot/pole choice shapes it
- Six-step Hall commutation vs field-oriented control (FOC)
- Commutation torque ripple, cogging and inverter losses
- Which drive fits e-cycles, city scooters, performance scooters and e-motorcycles
Try it here
An interactive illustration of the idea behind this experiment.
How to run it in MATLAB Online
- Unzip the package we send you.
- Go to matlab.mathworks.com and sign in (campus licence or MathWorks trial).
- In MATLAB Drive, click Upload and choose the unzipped folder.
- In MATLAB Online, open the folder and double-click the model (.slx) or run the start script named in README.
- Press Run. Results appear in the scopes, dashboard or figures.
Learn this with an expert
Join a live course and build models like this step by step.
Call / WhatsApp +91 80155 06307 · director@auravolt.in