DIY H-bridge


Results 1 to 15 of 15

Thread: DIY H-bridge

  1. #1
    Registered
    Join Date
    Feb 2005
    Location
    Slovenia
    Posts
    23
    Downloads
    0
    Uploads
    0

    Default DIY H-bridge

    Hi

    I am trying to implement DC brush motor control by using Atmel microcontroler (providing PWM) and mosfets.
    Because microcontroler cant provide enought current for fast and full switching of mosfets, i am going to use mofset-driver to assure fast switchnig of mosfets.

    Here is my question:
    In H-bridge circuit, two (of four)mosfets have to be switched simultaneously, which could be a problem for DIY circuit, so could the same be achieved by PWM switching only one mosfet WHILE the other mosfet is permanently ON (at least while motor is turning in one direction)?
    Are there also comercially available H-bridges supposed to work that way(fast switching only one mosfet)?

    Similar Threads:


  2. #2
    Banned
    Join Date
    Sep 2005
    Location
    Sweden
    Posts
    229
    Downloads
    0
    Uploads
    0

    Default

    I'm have built a H-bridge for my induction heater! I will use 2 IR2104 Gate Drivers. Check out the pdf for the driver!

    Attached Thumbnails Attached Thumbnails DIY H-bridge-h1-jpg   DIY H-bridge-h2-jpg  


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    USA
    Posts
    442
    Downloads
    0
    Uploads
    0

    Default

    You only need to switch one to modulate the current. You probably don't want to switch the two lower or upper switches on together as this would cause a braking action.
    The circuit will need good freewheeling capacity to work correctly, however. You can't rely on body diode conduction unless the FET is specified for it.

    Aaron



  4. #4
    Member
    Join Date
    Aug 2006
    Location
    USA
    Posts
    2758
    Downloads
    0
    Uploads
    0

    Default

    Read the following article for the answer to your question.

    Attached Thumbnails Attached Thumbnails DIY H-bridge-stepper-motor-driver-considerations-pdf  


  5. #5
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default

    I have been playing around with a ir2111 half bridge driver to make a full bridge with 2. Have had good luck so far.

    sam



  6. #6
    Registered
    Join Date
    May 2006
    Location
    USA
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default

    Have you looked at the LMD18200 H-bridge from National Smiconductor?

    I designed a couple of them into a small motor contol project this summer, they were much easier for the manufacturing guys than discrete parts, and they worked great at reasonable power levels.



  7. #7
    Registered
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default

    Sam,

    I am looking to build a servo CNC gantry mill. Thinking of using the MESA card with EMC2 (EMC2 for sure)...
    I read that you got your H-Bridge circuit to work... Mind sharing the design?

    Eric



  8. #8
    Registered
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    85
    Downloads
    0
    Uploads
    0

    Default

    Pastera definitely has the right idea here.

    With an H bridge, two diagonal FETs need to be completely off. One FET needs to be permanently hard on, and the fourth FET PWM'd. That will give a variable speed in one direction.

    For braking just turn on EITHER both upper or both lower FETs. The inbuilt reverse diodes in the FETs will take care of the back EMF action.

    There is absolutely no need to PWM two FETs simultaneously.



  9. #9
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default

    Sorry - I overlooked this tread.
    http://www.electronicsam.com/images/...vostart/schem/
    http://www.electronicsam.com/images/...start/mess.JPG
    http://www.electronicsam.com/images/...art/almost.JPG

    lets call it revision .01 The componants where picked for their package size - not what was actually used.

    Here is the short list.

    FDH44N50 N - MOSFET transistors 500V / 44A for the power mosfets.
    RURG5060 Ultra Fast Diodes 600V 50A for the free wheeling diodes
    IR2111 for the half bridge driver.
    MUR120RLGOSCT-ND DIODE ULTRA FAST 1A 200V AXIAL for the boot strap.
    LM340T-15-ND 15volt regulator
    TLP2530-ND PHOTOCOUPLER DUAL 6N135 8-DIP
    .1uf caps and
    iirc 10uf electrolytics.
    The big cap is 1200uf I think at 350volts (I think)

    Couple things
    - when there isnt any pwm signal applied to the bridge - both lower mosfets are on. (braking)
    - I had a lot of help from a emc developer that does high power circuits for his real job.
    - there is no current limiting yet.
    - you should find lower Rds mosfets.
    - if your going to run higher than 100v you need higer voltage boot strap diodes.
    - this cannot have 100% duty cycle pwm signal other wise the boots strap doesn't get charged.
    - use at your own risk (of cource)
    - great care was made to have a short power circuit loop - to help get rid of stray inductance.

    sam
    Quote Originally Posted by ericdwilso View Post
    Sam,

    I am looking to build a servo CNC gantry mill. Thinking of using the MESA card with EMC2 (EMC2 for sure)...
    I read that you got your H-Bridge circuit to work... Mind sharing the design?

    Eric




  10. #10
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default

    Also - the mesa board right now does only pwm+dir and my bridge does pwm+pwm. (known as up/down) so you will need a few extra logic chips to turn the pwm+dir out of the mesa board to pwm+pwm.

    I think at some point they will have an up/down option on the mesa board - I keep mentioning it anyways.

    sam



  11. #11
    Registered
    Join Date
    Dec 2005
    Location
    USA
    Posts
    3319
    Downloads
    0
    Uploads
    0

    Default

    An H bridge involves a tiny bit more than simply turning on opposite diagonals. You MUST prevent a thing called "shoot through" from occurring.

    THis is where the same side of the bridge fets are simultaneously going thru enhancement/depletion mode and current "shoots through" to ground as if a dead short occurs.

    This is where and why proper fet drivers and interlock logic is CRITICAL to the function of an H bridge, ESPECAILLY, as you switch at higher and higher frequencies. Inductive spikes, too, become a real problem as you build and collapse the field in a motor, especially a stepper with a bridge.

    You can get by with some pretty simple stuff when you use an H bridge to run a motor at 50-60 hz (common R/C servos). However, start switching at 20-30khz and you start getting into some serious inductive and/or gate enhancement/depletion issues.

    Do some serious PWM'd H bridge driver investigations before you simply put some logic gates in front of some fets. We learned that lesson the expen$ive way.



  12. #12
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default

    that is why I went with the ir2111 - it does all that for me.

    taken from the datasheet....
    Floating channel designed for bootstrap operation
    Fully operational to +600V
    Tolerant to negative transient voltage
    dV/dt immune
    Gate drive supply range from 10 to 20V
    Undervoltage lockout for both channels
    CMOS Schmitt-triggered inputs with pull-down
    Matched propagation delay for both channels
    Internally set deadtime
    High side output in phase with input
    sam



  13. #13
    Registered
    Join Date
    Jul 2005
    Location
    USA
    Posts
    442
    Downloads
    0
    Uploads
    0

    Default

    Take a look at the IRS2004 - if you don't need the higher voltage (200 vs 600) or current (probably not). It's cheaper and has a shutdown pin.

    If you are driving a motor, you do not want to "brake" it without understanding exactly what will happen. Applying a braking function to a running motor will cause current to grow to extreme levels (BEMF/resistance) unless you monitor and control braking current. With the IR2111 there is no way to shut down the bridge, so you must switch back and forth between forward/reverse to average the current to zero. This produces heat for no work both in the motor and in the controler.

    The IRS2004 (and others) have a shutdown control that allows you to completely cut power to the load. The IRS2003 has independant high/low control with deadtime.

    Aaron



  14. #14
    Registered
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    85
    Downloads
    0
    Uploads
    0

    Default

    Sure, full braking will produce a massive surge current, just as applying full operating voltage to a stationary motor would. Neither is terribly good.

    But you can PWM the braking, just as you can PWM the acceleration.

    In a closed loop system with a lot of inertia, if there is no progressive braking the system is going to overshoot and be unstable. You need to be able to reduce forward power to zero, then progressively brake as the final position is reached. Rather like approaching a red light in your car.



  15. #15
    Member borkodj's Avatar
    Join Date
    Jan 2020
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default

    Hello.
    Samco can you explan further more about your H bridge. Is there any ringing on Vds? Overshoot? Is Vgs clean? How much current you pull from this bridge?



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

DIY H-bridge

DIY H-bridge