1. Learning Objectives
By the end of this tutorial, the student should be able to:
- Explain the need for switching in a telephone network and quantify the full-mesh interconnection problem.
- Describe the operation of a manual exchange: magneto and central-battery systems, jack fields, cord circuits, plugs, and the operator's role in call establishment.
- Explain the construction and operation of the Strowger step-by-step (SXS) automatic exchange — line finders, selectors, connectors — and how dial pulses drive the switches.
- Describe the crossbar switch: the horizontal/vertical matrix, electromechanical crosspoints, and the use of common control (registers and markers).
- Compare step-by-step and crossbar switching systems in terms of speed, control method, reliability, and cost.
- Analyse space-division switching networks: compute crosspoint counts, distinguish blocking from non-blocking networks, and appreciate two-stage (tandem) design.
- Apply basic traffic theory — the Erlang as a unit of telephone traffic and the Erlang-B loss formula — to sizing problems and grade-of-service calculations.
- Solve quantitative problems on link counts, crosspoint counts, and switch dimensioning typical of analog telephone switching.
2. Why Switching Is Needed
A telephone network exists so that any subscriber can talk to any other subscriber, on demand, for the duration of a call. Suppose an exchange serves N subscribers. The obvious way to give everyone access to everyone else is to run a dedicated pair of wires between every possible pair of users — a full mesh network.
The arithmetic is brutal: 5 subscribers need 10 links; 100 subscribers need 4,950 links; 10,000 subscribers need nearly 50 million. A switching system replaces this with a star: each subscriber needs one loop to the exchange, and the exchange temporarily connects the calling party's loop to the called party's loop for the duration of the call.
2.1 Call setup sequence — animated
The sequence below shows the standard loop-start call flow. Press Play to animate the playhead through the milestones.
2.2 The three basic functions of a switching system
- Interconnection: establish a temporary physical speech path between two ports (the "switching fabric").
- Control: decide which path to set up, using the dialled address — historically by operators, then by electromechanical registers and markers, and later by stored-program computers.
- Signalling / supervision: detect requests (off-hook), receive the address (dial pulses or DTMF), alert the called party (ringing), detect answer and clearing, and time the call for charging.
3. Manual Switching (1878 – c.1920s)
The first exchanges were manual: a human operator was the control system. The exchange contained a jack field — one jack (socket) per subscriber line — and each operator position had several cord pairs, each cord ending in a plug. To connect A to B, the operator plugged one end of a cord pair into A's jack and the other into B's jack, then rang B.
3.1 Animated cord-circuit demonstration
Press Connect call to watch the operator connect caller jack 3 to called jack 6, then ring. Reset restores the board.
3.2 Magneto vs. central-battery systems
| Aspect | Magneto system (1878–1890s) | Central battery (CB) system (from 1890s) |
|---|---|---|
| Power source | Local battery at each telephone; hand-cranked magneto generator for ringing | Common −48 V battery at the exchange powers all telephones |
| Signalling | Crank the magneto → lamp lights at exchange | Lifting the handset closes the loop → lamp lights |
| Subscriber burden | Heavy: maintain battery, crank to call | Light: no local battery, no crank |
| Speech range | Limited by local battery | Extended by exchange-fed power and better cords |
3.3 The operator's call sequence
- Subscriber A lifts handset → A's lamp lights and the operator answers on a cord circuit.
- A gives the number; the operator tests the called line (busy lamp?) and plugs the calling cord into B's jack.
- The operator rings B (ringing key) and supervises both cords for answer/clearing via lamps.
- Both parties hang up → lamps extinguish; the operator removes both plugs.
3.4 The cord circuit
Each cord pair included, besides the two conductors, a supervisory lamp (lit when the associated subscriber was off-hook) and a ringing key. In central-battery working the cord circuit completed the DC loop so both telephones were powered through the exchange battery via the cords.
4. Automatic Switching I: Step-by-Step (Strowger, SXS)
In 1891 Almon B. Strowger patented the first commercially successful automatic telephone exchange. The central idea: the subscriber's own dial pulses directly drive electromechanical switches, each pulse physically stepping a switch mechanism — hence direct control, step-by-step, or SXS switching.
4.1 Animated two-motion (up-and-around) switch
A Strowger selector raises its shaft by the dialled digit, then rotates ("hunts") to the first free contact. Choose a digit (1–9) and press Dial digit to watch the shaft step up on each pulse and then sweep around the bank.
4.2 The two-motion principle, described
A Strowger selector consists of a vertical shaft carrying a wiper, a bank of fixed contacts arranged in a semi-cylinder of levels (rows) and arcs (columns). For each dialled digit:
- The first pulses raise the shaft to the level equal to the digit (vertical motion).
- A release mechanism then lets the shaft rotate (self-drive) until the wiper lands on the first free contact in that level — automatic hunting.
4.3 The three switch types in an SXS exchange
| Switch | Function | Control |
|---|---|---|
| Line finder | Finds the calling subscriber's line among 100–200 lines and seizes a first selector | Self-hunting on off-hook; the subscriber's line is the input |
| (First / second / group) selector | One per digit of the exchange code: steps vertically by the dialled digit, hunts to an idle outlet | Driven directly by dial pulses |
| Connector (final selector) | Connects to the called subscriber's line; performs ringing and supervision | Driven by the final digits of the number |
4.4 Characteristics of SXS
- Direct control: the customer's dial directly operates the switches — no separate central intelligence. The "processor" is distributed along the path.
- Progressive control: each switch acts on the digit as it arrives; the path is built digit-by-digit, in real time.
- Equipment access time: each stage needs ~10 ms per pulse plus hunt time — SXS is slow (~10–20 s call setup for long numbers) and clicks audibly.
- Universality of equipment: every switch is the same basic mechanism, cheap to manufacture and maintain; but every stage of every call ties up its switches and inter-stage trunks for the whole call.
5. Automatic Switching II: Crossbar (XB)
The crossbar switch (first deployed in the 1930s; Sweden's 1939 exchange was a landmark) overcame the main SXS weaknesses — mechanical slowness, wear, and rigid progressive control. Instead of a wiper stepping over a contact bank, crossbar uses a rectangular matrix of contact points operated at the intersections of horizontal and vertical bars.
5.1 Animated crossbar matrix
Choose a horizontal bar and a vertical bar, then press Close crosspoint: the horizontal bar energises first, then the vertical bar, and their intersection crosspoint closes (green) and latches. Demo closes three crosspoints in sequence automatically.
5.2 Common control: registers and markers
The decisive advance of crossbar was separating the control from the switching fabric:
- A register receives and stores the whole dialled number (interrupted dial pulses are regenerated — the caller may dial at any speed).
- A marker (the "brain", later duplicated for reliability) interprets the stored number, tests which paths are free, and operates the precise set of crosspoints needed — typically within ~1 second — then releases itself for the next call.
- Because control equipment is only needed briefly, one marker serves hundreds of calls per hour, instead of every call occupying dedicated control equipment as in SXS.
5.3 Advantages over step-by-step
- Faster call setup (≈1 s vs 10–20 s), no dependence on customer's dialling speed.
- Fewer moving parts per connection; crosspoints don't hunt or wipe — less wear, lower noise.
- Flexible numbering and routing can be changed by rewiring the marker's translation, not the plant.
- Better trunk utilization: markers choose free paths, enabling graded multiple and alternate routing.
6. Step-by-Step vs. Crossbar: Comparison
| Attribute | Step-by-Step (Strowger) | Crossbar |
|---|---|---|
| Control principle | Direct, progressive — dial pulses operate each switch | Indirect (common control) — register + marker set up the whole path |
| Setup time | 10–20 s (depends on subscriber's dialling speed) | ~1 s (independent of dialling speed) |
| Switching element | Rotary wiper stepping over contact bank (2 motions) | Matrix crosspoint closed by horizontal + vertical bar |
| Path selection | Fixed by digit structure; hunts only within one level | Marker tests many routes; graded multiples, alternate routing |
| Wear / maintenance | High (wipers arc, banks wear); noisy | Lower; contacts close cleanly and latch only during selection |
| Cost profile | Low per-line cost; expensive in trunks for large exchanges | Higher control cost, but efficient trunk use at scale |
| Flexibility | Rigid numbering; changes require plant rewiring | Translation tables in markers; easier administration |
| Era | 1891–1970s (many rural plants still ran into the 1990s) | 1930s–1970s, superseded by electronic (SPC) exchanges |
7. Space-Division Switching Networks
Both SXS banks and crossbar matrices are space-division fabrics: each simultaneous conversation owns a distinct physical path through the switch. The basic building block is a rectangular matrix.
7.1 The N × N matrix and its crosspoint count
For large N, N² is unacceptable. The classic economy is the two-stage tandem: split the N inlets into groups; share a small number of middle links between first- and second-stage matrices. Crosspoints drop toward O(N√N), but a call can now be blocked when all middle links are busy even though the outlet is idle.
7.2 Animated blocking demonstration
Network: 8 inlets (1–8), two first-stage groups of 4, 3 middle links per group. Press Run demo to route four calls; the fifth is blocked even though its outlet is free — watch the red dot.
7.3 Blocking vs. non-blocking
- Non-blocking: an idle inlet can always reach an idle outlet, whatever else is going on (e.g. a full square matrix, or a properly dimensioned Clos three-stage network with enough middle links).
- Blocking (loss) system: some idle inlets cannot reach some idle outlets at certain traffic levels; blocked calls are simply lost (they retry). Dimensioning targets a small grade of service, e.g. B ≤ 0.01 (1 lost call per 100 offered).
8. Telephone Traffic and Grade of Service
8.1 The Erlang
Telephone traffic intensity is measured in erlangs (E): one erlang is one circuit permanently busy. The offered traffic on a group of N circuits is:
Example: 300 calls/hour averaging 3 minutes each ⇒ A = 300 × (3/60) = 15 E. Fifteen circuits would be 100% loaded; in practice far fewer… no — more circuits than the mean are provided with spare capacity determined by the grade of service: the art is choosing N small enough to save money but large enough to keep blocking acceptable.
8.2 Live Erlang-B simulation
Set the number of circuits N and the offered traffic A (erlangs), then press Simulate. Calls arrive randomly (Poisson); a call seizes a free circuit (green) for a random holding time, or is lost (red) if all circuits are busy. The measured blocking approaches Erlang-B as the run grows.
8.3 Erlang-B (lost-call) formula
This gives the probability that a call is lost when N circuits carry offered traffic A (blocked calls cleared, Poisson arrivals). Typical engineering targets: B = 0.01 for inter-exchange trunks, 0.001–0.002 for high-usage routes.
| Offered traffic A (E) | GoS B = 0.01 circuits | GoS B = 0.001 circuits |
|---|---|---|
| 1 | 5 | 7 |
| 5 | 11 | 15 |
| 10 | 18 | 24 |
| 20 | 30 | 38 |
| 50 | 64 | 76 |
| 100 | 117 | 134 |
Reading the table: to carry 20 E at 1% GoS you need only 30 circuits — each circuit carries 0.67 E on average. This concentration gain is why the public network can serve thousands of subscribers with hundreds of trunks: subscribers don't all call at once.
9. Worked Examples
Example 9.1 — Full-mesh versus exchange links
A campus has 500 telephone extensions to interconnect. (a) How many dedicated links would a full mesh require? (b) How many links with a single exchange?
Solution: (a) L = 500 × 499/2 = 124,750 links. (b) L = 500 loops — about 250 times fewer. This is why every real telephone network switches.
Example 9.2 — Crosspoint count
(a) A 100 × 100 single matrix uses how many crosspoints? (b) A two-stage design: ten 10 × 10 first-stage matrices feeding a 10 × 10 second stage — total crosspoints?
Solution: (a) 100² = 10,000 crosspoints. (b) Stage 1: 10 × 100 = 1,000; stage 2: 10 × 100 = 1,000. Total = 2,000 crosspoints — an 80% saving, at the price of internal blocking on the 10 middle links per inlet group.
Example 9.3 — Erlang traffic and circuits
A toll route receives 600 calls/hour with mean holding time 120 s. Find the offered traffic. How many circuits are needed for B = 0.01?
Solution: h = 120 s = 1/30 h ⇒ A = 600 × (1/30) = 20 E. From the Erlang-B table: 30 circuits at 1% GoS.
Example 9.4 — SXS switch stages
In a step-by-step exchange, a subscriber dials 6-2841: digit 6 routes to a particular outgoing group (selector stage 1), 2 to a second selector level, 8 to the connector's level, and 4, 1 step the connector to the called line. How many switch stages does the call pass through after the line finder?
Solution: First selector + second selector + connector = 3 stages (four counting the line finder), each stepped directly by the corresponding dialled digit — classic progressive direct control.
Example 9.5 — Effect of GoS
Using the table: how many extra circuits are required to improve a 50 E route from B = 0.01 to B = 0.001?
Solution: 76 − 64 = 12 extra circuits (≈19% more) to lose 10× fewer calls — illustrating the sharply rising cost of very high grades of service.
10. Interactive Learning Aid — Switching & Traffic Calculator
Tool A — Mesh vs. Star
Tool B — N × N Crosspoints & Two-Stage Design
Tool C — Erlang-B Trunk Sizing
11. Summary
- Without switching, interconnecting N subscribers needs N(N−1)/2 links; a single exchange reduces this to N loops plus one switching fabric — the economic foundation of telephony.
- A switching system provides interconnection, control, and signalling/supervision.
- Manual exchanges used jack fields, cord pairs, plugs, and lamps, with the operator as the control system; magneto systems gave way to central-battery (CB) working.
- Step-by-step (Strowger) switching gave direct, progressive control: dial pulses physically stepped line finders, selectors, and connectors. Simple and cheap, but slow, noisy, and inflexible.
- Crossbar switching used a matrix of horizontal/vertical bars closing individual crosspoints under common control (registers + markers) — faster, more reliable, and administratively flexible.
- Space-division fabrics trade crosspoint count against blocking: full N × N matrices are non-blocking but cost N²; multi-stage designs cut the count steeply at the price of internal blocking, engineered with Erlang-B to a target grade of service.
- Traffic A = λh erlangs; the Erlang-B lost-call formula sizes circuit groups (e.g. 20 E at 1% GoS ⇒ 30 circuits).