Digital Switching
Digital Switching
Transmission Network
Transport network used to Link different wire centers or exchange nodes. In India, Europe E1 (2 Mbps) and its higher order multiplex used. (PDH, SDH) In US etc. DS1 (1.544 mbps) and its higher order multiplex used. (SONET) Other technologies like Frame Relay, ATM etc also used.
Network Evolution
Earlier Networks (Up to early 70s)
Analog telephone network Frequency-division multiplexing
Present:
Local loop analog Network digital (based on TDM, predominantly Circuit switched)
Network Migration
IP based switching technology Next generation networks (packet switching, Soft switches, VoIP, IP Core networks)
Digital Switching
Methods of switching
Circuit switching, packet switching, and message switching
Circuit Switching
In circuit Switched Network- Path or pipe between two ends in communication is opened and stays open for the duration of the call
Circuit Switch
Circuit switch is a device with n inputs and m outputs that creates a temporary connection between an input link and an output link.
Crossbar Switch
Crossbar switch connects n inputs to m outputs in a grid, using electronic micro-switches (transistors/Relays) at each cross-point.
Crossbar Switch
2X2 crossbar switch
Cross state Bar state
Output blocking
Two inputs request the same output
Performance Measure
delay and call setup time, (d) Capacity, and (f) complexity (g) Call blocking and Packet loss rate - Connectivity is measured by the set of pairs of input and output links that can be simultaneously connected through the switch. The larger this set, the more versatile the switch. As it processes incoming bit streams in order to route them to the proper output ports - the switch introduces delays, and this delay is another measure of performance. For circuit switches, one component of delay is the switch setup time. For packet switches, the equivalent is queuing delay.
11
12
Switch Representation
One representation of a switch is a black box shown at the top of the figure in the next page. Here, switch is a advice with M input and N output links. The second representation can be a cross bar where the complexity is measured in terms of number of cross points (M x N). The cross point can either be open or closed. In the figure input-output pairs (1,2), (2,1) , and (M, N) are closed. Rest of the cross points are open. The bottom figure represents a multi-stage switch where the input is not directly connected to output but indirectly connected through some number of middle stages. A generic switch shown below consists of four parts: (1) Input buffers; (2) Port mapper; (3) Switch Fabric; and (4) Output buffers Input Buffer: Input buffers store packets or samples as they arrive on the input lines. Some switches have tiny input buffers that hold data only while it is contending for the switch fabric. Other switches have almost all their buffers at the inputs
13
Switch Representation
The port mapper reads either the destination address or a virtual circuit identifier from an incoming packet's header and uses a table to decide the packet's output port. A circuit switch does not need a port mapper because each time slot is automatically associated with a path from an input to an output. The switch fabric routes data from an input to an output. The simplest switch fabric is a processor that reads data from an input port and writes it to an output port. Switch fabrics can also be complex multiprocessor systems that simultaneously transfer thousands of packets along many parallel data paths. Output buffers store data as they wait for a turn on the output line. At each output port, a scheduler manages the output buffers and arbitrates access to the output line. As with input buffers, these can be small or large. Some switches distribute, combine, or omit one or more of these functions. For an example, a switch may combine the input and output buffers, distribute the port mapper among the input ports, or omit the input buffers.
14
1 2
...
Crosspoint
...
N
1 2
1 2
...
M
...
N
1 2
1 2
...
M
...
N
Top: Switch as a Black Box ; Middle: Crossbar switch; Bottom: Multi-stage switch
15
A Generic Switch
16
17
Multistage Switch
Multistage switch combines switches in several stages. Design of a multistage switch depends on the number of stages and the number of switches required (or desired) in each stage.
Multistage Switches.
Increases utilization of particular cross-point Reduce the number of cross-points More than one path available for connection. Alternate paths reduces blocking and provides protection against failures.
Multistage Switches
Multiple stages switches has interconnection between the stages Depending on the design it could be blocking or nonblocking
Multistage Switches
Let N = number of inlets and outlets. Let n = size of each inlet-outlet group. Let k = number of center-stage arrays. There are N/n arrays in the first and last stages. There are (N/n) (nk) crosspoints in the first and last stages. There are k middle arrays with (N/n)2 crosspoints in each middle array. Total No of crosspoint
Nx = 2Nk+k(N/n)2
Multistage Switching
Nonblocking Switches 1953 Charles Clos Proposition for nonblocking three stage switches. If each individual array was nonblocking, and if the number of center stages k is equal to 2n1, the switch is strictly nonblocking. Number of stages is n-1 +n-1 +1 = 2n-1.
Worst Case: All other inputs have seized top n-1 middle switches and all other outputs have seized next n-1 middle switches K=2n-2 path already occupied If one more path array is there the connection can be established i.e k=2n-1, there is another path left to connect desired input to desired output
Exercise
Diagrammatically make a Clos (8,2,3) Multistage switch. N=8 n=2 k=3 Is it Blocking or non Blocking.
Example
Clos(8,2,3) N=8,n=2,k=3
Multistage Switching
Recall that the number of cross points in a three-stage switch.
Nx = 2Nk+k(N/n)2
Minimization of Crosspoints
optimum n for large N is (N/2)1/2 Nx(min) = 4N((2N)1/2 - 1)
Blocking
Strictly nonblocking switches are rarely needed in most voice telephone networks.
Switching systems and the number of circuits in interoffice trunk groups are sized to service most requests (not all) as they occur Economics dictates that network implementations have limited capacities that occasionally exceeded during peak traffic situations
Equipment for the public telephone network is designed to provide a certain maximum probability of blocking for the busiest hour of the day. Switch designed with certain grade of service assuming certain traffic generated by subscribers.
Blocking.
Grade of service of the telephone company depends on the blocking probability, availability, transmission quality, and delay Normally residential lines are busy 5-10% of the time during the busy hour. Business lines can be busy even more. Tandem Trunk lines busy 70% of time during busy hour. Network-blocking occurrences on the order of 1% during the busy hour do not represent a significant reduction in the ability to communicate since the called party is much more likely to have been busy anyway.
Blocking Probabilities
Significant Reduction in crosspoints by allowing acceptable blocking probabilities. C.Y.Lee (1955) analyzed the blocking probabilities using probability graphs.
B= pn
When a series of n links are all needed to complete a connection, the blocking probability is mostly determined as 1 minus the probability that all links are available/idle
B= 1-qn
Any particular connection can be established with k different paths one through each center-stage array B=probability that all paths are busy =(probability that an arbitrary path is busy)k =(probability that at least one link of path is busy) k 2 =(1- q ) k Where k is the number of central stage array and q = 1- p is the probability that an interstage link is idle.
This implies that if input inlets are busy then the first stage outputs (or third stage inputs) are also busy. There are =k/n times as many interstage links as there are inlets and outlets. The percentage of interstage links that are busy is reduced by the factor If is less than 1, then the first stage concentrates the incoming traffic. is also referred to as space expansion factor
Blocking probability
Blocking probability
Number of crosspoints can be further reduced by adding additional stages in multistage switch
Number of crosspoints can be further reduced by adding additional stages in multistage switch
Comparison Lee/Jacobaeus
Comparison Lee/Jacobaeus
Path-finding
As more than one path in multistage switch the path selection logic is used to select the free path. The call processor must keep track of which potential paths are available. A pathfinding routine processes the state store information and select available path. Whenever a new connection is established or old is released the state store is updated with appropriate information.
Path-finding
The time required to find an available path is dependent on how many potential paths are tested before an idle one is found. Parallel testing can decrease the pathfinding time.
Path-finding
If p be the probability of a complete path through the switch being busy. If k is the number of possible paths, (All k paths are independent and each has an equal probability of being busy.) The number of paths that must be tested before finding an idle path is
Np = (1-pk)/(1-p)
TDM Switching
Multiplexing
Frequency Division Multiplexing Time Division Multiplexing Code Division Multiplexing Space Division Multiplexing Polarisation Division Multiplexing
Telephone switch digitizes voice call (8000 8bit samples per second) switching method is TDM. switch multiplexes calls, 8-bit slot every 125 s
TDM Switching
Each subscriber occupies a time slot during conversation. To connect any two subscribers, it is necessary to interconnect the time-slots which maybe on same or different PCM highways The interconnection of timeslots i.e transferring information from one time slot to other is switching.
TDM switching
Switching Types
Time division switching Space division switching Hybrid
Control Memory
Provide Read/Write addressing for reading speech memory. It has one location per input timeslot Each location contain address of one of the speech memory locations where the speech sample is either written or read. Addresses are written in the control memory by central control of the exchange
MUX/TSI/DEMUX
Time Switch
Disadvantage:
Number of cross points required.
Time Switch
Advantage:
No cross points.
Disadvantage:
Processing delay.
Hybrid Switches
TS Switch
TS Switch
Time stage delays information in arriving time slot. Time slot change can be in same frame or different frame S stage changes the link Control store/memory of S stage decide which link to switch.
STS Switching
Each S stage is assumed to be a single (nonblocking) stage. Path finding is the functional equivalent to a 3- stage spaced division switch an can be modeled using a Lee graph.
STS Switching
Blocking probability is similar to three stage space switch.
B =(1- q 2)k
Where k is the number of central stage time switch arrays and q = 1- p = 1- p/ is the probability that an interstage link is idle =k/N N be the number of inlets and outlets. Let k be the number of middle time stages.
STS Switching
Implementation Complexity N be the number of inlets and outlets & Let k be the number of middle stages. Assume that each TDM link has c message channels Complexity of STS switch= number of space stage crosspoints + (number of space stage control bits + number of time stage memory bits+ number of time stage control bits)/100 Complexity=2kN+(2kclog2N+kc(8)+kclog2 c)/100 There are 2kN crosspoints in the S stages, 2kclog2(N) space stage control bits, kc(8) time stage memory bits, kclog2 (c) time stage control bits.
STS Switching
Example 2048 channel STS Switch N= 16 links. c = 128 channels on each link. p = .1 B = .002. Result: k = 7 and the complexity becomes 430 equivalent crosspoints. Analysis show space switch design with 81,920 crosspoints, therefore there is substantial savings in STS design
TST Switch
TST Switch
There are two time stages separated by a space switch The time switch is a time slot changer Space switches single stage space switch. It is a highway changer. Functionally Space stage is replicated for every internal time slot which is different than TDM Time slots
TST Switching
The TST switch is strictly non-blocking if the S stage is non-blocking and if the number of space stage time slots is l=2c-1. where l is space stage time slots and c is TDM time slots. The time expansion = l/c. Blocking probability for TST is B =(1- q12) k Where q1=1-p1=1-p/
Combination switches
T switch (gives full availability but large switch complex) TT, TTT, types are complex and uneconomical ST switch used for low capacity switch TST switch commonly used switch. STS switch used for PBX exchange TSST & TSSST with multiple space switch used for tandem exchange
Statistical Multiplexing
Many input lines are multiplexed into a few trunks Exploit the fact that not all users are making calls all the time When a new call arrives and all the trunks are busy, the call is blocked (lost) Key design issue Given a demand, determine the number of trunks that will maintain the blocking probability below a certain value
Call Dialing
Call Dialing
In pulse dialing, make break signal depending of dialed digit sent to exchange. Touch-tone dialing here two small bursts of signals, called dual tone sent. The frequency of the signals sent depends on the row and column of the pressed pad. Also called Dual Tone Multi Frequency (DTMF) dialing
Call Processing
When subscriber lifts handset off-hook is detected as a call event in the exchange. Path is established from subscriber line unit to signaling/tone unit providing dial tone to the subscriber Exchange receives the dialed digits. For receiving the tone dialing digits there are frequency receivers in the exchanges.
Call Processing
Call Processing
For every call processing event, call treatment programs become active Dedicated subsystems of a telephone exchange do the call treatment to find out - Type of call - Path to next node - Charging
Call Processing
Depending on the dialed digits and the customer profile the exchange software decides where to route the call. Dialed digits are mapped to exchange equipment No. (subscriber/trunk) The control unit of the exchange (distributed/centralized) controls the call establishment and facilitates finding of the switched path via the switching network of the exchange.
Call Processing
If the call is for a subscriber, path is found towards the corresponding subscriber line unit If its a call for other exchange the call path is found to a trunk. The control unit also records the call events which facilitates call charging and generation of call data records (CDRs)
Call Processing
For Inter exchange calls the dialed digits and call control information needs to be sent to other exchange Signaling mechanism is used to direct and control the setup and disconnection of inter exchange calls. Two types of signaling normally used
Channel Associated Signaling (CAS) Common Channel Signaling (CCS)
Signaling
In Channel Associated Signaling (CAS), the signaling takes place on the same TS or channel of the speech path. In Common Channel Signaling (CCS), a separate dedicated channel is used to send and receive signaling information for a group of trunks Signaling is facilitated by means of labeled messages. CCS No-7 Signaling is most commonly used signaling mechanism in PSTN network
Signaling
Switching Schemes
Timing
All digital systems requires frequency source or clock for internal timing and external operations. The clock that quantifies the analog signal must be the same clock that reconstructs the signal at the other end. The only way to assure that the clock is accurate within the entire digital network is to have only one clock - not be practically possible.
Timing
When individual synchronous equipments are interconnected
They synchronize clock to each other If each subsystems uses slightly different clocks, provision to do some sort of adjustments to maintain timing consistencies.
Clock Instability
Wander, Jitter If clock frequency variation gradual its called wander. Rapid variations called Jitter Variation up to 10 Hz- Wander Variation > 10 Hz is taken as jitter.
Timing/Clock Recovery
Generally stable frequency sources are used on both transmitter and receiver side, but clock on receiving terminal is synchronized to the transmitting terminal by using different techniques. Clock Recovery Asynchronous Clocking Ones Density The Phase Locked Loop (PLL) Digital Data Link
Elastic Store
Elastic store is a data buffer that is written by one clock and read by another clock. ES absorbs instability in clock by using recovered clock based on received stream clk.
Elastic Store
If short term instability exists in either clk, ES absorbs the difference in the amount of data transmitted and amount of data received. If there is sustained clock offset the ES will eventually overflow or underflow causing timing inaccuracies.
Timing Inaccuracies
Three types of timing Inaccuracies
Slips Asynchronous Multiplexing Waiting Time Jitter
Slips
Disruption in data stream caused by underflow and overflow is called Slip. Uncontrolled Slip can lead to loss of frame synchronization. Approach to control slip is to repeat or delete entire frame when slip occurs. Can be carried out by using ES that can store at least one frame of data.
Slips
Slips
For simplified ES implementation ES is divided in A frame memory and B frame memory which stores alternative frames. Under normal case the output data is read alternatively from A & B When there is Slip the control logic resets the output channel counter so that A memory is read twice, thus repeating the entire frame. In TST switches the inlet memory normally provided both ES and Time switching function
Timing differences
Even with tightly-controlled timing, there are small timing differences between network elements and segments. The network has design features to make it tolerant to synchronization conditions where all clock elements are at the limit of their allowed tolerances (and, some margin above that).
Steady Timing differences Periodic Timing Differences Random Timing differences.
Network Synchronization
Network synchronization involves synchronizing the switches of the network to a reference clock. The transmission links are then synchronized automatically by deriving timing from switching node. If transmission link is connected to both ends to a digital switch it derives timing from only one switch.
Network Synchronization
For perfect synchronization ideally All networks should take clock from same source. The idea of a universal, single master clock for the entire worldwide telecom network is somewhat idealist: for example, where would it be located, what backup provisions would be necessary etc.
Network Synchronization
In practice, individual national or operator networks have their own high stability master timing references (known as stratum 1 or PRC/S primary reference clock/standards). These clocks are elaborate caesium-beam standards and their accuracy, as specified in ITU G.811 and ETS-300 462-6, is 1 part in 1011. The network switches is then synchronized using this reference clock with intermediate Primary reference clocks with lesser stringent timing requirements.
Plesiochronous
No synchronization, independent switching nodes use highly accurate clocks so that slip rates between nodes is low. Simplest to implement. Costly as Accurate Timing generators/oscillators are costly. Higher level switches, International gateways normally use this method of synchronization.
Pulse Stuffing
Pulse stuffing is used to avoid both slips and clock synchronization. Concept of pulse stuffing
use of output channel whose rate is purposely higher than the input rate. Output channel carries all input data plus some null bits or stuff bits. Extraneous null bits are destuffed to recover original data
Pulse stuffing
Each network node can therefore work on its own clock without synchronization. The information is stuffed up to local channel rate. At interface running at different clocks the individual channels are unstuffed at incoming rate and again stuffed at local or outgoing rate further. Telephone multiplexes use pulse stuffing to adjust for the differences arising due to combining of tributaries operating at different rate.
Mutual Synchronization
Mutual synchronization establishes a common network clock frequency, where each node of the network, exchange frequency reference. Each node averages the incoming reference and then uses this for local and transmitted clock. In long term the clock stabilizes to a single stable network frequency.
Mutual Synchronization
Advantage - ability to remain operation even if there is clock failure at any node. Disadvantage - uncertainty of average frequency especially in case there is clock problems at multiple nodes.
Network Master
Common Master Clock is transmitted to all nodes. All Node directly connected to master reference. A separate Timing transmission network required to carry timing info to each node. Advantage- Accuracy Disadvantage- Cost of separate Timing NW.
Clock Distribution