You are here

Sudden motor stop

3 posts / 0 new
Last post
dmcke5
Offline
Last seen: 3 years 10 months ago
Joined: 2018-08-15 13:30
Posts: 3
Sudden motor stop

Hi guys, I'm having a bit of a strange problem with my vesc. I've got it set up on a scooter with a D5035-125kv sensored motor (the hobbyking kit) using a twist grip throttle hooked up to the adc pin. I get what sounds like the motor loosing sync at high throttle input, but it only seems to happen over a certain speed as taking off from a stand still at wide open throttle I don't see the issue until I am about 75% of my maximum speed. If I return the throttle to zero and then open it again the motor starts up again like nothing happened. I'm not even close to the erpm or battery voltage limits so I don't think it's either of those. This has only happened since I bumped the motor current up to 60a (from 40). My max battery current is set to 30a currently but I'd like to be able to bring it up more but as I do the problem becomes more apparent. 

Any suggestions on how to trouble shoot this? I'm not really keen on trying to take my laptop for a ride to log any data/faults.... Can I get faults reported over UART? I have a little screen and arduino set up for information display but I haven't looked into fault logging yet so I'm not sure if it's possible.

Cheers, 

- Daniel 

 

anli
Offline
Last seen: 5 years 7 months ago
Joined: 2017-09-29 20:17
Posts: 5

Hi,

i do not have a concrete idea, but: Are the adc "min and max" values properly set and you do not leave the range? Is the throttle powered with 3.3 V from the VESC? do you also get this behavior without load (lift wheel and throttle up) then you can debug this way.

 

An other option is to get an esp8266 board e.g. wemos d1 mini and connect it to the vesc.

use it as a wifi bridge and show the error inside a website served by the esp. this way you can check online which error occours.

the other way is to store the errors on the SPIFFS and read them out later.

 

greetings,

anli

andreas
Offline
Last seen: 8 months 8 hours ago
Joined: 2018-08-09 21:48
Posts: 4

After riding, do not power down the Vesc, connect it with usb, start vesc tool, goto terminal and type "faults". Hope it works.