VESC-Tool 2.0 and Firmware 4.0 - The beginning of a new era - (SERIOUS)

Hall sensors with even just a first order speed estimator will offer better performance. The whole HFI thing is for when you either don’t have any sensors or your sensor connection is unreliable. I am just highly skeptical of Trampa’s claims. While it is impressive it can spin a motor at low and zero speed, I question whether this is either efficient or worth the additional software overhead with high inertia loads.

Just want to reiterate what I found here. My Haggy (maytech) 6374 has a phase resistance of 19.25mOhm.

The VESC 6 mk3 I purchased from TRAMPA reports a phase resistance of 15.88mOhm.
The Flipsky 6.6 ESC reports a phase resistance of 21.7mOhm.
My own power stage reports something between 18-19.8mOhm depending on which samples I average.

3 Likes

This estimate is definitely within margin from what I feel, will to try to do some more tests to pinpoint where the transition occurs, finding a hill, setting the current to be just enough to climb it and progressively lowering the speed

1 Like

Oh no, that sucks. Let us all know what you find.

2 Likes

Why are you making claims without testing first?

Hall sensors will give trapezoidal control performance. A first order estimator at low speeds will bring it pretty close to FOC, that’s pretty hard to beat with any sensorless algorithm, regardless of which it is. Hall sensors have hysteresis lag that make them impractical for use at higher speeds, but have little effect at low and very low speeds.

I have shown that the inductance measurement taken by the VESC is not accurate (RCL meter, Fluke brand, at school gives more than double the estimate, my power stage gives more than triple the estimate) so I have a difficult time believing it will beat sensors.

This is of course assuming a perfect hall sensor connection, if the connection is unreliable, then hall sensor performance will be questionable.

1 Like

Probably @rpasichnyk haven’t updated it yet to support, but given how fast he responde to issues should be up in a day or two

But good point, if I update my eBike the eSkateVESC will probably stop working and I won’t be able to monitor the changes :roll_eyes:

1 Like

I feel like an unwilling beta tester here. The vesc bluetooth tool basically forced me to upgrade. My profiles stopped functioning and it was telling me I had a limited connection, so I ran the firmware upgrade. Kicking myself now. Is there an easy way to roll back to 3.64 firmware?

4 Likes

Install the older app, and then go to the fw tab to flash it again :+1:

The older firmware are on app vers. 1.56bi think :blush:

2 Likes

If you took the time to actually examine the changes you’d note that this new algorithm is also now used for the inductance measurements because it’s more consistent than the previous measurement. However the accuracy isn’t even relevant to how the algorithm works because its based on the phase of the signal not the amplitude.

I’m still not sure why you are talking like you understand exactly how this is working when you haven’t taken the time to get informed.

11 Likes

I had the exact same issue before I rolled back to an older version on FSESC 6.6 (now RIP).

1 Like

I’d also say that claiming one inductance measurement is right and another is wrong is naive. The inductance is a linear parameter estimated from a non-linear system. Measured correctly at different amplitudes and frequencies will yield quite different values, all of which might be accurate locally.

5 Likes

its been almost 4 hours @Gamer43 and @Deodand yall are still going back and forth :rofl: :rofl:

4 Likes

I just can’t understand the blind bias. I’m not even claiming what we did is amazing but at least take a look at it? It’s actually a really cool method.

23 Likes

seems sweet, can’t wait to try it out.

3 Likes

The RCL meter tests at 1kHz at low amplitude, my power stage tested at 30kHz at 10A.
Unless there was something that changed, the VESC measures at 7kHz.
With a default switching switching frequency of 25kHz, I find it very difficult to believe the inductance can vary by that much between two close frequencies.

Most magnetic materials/inductors do not exhibit a behavior where it peaks at a low and high frequency, then suddenly drops low at an intermediate frequency. It may peak at an intermediate frequency.

Yes, I drove it with center-aligned PWM.

1 Like

uhh oh im in trouble again

Hey @Trampa VESC VESC VESC VESC

Edit: doesn’t say serious up top so trolls can roam free
@Deodand @Bvedder thank you for your continued innovation for this community in all sincerity

10 Likes

:arrow_up:
:arrow_up:
:arrow_up:
Balls of steel :grin:

6 Likes

These new saliency measurements show that on many motors the inductance can vary by as much as about 30% depending on rotor position alone. There’s also the nonlinear B-H curve of iron to consider where the permeability varies depending on magnetic field, so it just depends on how you want to measure.

Yeah Vedder had a really good concept around how he wanted to structure the whole algorithm but I think through our conversations we ended up with some really cool new ideas on how to extract and process the signal we wanted.

4 Likes

My measurements took that into account, I rotated the motor slowly with the RCL meter, the lowest inductance it ever reported was still over 50% higher than what the TRAMPA VESC measured on the newest 4.0 firmware. The RCL meter measures with low currents, I measured with high currents, so this was also at significantly different magnetization points of the material.
RCL meter reported line to line as low as 38uH and as high as 60uH throughout one electrical revolution, I calculated line-to-line inductance using two different measurement methods and both gave ~75uH line to line using center-aligned PWM.
Since the motor will be driven with center-aligned PWM at 30khz, it makes sense to measure the inductance using 30khz center-aligned PWM.

And there’s still the erroneous resistance measurement…

1 Like

The code is open source, contribute some cool new calibration routines to improve them if they aren’t performing to your standards. I’m sure everyone would be stoked.

14 Likes