Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Circuit breaker using microcontroller project

  1. Aug 5, 2017 #1
    So I am trying to make a circuit breaker using a microcontroller. I managed to get as far as this

    upload_2017-8-5_20-44-4.png

    So I have the CT with a peak detector running to the adc. I then calculate the rms by dividing by root 2, which I then compare with a reference in this case 10A and it trips via the mosfet/relay. So, I tested it and it works fine with overloading above 10A.

    I was wondering how to deal with short circuits and inrush currents ?, should I have a delay before tripping to allow for inrush current ?

    I also tested a short circuit and found that it tripped in 25 ms, how would I know if that is enough to damage the transformer ?, would I have to calculate how hot the winding's get ?
     
  2. jcsd
  3. Aug 5, 2017 #2

    jim hardy

    User Avatar
    Science Advisor
    Gold Member
    2016 Award

    Yes.

    Look up a circuit breaker catalog. Breakers have 'time to trip' curves depending on the type load they are designed to protect.
    Wires and motors don't need the fast protection that semiconductors do.

    You need to grasp the concept of I2t , a measure of the let-through energy.

    This is a not bad place to start: http://m.littelfuse.com/~/media/automotive/catalogs/littelfuse_fuseology.pdf
     
  4. Aug 6, 2017 #3
    I'd want to design this with as much fail-safe as I could. Consider making the relay normally open, so that the controller needs to actively keep it energized. And consider using pulses from the controller, so that if it got hung up, in either the high or low state, it would cut power.
     
  5. Aug 7, 2017 #4

    donpacino

    User Avatar
    Gold Member

    To add to what jim said...
    there are many types of breakers that work for different applications. There is no one breaker to rule them all.
    Some will allow for inrush current, others will not.

    That's pretty much it. If you can estimate the temperature coefficients around the winding you can get an idea of the heat rise based on the amount of energy discharged.
     
  6. Aug 8, 2017 #5

    ElectricRay

    User Avatar
    Gold Member

    Since youre using a uController maybe youre able to detect 2nd harmonics, if you could detect this u know it is inrush current as inrush currents generate a lot of 2nd harmonics.
     
  7. Aug 8, 2017 #6

    cnh1995

    User Avatar
    Homework Helper

    Did you increase the current (in steps) from 0 to 10A and the CB tripped as soon as the current exceeded 10A?

    The capacitor gets charged to the peak voltage detected by CT secondary and holds that voltage because it can't discharge through the diode.
    Suppose you have 2A current and the capacitor charges up to the corresponding peak value. If the current now drops to 1A, the capacitor will still hold the voltage corresponding to 2A and will show only that value. This means, instead of showing the true value of current at a particular instant, the program will display the value of the maximum current flowed till that instant.

    This won't be a problem if you don't want to display the value of the current and just want to trip the CB. If you want to auto-reclose the breaker (which is often (but not always) done in CBs) after it trips, this won't work.
    Plus, no matter how much delay you add in your program, the breaker will trip if inrush current flows.
     
    Last edited: Aug 8, 2017
  8. Aug 8, 2017 #7

    jim hardy

    User Avatar
    Science Advisor
    Gold Member
    2016 Award

    I tested a lot of circuit breakers. A nominal half cycle was fastest i could find.
    Part of that is arc suppression, if there's significant current the arc doesn't extinguish until sinewave zero crossing.
    Part is time for the mechanical parts to move. Their inertia does some averaging for you, mechanical analog computing if you will. One even had a flywheel to give inrush tolerance.

    So your decision to trip is based on an instantaneous measurement
    not on a true RMS calculation which involves an integration over time ?

    http://www.analog.com/en/analog-dialogue/raqs/raq-issue-54.html
    this ic may be no longer available but the datasheet is informative as a tutorial.
    http://www.analog.com/media/en/technical-documentation/data-sheets/AD636.pdf


    Nice catch @cnh1995 !
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Circuit breaker using microcontroller project
  1. Circuit Breaker (Replies: 1)

  2. Circuit breaker (Replies: 2)

Loading...