Introduction Telcomm Sw 3

46
Chapter # 3 Switching

Transcript of Introduction Telcomm Sw 3

Page 1: Introduction Telcomm Sw 3

Chapter # 3Switching

Page 2: Introduction Telcomm Sw 3

Switching

• If we could have point to point lines between all senders and all receivers, then we would not need switching

Page 3: Introduction Telcomm Sw 3

Switching

Imagine point to point lines between all pairs of people:-

# of people # of lines2 13 3

10 45 100 4950 1000 0.5 million

In general, for n people ?Advantage ?Disadvantage ?

Page 4: Introduction Telcomm Sw 3

Switching

• A switch provides temporary path between end users in a communication network

• Traffic engineering is science of designing switching network so that circuits are optimally used & are highly available, most important consideration is cost

Asif

AbidUmar

Amir

Khalid

Mubashir

Zia

Amir

Khalid

Zia

Mubashir

Page 5: Introduction Telcomm Sw 3

Exchange Structure• Elements of an exchange include following :-• Concentrator

– Concentrates calls from terminations to links• Expander

– Expands terminating calls to terminations & trunks• Distributor or group switch

– For interconnecting switches, # of links decided on statistical basis

• Types of calls could be :-– Own exchange calls– Outgoing junction calls– Incoming junction calls– Transit calls

• Signaling System– To pass call connection / disconnection information

between termination & exchange and between exchanges– Channel associated or common channel signaling

• Control System– To interpret signaling information and take appropriate

measures

Page 6: Introduction Telcomm Sw 3

Switching System Classification

Page 7: Introduction Telcomm Sw 3

Circuit Switching

• A path is established between caller and destination for that call

• If all the ccts are busy then call is lost therefore it is an example of lost call system

• Advantage– No delay , real time communication

• Disadvantage– Low bandwidth efficiency, ccts used for fraction of

time speech contains pauses and silent interval

• Example is PSTN

Page 8: Introduction Telcomm Sw 3

Circuit Switching

Page 9: Introduction Telcomm Sw 3

Message Switching• Message is first stored in buffer and then sent

forward as and when resources become available or sufficient messages have been collected

• Also called store and forward• It is example of queuing system• Example is telegraph message• Advantage

– Better utilization of bandwidth

• Disadvantage– Delay

Page 10: Introduction Telcomm Sw 3

Packet Switching• Message is broken down into packets and then

each packet is sent separately (possibly by different routes)

• If outgoing routes are busy then they are kept in queue therefore packet switch is an example of queuing system

• Switches should be intelligent to choose best routing path

• Example is internet• Advantage

– Better bandwidth efficiency• Disadvantage

– Packet switching introduces latency

Page 11: Introduction Telcomm Sw 3

Comparison

Characteristics Circuit Packet

Origin Voice tel Data NW

Connection less or oriented

Connection- Oriented

Both

Delay Low High

NW intelligence

centralized De-centralized

BW efficiency Low High

Information Loss

Low High

Page 12: Introduction Telcomm Sw 3

Manual Switching• In 1878, the first manual exchange was

constructed in La Porte, in the United States• The first telephone exchange was operated by

hand• It served 21 subscribers and could connect any

two of them together• A ringing signal sounded at the operator's

switchboard when any of the subscribers turned the crank of his telephone

• Upon answering the signal, the operator was asked to connect the call

Page 13: Introduction Telcomm Sw 3

Manual Switching• A simple manual switchboard has subscribers’

terminations connected to jacks (sockets) • The “links” consist of a pair of plugs on flexible

cords (wires) which can be used to interconnect any pair of jacks

• Signaling consists of calling indicators (e.g. relays and lamps) and clearing indicators

• Call routing instructions are passed verbally

Page 14: Introduction Telcomm Sw 3

Manual Switching

Page 15: Introduction Telcomm Sw 3

Manual Switching• Advantages

– Human control– Services such as advice of duration and charge,

transfer of calls when absent, wake up calls etc., which are so complex to provide automatically, pose no problem on manual exchanges

• Disadvantage– The weakness of the manual exchange, which has

resulted in its almost complete disappearance, was essentially its slowness

– Long distance calling involved chain of operators

Page 16: Introduction Telcomm Sw 3

Strowger• In 1892, first automatic system was introduced

by Strowger• Strowger business was being taken away by his

competitor wife who was working as telephone operator

