A three-input voter passes when at least two of three votes agree; it is the classic majority-decision combinational problem. This page builds it from plain AND OR gates: truth table, expression, simplification and gate pick, ending with a wireable circuit.
The requirement is simple: inputs A, B, C are votes of 1 for yes; output Y is 1 when at least two are yes. Of the eight input rows, Y equals 1 for 011, 101, 110 and 111. Those four rows are the minterms we must cover. Small as it is, the voter is the key to understanding multi-input majority judgement.
Sum the four minterms: Y equals not A and B and C, or A and not B and C, or A and B and not C, or A and B and C. Pair and absorb complementary variables to reach the minimal Y equals A and B, or A and C, or B and C. So any two yes votes pass; three two-input ANDs feeding an OR gives the fewest gates and the clearest reading.
Implement with three 2-input ANDs (74LS08) for A and B, A and C, B and C, then one 3-input OR (74LS4075) or two 2-input ORs (74LS32) to OR the three products. All positive logic, no inverter needed. A NAND-only version takes Y double-negated into a NAND-NAND form, saving a chip but harder to read.
| Input ABC | Output Y | Note |
|---|---|---|
| 000 | 0 | All no |
| 001 | 0 | One only |
| 010 | 0 | One only |
| 011 | 1 | Two pass |
| 100 | 0 | One only |
| 101 | 1 | Two pass |
| 110 | 1 | Two pass |
| 111 | 1 | Three pass |
The voter is a template for majority decisions, extendable to five or seven inputs. Before soldering, toggle switches through all eight inputs and check Y each time, not just 111 and 000.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Combinational logic per GB/T 4728 and IEC 60748. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.