You are here

Firmware 5.03

166 posts / 0 new
Last post
drdrs
Offline
Last seen: 1 day 8 hours ago
VESC Free
Joined: 2019-09-27 04:48
Posts: 22

I uploaded this and it reads beta 65 in the firmware tab. I was still able to get into this "whine mode". Output from foc_state below.

I have a j-link that I could get going, would it be useful to dump a section of memory?

Mod d: -0.00

Mod q: 0.00

Mod q flt: 0.00

Duty: 0.00

Vd: -0.00

Vq: 0.00

Phase: 0.72

V_alpha: 0.00

V_beta: 0.00

id: 0.00

iq: 0.00

id_filter: 0.00

iq_filter: 0.00

id_target: 0.00

iq_target: 0.00

i_abs: 0.00

i_abs_flt: 0.00

Obs_x1: -0.02

Obs_x2: 0.02

vd_int: -0.00

vq_int: 0.00

off_delay: 0.00

benjamin
Offline
Last seen: 12 hours 1 min ago
Joined: 2016-12-26 15:20
Posts: 461

Does it work to run reboot from the terminal menu, or do you have to power cycle?

TechAUmNu
Offline
Last seen: 1 day 13 hours ago
VESC Free
Joined: 2017-09-22 01:27
Posts: 564

Can you try with a slower time constant and setting f_sw to 30 kHz? I think 200 uS was at the limit of working for me at 25 kHz, 30 was a bit better.

I also noticed that the full brake button will not ramp down the current nearly as fast as commanding a negative current. That is because it uses duty cycle mode with a somewhat careful pi controller in addition that ramps the current down before limiting the duty cycle. You can try using the current brake button with the full current.

Ok tried with 1000us max I see is 21.8v now, and no weird things happen when I do full brake. Seems stable down to about 500us then it starts having the problem. 

drdrs
Offline
Last seen: 1 day 8 hours ago
VESC Free
Joined: 2019-09-27 04:48
Posts: 22

No resolution after selecting reboot from the terminal menu multiple times. (Is this command be silent? I don't see any messages indicating success.)

I've been able to provoke the issue with only throttle. It seems to be dependent on the battery current limit. With 100 amps motor 50 amps battery, I see the issue on the first aggressive throttle signal. With 100 amps motor 30 amps battery, I couldn't get the issue to show up after 4-5 throttle attempts. 

Here is a log as the controller enters the whine mode under throttle: https://gist.github.com/dsoto/7def65d6376c2d7fbf833ff1a2ad3f97

Edit: this should be replying to #153.

benjamin
Offline
Last seen: 12 hours 1 min ago
Joined: 2016-12-26 15:20
Posts: 461

Reboot is silent, but it should disconnect and reboot. You can try the uptime command in the terminal after to see if it was just reset.

If reboot does not work it sounds like a hardware issue to me. Not sure what it can be though, have never seen something like this. I also had a look at the log and can't tell what happened.

Has this been a problem before, ot did it start with one of the 5.3 firmwares?

drdrs
Offline
Last seen: 1 day 8 hours ago
VESC Free
Joined: 2019-09-27 04:48
Posts: 22

Yes, the reboot evidence points towards hardware. A hardware issue is also consistent with my observations that occasionally a quick power cycle didn't fix. 

I tried to downgrade to 5.2 to test and bricked the Raiden 7. This may remain a mystery for a while since Raiden 7 doesn't break out the SWD port and I don't have pogo pins and a fixture to use the internal pads.

I also have a Flipsky 7550 that I'd like to test, but that hardware isn't working with 5.3 yet even though it says it uses an unmodified 75_300 config file. 

I'll have an ENNOID unit in about a week, and I'll look closely for the issue again when I bring up that controller.

miklelv
Offline
Last seen: 1 month 3 weeks ago
VESC Free
Joined: 2021-10-01 17:53
Posts: 2

Good afternoon. Testing the weakening of the magnetic field. When this option is enabled, the engine continues to

turn the shaft even when the throttle stick is reset to zero. How to remove this delay ? Attached a photo.
FW current =30 a
FW start = 90%
FW ramp time = 0
Q Axis Current Factor = 2.0 %

benjamin
Offline
Last seen: 12 hours 1 min ago
Joined: 2016-12-26 15:20
Posts: 461

When running field weakening the motor must be driven with D-axis current until the speed goes below the field weakening region. Otherwise it can cause a very hard brake and possibly blow up the controller. If there is load on the motor this should become less noticeable.

miklelv
Offline
Last seen: 1 month 3 weeks ago
VESC Free
Joined: 2021-10-01 17:53
Posts: 2

Thanks, Вenjamin. I'll try cycling under load. It's still a strange situation, but can the exit from the field weakening mode still be made faster?

JackFarah
Offline
Last seen: 1 month 1 week ago
VESC Free
Joined: 2020-12-22 19:46
Posts: 1

How does one download the 5.03 beta firmware to test? The link on the first page does not work. I wanna use this firmware to test and see if it will let my UBOX V2 work with my 6354 motors. Currently on 5.02 under any harsh load the motor screams and locks up. But on the bench it spins up fine.

Markula
Offline
Last seen: 1 month 1 day ago
VESC FreeVESC Original
Joined: 2019-03-22 12:33
Posts: 23

If you are using Chrome, you have to copy the link in a new tab and then press enter, it starts download for some reason. 

Hans Karsten
Offline
Last seen: 1 month 1 week ago
VESC Free
Joined: 2021-02-05 09:22
Posts: 1

New VESC_TOOL V3.01 seems not to run, it complains for a OPENGL driver, try to run the .exe on win10 & win11:

 

SOLVED, installed new OpenGL driver

M8slicko
Offline
Last seen: 6 days 20 hours ago
VESC Original
Joined: 2020-03-03 05:50
Posts: 1

5min shutoff time didn't work (vesc stay to infinity on) on my vesc 6 mkiv when i set 10min or 30 min its ok.

Except that everything else work quite nice on both my vesc 6 mkiv and flipsky 6 mini dual.

VSS mode is really good improvement for me.

Thank for your hard work Benjamine!!!

 

Johnvoss
Johnvoss's picture
Offline
Last seen: 1 week 39 min ago
VESC Free
Joined: 2021-08-16 04:30
Posts: 8

Same good vibe,

Thank you Benjamin!

John

TZTZ
Offline
Last seen: 2 days 18 hours ago
VESC Free
Joined: 2020-03-12 20:13
Posts: 9

Hey, i got a message that my motor got saliency and it recommends checking out MTPA. And that info box says that it is only recommended if i know what i am doing. And that is where the problem starts, Could i get some help with that? or some tips

Pages