How to Choose a Walsh Function Darrel Emerson NRAO, Tucson.

Slides:



Advertisements
Similar presentations
Physical Layer: Signals, Capacity, and Coding
Advertisements

INVERTERS (DC-AC Converters).
Memory Aid Help.  b 2 = c 2 - a 2  a 2 = c 2 - b 2  “c” must be the hypotenuse.  In a right triangle that has 30 o and 60 o angles, the longest.
Frequency modulation and circuits
Fundamentals of Data & Signals (Part II) School of Business Eastern Illinois University © Abdou Illia, Spring 2015 (February18, 2015)
What we learn with pleasure we never forget. Alfred Mercier Smitha N Pai.
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
Mixers Theory and Applications
Lock-in amplifiers Signals and noise Frequency dependence of noise Low frequency ~ 1 / f –example: temperature (0.1 Hz), pressure.
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
7.1 The Greatest Common Factor and Factoring by Grouping
43: Partial Fractions © Christine Crisp “Teach A Level Maths” Vol. 2: A2 Core Modules.
Calculating Spectral Coefficients for Walsh Transform using Butterflies Marek Perkowski September 21, 2005.
MAE 552 Heuristic Optimization
School of Electrical, Electronics and Computer Engineering University of Newcastle-upon-Tyne Baseband Digital Modulation Baseband Digital Modulation Prof.
MAE 552 Heuristic Optimization Instructor: John Eddy Lecture #18 3/6/02 Taguchi’s Orthogonal Arrays.
Module 3.0: Data Transmission
3.1 Chapter 3 Data and Signals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 CMPT 371 Data Communications and Networking Spread Spectrum.
Clustering Ram Akella Lecture 6 February 23, & 280I University of California Berkeley Silicon Valley Center/SC.
Demo Disc “Teach A Level Maths” Vol. 1: AS Core Modules © Christine Crisp.
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
Spread Spectrum Techniques
Game Theory.
Lock-in amplifiers
1 RF (Radio Frequency) technology Part ll RF (Radio Frequency) technology Part ll BASIC TELECOMMUNICATIONS.
1 Mixers  Mixers plays an important role in both the transmitter and the receiver  Mixers are used for down frequency conversion in the receiver  Mixers.
Alternating-Current Circuits Chapter 22. Section 22.2 AC Circuit Notation.
1. 2 Problem RT&T is a large phone company, and they want to provide enhanced caller ID capability: –given a phone number, return the caller’s name –phone.
5.1 Linear Equations A linear equation in one variable can be written in the form: Ax + B = 0 Linear equations are solved by getting “x” by itself on.
The Fundamental Theorem of Algebra And Zeros of Polynomials
LINEAR PROGRAMMING SIMPLEX METHOD.
Memory Aid Help.  b 2 = c 2 - a 2  a 2 = c 2 - b 2  “c” must be the hypotenuse.  In a right triangle that has 30 o and 60 o angles, the longest.
Lecture 1 Signals in the Time and Frequency Domains
King Fahd University of Petroleum & Minerals  Electrical Engineering Department EE 578 Simulation of Wireless Systems Code Division Multiple Access Transmission.
ELECTRICAL CIRCUIT ET 201 Define and explain characteristics of sinusoidal wave, phase relationships and phase shifting.
5.1 Factoring – the Greatest Common Factor
Genetic Algorithm.
FOURIER SERIES §Jean-Baptiste Fourier (France, ) proved that almost any period function can be represented as the sum of sinusoids with integrally.
Chapter 12 Multiple Access Figure 12.1 Data link layer divided into two functionality-oriented sublayers Figure 12.2 Taxonomy of multiple-access protocols.
Cryptography, Attacks and Countermeasures Lecture 4 –Boolean Functions John A Clark and Susan Stepney Dept. of Computer Science University of York, UK.
Chapter 6 Linear Programming: The Simplex Method
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 6.4 The student will be able to set up and solve linear programming problems.
Statistics Measures Chapter 15 Sections
Basic Concepts in Number Theory Background for Random Number Generation 1.For any pair of integers n and m, m  0, there exists a unique pair of integers.
Quadratic Functions. Examples 3x 2 +2x-6 X 2 -4x+3 9x
Copyright © Cengage Learning. All rights reserved. 4 Quadratic Functions.
Describing distributions with numbers
Chapter 9 Polynomial Functions
Lecture 1B (01/07) Signal Modulation
British Computer Society (BCS)
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
Chapter 6 Linear Programming: The Simplex Method Section 4 Maximization and Minimization with Problem Constraints.
Copyright © 2009 Pearson Education, Inc. Chapter 5 Section 1 - Slide 1 Chapter 1 Number Theory and the Real Number System.
Partial Fractions.
1 st semester 1436/  When a signal is transmitted over a communication channel, it is subjected to different types of impairments because of imperfect.
1.  How does the computer generate observations from various distributions specified after input analysis?  There are two main components to the generation.
Digital Communications Chapter 6. Channel Coding: Part 1
Comparison Between AM and FM Reception. 21/06/20162 FM Receiver.
Trigonometric Identities
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Linear Algebra Review.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
MECH 373 Instrumentation and Measurements
Lock-in amplifiers
UNIT II Analysis of Continuous Time signal
Trigonometric Identities
UNIT-8 INVERTERS 11/27/2018.
Fundamentals of Data & Signals (Part II)
Random Number Generation
Presentation transcript:

How to Choose a Walsh Function Darrel Emerson NRAO, Tucson

(1913)

What’s a Walsh Function? A set of orthogonal functions Can be made by multiplying together selected square waves of frequency 1, 2, 4, 8,16 … [i.e. Rademacher functions R(1,t), R(2,t), R(3,t) R(4,t), R(5,t) …] The Walsh Paley (PAL) index is formed by the sum of the square-wave indices of the Rademacher functions R(1,t)*R(2,t)*R(3,t) is a product of frequencies 1, 2 and 4 =PAL(7,t) E.g.

Ordering Walsh Functions Natural or Paley order: e.g. product of square waves of frequencies 1, 2 & 4 (Rademacher functions 1,2 & 3) = PAL(7,t) WAL(n,t): n=number of zero crossings in a period. Note PAL(7,t)=WAL(5,t) Sequency: half the number of zero crossings in a period: CAL or SAL. (Strong analogy with COSINE and SINE functions.) Note WAL(5,t)=SAL(3,t), WAL(6,t)=CAL(3,t)  Mathematicians usually prefer PAL ordering.  For Communications and Signal Processing work, Sequency is usually more convenient.  For ALMA, sometimes PAL, sometimes WAL is most convenient

WAL12,t) From Beauchamp, “Walsh Functions and their Applications”

Dicke Switching or Beam Switching OFF source ON source off – on – off – on – off – on – off – on - off – on – on – off – off – on – on – off - off – on – on – off – on – off – off – on - Rejects DC term Rejects DC + linear drift Rejects DC + linear + quadratic drifts PAL(1,T) PAL(3,T) PAL(7,T) PAL index (2 N -1) rejects orders of drift up to (t N - 1 )

Dig. DTS Dig. DTS First mixer 1 st LO Correlator +-+- ALMA WALSH MODULATION Walsh generators Sideband separation Spur reject Antenna #1 Antenna #2

What can go wrong? If the signal amplitude varies during the time T of a complete period of a function PAL(n,T), there is a loss of orthogonality. –Possible Solution: Choose functions with the largest number of component Rademacher products. E.g. PAL(13,T), =R(1,T)*R(3,T)*R(4,T), a product of 3 square waves, is immune to drifts of the form A.t 0 + B.t 1 + C. t 2. (t=time, A, B & C constants.) Higher order (i.e. faster) Rademacher terms are better. The max order of polynomial drift eliminated is equal to the number of component products of Rademacher functions, -1. We want signals, modulated by different functions, to remain orthogonal. Possible problems: If there is a timing offset between Walsh modulation and demodulation, there is both a loss of signal amplitude and a loss of orthogonality. Timing offsets at some level are inevitable, & can arise from: –Electronic propagation delays, PLL time constants, & software latency –Differential delays giving spectral resolution in any correlator (XF or FX) Mitigation of effect of Walsh timing errors is the subject of the remainder of this talk.

If there is a timing offset between Walsh modulation and demodulation, there is both a loss of signal amplitude and a loss of orthogonality. Timing offsets at some level are inevitable, & can arise from: –Electronic propagation delays, PLL time constants, & software latency –Differential delays giving spectral resolution in any correlator (XF or FX) TIMING ERRORS Mitigation of effect of Walsh timing errors is the subject of the remainder of this talk.

Sensitivity loss If a Walsh-modulated signal is demodulated correctly, there is no loss of signal (Left) If a Walsh-modulated signal is demodulated with a timing error, there is loss of signal (loss of “coherence”) (Right) Correct demodulationTiming error Product 

Loss of Sensitivity for a timing offset of 1% of the shortest Walsh bit length

Crosstalk, or Immunity to Correlated Spurious Signals WAL(5,t)*WAL(6,t) No Crosstalk WAL(5,t)*[WAL(6,t) shifted] Crosstalk. Spurious signals not suppressed Product averages to zero Product does not average to zero Product 

Crosstalk, or Immunity to Correlated Spurious Signals Note the symmetries: Second halves of WAL(5,t) & (6,t) are negative copies of the first halves Second half of the product is a copy of the first half. WAL(5,t) & (6,t) are PAL(7,t) & (5,t). Both include R(1,t) as a factor.

A matrix of cross-product amplitudes For 128-element Walsh function set. In WAL order Amplitudes are shown as 0 dB, 0 dB to -20 dB, -20 to -30 dB, with 1% timing offset. Weaker than -30 dB is left blank. NOT ALL CROSS-PRODUCTS WITH A TIMING ERROR GIVE CROSS-TALK ODD * EVEN always orthogonal ODD * ODD never EVEN * EVEN sometimes

Crosstalk: The RSS Cross-talk amplitude of a given Walsh function, when that function is multiplied in turn by all other different functions in a 128-function Walsh set.

Finding a good set of functions It is not feasible to try all possibilities. The number of ways of choosing r separate items from a set of N, where order is not important, is given by: For N=128, r=64, this is Optimization strategy 1.Choose r functions at random from N, with no duplicates. Typically for ALMA: N=128, r= # antennas = 64 2.Vary each of the r functions within that chosen set, one by one, to optimize the property of the complete set. 3.Repeat, with a different starting seed to 10 7 tries. 4.Look at the statistics of the optimized sets of r functions.

A function with an odd PAL index remains orthogonal to a function with an even PAL index, even in the presence of a relative time slip. A pair of functions that both have odd PAL indices never remain orthogonal after a relative time slip A pair of functions that both have even PAL indices, may or may not remain orthogonal with a time slip. –With any even PAL function, the first half is a repeat of the second half. –Look at one half of onto even functions, to see if the half-function itself is odd or even. If the half-functions remain orthogonal, then the entire function remains orthogonal. –If the two half-functions are both even, then sub-divide them again. –Continue subdividing until we’ve found whether the functions remain orthogonal. Crosstalk, or Immunity to Correlated Spurious Signals ODD * EVEN always orthogonal ODD * ODD never EVEN * EVEN sometimes

Half of all products are a mix of odd & even indices. These remain orthogonal. So, N 2 /2 products accounted for. Odd-odd pairs are never orthogonal: N 2 /4 of all possible products can be rejected. Even-even pairs may or may not remain orthogonal. (N 2 /4 not yet accounted for.) Divide these into half-functions, and apply above crteria to the half-functions One half of the N 2 /4 will satisfy the odd-even criterion so remain orthogonal. One quarter of the N 2 /4 can be rejected by the odd-odd rule, leaving one quarter of the N 2 /4 to be considered further. From these N 2 /16 remaining functions, apply the above steps. From successive steps, the # of functions found to remain orthogonal: N 2 /2 + N 2 /8 + N 2 /32 + N 2 /128 … = 2. N 2 /3. Crosstalk, or Immunity to Correlated Spurious Signals What fraction of all Walsh function products remain orthogonal in the presence of a time shift?

The relative occurrence of a given count of zero-crosstalk products, in ~10 5 randomly chosen sets of 64 functions, taken from a full set of 128 Walsh functions. The most likely count of zero-crosstalk products is 1362 (out of 2016 possible products) The best set found has 1621 zero cross-products. The worst set found has <1000 zero cross-products.

From sets of 64 functions selected from 128 to give the maximum count (=1621/2016) of zero cross-products. The relative occurrence of a given level of RSS crosstalk between all cross-products of that set, with 1% timing offset Most likely level of RSS cross-talk 3.79%. Lowest 3.4%.

( For the best 50 functions, omit those given in bold font.) A possible choice of functions for 50, or 64 antennas, from a 128-function set, chosen to: 1.Maximize number of zero cross-products (1621/2016) 2.Then minimize the RSS cross-product amplitude (3.4%) However, maximizing the number of zero cross-products does not lead to the best result

From different sets of 64 functions, chosen at random from the original 128-function Walsh set, relative occurrence of the value of cumulative RSS of crosstalk summed over all possible cross-products of each set. Preselected for max # zero cross-products Chosen randomly

Relative occurrence of individual Walsh functions in the best 0.25% of 64-element sets originally chosen at random from 128 functions

Graphical representation of all choices of 64 sets of functions blocked into groups each of 8 functions, which give the minimum value of RSS crosstalk. Note the universal appearance of the lowest, and of the highest, sequencies. The relative occurrence of a given Walsh sequency in the 64 sets shown above.

Criteria for choosing the subset of 64 functions from the total set of 128 Walsh functions RSS Crosstalk Level (1% time slip) Number of zero products Total # cross- products (excluding self-products) Total Sensitivity Loss (1% time slip) The set of functions: WAL indices Randomly chosen, no optimization, most probable result 3.25% % Most subsets of 64 functions randomly chosen from Random seed, selecting only sets having the maximum number of zero cross-products 3.79% %(Not useful) Random seed, then optimize for max number of zero products, then minimize RSS crosstalk 3.41% %See Table 1 Random seed, then optimize only for max number of zero products. Worst crosstalk could be: 4.3% %(Not useful) Lowest possible sensitivity loss, ignoring crosstalk 2.31% %WAL 0-63 Worst possible sensitivity loss, ignoring crosstalk 2.31% %WAL Random seed, then optimize for minimum RSS crosstalk, then minimize sensitivity loss 1.82% % WAL indices 0-31,47-63,

WAL indices 0-31, 47-63, The magic set of Walsh functions for 64 ALMA antennas: Thanks for listening. T H E E N D

(1913)

Criteria for choosing the subset of 64 functions from the total set of 128 Walsh functions RSS Crosstalk level Number of zero products Total number of products (excluding self-products) Total Sensitivity Loss The set of functions: WAL indices Note Randomly chosen, no optimization, most probable result 3.25% % Most subsets of 64 functions randomly chosen from Random seed, selecting only sets having the maximum number of zero cross-products 3.79% %(Not useful) 1,2 Random seed, then optimize for max number of zero products, then minimize RSS crosstalk 3.41% %See Table 1 3 Random seed, then optimize for max number of zero products. Worst crosstalk then could be: 4.3% %(Not useful) 4 Lowest possible sensitivity loss, ignoring crosstalk 2.31% %WAL Worst possible sensitivity loss, ignoring crosstalk 2.31% %WAL Random seed, then optimize for minimum RSS crosstalk, then minimize sensitivity loss 1.82% % WAL indices 0-31,47-63, Table 2: Summary of Results Notes to Table 2: Summary of Results 1.Results given are the most probable result of a random choice of functions. See Figure 4 & Figure 6. 2.See Figure 5. RSS crosstalk is the most probable value within the given criteria. Sensitivity loss is the most probable value. 3.See Figure 5. RSS crosstalk is the lowest found according to the given criteria after ~10 7 tries 4.See Figure 5. Worst RSS crosstalk found in ~10 7 tries. 5.See Figure 6 Sensitivity loss calculated according to section 2. 6.This is the recommended set of functions for M=64 antennas chosen from the full set of N=128 functions. See Section 5.

Crosstalk, or Immunity to Correlated Spurious Signals Note the symmetries: Second halves of WAL(5,t) & (6,t) are negative copies of the first halves Second half of the product is a copy of the first half. WAL(5,t) & (6,t) are PAL(7,t) & (5,t). Both include R(1,t) as a factor.

Crosstalk, or Immunity to Correlated Spurious Signals Product of WAL(5,t) with WAL(7,t) [or PAL(7,t) with PAL(4,t)] Symmetries: WAL(5,t) [PAL(7,t)] second half reverses sign WAL(7,t) [PAL(4,t)] second half repeats. Product: second half reverses sign Product averages to zero: Crosstalk Suppressed even with time slip

Crosstalk, or Immunity to Correlated Spurious Signals Note the symmetries: Second halves of WAL(5,t) & (6,t) are negative copies of the first halves Second half of the product is a copy of the first half. WAL(5,t) & (6,t) are PAL(7,t) & (5,t). Both include R(1,t) as a factor.

What can go wrong? If the signal amplitude varies during the time T of a complete period of a function PAL(n,T), there is a loss of orthogonality. –Possible Solution: Choose functions with the largest number of component Rademacher products. E.g. PAL(13,T), =R(1,T)*R(3,T)*R(4,T), a product of 3 square waves, is immune to drifts of the form A.t 0 + B.t 1 + C. t 2. (t=time, A, B & C constants.) –The max order of polynomial drift eliminated is equal to the number of component products of Rademacher functions, -1. If there is a timing offset between Walsh modulation and demodulation, there is both a loss of signal amplitude and a loss of orthogonality. Timing offsets can arise from: –Propagation delays through analog or digital electronics and cables, & software latency –Differential delays are fundamental to spectral resolution in any correlator (XF or FX) Solution : is more complicated, and is the subject of this talk. We want signals, modulated by different functions, to remain orthogonal. Possible problems:

(1913)