Communication Systems II: เลือก Protocol อย่างไร...

27
Systems II: เเเเเ Protocol เเเเเเเ เเเเเเเเเเเเเเ CPE 214: Microprocessor and Interfacing

description

Communication Systems II: เลือก Protocol อย่างไร ให้เหมาะกับงาน. CPE 214 : Microprocessor and Interfacing. ลูกโบว์ลิงจะใช้เวลาเท่าใดจึงจะตกถึงพื้นทะเลจุดที่ลึกที่สุดในโลก. t = ?. จุดที่ลึกที่สุดในโลก. Marianas Trench 10,923 m. James Cameron – Expedition 2012. ตอบคำถามหลังจากเรียน. - PowerPoint PPT Presentation

Transcript of Communication Systems II: เลือก Protocol อย่างไร...

Page 1: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Communication Systems II:

เลือก Protocol อยา่งไรให้เหมาะกับงาน

CPE 214: Microprocessor and Interfacing

Page 2: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

ลกูโบวล์ิงจะใชเ้วลาเท่าใดจงึจะตกถึงพื้นทะเลจุดท่ีลึกท่ีสดุในโลก

t = ?

Page 3: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน
Page 4: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

จุดท่ีลึกท่ีสดุในโลก

Marianas Trench10,923 m

Page 5: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

James Cameron – Expedition 2012

Page 6: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

ตอบคำ�ถ�มหลังจ�กเรยีนBus ท่ีใชส้ง่ค่�จ�ก Sensor วดัคว�ม

ดันในเต�อบไอนำ"�ของโรงง�น ม�ยงัแผงควบคมุ

Bus ท่ีใชภ้�ยในเครื่องเล่น MP3 เพื่อสง่ขอ้มูลจ�กไฟล์เพลงท่ีเก็บใน SD Card ไปยงั Decoder Chip

Bus ท่ีสง่ขอ้มูล Video จ�กกล้อง Digicam ม�ยงัเครื่องคอมพวิเตอร์เพื่อทำ�ก�รตัดต่อ

Page 7: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

DeviceCommunication Protocols

SerialI2C/SPICAN BusEthernetUSBFirewire

Page 8: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

SpeedKbps

Page 9: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Speed (Cont.)Mbps

Page 10: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Physical Topology: P2P

Ex. RS232

Page 11: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Physical Topology: Bus

I2C, SPI, CAN

Page 12: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Physical Topology: Star

Ethernet

Page 13: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Physical Topology: Tree

USB

Page 14: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Physical Topology: Daisy-Chain

Firewire

Page 15: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Component Cost

Page 16: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Power ConsumptionLow (<100 mA)

SerialI2C/SPICAN Bus

High (>100 mA)EthernetUSBFirewire

Page 17: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Power DeliveryUSB – 2.5W

Firewire (6pin version) – ~7W

PoE – Power over Ethernet (15W)

Page 18: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

ReliabilityUnbalanced Line

Balanced Line

Image Source: Monster Cable Products, Inc

Page 19: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Differential Signaling

-5V

+5V

+2.5V

+2.5V

-2.5V

-2.5V

A B C

Page 20: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Why use balanced line?

Resistance to noise

Page 21: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Another Example

Page 22: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Balanced line for Digital Data?

0V

+5V

2.5V

0V

+5V

2.5V

Original Signal

Balanced Signal

Page 23: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

กรณีศึกษ�Bus ท่ีใชส้ง่ค่�จ�ก Sensor วดัคว�ม

ดันในเต�อบไอนำ"�ของโรงง�น ม�ยงัแผงควบคมุ

Bus ท่ีใชภ้�ยในเครื่องเล่น MP3 เพื่อสง่ขอ้มูลจ�กไฟล์เพลงท่ีเก็บใน SD Card ไปยงั Decoder Chip

Bus ท่ีสง่ขอ้มูล Video จ�กกล้อง Digicam ม�ยงัเครื่องคอมพวิเตอร์เพื่อทำ�ก�รตัดต่อ

Page 24: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Speed: 20 GbpsTopology: Daisy Chained (7 Devices Max)Cost: Active Cables ($49)Power Consumption: ?Power Delivery: 10 Watts

Page 25: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

One port to rule them all

Page 26: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

Chips in the cable?

Page 27: Communication Systems II: เลือก  Protocol  อย่างไร ให้เหมาะกับงาน

ระบบ Bus ท่ีใชจุ้ดระเบดิหัวรบจรวด?

Fluidics or Water Computer