Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 16th April 2008, 01:43 PM   #1
Default BJT H-Bridge Design Help

hey guys:
Any transistor guns out there ??

i have been trying to design a h-bridge using BJT transistors to operate a DC motor at 48 volts. The control circuit is already finished. I am using/ well plan to use, a microcontroller with pulse width modulation to control the speed of the motor. But i cant get my H-bridge to work at all! in particular i have almost no idea in working out the Resistor values of my bridge.
I have posted a picture of the design. if anyone can step me through the design process it would be much appreciated.

Heres what i have done so fare. :
given that i want to run 48 volts to the motor but which to switch it on with a 5b high from the micro controller, i have chosen 4 darlington pairs! BDX54B and BDX54C, these npn and pnp transistors have a Vceo of 80 volts! so i know they are a good choice. furthermore they have a Hfe minimum value of 750.

for the Motor that we are running i calculated the Stall current to be 10 Amps. so from this i worked out that i need ten amps in the collector of the top left transistor (on the drawing) therefore i calculated R2 to be
(48-0.4-1.7)/R2=10ma (given the Ib Ic relationship) hence R2 to be 4.6k is this right ?? if not how do i calculate the resistor values throughout the circuitry to get it to work ??

the idea is to have four output pins of the microcontroller which sends 5v high (20mA) or a 0 and in that way engage forward and revers for the motor!!

the bottom transistors i'm using are BC109s though i think there not suitable given that only have a vceo of 45

can anyone help me ??
Attached Images
File Type: jpg hbridge.jpg (180.0 KB, 105 views)
Chuck Visedo is offline  
Old 16th April 2008, 02:09 PM   #2
Default

hi,
Have a look at this method.
http://home.cogeco.ca/~rpaisley4/HBridge.html

I would suggest that you cross link the drive transistors
ie: top left darlington with the bottom right darlington, likewise the top right and bottom left and electronically interlock the two motor drive paths so that they cannot be turned on at the same time.

In your present configuration an accidental condition could arise where the top right and bottom right darlingtons could be ON, causing a short the darlingtons. As could the other pair.!

The added advantage it requires only two PIC pins not 4.

Does this help.?
Google for BJT H Bridge circuits
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 16th April 2008, 02:58 PM   #3
Default

thanks for the link. I sort of get what your saying but i can eliminate that condition from the micro that supplies the 5v switching on voltage. but i'm more looking to understand how so set up the system. because obviously choosing random resistor values wont work and i'm getting lost i just cant get them to switch. SO i want to be able to theoretically prove that this design could work! thanks very much for the link though.

can anyone help me theoretically prove this ?? is there a way of modeling this on p spice ?
Chuck Visedo is offline  
Old 16th April 2008, 03:57 PM   #4
Default

hi chuck,
Look at this modified drawing, why do you think the 'green ringed' transistor is required.?

Does this help.?

Quote:
the idea is to have four output pins of the microcontroller which sends 5v high (20mA) or a 0 and in that way engage forward and revers for the motor!!
This is not a correct statement, the PIC can supply a current of upto 20mA into a load from the 5V ideal output.
So the minimum load resistor to 0Volts, on a pin should be <= 250R

EDITED:
Corrected the location of the right hand side 2N2222 text.
Attached Thumbnails
BJT H-Bridge Design Help-hb1a.gif  
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 12:23 PM.
ericgibbs is offline  
Old 17th April 2008, 09:40 AM   #5
Default

thanks for the help:

I though i would need another switching transistor to turn the NPN in the green ring on, at the same time that i turn the top right hand corner on ?
the 2n2222 npn will that be strong enough ? it says that the Vceo is only 30, now I'm using 48V so i think i wont lose 18 volts in my system so the voltage could blow this transistor ?

also how can the Collector current of the 2n2222 be the same as the base current at R3, from the micro controller?

the green ring
i thought i needed to switch on the darlington NPN in order to get hte system to work ?? like send a signal from themicro to pin one and pin 4 ?? is that wrong ?
Chuck Visedo is offline  
Old 17th April 2008, 10:09 AM   #6
Default

Quote:
Originally Posted by Chuck Visedo
thanks for the help:

I though i would need another switching transistor to turn the NPN in the green ring on, at the same time that i turn the top right hand corner on ?
the 2n2222 npn will that be strong enough ? it says that the Vceo is only 30, now I'm using 48V so i think i wont lose 18 volts in my system so the voltage could blow this transistor ?
Look at the ZTX [651 or 653] series of medium power transistors.

also how can the Collector current of the 2n2222 be the same as the base current at R3, from the micro controller?
They are not the same, R11 with the BC109 emitter follower is 190R and R11 is 220R direct from the PIC..

the green ring
i thought i needed to switch on the darlington NPN in order to get hte system to work ?? like send a signal from themicro to pin one and pin 4 ?? is that wrong ?
The darlington only requires about 15mA, this will switch ON the darlington, the PIC can output 20mA.
hi,
Do you follow the rest of the explanation.OK.?
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 21st April 2008, 07:21 AM   #7
Default

