Egerton University • Electrical & Electronic Engineering Department

Principles of Private Branch Exchange (PBX)

ECE 462 — Analog Communication Systems

4th Year Undergraduate Lecture Slides

ArchitectureBORSCHT SwitchingSignalling Traffic (Erlang)Digital & IP Evolution
Egerton University1

Learning Objectives

By the end of this lecture you should be able to:

  1. Explain what a PBX is, why organisations deploy it, and where it sits between users and the PSTN.
  2. Identify the five functional blocks of a PBX and describe the role of each.
  3. Describe the BORSCHT functions performed at every extension line interface.
  4. Explain space-division and time-division switching and the role of the control processor in call processing.
  5. Describe subscriber-loop signalling: off-hook supervision, DTMF dialling and ringing cadence.
  6. Apply basic traffic engineering (erlangs, grade of service, Erlang B) to size trunks.
  7. Trace the evolution from analog PBX to digital PBX and the modern IP-PBX.
Prerequisite: amplitude/frequency modulation, telephone channel (300–3400 Hz), basic circuit theory.
Principles of PBX2

What Is a Private Branch Exchange?

A Private Branch Exchange (PBX) is a telephone exchange owned by an organisation and located on its premises. It:

  • switches calls between its own extensions (internal calls, free of charge), and
  • connects extensions to the public network through a small number of shared trunk lines.
Analogy: a mini central office (CO) dedicated to one organisation — the same switching principles, scaled down and privately owned.
Customer’s premises Extension telephones internal calls — no telephone company charge PRIVATE BRANCH EXCHANGE switching & control equipment privately owned by the customer trunk (junction) lines rented from the telephone company CENTRAL OFFICE (MAIN EXCHANGE) public switched telephone network (PSTN) external (toll) calls
One exchange serves many extensions; only trunks reach the PSTN.
Principles of PBX3

Why Does an Organisation Install a PBX?

Traffic sharing in action: 100 extensions rarely make external calls at the same instant — statistical sharing means ~10–15 trunks serve them (formalised by Erlang B, Slide 15).
Without a PBX: every phone needs its own CO line — 100 phones = 100 rented lines, 100 numbers, no free internal calls, no internal features.
Direct CO linesPBX
Lines to telco (100 users)10010–15 trunks
Internal call costPSTN tariffFree (on-premises)
Internal featuresNoneFull feature set
Principles of PBX4

Evolution of the PBX

Manual switchboard “number please” Electromechanical Strowger step-by-step, crossbar Electronic analog stored-program control, SPC Digital PBX PCM/TDM switching, ISDN IP-PBX VoIP on LAN, SIP trunks Cloud / UC hosted PBX, unified comms
Technology changed; the principles (lines, trunks, switching, signalling, traffic) did not.
Principles of PBX5

The PBX in the Telephone Network

Customer’s premises Extensions extension (station) lines PRIVATE BRANCH EXCHANGE concentrates the extensions’ traffic onto a few trunks junction (trunk) lines CENTRAL OFFICE (local exchange) terminates subscriber loops and routes calls onward other subscribers’ loops to other exchanges (toll network)
  • The local loop is the copper pair from the CO to the client's premises.
  • At the premises, the loop terminates on the PBX trunk interface; the PBX then fans out to many extensions over internal wiring.
  • The CO sees the PBX as a (small) business customer with several lines — it does not see the extensions.
  • Incoming calls arrive on trunks and are routed by the PBX control unit to the right extension.
Vocabulary: extension = internal line; trunk = external line; port = physical interface position on the PBX.
Principles of PBX6

PBX Functional Architecture (Five Blocks)

Extension station sets PRIVATE AUTOMATIC BRANCH EXCHANGE (PABX) extension (line) pairs Line circuits (BORSCHT) Switching network Control unit (processor) Trunk circuits Power plant −48 V DC + battery junctions Central office (public exchange) speech path control (signalling) path
Every block is specified and sized during system design (capacity, power, cabling).
Principles of PBX7

The Line Interface: BORSCHT Functions

Each extension's copper pair must be conditioned before it meets the switch. Seven functions — mnemonic B·O·R·S·C·H·T:

