Author Topic: H-Bridge Circuit  (Read 9762 times)

0 Members and 1 Guest are viewing this topic.

Offline catman232Topic starter

  • Newbie
  • Posts: 5
H-Bridge Circuit
« on: July 31, 2013, 10:52:16 am »
Hey guys, I recently made this H-Bridge circuit in a simulator, and want to make sure there aren't any blatant issues before I invest in the parts. I had never seen an H-Bridge circuit until after I made this, so it deviates from most of the typical designs I have seen.



Basically, setting "In" to high will set Out1 high and Out2 low, and the opposite when it is set to low. Setting Enable to high will set both Out1 and Out2 to high and disable the motor. This design is quite different from the others I have seen, mostly by the fact it only has two inputs.

Again, it'd be awesome if you guys could point out any newbie mistakes I made, as this is one of my first circuits!
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19528
  • Country: gb
  • 0999
Re: H-Bridge Circuit
« Reply #1 on: July 31, 2013, 12:12:25 pm »
What's it for?

That design is only suitable for very low currents. You couldn't run a motor off it.
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: H-Bridge Circuit
« Reply #2 on: July 31, 2013, 12:13:05 pm »
Hmm. Different is right, that's for sure.
Technically it resembles a H-bridge but your point in this particular circuit escapes at least me. Since you have a relay with mechanical movement, the bridge is not suitable for pwm control. That leaves simple direction + enable. But for that much more efficient circuits exist. One such would consist of a DPDT relay where the common pins are connected to the motor and the NO/NC contacts to V+ and gnd in antiparallel. That way the motor changes direction as the relay switches. If you need enable, a simple power fet between the relay and gnd takes care of that. At the same time it makes pwm speed control possible. How about that?
Nothing sings like a kilovolt.
Dr W. Bishop
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5129
  • Country: nl
Re: H-Bridge Circuit
« Reply #3 on: July 31, 2013, 12:21:01 pm »
Also, the only function of R1 and R2 seems to be to drain the battery?
Keyboard error: Press F1 to continue.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7769
  • Country: de
  • A qualified hobbyist ;)
Re: H-Bridge Circuit
« Reply #4 on: July 31, 2013, 12:27:49 pm »
Nice! A H bridge which drains the battery in about 2h without running any load.  :palm:
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19528
  • Country: gb
  • 0999
Re: H-Bridge Circuit
« Reply #5 on: July 31, 2013, 01:30:17 pm »
It looks like he's been playing around with a simulator without fully understanding it.

Why not just use an H-bridge IC such as the L293NE or SN754410?
 

Offline vpjaseem

  • Newbie
  • Posts: 2
  • Country: 00
Re: H-Bridge Circuit
« Reply #6 on: July 31, 2013, 02:06:27 pm »
This circuit is 100% perfect and working.
I simulated it with Proteus 8

Here I'm attaching the simulation file (as .gif animation)

 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5129
  • Country: nl
Re: H-Bridge Circuit
« Reply #7 on: July 31, 2013, 02:11:32 pm »
This circuit is 100% perfect and working.

Working.... yes. Perfect... far from that.
Keyboard error: Press F1 to continue.
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: H-Bridge Circuit
« Reply #8 on: July 31, 2013, 02:24:04 pm »
This circuit is 100% perfect and working.
I simulated it with Proteus 8

Here I'm attaching the simulation file (as .gif animation)

^-^
You'll live & learn. Now would perhaps be a good time to learn that there is one small but vital difference in the world. That is, that in theory, theory and practice are the same thing, but in practice that is not the case.
Simulators are just simulators with all kinds of shortcomings. They never reflect the real world with perfect accuracy, so please disabuse yourself quickly from using the words 'simulation' and 'perfect' in the same sentence.

The original circuit works - kinda. But it is not one a skilled designer would come up with. For the reasons stated and others, not mentioned yet.
Nothing sings like a kilovolt.
Dr W. Bishop
 

Offline vpjaseem

  • Newbie
  • Posts: 2
  • Country: 00
Re: H-Bridge Circuit
« Reply #9 on: July 31, 2013, 02:32:09 pm »
At least we can expect the circuit will work in practice,
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19528
  • Country: gb
  • 0999
Re: H-Bridge Circuit
« Reply #10 on: July 31, 2013, 02:48:41 pm »
This circuit is 100% perfect and working.
I simulated it with Proteus 8

Here I'm attaching the simulation file (as .gif animation)
I rest my case.
 

Offline ignator

  • Regular Contributor
  • *
  • Posts: 206
  • Country: us
Re: H-Bridge Circuit
« Reply #11 on: July 31, 2013, 02:50:26 pm »
At least we can expect the circuit will work in practice,
This is not a H bridge. You can delete R3, R4, D1, D2, and short out D3, D4 (from your second drawing, nice animation). And your wasting power through R1, R2.  These 2 resistors require being replaced with switches for it to be a H Bridge, as Kremmen has indicated. H bridges have 4 switches. I've seen RF switches like you show, but they work by applying DC bias to the diodes.
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1352
  • Country: si
  • I like to measure things.
