Code Monkey home page Code Monkey logo

powercontrolcircuit's Introduction

Soft Power Switch Circuit with Tunable Overcurrent Protection Cutoff

Demo video on YouTube
Assembled on breadboard Assembled on veroboard Demo video

This is a circuit for soft-switching a 5V DC input, with a configurable current limit cutoff, tested from around 10mA up to 1.2A.

This is useful because it protects your power supply, wiring, and components against adverse effects due to things like short circuiting, accidental reversed power polarity, placing components incorrectly or backwards in a circuit, or other component failure.

It's not a boost/buck converter or regulator, just a switch for an existing regulated DC input.

Operation

Press SW1 to turn the power on. The LED indicates that power is on. Press SW2 to turn the power off.

Use RV2 and RV3 to tune the range of currents that are selectable. See configuration guide for the tuning procedure.

Once tuned, RV1 selects the current limit. When more than this amount of current is drawn, the circuit automatically powers off.

Schematic

Bill of Materials

Ref Qty Spec Notes
Q1-2 2 IRF9540N P-channel power MOSFET - ideally low RDS(on) at VGS=-4.25V
Q3 1 2N3904 NPN BJT transistor
R1-5 5 10K Resistor
R6 1 ~0.1 ohm Power resistor, 1A continuous current, at least 1W recommended
R7-8 2 47K Resistor
RV1-2 2 3K Trim pots
RV3 1 10K Potentiometer
U1 1 LM385 Operational amplifier
C1 1 10u Capacitor to prevent accidental power-on (may not be necessary)

Exact component choices are not critical. With the above components, and 6x1ohm 250mW resistors in parallel for R6, at a continuous 1A load, the resistors get slightly warm to the touch and the MOSFET tabs measure 60C-70C, in open air with no heatsinks or active cooling.

The added output impedance appears to be approximately 0.75 ohms with these components, at a load current of 1A; lower currents lead to lower impedance. Choosing Q1-2 with lower RDS(on) at -4.25V or more will have the greatest effect on impedance.

Improvements

I'm considering the following:

  • Use a charge pump to lower the gate voltage to Q1-2, to improve impedance at high loads
  • Configure the op amp with feedback to amplify the voltage difference, in case it makes tuning the cutoff simpler
  • Add an optional linear regulator to guarantee output voltage at high loads

Other suggestions very welcome!

powercontrolcircuit's People

Contributors

gfoot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.