• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • +1000 Circuits
  • Hobby Circuits
  • Basic Circuits
  • Learn Arduino
  • Logic IC Pinouts
  • Disclaimer
You are here: Home / Battery Chargers / How to Switch Two Batteries Manually using Opto Coupler

How to Switch Two Batteries Manually using Opto Coupler

Last Updated on March 13, 2019 by Swagatam 21 Comments

The following article explaining a dual battery changeover relay circuit was requested by Mr.Raja so that it could become possible to switch between his old and new inverter batteries automatically, eliminating manual interventions. Let's read it in details.

Technical Specifications

"I bought a new 12v 110 Ah lead acid battery for the dc home lighting system.

I had another  12v 110ah battery which is about 8year old. ( which is connected earlier in the same lighting system in my house itself) . But the old one has approximately 25ah capacity as i calculated.

But it is not sufficient to glow light for about 5 hours of night.(i.e. From 6pm to 11pm) So i want to use old and new Battery. But i can't join them in parallel, as old one may takes charge from new battery, which decrease the life of new one (as i think)

Therefore at present i am using a'Two-way' switch to switch on and off between old and new battery. Whenever lighting system controller shows red light, i.e. At about 11.5v, i manually operate the two way switch to switch on the new battery.

Now , please give me the circuit to switch on and off between two batteries in such a way that, initially lighting system operates with old bty and as the voltage of old bty decreases (below 11.5v) then only switch on to new one.. Thanking you" 

The Design

The designed idea of the proposed dual battery changeover circuit or rather old to new battery changeover circuit may be understood with the following points:

Referring to the circuit diagram we see a  IC 4017 which functions as a sequence toggler or switcher.

The IC will shift its output from pin#3 to pin#2 and then to pin#4 in response to every positive pulse at its input pin#14.

pin#4 of the IC has been connected to the reset pin#15 of the IC, means the moment the logic sequence reaches pin#4, the sequence gets reset back to pin#3 so that the cycle can repeat.

Here the input pulse is derived from the low battery warning indicator from the existing inverter system.

The LED light from the low battery warning has been integrated to an LDR using a light proof tubing.

Initially when the power is switched ON, the 1uF capacitor resets the IC so that the logic sequence initiates from pin#3.

The relay at this point remains connected with its N/C pole connecting the old battery positive with the inverter.

The inverter starts operating, draining the old battery

On reaching the low battery threshold, the inverter low battery LED illuminates which instantly lowers the enclosed LDR resistance supplying a positive pulse to the pin#14 of the IC.

The IC responds shifting the logic sequence from pin#3 to pin#2.

Since pin#2 of the IC is connected to the relay driver transistor, the relay immediately activates, switching the  new battery into action through its N/O contacts.

The new battery being fully charged toggles OFF the low battery indicator light, the IC goes into a standby position holding the situation intact.... until, the new battery also reaches a low-battery condition switching ON the LED and resetting the IC into its initial position.

The cycle then repeats producing the required automatic dual battery changeover actions.

 

SHARING IS CARING!



Previous: Making a Multi-function Water Level Controller Circuit
Next: Cell Phone Emergency Charger Pack using Ni-Cd Batteries

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

You'll also like:

  • 1.  High Current Solar Battery Charger Circuit – 25 Amps
  • 2.  PWM Solar Battery Charger Circuit
  • 3.  Sec Exciter Powered HV Capacitor Charger Circuit
  • 4.  Wireless Li-Ion Battery Charger Circuit
  • 5.  3v, 4.5v, 6v, 9v, 12v, 24v, Automatic Battery Charger Circuit with Indicator
  • 6.  NiMH Battery Charger Circuit

