zener diode

crutschow

Joined Mar 14, 2008
38,504
About +-20%
So ±100mV.
That's doable with a discrete circuit.

Below is the LTspice sim of a simple comparator using two PNP transistors in a differential pair, along with an NPN output driver.
PNP's are used, since they allow operation with an input voltage down to 0V with a single positive supply.

The U1 pot allows adjustment of the trigger point (Ref) voltage to 0.5V from the 5.2V supply with over a ±200mV adjustment range.

The sim shows the MOSFET gate voltage (yellow trace) going high and powering the load (red trace) when the input (green trace) reaches 497mv, with a pot setting of 50% (0.5).

Is that what you want?

1715020219833.png
 
Last edited:

Thread Starter

hhsting

Joined Apr 25, 2024
395
So ±100mV.
That's doable with a discrete circuit.

Below is the LTspice sim of a simple comparator using two PNP transistors in a differential pair, along with an NPN output driver.
PNP's are used, since they allow operation with an input voltage down to 0V with a single positive supply.

The U1 pot allows adjustment of the trigger point (Ref) voltage to 0.5V from the 5.2V supply with over a ±200mV adjustment range.

The sim shows the MOSFET gate voltage (yellow trace) going high and powering the load (red trace) when the input (green trace) reaches 497mv, with a pot setting of 50% (0.5).

Is that what you want?

View attachment 321775
I dont understand the circuit. How does the differential work?
 
I don’t know about less component solution.
Maybe those we deal with zener at beginning, but negative control voltage is needed as you can see.

Circuit in post #22:
A 10k resistor needs to be supplied from constant voltage (5.2V in your case), otherwise the comparator will not be presice.
You can use a zener for this if 5.2V source is not stable.

There is also a trick to replace 220 ohm with schottky like BAT46. In that case the supply for 10k doesn’t have to be stable. But the comparator voltage will be about 0.4V (0.6V-0.2V).
 

Thread Starter

hhsting

Joined Apr 25, 2024
395
I don’t know about less component solution.
Maybe those we deal with zener at beginning, but negative control voltage is needed as you can see.

Circuit in post #22:
A 10k resistor needs to be supplied from constant voltage (5.2V in your case), otherwise the comparator will not be presice.
You can use a zener for this if 5.2V source is not stable.

There is also a trick to replace 220 ohm with schottky like BAT46. In that case the supply for 10k doesn’t have to be stable. But the comparator voltage will be about 0.4V (0.6V-0.2V).
Can you go in explanation about replacing 220 ohms with schottky BAT46? How does that produce be stable and comparator be 0.4V (0.6V to 0.2V)?
 

crutschow

Joined Mar 14, 2008
38,504
I dont understand the circuit. How does the differential work?
Look up transistor differential pair.

The base trigger voltage of the PNP transistor is determined by REF voltage, giving an emitter reference voltage of about 0.7V + V_REF.
When the input voltage is below the REF voltage, Q1 is conducting, since it's base voltage is below the emitter reference voltage, which turns Q5 on, giving a low voltage to M1's gate, so it is off.

When the input voltage goes above the REF voltage, then Q1 turns off, since it's base voltage is now higher than its emitter reverence voltage, which also turns off Q3, causing M1's voltage to go high, turning it on.

Make sense?
 
Last edited:

Thread Starter

hhsting

Joined Apr 25, 2024
395
I don’t know about less component solution.
Maybe those we deal with zener at beginning, but negative control voltage is needed as you can see.

Circuit in post #22:
A 10k resistor needs to be supplied from constant voltage (5.2V in your case), otherwise the comparator will not be presice.
You can use a zener for this if 5.2V source is not stable.

There is also a trick to replace 220 ohm with schottky like BAT46. In that case the supply for 10k doesn’t have to be stable. But the comparator voltage will be about 0.4V (0.6V-0.2V).
Instead of zero volts I want low to be some reference voltage dc and high to be 5.2 vdc at the output of bjt. How would the circuit change then?
 
