MODULE 5 · SYLLABUS 5.6 (A) · LEVEL 2

Chapter 6: Basic Computer Structure

Computer terminology — bit, byte, word, hardware, software and firmware, CPU, ALU, clock, buses and I/O — the memory family from RAM and ROM to PROM, EPROM, EEPROM and flash, and how computers are built into aircraft as LRUs with redundancy, BITE, program pins and loadable software.

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

Watch the 8-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
  • Bits, nibbles, bytes and words; kilobytes and megabytes
  • Hardware, software and firmware; programs and languages
  • The parts of a computer: CPU (control unit, ALU, registers, clock), memory, input/output and the address, data and control buses
  • Memory devices: RAM (static, dynamic), ROM, PROM, EPROM, EEPROM, flash — volatile and non-volatile
  • Mass storage: magnetic, optical and solid-state
  • Computer technology in aircraft: LRUs, redundancy, BITE, program pins, data loading
📖 The lesson

Computer terminology

Nearly every system on a modern aircraft contains a computer: the flight management computer, air data and inertial reference units, engine controls (FADEC), flight control computers, display computers, brake and anti-skid controllers, even galley ovens and cabin lighting. They all share the same basic structure and vocabulary.

Units of digital information bit 1 one binary digit, 0 or 1 nibble 0 0 1 0 4 bits = one hex digit byte 0 1 0 0 1 0 0 1 8 bits — one character, 0–255 word 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 the size the CPU handles at once: 8, 16, 32 or 64 bits 1 kilobyte (KB, KiB) 2¹⁰ = 1 024 bytes 1 megabyte (MB, MiB) 2²⁰ = 1 048 576 bytes 1 gigabyte (GB, GiB) 2³⁰ ≈ 1.07 × 10⁹ bytes
Bits and bytes. A bit is one binary digit; four bits make a nibble, eight a byte. A word is the number of bits a processor handles in one operation. In computing, 'kilo' traditionally means 2¹⁰ = 1 024, so a kilobyte is 1 024 bytes (strictly a kibibyte, KiB).
  • Bit — one binary digit. Nibble — 4 bits. Byte — 8 bits, enough for one character or a number from 0 to 255. Word — the number of bits the processor handles in one operation (8, 16, 32 or 64).
  • Hardware — the physical parts: circuit boards, integrated circuits, connectors, power supplies, displays.
  • Software — the programs (sets of instructions) and data that tell the hardware what to do. The operating system manages the hardware and runs the application programs.
  • Firmware — software stored permanently in non-volatile memory inside the hardware (in ROM or flash), such as the start-up (boot) program of an LRU.
  • Programs are written in a high-level language (aviation software is often written in C or Ada) and translated by a compiler into machine code — the binary instructions the processor executes. Assembly language is a readable form of machine code.
  • IC — integrated circuit: a complete circuit on one silicon chip. A microprocessor is a CPU on a single IC; a microcontroller adds memory and I/O on the same chip.

The parts of a computer

The parts of a computer CPU — central processing unit Control unit decodes, sequences ALU arithmetic and logic Registers accumulator, program counter, flags Clock MHz / GHz address bus (one-way, from CPU) data bus (two-way) control bus (read, write, interrupt, clock) Memory ROM / flash · RAM Input / output interfaces ARINC 429, discretes, ADC/DAC, displays, keyboards, data loader program and data n address lines → 2ⁿ locations 16 lines → 65 536 (64 K)
Computer structure. The CPU fetches instructions and data from memory, processes them and exchanges data with the outside world through input/output interfaces. Three buses connect them: the address bus says where, the data bus carries the information both ways, and the control bus says when and which way.
  • CPU (central processing unit): the control unit fetches each instruction from memory, decodes it and sequences the operations; the ALU (arithmetic logic unit) adds, subtracts, compares and performs logic operations (AND, OR, NOT); registers are small, very fast storage locations inside the CPU — the accumulator holds results, the program counter holds the address of the next instruction, and the status (flag) register records results such as zero, carry or negative.
  • Clock: a crystal oscillator that produces regular pulses to step the CPU through its operations. Its frequency (MHz or GHz) is one measure of speed.
  • Memory: holds the program and the data. Each location has a numbered address. With n address lines the CPU can reach 2n locations — 16 lines address 65 536 (64 K).
  • Input/output (I/O): interfaces that connect the computer to the outside world — on aircraft, ARINC 429 or AFDX bus interfaces, discrete inputs and outputs, analogue-to-digital and digital-to-analogue converters, display and keyboard interfaces, and the data-loader port.
  • Buses: the address bus (one-way, from the CPU), the data bus (two-way) and the control bus (read/write, clock, interrupt and reset signals). An interrupt makes the CPU stop what it is doing to deal with an urgent event.
  • How a program runs: the CPU repeats a fetch–decode–execute cycle — fetch the instruction whose address is in the program counter, decode it, execute it, then move on. (Details of microprocessor operation are B2 knowledge, sub-module 5.7.)

Memory devices

