Version 4.1 SHEET 1 5164 2480 WIRE 2528 1504 2416 1504 WIRE 2544 1504 2528 1504 WIRE 2416 1520 2416 1504 WIRE 2416 1632 2416 1600 WIRE 2528 1680 2528 1504 WIRE 2544 1680 2544 1504 WIRE 2336 1696 1920 1696 WIRE 2496 1696 2336 1696 WIRE 2672 1712 2560 1712 WIRE 2336 1728 2144 1728 WIRE 2496 1728 2336 1728 WIRE 2512 1776 2512 1744 WIRE 2528 1776 2528 1744 WIRE 2528 1776 2512 1776 WIRE 2544 1776 2544 1744 WIRE 2544 1776 2528 1776 WIRE 2656 1776 2544 1776 WIRE 2144 1792 2144 1728 WIRE 2656 1792 2656 1776 WIRE 1920 1808 1920 1696 WIRE 1920 1920 1920 1888 WIRE 2064 1920 1920 1920 WIRE 2144 1920 2144 1872 WIRE 2144 1920 2064 1920 WIRE 2064 1936 2064 1920 FLAG 2656 1792 0 FLAG 2416 1632 0 FLAG 2672 1712 out FLAG 2064 1936 0 FLAG 2336 1696 inv_ip FLAG 2336 1728 non_inv_ip SYMBOL Comparators\\LT1719 2528 1648 R0 SYMATTR InstName U2 SYMBOL voltage 2416 1504 R0 SYMATTR InstName V5 SYMATTR Value 5 SYMBOL voltage 1920 1792 R0 SYMATTR InstName V1 SYMATTR Value 1V SYMBOL voltage 2144 1776 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V2 SYMATTR Value SINE(1 1 1Meg) TEXT 1288 968 Left 5 ;instructions TEXT 1304 1016 Left 2 ;click on run\nthen click on "inv_ip" to plot it.\nthen click on "non_inv_ip" to plot it.\nthen click on the plot window then on plot settings / add plot pane\nthen click on "out" to plot it TEXT 1312 1240 Left 2 ;this is a description of a simple comparator circuit with no hysteresis.\n(a description of hysteresis is beyond this simple circuit).\nto a first approximation the comparator IC is similar to an op amp IC.\nits got 2 inputs and lots of gain, except its optimised for different applications to an opamp.\nnote that the opamp circuit fed some its output voltage back to its input, making a linear amplifier circuit.\nThis comparator circuit doesn't do that, it just compares the voltages of its two inputs and depending on \nwhich is greater, drives its output to either the supply rail or ground.\n \nSo a comparator IC to a first approximation is the same as an opamp IC, \nits the circuit thats different.\nthe comparator IC is optimised for applications where its output is either GND or Vcc\nin other words its output is digital, its the simplest possible A_D converter.\nyou could call it a 1 bit A-D converter! TEXT 1328 1880 Left 2 !.tran 10u TEXT 1304 1192 Left 4 ;description