Known bad firmware versions VESC/UNITY [ SERIOUS ]

Great thread! I have to check the FW versions runing on my VESCs!

I am a mod mate. I feel like this deserves it’s own thread though so that it doesn’t get lost

4 Likes

I think it’ll be helpfull for alot of people, also it’s just all about maintaining it and if it were to become stickied people would properly pay more attention to it and maintain it.

Ah, I didn’t see the leader tag so I figured you weren’t one :thinking:

1 Like

cool updated the list with that info. could use a link to more details if you have them.

1 Like

Is it 5.1 as well? that has the thermal reading instabilities causing people to trigger throttling and faults?
anyone got a link to solid info on that so I can add reference and add it to the list?

this is where I saw that:

wondering if the 4.0-4.2 claim is wrong of if the range includes 5.1

which versions had these bugs?

2 Likes

Why can’t it just be perfect?!?!?

Yes, 5.1 has an issue with the median filter on the motor temp sensors. @BenjaminF ran into this testing on mk3 VESC6 as well.

You can see the spikes on the log i posted there, faults towards the end.

Afaik this is fixed in 5.2 but I’ve not updated yet on my SC100S to test.

2 Likes

got a link to @BenjaminF’s coverage of the issue? or any best reference link about it?

2 Likes

Didn’t (trigger happy) VESC FW 5.0 have the reverse no brakes issue? Worthwhile immortalising that one IMO.

/edit Yes it was. The now infamous “PPM bug”.

2 Likes

I just looked through my post history. I had a discussion in the reply to pictures thread about it with someone else who was getting the same issue, but im not sure if I ever posted the metr log from that ride, so here it is.

The fault is right there at the end (ride was over because street face). As you can see, my motor temp reading looks like my heart monitor when I’m methed up on Adderall. I de-pinned my motor temp sensors from the sensor plug, and its all be dandy since then. Didnt feel like taking the “its fixed in the new FW” frank approach, as I prefer a devil that I know to one that I dont. And this was an easy fix.

Jesus i was going 32mph when I crashed. Fuck.

5 Likes

What’s the issues in 5.2 FW?

so @BenjaminF @DerelictRobot is this a problem with VESC not handling noisy input or is the vesc somehow making the input noisy? was the issue actually understood somewhere and claimed to be fixed in 5.2? any references to that?

because I had the same kind of problem (and crash) on firmware 3.65

https://forum.esk8.news/t/fault-code-over-temp-motor-feat-crash-at-47kph

but I had considered it a hardware issue?

I note @Deodand saying a fix was in 5.0 for a similar issue.

so… feeling a bit confused what versions to place this issue in. and also if it’s only an issue in combination noisy temperature sensors or something intrinsic to vesc firmware.

1 Like

@Venom121212 you are the most recent person I know of to run into issues with fw5.2 on Unity. That was something to do with max duty cycle?

There’s some uncertainty on what can cause a cutout of power from a fault vs triggering a throttle-down response.

In my case I didn’t get a cutout but I had the motor that was hotter spiking into the soft temp limit, causing it to throttle. It caused wobbles at just shy of 30mph but I carved out of them like a champion and then stuck a backflip dismount as I stopped to check my logs.

3 Likes

Yeah not temp related.

My issue was the motors oscillating back and forth at full remote throttle. I could be going full speed at 75% throttle but would start feeling insane speed wobbles start up if I pushed the remote throttle 1mm further.

The suggestion was to turn down the Max duty cycle limit start to 85% but that made my board feel like a mule reaching top speed.

No faults recorded after my crash.

Not sure? Not sure it matters? What I read is that the data-smoothing was removed from the temp value, which caused all the noisy data. If that noise jumps for even a second above the hard temp cutoff, then you’re eating street. I dont remember where I read that, I have had a bunch of conversations about this across several threads. Im pretty sure I read that in the FW4.x thread. Not certain though.

1 Like

Can confirm. I hit the same issues you did, mine just throttled at soft rather than cut out at hard.

It was a software filtering issue on the analog input for temp sensors. The fix for it is in 5.2, but given @Venom121212’s reports I’ve not personally tested my SC 100S yet.

1 Like

It sucks having to make tradeoffs and workarounds to make the best of a bunch of bad options for firmware.

2 Likes

In my experience in that thread the flakey temp reading definitely jumped in and out of throttling zone and you could feel it like a stuttering. when it jumped far enough to throw a fault you get the full fault cutout. you could see it in metr.

2 Likes