Difference between revisions of "Comparator"

From TheAnalogThing
(describe how to compare two signals)
Line 3: Line 3:
 
The '''Comparator''' is a logic element which puts different signals on the output, depending on the input. [[The Analog Thing]] features two comparators.
 
The '''Comparator''' is a logic element which puts different signals on the output, depending on the input. [[The Analog Thing]] features two comparators.
  
Given two inputs <code>A</code> and <code>B</code>, the comparator tests whether the sum of the two input values is larger or smaller zero. If it is larger, the input <code>>0</code> is directed to <code>OUT</code>, if smaller, the input <code><0</code> is directed to <code>OUT</code>.  
+
Given two inputs <code>A</code> and <code>B</code>, the comparator tests whether the sum of the two input values is larger or smaller zero. If it is larger, the input <code>>0</code> is directed to <code>OUT</code>, if smaller, the input <code><0</code> is directed to <code>OUT</code>.
 +
 
 +
If you want to compare two signals, you must connect one of them to input <code>A</code> and the other one must be inverted and then connected to input <code>B</code>.
  
 
Technically, the comparators of THAT are implemented with Schmitt Triggers and two analog switches. See [[:File:Anathing_v1.0_base_4.pdf]] for the schematics.  
 
Technically, the comparators of THAT are implemented with Schmitt Triggers and two analog switches. See [[:File:Anathing_v1.0_base_4.pdf]] for the schematics.  

Revision as of 17:33, 26 September 2021

The six different jacks of a single Comparator

The Comparator is a logic element which puts different signals on the output, depending on the input. The Analog Thing features two comparators.

Given two inputs A and B, the comparator tests whether the sum of the two input values is larger or smaller zero. If it is larger, the input >0 is directed to OUT, if smaller, the input <0 is directed to OUT.

If you want to compare two signals, you must connect one of them to input A and the other one must be inverted and then connected to input B.

Technically, the comparators of THAT are implemented with Schmitt Triggers and two analog switches. See File:Anathing_v1.0_base_4.pdf for the schematics.

The schematic is not incomplete - the input resistor networks are located on the front panel (as for the summers, inverters, and integrators).