CS434/534: Topics in Networked (Networking) Systems Network OS Abstraction: From Data to Function Store; Wireless Foundation: Frequency-Domain Analysis.

Slides:



Advertisements
Similar presentations
Lecture 7: Basis Functions & Fourier Series
Advertisements

LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Signals The main function of the physical layer is moving information in the form of electromagnetic signals across a transmission media. Information can.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
Note To be transmitted, data must be transformed to electromagnetic signals.
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
MM3FC Mathematical Modeling 3 LECTURE 1
Time and Frequency Representation
Unit 7 Fourier, DFT, and FFT 1. Time and Frequency Representation The most common representation of signals and waveforms is in the time domain Most signal.
CELLULAR COMMUNICATIONS DSP Intro. Signals: quantization and sampling.
Goals For This Class Quickly review of the main results from last class Convolution and Cross-correlation Discrete Fourier Analysis: Important Considerations.
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Motivation Music as a combination of sounds at different frequencies
Wireless PHY: Modulation and Demodulation Y. Richard Yang 09/6/2012.
Two-Sided or Complex Exponential Form of the Fourier Series
Image Enhancement in the Frequency Domain Spring 2006, Jen-Chang Liu.
Signals and Systems Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 382C-9 Embedded Software Systems.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
CS434/534: Mobile Computing and Wireless Networks Y. Richard Yang 08/30/2012.
Wireless PHY: Modulation and Demodulation Y. Richard Yang 09/6/2012.
The Fourier series handles steady-state sinusoidal functions, but does not have the ability to model transients effectively. As we have seen, the Fourier.
Fourier Analyses Time series Sampling interval Total period Question: How perturbations with different frequencies contribute to the turbulent kinetic.
Chapter 2. Characteristics of Signal ※ Signal : transmission of information The quality of the information depends on proper selection of a measurement.
Digital Image Processing Lecture 7: Image Enhancement in Frequency Domain-I Naveed Ejaz.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS434/534: Topics in Networked (Networking) Systems Wireless Foundation: Modulation and Demodulation Yang (Richard) Yang Computer Science Department.
Jean Baptiste Joseph Fourier
JPEG Compression What is JPEG? Motivation
Fourier Series Prof. Brian L. Evans
Introduction to Digital Signal Processing
Section II Digital Signal Processing ES & BM.
CS 591 S1 – Computational Audio
CS434/534: Topics in Networked (Networking) Systems Wireless Foundation: Inter-Symbol Interference (ISI): Wave Shaping, Equalization, OFDM Yang (Richard)
MECH 373 Instrumentation and Measurements
Outline Introduction Signal, random variable, random process and spectra Analog modulation Analog to digital conversion Digital transmission through baseband.
Pulse Code Modulation (PCM)
Fourier Analyses Time series Sampling interval Total period
Fast Fourier Transforms Dr. Vinu Thomas
Generating Sinusoidal Signals
All about convolution.
Computer Simulation of Networks
UNIT II Analysis of Continuous Time signal
Periodic Functions and Fourier Series
Sinusoids: continuous time
Introduction to Signals and Systems
DCSP-3: Fourier Transform (continuous time)
Wireless PHY: Frequency-Domain Analysis
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
4.1 DFT In practice the Fourier components of data are obtained by digital computation rather than by analog processing. The analog values have to be.
Net 222: Communications and networks fundamentals (Practical Part)
Wireless Channels Y. Richard Yang 01/12/2011.
Lecture 2: SIGNALS 2nd semester By: Elham Sunbu.
Convolution, GPS and the TigerSHARC XCORRS instr.
Chapter 9 Computation of the Discrete Fourier Transform
Fourier Analyses Time series Sampling interval Total period
LECTURE 18: FAST FOURIER TRANSFORM
Signal Processing First
HKN ECE 210 Exam 3 Review Session
Lecture #18 FAST FOURIER TRANSFORM ALTERNATE IMPLEMENTATIONS
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
Discrete Fourier Transform
Lec.6:Discrete Fourier Transform and Signal Spectrum
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
LECTURE 18: FAST FOURIER TRANSFORM
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

CS434/534: Topics in Networked (Networking) Systems Network OS Abstraction: From Data to Function Store; Wireless Foundation: Frequency-Domain Analysis Yang (Richard) Yang Computer Science Department Yale University 208A Watson Email: yry@cs.yale.edu http://zoo.cs.yale.edu/classes/cs434/

Outline Admin and recap High-level datapath programming Network OS supporting programmable networks overview OpenDaylight distributed network OS (Paxos, Raft) from data store to function store Programmable wireless communications and networking Background

Admin Hardcopies of PS1 can be turned into my mail box (208A) on the first floor A talk on mobile systems Time: Tuesday 10:30 am Location: AKW

Recap Distributed data store using Raft Programming complexities of data store Programmers need to manually record data access and register subscriptions Programmers need to handle cleanup of any changes made in previous execution Programmers need to make sure that no data-change loops are triggered, to avoid instability From data store to function store Function store API add(func, [meta]), remove(handler) Data access API read(xpath), update(xpath, op, val), test(xpath, booleanExpr, ??

Recap: From API to Realization Re-exec a function using collected dependency. R: {b, c} f2 f4 R: {h} R: {h} f1 f6 f3 f5 R: {a, f} R: {a, b, c} Assume exec’d the seq f1-f6. Then a changes. How to recover? Which functions must re-execute? Which do not need re-exec?

From API to Realization: Design 1 UpdateAlg1( a ) Fupdate = a.DEPENDENCY_CHANGE Ffixed = executed before Fupdate in total order restore2( Ffixed ) while ( ! Fupdate.empty() ) { pick f as a root in Fupdate Fupdate -= f; Ffixed += f execute f add functions: not in Ffixed ^ depends on f updates }

Question Is UpdateAlg1 correct? R: {b, c} f2 f4 R: {h} R: {h} f1 f6 f3 R: {a, f} R: {a, b, c} Is UpdateAlg1 correct?

Function Store There are multiple directions where one can explore: How to best utilize test()? How to best utilize past computation to learn dependency (e.g., learning)? How to utilize multi-cores in recovery? Can we distribute the functions at multiple servers (e.g., running Raft)? A good topic as a course project.

Roadmap High-level networking system programming Networking operating system overview OpenDaylight distributed networking OS (Paxos, Raft) from data store to function store Programmable wireless communications and networking background software defined wireless networking systems Network function virtualization

Recap: Wireless and Mobile Computing Driven by infrastructure and device technology global infrastructures device miniaturization and capabilities software development platforms Challenges: wireless channel: unreliable, open access mobility portability changing environment heterogeneity

Wireless Networking Systems: Objectives Avoid a full course on wireless communications, but cover enough to understand the main issues and main emerging techniques.

Implementing Wireless Systems: From Hardware to Software

Overview of Wireless Communicatinos/Networking source coding bit stream channel coding analog signal sender modulation receiver bit stream source decoding channel decoding demodulation

Wireless Example: Wireless: 802.11

Basic Question: Why Not Send Digital Signal in Wireless Communications? 1 digital signal t

Outline Admin and recap Programmable wireless communications and networking background Frequency domain analysis (Fourier series)

Fourier Series: Decomposing a function into a Collection of Harmonics A periodic real function g(t) on [-π, π] can be decomposed as a set of harmonics (cos, sin): Time domain 1 1 http://en.wikipedia.org/wiki/Fourier_series t t decomposition periodical signal set bk = 0

Fourier Series http://en.wikipedia.org/wiki/Fourier_series

Fourier Series http://en.wikipedia.org/wiki/Fourier_series

Fourier Series: Example http://en.wikipedia.org/wiki/Fourier_series http://en.wikipedia.org/wiki/File:Periodic_identity_function.gif

Fourier Series: An Alternative Representation A problem of the expression It contains both cos() and sin() functions, and hence is somehow complex to manipulate. http://en.wikipedia.org/wiki/Fourier_series

Fourier Series: Using Euler’s formula Applying Euler’s formula We have http://en.wikipedia.org/wiki/Fourier_series

Fourier Series: Using Euler’s formula http://en.wikipedia.org/wiki/Fourier_series

Making Sense of Complex Numbers http://en.wikipedia.org/wiki/Fourier_series What is the effect of multiplying c by ejπ/2? What is the effect of multiplying c by j?

Making Sense of Complex Numbers http://en.wikipedia.org/wiki/Fourier_series

Making Sense of Complex Numbers: Conjugate http://en.wikipedia.org/wiki/Fourier_series

Summary of Progress: Fourier Series of Real Function on [-π, π] http://en.wikipedia.org/wiki/Fourier_series

Defining Decomposition on a General Interval A periodic function g(t) with period T on [a, a+T] can be decomposed as: http://en.wikipedia.org/wiki/Fourier_series

Defining Decomposition on [0, 1] http://en.wikipedia.org/wiki/Fourier_series

ej2πft Making Sense of ej2πft http://en.wikipedia.org/wiki/Fourier_series

Making Sense of ej2πft G[f]ej2πft ej2πft ϕ=2πft ϕ=-2πft e-j2πft http://en.wikipedia.org/wiki/Fourier_series

For those who are curious, we do not need it formally Fourier Transform For those who are curious, we do not need it formally Problem: Fourier series for periodic function g(t), what if g(t) is not periodical? Approach: Truncate g(t) beyond [-L/2, L/2] (i.e., set = 0) and then repeat to define gL(t) http://en.wikipedia.org/wiki/Fourier_series

Fourier Transform Define Let L grow to infinity, we derive Fourier Transform:

Fourier Series vs Fourier Transform For periodical functions, e.g., [0, 1] Fourier transform For non periodical functions http://www.differencebetween.com/difference-between-fourier-series-and-vs-fourier-transform/

Two Domain Representations See examples: spectrum_2in.m Two representations: time domain; frequency domain Knowing one can recover the other

Example: Frequency Series of sine and cosine See examples: spectrum_2in.m

Example: Frequency Series of sine and cosine

Example: Frequency Domain’s View of Euler’s Formula

Example: Frequency Domain’s View of Euler’s Formula

Example: Frequency Domain’s View of Euler’s Formula

From Integral to Computation http://en.wikipedia.org/wiki/Fourier_series

Discrete Domain Analysis FFT: Transforming a sequence of numbers x0, x1, …, xN-1 to another sequence of numbers X0, X1, …, XN-1 Interpretation: consider x0, x1, …, xN-1 as sampled values of a periodical function defined on [0, 1] Xk is the coefficient (scaled by N) for k Hz harmonics if the FFT N samples span one sec Draw on blackboard [Nfft, Nfft, …] = Ns (defined for 1 sec)

Discrete Domain Analysis FFT: Inverse DFFT