Pages: [1] 2   Go Down
Author Topic: easiest way of driving amplifying from 5v to 12v  (Read 4930 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What do you think would be the easiest, si plest way to turn a 5v signalinto a 12v signal? Im thinking either comparator with a 12 supply, or two npn transistors tho this doessnt seem as fast or energy effewcient
any other ways im not thinking of? It will basically be usedfor powering a mosfet so I need atleast 10-11 of my 12v supply, and its actually more important it turns off faster than it does on, so im thinking I may want to drive it low but idk which is best(btw its about 1000nc gate charge)
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8667
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

An open-collector output and a pull-up resistor should convert 5V signal to 12V.  You can use an NPN transistor (and base resistor) to change your output to an open-collector output.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not sure what you meant by "amplify", but if you meant linear amplification, a cheapo LM386 will do.

For digital, get a npn.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3942
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Depending on the MOSFET being used, what it's driving, and the rise/fall time requirements (how fast it turns on and off), it may be possible to drive it directly with the 5V signal. One example: https://www.sparkfun.com/products/10618
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Its a high voltge, high power type so definetly need 11 volts id say, what values would you use to achieve it? Because I want to drive it a little, but im not sure how strong a pull up down I an get without throwing off my gate voltage
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 92
Posts: 3942
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have a part number?
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Offline Offline
Edison Member
*
Karma: 64
Posts: 2450
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's pretty easy to use an NPN to switch the gate voltage.

See attached.


* NPN&mosfet.JPG (10.57 KB, 399x285 - viewed 255 times.)
Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Offline Offline
Edison Member
*
Karma: 64
Posts: 2450
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you need a "high-side" switch, and have an NPN and a PNP...

With a 2N3904 and a 2N3906, it's good for at least 100mA, where Vout dips to 11.8V
Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Im using this http://rohmfs.rohm.com/en/products/databook/datasheet/discrete/transistor/mosfet/r6010anx.pdf and that last circuit I guess would work but wouldn't the vout be 11.3ish? Since the. 7v drop of the transistor? But now alos what would I do drive it low? A pulldown would waste energy and steal from the gate voltage as well
Turning it on idk if it takes 1ms to fully turn on but turning off id like to make as fast as possible
basically it will be receiving the output from a 5v comparator deciding whether it is on or off, id like to drive the mosfet in one step if possible but with the smallest footprint
Logged

Offline Offline
Edison Member
*
Karma: 64
Posts: 2450
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

that last circuit I guess would work but wouldn't the vout be 11.3ish? Since the. 7v drop of the transistor? But now alos what would I do drive it low? A pulldown would waste energy and steal from the gate voltage as well
Turning it on idk if it takes 1ms to fully turn on but turning off id like to make as fast as possible
basically it will be receiving the output from a 5v comparator deciding whether it is on or off, id like to drive the mosfet in one step if possible but with the smallest footprint


There's no 0.7V drop because it's all about Vsat.  
As I stated, at 100mA, that gets up to 0.2V.  Drawing less current results even less Vsat.
It's a tested circuit!
The PNP opens and closes the path to +V (12V), so its output is +V (less Vsat) when it's on or it's "open circuit" when it's off.
It's pretty fast.  The MOSFET switch time will have more to do with your Gate pull-down (and Gate capacitance).
A high from the Arduino output turns the NPN on, which takes the PNP base low, turning the PNP on, and enabling the final output.

The first circuit is the "easiest".  Its only drawback is that it needs a high to the NPN to turn the FET off.
« Last Edit: October 06, 2012, 05:55:12 pm by Runaway Pancake » Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Its only drawback is that it needs an active HI to the NPN to turn the FET off.

If that's indeed a drawback, tie the 4.7k to 5v and put the arduino's otuput pin to the base of the npn. Turning arduino's pin as input turn on the npn. If you had pre-written a 0 to the pin, turning it into output turns off the npn.
Logged

Offline Offline
Edison Member
*
Karma: 64
Posts: 2450
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

basically it will be receiving the output from a 5v comparator deciding whether it is on or off, id like to drive the mosfet in one step if possible but with the smallest footprint

It's a comparator output, eh?
If it's one with an open-collector output then you won't need the NPN transistor/s.
Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Offline Offline
Edison Member
*
Karma: 5
Posts: 1730
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not an open collector output,
however now imthinking about it I may go with another comparator to drive it because the ttotal part count is lower(1vs5), and while im pretty good at smd soldering I don't think I can make 5 of anysize components fit where a smd comparator could,
anyone have any good suggestions for a comparator that can handle a 12v supply and also drive a mosfet (maybe directly?) Or another simpler circuit?
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2864
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Both the 3904 and 6 are good as switches to at least 50 Mhz... The Alpha cutoff is in excess of 150 MHz, I've used them as RF amplifiers in Commercial american business band radios (151 -159 MHz) with good success, A little noisy though at 150 MHz. I shouldn't think you will have any speed issues.

Bob
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8667
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

anyone have any good suggestions for a comparator that can handle a 12v supply and also drive a mosfet (maybe directly?) Or another simpler circuit?

Doesn't an op-amp with no feedback resistor act as a comparator?  The gain is high so if the + input is higher than the - input the output goes full high and vice-versa.  It shouldn't be hard to find a 6-pin op-amp package you can run at 12V.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1] 2   Go Up
Jump to: