SE3910 Week 4, Class 3 Notes on Lab 5 Code to write! Next week Monday Afternoon OH (after class) cancelled Ask questions before class if possible Week.

Slides:



Advertisements
Similar presentations
Data Communications and Networking
Advertisements

William Stallings Data and Computer Communications 7 th Edition Chapter 8 Multiplexing.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
ECE 4321: Computer Networks Chapter 3 Data Transmission.
Data and Computer Communications Data Transmission.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
EE 4272Spring, 2003 Chapter 3 Data Transmission Part II Data Communications Concept & Terminology Signal : Time Domain & Frequency Domain Concepts Signal.
SE3910 Week 2, Class 2 Today Real-Time Systems Embedded Systems Other ??? Week 3 Tuesday Lab Lab start TBA SE-2811 Slide design: Dr. Mark L. Hornick Content:
Chapter 8 Data and Network Communication Technology
Chapter 3 Data and Signals
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
Introduction to Networking. Spring 2002Computer Network Applications Analog Devices Maintain an exact physical analog of (some form of) information. Ex:
ECS 152A 6. Multiplexing.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Module 3.0: Data Transmission
Reliability and Channel Coding
Physical Layer B. Konkoth.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
2-1 Physical Layer l Theoretical basis for data communications n Fourier analysis n distortion –by different attenuation rates of different frequency components.
CSCI 465 D ata Communications and Networks Lecture 4 Martin van Bommel CSCI 465 Data Communications & Networks 1.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 9.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Transmission Media Asst. Prof. Chaiporn Jaikaeo, Ph.D.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 8.
Winter 2008CS244a Handout 121 CS244a: An Introduction to Computer Networks Handout 12: Physical Layer Sending 1’s and 0’s, Capacity and Clocking Nick McKeown.
1 William Stallings Data and Computer Communications 7 th Edition Chapter 8 Multiplexing.
SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
SE-3910 Real-time Systems Week 7, Class 3 – Announcement – Estimating rates Uncompressed Video Size Compression Ratio Frame rate – the Stroboscope effect.
02 – Performance Basics 1CS Computer Networks.
Chapter 3. Lesson Objectives Equations Chapter
Today TBA Tomorrow Good Friday SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 5, Class 3.
{ Transmission Media.  Information can be transmitted through a medium by varying some physical property.  The physics of the universe places some limits.
Today Networking in Linux/C Lab Eclipse cross-compiling Measuring latency of 100% CPU busy-wait polling Sleeping busy-wait polling Interrupt-driven response.
Telecommunications and Networks Chapter 8. Types of Signals Analog – a continuous waveform that passes through a communications medium Digital signal.
Today Quiz Multithreading Options Qt socket buffers between threads Quiz today & Tuesday in lab SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
Engineering and Physics University of Central Oklahoma Dr. Mohamed Bingabr Chapter 1 Introduction ENGR 4323/5323 Digital and Analog Communication.
Hardware Building Blocks and Encoding COM211 Communications and Networks CDA College Theodoros Christophides
1 Composite Signals and Fourier Series To approximate a square wave with frequency f and amplitude A, the terms of the series are as follows: Frequencies:
Today C/C++:.h/.cpp; compiling and linking Fourier Transform (corrected) Nyquist Theorem Audio sampling rates SE-2811 Slide design: Dr. Mark L. Hornick.
Chapter 3 Data and Signals. 3.2 Last Lecturer Summary Bit Rate Bit Length Digital Signal as a Composite Analog Signal Application Layer Distortion Noise.
Today Nervous System Response Time SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 3, Class 2.
Postacademic Interuniversity Course in Information Technology – Module C1p1 Chapter 4 Communications, Theory and Media.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
Today Signals Nyquist Theorem (revisited) Audio Sampling Latency and Bandwidth Scheduling Theory SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 3 – Data Transmission.
Today (or Thursday) Qt Thursday Quiz SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 6, Lab.
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
SE3910 Week 6, Class 1 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Bring Calculator!! Qt GUI Design Analog and Digital Datarates.
SE3910 Week 5, Class 3 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Analog and Digital Datarates SE-2811 Slide design: Dr.
Slide design: Dr. Mark L. Hornick
Chapter Two Fundamentals of Data and Signals
Transmission Media.
Slide design: Dr. Mark L. Hornick
KOMUNIKASI DATA Materi Pertemuan 10.
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Introduction to electronic communication systems
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Lecture 9: Television systems.
Data Communication.
Slide design: Dr. Mark L. Hornick
Lecture 9: Television systems 2nd semester
Basics of Telecommunications and Networks
Data Communication and Networking
Lecture 7: Television systems.
The Physical Layer Chapters
Presentation transcript:

SE3910 Week 4, Class 3 Notes on Lab 5 Code to write! Next week Monday Afternoon OH (after class) cancelled Ask questions before class if possible Week 5, Wednesday Half-Exam 1 Bring calculator!!! You may make a note-sheet for yourself SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1

Notes on Lab You can start on Lab 5: Install on the Beaglebone: the gpicview image viewer program and the OpenCV development libraries Compile boneCV.cpp on the BeagleBone Install the header files for compiling on the virtual machine Write, compile & review your code for the lab SE-2811 Dr.Yoder 2

Places on campus with Wired internet connections Some parts of CC third floor (the Mage corner) Perhaps some rooms ground CC Some SDL cubicles Dorms – except for SMTP Science building S365 Apartment (off-campus) SE-2811 Dr.Yoder 3

Transmitting data Physical Layer You didn’t talk too much about this in Network Protocols Can occur through many mediums Twisted Pair Coaxial Cable Fiber Optics Wireless SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 4

Physical cable data rates Sources: Dr. Schilling’s Slides and optic_communication SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 5 Wiring TypeAnalog Bandwidth CAT 316MHz CAT 5100 MHz Coaxial Cable (50 Ohm) 1-2 GHz Fiber Optic Fiber (Single fiber) 100 Tbit/s

The Stroboscopic Effect Have you ever noticed something that is in motion seem to stop? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 6

The Stroboscopic Effect (Aliasing) ns/7/77/Propeller_strobe.ogv ns/7/77/Propeller_strobe.ogv ns/e/ef/The_wagon-wheel_effect.ogv ns/e/ef/The_wagon-wheel_effect.ogv SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 7

Safety See, e.g. ent-faculty-shop/machine-shop-rules ent-faculty-shop/machine-shop-rules SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 8

Aliasing 512/what-is-aliasing-and-anti-aliasing SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 9

More aliasing Single-Sensor Imaging: Methods and Applications for Digital Cameras, by Rastislav Lukac ms/showthread.php?t=14988 SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 10

Claude Shannon SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 11

Encoding audio signals digitally How much data do we need to encode an audio signal? [Matlab demo] f sample > 2f max audio frequency SE-2811 Dr.Yoder 12

Sampling Theorem (again Nyquist) f s = 2f m (f m is maximum frequency of signal) SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 13

Buffering With 1 KB buffer and 16-bit samples, there will be ____ samples per buffer What is the maximum frequency analog singal that can be encoded, if the buffer holds 1 second of sound? SE-2811 Dr.Yoder 14

Physical transmission: Latency vs. Bandwidth Latency – delay to go over line Bandwidth – rate of data Can have high latency, high bandwidth (e.g. 1TB thumb-drive sneaker-net) Can have low latency, low bandwidth (e.g. morse code through dedicated line) [See MATLAB example] 15

Noise, Latency, and Bandwidth If we add noise to the line If the “noise” is other users sending packets Must resend whole packet – increases latency Transport-level If the “noise” is “white noise” Must use more redundancy – e.g. use more time per bit Decreases bandwidth, but latency is the same Link-level SE-2811 Dr.Yoder 16

Signals as sums of sine-waves [See Matlab demo] SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 17 sSquareWave.html lides/SlideFiles.html

What is analog bandwidth? Time Freq. SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 18 processing

SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 19

Channel capacity SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 20

In-class exercise The old analog TV channels had a bandwidth of 6MHz Supposing a SNR of 50 dB, what is the maximum possible bit-rate? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 21

In-class Activity: What is the data rate of classic NTSC television (as digital stream)? Store color with special scheme so only two bytes required per pixel, on average 720x480 30/1.001 fps Follow up: If compressed to 25MiB/s (or 25MB/s) what is the compression ratio? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 22

Human eye Recall As little as 13ms Notice interruption As short as 16ms Single-ms duration looks as long as ms 10ms green followed by 10ms red May appear as single yellow stimulus SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 23

Ex: Why might you want to sample at a higher frame-rate than the 30fps? Be as professional as possible Avoid flame wars Have technical depth to back it Avoid sounding technical just to be cool SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 24

Ex: What are two ways we can avoid the stroboscopic effect in a video game simulation of a rotating wheel? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 25

In-class Activity: Analog to digital bandwidth SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 26

In-class activity Suppose I have a band centered at 100 Mhz which is 1Mhz wide. What are the limits on this range? What is the wavelength of the center 1 Mhz signal speed of light = m / s speed in Cat-5 is 70% of this wavelength = time of period * velocity SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 27

Fiber-optic Transmission In fiber-optic transmission, signals are sent by transmitting various colors (or invisible) light down a fiber-optic channel The colors are separated at the other end Multiple fibers can be used Supposing that the same bandwidth rule applies, what bandwidth can be carried by the visible spectrum? ( nm) Use SNR of 4000 Hint: Convert wavelength to period/frequency SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 28

References EB: Derek Malloy, Exploring Beaglebone, Wiley, 2015 SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 29