Motor Control
How to Tune encmode on ZombieVerter VCU
Encoder/position sensor type. This is your motor's 'eyes' — it tells the inverter where the rotor is.
Quick Reference
Param ID
75
Unit
enum
Range
0 — 5
Default
0
Available Choices
0: Resolver
(default)
1: ABZ
2: SPI
3: Hall
4: AS5047
5: SinCos
📖 What Does It Do?
Encoder/position sensor type. This is your motor's 'eyes' — it tells the inverter where the rotor is.
🎯 Recommended Values
Default value: 0
Valid range: 0 to 5
💡 Tuning Tips
0=Resolver — OEM standard for most EVs. Uses analog sin/cos signals, needs external excitation buffer. 6 wires. Robust, absolute position. Most common for Leaf, GS450H, Outlander.\n\n1=ABZ (Quadrature) — Incremental encoder with A/B/Z channels. Used by Tesla SDU. Simple but NOT 5V tolerant on input pins! Must level-shift. Good for high RPM.\n\n2=SPI (Deprecated) — Legacy resolver-to-digital chip interface (AD2S1200). Don't use for new builds — native resolver mode (0) is better.\n\n3=Hall — Three digital hall sensors, 60° resolution. Cheap and simple but rough at low speed. Found in some BLDC motors.\n\n4=AS5047 — Magnetic SPI encoder. 14-bit absolute, smooth as butter. Cheap ($5-15). Requires 3.3V and proper magnet mounting.\n\n5=SinCos — Analog sine/cosine encoder. Like resolver but no excitation needed. 4 wires. Good for aftermarket encoders.
Tune encmode and All 80+ Parameters
Answer a few questions about your specific build and get a complete, validated config file ready to load.
Generate Your Complete Config →Free account • No credit card • Takes 5 minutes
🔗 Related Parameters
Other parameters in the Motor Control category that work together with encmode:
fmax
HzMaximum motor frequency. RPM = fmax × 60 / polepairs.
boost
digVoltage at 0 RPM — controls starting torque. Higher = stronger launch.
fweak
HzField weakening start frequency. Above this, motor enters constant-power region.
numimp
pprSpeed sensor pulses per revolution.
polepairs
Motor pole pairs. CRITICAL — set this correctly for your motor.
fslipmax
HzMaximum slip frequency (induction motors). Sets full-throttle torque.
snsm
enumMotor temperature sensor type. Must match your motor's actual sensor.
fslipmin
HzMinimum slip frequency (induction motors). Sets creep torque.
dirchrpm
rpmRPM below which direction change is allowed.
udcnom
VNominal DC link voltage. 0 = auto-calculate from actual bus voltage.