Re: H-Bridge Circuit
« Reply #12 on: July 31, 2013, 02:58:18 pm »
This circuit is 100% perfect and working.
Self-confidence is good, the excess of it is not. The sooner you realize this, the better.
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Offline RoadRunner

  • Frequent Contributor
  • **
  • Posts: 378
  • Country: de
Re: H-Bridge Circuit
« Reply #13 on: July 31, 2013, 04:11:11 pm »
this circuit is no good. why don't you use  L293 or if you wanted to build it with jelly bean parts make simple transistor based h-bridge .
 

Offline KTP

  • Frequent Contributor
  • **
  • Posts: 512
Re: H-Bridge Circuit
« Reply #14 on: July 31, 2013, 04:53:18 pm »
Actually a single switch or relay works but it has to be a double pole double throw.  Contacts won't last long though unless you add some components.
 

Offline catman232Topic starter

  • Newbie
  • Posts: 5
Re: H-Bridge Circuit
« Reply #15 on: July 31, 2013, 05:07:59 pm »
Haha,  thanks for the feedback guys. By perfect I meant the simulation gave me the numbers I wanted,  but now I see the faults in this.  Perfect wasn't really the right word to use,  sorry. On another note,  I don't want to use an ic because I want to learn how to design it myself.  Again,  thanks for the help! 
 

Offline KTP

  • Frequent Contributor
  • **
  • Posts: 512
Re: H-Bridge Circuit
« Reply #16 on: July 31, 2013, 05:14:52 pm »
It is fine to learn and I think educational to use discretes but you should probably start with transistors instead of diodes :-)

4 bjt or mosfets and a sprinkling of other parts and you can have a functional h-bridge, then start worrying about things like shoot-through and turn on/off times due to gate capacitance.
 

Offline catman232Topic starter

  • Newbie
  • Posts: 5
Re: H-Bridge Circuit
« Reply #17 on: July 31, 2013, 06:06:57 pm »
It is fine to learn and I think educational to use discretes but you should probably start with transistors instead of diodes :-)

4 bjt or mosfets and a sprinkling of other parts and you can have a functional h-bridge, then start worrying about things like shoot-through and turn on/off times due to gate capacitance.

Sounds great. I am going to take another crack at designing this, and I'll post here when I finish. I also might add that I am 14 and not exactly swimming in cash, so that's why I was relying on a simulator. Hopefully soon I'll be able to afford some more simple parts so I can start prototyping things in real life.

If you can believe it, I started learning how to program when I was 8, and only recently came across Electronics Engineering. Still unsure as to which one I should pursue in my career, but I've got plenty of time to decide.
« Last Edit: July 31, 2013, 06:09:54 pm by catman232 »
 

Offline ben_r_

  • Frequent Contributor
  • **
  • Posts: 419
  • Country: us
  • A Real Nowhere Man
Re: H-Bridge Circuit
« Reply #18 on: July 31, 2013, 10:07:10 pm »
Oh, man... Do yourself a favor and just use an IC. Soo much easier to deal with. Unless youre just doing this to learn and have fun, in which case have at it! And google some H bridge circuits.
If at first you don't succeed, redefine success!
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: H-Bridge Circuit
« Reply #19 on: July 31, 2013, 11:58:13 pm »
I think we're missing the point. He had a function that he needed that he came up with his own circuit to complete the function which is pretty cool.
The larger the government, the smaller the citizen.
 

Offline KTP

  • Frequent Contributor
  • **
  • Posts: 512
Re: H-Bridge Circuit
« Reply #20 on: August 01, 2013, 12:40:15 am »
I think we're missing the point. He had a function that he needed that he came up with his own circuit to complete the function which is pretty cool.

Well, sort of.  I mean it was an obfuscated and inefficient way of getting a desired effect.  It is ok to reinvent the wheel and can be a great learning experience, but there are reasons you would want to start with a round shape instead of square.  In other words, go for building an hbridge out of discrete components to learn how they work, but use transistors.
 

Offline ben_r_

  • Frequent Contributor
  • **
  • Posts: 419
  • Country: us
  • A Real Nowhere Man
Re: H-Bridge Circuit
« Reply #21 on: August 01, 2013, 02:43:55 am »
I think we're missing the point. He had a function that he needed that he came up with his own circuit to complete the function which is pretty cool.

Well, sort of.  I mean it was an obfuscated and inefficient way of getting a desired effect.  It is ok to reinvent the wheel and can be a great learning experience, but there are reasons you would want to start with a round shape instead of square.  In other words, go for building an hbridge out of discrete components to learn how they work, but use transistors.
Exactly. If the OP is doing it just to play and/or play, fine. But if he's doing it as part of a larger project why waste the time and effort and added cost? Just find a cheaper, easier and quicker to implement IC and move on to the more important things.
If at first you don't succeed, redefine success!
 

Offline jeffro

  • Newbie
  • Posts: 3
Re: H-Bridge Circuit
« Reply #22 on: August 02, 2013, 12:35:16 am »
I am a newbie ,compared to some of the more experienced guys here , I would like to say good effort , even more so that yr only 14.
My suggestion doesnt relate to the design ,thats all been covered , more about suppression of back EMF from any relay .Without a freewheel diode , a relay can induce some nasty spikes . Anyway once again good effort ,only way to learn.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf