On Fri, 24 Aug 2012 05:46:16 -0500, John Fields
I think he can handle that difference. 5 volt logic is getting pretty
rare these days!
with R2 in the emitter of
>the NPN, makes it impossible for its collector to get to his requested
>19V.
Why impossible? This circuit allows any desired drop across R1, up
until the NPN saturates. With a 24 volt supply, 5 or maybe 10 volts
across R1 is easy.
The nice thing about this topology, besides the simplicity, is that
the NPN is a constant current sink, so the drive to the upper pnp/pfet
is independent of changes in the +24 supply.
To flip the control polarity, just do this:
>>> PNP or PFET
>>>24VDC>-----+--E B C-+
>>> | | |
>>> [R1] | |
>>> | | |
>>> +----+ |
>>> | |
>>> | [LOAD]
>>> | |
>>> C |
>>>uP--------B NPN |
>>> E |
>>> | |
>>> R2 |
>>> | |
>> gnd gnd
>>
The R1/R2 math is the same, but the uP port can be wimpier, since it
doesn't have to sink the drive up into R1.
--
John Larkin Highland Technology, Inc
jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com
Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser drivers and controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro acquisition and simulation