I find it most easy using pull-up resistors and bjt's, mosfet works as well. For TTL's be aware that many of the old circuits have open collector output and input will be regarded as high if not connected (not recommended).
What is the amplitude of the input signal?
Where do you want the trip point to be? ~Half of the input amplitude?
How much delay can you tolerate?
Does the delay from rising edge of input to falling output have to be the same as going the other way?
What does the output have to drive? Source current same as Sink current?
What is the power supply voltage used on the output side?
Are you simultaneously require level shifting from input to output?
What is the amplitude of the input signal? depends on application, but mostly 12V
Where do you want the trip point to be? ~Half of the input amplitude? it's square wave, so halfway surely would do
How much delay can you tolerate? does not matter, frequency <200Hz
Does the delay from rising edge of input to falling output have to be the same as going the other way? does not matter
What does the output have to drive? Source current same as Sink current? source = sink, impedance about 100Ohm
What is the power supply voltage used on the output side? 12V
Are you simultaneously require level shifting from input to output? I do not understand?
I find it most easy using pull-up resistors and bjt's, mosfet works as well. For TTL's be aware that many of the old circuits have open collector output and input will be regarded as high if not connected (not recommended).
About your current sink, current source requirement? Do you mean you want a single circuit that can both source 12V/100Ω = 120ma and sink 120mA. Or do you mean that sometimes you would like to source 120mA into a grounded load (using circuit A) and other times you would like the circuit to sink 120mA from a load returned to +12V, and you would be willing to change (to circuit B) depending on the nature of the load?
Hardly puts the trip point halfway between 0V and 12V so has crummy noise immunity. With an NPN, it starts turning on at about 1V unless you create a two resistor voltage divider. Same with an NFET except that it begins to turn on at Vth and the resistors can have higher resistance...
If you turn it upside down and use PNP or PFET, the thresholds move to ~11V and (12-Vth) respectively.
Hardly puts the trip point halfway between 0V and 12V so has crummy noise immunity. With an NPN, it starts turning on at about 1V unless you create a two resistor voltage divider. Same with an NFET except that it begins to turn on at Vth and the resistors can have higher resistance...
To invert a 12 V signal and produce another 12 V signal, you will get more consistant performance with a BJT and a zener diode than with a MOSFET, meaning a more predictable trip point with less drift due to temperature changes and better repeatability from one component to another.
To invert a 12 V signal and produce another 12 V signal, you will get more consistant performance with a BJT and a zener diode than with a MOSFET, meaning a more predictable trip point with less drift due to temperature changes and better repeatability from one component to another.
To invert a 12 V signal and produce another 12 V signal, you will get more consistant performance with a BJT and a zener diode than with a MOSFET, meaning a more predictable trip point with less drift due to temperature changes and better repeatability from one component to another.
I wonder how that compares to a MOSFET or BJT totem pole. where the N-device is on the high-side and P-device is on the low-side.
EDIT: Wait, NVM, that doesn't invert the signal. Having the N-device on the low-side and P-device on the high-side would...but then there's some risk of shootthrough-like behaviour if the devices aren't matched properly.
About your current sink, current source requirement? Do you mean you want a single circuit that can both source 12V/100Ω = 120ma and sink 120mA. Or do you mean that sometimes you would like to source 120mA into a grounded load (using circuit A) and other times you would like the circuit to sink 120mA from a load returned to +12V, and you would be willing to change (to circuit B) depending on the nature of the load?