Inside the Cockpit

How Flight Works

Chapter 8 ยท Inside the Cockpit

How Flight Works 7 ended at cruising speed, with the Mach number as the figure that matters. This chapter moves to the front of the aircraft and asks how the crew know what the aircraft is doing, how they tell it where to go, and why a flight deck runs on checklists. If you have worked on a support desk, parts of this will feel familiar.

What was run, and what to trust
Every Python snippet in this chapter and in the three exercise solutions was executed, and the output in the comments is what Python printed. The figures (speeds, miss chances, gains) are round illustrative numbers, not data for any particular aircraft or airline. I did not run a fresh web check for this chapter, so treat the history and descriptions as standard textbook material and check a manufacturer or regulator source before quoting any of it. This is passenger-level explanation, not operating guidance.

The Six Dials and the Screen

Early cockpits were walls of separate round dials. Pilots learned to scan a core set: the airspeed indicator, the altimeter, the attitude indicator (the artificial horizon showing nose and wing angle), the heading indicator, the vertical speed indicator and a turn indicator. They exist because, in cloud or darkness, the human body cannot tell which way is up, so the instruments have to do it (How Flight Works 4 covered the three axes they track).

Two of these are simple pressure instruments. The airspeed indicator compares the pressure of air forced into a forward-facing tube with the surrounding pressure, which is a measure of how hard the air is pushing, the same quantity that drives lift (How Flight Works 1). The altimeter measures the surrounding pressure and converts it to height with a standard model of the atmosphere. The model below prints that standard pressure at a few heights.

def pressure(h_m): return 1013.25 * (1 - 2.25577e-5 * h_m) ** 5.25588 for h in (0, 1000, 5000, 11000): print(h, "m ->", round(pressure(h)), "hPa") # 0 m -> 1013 hPa # 1000 m -> 899 hPa # 5000 m -> 540 hPa # 11000 m -> 226 hPa

The weakness is obvious: the altimeter really measures pressure, and the weather changes pressure from day to day, so pilots set the local pressure on the instrument. Exercise 2 shows how large the error is if the setting is wrong.

The Glass Cockpit

From the 1980s the separate dials were replaced on many aircraft by flat screens. The same information is drawn by software: attitude, speed, altitude and heading on a primary display, with a map, engine data and system status on others. A screen can show many more things than a dial, can show only what matters at that moment, and can colour or highlight a problem. Computers also took over the sensing: small units measure air pressure and motion and feed them to every display, so the crew sees one consistent picture.

CockpitInformationCompared with
Round dialsone dial per quantity, read by scanningan old server rack with a light for each fault
Glass cockpitscreens that combine and prioritise dataa modern monitoring dashboard

Autopilot

An autopilot is a control loop, much like a thermostat. It compares what the aircraft is doing with what was asked for, and moves the controls to shrink the difference. Pilots tell it a target altitude, heading or speed, and it does the steady work of holding it. It does not replace the crew; it frees them to monitor, plan and deal with the unexpected.

The key design number is how hard it reacts, called the gain. The model below holds a target height of 10,000 m starting 300 m below it, with a gain of 0.2.

target, alt, climb = 10000.0, 9700.0, 0.0 GAIN = 0.2 for sec in range(0, 61, 10): print(sec, "s -> altitude", round(alt), "m") for _ in range(10): climb = GAIN * (target - alt) * 0.1 + climb * 0.5 alt += climb # 0 s -> altitude 9700 m # 10 s -> altitude 9795 m # 20 s -> altitude 9866 m # 30 s -> altitude 9913 m # 40 s -> altitude 9943 m # 50 s -> altitude 9963 m # 60 s -> altitude 9976 m

The aircraft eases up to the target and slows as it arrives, which is what a passenger wants: no sudden climb or drop. Exercise 3 compares gains. Too low, and the aircraft is sluggish. Too high, and it overshoots and hunts around the target.

Fly-by-Wire

On older aircraft the pilot's controls moved the surfaces through cables, then through hydraulics. In a fly-by-wire aircraft the pilot's stick or yoke is a sensor: its movement is read by computers, which then command electric or hydraulic actuators on the surfaces (How Flight Works 4). The computers sit between the pilot and the aircraft.

That brings real advantages. The computers can smooth out rough air, keep the aircraft within safe limits of angle and load (so that a stall, as in How Flight Works 3, is much harder to reach), and allow designs that are unstable on purpose and so more manoeuvrable, as some fighters are (How Flight Works 6). They also cut weight, with wires replacing heavy linkages. The cost is that the software is now part of the safety case, so the systems are duplicated several times over, with computers checking each other and a vote taken when they disagree. This will sound familiar to anyone who has designed for redundancy and failover.

