Skip to content
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.

BLDC hub motor cross-section, six-step block currents, FOC sinusoidal currents and a torque comparison
3 kW hub motor: six-step BLDC vs FOC on its PMSM twin
Bar charts of urban-cycle energy per kilometre and peak controller current for BLDC and PMSM drives in four two-wheeler segments
BLDC vs PMSM in four two-wheeler segments (model results)

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

  1. Unzip the package we send you.
  2. Go to matlab.mathworks.com and sign in (campus licence or MathWorks trial).
  3. In MATLAB Drive, click Upload and choose the unzipped folder.
  4. In MATLAB Online, open the folder and double-click the model (.slx) or run the start script named in README.
  5. 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