The memory family Memory Volatile — RAM lost when power is removed Non-volatile kept without power Mass storage large, slower, removable SRAM flip-flops · fast · no refresh DRAM capacitors · dense · needs refresh ROM mask-programmed at the factory PROM user programs once (fuses) EPROM erased by UV light (window) EEPROM erased electrically, byte by byte Flash electrically, in blocks · loadable SW Magnetic hard disk, tape Optical CD, DVD Solid-state SSD, memory cards
Memory devices. RAM is read/write working memory and is volatile. The ROM family is non-volatile and differs in how it is written and erased — from factory-programmed ROM to EEPROM and flash, which can be rewritten in the circuit. Mass storage holds large amounts of data more slowly.
TypeVolatile?How it is writtenHow it is erasedTypical use
RAM (random-access memory)YesRead and write freely, any location in the same timeOverwritten; lost at power-offWorking data, variables
Static RAM (SRAM)YesEach bit in a flip-flop—Fast; caches and registers; no refresh
Dynamic RAM (DRAM)YesEach bit as charge on a tiny capacitor—Dense and cheap, but must be refreshed thousands of times a second
ROM (read-only memory)NoMask-programmed when the chip is madeCannot be erasedFixed programs in large quantities
PROM (programmable ROM)NoProgrammed once by the user, by blowing fuse linksCannot be erasedOne-time programmable firmware
EPROM (erasable PROM)NoProgrammed in a programmerBy ultraviolet light through a quartz window — all at onceOlder avionics software (window covered by a label)
EEPROM (electrically erasable PROM)NoIn the circuitElectrically, byte by byteConfiguration, calibration, fault logs
FlashNoIn the circuitElectrically, in blocksField-loadable software, databases, memory cards
  • Volatile memory loses its contents when power is removed; non-volatile memory (NVM) keeps them. Avionics computers keep their fault history, configuration and calibration data in NVM so that it survives a power-down — which is why BITE can tell you what happened on the last flight.
  • Access time is the time to read a location; capacity is the number of bits or bytes stored. Some LRUs use battery-backed RAM; its battery is a maintenance item.
  • Mass storage holds large amounts of data more slowly: magnetic (hard disks, tape — moving parts, sensitive to vibration and magnetic fields), optical (CD, DVD — read by laser) and solid-state (SSDs, CompactFlash, SD and PCMCIA cards — no moving parts, robust). Aircraft use them for quick-access recorders, maps, documentation, cabin entertainment and data loading.

Computer technology in aircraft systems

An avionics computer (LRU) front fault pass test Power supply hold-up capacitors Processor CPU, RAM Memory flash · NVM I/O 429 · discretes I/O ADC / DAC rear connector (ARINC 600) program pins set its position / options cooling air from the avionics ventilation system data-loader port (ARINC 615 / 615A)
Inside an avionics computer. A line-replaceable unit (LRU) holds a power supply that rides through short interruptions, a processor card, memory (including non-volatile fault memory) and input/output cards. It slides into a rack, plugs into a rear connector whose program pins tell it where and how it is installed, and is cooled by forced air. Front-panel or remote BITE reports its health.
  • LRUs: avionics computers are line-replaceable units in standard cases (ARINC 600, older ARINC 404 'ATR' sizes) that slide into racks in the electronics bay, with a rear connector and forced-air cooling. A failed unit is changed on the line and repaired in the shop.
  • Architecture: in a federated system each function has its own computer. In integrated modular avionics (IMA) several functions share common processing modules (Chapter 13).
  • Redundancy: critical functions use two or three computers, or command and monitor channels inside one computer, which compare their results and disconnect if they disagree. Flight control computers may use dissimilar processors and software so that one design error cannot affect them all.
  • BITE (built-in test equipment): computers test themselves at power-up and continuously, store faults in NVM and report them to a central maintenance computer (Chapter 12). A watchdog timer resets or fails the computer if its software stops running normally.
  • Program pins on the rear connector are wired (grounded or open) in the aircraft to tell a computer its position (left or right, engine 1 or 2) and which options are fitted, so the same part number can be used in several positions.
  • Power: power supplies contain hold-up capacitors to ride through the brief interruptions that occur when electrical buses transfer; longer interruptions cause a controlled restart.
  • Software loading: most computers now hold their programs in flash memory and are loaded on the aircraft with a data loader (Chapter 10). Software and hardware part numbers must match the approved configuration.
  • Computers contain static-sensitive devices (Chapter 9) and need their cooling air — an overheated LRU is a common source of intermittent faults.
B2 extension — 5.7 and 5.8

Microprocessors (5.7): how the control unit, clock, registers and ALU work through each instruction. Integrated circuits (5.8): decoders turn a binary code into one active output — for example selecting one memory chip from the address bits — and encoders do the reverse, such as the priority encoder in a flash ADC (Chapter 3). These are examined at B2 level.

Exam traps

RAM is volatile; ROM, PROM, EPROM, EEPROM and flash are not. EPROM is erased by ultraviolet light, EEPROM electrically. PROM can be programmed only once. DRAM needs refresh; SRAM does not. The address bus is one-way, the data bus two-way.

🧠 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 →