Chapter 4 · 8 hours
Digital Switching
IOE past exam questions
Past questions and answers
44 questions set from this chapter, 3 of them more than once. Most asked first.
- Asked 4 times
- 2070 Asar · 10 marks
- 2069 Bhadra (old course) · 12 marks
- 2065 Magh (old course) · 10 marks
- 2065 Baisakh (old course) · 4+12 marks
With a block diagram explain the working principle of a Digital Telephone Exchange.
Answer
A digital telephone exchange is a stored-program-controlled (SPC) exchange in which speech is switched in digital (PCM) form, using time and space switching of 64 kbps channels, under the control of computer processors. Examples: Alcatel E10, Siemens EWSD, Ericsson AXE, and the exchanges installed by Nepal Telecom.
Block diagram
analogue +-------------+ +------+
subscribers --| Subscriber |--| |
(2-wire) | line units | | conc-| +-----------+
(BORSCHT) | + codec | |entr. |===| |
+-------------+ +------+ | Digital |
digital trunks (E1)--[trunk interface]====| switching |
analogue trunks--[ATI + codec]===========| network |
| (TST) |
tones/announcements --[tone generator]====| |
signalling --[CAS/CCS (SS7) units]=======| |
+-----+-----+
|
+-------------------------------+---+
| Control subsystem (processors, |
| memory, stored programs) |
+----+-------------------------+----+
| |
[O&M terminal, billing] [network sync clock]
Main blocks
- Subscriber line interface (line card). Each analogue line needs the BORSCHT functions:
- Battery feed (−48 V DC for the telephone),
- Overvoltage protection (lightning, power-line contact),
- Ringing (75 V, 25 Hz AC applied to the line),
- Supervision (detecting off-hook, on-hook, dial pulses),
- Coding (codec: A-law PCM at 64 kbps, with filters),
- Hybrid (2-wire to 4-wire conversion),
- Testing (access for line tests).
- Concentrator / remote line unit. Since only a fraction of subscribers are busy at once, many lines (e.g. 128–1000) are concentrated onto fewer PCM channels (E1 links) to the switching network. Remote units can be placed near subscriber clusters.
- Trunk interfaces. Digital trunks (E1, 2.048 Mbps, HDB3) are connected directly after frame alignment and clock adaptation; analogue trunks need codecs and signalling conversion.
- Digital switching network. Usually a TST (time–space–time) or multi-stage network. Time switches (time slot interchangers) move a sample from one time slot to another using speech and control memories; space switches connect a time slot on one PCM highway to the same slot on another. This connects any 64 kbps channel to any other. The network is duplicated for reliability.
- Signalling equipment. Receivers for dial pulses and DTMF, CAS units (E1 TS16) and common channel signalling (SS7) terminals for inter-exchange signalling.
- Service circuits. Tone generators (dial, busy, ring-back), announcement machines, conference bridges.
- Control subsystem. Duplicated processors with stored programs carry out call processing, routing translation, charging and resource management. Control may be centralised or distributed.
- Operation and maintenance (O&M) and billing. Terminals for subscriber data changes, traffic measurement, fault alarms, diagnostics and call detail records.
- Synchronisation. A clock locked to the national network clock keeps all PCM links in step to avoid slips.
Working principle (a local call)
- Off-hook detection: subscriber A lifts the handset; loop current flows; the line card's supervision scans and reports to the processor.
- Dial tone: the processor checks A's class of service, assigns a free path and a digit receiver, and connects dial tone.
- Digit reception: dialled digits (pulses or DTMF) are received and stored; dial tone is removed after the first digit.
- Analysis and routing: the processor translates the number. For a local number it checks B's line; for a distant number it selects an outgoing trunk and sends signalling (e.g. SS7 IAM).
- Path set-up: a free time slot path through the TST network is found and the speech and control memories are written.
- Ringing: ringing current is sent to B and ring-back tone to A.
- Answer: when B lifts the handset, ringing is tripped, the speech path is through-connected and charging starts.
- Conversation: speech from each phone is coded to 64 kbps, switched digitally in its time slots and decoded at the other line card.
- Clear-down: on on-hook, the processor releases the path, stops charging and records the call details.
Advantages
- No noise build-up; uniform digital quality and easy integration with digital transmission (no codec at each trunk).
- Small size, low power, fast set-up, high reliability (duplicated control).
- Many subscriber services (call waiting, forwarding, conference, abbreviated dialling), easy changes by software, centralised O&M and accurate billing.
- Supports ISDN, data and common channel signalling.
- Asked 4 times
- 2079 Bhadra · 6 marks
- 2076 Asoj · 4 marks
- 2073 Chaitra · 8 marks
- 2069 Chaitra · 6 marks
Explain the various modes of operation of dual processor configuration used in a centralized digital exchange.
Answer
In centralised SPC, a single processor controls the whole exchange, so its failure would stop all calls. To give high availability (an exchange may be down only about 2 hours in 40 years), the central processor is duplicated. The two processors work in one of three modes.
1. Standby mode
+-------+ +-------+
| P1 | | P2 |
|active | |standby|
+---+---+ +---+---+
+----[shared memory / disk]----+
|
exchange equipment
- One processor (P1) is active and handles all calls; the other (P2) is idle in standby.
- Both have access to a common secondary memory; the active one periodically copies the exchange state (call data, tables) to it.
- When P1 fails, P2 takes over, loads the latest state and continues.
- Cold standby: P2 starts from the last saved data, so calls being set up are lost. Hot standby: P2 is kept updated and takes over almost at once.
- Simple, but takeover takes time and transient calls may be lost.
2. Synchronous duplex (match) mode
+-------+ comparator +-------+
| P1 |<------C------->| P2 |
| M1 | | M2 |
+---+---+ +---+---+
+-------- exchange --------+
- Both processors run the same program on the same data, in step, each with its own memory (M1, M2).
- A comparator checks their results continuously. One processor's outputs actually control the exchange.
- If the results disagree, a fault is suspected; both run diagnostics. The faulty processor is isolated and the good one continues alone, with almost no loss of calls.
- Gives fast fault detection and no takeover delay, but both processors do the same work, so no extra capacity, and a transient fault may be hard to locate.
3. Load-sharing mode
+-------+ exclusion +-------+
| P1 |<-----ED------->| P2 |
| calls | (shared | calls |
| 1,3,5 | data) | 2,4,6 |
+---+---+ +---+---+
+-------- exchange --------+
- Each processor handles part of the traffic; an incoming call is given randomly or in turn to one of them.
- Both share the exchange resources and data; an exclusion device (ED) stops them from seizing the same resource at the same time.
- Each can handle the full load. If one fails, the other carries all the traffic (with possible congestion at peak).
- Gives higher capacity in normal operation and good reliability, but software is more complex.
Comparison
| Mode | Normal capacity | Takeover | Complexity |
|---|---|---|---|
| Standby | One processor | Slowest, calls may be lost | Simple |
| Synchronous duplex | One processor | Immediate | Comparator needed |
| Load sharing | Up to two processors | Quick, other takes all load | Exclusion logic, complex software |
- Asked 2 times
- 2079 Bhadra · 3+4 marks
- 2073 Shrawan · 2+6 marks
What is the advantage of multi-stage switching system over single stage switching system? Explain TST Switching with neat diagram and its blocking probability.
Answer
Advantages of multi-stage over single-stage switching
- Far fewer crosspoints: a single-stage switch needs crosspoints (e.g. for 1000 lines); a three-stage switch needs only a small fraction, so cost and size fall.
- Better crosspoint utilisation: in a single stage only of crosspoints can be busy at once; in multi-stage each crosspoint is shared by many connections.
- Alternative paths: a call can go through any of several middle-stage arrays, so failure of one crosspoint does not isolate a subscriber (better reliability).
- Modular growth: capacity can be expanded by adding arrays.
- Concentration and expansion can be built into the stages to suit traffic.
- Cost: some blocking may occur, and path search (control) is more complex.
TST switching
A Time–Space–Time (TST) switch is a three-stage digital switching network: an incoming time stage, a space stage in the middle, and an outgoing time stage. It is the most common structure in large digital exchanges.
incoming T stage S stage T stage outgoing
highways (time slot (crosspoint (time slot highways
interchange) matrix) interchange)
PCM 1 --->[ TSI ]--->+-------------+--->[ TSI ]---> PCM 1
PCM 2 --->[ TSI ]--->| N x N |--->[ TSI ]---> PCM 2
... | space sw. |
PCM N --->[ TSI ]--->+-------------+--->[ TSI ]---> PCM N
slot i -> slot j (internal) -> slot j -> slot m
Operation (connect slot of PCM 1 to slot of PCM N):
- First time stage: the time slot interchanger (TSI) on PCM 1 writes incoming samples into its speech memory in order and reads the sample of slot out in a free internal slot (chosen by the control).
- Space stage: in internal slot the crosspoint connecting row 1 to column N is closed (set by the space-switch control memory), passing the sample to the outgoing side. The same crosspoint is reused by other connections in other slots.
- Second time stage: the TSI on output highway N stores the sample and reads it out in the required outgoing slot .
- The reverse direction uses a related internal slot (often ) so both directions are set together.
Because the space stage only needs to find one free internal slot common to both links, the many internal time slots act like many middle-stage arrays, giving very low blocking at low cost. The time stages can also expand ( internal slots) to reduce blocking further.
Blocking probability of TST (Lee graph)
slot 1
+--- ... ---+
A ---+--- slot j-+--- B l parallel paths
+--- ... ---+ (internal slots)
slot l
Let = occupancy of an incoming channel, = channels per highway, = internal slots, time expansion . Each internal link is busy with probability . A path is blocked if either of its two links is busy: . The call is blocked only if all paths are blocked:
Example: , : , practically non-blocking.
- 2081 Chaitra · 2+3+3 marks
Define what the Clos network is. Derive the expression for blocking probability of both STS and TST switches, and compare them.
Answer
Clos network
A Clos network is a three-stage (multi-stage) switching network, proposed by Charles Clos (1953), in which inputs are divided into first-stage arrays of size , connected to middle arrays of size , which connect to third-stage arrays of size . Every array of one stage has exactly one link to every array of the next stage.
Clos showed that the network is strictly non-blocking when (worst case: other inputs of the calling array and outputs of the called array use different middle arrays, so one more is needed). With the best choice , the minimum is , much less than .
Blocking probability of STS
STS: S (N x k) -> T (k TSI modules) -> S (k x N)
Lee graph: k parallel paths, each = 2 links in series
In STS, a call from input highway A to output highway B in given slots can go through any of the time-switch modules. Each path uses a link from the first space stage to a module and a link from the module to the second space stage. With link occupancy ( space expansion):
- Probability a link is free ; both links of a path free .
- Path blocked ; all paths blocked:
Blocking probability of TST
TST: T (c -> l slots) -> S (N x N) -> T (l -> c)
Lee graph: l parallel paths (internal time slots)
In TST, the path from A to B passes through the space stage in any of the internal time slots. Each path uses one internal slot on A's highway and the same slot on B's highway. With time expansion , , and by the same argument:
Comparison
Since the number of paths in TST equals the number of internal time slots (32 to several hundred), while in STS it equals the number of time-switch modules (usually small), TST blocking is far lower for the same hardware. Example with :
| Point | STS | TST |
|---|---|---|
| Number of alternative paths | (time modules) | (internal slots) |
| Blocking | Higher | Much lower |
| Expansion by | More space arrays/modules | More internal slots (cheap memory) |
| Cost for large exchange | Higher | Lower (time stages cheap) |
| Control | Simpler for small sizes | More memory, path search over slots |
| Use | Small exchanges | Most large digital exchanges |
- 2080 Chaitra · 2+6 marks
What are advantages of multi-stage switching system over single stage switching system? Compare TST and STS switch in digital telephone exchange system with necessary diagram and its blocking probabilities.
Answer
Advantages of multi-stage switching
- Far fewer crosspoints: a single-stage switch needs crosspoints (e.g. for 1000 lines); a three-stage switch needs only a small fraction, so cost and size fall.
- Better crosspoint utilisation: in a single stage only of crosspoints can be busy at once; in multi-stage each crosspoint is shared by many connections.
- Alternative paths: a call can go through any of several middle-stage arrays, so failure of one crosspoint does not isolate a subscriber (better reliability).
- Modular growth: capacity can be expanded by adding arrays.
- Concentration and expansion can be built into the stages to suit traffic.
- Cost: some blocking may occur, and path search (control) is more complex.
TST switch
incoming T stage S stage T stage outgoing
highways (time slot (crosspoint (time slot highways
interchange) matrix) interchange)
PCM 1 --->[ TSI ]--->+-------------+--->[ TSI ]---> PCM 1
PCM 2 --->[ TSI ]--->| N x N |--->[ TSI ]---> PCM 2
... | space sw. |
PCM N --->[ TSI ]--->+-------------+--->[ TSI ]---> PCM N
slot i -> slot j (internal) -> slot j -> slot m
An incoming time slot is moved by the first TSI to a free internal slot , passed through the space matrix in slot , and moved by the outgoing TSI to the wanted slot . Blocking happens only if no internal slot is free on both the input and output highways. With internal slots and :
STS switch
incoming S stage T stage S stage outgoing
PCM 1 --->+--------+--->[ TSI 1 ]--->+--------+---> PCM 1
PCM 2 --->| N x k |--->[ TSI 2 ]--->| k x N |---> PCM 2
... | space | ... | space |
PCM N --->+--------+--->[ TSI k ]--->+--------+---> PCM N
The first space stage connects the incoming highway (in its own slot) to one of time switches; the TSI moves the sample to the outgoing slot; the second space stage connects it to the outgoing highway. Blocking happens if none of the modules has both links free. With :
Comparison of TST and STS
| Point | TST | STS |
|---|---|---|
| Stages | Time – Space – Time | Space – Time – Space |
| Alternative paths | internal time slots | time modules |
| Blocking | Very low ( large) | Higher ( small) |
| Main hardware | Memories (cheap) + one space matrix | Two space matrices + TSIs |
| Cost for large N | Lower | Higher |
| Expansion | Add internal slots or TSIs | Add space arrays and TSIs |
| Control | More memory, simple space control | Simpler for small sizes |
| Typical use | Large digital exchanges (e.g. AXE, E10) | Small/medium exchanges, some early systems |
Example (): STS with gives , while TST with gives . Hence TST is preferred for large exchanges.
- 2079 Chaitra · 3+5 marks
What are the advantages of multi-stage switching over single-stage switching? Calculate and draw, how many cross points are found in three stages switching system, whereas 3 stages array of 4 input lines and 5 second stages array.
Answer
Advantages of multi-stage switching over single-stage
- Far fewer crosspoints: a single-stage switch needs crosspoints (e.g. for 1000 lines); a three-stage switch needs only a small fraction, so cost and size fall.
- Better crosspoint utilisation: in a single stage only of crosspoints can be busy at once; in multi-stage each crosspoint is shared by many connections.
- Alternative paths: a call can go through any of several middle-stage arrays, so failure of one crosspoint does not isolate a subscriber (better reliability).
- Modular growth: capacity can be expanded by adding arrays.
- Concentration and expansion can be built into the stages to suit traffic.
- Cost: some blocking may occur, and path search (control) is more complex.
Crosspoint calculation
Reading of the data (assumed): the first stage has 3 arrays of 4 input lines each, so lines and , and there are second-stage (middle) arrays. The network is symmetric (third stage = mirror of first).
Array sizes:
- First stage: arrays of .
- Second stage: arrays of .
- Third stage: 3 arrays of .
stage 1 (3 x [4x5]) stage 2 (5 x [3x3]) stage 3
4 in->[4x5]-+-----> [3x3] -----+->[5x4]-> 4 out
|-----> [3x3] -----|
4 in->[4x5]-+-----> [3x3] -----+->[5x4]-> 4 out
|-----> [3x3] -----|
4 in->[4x5]-+-----> [3x3] -----+->[5x4]-> 4 out
each 4x5 array has 1 link to each of the 5 middle
arrays; each middle array has 1 link to each 5x4
Answer: 165 crosspoints (60 + 45 + 60).
Remarks:
- A single-stage matrix needs crosspoints; for such a small the three-stage network gives no saving. The saving appears for large , e.g. , , needs 7680 crosspoints against 16 384.
- With , this network is blocking; a strictly non-blocking Clos version needs , i.e. crosspoints.
- 2081 Bhadra · 4+4 marks
What are the roles of time-switches and space-switches in digital exchanges? How do combinations of these switches (e.g., STTS, TSST) enhance the capabilities of telecommunications networks?
Answer
Role of time switches
A time switch (time slot interchanger, TSI) moves PCM samples from one time slot to another on the same highway.
incoming slots -> [speech memory] -> outgoing slots
write in order ^ read address
[control memory]
- Incoming samples are written into a speech memory in slot order (sequential write) and read out in the order set by a control memory (random read), or the reverse.
- It connects channel to channel on the same highway with a delay of up to one frame (125 µs).
- Built from RAM, so it is cheap, and it is non-blocking for one highway; the size is limited by memory speed ( slots × 2 accesses within 125 µs).
Role of space switches
A space switch is a crosspoint matrix (electronic gates) that connects an input highway to an output highway, keeping the same time slot.
- Each crosspoint is opened or closed every time slot according to its control memory, so it is shared by many calls (time-shared space switching).
- It enlarges the switch to many highways but cannot change time slots; used alone it blocks when two calls need the same output in the same slot.
How combinations enhance capability
Real exchanges have hundreds of highways, so time and space switches are combined in multi-stage networks:
- TS / ST (two stage): simple, but blocking is high.
- TST (time–space–time): incoming TSI moves the call to any free internal slot, the space stage crosses highways, the outgoing TSI moves it to the wanted slot. The number of alternative paths equals the number of internal slots, so blocking is very low and memory is cheap. Standard in large exchanges.
- STS (space–time–space): space stages spread calls over time modules; suits smaller systems.
- TSST / TSSST: two or more space stages in the middle allow very large numbers of highways (large transit exchanges) without huge single matrices.
- STTS: two time stages in the middle give more slot-changing freedom and paths between groups of highways, useful in modular/distributed designs.
Benefits of these combinations:
- Scalability: tens of thousands of lines and trunks switched in one network by adding modules.
- Low blocking: many alternative paths (internal slots × middle arrays); with time expansion near non-blocking.
- Lower cost and size: fewer crosspoints; most switching done in cheap RAM.
- Reliability: alternative paths and duplicated planes let traffic avoid faults.
- Flexibility: supports any-to-any connection of 64 kbps channels, broadcast/conference connections and kbps data paths, which digital networks and ISDN need.
- 2081 Bhadra · 2+6 marks
What do you know about cross point and switching array in switching structure? Explain three stage switching and calculate how many cross point used in three stage switching.
Answer
Crosspoint and switching array
A crosspoint is the basic switching element at the intersection of an input line and an output line; when it is closed (a relay contact, reed or electronic gate) it connects that input to that output. A switching array (matrix) is a rectangular arrangement of crosspoints with inputs and outputs ( crosspoints); any input can be connected to any free output. A single-stage array needs crosspoints (or if folded), which grows too quickly for large exchanges.
out1 out2 out3
in1 ----x----x----x---
in2 ----x----x----x--- x = crosspoint
in3 ----x----x----x---
Three-stage switching
The inputs are divided into groups of .
first stage middle stage third stage
(N/n arrays, (k arrays, (N/n arrays,
n x k) N/n x N/n) k x n)
n -->[n x k]--+->[N/n x N/n]--+-->[k x n]--> n
n -->[n x k]--+->[N/n x N/n]--+-->[k x n]--> n
... +-> ... +--> ...
n -->[n x k]--+->[N/n x N/n]--+-->[k x n]--> n
(every first-stage array has one link to
every middle array, and so on)
- Stage 1: arrays, each .
- Stage 2: arrays, each .
- Stage 3: arrays, each .
Each input reaches any output through any one of the middle arrays, so there are alternative paths. Total crosspoints:
If the network is strictly non-blocking (Clos); if some blocking occurs but the cost is lower.
Example calculation
Take lines, (so ), non-blocking :
A single-stage switch would need crosspoints. The three-stage switch saves about 53 % while still being non-blocking. Here is the optimum, and the result equals .
Answer: 7680 crosspoints for a 128-line non-blocking three-stage switch (vs 16 384 single-stage).
- 2081 Baisakh · 4+4 marks
What are the advantages and issues of PCM switching? Briefly elaborate the concept of Store Program Control (SPC).
Answer
PCM (digital) switching
In PCM switching, speech is switched in its digital form: 64 kbps PCM samples are moved between time slots and highways by time and space switches, without converting back to analogue.
Advantages
- Direct integration with digital PCM transmission (E1/T1): no codec or 2W/4W conversion at every exchange, so no noise or loss build-up.
- Time switches made of cheap RAM; very few crosspoints; small size and low power.
- Four-wire switching throughout, so no hybrid echo problems inside the network.
- Easy to switch data and kbps channels; supports ISDN.
- Fast connection, high reliability, easy software control and maintenance.
Issues (problems)
- Synchronisation: all exchanges must be clock-locked; clock differences cause slips (lost or repeated frames).
- Delay: each time switch adds up to 125 µs; many in tandem add delay and need echo control.
- Codec per line: analogue subscriber lines need BORSCHT functions and a codec on each line card, which is costly.
- Jitter and wander on incoming links need elastic buffers.
- Control complexity: path search over slots and highways needs powerful processors and software.
- Interworking with analogue exchanges and signalling conversion.
Stored Program Control (SPC)
SPC is the control of a telephone exchange by a digital computer (processor) that runs a stored program, instead of hard-wired relays or electromechanical logic.
[processor] <--> [program + data memory]
|
[scanners / distributors / signal units]
|
switching network <--> lines and trunks
- Scanners read the state of lines and trunks (off-hook, digits); the processor runs call-processing programs, consults the data memory (subscriber class, routing tables, charging) and orders the switching network through distributors/markers.
- Centralised SPC: one main processor (duplicated in standby, synchronous-duplex or load-sharing mode). Distributed SPC: many processors, each controlling part of the exchange or a set of functions.
Benefits: new services (call forwarding, waiting, conference, abbreviated dialling) by software change; easy changes of subscriber data and routing; automatic fault diagnosis and traffic statistics; centralised maintenance; accurate billing; faster call set-up; smaller size.
- 2081 Baisakh · 8 marks
Describe the working principle of TSI or Time switch in random read, sequential write mode.
Answer
A time switch or Time Slot Interchanger (TSI) moves the speech sample (PCM byte) in one time slot of an incoming TDM frame into a different time slot of the outgoing frame. In sequential write, random read mode (also called output-associated control), samples are written into memory in order and read out in the order set by a control memory.
Main parts
- Speech (data) memory, SM: locations, one per time slot, each 8 bits wide (one PCM sample). For a 32-channel PCM frame, .
- Control (connection) memory, CM: locations, each holding an SM address ( bits, 5 bits for 32 slots).
- Time-slot counter: a modulo- counter driven by the channel clock. It gives the current slot number .
- Write/read control logic and the processor interface that loads the CM when a call is set up.
Input TDM Output TDM
frame frame
----->+---------------------+--------->
| Speech memory |
| (c x 8 bits) |
+---------------------+
write addr ^ ^ read addr
(sequential) | | (random)
+-------------+ +------------+
| Time-slot |->| Control |
| counter | | memory |
+-------------+ +------------+
^
processor (call set-up)
Working principle
- Write phase (sequential): in time slot of the incoming frame, the sample is written into SM location . The write address comes straight from the time-slot counter, so SM fills in order 0, 1, 2, ... every frame.
- Read phase (random): in output time slot , the counter addresses CM location . CM() contains the SM address of the input slot that must go out in slot . That SM location is read and placed in output slot .
- When a call is set up, the processor writes the input slot number into the CM location of the wanted output slot. When the call is released, the entry is cleared.
- Each slot needs one write and one read, so in every slot time the memory is accessed twice.
Example
Connect input TS3 to output TS7 (32-slot frame):
- In TS3 the sample is written into SM(3).
- The processor has stored CM(7) = 3.
- In TS7 the logic reads CM(7) = 3, then reads SM(3) and sends it in output slot 7.
- The sample is delayed by slots. If the output slot comes before the input slot, the sample goes out in the next frame (delay up to one frame, 125 µs).
Timing limit
Frame time is 125 µs, so slot time is µs. Since there are two accesses per slot, the memory cycle time must satisfy
For : µs. Faster memory allows more channels per TSI.
Features
- Strictly non-blocking: any input slot can go to any free output slot.
- Gives a fixed delay of less than one frame per stage.
- Size is limited by memory speed, so large exchanges combine T stages with S stages (TST).
- Broadcasting is easy: several CM locations can hold the same SM address, so one input can feed several outputs.
- 2081 Baisakh · 4 marks
Write a short note on ST switch.
Answer
An ST switch is a two-stage digital switch in which a space (S) stage is followed by a time (T) stage. The S stage is a time-multiplexed space switch that connects incoming TDM highways to outgoing highways; each outgoing highway has a time slot interchanger (TSI) that moves the sample to the required output slot.
TDM in S stage T stage TDM out
I1 ------->+----------------+--->[TSI 1]---> O1
I2 ------->| time-shared |--->[TSI 2]---> O2
.. | crosspoint | ... ..
IN ------->| matrix (N x N)|--->[TSI N]---> ON
+----------------+
^
control memory (per output column)
Working: a sample arriving in slot on input highway must go to slot on output highway . In slot the S-stage control memory closes crosspoint , so the sample enters TSI , which writes it and reads it out in slot .
Drawback (blocking): the space stage must move the sample in the same time slot in which it arrives. If another call from a different input already uses slot to reach output highway , the new call is blocked, even though slot on is free. There is only one path for each connection, so blocking is high under heavy load. TS switches have the same problem the other way round.
Remedy: add a third stage to get several alternative paths, giving STS or TST switches. The TST form is preferred in practice (e.g. in most large digital exchanges) because time expansion is cheaper than space expansion.
- 2080 Chaitra · 4 marks
Write a short note on Stored Program control (SPC) in digital exchange.
Answer
Stored Program Control (SPC) means that the exchange is controlled by a digital computer (processor) that runs a program stored in memory, instead of by hard-wired relay logic as in Strowger and crossbar exchanges. All digital exchanges use SPC.
What the program does
- Scans subscriber lines and trunks to detect off-hook, on-hook and digits.
- Analyses digits, finds a free path through the switching network and sets it up.
- Sends ringing, tones and signaling messages, and supervises the call.
- Records call data for charging (billing) and traffic statistics.
- Runs maintenance, fault diagnosis and administration tasks.
Types
- Centralised SPC: one main processor (usually duplicated for reliability) controls the whole exchange. Dual-processor modes are standby, synchronous duplex and load sharing.
- Distributed SPC: control is shared among many smaller processors (line-group processors, call processors, etc.). It is more reliable and easier to expand; most modern exchanges use it.
Advantages
- New services (call forwarding, call waiting, abbreviated dialling, conference calls) are added by changing software.
- Easy change of subscriber data and routing through a terminal.
- Automatic fault detection and remote maintenance.
- Fast call set-up and support for common channel signaling (SS7).
- Smaller size, lower power use and better reliability.
Disadvantages: high initial software cost, and a software fault can affect the whole exchange, so careful testing and processor redundancy are needed.
- 2080 Bhadra · 4+4 marks
Explain the working principle of Digital Telephone Exchange. Calculate how many cross point used in three stage switching.
Answer
Working principle of a digital telephone exchange
A digital exchange switches speech as PCM samples (8-bit words, 8000 per second) using time-division techniques, under stored program control (SPC).
Subscriber +-------+ +----------+ +-------+
lines ---->| Line |->| Digital |->| Trunk |--> other
(analog) | units |<-| switching|<-| units | exch.
|BORSCHT| | (TST) | |(E1) |
+-------+ +----------+ +-------+
^ ^ ^
+-------------------------------+
| Control processor (SPC) |
| + signaling |
+-------------------------------+
- Line unit: each analogue line has a line card doing the BORSCHT functions: Battery feed, Over-voltage protection, Ringing, Supervision, Coding (codec: A/D and D/A), Hybrid (2-wire to 4-wire), Testing.
- Concentration and multiplexing: coded samples from many lines are multiplexed onto 32-channel (2.048 Mbps) PCM highways.
- Digital switching network: time switches (TSIs) and space switches (usually in TST form) move each sample from its input slot and highway to the required output slot and highway.
- Control: the processor detects off-hook, collects digits, finds a free path, writes the control memories of the T and S stages, sends ringing and tones, supervises and records charging data.
- Trunk and signaling units: connect to other exchanges over E1 links; signaling is by CAS or CCS (SS7).
Crosspoints in a three-stage switch
Take inputs and outputs, divided into groups of lines, with middle-stage arrays.
- First stage: arrays, each
- Second stage: arrays, each
- Third stage: arrays, each
For a strictly non-blocking (Clos) network, :
Example: , , :
A single-stage switch needs crosspoints, so the three-stage design saves 43% and is still non-blocking.
Answer: ; for , , , crosspoints.
- 2080 Bhadra · 3+5 marks
What is blocking and non-blocking switching system? At which condition digital switch work as no blocking? Explain with example.
Answer
Blocking and non-blocking switching
- A blocking switch is one in which a call between a free input and a free output may still fail because no free internal path exists (internal links are busy with other calls). Multistage networks with too few middle-stage paths are blocking. Blocking probability is the chance that such a call is lost.
- A non-blocking switch is one in which any free input can always be connected to any free output, whatever other calls are in progress. A single-stage crossbar is non-blocking but needs crosspoints.
| Point | Blocking | Non-blocking |
|---|---|---|
| Internal path | May not be free | Always free |
| Crosspoints / hardware | Fewer | More |
| Cost | Lower | Higher |
| Grade of service | Small loss allowed | Zero internal loss |
| Typical use | Local exchanges with light traffic | Trunk/transit switches |
Condition for a digital switch to be non-blocking
(a) Space-division three-stage (Clos) network. With inputs per first-stage array and middle arrays, the worst case is: the calling input's array already has busy inputs using different middle arrays, and the called output's array has busy outputs using other middle arrays. One more middle array is needed:
(b) TST digital switch. Each incoming link has time slots, and the time-multiplexed space stage has internal time slots. By the same reasoning (with time slots in place of middle arrays):
So a TST switch is non-blocking when the space stage runs at about twice the slot rate of the external links (time expansion).
(c) STS digital switch. With incoming TDM links and centre-stage TSIs: .
(d) Single time switch (TSI). It is always non-blocking provided the memory is fast enough: .
Example
A TST switch has E1 links with slots. For non-blocking operation, , so practical designs use 64 internal slots. With only (no expansion), and link occupancy 0.9 E, blocking probability is
Hence the time expansion to is what makes the switch non-blocking.
For a space switch example: , needs middle arrays for non-blocking operation.
- 2080 Baisakh · 6 marks
Derive expressions for the blocking probability of both STS and TST switches. Show that the blocking probability of a TST switch is lower than that of a STS switch.
Answer
Blocking probability of multistage switches is found with Lee graphs: each path is drawn as links in series, parallel paths are independent, and each link is busy with probability .
STS switch
incoming TDM links enter an space stage, then centre-stage TSIs, then a space stage.
A o---(k parallel paths, each = 2 links)---o B
input S -> TSI_i -> output S
- Each path uses two internal links in series: input S → TSI and TSI → output S.
- If is the occupancy of external links, the internal link occupancy is
- A path is free only if both links are free: probability . Path busy: .
- There are parallel paths (one per centre TSI); the call is blocked only if all are busy:
TST switch
incoming links, each with slots, go to input TSIs; a time-multiplexed space stage with internal time slots; then output TSIs.
- The alternative paths are the internal time slots of the space stage. Each path uses two links: input TSI → S (in slot ) and S → output TSI (in slot ).
- Internal link occupancy:
- Same Lee graph with parallel paths:
Why TST has lower blocking
The expressions have the same form; the blocking depends on the number of parallel paths (the exponent) and .
- In STS the exponent is , the number of centre TSIs. Each extra path needs a whole TSI and adds crosspoints to both space stages (), so stays small.
- In TST the exponent is , the number of internal time slots. It is equal to or greater than the frame size (32 to 1024 in practice) and is raised just by running the space stage and memories faster, which is cheap.
- So for a practical size, and the TST result is far smaller.
Example: E, no expansion (), :
- STS with links:
- TST with slots:
- TST with time expansion ():
Hence TST gives lower blocking at lower cost, which is why large digital exchanges use TST (or TSST/TSSST) structures.
- 2080 Baisakh · 6 marks
A TST network is used in a digital switch and the secondary multiplex contains 120 time slots. How many time slots would be included in the time multiplexed space stage for non-blocking operation? What would be the blocking probability if the time multiplexed space stage contained 120 time slots, 150 time slots, and 200 time slots? Assume channel occupancies of 0.6E and 0.9E.
Answer
Given: time slots per frame on the external (secondary multiplex) link, ; occupancy E and E.
Non-blocking condition
A TST switch is strictly non-blocking when the number of space-stage time slots satisfies :
Blocking probability
Lee-graph formula for TST:
Step 1: internal link occupancy
| (p = 0.6) | (p = 0.9) | |
|---|---|---|
| 120 | 0.600 | 0.900 |
| 150 | 0.480 | 0.720 |
| 200 | 0.360 | 0.540 |
Step 2: path-busy probability
| (p = 0.6) | (p = 0.9) | |
|---|---|---|
| 120 | 0.8400 | 0.9900 |
| 150 | 0.7296 | 0.9216 |
| 200 | 0.5904 | 0.7884 |
Step 3:
For example, , :
and , :
| at 0.6 E | at 0.9 E | |
|---|---|---|
| 120 | ||
| 150 | ||
| 200 |
Comment: even without time expansion () the blocking is negligible at 0.6 E, but at 0.9 E it is about 30%. A modest time expansion (150 or 200 slots) brings it down to a negligible value, far fewer than the 239 slots needed for strictly non-blocking operation.
Answer: slots for non-blocking; = , , (0.6 E) and , , (0.9 E) for = 120, 150, 200.
- 2078 Bhadra · 8 marks
Design a three-stage, 200×200 switch with division of input lines (N = 200) into groups with each group of n = 20 lines. Use k number of crossbars in the middle stage where k = 4. Also, redesign this three stage 200×200 switch using Clos criteria with a minimum number of cross points.
Answer
Three-stage network with lines, groups of , and middle arrays:
- Stage 1: arrays of
- Stage 2: arrays of
- Stage 3: arrays of
Design 1: , ,
Number of groups .
| Stage | Arrays | Size | Crosspoints |
|---|---|---|---|
| 1 | 10 | ||
| 2 | 4 | ||
| 3 | 10 | ||
| Total | 2000 |
20 in [20x4] \ / [4x20] 20 out
20 in [20x4] --> 4 x [10x10] --> [4x20] 20 out
... ... / middle \ ...
20 in [20x4] (10 arrays) [4x20] 20 out
Each first-stage array has one link to each middle array; each middle array has one link to each third-stage array.
This needs only 5% of the crosspoints of a single-stage switch, but only 4 of the 20 inputs of a group can be connected at once, so it is a blocking (concentrating) design, since .
Design 2: Clos non-blocking with minimum crosspoints
For strict non-blocking, . Crosspoints are minimum when
| Stage | Arrays | Size | Crosspoints |
|---|---|---|---|
| 1 | 20 | ||
| 2 | 19 | ||
| 3 | 20 | ||
| Total | 15 200 |
Check with the Clos minimum formula:
Answer: Design 1 needs 2000 crosspoints (blocking). The Clos design (, , 20 outer arrays) needs 15 200 crosspoints and is strictly non-blocking, which is 38% of a 40 000-crosspoint single-stage switch.
- 2078 Bhadra · 2+5 marks
What is multi stage switching? Explain TST switching with neat diagram and its blocking probability.
Answer
Multistage switching
Multistage switching builds a large switch from several stages of smaller switches connected by internal links, instead of one big matrix. It cuts the number of crosspoints (or memory) needed, and gives several alternative paths for each call. The cost is a small chance of internal blocking unless enough paths are provided. Examples: three-stage space networks, STS, TST, TSST.
TST switching
A Time–Space–Time switch has an input time stage, a time-multiplexed space stage and an output time stage.
Link 1 -->[TSI-A1]--+-----------+--[TSI-B1]--> Link 1
Link 2 -->[TSI-A2]--| N x N |--[TSI-B2]--> Link 2
... ... | space | ...
Link N -->[TSI-AN]--| (TMS) |--[TSI-BN]--> Link N
+-----------+
c slots in T l internal out T c slots
slots
Working (example): connect slot 5 of link 1 to slot 20 of link N.
- The control processor searches for an internal slot that is free both on the output of TSI-A1 and on the input of TSI-BN (say ).
- Input T stage: TSI-A1 moves the sample from slot 5 to slot 12.
- Space stage: in slot 12 its control memory closes crosspoint (1, N), so the sample passes from highway 1 to highway N.
- Output T stage: TSI-BN moves the sample from slot 12 to slot 20.
- The return direction uses another slot, often (mod ), so one search serves both directions.
Since any internal slot can be used, there are alternative paths.
Blocking probability
Using a Lee graph: each path has two internal links in series (TSI-A → S and S → TSI-B), and there are paths in parallel. With external occupancy and time expansion , the internal link occupancy is :
- Non-blocking when .
- Example: , : .
Why it is preferred: time expansion is cheap (faster memory), the space stage is small, and the blocking is very low, so TST (and TSST) is used in most large digital exchanges.
- 2076 Chaitra · 2+5 marks
What do you mean by stored program control (SPC)? Explain different modes of dual processor architecture used in an electronic switching system using centralized SPC.
Answer
Stored program control
Stored Program Control (SPC) is the control of an exchange by a processor running programs stored in memory. Call processing, routing, charging and maintenance are done in software, so new features can be added by changing the program.
Dual-processor architecture in centralised SPC
In centralised SPC one processor controls the whole exchange, so a failure would stop all calls. The processor is therefore duplicated. The two processors (P1 and P2) share or copy the memory and work in one of three modes.
+------+ +------+
| P1 | | P2 |
+--+---+ +---+--+
| +----+ |
+--|Comp|---+ (comparator in
| +----+ | sync duplex)
+--+---+ +---+--+
| M1 | | M2 | (memories)
+------+ +------+
\ /
exchange hardware
1. Standby mode
- One processor is active; the other is idle on standby.
- The standby takes over when the active one fails.
- The memory is shared or the active processor regularly copies its data to a secondary store, so the standby can reload the current call data.
- Simple, but calls being set up at the time of failure may be lost.
2. Synchronous duplex mode
- Both processors run the same program at the same time, each with its own memory, and get the same inputs.
- A comparator checks their outputs after each step. If they agree, normal working continues.
- On a mismatch, both run diagnostic programs; the faulty one is taken out of service and the healthy one continues alone.
- Gives fast fault detection and no loss of calls, but transient faults may cause needless check routines.
3. Load-sharing mode
- Each processor handles part of the traffic (e.g. calls are given to them alternately or at random).
- They share a common memory and use an exclusion device (ED) so both do not seize the same resource at once.
- If one fails, the other carries the full load (with possible reduced grade of service at the busy hour).
- Gives higher call-handling capacity than standby or synchronous modes.
Availability
For one processor, . For a dual system the mean time between system failures becomes
so unavailability falls from about to about . This large gain is why all centralised SPC exchanges use duplicated processors.
- 2076 Chaitra · 8 marks
Describe the working principle of TSI switch in sequential read, random write mode.
Answer
A time switch or TSI (Time Slot Interchanger) changes the time slot of a PCM sample within a TDM frame. In the sequential read, random write mode (also called input-associated control), the address at which each incoming sample is written is chosen by a control memory, and the speech memory is read out in order.
Main parts
- Speech memory (SM): words of 8 bits, one per time slot.
- Control memory (CM): words of bits. CM() holds the SM address where the sample of input slot must be written.
- Time-slot counter: a modulo- counter giving the current slot number.
- Processor interface: loads CM entries when calls are set up or released.
Input TDM Output TDM
--------->+---------------------+---------->
| Speech memory |
| (c x 8 bits) |
+---------------------+
write addr ^ ^ read addr
(random) | | (sequential)
+------------+ +-------------+
| Control |<-| Time-slot |
| memory | | counter |
+------------+ +-------------+
^
processor (call set-up)
Working principle
- Write phase (random): in input slot , the counter addresses CM(). The value stored there, say , is used as the write address, so the sample is stored in SM().
- Read phase (sequential): the counter also gives the read address directly. In output slot , SM() is read and sent out. So a sample written into SM() leaves in output slot .
- To set up a call from input slot to output slot , the processor writes into CM().
- One write and one read happen in every slot.
Example
Connect input TS2 to output TS9 in a 32-slot frame:
- Processor sets CM(2) = 9.
- In TS2 the sample is written into SM(9).
- In TS9 the counter reads SM(9), so the sample appears in output slot 9.
- Delay = slots µs.
Timing
Slot time = µs and two memory accesses per slot are needed:
For 32 channels this is 1.95 µs. Maximum channels for a memory of access time : .
Features
- Strictly non-blocking for its own frame.
- Delay is less than one frame (125 µs).
- Broadcast is not possible in this mode, because one input sample is written into only one SM location. (In sequential-write, random-read mode, several outputs can read the same location.)
- Useful at the input side of a TST switch, where each input slot has a fixed control entry.
- 2076 Asoj · 7 marks
Derive the necessary conditions for a 3-stage network to be strictly non-blocking.
Answer
A three-stage network is strictly non-blocking if a free input can always be connected to a free output, however the existing calls are routed. The condition was derived by C. Clos (1953).
Network
- inputs and outputs; groups of lines.
- Stage 1: arrays of ; Stage 2: arrays of ; Stage 3: arrays of .
- Each first-stage array has one link to every middle array; each middle array has one link to every third-stage array.
input array A output array B
(n inputs) (n outputs)
n-1 busy -> use n-1 busy -> use
n-1 middle arrays n-1 other middle
\ /
\ need 1 more free /
+-- middle array --+
total k >= (n-1)+(n-1)+1
Derivation of
Consider a new call from a free input of first-stage array A to a free output of third-stage array B. Take the worst case:
- Array A has inputs; the other are busy. Each of those calls uses a different link from A, so they occupy middle arrays.
- Array B has outputs; the other are busy, using middle arrays.
- In the worst case, these two sets of middle arrays are all different, so middle arrays cannot be used.
- To connect A to B, at least one more middle array must be free:
This is the necessary and sufficient condition for strict non-blocking.
Crosspoints and optimum
Differentiating and treating for large :
Substituting:
Example
: , , , compared with for a single-stage switch.
The same idea applies to digital switches: a TST switch is strictly non-blocking when the internal time slots satisfy , and an STS switch when the centre TSIs satisfy .
- 2076 Asoj · 5 marks
In the case of a Time Slot Interchanger (TSI), compare the working mechanisms between Sequential Write and Random Read with Random Write and Sequential Read.
Answer
A TSI has a speech memory (SM) holding one PCM sample per time slot and a control memory (CM) set by the processor. The two modes differ in which access (write or read) the CM controls.
Sequential write, random read (output-associated control)
- Input sample in slot is written into SM(), using the time-slot counter as address.
- In output slot , CM() gives the SM address to read; the sample of that input slot is sent out.
- To connect input to output : set CM() = .
Random write, sequential read (input-associated control)
- In input slot , CM() gives the SM address where the sample is written.
- SM is read in order, so SM() goes out in output slot .
- To connect input to output : set CM() = .
SW-RR: in --> SM[counter] SM[CM[counter]] --> out
RW-SR: in --> SM[CM[counter]] SM[counter] --> out
Example: input TS4 to output TS10. SW-RR: sample stored in SM(4), CM(10) = 4. RW-SR: CM(4) = 10, sample stored in SM(10). Output is the same in both.
| Point | Sequential write, random read | Random write, sequential read |
|---|---|---|
| Write address | From time-slot counter | From control memory |
| Read address | From control memory | From time-slot counter |
| CM indexed by | Output slot | Input slot |
| Control type | Output-associated | Input-associated |
| Broadcast (one input to many outputs) | Possible | Not possible |
| Typical use | Output stage of TST | Input stage of TST |
| Delay | Less than one frame | Less than one frame |
| Memory speed needed | µs | Same |
Both modes need the same memory size ( bits SM, bits CM) and are non-blocking for one frame; they are often used together in a TST switch so that one control memory word can serve both directions.
- 2075 Chaitra · 3+6 marks
Differentiate between TST and STS switch. Design a three stage switching system having 4 stage array of 5 input line and 6 second stage array. Also calculate the total number of cross points of the switching system.
Answer
Difference between TST and STS switches
| Point | TST | STS |
|---|---|---|
| Structure | Time – Space – Time | Space – Time – Space |
| Outer stages | TSIs (memory) | Time-multiplexed space switches |
| Centre stage | Time-multiplexed space switch | Array of TSIs |
| Number of alternative paths | (internal time slots) | (centre TSIs) |
| Expansion | Time expansion (cheap: faster memory) | Space expansion (costly: more crosspoints and TSIs) |
| Blocking | Lower, | Higher, |
| Control | Path search over time slots | Path search over centre TSIs |
| Best for | Large exchanges, heavy traffic | Small exchanges, light traffic |
Three-stage design
Reading of the data: the first stage has 4 arrays with 5 input lines each, so lines, ; the second stage has arrays.
- Stage 1: 4 arrays of
- Stage 2: 6 arrays of (each middle array has one link from each of the 4 first-stage arrays)
- Stage 3: 4 arrays of
5 in [5x6] \ / [6x5] 5 out
5 in [5x6] --> 6 x [4x4] --> [6x5] 5 out
5 in [5x6] --> middle --> [6x5] 5 out
5 in [5x6] / \ [6x5] 5 out
(20 inputs) (20 outputs)
Crosspoints
Check: .
A single-stage switch needs 400 crosspoints, so the saving is 64 crosspoints (16%). Since , this network is blocking; 9 middle arrays would be needed for strict non-blocking.
Answer: total crosspoints = 336.
- 2075 Asoj · 4+4 marks
Describe technical structure of a telephone exchange. Compare TST and STS switch used in digital telephone exchange system.
Answer
Technical structure of a telephone exchange
A telephone exchange connects any subscriber line or trunk to any other on demand. It has the following main subsystems:
Subscribers Other exchanges
| ^
+------------+ +-------------+ +-------------+
| Subscriber |->| Switching |->| Trunk / |
| line units |<-| network |<-| junction |
| (BORSCHT) | | (T, S, TST)| | interface |
+------------+ +-------------+ +-------------+
^ ^ ^ ^
| +--------+ | +--------+
| | Signal-| | |
| | ling |<-->+<-->| Control (SPC
| +--------+ | processors)
+--------------------> +---------------+
O&M: charging, testing, admin
- Subscriber line interface: each line card does BORSCHT (battery feed, over-voltage protection, ringing, supervision, codec, hybrid, testing). Line concentrators combine many lightly used lines onto fewer switch ports.
- Switching network: makes the speech path. In digital exchanges it is a TST (or TSST) network of time switches and space switches.
- Trunk/junction interface: connects to other exchanges on E1 (2.048 Mbps) PCM links, with frame alignment and clock synchronisation.
- Signaling equipment: subscriber signaling (dial tone, DTMF receivers, ringing, busy tone) and inter-exchange signaling (CAS or CCS/SS7).
- Control unit: SPC processors that detect calls, analyse digits, find paths, set the switch, supervise calls and release them.
- Operation and maintenance: charging (billing) records, traffic measurement, alarms, testing and subscriber administration.
- Power and synchronisation: 48 V DC battery plant and a master clock.
Comparison of TST and STS switches
| Point | TST switch | STS switch |
|---|---|---|
| Stage order | Time – Space – Time | Space – Time – Space |
| Centre stage | Space switch (TMS) | TSIs |
| Alternative paths | internal time slots | centre TSIs |
| Blocking | , lower | , higher |
| Expansion method | Time expansion, cheap | Space expansion, costly |
| Non-blocking condition | ||
| Cost for large size | Lower | Higher |
| Use | Large digital exchanges (e.g. AXE, EWSD type) | Small switches, light load |
TST is preferred in practice because, for the same blocking, it needs less hardware and its paths are easy to find by searching time slots.
- 2074 Asoj · 5+1+2 marks
Design space switch with following input trunks, output trunks and connection memory. How many virtual paths are required in this switch? Write down each output channels of output trunks in time t0 to t3, with respect to decode logic.
Input trunks and their channels:
Input trunk I1 I2 I3 I4 I5 Channels A4 A3 A2 A1 B4 B3 B2 B1 C4 C3 C2 C1 D4 D3 D2 D1 E4 E3 E2 E1
Connection memory (5 bits per output trunk, feeding the decode logic):
Time O1 O2 O3 O4 t0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 t1 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 t2 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 t3 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0
Answer
Assumptions: each 5-bit connection-memory word is a one-hot select for the decode logic, with the bits in the order I1 I2 I3 I4 I5 (left to right). Channel 1 of each trunk arrives first (in ), channel 2 in , and so on, as the channels are written right-to-left ("A4 A3 A2 A1").
Design of the space switch
This is a time-multiplexed space switch with 5 input trunks (rows) and 4 output trunks (columns), with 4 time slots per frame.
O1 O2 O3 O4
I1 ----- x --- x --- x --- x
I2 ----- x --- x --- x --- x
I3 ----- x --- x --- x --- x
I4 ----- x --- x --- x --- x
I5 ----- x --- x --- x --- x
| | | |
[CM1] [CM2] [CM3] [CM4]
decode logic per column
(4 words x 5 bits each)
- Each output column has its own control memory with 4 words (one per time slot) of 5 bits.
- In each time slot the decoder of a column closes the one crosspoint whose bit is 1, connecting that input trunk to the output trunk for that slot only.
- The switch has crosspoints and control words.
Number of virtual paths
Each crosspoint can carry a different connection in each time slot:
In each time slot at most 4 connections exist (one per output), so in one frame at most of these paths are in use; the given memory uses all 16.
Decoding the connection memory
| Time | O1 | O2 | O3 | O4 |
|---|---|---|---|---|
| 00100 → I3 | 01000 → I2 | 10000 → I1 | 00010 → I4 | |
| 10000 → I1 | 00100 → I3 | 01000 → I2 | 00001 → I5 | |
| 00001 → I5 | 00010 → I4 | 00100 → I3 | 10000 → I1 | |
| 01000 → I2 | 10000 → I1 | 00010 → I4 | 00100 → I3 |
Output channels in to
| Time | O1 | O2 | O3 | O4 |
|---|---|---|---|---|
| C1 | B1 | A1 | D1 | |
| A2 | C2 | B2 | E2 | |
| E3 | D3 | C3 | A3 | |
| B4 | A4 | D4 | C4 |
Written in the same style as the input trunks (latest on the left):
- O1: B4 E3 A2 C1
- O2: A4 D3 C2 B1
- O3: D4 C3 B2 A1
- O4: C4 A3 E2 D1
A space switch does not change the time slot of a sample: channel always leaves in time slot . Changing slots needs a time switch, which is why practical exchanges use TST.
- 2074 Asoj · 4 marks
Write a short note on TST and STS switches.
Answer
TST and STS are three-stage digital switches that combine time switches (TSIs) and time-multiplexed space switches (S) so that every call has many alternative paths. They solve the high blocking of two-stage ST and TS switches.
TST: link-->[T]-->[ S ]-->[T]-->link
STS: link-->[ S ]-->[T..T]-->[ S ]-->link
TST (Time–Space–Time)
- Input TSI moves the sample from its external slot to a free internal slot ; the space stage switches it in slot to the right output highway; the output TSI moves it to the required output slot.
- Alternative paths = number of internal time slots .
- Blocking: , ; non-blocking if .
STS (Space–Time–Space)
- The input space stage sends the sample to one of centre TSIs; that TSI changes its slot; the output space stage sends it to the right outgoing link.
- Alternative paths = number of centre TSIs .
- Blocking: , ; non-blocking if .
| Point | TST | STS |
|---|---|---|
| Expansion | Time (cheap) | Space (costly) |
| Blocking | Lower | Higher |
| Best for | Large, busy exchanges | Small exchanges |
TST is more widely used because time expansion only needs faster memory, giving lower blocking at lower cost.
- 2074 Chaitra · 4+4 marks
What are the basic functions of a conventional exchange? Write economic and technical advantages of PCM switching compared to its analog switching.
Answer
Basic functions of a conventional exchange
- Attending (identification): continuously monitor all lines and detect a call request (off-hook) and the calling line.
- Information receiving: send dial tone and receive the dialled digits (pulse or DTMF).
- Information processing: analyse the digits to find the destination and route.
- Busy testing: check whether the called line or a trunk is free.
- Interconnection (switching): set up a speech path through the switching network between the calling and called line or trunk.
- Alerting: send ringing current to the called party and ring-back tone to the caller.
- Supervision: watch the call for answer and clear-down, and release the path when either party hangs up.
- Information sending: send address and line signals to other exchanges for outgoing calls.
- Charging and metering: record call duration and destination for billing.
Advantages of PCM (digital) switching over analog switching
Economic advantages
- Shared crosspoints: one time-shared crosspoint or memory location serves many calls, so far fewer components are needed.
- No codecs between exchanges in an integrated digital network: digital trunks are switched directly, removing costly A/D and D/A conversion at each exchange.
- VLSI hardware: memories and logic chips are cheap, small and low power, so exchanges need less floor space, air conditioning and power.
- Lower maintenance cost: no moving parts, self-diagnosis and remote maintenance by software.
- Quick installation and easy expansion in modular units.
Technical advantages
- No noise or loss accumulation: signals are regenerated, so quality does not depend on the number of switching stages or distance.
- Constant transmission loss through the exchange, independent of path.
- Less crosstalk and better speech quality.
- Integration of transmission and switching on the same PCM format (2.048 Mbps E1).
- Data and ISDN services carried directly, as everything is already digital.
- Fast call set-up and easy use of common channel signaling (SS7).
- SPC features: call waiting, forwarding, conference, itemised billing.
- High reliability through duplicated processors and self-checking.
(Issues to note: need for network synchronisation, a codec and hybrid on every analogue line card, and echo control.)
- 2073 Shrawan · 3+5 marks
What are advantages and issues of PCM switching when it compared with analog switching? Calculate and draw, how many cross points are found in three stages switching system, whereas 3 stages array of 4 input lines and 5 second stages array.
Answer
Advantages of PCM switching over analog switching
- No accumulation of noise: digital signals are regenerated; quality does not depend on the number of switching stages.
- Time sharing of hardware: one crosspoint or memory location serves many calls, so fewer components are needed.
- Integration with PCM transmission: digital trunks are switched without A/D conversion at each exchange (integrated digital network).
- Low cost, size and power using VLSI; easy maintenance and SPC features.
- Data/ISDN services and fast common channel signaling.
Issues (problems) of PCM switching
- Synchronisation: all exchanges must run on a common clock, otherwise frame slips occur.
- Codec and hybrid per line: each analogue subscriber line needs BORSCHT functions, which costs more per line.
- Delay and echo: buffering adds delay (up to a frame per T stage), and 2-wire/4-wire hybrids cause echo that may need cancellers.
- Memory speed limits the size of a single time switch.
- Software complexity and dependence on processors.
Crosspoints in the three-stage switch
Reading of the data: 3 first-stage arrays, each with 4 input lines, so , ; 5 second-stage arrays, .
- Stage 1: 3 arrays of
- Stage 2: 5 arrays of
- Stage 3: 3 arrays of
4 in [4x5] \ / [5x4] 4 out
4 in [4x5] --> 5 x [3x3] --> [5x4] 4 out
4 in [4x5] / middle \ [5x4] 4 out
(12 inputs) (12 outputs)
each outer array has 1 link to each
of the 5 middle arrays
Check: .
Comment: a single-stage switch needs only 144 crosspoints, so for such a small the three-stage form gives no saving; it pays off only for large . Also , so the network is blocking.
Answer: total crosspoints = 165.
- 2073 Chaitra · 8 marks
What is a space switch and time switch? How STS switch is differ than TST switch? Explain with telephone switching diagram.
Answer
Space switch
A space switch (S) connects physically separate input lines to output lines. In a digital exchange it is a time-multiplexed space switch: an crosspoint (or multiplexer) matrix whose crosspoints are changed every time slot by a control memory, so one crosspoint carries different calls in different slots. It changes the highway of a sample but not its time slot.
Time switch
A time switch (T) or TSI changes the time slot of a sample on one TDM highway. It writes the incoming samples into a speech memory and reads them out in a different order under control of a control memory. It changes the slot but not the highway.
Space switch: I1 slot5 --> O3 slot5
Time switch: slot5 --> slot12 (same highway)
How STS differs from TST
STS:
links -->[ S ]-->[TSI 1]-->[ S ]--> links
[TSI 2]
[TSI k]
TST:
links -->[TSI]-->[ S ]-->[TSI]--> links
(N) (l internal (N)
slots)
STS working: in the external slot , the input S stage sends the sample to a free centre TSI . TSI moves it from slot to the required output slot . In slot the output S stage sends it to the correct outgoing link. Alternative paths = centre TSIs.
TST working: the input TSI moves the sample from slot to a free internal slot ; in slot the space stage connects the input highway to the output highway; the output TSI moves it from slot to slot . Alternative paths = internal slots.
Telephone call example
Subscriber A is on slot 3 of highway 1; B is on slot 17 of highway 4.
- TST: TSI-1 moves slot 3 → internal slot 9; S stage closes (1, 4) in slot 9; TSI-4 moves slot 9 → slot 17.
- STS: in slot 3, S stage connects highway 1 to centre TSI 2; TSI 2 moves slot 3 → slot 17; in slot 17 the output S stage connects TSI 2 to highway 4.
| Point | STS | TST |
|---|---|---|
| Centre stage | TSIs | Space switch |
| Paths | TSIs | time slots |
| Blocking | Higher | Lower |
| Expansion | Space (costly) | Time (cheap) |
| Use | Small switches | Large exchanges |
- 2072 Chaitra · 8 marks
Explain digital switching system. Mention functions of switching system in telecommunication.
Answer
Digital switching system
A digital switching system is an exchange that switches voice and data in digital (PCM) form, using time-division switching under stored program control. Speech from analogue lines is sampled at 8 kHz, coded into 8-bit words and multiplexed onto 32-slot (2.048 Mbps) highways. The switching network then moves each word from its incoming slot and highway to the required outgoing slot and highway using time switches (T) and space switches (S), normally arranged as TST.
Analog +---------+ +------------+ +--------+ Digital
lines -->| Line |->| Switching |->| Trunk |--> trunks
| card + | | network | | inter- | (E1)
| codec |<-| (T-S-T) |<-| face |
+---------+ +------------+ +--------+
^ ^ ^
+------ Control processor ---+
(SPC) + signaling
Main parts: line interface (BORSCHT), concentrator/multiplexer, digital switching network, trunk interface, signaling units (DTMF receivers, SS7), control processor, and O&M system.
Features: no moving parts, time-shared hardware, regeneration of signals (no noise build-up), integration with digital transmission, and easy new services through software.
Functions of a switching system
- Attending: detect a call request (off-hook) on any line.
- Information receiving: give dial tone and receive dialled digits.
- Information processing: analyse digits to find the called party and route.
- Busy testing: check if the called line or outgoing trunk is free.
- Interconnection: set up a path through the switching network.
- Alerting: ring the called party; send ring-back tone to the caller.
- Supervision: watch for answer and clearing; release the path at the end.
- Information sending: send signaling to other exchanges for outgoing calls.
- Charging: record call details for billing.
- Operation and maintenance: fault detection, testing, traffic records, subscriber data changes.
- 2072 Chaitra · 2+6 marks
What is multistage switching? Describe the STS switching with neat diagram and its blocking probabilities.
Answer
Multistage switching
Multistage switching builds a large switch from two or more stages of smaller switching arrays joined by internal links. It needs far fewer crosspoints than a single matrix and gives alternative paths, but some blocking may occur unless the middle stage is large enough (e.g. ).
STS switching
A Space–Time–Space switch has an input time-multiplexed space stage, a centre stage of TSIs, and an output space stage.
Link 1 -->+-------+ [TSI 1] +-------+--> Link 1
Link 2 -->| N x k |->[TSI 2]->| k x N |--> Link 2
... | space | ... | space | ...
Link N -->+-------+ [TSI k] +-------+--> Link N
c slots (in S) centre T (out S)
Working: to connect slot of link 1 to slot of link N:
- The controller looks for a centre TSI that is free in input slot (link from input S) and in output slot (link to output S).
- In slot , the input space stage closes crosspoint (1, ), sending the sample to TSI .
- TSI stores the sample and reads it out in slot .
- In slot , the output space stage closes crosspoint (, N), sending it to outgoing link N.
- The reverse direction is set up the same way.
There are alternative paths, one through each centre TSI.
Blocking probability
Using a Lee graph: each path has two internal links in series (input S → TSI and TSI → output S), and paths are in parallel.
- External link occupancy: . With space expansion , internal link occupancy is .
- Probability one path is free: ; busy: .
- Blocking (all busy):
- Non-blocking when .
Example: , : , .
Remark: to reduce blocking, must be raised, which adds TSIs and crosspoints (space expansion). For large switches, TST is cheaper for the same blocking, so STS is used mainly in small switches.
- 2072 Chaitra · 3+5 marks
What are the basic switching functions? Calculate and draw, how many cross points are found in three stage switching system, whereas 3 stage array of 4 input lines and 4 second stages array.
Answer
Basic switching functions
- Attending: detect a call request (off-hook) and identify the calling line.
- Information receiving: send dial tone and receive the dialled digits.
- Information processing: analyse the digits to find the called party and route.
- Busy testing: check that the called line or a trunk is free.
- Interconnection: set up a path through the switching network.
- Alerting: ring the called party and send ring-back tone to the caller.
- Supervision: detect answer and clear-down; release the path.
- Information sending: send signals to other exchanges for outgoing calls.
- Charging: record call details for billing.
Crosspoints in the three-stage switch
Reading of the data: 3 first-stage arrays with 4 input lines each, so , ; 4 second-stage arrays, .
- Stage 1: 3 arrays of
- Stage 2: 4 arrays of
- Stage 3: 3 arrays of
4 in [4x4] \ / [4x4] 4 out
4 in [4x4] --> 4 x [3x3] --> [4x4] 4 out
4 in [4x4] / middle \ [4x4] 4 out
(12 inputs) (12 outputs)
each outer array has one link to each
of the 4 middle arrays
Check with the formula: .
A single-stage switch needs crosspoints, so the saving is 12 crosspoints. Since , the network is blocking; 7 middle arrays would make it strictly non-blocking.
Answer: total crosspoints = 132.
- 2072 Kartik · 6+4 marks
Compare between TST and STS switch used in digital telephone exchange system. State the advantages and disadvantages of DTMF telephone set.
Answer
Comparison of TST and STS switches
Both are three-stage digital switches that give many alternative paths to reduce the blocking of two-stage ST/TS switches.
TST: link-->[TSI]-->[ S ]-->[TSI]-->link
STS: link-->[ S ]-->[TSI x k]-->[ S ]-->link
| Point | TST | STS |
|---|---|---|
| Stage order | Time – Space – Time | Space – Time – Space |
| Outer stages | TSIs (memories) | Time-multiplexed space switches |
| Centre stage | Space switch | TSIs |
| Alternative paths | internal time slots | centre TSIs |
| Blocking | , | , |
| Non-blocking if | ||
| Expansion | Time expansion: faster memory, cheap | Space expansion: more TSIs and crosspoints, costly |
| Cost for large switch | Lower | Higher |
| Control | Search for a free internal slot | Search for a free centre TSI |
| Typical use | Large exchanges, heavy traffic | Small switches, light traffic |
TST gives lower blocking at lower cost, so most large digital exchanges use TST (or TSST).
DTMF telephone set
In Dual Tone Multi-Frequency dialling, each key sends two tones at once: one from the low group (697, 770, 852, 941 Hz) and one from the high group (1209, 1336, 1477, 1633 Hz). For example key "5" sends 770 Hz + 1336 Hz.
Advantages
- Fast dialling: about 10 digits per second (≈ 50 ms tone + 50 ms gap) compared with about 1 s per digit for rotary pulse dialling.
- Fewer errors: no pulse distortion; tones are easy to detect.
- End-to-end signaling: tones pass through the speech path after the call is connected, so they can be used for IVR menus, phone banking, voice mail and remote control.
- Extra keys (*, #, A–D) allow supplementary services.
- Electronic, no moving parts, so the set is reliable and compact.
- Works well with digital (SPC) exchanges.
Disadvantages
- The exchange needs DTMF receivers (more costly than pulse counters), and enough of them for busy-hour traffic.
- The set needs electronic tone generators and power from the line.
- Talk-off: speech or music may imitate a valid tone pair and cause a false digit; receivers need guard times and twist limits.
- Older electromechanical exchanges cannot use DTMF without converters.
- Tones can be distorted by noise or line loss on poor lines.
- 2071 Shrawan · 2+5 marks
What is the principle of time division switching? Describe the operation of time division space switch.
Answer
Principle of time division switching
In time division switching, the switching hardware is shared in time: each call is given a short time slot in a repeating frame and the hardware connects that call only during its slot. In PCM telephony the voice is sampled every 125 µs (8 kHz) and coded into 8 bits; 32 slots form one 125 µs frame. A crosspoint or memory location used by one call in slot 3 can be used by another call in slot 4. Two forms exist:
- Time division space switching: a crosspoint matrix is shared in time (changes highway, keeps slot).
- Time division time switching: samples are stored and read in a different order (changes slot, keeps highway).
Time division space switch (TMS)
A time-multiplexed space switch connects input TDM highways to output highways. It has an crosspoint matrix (electronic gates or multiplexers) and a control memory for each output column (output-controlled) or each input row (input-controlled).
O1 O2 ... OM
I1 ------- x ----- x ---------- x
I2 ------- x ----- x ---------- x
...
IN ------- x ----- x ---------- x
| | |
[CM 1] [CM 2] ... [CM M]
c words x log2(N) bits each
^
time-slot counter (0..c-1)
Operation
- Each column control memory has words, one per time slot. Word holds the number of the input highway to connect to that output in slot .
- A time-slot counter steps through the slots. In slot it reads word of every control memory.
- A decoder for each column closes the one crosspoint named by the word, so the sample on that input highway passes to that output highway during slot .
- In the next slot new words are read and different crosspoints close. So each crosspoint is shared by up to calls per frame.
- The processor writes the control memories during call set-up and clears them at release.
Example: in slot 5, CM2 holds "3", so crosspoint (I3, O2) closes and the sample in slot 5 of I3 goes to slot 5 of O2. In slot 6, CM2 may hold "1", connecting I1 to O2.
Features
- The sample keeps its time slot; only the highway changes. To change slots, a time stage is added (TS, ST, TST).
- Control memory size: memories of bits.
- Crosspoint count is , but each serves calls, so very large capacity.
- Speed of the gates limits the number of slots per frame.
- Alone it is blocking for slot changes; it is used as the middle stage of TST switches.
- 2071 Shrawan · 2+6 marks
What do you mean by combination switch? Explain the working principle of 3-stage combination switch with its block diagram.
Answer
Combination switch
A combination switch is a digital switch built by combining time (T) stages and space (S) stages. A pure time switch is limited by memory speed and a pure space switch cannot change time slots, so the two are combined to get a large switch that can change both the highway and the time slot of a sample. Examples: TS, ST (two-stage), TST, STS (three-stage), TSST, TSSST.
Three-stage combination switch (TST)
The most common three-stage combination switch is Time–Space–Time.
Input T Space S Output T
HW1 --->[TSI A1]--+-------------+--[TSI B1]---> HW1
HW2 --->[TSI A2]--| N x N TMS |--[TSI B2]---> HW2
... ... | (control | ...
HWN --->[TSI AN]--| memory) |--[TSI BN]---> HWN
+-------------+
c slots each l internal slots c slots
Block functions
- Input time stage: one TSI per incoming highway; moves a sample from its external slot to a chosen internal slot.
- Space stage: a time-multiplexed space switch; in each internal slot it connects any input highway to any output highway.
- Output time stage: one TSI per outgoing highway; moves the sample from the internal slot to the required outgoing slot.
- Control unit: finds a free internal slot and writes all three control memories.
Working principle
Connect slot 4 of highway 1 (caller A) to slot 22 of highway N (called B):
- The processor searches for an internal slot that is free at the output of TSI-A1 and at the input of TSI-BN, say .
- Input T: TSI-A1 control memory set so the sample from slot 4 is read out in slot 10.
- Space: control memory of column N set to "1" for slot 10; the crosspoint (1, N) closes in slot 10.
- Output T: TSI-BN control memory set so the sample arriving in slot 10 is sent out in slot 22.
- The B→A direction uses another internal slot, often , so one search serves both directions.
- On release, the control memory entries are cleared.
Blocking
There are alternative paths (internal slots). With link occupancy and :
Non-blocking when .
Advantages: low blocking, cheap time expansion, small space stage, good for large exchanges. The other three-stage form, STS, uses space stages outside and TSIs in the middle, but needs more hardware for the same blocking.
- 2071 Chaitra · 4+6 marks
What are principles of digital exchange? Describe non blocking switches with 3 stages switching matrix.
Answer
Principles of a digital exchange
- Digital (PCM) representation: speech is sampled at 8 kHz, quantised and coded into 8 bits (64 kbps per channel). 32 channels form a 2.048 Mbps E1 frame of 125 µs.
- Time division switching: switching hardware is shared in time. Time switches (TSIs) change the time slot of a sample; space switches change the highway. They are combined as TST, STS, TSST, etc.
- Stored program control: a processor runs software for call processing, routing, charging and maintenance.
- Line interface (BORSCHT): battery feed, over-voltage protection, ringing, supervision, coding, hybrid and testing for each analogue line.
- Digital trunks and CCS: inter-exchange trunks are PCM links, and signaling is usually SS7.
- Synchronisation: all exchanges work on a common clock to avoid slips.
lines-->[Line units]-->[ T-S-T network ]-->[Trunks]
^ ^ ^
+------[ SPC processor ]------+
Non-blocking switch with a three-stage matrix
A single matrix is non-blocking but needs crosspoints. A three-stage network uses fewer.
Structure: inputs in groups of :
- Stage 1: arrays of
- Stage 2: arrays of
- Stage 3: arrays of
n in [n x k] \ / [k x n] n out
n in [n x k] --> k arrays --> [k x n] n out
... / (N/n x N/n) \ ...
Clos condition for strict non-blocking: a new call from input array A to output array B is worst-hit when the other inputs of A use middle arrays and the other outputs of B use different middle arrays. One more is needed:
Minimum crosspoints: with , is minimum at , giving
Example: : , , :
A single-stage switch would need crosspoints.
Digital equivalent: in a TST switch the internal time slots act like middle arrays, so it is non-blocking when (e.g. , , so 64 internal slots are used).
- 2070 Asar · 5 marks
What is Time (T) switch used in digital telephone exchange?
Answer
A time (T) switch, or Time Slot Interchanger (TSI), is the part of a digital exchange that moves a PCM sample from one time slot to another on a TDM highway. Since each subscriber occupies a fixed slot, swapping slots connects one subscriber to another.
in (slots 0..c-1) out
------->[ Speech memory c x 8 ]------->
^ write read ^
[counter] [Control memory]
(set by processor)
Parts
- Speech memory (SM): locations of 8 bits, one per slot.
- Control memory (CM): words of bits giving read or write addresses.
- Time-slot counter and control logic.
Working (sequential write, random read)
- The sample in input slot is written into SM().
- In output slot , CM() holds , so SM() is read and sent out in slot .
- Example: CM(7) = 3 connects input TS3 to output TS7, with a delay of 4 slots.
In the other mode (random write, sequential read), CM() gives the write address and SM is read in order.
Speed limit: each slot needs a write and a read, so . For this is 1.95 µs; a 50 ns memory can handle up to channels.
Features: non-blocking within its frame, delay under one frame, low cost (just memory). Since it serves only one highway, large exchanges combine T switches with space switches as TST.
- 2070 Chaitra · 7 marks
Explain the role of Logic or digital electronics in upgrading the electromechanical switching system into digital switching system.
Answer
Electromechanical exchanges (Strowger step-by-step and crossbar) used relays, selectors and moving contacts both to make the speech path and to control the call. Logic and digital electronics replaced these parts step by step and turned them into digital SPC exchanges.
Role of logic / digital electronics
- Common control instead of direct control: in Strowger exchanges each selector was stepped directly by dial pulses. Electronic registers and markers made of logic circuits store the digits first and then decide the route, so any free path can be chosen (alternate routing, digit translation).
- Stored program control: hard-wired relay logic was replaced by a processor and memory. Call handling, routing tables and features became software, so new services (call waiting, forwarding, abbreviated dialling) need only a program change.
- Electronic scanning: line relays were replaced by scanners (multiplexers and gates) that test every line every few milliseconds for off-hook, digits and on-hook.
- Digit reception: pulse counters and DTMF receivers built with digital filters replaced rotary selectors.
- Electronic crosspoints: reed relays first, then semiconductor gates replaced mechanical crossbars, giving faster and wear-free switching.
- Time division switching: with PCM codecs, speech becomes 8-bit words. Memories (TSIs) and logic gate matrices (space switches) replace metallic crosspoints; one gate serves many calls in different slots.
- Digital transmission integration: exchanges connect directly to PCM E1 trunks, removing analogue/digital conversion between exchanges.
- Signaling: logic-based signaling units allowed common channel signaling (SS7) with fast message-based call set-up.
- Charging and administration: counters and memory replaced electromechanical meters; detailed call records are produced automatically.
- Maintenance: self-test logic, alarms and remote diagnostics reduce fault-finding time.
Results of the upgrade
| Point | Electromechanical | Digital (logic-based) |
|---|---|---|
| Switching element | Relays, selectors | Gates, memories (TSI) |
| Control | Hard-wired | Stored program |
| Speed of set-up | Seconds | Milliseconds |
| Size and power | Large, high | Small, low |
| Maintenance | Frequent, manual | Low, automatic |
| New services | Difficult | Software update |
Thus digital electronics is the basis of modern exchanges, giving lower cost, higher reliability and many more services.
- 2070 Chaitra · 2+2+4 marks
What are the drawbacks of ST and TS switch and how are they solved by STS switch? Explain.
Answer
Drawbacks of ST and TS switches
A TS switch has a time stage followed by a space stage; an ST switch has a space stage followed by a time stage. Both are two-stage and give only one possible path for each connection, so they block heavily.
- TS drawback: the input TSI moves the sample from slot to the wanted output slot on its own highway, and then the space stage must connect the highway to the output highway in slot . If another input highway already uses slot to reach the same output highway, the call is blocked, even though both A and B are free.
- ST drawback: the space stage must connect input highway to output highway in the input slot . If slot is already used on output highway by a call from another input, the call is blocked. The output TSI could change the slot afterwards, but it never receives the sample.
TS: [T] -> [S] S must use slot j (fixed)
ST: [S] -> [T] S must use slot i (fixed)
=> one path only, blocking = P(that slot busy)
How STS solves this
An STS switch has an input space stage, a middle stage of TSIs and an output space stage.
HW1 -->+------+ [TSI 1] +------+--> HW1
HW2 -->|N x k |->[TSI 2]->|k x N |--> HW2
HWN -->+------+ [TSI k] +------+--> HWN
- In input slot , the input S stage can send the sample to any free centre TSI (one with a free link in slot ).
- TSI changes the slot from to .
- In slot , the output S stage connects TSI to output highway .
- The call is blocked only if all centre TSIs are busy in slot or slot .
So there are now alternative paths instead of one. Using a Lee graph with internal link occupancy :
For and : , compared with about for a single path. With the STS switch becomes strictly non-blocking.
(TST solves the same problem using internal time slots as alternative paths, and is usually cheaper.)
- 2069 Chaitra · 2+6 marks
What do you mean by S (space) and T (time) switches? Show that 3-stage STS or TST network can minimize the switching problems associated with 2-stage ST or TS network with their working models.
Answer
S and T switches
- Space (S) switch: a time-multiplexed crosspoint matrix that connects an input TDM highway to an output highway in a given time slot. It changes the highway but not the slot.
- Time (T) switch / TSI: a speech memory with a control memory that writes samples and reads them in a different order. It changes the slot but not the highway.
Problem with two-stage ST and TS networks
To connect slot on highway to slot on highway , both the slot and the highway must change.
TS: HWa --[T: i->j]--[S: a->b in slot j]-- HWb
ST: HWa --[S: a->b in slot i]--[T: i->j]-- HWb
- In TS, the space stage must use slot ; if slot is already used by another input highway to reach , the call is blocked.
- In ST, the space stage must use slot ; if slot is busy into highway , the call is blocked.
- There is only one path, so the blocking probability equals the chance that this particular link is busy (about ). This is too high for an exchange.
Three-stage TST network
HWa->[TSI-A: i->x]->[S: a->b in x]->[TSI-B: x->j]->HWb
- Input TSI moves the sample from slot to any free internal slot .
- Space stage connects to in slot .
- Output TSI moves it from to .
The controller can pick any of internal slots, so there are alternative paths.
Three-stage STS network
HWa->[S: a->m in i]->[TSI m: i->j]->[S: m->b in j]->HWb
- Input space stage sends the sample in slot to any free centre TSI .
- TSI changes the slot from to .
- Output space stage connects TSI to highway in slot .
There are alternative paths (centre TSIs):
Comparison (example)
For : a two-stage network blocks with probability about 0.3 (one link busy). A three-stage network with 8 paths gives , and with 32 paths about .
| Network | Paths | Blocking |
|---|---|---|
| TS / ST | 1 | High (≈ ) |
| STS | Low, non-blocking if | |
| TST | Very low, non-blocking if |
So 3-stage STS or TST networks remove the single-path problem of 2-stage networks; TST is preferred because time expansion is cheaper than space expansion.
- 2069 Bhadra (old course) · 6+6 marks
With a block and logical diagram, explain the working principle of space switch (S) used in digital switching system. Justify, why TST switch and why not TS or ST switch are used in digital switching system?
Answer
Space (S) switch in a digital switching system
A digital space switch is a time-multiplexed space switch (TMS). It connects incoming PCM highways to outgoing highways. Its crosspoints are electronic gates, and the connection pattern changes every time slot under the control of control memories. It changes the highway of a sample but keeps its time slot.
Block diagram
Incoming Crosspoint Outgoing
highways matrix highways
HW1 ------->+--------------------+---> OHW1
HW2 ------->| N x M gates |---> OHW2
... | (or M x N:1 MUX) | ...
HWN ------->+--------------------+---> OHWM
^ ^ ^
[CM1] [CM2] ... [CMM] c words each
^
time-slot counter <--- clock (frame sync)
^
call-control processor (writes CMs)
Logical diagram (one output column)
Each output is in effect an -to-1 multiplexer whose select lines come from its control memory.
I1 --|AND|--+
I2 --|AND|--+
... +--[OR]--> output Oj
IN --|AND|--+
^
decoder (log2 N -> N lines)
^
CMj word for current slot
Only the AND gate selected by the decoder is enabled in a slot, so only that input reaches the output.
Working principle
- Each control memory has words, one per slot; word of CM holds the address of the input highway to connect to output in slot .
- The time-slot counter, synchronised to the frame, steps .
- In slot , every CM is read; each decoder enables one gate, so input is connected to output for the duration of slot (about 3.9 µs for a 32-slot frame).
- In the next slot different gates may be enabled, so each crosspoint is shared by up to calls.
- At call set-up the processor writes the input number into the right CM word; at release it clears it.
Example: CM word 5 = 3 → in slot 5, I3 is connected to O2. Word 6 = 1 → in slot 6, I1 is connected to O2.
Control memory size: bits (or with one-hot words, bits each).
Why TST and not TS or ST
Problem of two-stage TS and ST:
- TS: the TSI moves the sample to the output slot , then the S stage must connect the highways in slot . If slot on the output highway is already taken by a call from another input highway, the call is blocked.
- ST: the S stage must connect the highways in the input slot ; if slot is already busy into that output highway, the call is blocked.
- Only one path exists, so blocking is about equal to link occupancy (e.g. 0.3 to 0.7), far above an acceptable grade of service (e.g. 0.002).
TST gives many paths: the input TSI can move the sample to any free internal slot , the S stage switches in slot , and the output TSI moves it to slot . There are paths:
For example, , : .
Why TST rather than STS:
- Paths in TST come from time slots; increasing (time expansion) needs only faster memory and logic, which is cheap.
- In STS, more paths need more centre TSIs and more crosspoints (space expansion), which is costly.
- Non-blocking needs only , easily met (e.g. 64 internal slots for 32-slot links).
- The space stage is small ( highways), and the time stages are just memories, so TST is cheaper, more modular and suits large exchanges.
- Path search is simple: find one internal slot free on two links; the reverse path can use slot .
Hence practical digital exchanges use TST (or its extension TSST) instead of two-stage TS or ST switches.
- 2068 Bhadra (old course) · 5+5+4 marks
Explain the working principle of time switch and space switch used in digital telephone exchange. What are their drawbacks and how are they solved? Explain.
Answer
Time switch (T)
A time switch or Time Slot Interchanger (TSI) changes the time slot of PCM samples on a TDM highway.
in ---->[ Speech memory (c x 8 bits) ]----> out
^ write addr read addr ^
[slot counter] [Control memory]
- Speech memory (SM): words of 8 bits, one per slot. Control memory (CM): words of bits.
- Sequential write, random read: sample in slot is written to SM(); in output slot , CM() = gives the read address. So input slot appears in output slot .
- Random write, sequential read: CM() = gives the write address; SM is read in order.
- Example: CM(7) = 3 connects TS3 to TS7 with a delay of 4 slots.
Space switch (S)
A time-multiplexed space switch connects input highways to output highways through a gate matrix. Each output column has a control memory with words; in slot the word selects which input is connected to that output. The slot stays the same; only the highway changes.
O1 O2 .. OM
I1 ---x---x-------x
I2 ---x---x-------x
IN ---x---x-------x
| | |
[CM1][CM2]..[CMM]
Example: CM(5) = 3 connects I3 to O2 during slot 5.
Drawbacks
Time switch
- Size limited by memory speed: two accesses per slot, so . A 50 ns memory allows at most channels, not enough for a large exchange.
- Works on one highway only; it cannot connect different highways.
- Adds a delay of up to one frame (125 µs).
Space switch
- Cannot change time slots: a caller in slot 3 cannot reach a called party in slot 17.
- Crosspoints grow as ; a big single matrix is costly.
- Gate speed limits the number of slots.
Two-stage TS or ST combination
- Only one path per connection; the S stage must use a fixed slot ( in TS, in ST). If that slot is already busy into the output highway, the call is blocked, so blocking is high (about ).
How the drawbacks are solved
- Combine T and S: time stages change slots; space stages change highways. Together they connect any slot on any highway to any slot on any other highway.
- Use three stages (TST or STS) to give many alternative paths:
- TST: internal slots as paths, , non-blocking for .
- STS: centre TSIs as paths, , non-blocking for .
- Time expansion in TST (more internal slots than external) reduces blocking cheaply.
- Multistage space networks (Clos, ) reduce crosspoints while staying non-blocking.
- Larger structures such as TSST or TSSST for very large exchanges.
- Faster memory and parallel (wider) highways (serial-to-parallel conversion) allow more channels per TSI.
Example: with and , a TST switch has , compared with about 0.5 for a two-stage TS switch.
- 2065 Magh (old course) · 2+6+6+6 marks
What is space switch? How does it work? Describe the working principle and drawbacks of two stage Space-Time switch. And also explain to solve the drawbacks problem.
Answer
What is a space switch?
A space switch connects physically separate input lines (or highways) to output lines. In analogue exchanges it is a metallic crossbar matrix with one crosspoint per call. In digital exchanges it is a time-multiplexed space switch (TMS): a matrix of electronic gates whose connections change every time slot, so each crosspoint is shared by many calls. It changes the highway of a PCM sample, not its time slot.
How does it work?
O1 O2 ... OM
I1 ------- x ---- x --------- x
I2 ------- x ---- x --------- x
...
IN ------- x ---- x --------- x
| | |
[CM1] [CM2] ... [CMM]
c words x log2(N) bits
^
slot counter (0..c-1), clock
^
processor writes CMs
- There are input and output PCM highways, each with slots per 125 µs frame.
- Each output column has a control memory with words; word contains the number of the input to connect in slot .
- A time-slot counter steps through the slots. In each slot, every CM is read and a decoder enables one gate in its column (logically each column is an :1 multiplexer).
- The sample in slot of the chosen input passes to the same slot of the output.
- In the next slot other gates close, so one crosspoint can carry up to different calls per frame.
- The processor writes the CM word at call set-up and clears it at release.
Example: CM(word 4) = 2 → in slot 4, I2 is connected to O3. CM(word 5) = 6 → in slot 5, I6 is connected to O3.
Features: very fast, large capacity per crosspoint, but it cannot change the time slot, and the crosspoint count grows as .
Two-stage Space–Time (ST) switch: working principle
In an ST switch, a time-multiplexed space stage is followed by a time stage (one TSI on each outgoing highway).
HW1 -->+-------------+-->[TSI 1]--> OHW1
HW2 -->| N x N |-->[TSI 2]--> OHW2
... | space | ...
HWN -->| stage (S) |-->[TSI N]--> OHWN
+-------------+
^ CM (S) ^ CM (T)
+---- processor -+
Connect caller A (slot on input highway ) to called B (slot on output highway ):
- Space stage: in slot , the S-stage control memory of column holds , so crosspoint closes and the sample of A goes onto the link to TSI , still in slot .
- Time stage: TSI writes the sample into its speech memory in slot and, under its control memory, reads it out in slot .
- The sample now appears in slot of output highway : A is connected to B.
- The reverse direction (B → A) is set up the same way through the other half of the switch.
Example: A in TS5 of HW1, B in TS20 of HW3. In TS5 crosspoint (1, 3) closes; TSI 3 moves the sample from TS5 to TS20.
Drawbacks of the two-stage ST switch
- Single path, high blocking: the space stage must use the caller's slot . If any other input highway already sends a call to highway in slot , the link from S to TSI is busy in slot , and the new call is blocked, even though B and slot are free. Blocking is about the occupancy of that link, (e.g. 0.5 at 0.5 E), far worse than the usual grade of service (0.002 to 0.01).
- No alternative routing: the controller has no choice of path, so a single busy link causes loss.
- Space stage cannot change slots; the slot change is only done at the end.
- Large exchanges need a big S matrix and fast TSIs.
- Same type of problem in TS switches, where the space stage must use the output slot .
New call: HW2 slot i -> HW3 slot k
Link S->TSI3 already used in slot i
by HW1 -> BLOCKED (no other path)
Solving the drawbacks
The cure is to add a third stage so each call has many alternative paths.
1. STS switch (Space–Time–Space)
HW -->[S: N x k]-->[TSI 1..k]-->[S: k x N]--> HW
- In slot the input space stage can send the sample to any of centre TSIs that is free in slot ; the TSI changes ; in slot the output space stage sends it to highway .
- Paths = : , ; non-blocking if .
2. TST switch (Time–Space–Time)
HW -->[TSI: i -> x]-->[S in slot x]-->[TSI: x -> j]--> HW
- The input TSI moves the sample to any free internal slot ; the space stage switches it in slot ; the output TSI moves it to slot .
- Paths = internal slots: , ; non-blocking if .
Numerical comparison (, no expansion, ):
- Two-stage ST:
- TST:
3. Why TST is chosen in practice
- Time expansion (more internal slots) needs only faster memory; space expansion needs more TSIs and crosspoints.
- For the same blocking, TST uses less hardware and is easier to control (search for one free internal slot; reverse path at ).
- Very large exchanges extend it to TSST or TSSST, using multistage space stages in the middle.
Thus the single-path blocking of ST (and TS) switches is removed by three-stage STS or, preferably, TST structures.
- 2064 Poush (old course) · 1+4+1+10 marks
What is Time (T) Switch? How does it work? Is it possible to make a switching network in a digital exchange with the help of two stage Time-Space (TS) switch? If not, explain why and how this problem is solved.
Answer
What is a time (T) switch?
A time switch, or Time Slot Interchanger (TSI), is a digital switch that moves PCM samples from one time slot to another on a TDM highway. Since each subscriber has a fixed slot, interchanging slots connects two subscribers.
How does it work?
TDM in TDM out
------->+------------------------+------->
| Speech memory (SM) |
| c words x 8 bits |
+------------------------+
write addr ^ ^ read addr
+-----------+ +-----------+
| slot |------->| Control |
| counter | | memory CM |
+-----------+ +-----------+
^ processor
- Sequential write, random read: in input slot the sample is written into SM(). In output slot , CM() holds , so SM() is read out in slot .
- Random write, sequential read: CM() = gives the write address; SM is read in order, so the sample leaves in slot .
- Example: to connect TS3 to TS7 (sequential write), set CM(7) = 3. Delay = 4 slots ≈ 15.6 µs (slot = 3.9 µs).
- Timing: one write and one read per slot, so ; for , µs.
Is a two-stage TS switch possible?
Partly, but not as a practical exchange network. A TS switch can be built and it will work at very light load, but it suffers from heavy blocking, so it cannot give an acceptable grade of service.
HW1 -->[TSI 1]--+-----------+--> OHW1
HW2 -->[TSI 2]--| N x N |--> OHW2
... | space S | ...
HWN -->[TSI N]--+-----------+--> OHWN
Working of TS: to connect A (slot , highway ) to B (slot , highway ):
- TSI moves A's sample from slot to slot (the slot B needs).
- In slot the space stage closes crosspoint , sending the sample to highway .
Why the TS switch is not suitable
- Single fixed path: the space stage must use slot , the called party's slot. If another input highway is already sending a call to highway in slot , the crosspoint column for is busy in slot , and the new call is blocked, even though A and B are free.
- Also, if slot on the output of TSI is already used by another call from highway (to a different output highway), the call is blocked.
- The blocking probability is roughly the chance that one of these links is busy: with link occupancy ,
For : ; for : . Telephone networks need of about 0.002 to 0.01. 4. There is no alternative path, so path search cannot help. 5. The same problem exists in the ST switch, where the space stage must use the caller's slot .
Call 1: HW1 -> HW3 using slot 7 (S busy: col 3, slot 7)
Call 2: HW2 -> HW3, B is in slot 7 -> BLOCKED
How the problem is solved
Add a third stage to create alternative paths: TST (or STS).
HWa->[TSI-A: i->x]->[S: a->b in x]->[TSI-B: x->j]->HWb
- Input T stage: moves the sample from slot to any free internal slot , not just slot .
- Space stage: in slot connects highway to highway .
- Output T stage: moves the sample from slot to the wanted slot .
- The controller can choose among internal slots, so the call is blocked only if all are unusable.
Blocking with Lee graph ( parallel paths, two links each, ):
Example: , :
compared with for the TS switch.
Non-blocking TST: with time expansion (e.g. 64 internal slots for 32-slot links), no internal blocking at all.
Other solutions
- STS: space stages outside and TSIs in the middle; alternative paths; non-blocking if . It needs more hardware than TST.
- TSST / TSSST: for very large exchanges, the middle space stage is made multistage (Clos), keeping crosspoints low.
| Network | Paths per call | Blocking at , 32 slots |
|---|---|---|
| T only | Not between highways | — |
| TS / ST | 1 | ≈ 0.75 |
| TST | 32 | ≈ |
| TST, | 63 | 0 (non-blocking) |
Hence digital exchanges use TST (time–space–time) networks rather than two-stage TS switches.
Questions from Old Question Collection (BEI EX 756) (IOE BEI IV/II Telecommunication (EX 756) papers, 2079 to 2081), Old Question Collection (EX 703) (IOE BEX IV/I Telecommunication (EX 703) papers, 2069 to 2081) and Old Questions (EX 703 and earlier) (IOE EX 703 papers 2069-2075 and older-course BEX IV/II papers 2064-2069). Answers are written for this site; check them against your class notes.
Chapter titles and hours from the IOE syllabus ↗