casainho
10 GW
- Joined
- Feb 14, 2011
- Messages
- 6,058
That battery bars cycling is normal and is a protection for when you power up the system and battery is over charged. This protection is needed other way the wheel would start running without you pushing the throttle and this would be dangerous!! This is protection is needed because of regen (direct drive motors). The firmware send to LCD the signal of battery charging and brake signal.geofft said:Had a bit of a disaster with my controller tonight (Master branch, throttle/pas mode). Just recently upgraded to CSD19506 mosfets and it's been running fine until I tried it tonight for the first time with a fully charged battery. Had immediate problems on power up in that the battery bars would climb 1-2-3-4 as normal, but then would immediately reset to zero bars and cycle 1-2-3-4 again and then repeat this ad infinitum. Whilst this cycling was happening the lcd3 brake indicator was activated and there was no response to throttle or pas input.
After a few power up attempts this seemed to stop happening and it powered up as normal but with the motor growling at standstill and sometimes jerking forward at power up. Then suddenly the battery trip switch popped out and a quick meter check showed I had shorted green phase mosfets.
I'm hoping this was just a bad mosfet in the process of breaking down, if so this is disappointing for supposedly high quality TI components from a good supplier.
I'm about to order some replacement CSD19506's, in the meantime I'd just thought I'd run this in front of you guys in case you think this may be a bug in the firmware, or anything else you think I ought to check.... :wink:
About the mosfets, well, it should be an hardware issue since my master branch works ok as you know.
If you want to discover/learn more, you can change the PWM dead time parameter on the firmware - since you changed the mosfets, who knows if that should be adapted for an higher value?? Or also try to enable and disable each mosfet high and low sides, up to found where is the short circuit.
Remember to keep brakes pressed at startup to avoid the short circuit and so being able to program or test.