File: /var/www/html/simulink/circuit/e-schmitt.html
<meta name="viewport" content="width=640">
<title>Schmitt Trigger</title>
<link rel="SHORTCUT ICON" href="favicon.ico">
<body>
<hr>
<table><tr><td>
<iframe width=640 height=500 src="circuitjs.html?startCircuit=schmitt.txt"></iframe>
</td><td width="20"> </td><td valign="top">
</td>
</tr></table>
<p>
This circuit is
a <a href="http://en.wikipedia.org/wiki/Schmitt_trigger">Schmitt
Trigger</a>, a type of comparator. It measures the input to see
if it is above or below a certain threshold. The threshold varies to
make it less likely that the output will switch rapidly back and forth
due to a noisy input near the threshold.
<p>
The input is a noisy 40 Hz sine wave, shown in the first scope. The
output is shown in the second scope. The third scope is a graph of
the output versus input.
<p>
Let's say the input starts at ground.
A voltage divider puts Q1's collector at about 2.1 V, and Q2's base at
about 1.5 V. Q2's emitter is at about 900mV, about a diode drop lower than its base.
Q2 is conducting, bringing the output low.
<p>
Q1's emitter is tied to Q2's, at 900mV, so Q1 will be off until the input rises
to about 1.5V. Once that happens, Q1 will conduct, bringing its
collector low, which will lower the voltage of Q2's base and shut it off,
bringing the output high.
<p>
If the input drops slightly below 1.5V, Q1 will stay on, because Q2 is
no longer keeping its emitter at 900mV. So a noisy input will not
cause the output to shift rapidly between high and low.
<p>
The input has to drop below about 1.1V in order to turn on Q2. When
this happens, the current Q1 is low enough that it comes out of saturation and goes
into forward-active
mode, and the voltage drop across it becomes large enough to
turn on Q2. Q2 shuts off Q1 and brings the output low.
<p>
If the input rises slightly above 1.1V again, this will not change the
output; the input has to rise above 1.5V to turn on Q1.
<p>
If the simulator says "Convergence failed" just click reload. The applet
often has trouble simulating this circuit.
<p>
Next: <a href="e-currentsrc.html">Current Source</a><p>
Previous: <a href="e-phasesplit.html">Unity-Gain Phase Splitter</a><p>
<a href="e-index.html#schmitt">Index</a><p>
<a href="index.html">Simulator Home</a>
<hr>
<script type="text/javascript"><!--
google_ad_client = "pub-1974179407250396";
/* 728x90, created 7/9/08 */
google_ad_slot = "3265434789";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<hr>
<a href="http://www.falstad.com/mathphysics.html"><img src="/mathphysics_small.gif"></a>
<a href="http://www.falstad.com/index.html"><img src="/me_small.gif"></a>
<br><i>java@</i><i>falstad.com</i>
<br>Generated Wed Dec 7 2016
</body>