VESC-Tool 6 release

VESC-Tool 6 just arrived. Check www.vesc-project.com and the Google Play Store. The iOS App should also be updated very soon.

Vedder and contributors have been working very hard over a very long period of time to get this fresh piece of software out before Christmas, so that you can properly play with your new toys found under the tree. VESC-Tool 6 has a ton of new and exiting features making your every day life a lot easier. I will try to give you an overview about the biggest steps forward and the most important new features.

Firmware Archive
First of all the new VESC-Tool features a firmware archive and can load pretty much any old FW you might want to test, compare or still use. We don’t recommend to use old FW but we have seen some demand for older FW support. The VESC-Tool 6 fully supports older Firmware installed on the devices, no need to run older versions, just load the old FW! VESC-Tool 6 also supports all older hardware. So if you still have some PCBs from the very first years of the VESC journey, feel free to update them.

Packages
The second major step is the integration of the PACKAGE Store.

Packages are software additions that can be placed onto your ESCs processor. If VESC-Tool finds a Package it will ask you to load the software. Packages can be anything, ranging from small feature additions to self balancing applications. Mitch Lustig converted his work (the self balance feature of VESC-Tool) into a Package for self balancing. Once loaded, VESC-Tool will add a user interface for self balance adjustments.

Packages can be coded and adjusted to your needs in QML and LISP format. You can also load C- code at runtime.

Packages allow two things:

a) They keep VESC-Tool a lot cleaner while allowing you to add the features and user interfaces you need for your application.

b) Packages can be developed independently from VESC-Tool and this speeds things up a lot. Package developers can now publish changes a lot faster and independent from Mr. Vedder.
This will speed up the progress on many things.

LISP BM
Big props to Joel Svenson for his work on LispBM, a super compact coding language based on LISP. This language allows developers to max out the STM processors storage and handling capabilities. VESC LispBM Progress and Demo - YouTube

Apart from pre-made VESC-Packages, you can also load your own scripts or scripts shared by the community. VESC-Tool also incorporates lots of example scripts you can tweak for your own needs.
Examples:

Run LED strip directly from the VESC motor controller.

Run display from UART port.

VESC-EXPRESS

The new VESC-Tool now supports the VESC-Express, a high speed WiFi connection device to your phone, tablet or desktop computer. Yes, also Windows and Apple!

The VESC-Express also allows for permanent logging including GPS/GNSS data.

User Interface
Apart from this the UI has seen major updates across the entire platform.
The connection page is much faster, finds devices automatically and speedy.
The start screen is structured a lot better with added wizards for many things – for example an IMU calibration wizard. The mobile app UI is now partially added to the desktop environment.

TCP Hub

There is now a TCP hub to connect to your device from a distance. You can create an ID and a password and share this information with someone else. The other person can sit on the other side of the planet and configure your hardware or look at your log files etc. This feature is very convenient to service boards for customers, help friends with their problems or monitor your devices form far away.

SilentHFI
Silent HFI or sHFI for short is a new method to generate 100% torque from stand still without the need for sensors. Works even without temp sensors. sHFI only works in combination with phase shunt and fully phase filtered hardware. It can track the rotor position down to 0.2 deg at zero RPM. The accuracy depends on the motor but for the typical 14 pole Outruner it is very accurate.

So basically we can do highly accurate position control without sensors now.

Improved Observers
The new VESC-Firmware features a lot better observers compared to older firmwares.

HFI improvements
The regular HFI is also a lot better now. This is highly beneficial for older hardware or hardware with low side shunts or hardware without phase filtering.

Encoder support
Quite a few new Encoders are now supported, including Sin-Cos-Encoders.

PT1000 temp sensor support
Vedder added the PT1000 sensors that seam to be quite common in some motor designs.

Pull requests
Integration of many pull requests, checking the code, correcting & recoding, integration into VESC-Tool.

Firmware and device support:
Support for all the new devices like the VESC6 EDU, VESC6 MKVI and VESC 6MKVI HP, VESC6/75, VESC 6/100, VESC75/300 MKIV, VESC- Express and many more.

The Firmware numbers now match the VESC-Tool revision number! So VESC-Tool 6 goes along with FW 6.

Workflow and contributions
Here you can see all the work that was put into the new tool. Most of the contributions are by Vedder himself but there have been quite a few pull requests in 2022 and it is getting more. A big thank to all people who involve themselves into the VESC-Tool code base and development in general.
That also includes feedback from the entire community.

Donations
Please consider a donation when downloading VESC-Tool 6! In order to push things further in the future, a healthy base of funding is vital for the project.

https://vesc-project.com/donations

24 Likes

Can you clarify which ESC’s might be compatible with this? I assume this means that no vesc 4.12 hardware would work with this

So, scenario here, I have a client build with olllld 4.12 vescs in it. It’s currently running HFI, that I tuned, and is “ok” it’s passable. If I were to plug it in here, update to the latest firmware, and use this new HFI, what kind of improvements might I see? Smoother starts? Better hill starting torque? Would smart reverse even be eligible to work properly?

All in all, this update looks reallly cool. Makes me excited to be a Vesc user and watch the platform continue to push forward

5 Likes

Nope, 4.12 has 2 low side shunts and will only support HFI. The VESC 6 products supports it, and the 75/300. I guess the 4.12 will now also work a lot better. Save your old settings and update and then compare. You can always go back now.

5 Likes

The bottom 4 modes are what’s being called “Silent HFI” as they are listed in the vesc tool.

They works differently than the old HFI or VSS.

For phase shunt designs
45 Deg V0V7 HFI (Silent)
Coupled V0V7 HFI (Silent)

For low side shunt designs
45 Deg V0 HFI
Coupled V0 HFI

Regarding controller compatibility:

image

I would encourage people to try these modes out on all controllers and report back. It shouldn’t hurt anything and it’s a simple setting change. For the most part it will either work or it won’t. The only recommended setting change I’ve seen is to ensure the HFI start voltage is set to about 50% of the battery voltage.

While it may work the best on hardware with phase shunts and phase filters, I have seen it work well on a vesc 4.12 on the bench, stalling the motor at 80A with no cogging.

For most of this year I’ve been riding with an older vesc 6 without phase filters using Silent HFI “45 Deg V0V7 HFI (Silent)” and it’s pretty amazing. I would even say it’s better than hall sensors on that controller.

In an acceleration test, I found that Silent HFI was the same performance or even slightly faster from a dead stop to top speed compared to hall sensors.

32 Likes

@jaykup I want to give you Franks job…thank you for that information!

14 Likes

@Trampa can you please comment on the differences between the 4 new versions of HFI, and what Trampa recommends for VESC with phase shunts (high side) vs battery shunts (low side)?

3 Likes

That’s a chapter on its own. I’ll try to open a new thread about the options very soon. The Silent options are predominantly for phase shunt + phase filtered units. They should also work with phase shunt units that don’t feature phase filters. The other HFI options work for all hardware types.

3 Likes

How are you supposed know what you have is a question worth asking too

1 Like

You ask @jaykup :rofl:

6 Likes

This is cool, looking forward to this new silent HFI, I have some motors that I never managed to get to work with HFI or VSS

1 Like

ESCs based on the VESC - The Citadel - Essential References for Esk8 - esk8.news: DIY Electric Skateboard Forums

5 Likes

Frick yeah, fiend on baby!

1 Like

what an anticlimax.

updated the app on android

connected to both boards and tried to upload new firmware

erase timed out on both boards.

one board is escapes trying to upgrade from 5.2
the other board is d75 trying to upgrade from 5.3

2 Likes

Ok so i got it onto the escapes. Tried about 7 or 8 times with the “upload all” button and just kept getting timeouts.

Tried a few times on the local esc and just got timeouts.

Wondered if i connected to the other esc via CAN if that would work… Boom! First shot.

Took a further 11 attempts to get it onto the local esc. But its on!

#justvescthings

5 Likes

I just tried all four of the “silent HFI” sensor options on Stormcore 60D+ with the new FW and it didn’t like any of them. On the “45 Deg V0V7 HFI (Silent)” one I also tried boosting the HFI start voltage and it didn’t seem to make any difference. HFI and VSS sensor options all worked fine as they did before (with chirping) as did hall sensors which I ended up going back to.

3 Likes


69.69. Nice

2 Likes

Font is different and small…

1 Like

Bluetooth can be painful for FW updates. That’s why we worked hard on the WiFi solution. The VESC Express handles that matter in seconds. That blue bar moves fast from left to right.

2 Likes

On both types of escs, it has uploaded to the slave esc first shot.

I’m over 20 attempts to get it onto the master side of the d75 and still no dice.

Keen to know if others are having similar issues or if it’s a combination of my phone/bluetooth/esc.

2 Likes

it doesn’t even get to uploading the firmware. it uploads the bootloader and then times out erasing the buffer.

it seems really strange to me that on both types of esc it has had zero issues uploading over CAN to the slave, but struggles enormously with the local esc.

doesn’t really help the vast majority of us using bluetooth.

3 Likes