Fn.PurposeKey values
Battery feedDC power to the telephone set−48 V, 20–40 mA loop current
Overvoltage protectionLightning / power-contact surge protectiongas tubes, solid-state protectors
RingingAlert the called phone~75 V AC @ 20/25 Hz, superimposed on DC
SupervisionDetect off-hook / answer / disconnectloop current on/off transitions
CodecAnalog↔digital conversion (digital PBX)PCM A-law, 64 kbit/s per channel
Hybrid2-wire ↔ 4-wire conversiontrans-hybrid loss > 30 dB
TestRemote line testingloop-back, balance, foreign voltage
Telephone Oprotect Bbattery Ssupervise Rring Hhybrid Ccodec Ttest tomatrix One chain per extension — today integrated in a SLIC/SLAC chip
Principles of PBX8

The Switching Matrix

Space division (analog PBX)

Physical crosspoints (relays, then electronic gates) connect an input to an output for the whole call. An N × M matrix needs N×M crosspoints — expensive for large systems.

Time division (digital PBX)

All calls share one highway: each call is sampled (PCM) and assigned a repeating time slot. Capacity = slots per frame × frames — the matrix is a memory, not a wire grid.

Non-blocking vs blocking: good PBX design keeps the matrix non-blocking — an idle output always exists for an idle input.
INPUTS OUTPUTS Ext lines Trunks Ext out Ext out Ext out Ext out closed crosspoints = active calls
4 × 5 space-division crossbar: any input can reach any output.
Principles of PBX9

Control Unit & Call Processing

The stored-program processor is the "brain". A basic internal call passes through standard phases:

  1. Idle scanning — periodically test all lines for off-hook.
  2. Seizure — caller goes off-hook; PBX returns dial tone.
  3. Receiving digits — collect DTMF/pulse digits; timer on first digit.
  4. Analysis — internal? trunk? barred? route chosen.
  5. Setup — find idle output + matrix path; ring called party; send ring-back tone.
  6. Supervision — on answer: connect speech path, start charging (if external).
  7. Clear-down — either party hangs up: release path, stop charging, restore idle.
OFF-HOOK detected Send DIAL TONE COLLECT digits (DTMF) ANALYSE & route RING called party + ring-back ANSWER → speech path ON Hang-up → release & charge
Call-processing phases for one internal call.
Principles of PBX10

Trunk Interfaces: Connecting to the Outside World

Trunk typeCapacitySignallingTypical use
Analog CO line (FXO)1 callloop/ground start, DTMF, metering pulses or polarity reversal for chargingsmall sites, backup
E1 (2.048 Mbit/s)30 channelsISDN PRI (Q.931) or R2/MFC CAShotels, campuses
SIP trunkby bandwidthSIP over IP, ~90 kbit/s/callmodern IP-PBX
CO / Telco lines TRUNK INTERFACE CARD protector+ earthing supervisionanswer/disconnect metering /CLI decode codecPCM 64k (E1) PBX switch matrix Every trunk leaving the building must be surge-protected and earthed
Charging (billing) inputs: metering pulses (12/16 kHz), polarity reversal on answer, or time-based billing computed from the call record (CDR) on digital systems.
Principles of PBX11

The Subscriber Loop & Loop Signalling States

The two-wire loop between the PBX line card and the telephone carries power, signalling and speech on the same pair — separated by frequency and DC state:

  • On-hook: loop open → no DC current; phone idle.
  • Off-hook (seizure): loop closed → ~20–40 mA flows; PBX notices and returns dial tone.
  • Dialling: DTMF tones (voiceband) or loop interruptions (pulse) carry the digits.
  • Ringing: 75 V AC @ 20/25 Hz; phone rings only when on-hook (ring interrupted by off-hook).
  • Speech: voiceband 300–3400 Hz superimposed on the −48 V DC feed.
Loop limit: the line card must still feed enough current at maximum distance — check Rloop = 2×L×ρ against V/Imin.
DC loop current vs. time I t pulse dial speech off-hook (call) 75 V AC ring burst same pair carries: DC feed + loop signalling + AC ringing + voiceband speech
Loop states on one extension pair over a call's lifetime.
Principles of PBX12