Please Subscribe (Only if you are Genuinely Interested in our Newsletters)


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Search Related Posts for Commenting

  2. Emitech electronics says

    Hi, I want an automatic changeover switch, which swithes automatically to inverter when there is no national grid. A 220-230v input and 50/60 hertz frequency and about 30amps output.
    Thanks sir

    Reply
    • Swagatam says

      Please search “changeover” in the search box, you will able to find the exact circuit you are looking for.

      Reply
  3. kaveripakam pavan kumar says

    i am doing a project to use wind turbines as chargers for electrical bikes/cars and also for homes with a two-way switch. Actually, my ideal project is using wind turbines to charge batteries while driving and the is full we can switch the battery with the two-way switch to use other battery who is already placed there and if we don’t need any charge to batteries wee can turn off wind turbines. Is it possible practically??? Can you help me in this..

    Reply
    • Swagatam says

      The concept cannot be feasible. If you use windmill on bike, it will create a lot of drag and consume extra battery power from the vehicle, more than the generated electricity from the windmill.

      Reply
  4. Solomon says

    Hi… Thanks for the info…. I have two 12v batteries say A and B to power a led lamp.. How do I build a circuit to cut off and isolate battery A it is low and connect battery B while is automatically charging?

    Reply
    • Swagatam says

      You can try the following concept:

      https://www.homemade-circuits.com/automatic-dual-battery-charger-with/

      Reply
  5. Shafial Rapley says

    I need a mofset that switches every 8 hours between 4 batteries

    Reply
  6. washington says

    Dear Swagatam,
    I enjoy and follow your well explained circuits which opens my brainstorming data bits.
    I have 2x24v dc battery banks which I use to alternate my hybrid inverter supply when I experience prolonged power outages. I manually changeover when a low alarm sounds (24.5vdc) to either bank depending on the last bank discharged. This manual changeover affords me a bump-less power transfer thus you do not see any dips in power. The low battery gets charged immediately .I need help to design a circuit using dc/dc SSRs (SSR-40DD FOTEK) for the changeover switch achieving the same or better and avoiding damage to the SSRs. The max load will be less than 30amps.

    Best Regards
    Washington David Masunga
    Harare . Zimbabwe

    Reply
    • Swag says

      Thanks Washington, appreciate your thoughts,

      Here’s one SSR concept which perhaps you can try for your mentioned application

      https://homemade-circuits.com/12v-dc-solid-state-relay-ssr-100-amps/

      let me know if it seems suitable..

      Reply
      • washington says

        Thanks Swag
        I greatly appreciate your quick response.I shall try the circuit during the week and send you feedback.
        Regards
        Washington

        Reply
        • Swag says

          Thanks Washington, please keep up the good work…

          Reply
        • SUMAN Naidu says

          Hi swagatam,

          Pls help me need automatic change over switch cutoff after full charging for 60v 24ah dual lithium battery pls share circuit diagram.

          Reply
          • Swagatam says

            Hi Suman,

            you can try the last circuit from the following article:

            https://www.homemade-circuits.com/automatic-dual-battery-charger-with/

            But the above is only the changeover section, for the charger you can refer to the following article:

            https://www.homemade-circuits.com/simplest-safest-li-ion-battery-charger/

            Reply
  7. Unknown says

    Sir what is it's applications..

    Reply
  8. sadique temitayo says

    Pls i tried this circuit out and notin happens my 4017 was jss static on output of pin3 pls i nid reply quick

    Reply
    • Swagatam says

      the LED needs to illuminate sharply or suddenly, if it illuminates slowly then the circuit might fail to respond

      Reply
  9. Sham says

    Hi Swagatam,
    I tried the ckt with 7 amps relay. But as the load increased, inverter shutdown. Looks like 7 amps was not sufficient to power the inverter. It was before reading your reply.
    My UPS, iam using it as inverter since iam not charging battery through Mains, is 600VA capacity.
    1. So to power this system my relay should be 600/12 = 50 or 60 amps right?
    2. Or as you said i have a battery of 125 ah, is it 125 ah relay? if yes, Then i think it will be expensive switching..

    Reply
    • Swagatam says

      Hi Sham,

      125 AH would be the maximum safe limit, which would ensure that even if the battery was discharged at the full AH rate, the relay would still hopefully not burn or fuse.

      However if you intend to use the battery at a normal 30 to 40amp rate in that case a 60 amp relay would be fine.

      Reply
  10. Sham says

    Hi Swagatam,
    Nice article. I am having the exact situation as explained above by Mr. Raja. I am trying this idea using MC. When voltage drops to 11.0v on load, i want to switch to new battery. my question is 1. What current rating of relay do i need to use? is it the sugar cube relay[ 7amp] or more?
    2. Do i need to connect the -ve of both relays together?
    3. Instead of relay can i use mosfet?( for efficiency and more battery time).
    4. if yes, which one? I am planning to connect the MC and switching ckt directly to battery terminal for powering the system, which may drain the battery eventually over a period of time.
    5. Like wise, i think i can use the same logic to charge the old battery first and next new one. So at what level should i stop charging the old battery before switching over to new one?
    6. Or how long should i wait (after reaching battery voltage 13.6v) before switching to next battery?
    Kindly help me in this. Awaiting your replay.

    Regards,
    Sham.

    Reply
    • Swagatam says

      Thank you Sham,

      Are your questions with reference to the above circuit? because I cannot see two relays in the diagram.

      Relay contact rating (amps) will need to be selected as per the battery AH rating, it can be same as the AH value of the battery.

      The battery charging can be stopped and toggled once it reaches the 14.3v mark.

      Reply
    • Swagatam says

      according to me the relay option is better and much safer than mosfets

      Reply



Primary Sidebar

Electronic Projects Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (51)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (94)
  • 741 IC Circuits (18)
  • Amplifiers (49)
  • Arduino Engineering Projects (82)
  • Audio Projects (85)
  • Battery Chargers (76)
  • Car and Motorcycle (88)
  • Datasheets (45)
  • Decorative Lighting (Diwali, Christmas) (32)
  • DIY LED Projects (82)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (100)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Games (2)
  • GSM Projects (9)
  • Health Related (17)
  • Heater Controllers (24)
  • Home Electrical Circuits (98)
  • Incubator Related (6)
  • Industrial Electronics (27)
  • Infrared (IR) (39)
  • Inverter Circuits (94)
  • Laser Projects (10)
  • LM317/LM338 (21)
  • LM3915 IC (24)
  • Meters and Testers (55)
  • Mini Projects (153)
  • Motor Controller (65)
  • MPPT (7)
  • Oscillator Circuits (15)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (65)
  • Radio Circuits (9)
  • Remote Control (46)
  • Security and Alarm (56)
  • Sensors and Detectors (116)
  • SG3525 IC (5)
  • Simple Circuits (72)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (51)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (39)
  • Ultrasonic Projects (12)
  • Water Level Controller (46)

Follow Homemade Circuits

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

Feeds

Post RSS
Comment RSS

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Privacy Policy
  • About Us
  • Contact
  • Disclaimer
  • Videos – Circuit Test Results

© 2021 · Swagatam Innovations