eric:
thanks for your help, i'm still trying to get this Bridge working though. testimony to the fact that i am still lost when it comes to BjTs

to clarify something , the green ring shown on the bottom right hand side, a modification you showed. The reason i was using two transistors, the Darlington and the switching transsitor was because i was worried that the full 48 volts would interfere with the Micro (pic) and blow the pic ? is this right ? because i see you have connected the Micro directly to the Darlington?
and one i have one side working (because im bread boarding it tonight) is it safe to assume that the inverse condition will have the same resistor values right..? cheers eric
Chuck Visedo is offline  
Old 21st April 2008, 07:38 AM   #8
Default

Quote:
Originally Posted by Chuck Visedo
eric:
to clarify something , the green ring shown on the bottom right hand side, a modification you showed.
The reason i was using two transistors, the Darlington and the switching transsitor was because i was worried that the full 48 volts would interfere with the Micro (pic) and blow the pic ? is this right ?
The PIC pin never 'sees' the 48V's on the BJT collector.
The forward Base to emitter voltage drop across a single transistor is only 0.7V, for a Darlington its about 1.4V.

because i see you have connected the Micro directly to the Darlington?
Via that base to PIC pin resistor.!
and one i have one side working (because im bread boarding it tonight) is it safe to assume that the inverse condition will have the same resistor values right..?
Thats correct, I have only shown one diagonal of the HBridge, they are identical.
cheers eric
Hi,
I hope this explains it OK, if not please ask.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 21st April 2008, 08:04 AM   #9
Default Progress thanks to Eric !

here are some questions attached to the diagram.

also should i think about modeling this on pspice first to see if it works ? is that possible ?

and, can i control forward and reverse by sending highs to pins 1 and 4, and 2 and 3 respectively? thats the idea right ?
Attached Thumbnails
BJT H-Bridge Design Help-questions.gif  
Chuck Visedo is offline  
Old 21st April 2008, 08:12 AM   #10
Default

Quote:
Originally Posted by Chuck Visedo
here are some questions attached to the diagram.

also should i think about modeling this on pspice first to see if it works ? is that possible ?
I dont use Pspice, I'm sure someone will tell you.

and, can i control forward and reverse by sending highs to pins 1 and 4, and 2 and 3 respectively? thats the idea right ?

You have to switch ON the top left and bottom right at the same time for one direction and the top right and bottom left for the other direction.
NEVER both diagonal BJT pairs at the same time or you blow the BJTs

hi,
Do you follow.
I did say earlier you should electronically interlock the BJT's so that the incorrect paths thru the BJT's cannot happen..

EDIT: R6 and R12 should be about 4K7 to 10K.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 21st April 2008 at 08:32 AM.
ericgibbs is offline  
Old 21st April 2008, 09:16 AM   #11
Default

ok great.
do i need that extra transistor? in the ring ? or should i hook it up straight to the micro ?
Chuck Visedo is offline  
Old 21st April 2008, 09:22 AM   #12
Default

Quote:
Originally Posted by Chuck Visedo
ok great.
do i need that extra transistor? in the ring ? or should i hook it up straight to the micro ?
No,,,, Yes

via the base resistor.
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 24th April 2008, 04:10 AM   #13
Default GOT it working!

thanks very much for your help ERIC!

I changed the design significantly! modifying the power supply to 36 volts,
i will post the complete design with calculations soon! But it works perfectly! even with the PWM!
Chuck Visedo is offline  
Old 24th April 2008, 07:31 AM   #14
Default

Quote:
Originally Posted by Chuck Visedo
thanks very much for your help ERIC!

I changed the design significantly! modifying the power supply to 36 volts,
i will post the complete design with calculations soon! But it works perfectly! even with the PWM!
Excellent, look forward to your project posting...

Are you going to join in the forum competition..
__________________
Eric " Good enough is Perfect "
I will NOT answer PM's requesting technical help, please use the Forum
PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 19th February 2009, 12:52 AM   #15
Default

great discussion,
though that guy doesn't post the final design~
tonyke is offline  
Reply

Tags
bjt, design, hbridge

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
MP Lab Program Help bamafan54 Micro Controllers 5 7th January 2009 03:16 PM
help understanding this hbridge design.... jaydag71 Electronic Projects Design/Ideas/Reviews 2 5th June 2007 11:37 PM
H Bridge... Design, Discussion. Ayne Micro Controllers 5 18th February 2007 11:41 PM
first electronic design thing (bridge rectifier) infested_ysy Electronic Projects Design/Ideas/Reviews 1 13th September 2006 05:00 AM
does anyone have an idea about the design of an wien bridge? tyal26 Electronic Projects Design/Ideas/Reviews 2 8th May 2004 02:47 AM



All times are GMT. The time now is 10:33 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker