deckle studio
Open the editor
Behavioural mixed-signal modelpmsm_motor

Three-phase PMSM / BLDC motor (sine back-EMF)

Permanent-magnet synchronous motor, star connected: per phase winding resistance, inductance and a sinusoidal back-EMF −ke·ω·sin(θe − φ); torque 1.5·ke·iq on a shaft with inertia, friction and an adjustable load torque (live). The rotor angle is available to an AS5047P encoder on the same shaft. Drive it from a three-phase inverter (six MOSFETs) with field-oriented control. Defaults: an example 96 V / 3 kW axial-flux motor (10 pole pairs, 50 V phase peak at 3000 rpm, 9.5 N·m at 40 A) — enter your motor's data sheet values.

UVWThree-phase PMSM / BLDC motor
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Reference prefix
M
Pins
3
Land pattern
PinHeader_1x03_P2.54mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
pmsm_motor
Supply pins
U / V

Pins 3

PinNameUse
UUPassive pinContact: carries a signal or supply wire
VVPassive pinContact: carries a signal or supply wire
WWPassive pinContact: carries a signal or supply wire

Parameters 8

Phase resistanceR
Default20m Ω

Winding resistance of one phase (line-to-line / 2). Example value.

Phase inductanceL
Default100u H

Synchronous inductance of one phase (line-to-line / 2). Example value.

Back-EMF constantke
Default0.16 V·s/rad

Phase peak back-EMF per mechanical rad/s (= pole pairs × flux linkage); torque = 1.5 × ke × iq. Line-to-line RMS per krpm = ke × √3/√2 × 104.7.

Pole pairspp
Default10
Rotor inertiaJ
Default2m kg·m²
Friction torquetf
Default0.05 N·m
Load torqueloadlive
Default0 N·m

Brakes the shaft in both directions (changeable during the simulation)

Start angletheta0
Default0 °

Mechanical rotor angle at t = 0

PCB

Connector / off-boardPinHeader_1x03_P2.54mm_Vertical

motor off-board (U, V, W); use M5 bolt terminals or a power connector rated for the phase current