no edit summary
No edit summary |
No edit summary |
||
Line 1:
<!-- missing file [[File:cgs_photo_cgs54_xor.jpg|thumb|center|px|]] -->
'''CGS54''' the '''CGS XOR/XNOR logic''' board is an add-on for the [[CGS pulse divider and Boolean logic]] module, adding XOR and XNOR functionality. Unlike a true digital gate, the module is not sensitive to specific levels, but rather to the difference between them. If the two inputs are within
== A little on how it works ==
[[File:cgs_schem_cgs54v11_xor.gif|thumb|center|465px|The schematic of the XOR/XNOR Logic VER1.1]]
Normally the two inputs of each op-amp are held (approximately) 1.2 volts apart via the pull-up and pull-down resistors, and the four diodes in the input circuit. Connecting two similar input voltages to the inputs will not affect this
Once the two input voltages begin to differ, the diode connected between the pull-up resistor and the lower of the two input voltages will pull the connected comparator inputs down, while the diode connected to the pull-down resistor and the higher of the two input voltages will pull the connected comparator inputs up. The other diodes will cease to conduct.
Once the two input are taken more than 1.2 volts apart, the voltage at the diode- pull-up resistor junction will be lower than that at the diode- pull-down resistor, and the relationship between the comparator inputs will be reversed, i.e. on the XOR, the inverting input will be lower than the non-inverting input, resulting in the op-amp output being positive, and the opposite
Technically there is a tiny band where the difference between the two inputs can result in an "analog" (i.e. not logic 1, or logic 0) voltage at the output, though this may only be an issue if using the gates with analog input voltages.
The outputs of the op-amp comparators are passed
The LEDs indicate the output levels of the gates. As the gates share a common input structure, these LED have a complimentary relationship - if one is lit, the other is off. As such, a single LED would suffice to indicate the state of both gates.
|