Fork me on GitHub

Project Notes

#317 Basic Discrete Schmitt Trigger

Exploring a basic emitter-coupled Schmitt Trigger circuit design with discrete components.

Build

Notes

A Schmitt trigger is a comparator circuit with hysteresis such that:

  • the output swings high when the input rises above an upper threshold
  • the output swings low when the input rises above a lower threshold

When upper threshold > lower threshold, the resulting hysteresis negates the impact of noise or minor oscillations on the input signal.

Schmitt triggers are commonly built into the input pins of integrated circuits to provide more definitive switching. Stand-alone Schmitt triggers are often constructed from comparators, but the most basic Schmitt trigger can be implemented with discrete components. This is described in the Art of Electronics (Second Edition p232).

This project explores the classic emitter-coupled Schmitt Trigger circuit design.

Emitter-coupled Schmitt Trigger Operation

When Q1 collector resistor R1 is greater than the Q2 collector resistor R2, then the voltage drop over the common emitter resistor R3 is higher when Q2 is on.

The threshold to tun Q1 on or off depends on the voltage drop over the R3.

Thus:

  • when input is low:
    • Q1 is off, Q2 is on
    • output is “low”
    • and the “on” threshold for Q1 is pushed up by the higher R3 voltage drop
  • when input is high:
    • Q1 is on, Q2 is off
    • output is “high”
    • and the “off” threshold for Q1 is reduced by the lower R3 voltage drop

In other words, the hysteresis between upper (on) and lower (off) thresholds is defined by the differential R3 voltage drop.

Practical Measurements

With a 1kHz input sine wave (CH1) the output (CH2) switches with hysteresis:

  • swings high at ~1.3V
  • swings low at ~0.9V
  • so ~0.4V differential between upper and lower thresholds

scope_1khz

An X-Y plot (X: input, Y: output voltage) captures the ~ 0.4V differential between the upper and lower thresholds.

scope_hysteresis

At higher frequencies (here at 100kHz), the behaviour is impaired with some lag:

scope_100khz

Construction

Breadboard

Schematic

Testing the circuit on a breadboard. Note I’m using 2 x 3.6kΩ resistors in parallel for R1.

BasicDiscrete_bb_build

Arranged and put on a protoboard for final tests:

BasicDiscrete_protoboard_build

Credits and References

About LEAP#317 SchmittBJT

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader