MODULE 5 · SYLLABUS 5.5 (A) · LEVEL 2

Chapter 5: Logic Circuits

Identifying the common logic gates by symbol (ANSI and IEC), truth table and Boolean expression; their equivalent switch, relay, diode and transistor circuits; NAND and NOR as universal gates; and how logic is drawn and used in aircraft systems such as the take-off configuration warning.

7
Explainer slides
~35
Minutes reading
24
Flashcards
22
Quiz questions
Home › Courses › Module 5 › Chapter 5
🎬 Explainer video

Watch the 7-slide walkthrough

Narrated by your browser's text-to-speech voice — pick a voice and speed in the player bar. Press space to play/pause, arrow keys to change slide. No sound? It still plays with captions.

Read the full transcript
🎯 What you'll learn
  • The eight common gates: symbols (ANSI and IEC), truth tables and Boolean expressions
  • Equivalent circuits: switches and relay contacts, diode logic and the transistor inverter
  • NAND and NOR as universal gates; De Morgan's equivalent symbols
  • Positive and negative logic, active-low signals
  • Working out a truth table from a simple logic diagram
  • Applications in aircraft systems and how they appear on schematic and logic diagrams
📖 The lesson

Logic gates

A logic gate is a circuit whose output depends only on the present state of its inputs, each of which is either 1 (HIGH, true, on) or 0 (LOW, false, off). Gates are the building blocks of every digital system — and the same AND/OR/NOT reasoning appears in relay circuits, warning systems and the logic diagrams of the aircraft maintenance manual. Module 4 introduced the gates; at B1 level 2 for Module 5 you must identify each gate from its symbol, truth table or equivalent circuit, and recognise how gates are used in aircraft systems.

Gate ANSI symbol IEC symbol Expression Output Y for AB = 00 01 10 11 NOT 1 Y = A A=0→1 · A=1→0 Buffer 1 Y = A A=0→0 · A=1→1 AND & Y = A·B 0 0 0 1 OR ≥1 Y = A+B 0 1 1 1 NAND & Y = A·B 1 1 1 0 NOR ≥1 Y = A+B 1 0 0 0 XOR =1 Y = A⊕B 0 1 1 0 XNOR =1 Y = A⊕B 1 0 0 1
Gate identification. Each gate in both symbol standards, with its Boolean expression and its output for the four input combinations 00, 01, 10 and 11. A small circle (bubble) means inversion. IEC symbols write the function in the box: & AND, ≥1 OR, =1 exclusive OR, 1 buffer.
GateRule — output is 1 when…Remember it as
NOT (inverter)the input is 0always the opposite
Bufferthe input is 1same logic, more drive current
ANDall inputs are 1series switches
ORat least one input is 1parallel switches
NANDnot all inputs are 1 (0 only when all are 1)AND + NOT
NORno input is 1 (1 only when all are 0)OR + NOT
XORthe inputs are differentodd number of 1s
XNORthe inputs are the sameequality / comparator
  • A truth table lists the output for every combination of inputs: 2n rows for n inputs (4 for two inputs, 8 for three, 16 for four).
  • Boolean algebra writes the functions: AND as a dot (A·B), OR as a plus (A + B), NOT as a bar over the term (Ā), XOR as ⊕.
  • A bubble on an output means the output is inverted; a bubble on an input means that input is active-low (it does its job when it is 0).

Equivalent circuits

Every gate has equivalent circuits built from switches, relays, diodes or transistors. Recognising them lets you read relay logic in a wiring diagram as easily as gate symbols in a logic diagram.

AND — series A B lamp on only if A and B closed OR — parallel A B lamp on if A or B closed NOT — NC contact A relay coil A energises the relay → lamp off NAND — NC parallel NC (A) NC (B) off only when A and B both 1 NOR — NC series NC (A) NC (B) on only when A and B both 0
Switch and relay equivalents. Take a closed switch or energised relay as 1 and a lit lamp as 1. Contacts in series make AND; in parallel, OR. A normally closed relay contact makes NOT — the contact opens when the coil is energised. NC contacts in parallel give NAND; in series, NOR. This is exactly how relay logic is drawn in aircraft wiring diagrams.
  • Switches and relay contacts: series = AND; parallel = OR; a normally closed (NC) contact of a relay driven by A = NOT A. NC contacts in parallel = NAND; NC contacts in series = NOR. Normally open contacts operated by relays A and B in series and in parallel give AND and OR.
  • Aircraft wiring diagrams show relays and switches in a defined normal (shelf) state — usually de-energised, aircraft on the ground, systems off. Check the diagram's notes before deciding whether a contact is open or closed.