• Steping relay was used to allow a subscriber dialing a telephone to select one of ten lines

• When the subscriber dials the telephone a series of electrical pulses are generated on the line (at a maximum rate of ten per second)

• Each pulse causes the uni-selector (which starts at the 'home' position) to be advanced by one step

Page 17: Introduction Telcomm Sw 3

Uni-Selector

Page 18: Introduction Telcomm Sw 3

• In theory, the system could be expanded by placing ten more relays in series with each of the ten contacts from the first relay

• When a pause between dialing pulses is sensed the system would transfer the next set of pulses to the second relay

Page 19: Introduction Telcomm Sw 3

Strowger (two motion Selector)

• Two motion selectors typically have 10 rows with 10 contacts each

• Two motion selector can move vertically and horizontally

• A two-motion selector can therefore accept two dialed digits from a subscriber and route the call to any of 100 numbers

• The first digit moves the selector vertically up to the corresponding level

• The second digit moves the wipers around the contacts of that level

Page 20: Introduction Telcomm Sw 3

Two motion Selector

Page 21: Introduction Telcomm Sw 3

Two motion Selector

Page 22: Introduction Telcomm Sw 3

Strowger• In an 100 line exchange each user has to be

provided with his own 100 outlet 2 motion selector

• This can be avoided by using stage of uni selectors at the beginning

• If we want to increase the size of exchange then we can use more banks of 2 motion selectors

• Director is used to translate the digits dialed by user into actual routing digits for calls outside exchange

Page 23: Introduction Telcomm Sw 3

Strowger• Disadvantages

– Maintenance

– Flexibility

– Power

– Size

– Noise

Page 24: Introduction Telcomm Sw 3

Crossbar • A crossbar switch connects multiple inputs to

multiple outputs in a matrix manner • If the switch has N inputs and M outputs, then a

crossbar has a matrix with M x N cross-points • At each cross-point some form of switch contact

is needed to complete the connection between horizontal and vertical lines

• Any of the N inlets can be connected to any of the M outlets by closing the appropriate switch contacts

• Maximum number of simultaneous connections that can be carried by a matrix switch is given by which ever of the number of inlets or outlets is smaller

Page 25: Introduction Telcomm Sw 3

• Inlet 1 to outlet  2  by  closing  contact ?

• Inlet 4 to outlet  3  by  closing  contact  ?

Page 26: Introduction Telcomm Sw 3

Crossbar (relay)

Page 27: Introduction Telcomm Sw 3

Crossbar

Source:M. P. Clark, Networks and Telecommunications Design and Operation – 2nd Edition, John Wiley & Sons Ltd, pp. 96, 1997.

Crossbar switch

Page 28: Introduction Telcomm Sw 3

Crossbar Switch OrganizationDial tone marker & register

Connection establishment marker & register

Trunk Link FrameLine Link Frame

Page 29: Introduction Telcomm Sw 3

Crossbar Switches

• Crossbar exchanges are example of common/register controlled systems i.e. control circuit is shared

• Basic building blocks are :-– Link frame (consist of number of crossbar)– Marker (Controls connection between inlets

and outlets)– Register (decodes dialed number)

Page 30: Introduction Telcomm Sw 3

Crossbar Switches

• Customer line circuit detects calling condition • Signals relevant marker to establish connection

through concentration stage to free transmission bridge

• Transmission bridge uses another marker to select free register

• Register will receive and analyze number and then seize Marker to set appropriate switches in group selector or concentration stage

Page 31: Introduction Telcomm Sw 3

Crossbar Switches• Once connection has been established then

marker and register are released• Less numbers of markers and registers are

needed as they are being used during setting up of connection and dialing only

• Supervision of call is then provided by transmission bridge

• Dialed number and number allocated to particular line need not to have any relation due to use of register for translation

• Number of switching stages need not to be dependent on exchange numbering scheme

Page 32: Introduction Telcomm Sw 3

Multistage switching

• Three possible situation for crossbar could be :-– m=n (non blocking), m>n (concentrating),

m<n (expanding)• as N increases the number of required cross

points can be excessively high but fewer than 25% of the cross points are used at a given time.

• In order to save cross points, crossbar can be arranged in stages

• It can suffer internal blocking if sufficient number of stages are not provided

Page 33: Introduction Telcomm Sw 3

Multistage switching• How does it work?

– Divide the 16 inlets into groups of 4.– 1st outlet of each Stage 1 block is connected to an inlet of

the 1st Stage 2 block.– 2nd outlet of each Stage 1 block is connected to an inlet of

the 2nd Stage 2 block.– 3rd outlet of each Stage 1 block is connected to an inlet of

the 3rd Stage 2 block…– ith outlet of each Stage 1 block is connected to an inlet of

the ith Stage 2 block.

4 x 4

4 x 4

4 x 4

4 x 4

4 x 4

4 x 4

4 x 4

4 x 4

Page 34: Introduction Telcomm Sw 3

Multistage switching

• 100 x 100 using 10 by 10 matrices

10 x 10

1

10

1

10

10 x 10

1

10

1

10

(10)

10 x 10

1

10

1

10

10 x 10

1

10

1

10

(10)100 Inlets 100 Outlets

Page 35: Introduction Telcomm Sw 3

Multistage Switching

Page 36: Introduction Telcomm Sw 3

Multistage Switching

• Advantage: The number of cross points• Disadvantage: blocking• Clos criterion: condition of non blocking

– n = (N/2)1/2

– k > 2n – 1– Cross points ≥ 4N [(2N)1/2 – 1]

Page 37: Introduction Telcomm Sw 3

Multistage Switching

• Let N = number of inlets and outlets• Let n = size of each inlet-outlet group• Let k = number of center-stage groups• There are N/n groups in the first and last stages• There are (N/n) (nk) cross points in the first and

last stages• There are k middle groups with (N/n)2 cross

points in each middle array• There are Nx = 2Nk+k(N/n)2 cross points total

which is much smaller than the number of cross points in a single-stage switch (N2)

Page 38: Introduction Telcomm Sw 3

Multistage Switching• Example: • For N = 100, The square matrix will require • 100 x 100 = 10,000 cross points • Assuming n = K = 10; # of cross points are:• = 10(100/10)2 + 2 x 100 x 10 = 2200• Saving = 78%. The saving will increase as N

increases• Advantage: The number of cross points• Disadvantage: blocking• Clos criterion: condition of non blocking

– n = (N/2)1/2

– k > 2n – 1– Cross points ≥ 4N [(2N)1/2 – 1]

Page 39: Introduction Telcomm Sw 3

Stored Program control

• Crossbar switches were slow in processing calls• Relays were replaced by vacuum tubes,

transistors, CRT etc to improve speed • After invention of modern digital computers they

decided to use them for controlling switches also• Computer use the store program concept i.e.

instructions are stored in memory and are executed one by one

• SPC also carries out exchange control function through program stored in memory

Page 40: Introduction Telcomm Sw 3

Stored Program control

• SPC allowed several features to be extended to users like

• Computer has to be highly tolerant to faults • In 1965, first SPC exchange was installed in

USA by AT&T at New Jersey• There are two approaches of implementing SPC

– Centralized– Distributed

Page 41: Introduction Telcomm Sw 3

Central Control• In Central control central processor controls every

thing• Central control uses reed relay for cross points • Reed relay consist of sealed contacts inside an

operating coil and glass• They are faster and more reliable as there are

sealed and there are no external moving parts• Each cross point has its own reed relay • This system is similar to manual exchange i.e.

single processor is controlling every thing

Page 42: Introduction Telcomm Sw 3

Reed Relay

Page 43: Introduction Telcomm Sw 3

Reed Relay with Central Control• A scanner is continuously monitoring all the

connections• This record is accessible to processor• Processor uses marker to establish path between

calling line and register• Register sends received to data to processor for

action• Processor establishes connection through reed

relay switching network using marker • More then one processors are employed in actual

exchanges

Page 44: Introduction Telcomm Sw 3

Reed Relay with Central Control

Registers

Processors Scanner

Markers

LC Reed Relay

SW NW

Junctions

Page 45: Introduction Telcomm Sw 3

Reed Relay with Central ControlTXE-4(Telephone Exchange

Electronics)

Page 46: Introduction Telcomm Sw 3

Distributed Control• Control functions are shared by many processors

in an exchange• Offers better availability and reliability and was

possible because of low cost of processors• Control functions can be divided horizontally or

vertically• Exchange control functions are divided among

number of processors and each processor is responsible to do all the tasks

• In horizontal decomposition, each processor perform only one or some function