02 Te384 - Lecture2 - Switching Systems
02 Te384 - Lecture2 - Switching Systems
Switching System
Manual Automatic
Electromechanical Electronic
BASIC FUNCTIONS OF A SWITCH
• Identity
• Addressing
• Busy testing
• Supervision
• Clear down
• Billing
Simple Signal exchange Diagram
• Electromechanical Switches
• Strowger Step-by-Step
• Cross bar
• Electronic Switches
• Space Division Switching
• Time Division Switching
• Analog switching
• Digital Switching
• Space Switch
• Time Switch
• Combination Switch
Manual Control
• Early telephone switch boards were operated
manually using a jack for each line and two
plugs on a long flexible wire called a cord pair
for making the connection
• The cord pairs appeared in rows on a shelf in
front of the operator, and the jacks were
mounted on a vertical panel. To make a
connection, the operator picked up a cord,
plugged it into the jack corresponding to the
line requesting service, obtained from the
calling party the name or number of the
desired party, and then plugged the other end
of the cord pair into the correct outgoing line
jack
• Not every subscriber however appreciated the personal
touch.
Limitation of Manual Exchanges
• Language Dependent
• Lack of Privacy
• Switching Delay
• Limited Service
Progressive Control
• The Strowger, or step-by-step switch connects a pair of
telephone wires by progressive step-by-step operation of
several series switch operating in tandem
• Each operation is under the direct control of the dialed
pulse produced by the calling telephone.
Uniselectors
Two motion selectors
Significant limitations of the Strowger Switches
• Because several switches are operated in tandem and the
switches are shared among many incoming lines it is
possible for a call to be blocked partway through the dialing
sequence even though the called line may be free.
• The switch requires the successful sequential operation of
several relays, and a sizable voltage and current is
switched each time a switch is stepped. Consequently, the
mechanical reliability of the switches is low, they require
high amount of maintenance by skilled people, and they
generate large amounts of electrical and mechanical noise.
• Since the switching network is hard-wired, it is difficult to
make changes in the switching arrangement
Common Control Systems
• In common control switching systems, the switching and
the control operations are separated
Double-Swing
X-bars
1 1 3
100 100 1 2 3 4
1
Need 4950
cross-points
100
n(n 1) 100 99
4950
2 2
1 100
10 x 10 10 x 10
How many xpts?
10 10 10 10
(10) (10)
Each block is 10 x 10 = 100 xpts.
1 1 1 1
Whole switch has 2 stages =
10 x 10 10 x 10
2000 xpts.
10 10 10 10
1 1 1 1
10 x 10 10 x 10
10 10 10 10
1 1 1 1
10 x 10 10 x 10
10 10 10 10
How does it work?
4x4 4x4
Using any size of n x n blocks, you
can make an n2 x n2 2-stage switch.
We can also add a 3rd stage to the
4x4 4x4 switch to get an n3 x n3 3-stage
switch…
How?
3x3 3x3 3x3 Treat the original n2 x n2 2-stage switch
3x3 3x3 3x3
as it’s own block, attach it to n2 new
blocks of n x n and use the same
3x3 3x3 3x3 connection pattern:
The jth outlet of the kth Stage 1 block is
3x3 3x3 3x3
connected to the kth inlet of the jth
Stage 2 block.
3x3 3x3 3x3
Then copy the original n2 x n2 2-stage
3x3 3x3 3x3 switch n times and repeat.
10 x 10 10 x 10 10 x 10
j
(10) (10) (10) k
10 x 10 10 x 10 10 x 10
k j
How many xpts?
1000 x 1000 3-stage switch: 30 000
1000 x 1000 1-stage full matrix: 1 million
j
k
k j
Example:
Stage 2 - Module 1 - Outlet 91 connects
to…
Stage 3 - Module 91 - Inlet 1
Link Blocking
• Because of the single link between each module and the
modules in the next stage, there’s a possibility of blocking.
• Consider an inlet in the 1st block of stage 1 connected to an outlet
in the 3rd block of stage 2.
• Now what happens if we want to connect another inlet in the 1st
block of stage 1 to another outlet of the 3rd block of stage 2?
Example (n = 3):
…
…
…
nk kn
N/n N/n
N/n N/n
k
• The inlet arrays (first stage) are n x k arrays where each
one of the k outputs is connected to one of the k center
stage arrays
• The inter stage connection are often called junctors
• The third stage consists of k x n rectangular arrays that
provide connections from each center stage arrays to a
group of n outlets
• Multistage structures provide alternate paths through the
switch to circumvent failure
• The total number of cross points Nx required by a three
stage switch as shown in the fig above is
Non- blocking multi-stage switching
According to Clos, a three-stage switching network can
provide a strictly non-blocking operation if each individual
array is non-blocking and if the number of centre stages K
is equal to 2n-1, the switch is strictly non-blocking.
(2)
Putting (2) in (1)
(3)
Differentiating w.r.t n and setting the resulting
expression equal to zero to determine the minimum ( for
large N) the optimum value of n is .
Hence
Example
A three stage switching structure is to accommodate N=128
input and 128 output terminals. For 16 first stage and 16
last stage, determine the number of crosspoints for non-
blocking.
Solution
Number of matrices first and last stage is given by
To avoid blocking ,
Number of crosspoints
]=7680
Strictly non-blocking
A switch is strictly non-blocking if a connection can always
be set up between any idle (or free) input and output
without the need to rearrange the paths of the existing
connections.
• Re-arrangeably non-blocking
A switch is re-arrangeably non-blocking if a connection
can always be set up between any idle input and output,
although it may be necessary to rearrange the existing
connections.
• Wide-sense non-blocking
A switch is wide-sense non-blocking if a route selection
policy exists for setting connections in such a way that a
new connection can always be set up between any idle
input and output without the need to rearrange the paths
of the existing connections.
Stored Program Control (SPC) Switches
• The SPC is a computer control system that uses a stored
program digital computer for its control functions
• The SPC concepts permits the use of features like
abbreviated dialing, call forwarding, call waiting, etc
• The SPC enables easier number changes, automated call
tracing, message unit accounting(for billing)
• In SPC a program or a set of instructions are stored in its
memory and executed automatically one by one by the
processor
• A computer can be programmed to test the conditions of
the inputs and the last states and decide on new outputs
and states
• The basic function of a SPC system is to control line
organisations and terminations and to provide trunk
routing to other exchanges or tandem switches
• It also provides control to special features and functions of
a central office
Basic Control Structure of SPC System
• The SPC uses processors designed to meet the various
requirements of the exchange
• More than one processor is used for reliability and are
usually duplicated
• It uses distributed software and hardware architectures
• There are two types;
• Centralised SPC exchanges
• Distributed SPC exchanges
Centralised SPC
• Early Electronic Switching systems are centralised SPC
exchanges and used a single processor to perform the
exchange functions
• Presently centralised uses dual processor for high
reliability
• A dual processor architecture can be configured to
operate in the following modes;
• Standby mode
• Synchrounous duplex mode
• Load Sharing mode
Centralised SPC
Availability- Single Processor
Availability- Dual Processor
• A dual processor is said to have failed only when both
processors fails and the total system is not available
Distributed SPC
• It provided wider range of services
• It offered better availability and reliability than the
centralised SPC
• Exchange control functions may be decomposed either
vertically or horizontally for distributed processing.
Digital Switches
• A switching system is called digital when the input to and
out from the switching system network can directly
support digital signals
• A digital signal can be defined as coded pulses that can
be used for signaling and control
• However analog signals can still be processed through
the digital switching system via analog-to-digital(A/D)
convertors.
• The evolution to digital switching from analog is shown
Digital Switch Evolution
TIME DIVISION SWITCHING
• Time Division Switching involves the sharing of
crosspoints for shorter periods of time
• This pave way for the reassignment of crosspoints for
other needed connections
• Greater savings in crosspoints can be achieved
• A switching element can be assigned to many inlet-outlet
pairs for a few microseconds
• This is the principle of time division switching
Circuit Switch Types
• Space-Division switches
• Provide separate physical connection between inputs and
outputs
• Crossbar switches
• Multistage switches
• Time-Division switches
• Time-slot interchange technique
• Time-space-time switches
• Hybrids combine Time & Space switching
Time-Slot Interchange (TSI) Switching
• Write bytes from arriving TDM stream into memory
• Read bytes in permuted order into outgoing TDM stream
• Max # slots = 125 msec / (2 x memory cycle time)
1 a
Read slots
2 b
according to
3 connection
d c … b a permutation b a … d c
24 23 2 1 24 23 2 1
Write
22
slots in
order of 23 c
Incoming Outgoing
arrival
TDM 24 d TDM
stream stream
Time-slot interchange
Digital Switching
• Time Slot Interchanger (TSI).
• A TSI is a time switch.
• Switches one time slot channel in a single physical input to
another time slot channel on a single physical output.
• Functionally equivalent to an n x n space-divided switch where
n is the number of time slots per frame.
D C B A D C B A D C B A
TSI C A D B C A D B C A D B
4 3 2 1 4 3 2 1 4 3 2 1 4 3 2 1 4 3 2 1 4 3 2 1
23
Write
24
Address
Counter
Read
Timing
Address
1 Counter
2
3
4
Control SAM Data In SAM:
Signalling
SAM Stores the name of
RAM = 24 x 5 bits
the input time slot
Space switch equivalent: 23 being switched to
1 1 24
24 x 24 output time slot y.
full matrix
24 24
i.e. “In output time
slot y, which speech
store location do I
read?”
Time Division Switching
Operation of a TSI
Time Multiplexed Space Switch
• A TMSS is a space switch (with multiple physical inputs and
outputs) that is potentially reconfigured entirely in every time slot of
each frame.
• For instance, say we have 3 time slots on each of 4 physical inlets
and 4 physical outlets (also called I/P highways and O/P highways):
TS3
TS2
TS1
Space switch equivalent:
Three 4 x 4 full matrices
TMSS (one for each time slot)
TS2
TS3
Time Multiplexed Space Switch (2)
• How does a TMSS system work?
• A memory structure called cross-point address memory (XAM) is
used to control switching.
• XAM is a RAM with capacity to store a “word” for each time slot, each
word being a number identifying a specific physical input to connect to
during each time slot.
• Control signalling tells the XAM to store the name of the physical
input in the appropriate time slot location.
• For example, if input 6 must be connected to output 9 during time slot 7,
the the XAM for output 9 will store the number “6” in location 7.
• The space switch is rapidly reconfigured at each time slot to affect
the proper connections.
• Note that data is switched across physical inputs/outputs,
but not across time slots.
Time Multiplexed Space Switch (3)
• Column Oriented Control – “Who do I get it from?”
I/P 1
1
2
Each XAM
3
4
stores the
I/P 2 name of the I/P
XAM to which its
RAM = 24 x 5 bits
O/P is
I/P 3
23
connected to in
24 each time slot.
I/P 4
Example:
XAM XAM XAM XAM
To switch I/P 2 to O/P 4 in
#1 #2 #3 #4 time slot 18, then XAM #4
stores the value “2” in
location 18.
O/P 1 O/P 2 O/P 3 O/P 4
Time Multiplexed Space Switch (4)
• Row Oriented Control – “Who do I give it to?”
I/P 1
XAM #1
1
2
Each XAM
3
4
stores the
name of the
I/P 2
XAM O/P to which
XAM #2 RAM = 24 x 5 bits
its I/P is
23
connected to in
I/P 3
24 each time slot.
XAM #3
Example:
I/P 4 To switch I/P 2 to O/P 4 in
time slot 18, then XAM #2
XAM #4
stores the value “4” in
location 18.
O/P 1 O/P 2 O/P 3 O/P 4
Combination Switching
• Combination of time and space switches leads to
configurations that achieve both time slot interchange and
space switching across trunks
• These structures permit a large number of simultaneous
connections to be supported for a given technology
• Space switching and time switching can be accomplished
in many ways
• Two-stage switches can be Time-Space(TS) or Space-
Time(ST)
• Three stage configurations of TST or STS are more
popular and flexible
• Very large switches includes many configurations of time
and space switches
• Typical configurations are;
• TSST
• TSSSST
• TSTSTSTS
TST Switch Configuration
Examples of Time Space Combination Switches
System Configuration Traffic Maximum No of
Capacity(Erlangs) Trunks
D C B A D C B A A A D B A A D B
Data is switched
D C B A D C B A TST B A C D B A C D
between time slots and
D C B A D C B A C D B C C D B C physical connections.
Time-Space-Time Switching (2)
• Time-Space-Time switching is when data is switched
across time slots and physical connections.
• Affected by a combination of TSI and TMSS.
DS1 DS1
I/P TSI O/P
#1 TSI #1
DS1 DS1
I/P TSI O/P
#2 TSI #2
DS1 DS1
I/P TSI TMSS O/P
#3 TSI #3
DS1 DS1
I/P TSI O/P
#4 TSI #4
DS1 DS1
I/P TSI O/P
#5 TSI #5
Time-Space-Time Switching (3)
• What is the space division equivalent of a TST switch?
One module
for each time
slot in TMSS.
24 x 24 5x5 24 x 24
Replace n input x k output space switch by TSI switch that takes n-slot
input frame and switches it to k-slot output frame
nxk
N 2
Input TDM Output TDM
inputs
nxk frame with frame with k
n slots 1
3 slots
2
…
n … 2 1 k … 2 1
nxk n
N/n
Time-slot interchange
Flow of time slots between switches
First slot First slot
nk N/n N/n kn
1 1 1
nk kn
2 2
N/n N/n
2
…
…
…
nk kn
N/n
N/n N/n N/n
kth slot k kth slot
…
n slots nxk kxn
N/n N/n
For N = 96,000
• T-S-T
• Let n = 120 k = 239
• N / n = 800
• Need 800x800 space switch