Lecture 2. What is Switching? Switching is the process of creating a route (path) between a source and a desired destination(s) and relaying data (or.

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

I/O Organization popo.
Chapter Thirteen: Multiplexing and Multiple- Access Techniques.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
INPUT-OUTPUT ORGANIZATION
Ch. 10 Circuit Switching and Packet Switching
Lecture 4. Topics covered in last lecture Multistage Switching (Clos Network) Architecture of Clos Network Routing in Clos Network Blocking Rearranging.
Lab 9: Matrix Keypad : ”No Key Press” Analysis Slide #2 Slide #3 ”Press and Hold Key 5” Analysis.
1 Agenda TMA2 Feedback TMA3 T821 Bock 2. 2 Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
Chapter 8 Switching Switching at the physical layer in the traditional telephone network uses the circuit-switching approach.
Semester Copyright USM EEE442 Computer Networks The Data Link / Network Layer Functions: Switching En. Mohd Nazri Mahmud MPhil (Cambridge, UK)
William Stallings Data and Computer Communications 7th Edition
Data Communications Circuit Switching. Switching Networks Long distance transmission is typically done over a network of switched nodes Nodes not concerned.
Telecommunication Technologies
EE 4272Spring, 2003 Chapter 9: Circuit Switching Switching Networks Circuit-Switching Networks Circuit-Switching Concept  Space-Division Switching  Time-Division.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
ECS 152A 7. Circuit Switching, Packet Switching, and Frame Relay.
1/26 Chapter 6 Digital Data Communication Techniques.
INPUT-OUTPUT ORGANIZATION
Lecture 1. Assessment 30% test (date to be set) 70% exam.
CS-334: Computer Architecture
Data Communications and Networking
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
1 9. Circuit Switching. Prof. Sang-Jo Yoo 2 Contents  Switching Networks  Circuit-Switching Networks  Switching Concepts  Routing in Circuit-Switching.
MICROPROCESSOR INPUT/OUTPUT
ATM SWITCHING. SWITCHING A Switch is a network element that transfer packet from Input port to output port. A Switch is a network element that transfer.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Data and Computer Communications Circuit Switching and Packet Switching.
Public Switched System. Telecom Infrastructure Edge Connection –Terminal Equipment Phone Fax Modem DSL –Subscriber Loop Core Switching –Central office.
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Computer Networks with Internet Technology William Stallings
William Stallings Data and Computer Communications Chapter 9 Circuit Switching.
DATA COMMUNICATION (ELA…) CIRCUIT SWITCHING AND PACKET SWITCHING 1.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
EEC4113 Data Communication & Multimedia System Chapter 7: Network Layer by Muhazam Mustapha, October 2011.
Circuit Switching Circuit switching networks,
Unit 1 Lecture 4.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
Data and Computer Communications 8 th and 9 th Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching.
Counters In digital logic and computing, a counter is a device which stores (and sometimes displays) the number of times a particular event or process.
Data and Computer Communications Chapter 7 Circuit Switching and Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Chapter 2 PHYSICAL LAYER.
Circuit Switching and Telephone Network
Basic Computer Organization and Design
Packet Switching Datagram Approach Virtual Circuit Approach
Switching and High-Speed Networks
Image frequency rejection ratio
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Chapter 3 Top Level View of Computer Function and Interconnection
William Stallings Data and Computer Communications
Subject Name: Digital Switching Systems Subject Code:10EC82 Prepared By: Aparna.P, Farha Kowser Department: Electronics and Communication Date:
Network Core and QoS.
Data Communication Networks
Circuit Switching Packet Switching Message Switching
Digital Electronics and Logic Circuit
Network Core and QoS.
Presentation transcript:

Lecture 2

What is Switching? Switching is the process of creating a route (path) between a source and a desired destination(s) and relaying data (or call) via this route Switching is divide into Path selection Route establishment Data forwarding

Types of Switching Systems Distributed, Centralized, Hybrid Switching Space, Time, Frequency/Wavelength Switching Circuit and Packet Switching Manual and Automatic

Automatic Switching Electromechanical Strowger Step-by-step switch Crossbar exchange Electronic Digital Space Time

Electromechanical Switches Electromechanical switches use relays and electromechanical devices to perform the switching They are all space switches (frequency also possible) Electromechanical time switches are not practical as we’ll see later

Signaling Signaling in old systems is restricted to the dialing process performed by the user There are two dialing techniques Pulse dialing Dual Tone Multi-frequency (DTMF or Tone) dialing

Pulse Dialing The oldest Central office supplies 50V DC to the user terminal When handle is on, the circuit is open When the user lifts the handle, the circuit is closed and current flows in the circuit Numbers are represented by pulses created by opening and closing the circuit a certain number of times 1 = open circuit one time, 2 = open circuit two times, …, 0 = open circuit 10 times

Pulse Dialing Pulse duration is 33 1 / 3 ms with 200 ms pause between numbers Dialing is assumed finished if circuit remains for more than 200 ms Slow

DTMF Dialing Two frequencies per number 40ms pause between numbers Much faster

Strowger Step-by-step Switching Consists of a group of uni-selectors and two-motion selectors

Two-motion selectors

Step-by Step Switching Calling 5345

User lifts the phone, current flows in the circuit Central office recognizes user has lifted the phone User’s selector hunter starts moving in search for an idle selector Once a selector is connected, it sends the dial tone to the user The user dials the number 5 The selector moves vertically one step for each pulse, thus reaching row 5 Within this row, the selector searches for an idle line Of no line is found, a busy signal is returned

Calling 5345 The user dial the number 3 This is passed to the second group selector via selector 1. The second selector moves to row 3 and searches for an empty line to the final selector The user dials the number 4 This is passed through the group selectors to the final selector The final selector moves vertically to row 4 and stops The user dials the number 5 The final selector moves horizontally to column 5 thus connecting to user 5345 If at any point, no free line is found, a busy signal is returned

Disadvantages A lot of moving parts-> needs regular maintenance Alternative routes if a certain row is busy are not possible Low system lifetime The capacity of the system is reduced if short codes are allocated, e.g. 999 code means 999x are useless The Strowger system accepts 7-9 pulses/s. Fast dialing may lead to incorrect operation To use DTMF dialing, a DTMF to pulse dialing converter is required

Crossbar Exchange Makes use of relays to perform the switching The relays used in the crossbar are controlled by 2 coils Applying currents in certain directions closes the relay Inverting the current in one of the coils opens the relay

Crossbar Exchange Structure The Exchange consists of horizontal bars (connected to the inputs) and vertical bars (connected to the outputs) A relay exists at the intersection of each two bars By activating or deactivating the relays, the input can be connected to the desired output(s)

I1 I2 I3 I4 O1O2O3O4 Crossbar Exchange Structure Crossbar is represented by a state vector (vector is [4, 1, 3, 2] for figure) Unconnected inputs are set to  Broadcast and multicast are easy to implement An output can be connected to one input only at a time

Crossbar Exchange Structure All the relays are connected to a central control system The central control units are called markers (2-3 per exchange) System can use step-by-step (old exchanges) or DTMF dialing (newer ones) Devices known as registers are used to receive the call request and setup the path Electronic crossbars used transistor switches instead of relays Crossbar switches do not require heavy motion, thus they have longer lifetimes and require less maintenance

Types of Crossbar Switches Symmetric Nin = Nout Asymmetric Nin  Nout Speed up Slow down

Asymmetric Crossbars Speedup Nin < Nout Speedup ratio = Nout/Nin Speedup ratio > 1 I1 I2 O1O2O3O4

Asymmetric Crossbars Slow down Nin > Nout Speedup ratio = Nout/Nin Speedup ratio < 1 Connection/output vector = [ , 1, , 2] I1 I2 I3 I4 O1O2

Analog Time Division Switching Shared Bus

Analog Time Division Switching The sampling frequency of each channel must satisfy Nyquist law (  2* bandwidth) A real system uses a set of electronic switches instead of a rotating arrow! The switches are enabled (connect to bus) or disabled (disconnect from bus) using a control unit There are two types of control units Cyclic Control Memory-based Control

Cyclic Control Two control units are required, one for the input lines and the other for the output lines The decoder uses the count value to enable a certain input/output By synchronizing the input and output control units, we can connect different inputs to different outputs k =  log 2 (N) , N is the number of input/output lines Clock Modulo N Counter k to 2 k Decoder N lines to control switches … k lines/bits

Memory Based Control Cyclic control forces a certain sequence for the input output connections, e.g. 1-1, 2-2 means 3-3, 4-4, etc By adding a memory element between the counter and the decoder, any input-output connections are possible It is also possible to connect the same input/output to several outputs/inputs at different times The counter cycles reading the values stored in the memory The decoder decodes the read value Only one memory based control is necessary, the other can be memory based or cyclic control

Memory Based Control Clock Modulo N Counter k to 2 k Decoder N lines to control switches … k lines/bits

Capacity of Time Division Switching System The capacity (C) is given by: C = (Time between samples in any line)/(Time to Tx sample (t s )) For memory based control t s = t i + t m + t d + t t Where: t i  time to increment the counter t m  time to read the memory (zero for cyclic control) t d  time to decode the address and select the input/output t t  time to transfer the sample through the bus Time between samples = 1/sampling frequency

Limitations Synchronization is essential for the operation of the system. For large networks this is a major concern The sampling process in analog system does not use all the energy of the signal leading to a large loss in signal power The signal bandwidth increases thus increasing the noise power Hence the SNR becomes very low in analog time switching and this is why it’s not practical

Digital Switching Digital Switches use digital circuits and logic to switch digital signals For analog signals, A/D and D/A converters must be used

Digital Transmission Pros and Cons Advantages of digital transmission Low SNR and SIR requirements Signal regeneration Ease of storage and processing Ease of multiplexing Lower cost and power requirements Disadvantages Greater bandwidth Need for synchronization

Modes of Digital Transmission Asynchronous Transmission only when there is data Start and stop bit(s) indicate beginning/end of frame Idle periods separate frames (varying length) Limitations High overhead Timing errors, since each device is using internal clock Framing errors, missed or false start/stop or timing errors Large overhead + idle gaps -> low bit rate StartData bitsStopStartData bitsStopStartData bitsStop Gap

Modes of Digital Transmission Synchronous Continuous transmission, if no data, a special sequence of bits is sent High bit rates Disadvantages Wasted power if no data is available Synchronization from a single clock is required 8-bit flag Data bitsControl field 8-bit flag PreamblePost-amble

Digital Space Switch (Digital Crossbar) I1 I2 I3 ININ O1 O2 OMOM … MUX … … … … 1 2 … M 1 2 … M Control 1 Control 2

Digital Crossbar Control units (registers) must select one or none of the inputs The control units have a size   log 2 (N+1)  One control unit is capable of operating the switch but usually two are used If the switch connections are to be changed, the new configuration is loaded in the non-active control unit The control then is switched to this unit

Digital Crossbar The previous configuration is known as a single stage crossbar or single stage switch The complexity of the crossbar is calculated by the number of cross connections (N  M) or N 2 for symmetric crossbars For large N, this becomes large making the MUX and memory very large and causing power and capacitance problems The processing load also increases as new configurations are required more often (more calls) For large switches, multistage configurations are used