11.1 Logic Gates & Boolean Functions

Key Takeaways

  • Positive logic maps logic 1 to a high voltage level and logic 0 to a low level; negative logic reverses that mapping so logic 0 is high and logic 1 is low
  • AND outputs 1 only when every input is 1; OR outputs 1 if any input is 1; NOT inverts a single input; NAND and NOR are the inverted AND and OR forms
  • XOR (exclusive OR) outputs high only when its two inputs differ; AND is the gate that provides an active-high out when both inputs are active high
  • A truth table lists every input combination and the corresponding output that characterizes a digital device’s function
  • Boolean algebra and DeMorgan’s theorems let technicians rewrite AND/OR/NOT networks as NAND- or NOR-only implementations used throughout radio control logic
Last updated: August 2026

11.1 Logic Types & Gates

Quick Answer: Positive logic: 1 = high, 0 = low. Negative logic: 0 = high, 1 = low. AND → 1 only if all inputs are 1. OR → 1 if any input is 1. NOT inverts. NAND → 0 only when all inputs are 1. NOR → 0 if any/all inputs are 1. XOR → 1 when inputs differ. A truth table lists every input combination and its output.

Topic 3-E (Digital Logic) is eight key topics on the Element 3 blueprint—one exam item drawn from this family on a typical 100-question paper. Key topics 034 (Logic Gates) and the positive/negative-logic half of 035 (Logic Levels) are pure gate literacy. Master them once and every later counter, flip-flop, and microprocessor question rests on the same HIGH/LOW vocabulary.

Positive logic vs negative logic

Digital circuits deal in two voltage bands. What those bands mean as Boolean values depends on the logic convention of the schematic or IC family.

ConventionLogic 1 represented byLogic 0 represented by
Positive logicHigh levelLow level
Negative logicLow levelHigh level

In a positive-logic circuit, what level is used to represent a logic 1? High level.

In a negative-logic circuit, what level is used to represent a logic 0? High level.

Negative logic feels backward at first, but it is still two-valued Boolean algebra—only the voltage-to-meaning map is inverted. Active-low chip selects, open-collector bus lines, and “asserted low” control signals on radio backplanes often behave like negative-logic statements even when the surrounding board is drawn with positive-logic symbols. Always read the schematic note: active high versus active low.

Why GROL techs care

A marine DSC controller may light a fault LED when an active-low /FAULT pin goes low. If you assume positive-logic “high means alarm,” you will chase the wrong rail. The same pin labeled with a bar (\overline{FAULT}) or slash (/FAULT) is the schematic’s way of saying “asserted when low.”

What a truth table is

What is a truth table? A list of input combinations and their corresponding outputs that characterizes a digital device’s function.

It is not a table of op-amp symbols, and it is not merely a diagram of “when the output is true.” For an n-input gate there are (2^n) rows. Two-input gates have four rows; three-input gates have eight. Element 3 figures (pool Figures 3E12–3E14 style) chain gates and ask you to walk voltages from left to right—exactly what a truth table trains you to do.

The six gates you must own

Assume positive logic and two inputs A and B unless noted. Output is Y.

AND

Characteristic of an AND gate: produces a logic “1” at its output only if all inputs are logic “1”.

Which gate provides an active high out when both inputs are active high? AND.

ABY = A · B
000
010
100
111

Boolean: (Y = A \cdot B) or (Y = AB). Everyday radio use: enable a transmit path only when PTT is true AND channel is unlocked AND power is good.

OR

Characteristic of an OR gate: produces a logic “1” at its output if any input is logic “1”.

ABY = A + B
000
011
101
111

Boolean: (Y = A + B). Use case: raise an alarm if over-temp OR VSWR fault OR supply undervoltage.

NOT (inverter)

Characteristic of a NOT gate: produces a logic “0” at its output when the input is logic “1” and vice versa.

AY = Ā
01
10

Boolean: (Y = \overline{A}). Single-input only. Bubble on a schematic input or output is the NOT symbol. Inverters clean up weak levels, create complementary clocks, and flip active-high controls to active-low.

NAND (NOT-AND)

Characteristic of a NAND gate: produces a logic “0” at its output only when all inputs are logic “1”.

ABY = (\overline{A \cdot B})
001
011
101
110

NAND is the universal gate: any Boolean function can be built from NANDs alone. That is why classic TTL catalogs stocked 7400 NAND quads by the million, and why Element 3 schematic figures love NAND chains.

NOR (NOT-OR)

Characteristic of a NOR gate: produces a logic “0” at its output if any or all inputs are logic “1”.

ABY = (\overline{A + B})
001
010
100
110

