# 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,

As described in its datasheet, its applications are:

The 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:

We 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:

In 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 !) :

Concrete realisation :

This circuit has been tested succesfully on octocopters (8 ESCs) , 6S batteries with APM, Pixhawk, Attopilot module.

Cheers,

Hugues

Views: 28732

MR60
Comment by Hugues on July 17, 2014 at 4:03am

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.

Comment by Julien Dubois on July 17, 2014 at 4:18am

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.

Comment by Jesus A on July 17, 2014 at 4:32am

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 great

Comment by Art on July 17, 2014 at 4:52am

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.

Comment by Julien Dubois on July 17, 2014 at 4:56am

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.

Comment by Jesus A on July 17, 2014 at 4:58am

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!

Comment by Julien Dubois on July 17, 2014 at 5:02am

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

Then I'll make some measurements first, thx!

Comment by Erik Groeneveld on July 17, 2014 at 7:01am

What is the Voltage drop over the BTS555 ?

Is this the usual 0.7 volt ?

Comment by Nick Arsov on July 17, 2014 at 7:19am

No, it is V-Power MOSFET. The Vdson depends on current . It's Rdson is between 2.5 and 4mOhms and depends on junction temperature. If you take roughly 0.003 Ohms Rds, you can calculate the voltage drop at different currents.

This device has many advantages - high current switch, overload protection, current limitation, but the main one is it's current source output which is proportional to load current of a ratio of about 28000-30000. Thus you can simply measure the load current.

Comment by Erik Groeneveld on July 17, 2014 at 7:34am

Thanks Nick !

That's making it way more interesting, as I had a look at these before....

So at an average of 25 Amps for me it wil be around 0.075V which is neclectable...

Switching the main power off quickly (switch on top of the drone) may have benifits over fiddling with the XT60 connector which is always out of reach (at the bottom) when you need it...

Comment

Join DIY Drones

1

2

3

4

5

6

7

8

9

10

## Groups

45 members

1472 members

282 members

470 members

• ### 3D Models

57 members

Season Two of the Trust Time Trial (T3) Contest
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here