Professional Documents
Culture Documents
Circuit Switch Design Principles: IEG4020 Telecommunication Switching and Network Systems
Circuit Switch Design Principles: IEG4020 Telecommunication Switching and Network Systems
Chapter 2
Circuit Switch Design Principles
Space-Domain Circuit Switching
Inputs Outputs
.. ..
1 1
2 2
. .
N N
2
Strictly Nonblocking
3
Strictly Nonblocking
2 Connections:
Inputs Input 1 to Output 3
Input 2 to Output 4
3
1 2 3 4
Outputs
Fig. 2.3. (a) Crossbar switch
4
Blocking
1 1
2 2
3 3
4 4
5
Nonblocking Properties
RNB
WSNB
SNB
6
Rearrangeably Nonblocking
1 1
2 2
3 3
4 4
7
Rearrangements
1 1 Connection cannot be
2 2 set up between input 4
3 3 and output 1
4 4
Fig. 2.4. (b) a connection request from input 4 to output 1 is blocked
8
Two states corresponding to the same mapping :
1 1
2 2
3 3
4 4
Input 1 2 3 4
Output 1 2 3 4
1 1
2 2
3 3
4 4
9
Complexity of nonblocking switches :
How to build large switch from smaller switches?
Problems with two-stage networks :
n
1 1 1 1 n N = mn
# lines = m2n
..
2
..
2
..
2
..
2 = mN
. . . . Bandwidth expansion
factor = m
m m m m
(a) (b)
10
1. .1
2. .2
3. .3
4. .4
11
N! mappings
1 1
M crosspoints
2
. . 2
. . # states # mappings
. . 2M N !
M log2 N !
N log2 N
N N for large N
12
Clos Switching Network
... n 1 × r2 r1 × r3 r2 × n 3
... ri — # switch
modules in
(1) (1) (1) column i
... n 1 × r2 r1 × r3 r2 × n 3
... n1 — # inputs in
column 1
..
(2) (2)
..
(2) module
n3 — # outputs in
. . column 3
... n 1 × r2 r1 × r3 r2 × n 3
... module
13
1 1
Key:
2 F 2
Find a commonly
3 3
accessible middle
4 4
node from both
5 G B 5
input and output
6 6
nodes
7 7
8 A H 8
9 9
14
F
G
A
B
H
Stage 3 switch
1 2 B r2
1
2
Stage 1
switch
A F,G,H
r1
16
Condition for Strictly Nonblocking
Clos network is strictly nonblocking iff
r2 minn1 n3 1 , N
Rearrangement
—— Substituting symbols in connection matrix such that
18
Condition for Rearrangeably Nonblocking
SA SB
Proof: i) "Only if " part trivial
ii) "if " part
. C ‧D
S A n1 1
S n 1
B 3
21
B’ B B”
B
This column D C
search ends in
C, which is not
. .. Start searching from B.
D Column search always
possible
looks for D
A C
C D
Fig. 2.12. (b) Illustration that the two chains cannot be connected
23
How many rearrangements?
o A new row/column is covered each time a point is
included
o (r1 + r3 – 2) other rows and columns
o At most (r1 + r3 – 1) rearrangements (loose)
Can do better: # rearrangements min(r1 , r3 ) 1
o Basic: consider two chains, one originates from row A,
one from column B
Choose the shorter chain for rearrangement
o A composite move: a move in chain 1 with a move in chain 2
At most r1 – 2 moves before all rows exhausted
At most r3 – 2 moves before all columns exhausted
24
Benes Switching Network
1 1
2 2x2
.. N N
2 2
.. 2x2 2
3 3
4 2x2 2x2 4
.. ..
. .
.. N N
..
N-1 2 2 N-1
N 2x2 2x2 N
The N x N network is rearrangeably nonblocking if
N N
the networks are rearrangeably nonblocking
2 2
Fig. 2.13. Recursive decomposition of a rearrangeably
nonblocking network
25
Benes Network - Complexity
Number of 2x2 elements in Benes Network :
Let N 2n and f(k) # stages in k x k Benes Network, then
N
f (N) f ( ) 2
2
ff(2n ) (2n-1 ) 2
f (2n-2 ) 4
.
.
fj(2n- j ) 2
f (2) 2(n -1)
1 2(n -1)
2n -1 2log 2 N 1
26
Benes Network - Structure
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
Baseline
Network Reverse
Baseline
Network
27
Baseline and Reverse Baseline Networks
Baseline Network
28
Looping Algorithm
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
1 .. .. 1
2
.. .. 2
. .
. m=1
.. .
. .
N .. .. N
m = log N
Fig. 2.16. Cantor network
31
Cantor Network – Strictly Nonblocking
Cantor Network is SNB :
1.) Let m be # of Benes Network required
2.) Worst case: all other N-1 inputs/outputs busy
→ there are (N-1) paths to middle nodes
3.) One path meets the binary tree at stage 1
Two paths at stage 2
Let the # paths meeting the binary trees at stage i be Ai
Stage 1 Stage 2 …
Ai 2 - 1
i
log2 N
Check: A N 1
i 1
i
32
Cantor Network – Strictly Nonblocking
33
Connection paths from inputs 1 and 2 intersect
with binary tree from the first time in stage 2
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
D D
E E
M M
U U
X X
36
Time-Domain Switching
TSI
Write Read
RAM
Switching in time domain
Fig. 2.19. Direct time slot interchange using random access memory
(switching in the time domain)
37
Example for Time-Domain Switching
Example: memory access time
T 1 rate 1.5Mbps
N 24
Each data source is 64 kbps
One byte per time-slot
24 x 64,000 bps
Arrival rate =
8 bits/time-slot
=192,000 time-slots/sec
A read and a write required per time-slot
1
memory access time 2.6 s
2 x 192,000
38
Time-Space-Time Switching
n m m n
TSI TSI
TSI TSI
.. rxr ..
. .
TSI TSI
39
Time-Space-Time Switching
( i, j ) — data on input i at time-slot j
Frame
Targeted Outputs
40
Time-Space-Time Switching
A(1,1) M CBA M D(2,1)
BAC EDC CED
B(1,2) U TSI TSI U E(2,2)
X (1) (1) X
C(1,3) C(1,3)
D(2,1) M M A(1,1)
FED EDF HAL LHA
E(2,2) U TSI TSI U H(3,2)
X (2) (2) X
F(2,3) L(3,3)
G(3,1) M M G(3,1)
LHG HGL BGF GBF
H(3,2) U TSI TSI U B(1,2)
X (3) (3) X
L(3,3) F(2,3)
41
B(1,2) A(1,1) C(1,3) E(2,2) D(2,1) C(1,3)
42
These lines correspond to time slot 1
A(1,1) D(2,1)
B(1,2) E(2,2)
C(1,3) C(1,3)
(1) (1) (1)
D(2,1) A(1,1)
E(2,2) H(3,2)
F(2,3) L(3,3)
(2) (2) (2)
G(3,1) G(3,1)
H(3,2) B(1,2)
L(3,3) F(2,3)
(3) (3) (3)