Electronic – Power a 12V DC wifi-router using 6V relay as switch between two power sources

12vcapacitorpower supplyrelayswitches

I had build a circuit that can provide current to 12-V wifi-router from two different sources (wall-adapter & battery.)

A 6-V relay is used as switch, to supply power from one of the source at a time.

When wall adapter is on:
When Adopter is on

Problems with the Circuit:

1. As 6V relay is powered by 12V adapter, It gets hotter by the time passes(1 hour or more).

2. When primary power (wall adapter) goes off there is tiny-bit delay in supply the power to wifi router so it gets restarted.

What should I do to overcome these problems?

Q1. How do I step down from 12V to 6V, to power the relay.

Q2. What kind of capacitor be use for the short term power in delay time?

** Upgrade with capacitor & Relay **

  • I have added 2200µF 16V Capacitor with diode, before the Load to ensure power could be supplied for the 2-3~ seconds delay while switching between sources. unfortunately capacitor is powering the Relay instead of wifi-router. what should I do to ensure isolated current to wifi-router?

  • Replace the 6V relay with 12V relay.

enter image description here

Note: I am new to electronics that is why I make circuit as simple as possible. I know I had done some blunders in the circuit. Kindly guide me through.

Best Answer

The most common approaches to this kind of buffered (battery backed) power supply are as follows:

1) Use a power supply (adapter) that is capable of charging the battery, connect it directly to the battery and to the load. Some protection circuitry can be used to disconnect the battery when fully discharged in case of a long power outage. The power supply must have foldback current limiting - to be able to lower its voltage when its current limit is reached. Most adapters restart when overloaded (also known as hiccup mode), which is not suitable. The adapter's max voltage should be selected based on battery type - like 13.8V for a lead-acid battery or 12.3V for 3 Li-Ion in series. The current limit should be enough to supply the load, but not more than the battery's safe charging current. In your case with the WiFi router as a load a 1A limit will be OK with most batteries you could try to use.

schematic

simulate this circuit – Schematic created using CircuitLab

2) Use a power supply with a voltage a bit higher than battery's max voltage and connect them using diodes. This technique can be used in case of a non-rechargable battery. Diodes could be schottky to minimize voltage losses, like 1N5822. D1 could be ommited but the adapter would slightly discharge the battery in case of a power outage.

schematic

simulate this circuit