Datacom คาบที่ 5 เรียนเรื่อง
The Shannon capacity มันบอกเราให้รู้ถึงค่าสูงสุด ส่วน The Nyquist formula บอกเราให้รู้ว่า เราต้องการ LV ของสัญญาณเท่าไหร่
Digital Transmission of Digital data คือ การส่งสัญญาณเป็น Digital [เป็น Binary code] โดยต้องมีมาตรฐานในการส่งเพื่อที่เวลาส่ง ผู้รับและผู้ส่งจะเข้าใจในสิ่งเดียวกัน สัญญาณ Digital ที่ดีต้องมีการจำแนกว่าสัญญาณแบบไหนเป็น 0 สัญญาณแบบไหนเป็น 1
Digital Transmission of Analog Data คือการส่งสัญญาณ Analog ผ่านเครือข่าย Digital โดยที่ข้อมูล Analog ต้องถูกแปลงเป็น Digital ก่อนถึงส่งได้โดยใช้อุปกรณ์พิเศษที่เรียกว่า Codec ในการแปลง
PCM Encoder คือการแปลงสัญญาณโดยจะประกอบไปด้วย
1>Sampling คือ การเลือกบางข้อมูลของ Analog มาบันทึกเป็น Digital โดยที่ Sampling Rate จะต้องมีค่าอย่างน้อยเป็น 2 เท่าของค่าความถี่สูงสุด
ตัวอย่างการคำนวณ
What sampling rate is needed for a signal with a bandwidth of 10,000 Hz (1000 to 11000 Hz)?
Answer Sampling rate 2*(11000) = 22000 samples/s
2>Quantized คือ การคำนวณหาค่าของ bit ที่เราจะต้องใช้
เราสามารถลด Errors ของ quantized ได้โดยการเพิ่ม LV ของ Amplitude กับ Sample ความถี่มากขึ้น
3>Encoding คือ การแปลงค่าเป็น Binary Code
ADPCM [Adaptive Differential Pulse Code Modulation] คือ การบันทึกค่าความแตกต่างระหว่าง Samples และสามารถใช้ Sampling rate ที่ต่ำได้ๆ เทคโนโลยีนี้ใช้ในการพูดคุยทาง Internet ผ่าน Modem
Transmission modes [โหมดการส่งข้อมูล] แบ่งออกเป็น 2 แบบ คือ
1>Parallel Mode [โหมดการส่งแบบขนาน] ใช้สายนำสัญญาณหลายเส้นในการเชื่อมต่อ และสามารถส่งได้มากกว่า 1 bit ในเวลาเดียวกัน แต่มีราคาแพง
2>Serial Mode [โหมดการส่งแบบเป็นลำดับ] ใช้สายเส้นเดียวในการเชื่อมต่อ ทำงานช้ากว่าแบบ Parallel Mode และสามารถส่งได้ทีล่ะ bit แต่มีราคาถูก
ประเภทของ Serial Transmission
1>Asynchronous เวลาส่งจะมี bit ปิดหัวปิดท้ายข้อมูล และมีช่องว่างระหว่าง bit
2>Synchronous เวลาส่งจะไม่มี bit ปิดหัวปิดท้ายข้อมูล และไม่มีช่องว่างระหว่าง bit
3>Isochronous คือ การส่งที่มีการการันตีอัตราการรับส่งข้อมูล
Digital-to analog conversion แบ่งออกเป็น
1>Amplitude shift keying (ASK)
2>Frequency shift keying (FSK)
3>Phase shift keying (PSK)
4>Quadrature amplitude modulation (QAM)
Bit rate คือ จำนวนของ bits ใน 1 วินาที
Baud rate คือ จำนวนของส่วนประกอบของสัญญาณต่อ 1 วินาที
ในการส่งแบบ Analog ของข้อมูล Digital Baud rate จะมีค่าน้อยกว่าหรือเท่ากับค่าของ Bit rate
ตัวอย่างการคำนวณ
An analog signal carries 4 bits in each signal unit. If 1000 signal units are sent per second, find the baud rate and the bit rate
Answer Baud rate = 1000 bauds per second (baud/s)
Bit rate = 1000*4 = 4000 bps
Bit rate = N*Baud rate โดยที่ N หาได้จาก
N = Log2L โดยที่ L คือ จำนวน LV ของ Amplitude
1>Amplitude shift keying (ASK)
ตัวอย่างการคำนวณ
Find the minimum bandwidth for an ASK signal transmitting at 2000 bps. The transmission mode is half-duplex
Answer In ASK the baud rate and Bit rate are the same then the minimum Bandwidth is 2000 Hz. If it’s a full duplex, answer will be 2000 for each direction.
2>Frequency shift keying (FSK)
ตัวอย่างการคำนวณ
Find the minimum bandwidth for an FSK signals transmitting at 2000 bps. Transmission is in half-duplex mode, and the carriers are separated by 3000 Hz.
Answer For FSK
BW [Bandwidth] = Baud rate + fc1 – fc0 [Different of 2 carriers]
BW = Baud rate + fc1 – fc0 = 2000 + 3000 = 5000 Hz
3>Phase shift keying (PSK)
ตัวอย่างการคำนวณ
Given a Bandwidth of 5000 Hz for an 8-PSK signal, what are the baud rate and bit rate?
Answer For PSK the baud rate is the same as the band width, which means the baud rate is 5000. But in 8-PSK the Bit rate is 3 times the Baud rate, so the Bit rate is 15000 bps.
4>Quadrature amplitude modulation (QAM)
QAM เป็นการรวมระหว่าง ASK และ PSK
ตัวอย่างการคำนวณ
Compute the Bit rate for a 1000-Baud 16-QAM signal.
Answer A 16-QAM signal has 4 bits per signal unit since Log216 = 4
Thus,
(1000)(4) = 4000 bps
ISP connects to telephone network in digital.
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น