adjusting the F_SW and other attempts at silence

Discussions regarding the Field Oriented Control (FOC) implementation on the VESC.
Hummie
Posts: 109
Joined: 10 May 2016, 04:05

adjusting the F_SW and other attempts at silence

Postby Hummie » 13 Apr 2018, 06:40

are there any other settings that can be safely changed to make the motor quieter besides the F_SW? Whats the upper limit on the F_SW?

rew
Posts: 940
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.

Re: adjusting the F_SW and other attempts at silence

Postby rew » 15 Apr 2018, 06:25

When you move F_SW up, the amount of time spent in the "every F_SW" interrupt (ADC interrupt) goes up. Measurements of the "time left" indicate that about 50% of the time is still not spent in the interrupt. So you could double F_SW. But the occasional overrun is probably quite bad. So you want to keep a safe margin. The whine happens at 1/2 F_SW, so you'd need 40kHz, as opposed to the current default of 20kHz to make things silent.


Return to “FOC”

Who is online

Users browsing this forum: No registered users and 1 guest