switching loads with transistors - I'm going insane
Yanroy
Posts: 96
Hey,
It's been a little while since I been on this board, getting moved into my new apartment and all.· But now that I'm settled in, I've begun work on a new project.· I need to switch a 12V solenoid on and off (it draws 1A) with the output from a 74154 (1 to 16 decoder), which for some reason that is making me go insane is active-low, and I can't find any equivalent that is active-high.· So I've been trying to figure out which P-channel FET or PNP transistor would do this job for me.· I understand NPN transistors very well, and my knowledge of N-channel FETs is enough to get around, but these P-channel FETs are driving me crazy!· Everything I thought I knew is backwards... and of course, I can't find the good book I have on this subject, so I'm trying to go by this terrible, terrible textbook I had·a long time ago.· My logic circuitry is going to be running at 5V, I need to switch a 12V load at 1A, preferably without a relay in between... less complexity and expense.
If someone could recommend some specs for the device that would perform these functions (or even a part number, preferably one Jameco carries as I plan on placing a jameco order this afternoon), I'd be very, very grateful.· Thanks a lot.
It's been a little while since I been on this board, getting moved into my new apartment and all.· But now that I'm settled in, I've begun work on a new project.· I need to switch a 12V solenoid on and off (it draws 1A) with the output from a 74154 (1 to 16 decoder), which for some reason that is making me go insane is active-low, and I can't find any equivalent that is active-high.· So I've been trying to figure out which P-channel FET or PNP transistor would do this job for me.· I understand NPN transistors very well, and my knowledge of N-channel FETs is enough to get around, but these P-channel FETs are driving me crazy!· Everything I thought I knew is backwards... and of course, I can't find the good book I have on this subject, so I'm trying to go by this terrible, terrible textbook I had·a long time ago.· My logic circuitry is going to be running at 5V, I need to switch a 12V load at 1A, preferably without a relay in between... less complexity and expense.
If someone could recommend some specs for the device that would perform these functions (or even a part number, preferably one Jameco carries as I plan on placing a jameco order this afternoon), I'd be very, very grateful.· Thanks a lot.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester yet?
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken
Rafael
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don Buczynski
http://www.buczynski.com
I am curious, what voltage do you put on the bottom of the 4.7k resistor to turn off the load?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken
Looking at the datasheet...
http://www.datasheetcatalog.com/datasheets_pdf/T/I/P/1/TIP127.shtml
... the Hfe (DC gain) for this transistor is 1000
and the internal resistance across B-E in parallel with the 10K resistor in your schematic makes an equivalent resistor value of 4.48K ...· 1/[noparse][[/noparse](1/10K)+(1/8.12K)]=4.48K
When the I/O pin is HIGH you have a 7V potential (12V-5V=7V) across the 4.48K and 4.7K resistor or about .76mA of current [noparse][[/noparse]7V / (4.48K+4.7K) ] = .000762527 Amps
With an Hfe of 1000 the output or drive current across the C-E is going to be about 762mA (3/4 of an Amp)
When the I/O pin is LOW you have a 12V potential across the 4.48K and 4.7K resistor or about 1.31mA of current [noparse][[/noparse]12V / (4.48K+4.7K) ] = .001307189 Amps
With an Hfe of 1000 the output or drive current across the C-E is going to be about 1307mA (1.3 Amps)
·
It may be that this circuit "works" because 3/4 of an Amp in the "off" state is not quite enough to drive your solenoid, where as 1.3 Amps is plenty in the "on" state
to do so.· The current configuration might work, but much of the energy is wasted in the form of heat.· I would·go with a second transistor for the high-side
driver or·ideally·I would use an NPN or NMOS rather than a PNP or PMOS, this way you would avoid the·need to deal with the high-side voltage management.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I arrived at the 4.7k and 10k resistor values through experimentation and my trusty resistor substitution box. I'm sure the circuit could be improved as my solenoid duty cycle needs are very low. I have about 40 such circuits powered by a single 12 volt 1 amp supply with no adverse heating or current·leakage issues.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don Buczynski
http://www.buczynski.com
Post Edited (Don Buczynski) : 9/7/2005 8:31:38 PM GMT