How-To avoid sparks when connecting battery


Description of the problem to solve:

When a high enough current switching (transition to/from an on/off state) occurs in an electrical circuit, an electrical arc will form between the two switching contact surfaces, in order to oppose (resist to) this circuit change in current. 

The more inductance and/or capacitance in the circuit, the bigger the electric spark will be. Capacitors can be viewed as current storage devices (with a full or empty status, like water reservoirs) : when connecting a battery on an emtpy capacitor (e.g. an ESC), the maximum amperage the battery can deliver will flow into the circuit in a very short time to fill the capacitors (until the capacitors are full), producing a spark in the meantime.

This phenomenon is thus more severe when there is more total capacitance in the circuit. This is an issue with multicopters that have lots of capacitors in their power circuit : minimum 4 ESCs (for quads) and up to 8 ESCs (for octocopters), each ESC having multiple big capacitors.

The phenomenon is also more severe when the battery has a higher voltage (4S-> 5S-> 6S), simply because a higher voltage makes it easier to ionise a thin layer of air between the two switching contacts, as required to produce a spark.

Why should we avoid sparks ? to avoid damage to UAV's battery connectors (gold plated contact areas are damaged by repeated sparks, the plastic of the connectors will be burned, etc). Some sensitive electrical circuits do not like short bursts of high currents. For example, from experience, an attopilot (voltage and current sensor) circuit has been damaged by repeated sparks using a 6S battery....

Solution to the problem:

The solution is theoritically simple : capacitors have to be charged slowly (e.g. with a small current) before connecting the full amperage power of a battery to the ESCs circuits.

Many previous blog posts on diydrones & rcgroups have mentioned various solutions. The one described below synthesizes how to use an interesting circuit : a BTS555 integrated circuit,

3689606613?profile=originalAs described in its datasheet, its applications are:

3689606490?profile=originalThe two last bullet points, in particular, are the ones that interest us the most.

This BTS555 IC summary is given in the following datasheet extract:

3689606584?profile=originalWe see from this datasheet table that a BTS555 will support a current load of 165 amps ! This is more than enough for a large multicopter. It operates up to 34V which is fine for up to 8S batteries.

From the datasheet we get the following pinout description:

3689606627?profile=original3689606653?profile=originalIn our application, only Pins 1, 2 and 5 will be used.

Pin 3 will not be used as it is replaced by the IC tab (for high current uses).

Pin 4 will not be used as we do not need to measure the current in our application (rather, a 3DR power module or an Attopilot would be used for that purpose)

How does this work ?

This BTS555 IC is connected between the battery leads and the power distribution board's leads. A small mechanical switch (for example a sliding switch. This switch interrupts a very small current, so no spark issue there) must be used to activate ON or OFF this circuit.

Here is the step by step process to power your multicopter using this circuit (assuming everything has been wired up as described below):

-Connect the BTS555 circuit to the power input leads of your power distibution board

-Ensure the activation switch is on its OFF position

-Connect the battery leads to the BTS555 circuit

-Activate the BTS555 circuit by flipping its switch to the ON position. Your mutlicopter receives now full power from the battery and the spark is avoided.

-If you use a double battery power feed on your drone, follow this same procedure when connecting a first battery. Then connect simply the second battery (no spark will be produced because all capacitors were loaded when the first battery was connected). You can then, optionally, remove the BTS555 circuit from the drone (to remove weight and to not depend on its reliability during flight. Simpler is better and more reliable)

How to wire everything up ?

As reliability is critical in flying multicopters, therefore to not depend on only one BTS555 circuit, the wiring scheme below uses two parallel BTS555 ICs...

The input and outputs of the overall circuit are XT90 connectors (safer than XT60 connectors for bigger multicopters). The elements (ICs, connectors) are soldered on a piece of PCB protoboard. XT90 connectors are soldered directly on each side of this PCB (more compact, no extra wires).

The wiring scheme is the following (for clarity, one side of the protoboard is used as a shared ground plane; the other side is the positive side divided in two zones: the top side where the IC tabs are soldered together and to the battery +Vin. Then the bottom side where pins 1,2 and 5 are soledred together and to the positive PDB output connector, but not to the TAB zone !) :

3689606645?profile=originalConcrete realisation :

3689606766?profile=originalThis circuit has been tested succesfully on octocopters (8 ESCs) , 6S batteries with APM, Pixhawk, Attopilot module.



E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones


  • What is the Voltage drop over the BTS555 ?

    Is this the usual 0.7 volt ?

  • Oh right, because they probably consumed more than the resistor let pass.

    Then I'll make some measurements first, thx!

  • Julien

    I remembered now!

    What happened was that the ESC capacitors didnt fully load (I have extra capacitors as ESCs are mounted under motor mount half a meter away from center plate) so when I connected the EC5 Main connector, I still had sparks!

  • Thanks Jesus for feedback.

    Of course if you want to power the FC with this, the resistor should be lower to minimize the voltage drop and allow enough power to go.

    But I use to connect the main plug or only USB when I want the FC to be running so there should not be any issue.

    This trick in my case would just be used to preload capacitors just before plugging main connector.

  • Capacitors can be viewed as current storage devices

    With statements like that I can only conclude that it is time to take that EL101 again.

  • Be careful Julien of the amount of voltage drop that the resistor will take

    I tried with higher (dont remember well, maybe 100ohm) resistor and smaller wattage and the ESCs did not work (of course without motors running, just power ESC to power Pixhawk)

    They stayed in a semi powered state because of the high voltage drop in the resistor (I guess)

    For me 10ohms is working really great3701785987?profile=original

  • Great solutions there, thanks for posting this Hugues and Oz!

    I would prefer Oz's solution because it's :

    - cheaper

    - safer, with no extra component in serial with the main power supply

    - better efficiency, with almost no heat dissipation (only when capacitors are firstly charged)

    I will try it for sure.

    Depending on the globale capacitor value (eg 5mF) and the time we allow them to be charged (the time to get the Power supply cable and plug it, eg 2s), I think we could increase the resistor value (eg: 60Ohm) and then lower its power rate.

  • MR60

    Yes there are cheaper and easier methods (such as a resistor in series); however there is another functionality advantage of the BTS555 approach to avoid sparks : it is a high amperage ON/OFF switch able to manage 165 amps currents (two times that with two BTS555 in parallel).

    I find an on/off switch very useful because it avoids connecting/disconnecting battery connectors each time you want to power OFF or ON. This is practical also when the batteries are positioned in a difficult to remove space on borad the drone. Very practical when developing, testing and tuning.

  • It is a good way to explore Hugues!

    Until now we are using 6S bats and we have a 10ohm 2W resistor in series with Attopilot Voltage&Current Sensor and a JST connector

    On the battery side we have another JST connector in parallel to the EC5 main connector

    It works really well but it is true that we have to solder along with the EC5 connector a JST for each battery!

  • LOL

    "sparks a connector debate"


    Having used them, and coming from an electronics background, I prefer and can see no reason why the simple resistor method is not the way to go.

This reply was deleted.