Diode AND pull-up resistor, diodes point to the inputs +5 V A B Y any input at 0 V pulls Y low Y = 1 only if A AND B = 1 Diode OR pull-down resistor, diodes point to the output A B Y Y = 1 if A OR B = 1 Transistor NOT (inverter) B C E Rc +5 V A Y A = 1 → transistor on → Y ≈ 0 V A = 0 → transistor off → Y = +5 V
Electronic equivalents. Simple gates can be built from diodes and resistors (diode logic) and a transistor switch provides inversion. Integrated logic families (TTL, CMOS) do the same job far better — but these circuits explain how a gate decides, and diode 'OR-ing' of signals is still common in aircraft wiring.
  • Diode logic: with a pull-up resistor and the diodes pointing to the inputs, any input at 0 V pulls the output low — an AND gate. With a pull-down resistor and the diodes pointing to the output, any input at +V lifts the output — an OR gate. Aircraft wiring often uses diodes the same way, so that either of two switches can operate a light without the switches feeding each other.
  • Transistor inverter: a 1 at the base turns the transistor on and pulls the collector (output) to 0 V; a 0 turns it off, so the output rises to the supply. Add the inverter to a diode AND and you have a NAND (the basis of early DTL logic); TTL and CMOS integrated circuits refine the same idea.

Universal gates and De Morgan

NOT from NAND A Ā tie the inputs together AND from two NANDs A B A·B NAND, then invert it OR from three NANDs A B A+B invert both inputs first (De Morgan)
NAND is universal. Any logic function can be built from NAND gates alone (or NOR gates alone). That is why a logic diagram may show a function you recognise built from gates you did not expect — De Morgan's theorem says a NAND is the same as an OR with inverted inputs.
  • NAND and NOR are universal gates: any function can be built from either type alone. NAND with its inputs tied is a NOT; NAND followed by NOT is AND; NANDs on both inputs of another NAND give OR.
  • De Morgan's theorem: A·B = A + B, and A + B = A·B. So a NAND gate can be drawn as an OR with bubbles on its inputs, and a NOR as an AND with bubbles on its inputs. Logic diagrams choose whichever symbol shows the designer's intent ("any input low gives a high output").
  • Positive and negative logic: in positive logic the higher voltage is 1; in negative logic the lower voltage is 1. The same physical gate changes its name: a positive-logic AND gate is a negative-logic OR gate, and a positive NAND is a negative NOR.

Reading a simple logic diagram

To find what a combination of gates does, label every gate output, then work through the truth table one row at a time. For example, the circuit Y = (A·B) + C — an AND gate and an inverter feeding an OR gate:

ABCA·BCY
000011
001000
010011
011000
100011
101000
110111
111101

Gates whose output depends only on the present inputs form combinational logic. Circuits with memory — latches and flip-flops made from cross-coupled gates, counters and registers — form sequential logic; aircraft logic diagrams show them as boxes marked latch, memory, S/R, or with time-delay symbols. Detailed interpretation of logic diagrams is B2 knowledge (5.5 b).

Applications in aircraft systems

Warning, interlock and protection functions are logic, whether they are built from relays, from discrete gate ICs or — on modern aircraft — from software in a computer. The maintenance manual still documents them as logic diagrams or schematic diagrams using gate symbols, and fault isolation means working out which input is stopping (or causing) an output.

Simplified take-off configuration warning flaps not in take-off range slats not extended speed brake not stowed stabiliser trim out of green band parking brake set OR: any one is wrong aircraft on ground (air/ground logic) thrust levers advanced for take-off AND CONFIG warning horn + master WARNING 1 = condition true · real aircraft add inhibits, time delays and more inputs — always use the AMM logic diagram
Logic in an aircraft system. The take-off configuration warning sounds if the aircraft is on the ground and the thrust levers are advanced and any item is not set for take-off. An OR gate collects the configuration faults and an AND gate enables the warning. Maintenance manuals draw system logic exactly like this.
  • Air/ground logic: weight-on-wheels (WOW) or proximity sensors on the landing gear are combined (for example "left AND right main gear compressed") to decide whether the aircraft is on the ground. Dozens of systems use the result.
  • Landing gear warning: gear not down and locked AND (low altitude OR flaps in landing position) AND thrust levers at idle → warning.
  • Thrust reverser interlock: deploy is permitted only if on the ground AND the reverse lever is selected AND the thrust levers are at idle.
  • Stall warning, cabin pressure warnings, fire detection loops (two loops: alarm if loop A AND loop B detect, or one loop if the other has failed), door warnings and many BITE tests are all logic.
  • Discrete inputs to computers are typically 28 V/open or ground/open; interface circuits convert them to logic levels. A ground/open discrete that is "true when grounded" is an active-low signal.
Exam traps

NAND gives 0 only when all inputs are 1; NOR gives 1 only when all inputs are 0. XOR detects a difference, XNOR equality. In IEC symbols, "=1" is XOR, "≥1" is OR and "&" is AND — a circle on the output inverts each of them.

🧠 Mind map

See the whole chapter at a glance

🃏 Flashcards

Test your recall — tap a card to flip it

✅ Chapter quiz

22 exam-style questions

📚 Further reading

Free references

Chapter progress

Next chapter →