Common misconception
"Modern planes fly themselves, so the pilots do nothing." The automation holds the aircraft steady, but the crew decide what it should do, watch for faults and mismatches, handle weather and traffic, and take over when the automation reaches its limits. The skills have moved from hand-flying to monitoring and decision-making, which is demanding in its own way.

How a Pilot Finds the Way

Before satellites, navigation meant dead reckoning: from the speed, heading and time since the last known position, work out where you must be. The wind is the complication, because the air itself is moving over the ground. To follow a straight track in a crosswind, the aircraft has to point partly into the wind, which is why the nose and the track do not agree. The model below finds the angle for a 60 km/h crosswind and an aircraft airspeed of 800 km/h.

from math import sin, asin, radians, degrees # Dead reckoning: heading needed to hold a track in a crosswind TAS, WIND, ANGLE = 800.0, 60.0, 90 # km/h, km/h, wind direction relative to track wca = degrees(asin(WIND * sin(radians(ANGLE)) / TAS)) print("correct into the wind by about", round(wca, 1), "degrees") # correct into the wind by about 4.3 degrees

Modern aircraft add radio beacons, inertial systems that sense every acceleration, and satellite positioning, and a flight management computer combines them into one position, plans the route, and offers it to the autopilot to fly. The crew still keep the old skill of asking, "does this make sense?", and compare the screen with the clock, the map and the radio. Routes and the radio roads they follow are the subject of How Flight Works 9.

Checklists: Reliability Made Visible

The most important piece of technology in the cockpit is made of paper or a screen. In 1935 a new bomber crashed on a test flight with experienced crew, because it was complicated enough that one step was missed. The response was not more training alone but a short list of items to be done and checked in order. Checklists have been used ever since, and the habit spread into surgery, construction and software operations.

The reason is simple. People forget things, especially when busy, interrupted, or doing a task they have done a thousand times. A checklist does not make the pilot cleverer; it removes reliance on memory at the moments when memory is weakest. A challenge-and-response style, where one person reads the item and the other checks and replies, adds the second pair of eyes. The model below compares one person against two for lists of 10 and 30 items, with a 2 per cent chance of missing any step.

P_MISS = 0.02 # chance one person misses one step for steps in (10, 30): one = (1 - P_MISS) ** steps two = (1 - P_MISS * P_MISS) ** steps print(steps, "steps: one reader", round(one * 100, 1), "% all done, two checkers", round(two * 100, 2), "%") # 10 steps: one reader 81.7 % all done, two checkers 99.6 % # 30 steps: one reader 54.5 % all done, two checkers 98.81 %

A second checker turns an unreliable process into a very reliable one, which is the idea behind change reviews and runbooks on a support desk. Real people are not perfectly independent, so the true gain is smaller; Exercise 1 explores the effect of the numbers. Cockpits also use a related idea: crew members are trained to speak up, to say what they see, and to cross-check each other, because a good process lets the junior voice be heard.

From the Passenger Seat

The chimes and the soft "ding" you hear are usually the crew or the system signalling between cabin and cockpit. A pause after boarding often means a checklist and a cross-check, not a fault. If you see the crew reading from a card or screen before takeoff, that is the process doing its job.

Challenges

Exercise 1

For a 20-step checklist, compare one reader against two independent checkers when the chance of missing a step is 1, 2 and 5 per cent. What does it tell you about when a second check is most worth having?

๐Ÿ“„ View solution
Exercise 2

An altimeter setting is wrong by 1, 5, 10 and 20 hPa. How many metres and feet does the displayed height change, using the standard model in this chapter? Why does it matter more near the ground?

๐Ÿ“„ View solution
Exercise 3

Run the altitude-hold model for 60 seconds with gains of 0.05, 0.2 and 1.5. Which settles best, which is slow, and which overshoots? What would a passenger feel in each case?

๐Ÿ“„ View solution

Quick Reference

  • Core instruments: airspeed, altitude, attitude, heading, vertical speed, turn
  • Glass cockpit: software-drawn screens replace separate dials
  • Autopilot: a control loop that shrinks the gap between target and actual; the gain sets how hard it reacts
  • Fly-by-wire: computers sit between the pilot's controls and the surfaces, adding limits and smoothing
  • Checklists: remove reliance on memory; a second checker raises reliability sharply
Coming next
How Flight Works 9 looks at air traffic and the invisible roads: airways, flight levels, controllers, transponders and how airports sequence landings.