What’s ZVF?
Zero Vector Frequency is the frequency the FOC motor control loop runs at, usually between 20-40kHz
Why tune it?
For various reasons the ZVF frequency can cause interference with the IMU causing an unstable feeling board.
Most commonly ZVF interference issues are noticeable when accelerating hard, at certain speeds (often 10-20mph) the nose will start going up and down unpredictably, often quite subtle but noticeable enough to be unsettling.
Other interference effects can be motor noise, especially when LEDs and noisy buck converters are involved. For example on the Thor300 and on the ADV1 interference with the LEDs is quite noticeable and adjusting your ZVF can help.
How to tune it?
Typically you want to stay between 25-35kHz
Start by going up and down in 0.5kHz increments to eliminate light interference noise at low speed.
From there tune in 0.1kHz increments to eliminate nose hunting issues when accelerating or braking hard.