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

Practical digital current regulator

  1. Nov 5, 2013 #1
    Consider a DC motor, being switched by a H bridge that is controlled by a PI current regulator.

    As long as the error (SetCurrent-Current) is positive everything is good. However, when this goes negative we have a problem as you couldn't set a negative duty cycle.

    How is this solved in practice? Using the other transistors to reverse the current?

    I tried using solely an I regulator which off course works kind of, but as expected performs very poor.

    Maybe it could be solved by ignoring the P part when we overshoot the setpoint?
     
  2. jcsd
  3. Nov 5, 2013 #2

    berkeman

    User Avatar

    Staff: Mentor

    What are you controlling? The motor's speed? That is usually done with PWM on the drive voltage. Is the motor intended to be uni-directional?
     
  4. Nov 5, 2013 #3

    Baluncore

    User Avatar
    Science Advisor

    MechatronO, as you point out, duty cycle can only range between zero and one.
    Anything below zero must clamp at zero.
    Anything above one must clamp at one.
     
  5. Nov 5, 2013 #4

    meBigGuy

    User Avatar
    Gold Member

    You either have to clamp the signal as Baluncore suggested, or condition the signal to remain in range, or redesign the system to allow reverse directions if that is what you need.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Practical digital current regulator
  1. Current regulation (Replies: 1)

Loading...