Two loads voltages

Hi guys! I hope that you can help me with this issue. I'm actually working on a project that has a 12V 5000mah battery and an ac plug. I want to use the battery as a power not the main source. I want to build an automatic switch that stops the voltage of the battery when the ac plug is connected to the wall and the battery to take over when it's unplug. I don't want to use relay because they consume too much power and also i dont want to use two diodes because the voltage across the battery is higher when the battery is fully charge. Thanks in advance for your feedback!

by samybee
April 21, 2017

I would suggest using power FETs as switches, one to connect the battery and one to connect the mains power supply. It may be a good ides to have an intermediate store such as a capacitor to provide the supply voltage during the short time it takes to sense the presence/absence of mains voltage and switch from/to battery, and a diode in series with the mains supply to decouple it for sensing. The detail design will depend on your exact requirements.

by mikerogerswsm
April 24, 2017

No Answers

No answers yet. Contribute your answer below!


Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.