DTMF Signalling (ITU-T Q.23)

Dual-Tone Multi-Frequency: each key sends two simultaneous sinusoids — one from the low group, one from the high group. The PBX's decoder measures both frequencies to identify the digit.

  • Why two tones? 16 codes from only 8 oscillators; excellent noise immunity.
  • Specs: twist (level difference) ≤ 6 dB; tone ≥ 40 ms; inter-digit gap ≥ 40 ms.
  • Compared with pulse (10 pps) dialling: faster, immune to pulse-counting errors, allows menu-driven services.
ECE 462 link: DTMF is a simple form of frequency-division signalling — two carriers transmitted simultaneously and separated by filtering at the receiver.
DTMF SIGNALLING PLAN (ITU-T Q.23) 1209 Hz 1336 Hz 1477 Hz 1633 Hz 1 2 3 A 4 5 6 B 7 8 9 C * 0 # D 697 Hz 770 Hz 852 Hz 941 Hz rows = low-frequency group • columns = high-frequency group each digit = one row tone + one column tone WAVEFORMS FOR DIGIT “5” row tone: 770 Hz column tone: 1336 Hz sum transmitted on the loop the PBX decoder filters the two tones and recovers the digit
Principles of PBX13

Ringing Generation & Cadence

  • Ring voltage: ~75 V AC at 20 or 25 Hz, superimposed on the −48 V DC feed.
  • Generated centrally in the PBX and switched to the called pair by the line card.
  • Cadence (typical Kenya / ITU): 1 s ON, 4 s OFF (2 s ON, 4 s OFF in some networks).
  • Ring-back tone heard by the caller mimics the cadence; CLI (FSK burst) is sent between the first and second ring.
  • Loading: each phone = ~1 REN (Ringer Equivalence Number); the generator must supply the sum of simultaneously ringing phones.
Design caution: a hunt group in which 10 phones ring together loads the ring generator with 10 REN — check the card's REN budget before programming ring-all.
Ring cadence: 1 s ON / 4 s OFF 75 V AC 1 s ON 4 s OFF 5 s cycle → 20 Hz bursts inside "ON" ring detected → off-hook stops the ring feed instantly
Principles of PBX14

Traffic Engineering: Erlangs & Grade of Service

A = C × T / 3600   [erlangs]    |    B = (AN/N!) / Σk=0..N (Ak/k!)   (Erlang B)
  • 1 erlang = one circuit occupied continuously for one hour.
  • Grade of service (GoS) B = probability a call is blocked in the busy hour.
  • Design targets: 1% business; 0.5% emergency/hospital; up to 5% budget systems.
  • Planning figures: office user ≈ 0.15 E; hotel room ≈ 0.05 E; reception ≈ 0.8 E.
Example: 200 extensions × 0.15 E = 30 E total; 65% external ⇒ 19.5 E on trunks ⇒ Erlang B @ 1% ⇒ 30 trunks — exactly one E1 (30 channels)!
Trunks NTraffic carried @ 1% GoS
51.36 E
104.46 E
158.11 E
2012.0 E
30 (E1)20.3 E

Trunks get more efficient as N grows — large groups justify digital E1 trunks.

Principles of PBX15

Inside the Digital PBX: PCM & Time-Division Switching

  • Each analog extension is digitised: sampling 8 kHz × 8 bits = 64 kbit/s (PCM, ITU-T G.711 A-law).
  • E1 frame: 32 time slots × 8 bits, 125 µs frame → 2.048 Mbit/s; TS0 = framing, TS16 = signalling, 30 slots = speech.
  • TDM switch: write each input sample into a time-slot interchanger memory, read out in the order that realises the desired connection — a "switch in time".
  • Signalling on E1: ISDN PRI (D-channel, Q.931) or R2/MFC in-band CAS — common in African networks.
  • Digital switching gives: stable quality, easy conferencing/tones, computer-controlled features, simple billing records (CDRs).
E1 frame = 125 µs (32 slots × 8 bits) TS0 TS1 … TS15   TS17 … TS31 30 voice channels (64 kbit/s each) TS16 CAS signalling (or D-channel via PRI) TDM time-slot interchange inputs (slots in) speech memory control writes the read-out schedule outputs (slots out) connection = a repeating write/read schedule, changed by the call processor
Principles of PBX16