NOR is also universal. Output is 1 only when every input is 0—the dual of NAND’s “0 only when every input is 1.”

XOR (exclusive OR)

Characteristic (pool and practice banks): XOR produces a HIGH only when its two inputs differ (one high, one low). Same inputs → low.

ABY = A ⊕ B
000
011
101
110

Boolean: (Y = A\overline{B} + \overline{A}B). Radio uses: parity generation, phase detectors in simple digital PLLs, comparing two bit streams for “equal / not equal,” and modulo-2 adders in scramblers.

Gate summary card

GateOutput is 1 when…Output is 0 when…Mnemonic
ANDAll inputs 1Any input 0“All needed”
ORAny input 1All inputs 0“Any will do”
NOTInput is 0Input is 1Invert
NANDNot all inputs 1All inputs 1AND then invert
NORAll inputs 0Any input 1OR then invert
XORInputs differInputs sameExclusive

Boolean basics for the bench

Element 3 does not demand full Boolean algebra proofs, but you need the operators and simplification habits:

Symbol formMeaning
(A \cdot B) or (AB)AND
(A + B)OR
(\overline{A})NOT
(\overline{A \cdot B})NAND
(\overline{A + B})NOR
(A \oplus B)XOR

Identity shortcuts (exam-useful):

  • (A \cdot 1 = A), (A \cdot 0 = 0)
  • (A + 0 = A), (A + 1 = 1)
  • (A \cdot A = A), (A + A = A)
  • (A \cdot \overline{A} = 0), (A + \overline{A} = 1)
  • Double inversion: (\overline{\overline{A}} = A)

DeMorgan’s theorems (overview)

DeMorgan converts between AND/OR forms under inversion:

[ \overline{A \cdot B} = \overline{A} + \overline{B} ]

[ \overline{A + B} = \overline{A} \cdot \overline{B} ]

In words:

  1. NAND of inputs = OR of inverted inputs.
  2. NOR of inputs = AND of inverted inputs.

Bench meaning: a board full of NAND packages can implement an OR of inverted signals by wiring inverted (bubbled) inputs into a NAND—exactly how many control PLD replacements and discrete glue-logic repairs are done when a part is obsolete. When an exam figure shows NANDs with bubbles, rewrite the function with DeMorgan before guessing the truth-table row.

Worked rewrite

Suppose a transmit-enable needs “RF is good OR bypass is selected,” but you only have NAND chips:

  • Desired: (Y = G + B)
  • DeMorgan: (Y = \overline{\overline{G} \cdot \overline{B}}) — invert G and B, NAND them, done.

Walking multi-gate figures (pool skill)

Key topic 035 includes multi-gate figures (3E12–3E14 style). Method:

  1. Assume positive logic unless told otherwise.
  2. Label every known L/H at the left inputs.
  3. Evaluate the first gate from its truth table; write the result on its output net.
  4. Feed that net into the next gate; continue to the labeled test points.
  5. NAND is the usual symbol on those figures—remember NAND is 0 only when both inputs are 1.

Example (conceptual NAND chain): if both inputs to a first NAND are high, its output is low. That low into a second NAND forces the second output high (because not all inputs are high). Trace slowly; speed comes from muscle memory, not panic.

Boolean to radio control — shop examples

FunctionLikely gate network
PTT and channel unlockAND (or NAND + invert)
Any of several fault sensorsOR (or NOR + invert)
Active-low chip select from active-high MCU pinNOT
Compare two PLL lock bits for “both same”XOR then invert (XNOR)
Enable path only if all safeties trueMulti-input AND

Exam-day checklist for gates & logic types

  1. Positive logic: 1 = high; negative logic: 0 = high.
  2. Truth table = all input combos → outputs that define the device.
  3. AND: 1 only if all 1; active-high-and-active-high → AND.
  4. OR: 1 if any 1.
  5. NOT: invert.
  6. NAND: 0 only if all 1; NOR: 0 if any 1.
  7. XOR: 1 when inputs differ.
  8. DeMorgan: flip AND↔OR and invert each literal under a bar.

Nail this section and Element 3 digital questions stop looking like abstract computer science—they become the same interlock logic you already troubleshoot on a radio chassis. Next: TTL/CMOS voltage bands and flip-flops that remember a bit.

Test Your Knowledge

In positive-logic and negative-logic circuits, which pair correctly maps logic levels?

A
B
C
D
Test Your Knowledge

What is a truth table in digital electronics?

A
B
C
D
Test Your Knowledge

Which statements correctly describe AND and NAND gates under positive logic?

A
B
C
D
Test Your Knowledge

Which gate produces a HIGH output only when its two inputs differ, and which gate provides an active-high output when both inputs are active high?

A
B
C
D