Physical Layer
Physical Layer Provide Physical connections Activate Maintain Deactivate Provide bit transmission b/w Data Link Layer May involve intermediate(relay) system Operates above the physical layer DTE와 DCE사이의 전기적 신호 전달: digital or analog signal < 기능 > - 데이타(bit)의 전달 - control signal transfer - clock 제공( for synchronous transfer) - 전기 접지 제공 - 기계적 접속을 제공 : connector spec.
통신 이론 l 애널로그 신호 x(t) / 이산 신호 x(kT) 신호 유형 l 주기 신호 x(t)=x(t + T) / 비주기 신호 SNR(Signal to Noise Ratio in dB) 정보신호를 전송할 때 잡음이 들어가 품질이 나빠지는 정도 l 신호 대 잡음 비 = l SNR(dB) = V1, V2 : 전압, 전류 P1, P2 : 전력(Watt)
통신 이론 기준 전력(W)과 상대 전력의 비에 따른 dB 기준 전력 상대 전력 dB ------------------------------------------------- 1 1 0 1 2 3 1 10 10 1 100 20 1 1000 30 2 1 - 3 10 1 - 10 if V2= 2* V1 : 6 dB if V2= 10* V1 : 20 dB if V2= 100*V1 : 40 dB 전화 : 30dB, radio: 40dB, TV : 45dB PCM : 8bit coding 은 30dB 보장
통신 이론 정보 표현 l bit l byte(octet) : 8 bit l Kbit : 210 bit l Mbit : 220 bit l Gbit : 230 bit 전송속도 l bps(bit per second) : 매초당 전송되는 비트수 l baud : 매초당 전송되는 신호 요소의 수 오율 l 비트 오율(BER : Bit Error Rate) l 블록 오율(block error rate) l 잉여 오율(RER : Residual Error Rate)
Signal Electromagnetic Waves : data transmission Sine Waves : a=A sin() a : 반지름 A인 원을 따라 움직이는 선이 Y축에 투영되는 값 : X축과 반경이 형성하는 각의 크기 maximum amplitude : sine wave 의 최대값 frequency f : 초당 회전 수(cycle/sec) (Hertz) = 1/T(period) a(t) =A sin(360°ft) = A sin(360°t/T) A a +A -A 90 180 360 x y Radian frequency General Form of sine waves : Phase Sine wave 특징: 신호처리 과정 중에도 sine wave의 구조가 그대로 유지 모든 주기 신호들은 sine wave의 합 (Fourier theorem)
Fourier Theorem 모든 주기적인 파형은 그 파형의 주파수인 fundamental frequency를 갖는 파형과 fundamental frequency(fo)의 정수배 주파수를 갖는 파형들의 합으로 나타낼 수 있다.
Sin 파의 주파수성분
Harmonics : fundamental frequency(fo) 의 정수배 n fo Example : square wave 0.5 1 1.5 2
Bandwidth-Limited Signals 전송 용량에 따른 디지털 신호의 형태 - Broad Bandwidth(고용량 전송채널) 는 양질의 통신 서비스를 가능하게 하는 필요 조건이다.
Bandwidth - signal bandwidth : signal이 가지고 있는 frequency의 범위 - medium bandwidth : transfer media가 통과시킬 수 있는 frequency 범위 - equalizer : distortion이 발생한 신호를 가능한 원래의 신호로 보상하기 위한 장치 - Hz : cycle/sec : sin파가 초당 진동하는 회수 -> analog signal - bps : bit/sec -> digital signal 주파수 대역폭 B Hz 일 때 digital signal speed B bps Baud : 매 초당 신호 변화의 상태가 몇 개의 다른 상태로 있었는가를 나타내는 통신속도의 차이 baud rate = bps / # of bits per signal bit rate = log2(회선 상태수) * baud rate Packet : 데이타를 전송할 때 일정한 크기의 블럭 단위로 분할하여 전송단위로 사용 1 packet = [ 1024 bits(128byte) or 2048 bits(256byte) ]
Bandwidth without noise Nyquist: If bandwidth W 1/2T, where T is the symbol interval, one can receive symbols without inter symbol interference (ISI). 1/T = 2W is called the Nyquist rate maximum symbol rate (baud) 1/T = 2W symbol/sec maximum data rate (bps) = 1/T log2V = 2W log2V bps for V -ary signaling V를 크게 할 수록 얼마든지 높은 정보율을 얻는다. 데이타의 전송 속도(bps) - serial transfer S= 1/T log2V - parallel transfer S= SUM of ( 1/Ti log2Vi ) V: discrete levels / signal T: min interval time of each pulse 1/T : # of pulses / sec
Bandwidth with noise Signal to noise ratio S/N = signal power/noise power Shannon: over a channel with bandwidth H and additive white Gaussian noise (AWGN), the maximum rate at which data can be transmitted with high reliability (called ‘channel capacity’) is given by Cmax = Wlog2(1 + S/N)bps. eq. W = 3100Hz for a voice channel and (S/N)db = 30 = 10log10(S/N). S/N = 1000 max. data rate achievable = 3,100log2(1+103) = 30,894 bps
전송매체 열화 현상 l 열잡음 l 상호변조 잡음 감쇄 왜곡 잡음 l 누화 l 반향 l 충격성 잡음 l 페이딩 감쇄 및 왜곡 특성
Transmission Media Hardwire typical data rate (Bandwidth) typical repeater spacing medium note twisted pair 1 - 2 Mbps (250Mhz) 2 - 10 Km cheap/easy to install low/medium data rate low noise immunity used in ‘local loop’ in PSTN coaxial cable (baseband) (50 cable) 10 - 20 Mbps (300Hhz) 1 - 2 Km moderate cost/rate good noise immunity baseband (digital) signaling easy to tap -> widely used in LAN coaxial cable (broadband) (75 cable) 150 Mbps - 500Mbps (300-450MHz) 10 Km higher cost/rate than baseband broadband (analog) signaling normally multiple channels are derived (FDMA) - used in CATV optical fiber 1 Gbps and higher (2GHz) 10 - 100 Km small size high noise immunity difficult to splice or tap
Coaxial Cable Fiber Optics Attenuation I dB = (b) Single cable inband traffic(5-30Mhz) outband traffic(40-300Mhz) Attenuation I dB =
A passive star connection in fiber optic network Broadcasting Hardware
Wireless transmission microwave, ground radio, infrared, laser - Terrestrial microwave - long distance communication, directional antenna/repeaters (up to 100 Km spacing) Fundamental relation in vacuum c : speed of light(3*108 m/sec) EX: 1-Mhz waves ->300m, 1-cm waves->30Ghz ------------------------------------------------------------------ 주파수 대역 명칭 용도 30 - 300 kHz LF(Low Frequency) 해상 통신 300 - 3000 kHz MF(Medium Frequency) AM 방송 3 - 30 MHz HF(High Frequency) 단파 라디오 30 - 300 MHz VHF(Very High Frequency) FM 방송, VHF TV 300 - 3000 MHz UHF(Ultra High Frequency) UHF TV, 지상 M/W 3 - 30 GHz SHF(Super High Frequency) 통신위성, 지상 M/W 30 - 300GHz EHF(Extremely High Frequency) 단거리 점대점 통신
Electromagnetic spectrum
Radio transmission Lightwave transmission : Laser Microwave Transmission : satellite TV dish Infrared and Millimeter waves : Local LAN(적외선) portable computer
The Telephone system(PSTN) Structure of PSTN Relationship of LETA, LEC, IXC LATA : Local Access & Transport Area LEC : Local Exchange Carrier IXC : IntereXchange Carrier
Typical Circuit route for medium distance call Local loop
Transmission Impairment Attenuation the loss of energy as the signal propagates outward delay distortion different Fourier components travel at different speeds noise unwanted energy from sources other than the transmitter Due to these problem : baseband (DC) signaling unsuitable except at slow speed and over short distances telephone line Analog carrier(AC) signaling is used MODEM (DC<->AC) modulation (변조) : DC signal -> AC signal demodulation(복조) : AC signal -> DC signal
Modulation Methods Trellis coding : 3bits/baud modulation 4bits/baud modulation (9600bps over 2400baud) QAM (Quadrature Amplitude Modulation) ITU V.32 V.32 bis : 14,400bps (6bits/baud) V.34 : 28,800 bps Trellis coding : maximize the chance of detecting errors
Echo suppressor Filtering : 주파수 영역중 특정 범위의 주파수 요소만을 선택하거나 배제하는 과정
Asynchronous transmissions character - represented by a fixed number of buts (5 - 8 bits) Two states: - state 1: e.q. negative voltage in RS-232-C - state 0: e.q. positive voltage in RS-232-C Idle state, the line is in state 1. To start transmission, the line goes to state 0 for one bit time (start bit). During the next 5 to 8 bits, the line is set at state 1 or 0 representing the character to be transmitted. After each character, the line is maintained at state 1 for a minimum duration of 1, 1.5 or 2 bit times (stop interval).
Because the receiver (re)synchronizes at the beginning of idle state start bit 5 - 8 bits optional parity stop interval remain idle or start next character Because the receiver (re)synchronizes at the beginning of every character, a moderate timing error can be tolerated. Overhead for start bit and stop interval is significant e.q. 7 bit character + 1 bit parity; 1 bit stop interval overhead = 2/10 = 20%
Synchronous transmissions A block of bits are transmitted without start bit or stop interval. Bit timing is provided by - separate clock line (e.q. X.21 - S line; EIA-232-D pin 15, 17). - sufficient state transitions for receiver synchronization. Manchester encoding used in Ethernet - every bit has a state transition for bit synchronization. (no dc component, higher bandwidth requirement) Usually a block of data includes preamble, block error check and post-preamble for defining the block boundary and error control. frame = preamble+data block+block error check+post-preamble
RS-232 인터페이스 l 기계적 특성 : 핀수 등 물리적 기능 l 전기적 특성 : 전압 레벨 및 타이밍
l 유효 거리 : 15m 이내 RS-232 인터페이스 특성 l 전송 속도 : 20 Kbps 이내 l 전압 레벨 : 데이터 1, OFF 상태(-3V 이하) 데이터 0, ON 상태(+3V 이상) l 전압 측정 : 불평형 모드 l 전송 방식 : 비동기식 l 핀수 : 25핀
RS-232 인터페이스 핀 기능 ------------------------------------------------------------------ 핀 번호 기능 핀 번호 기능 1 ground 7(AB) signal ground 2(BA) transmitted data 8(CF) carrier detect 3(BB) received data 20(CD) DTE ready 4(CA) RTS(request to send) 25(TM) test mode 5(CB) CTS(clear to send) 18(LL) local loopback 6(CC) DCE ready 21(RL) remote loopback
Fiber in the local Loop Using Tel line Using CATV cable
Trunk and Multiplexing Multiplexing techniques - a number of lines share a common channel. Static - FDM, TDM (STDM, synchronous TDM) Dynamic - ATDM (asynchronous TDM, or statistical MUX) - allocates time slots on demand FDM(Frequency Division Multiplexing) WDM(Wavelength Division Multiplexing)
TDM(Time Division Multiplexing) PCM(Pulse Code Modulation) - T1carrier (1.544 Mbps), E1(2.048 Mbps) 8000 samples/sec (125 ) 24ch/frame*8bit/ch+1bit=193bit/frame 193bit/frame*8000frame/sec=1.544Mbps Multiplexing T1 streams onto higher carriers
Needs a buffer in case demand exceeds channel capacity momentarily. Each data unit has a header containing its source address. Good for burst traffic - for which static MUX tends to waste capacity while a user is idle. Comparison of response time (FDM and ATDM): N line traffic is multiplexed. Assume message arrival process is Poisson with rate / N per line and message length is exponentially distributed with mean . Channel capacity available to a line in FDM = C/N Channel capacity available to N lines ATDM = C Assume that the overhead for address in ATDM is negligible.
Synchronous Transmission -1 PDH(Plesiochronous Digital Hierarchy) 기존의 디지털 계위 : 북미식과 유럽식 DS-1,DS-2,DS-3,DS-4등 SDH(Synchronous Digital Hierarchy) B-ISDN의 NNI(Network Node Interface)표준으로 사용할 수 있도록 일반화 시킨 것 PDH 북미식: DS-1(1.544Mbps), DS-1C(3.152Mbps),DS-2(6.312Mbps),DS-3(44.736Mbps),DS-4E(139.264) 유럽식: DS-1E(2.048Mbps), DS-2E(8.448Mbps), DS-3E(34.368Mbps), DS-4E(139.264Mbps), DS-5E(564.992Mbps) SDH 북미,유럽을 통합하여 세계적 통신이 가능하도록 일반화한 것 STM-n , n=1,4,16…. (155.520Mbps,622.080Mbps,2488.320Mbps...)
Synchronous Transmission -2 Digital Transmission PDH신호를 구성하여 baseband 를 사용하여 전송하는 기존 방식 Synchronous Transmission SDH 에 의거한 전송 방식 Synchronous Multiplexing 과정을 통해 기존의 DS-1,DS-2,DS-3,DS-4등 계위 신호들을 STM-n으로 Multiplexing Synchronous ADD/DROP 장치나 Synchronous Cross-Connect 장치를 통해 망을 재구성 Synchronous optical network을 사용하여 전송 장점 multiplexing/demultiplexing용이 OAM(operation, Administration, Maintenance)기능 향상 구조간단, 확장용이
전송방식의 표준화 Metrobus : AT&T Bell lab. SONET : Bellcore. Optical transmission system 150Mbps를 표준신호, Overhead , Box 개념 사용 SONET : Bellcore. CCITT T1commitee에서 북미 표준으로 채택 multiplex multiple digital channels 제공 50Mbps(T3: 44.736Mbps) 토대로 계층화된 구조 Overhead 구분 체계화
SONET path A SONET system consist of switches, multiplexers, and repeaters, all connected by fiber A SONET path A SONET Architecture
SONET frame SONET frame (STS-1: Synchronous Transport Signal-1) 90 col * 9 rows = 810bytes 810bytes/125 = 8bits/byte*810byte/frame=6,480bit/frame 6,480bits/frame*8,000frames/sec = 51.84Mbps (STS-1) Payload : 87*9*8*8000= 50.112 Mbps
SONET multiplexing SONET & SDH multiplex rate
Switching Circuit Packet
Timing of event
Narrowband ISDN-1/2 Channel Type ISDN A : 4kHz analog voice ch. B : 64 kbps digital PCM ch. For voice and data C : 8-16 kbps digital ch. D : 16 kbps digital ch. for out-of-band signaling E : 64 kbps digital ch. for internal ISDN signaling H : 384-, 1536-, 1920-kbps digital ch. ISDN BASIC rate : 2B+1D Primary Rate : 23B+1D or 30B+1D(유럽) Hybrid : 1A + 1C
Narrowband ISDN-2/2
Broadband-ISDN & ATM B-ISDN Virtual Circuit ATM : a digital virtual circuit for moving fixed size packets(cell) at 155Mbps Virtual Circuit it is simply defined by table entries inside the switch ATM : a packet switch not a circuit switch technology
Transmission in ATM Network ATM standard Primary rate : 155Mbps Additional rate : 622.08 Mbps Synchronous Transmission Mode Asynchronous Transmission Mode
1.5 Mbps, DS1 (24 bytes x 8 bits/byte)/125 usec = 1.536 Mbps of payload Cell delineation by HEC detection as with STM-1 Cell payload = 1.536 Mbps x (48/53) = 1.391 Mbps 125 usec ...F B B...B F B...B F... 24 bytes Framing Bit
45 Mbps, DS3 Framing and maintenance Payload 106.4 usec frame l 84 l 84 l 84 l 84 l 84 l 84 l 84 l 84 bps 106.4 usec frame 7 x 8 x 84/106.4 usec = 44.21 Mbps of payload
DS3 Cell Delineation ... 2 1 1 53 bytes F 11 Cell F 10 Cell 125 usec 2 1 1 53 bytes F 11 Cell F 10 Cell 125 usec ... F 1 Cell F 0 C Cell Stuff F is framing pattern 12 cells/125 usec means 96,000 cells per second or 3.864 Mbps of cell payload Stuff is either 13 or 14 nibbles and is indicated by C
155 Mbps, SONET STS-3c(SDH) 270 bytes . . . 125 Maintenance and usec Maintenance and operations 1 Synchronous Payload Envelope (1 column of overhead) 9 Rows 9 bytes 9 x 260 x 8/125 usec = 149.76 Mbps payload Also known as STM1(STM = Synchronous Transport Mode) SDH의 STM-n frame의 VC4 payload에 ATM cell을 mapping해 전송
ATM Switch ATM Switch all cells with as low a discard rate as possible Never reorder the cells on a VC broadcast/multicast 능력 delay : 1 msec, jitter : 100sec cell loss : CBR 10-9, VBR 10-7 A generic ATM switch
Crossbar switch : input/output/crossbar Input buffer switch Output buffer switch
Knockout switch N2 path switch 장점: 교환지연시간 적음, 교환과정 적음 단점 : H/W 크기, I/O 단자 연결선 구성 어려움
Batcher Banyan switch multi stage interconnection switch
Cellular radio Paging system - beeper Cordless Telephones one-way system from a single computer to a large number of receivers 30 bytes required Cordless Telephones only receiver, 100-300m 반경 CT1, CEPT-1(Europe), CT2 CT3 - 1992년, roaming over base station Analog Cellular Telephone push-to-talk systems : half duplex maritime and military communication 1960, IMTS(Improved Mobile Telephone System) -100km
AMPS(Advanced Mobile Phone System) a geographic region is divided up into cells (10-20km) (a) Frequencies are not reused in adjacent cells (b) To add more user , smaller cells can be used AMPS system uses 832 full duplex channels (each 30 kHz) 832 simple transmission channels from 824-849 Mhz 832 simple receive channels from 869-894 Mhz AMPS uses FDM to separate the channels (a) (b)
Digital Cellular Phone 900 Mhz USA IS-54 - dual mode(analog & digital) - 30khz channel IS-95 - only digital Europe GSM (Global System for Mobile Communication system) FDM & TDM PCS (Personal Communications Services) 1.7Mz - 2.3Ghz 50 - 100 m 반경
Communication Satellite geostationary orbit satellites - 36,000 Km above the equator long propagation delay( 250 msec ) VSAT(Very Small Aperture Terminals) low cost microstation I m antennas uplink : 19.2 kbps downlink 512 kbps
low earth orbit (LEO) satellites eq. Iridium uses 77 LEO satellites on 11 orbits 770 Km altitude using 1.9/2.8 GHz band - worldwide cellular, and portable phone service tracking and/or handover problem (a) Iridium satellite (b) 1,628 moving cells cover the earth
Ground radio Omni directional antenna 30MHz - 1GHz Recently 2 GHz is allocated (in USA) for personal commun. network (PCN). - IEEE Spectrum (May 94) cellular radio - frequency reuse
Examples of interface standard - RS-232-C (CCITT V.24) DTE DCE User premis signal and control leads bit serial transmission switched or leased line Network DTE: data terminal equipment - computer, terminal - data signals are not suitable for long distance transmission DCE: data circuit-terminating equipment - modem
electrical specification: mechanical specification: 25 pin connector electrical specification: -3 volts <-> data (binary 1), control OFF +3 volts <-> data (binary 0), control ON data rate up to 20 Kbps, distance up to 15 m RS-449 : 37 pin connector , 9 pin connector(reverse ch.) RS-423-A: unbalanced transmission RS-422-A: balanced transmission : 2Mbps, 60m cable
functional specification: DSR: DCE is ready to operate; DTR: DTE is ready to operate RI: indicates DCE is receiving a ringing signal on the channel CD: indicate DCE is receiving a carrier signal procedural specification: (example, half-duplex mode using PSTN) - Request to send/clear to send handshake prior to transmitting data