Power Plant: The −48 V DC Tradition

  • Telecom exchanges run on a −48 V DC bus: rectifiers float-charge the battery and feed the load — the battery is always in circuit, so mains failure causes zero interruption.
  • Why −48 V? safe touch voltage, low corrosion on positive-earth, compatible with legacy plant.
  • Battery sizing: C = P·t / (V·η·DOD) — e.g. 1 kW load, 8 h autonomy ⇒ ≈230 Ah at 48 V.
  • Rectifier modules installed N+1; alarms report mains failure and low battery to maintenance.
  • Grounding ≤ 5 Ω protects both people and line/trunk interfaces from lightning surges.
The PBX is judged during a blackout: a system that dies with the mains is considered failed, whatever its feature list.
Mains AC (or generator) Rectifiers 2 × 50 A (N+1) Battery 48 V / 300 Ah −48 V DC BUS PBX shelves line cards • trunk cards • control mains fail → battery holds the bus seamlessly mains return → rectifiers recharge (≤ 10 h) while carrying load
Principles of PBX17

From Digital PBX to IP-PBX & Convergence

  • An IP-PBX replaces circuit switching with packet switching: calls become RTP voice streams over the LAN/WAN.
  • Phones become SIP terminals (or legacy analog phones via media gateways with SLICs — BORSCHT again!).
  • SIP trunks replace physical CO lines; an E1 gateway (or FXO ports) preserves the PSTN fallback.
  • One network carries voice + data → convergence; QoS (VLANs, priority queuing) becomes a design duty.
  • Even "cloud PBX" services terminate as SIP at the router — the client still needs structured cabling, power and QoS.
Continuity principle: lines are still lines. Someone must power, protect, cable and traffic-engineer every endpoint — the analog foundation of ECE 462 never leaves the job.
Internet / ITSP SIP trunk Router + Firewall QoS • NAT • SBC LAN Switch (VoIP VLAN) PoE ports power the phones IP PhoneSIP terminal IP-PBX servercall control SW Gatewayanalog phones / E1
Principles of PBX18

PBX Features & Application Scenarios

Core features

  • Extension numbering plan & abbreviated dialling
  • Call transfer, hold, park, pickup, waiting
  • Hunt groups & ring-all (front desk)
  • Voicemail & auto-attendant (IVR)
  • Call accounting / billing (hotels)
  • Classes of service & barring (toll control)
  • Direct Inward Dialling (DID) & CLI presentation
  • Least-cost routing; conferencing

Scenario drivers

ClientDesign driver
Hotelbilling + room status + auto-attendant
Hospitalredundancy, emergency codes, paging
Campusintercom, trunks on E1, growth
Call centreACD queues, Erlang C staffing
SME officecost, hosted/cloud option
Feature = software on the control unit. This is why digital/IP PBXs displaced analog ones: features ship as updates, not rewiring.
Principles of PBX19

Summary — Key Takeaways

  1. A PBX is a private exchange: internal calls stay free on-premises; external calls share a few trunks.
  2. Five blocks: line interface (BORSCHT), switching matrix, trunk interface, control unit, power plant.
  3. BORSCHT conditions every extension pair: battery, protection, ringing, supervision, codec, hybrid, test.
  4. Call control = scan → seize → digit reception → analysis → setup → supervision → clear-down.
  5. Signalling: DC loop states + DTMF (two-tone) dialling + 75 V/25 Hz ring cadence.
  6. Traffic: A = C·T/3600 erlangs; size trunks with Erlang B at GoS ≤ 1%.
  7. Digital: PCM 64 kbit/s, E1 30-channel frames, TDM time-slot switching, ISDN PRI / R2 signalling.
  8. −48 V float-charged battery plant keeps the exchange alive through mains failure.
  9. IP-PBX = same principles over packet networks; gateways still terminate analog lines (BORSCHT endures).

Next lecture: Design of a PBX for a Client (site survey → traffic → sizing → BOQ).

Egerton University • ECE 46220