I have a robot with external charging contacts and a docking station with exposed pads this robot has to drive into to start charging.
When trying to dock and charge I seem to get a lot GND bounce, which in turn corrupts the SPI communication. I assume this is due to arcing contacts:
I have already tried using a time-delayed relay to add a second or so of delay between the docking itself and the connection of the V+ and GND to the battery pins and an RC snubber. So far nothing has helped. What is the industry standard for dealing with this?
I do not know the component values by heart, but here's some necessary info: - 5τ of the RC on the transistor base is about 1 second - The voltage divider converts the Vsup to 12V for my Digital input.
Here's the schematic, please don't pay attention to the component values, I don't know them by heart:
simulate this circuit – Schematic created using CircuitLab
PS: I assume that the REAL best practice here would be to make the dock intelligent and let it detect when the bot is properly docked, this is something I wish to add in the future, but at this point it is not an option.