2
\$\begingroup\$

I usually understand well transistors circuits, but I just can't get to work with this one:

Transistors schmitt trigger circuit

(Note the circuit is powered with +/- 12V)

It is supposed to be a schmitt trigger circuit, and I'm trying to get a square wave at output by putting a triangle wave at the input. To do so, I'd like to detect when my triangle (oscillating from +12 to -12V) goes under -10V (negative trigger, output should go falling edge) and above +10V (positive trigger, output should go rising edge).

I could find an approximative formula for negative trigger, which is triggered when Q1 become cut-off:

$$ V_{N} = (Vcc-0.3)[\frac{R2}{R1+R2}-1] $$

Now I'm trying to figure out what will be the formula for positive trigger, and what will be the voltage level at the output.

I'm also open to other circuits, if you mind something simpler (not using op amps, please).

\$\endgroup\$
2
  • \$\begingroup\$ Why not use a free simulation tool? Do you understand the "long-tailed pair"? If not go google it. \$\endgroup\$
    – Andy aka
    Commented Feb 27, 2018 at 10:19
  • \$\begingroup\$ I do not agree with your \$V_{cc} - 0.3\$, I would use \$V_{cc} - 0.7\$ as the highest voltage at the emitter of Q3 is \$V_{be_Q3} = V_{cc} - 0.7\$. For the low threshold: Imagine what happens when Q1 is on, pulling the base of Q3 down. It depends on Rc1, Re and the input voltage what the voltage at the base of Q3 will be. Realize that a very high input voltage can pull up the emitter of Q1. Also realize that the values of the resistors matter here. If all resistors were 1 ohm, the circuit would never work. Their value is important but you do not show the values. \$\endgroup\$ Commented Feb 27, 2018 at 12:40

1 Answer 1

3
\$\begingroup\$

it is most simple to understand by first looking at a simpler Schmitt trigger circuit, luckily it is there in the image, this is what you have there is just an enhanced version for more hysteresis.

so the new simple circuit is what you have but with Q3, R1, and R2 removed. Q2 is connected to where Q3 is connected in the original design, below RE there is the ground. RE is of a very low resistance since this more simple version might not work if the hysteresis becomes too big, RC1 and RC2 are bigger, RC2 is smaller than RC1, however, they can be of equal value because the transistor will cause RC1 and RC2 to act like parallel resistors on the RC2 side(assuming low resistance base-emitter).

[R1=RC1, R2=RC2, R3=RE, this is a simple Schmitt trigger, input is left, the output is below R21(output is between R2 and the transistor below it similar to in the design you showed.)

when the input is low, the voltage above Q1 rises because Q1 is off, then Q2 gets enabled. if it is high Q1 gets enabled and the voltage above it drops to the voltage above RE, Q2 will disable since there is no current in it. but now to the hysteresis. this trigger acts like 2 voltage dividers, when Q2 is on you have a lower resistance on top, so the voltage below both Q1 and Q2 will rise this causes you to need a higher voltage to turn Q1 back on. when Q1 is high there will be a higher resistor on top of the voltage divider so the voltage below Q1 and Q2 drops, so for Q1 to turn off again the voltage will need to drop to a lower voltage than before. this generates the hysteresis because when the input is high the voltage below the transistors decreases making it need a lower voltage to turn to a low state, when in the low state the voltage below will rise, so a higher voltage is needed to put it in the high state. the transistor will only allow current and switch if the voltage at the base is higher than at the emitter but because the transistors act as switches for those 2 voltage dividers the voltage below it will vary, so the transistors are switches for switching between 2 voltage dividers, and they also directly get affected by their output because they are part of that voltage divider.

This is how you can see it as a voltage divider, Only the left transistor is put into consideration in this image for simplicity, for your input on a general scale only the left one is important when viewing it as a set of 2 voltage dividers.

This depicts it as the 2 voltage dividers it is switching between

When one of the 2 voltage dividers gets enabled the voltage below the transistors will increase or decrease so that will further lock it in that state and accelerate the speed at which it does that until it reached the point where you could say it is fully using one of the 2 voltage dividers.

the design you showed is similar but Q3 is acting as an. amplifier, and even more so it isolates the input for Q2 from the voltage divider's effect, because in reality Q2 is also slightly affected by the voltage below it, and the design you showed has its own voltage divider with a set value for switching Q2 on and off, likely this is to make sure the voltage is always above the voltage below the transistor since that makes it more reliable when there is more hysteresis. so the transistor and resistors on the right mostly make sure it becomes more stable with higher hysteresis since the one I showed will work with a small % of hysteresis but will eventually become less stable when the resistance or R3/Re is too high in comparison with that of those above.

I simulated it in my mind and it worked there and worked in the way described. so it works. I didn't add formulas since they are often very depending on what components you use and what resistance, but even more tolerances since in reality most parts aren't perfect and they behave more analogue than they do in the formulas which is why for me performing a mental simulation tends to bring it closer to reality than calculations or a digital simulation does. "tends" because I need to know the part and have experience with it, reading the datasheets is one thing, but by using them more in a real-life it becomes much more accurate. since I do not have experience that I know of with the BC547, I used the BC337 instead. I did not test it to much for in what ranges it will work in the mental simulation but I found that having R1 and R2 at a similar value and having R3 at a value of 10% or smaller of theirs will make it work well enough, didn't go much higher because like I mentioned things like tolerances play a role and in this specific design especially a lot. when simulating it with MOSFETs or transistors which have a high base-emitter resistance R2 should be lower than R1. note that I might have messed up things during the writing, I don't always know what I did and didn't write, and my mind doesn't follow a chronological order meaning that things to write in the future, past, and now easily get messed up, this especially combined with distraction can cause parts to not be written, or to be unclear. so if you notice something which seems hard to understand then please mention it I will likely try explain it in a more normal communicative way, or correct it to follow the traditional patterns(because I know many people can not follow things when I accidentally approach things non-chronological or similar , or to add things I forgot to write.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.