600 likes | 827 Views
Data Communication and Networks. การสื่อสารข้อมูลและเครือข่ายคอมพิวเตอร์. บทที่ 2 พื้นฐานข้อมูลและสัญญาณ. อาจารย์ผู้สอน : ดร.วีรพันธุ์ ศิ ริฤทธิ์. E-Mail : siririth @ gmail.com. Note:. To be transmitted, data must be transformed to electromagnetic signals. 2.1 Analog and Digital.
E N D
Data Communication and Networks การสื่อสารข้อมูลและเครือข่ายคอมพิวเตอร์ บทที่ 2 พื้นฐานข้อมูลและสัญญาณ อาจารย์ผู้สอน : ดร.วีรพันธุ์ ศิริฤทธิ์ E-Mail : siririth @ gmail.com
Note: To be transmitted, data must be transformed to electromagnetic signals.
2.1 Analog and Digital Analog and Digital Data Analog and Digital Signals Periodic and Aperiodic Signals
Note: Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals can have only a limited number of values.
Note: In data communication, we commonly use periodic analog signals and aperiodic digital signals.
2.2 Analog Signals Sine Wave Phase Examples of Sine Waves Time and Frequency Domains Composite Signals Bandwidth
Data Communication and Networks พื้นฐานของสัญญาณ (Fundamentals of Signals) สัญญาณแอนะล็อก(Analog Signals) 1. แอมพลิจูด(Amplitude) สัญญาณแอนะล็อก ที่มีการเคลื่อนที่ในลักษณะเป็น รูปคลื่นขึ้นลงสลับกันและก้าวไปตามเวลาแบบสมบูรณ์นั้นเรียกว่า คลื่นซายน์ (Sine Wave) ในขณะที่แอมพลิจูดจะเป็นค่าที่วัดจากแรงดันไฟฟ้า ซึ่งอาจเป็นระดับของ คลื่นจุดสูงสุด (High Amplitude) หรือจุดต่ำสุด (Low Amplitude) และโดยปกติจะแทน ด้วยหน่วยวัดเป็นโวลต์ (Volt) แต่สามารถใช้หน่วยวัดอื่นๆ แทนได้ เช่น แอมป์(Amp) หรือวัตต์ (Watt) . ซ www.pcbc.ac.th
Data Communication and Networks พื้นฐานของสัญญาณ (Fundamentals of Signals) 2. ความถี่ (Frequency) หมายถึงอัตราการขึ้นลงของคลื่น ซึ่งเกิดขึ้นจำนวนกี่ รอบภายใน 1 วินาที โดยรอบต่อวินาที่หรือความถี่นั้น จะใช้แทนหน่วยวัดเป็นเฮิรตซ์ (Hertz : Hz) นอกจากนี้ความถี่ยังเกี่ยวข้องกับคาบ (Period) ซึ่งคาบเป็นระยะเวลาของ สัญญาณที่เปลี่ยนแปลงไปจนครบรอบ โดยจะมีรูปแบบซ้ำๆ กันในทุกช่วงเวลา และเมื่อ คลื่นสัญญารณทำงานครบ 1 รอบ จะเรียกว่า Cycle ตามปกติแล้ว คาบเวลา (Period) จะใช้หน่วยวัดเป็นวินาที (Seconds) ส่วน ความถี่ (Frequency) จะใช้หน่วยวัดเป็นเฮิรตซ์ (Hertz : Hz) ซึ่งวัดจากคลื่นสัญญาณที่ ทำงานครบรอบภายในเวลา 1 วินาที . ซ www.pcbc.ac.th
Example 1 Express a period of 100 ms in microseconds, and express the corresponding frequency in kilohertz. Solution From Table 3.1 we find the equivalent of 1 ms.We make the following substitutions: 100 ms = 100 10-3 s = 100 10-3 106ms = 105ms Now we use the inverse relationship to find the frequency, changing hertz to kilohertz 100 ms = 100 10-3 s = 10-1 s f = 1/10-1 Hz = 10 10-3 KHz = 10-2 KHz
Example 2 A sine wave is offset one-sixth of a cycle with respect to time zero. What is its phase in degrees and radians? Solution We know that one complete cycle is 360 degrees. Therefore, 1/6 cycle is (1/6) 360 = 60 degrees = 60 x 2p /360 rad = 1.046 rad
Example 3 If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is the bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V. Solution B = fh-fl = 900 - 100 = 800 Hz The spectrum has only five spikes, at 100, 300, 500, 700, and 900 (see Figure 13.4 )
Example 4 A signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest frequency? Draw the spectrum if the signal contains all integral frequencies of the same amplitude. Solution B = fh- fl 20 = 60 - fl fl = 60 - 20 = 40 Hz
Example 5 A signal has a spectrum with frequencies between 1000 and 2000 Hz (bandwidth of 1000 Hz). A medium can pass frequencies from 3000 to 4000 Hz (a bandwidth of 1000 Hz). Can this signal faithfully pass through this medium? Solution The answer is definitely no. Although the signal can have the same bandwidth (1000 Hz), the range does not overlap. The medium can only pass the frequencies between 3000 and 4000 Hz; the signal is totally lost.
2.3 Digital Signals Bit Interval and Bit Rate As a Composite Analog Signal Through Wide-Bandwidth Medium Through Band-Limited Medium Versus Analog Bandwidth Higher Bit Rate
Data Communication and Networks พื้นฐานของสัญญาณ (Fundamentals of Signals) สัญญาณดิจิตอล (Digital Signals) สัญญาณดิจิตอลโดยส่วนใหญ่เป็นสัญญาณชนิดไม่มีคาบ ดังนั้นคาบเวลาและ ความถี่จึงไม่นำมาใช้งานกับสัญญาณดิจิตอล แต่จะมีคำที่เกี่ยวของอยู่ 2 คำด้วยกัน คือ Bit Interval มีความหมายเดียวกันกับคาบ (Period) โดย Bit interval คือเวลาที่ ส่งข้อมูล 1 บิต Bit Rate คือจำนวนของ Bit Interval ต่อวินาที ซึ่งมีหน่วยวัดเป็นบิตต่อวินาที (bps) . ซ www.pcbc.ac.th
Data Communication and Networks พื้นฐานของสัญญาณ (Fundamentals of Signals) สัญญาณดิจิตอล (Digital Signals) . ซ www.pcbc.ac.th
Data Communication and Networks พื้นฐานของสัญญาณ (Fundamentals of Signals) สัญญาณดิจิตอล (Digital Signals) . ซ www.pcbc.ac.th
Data Communication and Networks พื้นฐานของสัญญาณ (Fundamentals of Signals) สัญญาณดิจิตอล (Digital Signals) . ซ www.pcbc.ac.th
Data Communication and Networks หน่วยวัดความเร็วในการส่งข้อมูล อัตราบิต (Bit Rate/Data Rate)คือ จำนวนบิตที่สามารถส่งได้ภายในหนึ่งหน่วยเวลา ซึ่งมีหน่วยเป็นบิตต่อวินาที (Bit per second : bps) อัตราบอด (Baud Rate)คือ จำนวนของสัญญาณที่สามารถส่งได้ต่อการเปลี่ยนแปลง สัญญาณในหนึ่งหน่วยเวลา (baud per second) ปกติแล้วอัตราบอดอาจมีค่าน้อยกว่าหรือเท่ากับอัตราบิตก็ได้ ถ้าจะเทียบแล้วแบนด์ วิดธ์ในระบบสื่อสารนั้นจะขึ้นอยู่กับอัตราบอด ไม่ใช่อัตราบิต . ซ หน่วยวัดความเร็วในการส่งข้อมูล ? www.pcbc.ac.th
Data Communication and Networks หน่วยวัดความเร็วในการส่งข้อมูล . ซ www.pcbc.ac.th
Data Communication and Networks หน่วยวัดความเร็วในการส่งข้อมูล . ซ www.pcbc.ac.th
Example 6 A digital signal has a bit rate of 2000 bps. What is the duration of each bit (bit interval) Solution The bit interval is the inverse of the bit rate. Bit interval = 1/ 2000 s = 0.000500 s = 0.000500 x 106ms = 500 ms
2.4 Analog versus Digital Low-pass versus Band-pass Digital Transmission Analog Transmission
2.5 Data Rate Limit Noiseless Channel: Nyquist Bit Rate Noisy Channel: Shannon Capacity Using Both Limits
2.6 Transmission Impairment Attenuation Distortion Noise