FAULT_DRV Trampa VESC6 MK4

@Trampa can you tell something about the displayed faults?
First it seems strange that both status/fault registers are triggered at once, and with them every single possible fault (is the OTW really at the same time as the OTSD? all possible faults happening together? or something wrong in the software/output/terminal?)

In the datasheet of the DRV8301 e.g. the OTSD is described as the Overtemperature Shutdown and the OTW as the overtemperature warning is this possibe due to insufficient cooling of DRV or due to not good soldering of the DRV GND pad in first place?

Also the fault typically happens only after some seconds of full speed at max current (like after 10-20secs) which also points more to the temperature thing than onto a saturation or tracking problem (which typically happen at low RPM high current) or real overcurrent (since the MCU abs overcurrent fault never kicks in).

What possible risks come with setting the OC_ADJ higher? From 16 to like 17 or 18, theoretically the OC flags should trigger then later or even disapear, right? How good are the chances of frying the VESC?

@Trampa: I lowered down the max. duty cycle to 90%. The DRV fault doesn’t occured that often then. But I also had an DRV fault @76% duty cycle. So that’s not really an approach.

Looking forward to your answers on @Giga s questions!

Did you do the measuring of the motor resistance a.s.o.? You could use the default VESC values instead of measured values, as it seems to run more stable there. Does the fault occur on FOC Mode as well? Try to set the motor max amp to 115 and absolute max Amp to 160 and see if the fault occurs again;-)

A.s.o.? Tried BLDC as well. What you mean by running with “default” settings?

The VESC default setting for the motor. just changing the amps limit and rest leave on default…

I raised the motor resistance about 1 mOhm. It seems to help a bit. With this modification @kotnascher could achieve to run a few seconds at full speed on my board. After that he nosedived heavily @36kmh.

So unfortunately it’s not fixed yet and it’s quite shitty to reproduce this fault… Do I need to send the VESC back to you?

metr

1mohm on 26.8 cold? that is not much (?)

this error must be really annoying at full speed for not saying dangerous

Do you have a 100kv Flipsky and it’s FOC detection values or anybody else?

Edit:

my values:

foc_superlefax

@Ackermann values: (Flipsky 100kv, Flipsky 200A VESC, no issues)

foc_jan

no it is yours, the one you posted on the top on the link, i don’t have the numbers for the 100kv in my head

you may do a “thurst” test and let the motor heat up and run detection again

1 Like

@Trampa
Did you have a look at the triggered faults?
I looked at the code and the registers of the DRV and was wondering why every single fault is displayed and noticed that the “D10- Fault”-fault is missing. Though also in the code it is masked out:

by the (r0 & 0x3FF) the D10 is masked out, since 3FF & 100 0000 0000 =0; so instead of 3ff it should be 7ff. Not sure if this is intentional or not (the fault-fault flag doesnt mean much anyway).

Also I am not so sure if the first fault register 0x00 is read correctly, since it is handled separately for the SPI-transfer:
int r0 = drv8301_read_reg(0);

Assuming the terminal reporting is correct: this means that the DRV thinks (or even registers) that there is a OC condition on all fets at the same time, over temp condition at the DRV and under voltage as well as over voltage (which rule each other out in my opinion).
Do you have an explanation for that?

I also rode the board and had the same behavior:

  • high motor current during startup, everything fine (even if you take your time and tease the motor for 30secs or longer);

  • flying is fine as well, no matter how long

  • only problem is full throttle/current when having speed (testet on the water; not flying);

So at high rpm and high current that means max power, only then and only after some time (~20secs), not right in the beginning, the DRV fault is triggered. And none of the other VESC faults (like the Abs_overcurrent).
In my opinion there shouldn’t be much difference between high motor current at start up and high motor current at max power for the ESC. Since only thing differently is the duty/rms phase voltage.
Maybe you got a good explanation for triggered fault?

1 Like

At start, max current is with about 80% dutycycle, foiling with max current, its 95% duty.

My guess: there is a secret build in chinacrapdetection :crazy_face: and the Vesc shuts off

It goes from 27.5 mohm to 28.3mohm. I would guess the warm motor has a temperature of about 35-40°C.

@Trampa: Your last response was 15days ago and I’m still waiting for your answers… I also wrote to your service mail but no one answered yet. The reason why I paid the high prices for a product like yours is also to have some support. Like you can imagine I’m quite disappointed about your service and I’m quite sure that something is wrong with your VESC. All other Vesc (Flipsky) working flawlessly with this motor at even higher currents.

I know you can do it better!

There is another strange behavier:

When I’m using the integrated Power switch pin and GND and press the NC switch once the VESC is going into fault. The fault is the same like the one we discussed about:

What is going on here?

I solved the problem with the help of @Giga!

Problem solved by miracle, or what did you change / where hast the problem been?

Guys, it’s not fair to go ahead and blame on any body. I know it must frustrating, Your job is to trouble shoot the setting, replace and try different alternative before blaming on someone. I think anyone has the same problem, must try first to swap out things like battery, motor, etc at the last resource…

Hi Justin,

I already tried almost everything. At the end of the day it was a Vesc setting to change:

Changing the switching frequency from 25khz to 15 kHz solved the DRV fault. Maybe the DRV was overheating and reducing the frequency helped it to don’t have a temperature shut down. No single failure now.

I wished that the support of the original product had told me this week’s before. It was quite tough to figure this out while crashing with full speed all the time…

3 Likes

Thanks for The information.
I also have one board with 100kv motor and vesc mk4 and was out running yesterday and was going to Do a max speed test.
It happened exactly The same thing for me, went totalt dead after around 10-15 second of full throttle after being out foiling for More than 30 min in cruising speed.
It was conpletely dead and I was worried that Another vesc had been burned. After i got a long swim into wharf so i could open The box and reset it, everyhing was working as normal and u could go in cruising speed back home.
When looking at The logs i can see i also got The drv fault.
I Will try and change my settings on The switching to 15khz instead of 25 kHz.
Did this solved your problem and it is working without any problem now?
I have a vesc 6 mk4 in my other board also with FR motor and never run into this problem with that combo.

I’m quite happy now that I’m not the only one :rofl:. Some DRV faults happens again but there was no need to reset it anymore. Also it doesn’t happen at full speed anymore. So the failure is almost fixed. I use my relais in the receiver board of my maytech remote to reset it over the air if I need to reset it in the water. Please give us feedback if it fixed the problem for you.
Unfortunately that was my last Trampa VESC6.

Cheers

I have changed my settings now to 15khz and planing to test tomorrow.
What Do you reset with your relays in The remote? Do you still need to reset some thing before ut works again?
I hope it is not as terrible as before when you have to unplug The battery cable to get it working again…
How often Do you get some faults nowdays?
Is it any other parameters you have changed? What motor current have you set now?

Cheers Jonas