Yes, if you measure many transistors and Schottky diodes, selecting 0.6V and 0.2V, and keep the temperature from changing.
The schottky and Vbe thermally compensate each other, not extreme precisely but nice to have:

Vin= Vbe - Vf
0.4 = 0.6 - 0.2
After cooling both getting the same Vin:
0.4 = 0.65 - 0.25

The schottky drop can be changed a little by changing base resistor (current through schottky) (4k7,10k, 22k…).

The Vbe can also be varied a little with collector resistor (1k, 2k2, 4k7).
 
Last edited:
Instead of zero volts I want low to be some reference voltage dc and high to be 5.2 vdc at the output of bjt. How would the circuit change then?
What voltage do you want at output low, constant or variable?
If constant you can place a diode to emitter, but the base circuit has to be modified also.
 

crutschow

Joined Mar 14, 2008
38,504
The schottky and Vbe thermally compensate each other, not extreme precisely but nice to have:

Vin= Vbe - Vf
0.4 = 0.6 - 0.2
After cooling both getting the same Vin:
0.4 = 0.65 - 0.25

The schottky drop can be changed a little by changing base resistor (current through schottky) (4k7,10k, 22k…).

The Vbe can also be varied a little with collector resistor (1k, 2k2, 4k7).
All seems somewhat messy compared to the differential circuit.
 

Thread Starter

hhsting

Joined Apr 25, 2024
395
What voltage do you want at output low, constant or variable?
If constant you can place a diode to emitter, but the base circuit has to be modified also.
I am not sure what you mean by variable? Lets say I have two different circuit. For circuit #1 I want 1.0Vdc low and circuit #2 I want 2.5vdc
 
The most easy is just make Rc from resistor divider R3:R4.
By changing the ratio between these two resistors you can set the output voltage during transistor On state whatever you want.
During transistor Off state the output is Vcc (5.2V).
 

Attachments

Thread Starter

hhsting

Joined Apr 25, 2024
395
The most easy is just make Rc from resistor divider R3:R4.
By changing the ratio between these two resistors you can set the output voltage during transistor On state whatever you want.
During transistor Off state the output is Vcc (5.2V).
Ah thanks. Can I place zenior diode in place of R4?
 

MrAl

Joined Jun 17, 2014
13,704
Can i get same results with less transistors and resistor components while not using ICs and relays?
Hi,

You can do a lot with discrete transistors but one of the problems that comes up is the temperature gradient. This makes one transistor hotter than the other or other components hotter than the others after the circuit warms up, and also when it just sits there with some normal drafts. This is why serious transistor differential amplifiers are always done using a multi-transistor IC that has several matched transistors inside.

Because your tolerance is plus or minus 20 percent, you may be able to swing it but it will take some careful testing, and attention to thermal gradients. One way to help with this is to insulate the circuit with a thermal insulator like Styrofoam, then a layer of metal foil, then another layer of Styrofoam, then another layer of metal foil. The more layers the better, but four layers is probably enough. That helps to keep the component temperatures from drifting independently from one another.

The multi-transistor IC chip solution is highly recommended if you really need to do this with all transistors. They are still just transistors, just all in one case. You can also use one of the transistors as a diode if you need a diode.
 

Thread Starter

hhsting

Joined Apr 25, 2024
395
All seems somewhat messy compared to the differential circuit.
I am still trying to figure out your circuit. It seems the load transistor turns on when its 0.5vdc or above based on graph you posted.

i need the load transistor off when voltage is above 0.5vdc and load transistor on when voltage is at 0.5vdc and below. How I can do this? Input voltage is dc voltage and there is no steps. The input voltage is generated between 0V to 3 vdc thru solar panel daylight. Their is no AC involved anywhere.
 
Ah thanks. Can I place zenior diode in place of R4?
Theoretically you can, but low voltage zeners (without compensation) are pretty bad refferences.
For very low voltage you can use a signal diode like 1n4148 or two in series.
For voltages around 2V I preffer to use a low power Led.
 
Top