VESC FW 5.x - Beta Testers wanted [SERIOUS]

This algorithm is pretty much another way of describing how HFI works. Instead of using sampling and injected square waves he modulates edge aligned PWM to inject frequency content and then filters the signals with some carefully designed analog filter stage. We achieve a similar result by injecting a frequency and then using digital filtering instead of analog.

To use ASS (hate this name) you need to have switchable filters on the phase voltage dividers. These will also give a better estimate of winding resistance measurements in some instances (probably) since it avoids the need for dead-time compensation to determine phase-voltage amplitude. Most vesc-based hardware currently doesn’t have these but they aren’t terribly difficult to implement in new hardware.

14 Likes

Just so people know, (cause i didn’t) FW5.02 is now officially released and available for download from the VESC tool.

According to Vedder the changes are:

  • Bidirectional current mode for VESC Remotes.
  • Motor temperature measurement fix on unity and stormcore.
  • IMU calibration improvements.
  • VESC Tool does not allow uploading firmware to all VESCs on the CAN-bus if they have different hardware versions.
  • Added LSM6DS3 IMU support.
  • Added MTPA support. See See: https://github.com/vedderb/bldc/pull/179
  • App PPM rework. See https://github.com/vedderb/bldc/pull/192
  • SWDPROG (blackmagic probe) improvements
  • App Balance updates. See https://github.com/vedderb/bldc/pull/193
  • Motor current now based on magnitude of both axes.
  • Initial VESC BMS support.
  • Hall sensor interpolation improvement.
  • Made hall sensor filter configurable.
  • Added locking time and ramp up time parameters to sensorless startup.
  • Initial VESC IO-board support.
  • Added hall sensor interpolation ERPM config option.
  • Use fast speed estimator for RPM limit.
  • Avoid accumulated rounding error when using PID position angle division.
  • Added UAVCAN raw throttle drive mode (current or duty cycle control).
  • Added MT6816 encoder support. See https://github.com/vedderb/bldc/pull/238
  • Added modulation-based D axis current controller gain scaling. Addresses https://github.com/vedderb/bldc/pull/220
  • Added PAS app. See: https://github.com/vedderb/bldc/pull/243
  • Added 100k CAN-baudrate.
  • Added 100k NTC temperature sensor support.

Not listed but other changes of interest are:

  • large rework to the duty cycle soft limit that was causing street-face in previous builds.
  • Added support for Stormcore 60D+ (with fixed second uart)
  • Added support for Cheap FOCer 2 (V1.0 only)
  • Added support for new NRF chips
  • Spelling fix’s by @b264 :wink:

If Anyone know of any changes missed then let me know and i will add them.

7 Likes

Only version 1.0

Legacy CheapFOCer2 hardware version 0.9 users can utilize variESC if they want support.

4 Likes

Is variESC project likely to also pull these new changes at some point?

4 Likes

No fix to traction control :disappointed_relieved:

1 Like

That’s the issue to fix ?

1 Like

2 Likes

@glyphiks Now that Trampa is selling 4WD board, hopefully they will experience it and have it fixed, sad that this has to happen for something dangerous to get attention

1 Like

One can only hope. It really is a significant issue.

1 Like

With no traction controls is unrideable right?

And maybe it is fixed, the PPM rewrite by @Pimousse may have done it, by making the command sent over CAN bus a %, no a current value

This may also solve the problem I had in the past that if the master belt was broken and you didn’t have traction control enable, you had no power on the slave side

1 Like

No i could ride fine with no traction control, although I did end up with a lot more mud in my face than I cared for.

I cannot test anything now anyway. The 4wd has moved on.

4 Likes

I didn’t address this issue in my rework. Sorry.
But it defo makes sense that TC can mess things up while braking.
Actually, I don’t like TC. Although it works great when everything’s fine, it has too many undesirable sides effects.

2 Likes

Is anyone able to update from android vesc tool?
Seems like it keeps uploading, restarting and showing the same version, and now since i updated from google play i don’t have the older apk anymore

I mean just by sending a % value, as I understood for some reason the current value sent to the slave was in part proportional to the current value of the master motor, this would cause the current to drop negatively (braking) on the slave loses traction

For me, even on 2WD TC is a must, or I eat sand due to one wheels spinning

So no need to set it to 85% anymore?

1 Like

in theory no.

5 Likes

when i try and download it nothing happens. the link is also barred.


Am i doing something wrong?

The FW has been released and thus is not a Beta anymore.

1 Like

Very well, but where do I download it from? I can’t find it on vesc tool website and I struggle to navigate on GitHub, so far haven’t spotted it :sweat_smile:

Do you have a File that you can share? Or link?

From the “VESC Tool” tab in that screenshot.

Then select “Add to cart” and checkout.

2 Likes