Motor Controller Design

Motor Parameters

Inverter Specs

MOSFET Specs

FOC Current Loop Tuning

Calculated PI gains for zero-pole cancellation (bandwidth = f_PWM / 10).

Target Bandwidth (ωc) -- rad/s
Kp (Proportional Gain) -- V/A
Ki (Integral Gain) -- V/(A·s)

Electrical Time Constant (Te = Ls/Rs): -- ms

Inverter Losses (per Switch)

Estimated conduction and switching losses for thermal sizing.

Conduction Loss (P_cond) -- W
Switching Loss (P_sw) -- W
Total Loss (per FET) -- W
Total Inverter Loss (6 FETs) -- W

FOC CURRENT LOOP

I*_dq
PI Controller
Kp=--
V*_dq
Inv / Motor
1/(sL+R)
I_dq

Math & Theory