Download presentation
Presentation is loading. Please wait.
1
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Signal Processing For Acoustic Neutrino Detection (A Tutorial) Sean Danaher University of Northumbria, Newcastle UK
2
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - What is Signal Processing? Used to model signals and systems where there is correlation between past and current inputs/outputs (in space or time) Two broad categories: Continuous and Sampled processes A host of techniques Fourier, Laplace, State space, Z-Transform, SVD, wavelets…… Fast, accurate, robust and easy to implement Sadly also a big area. Engineers spend years learning the subject (Not long Enough!) Smart as Physicists are I can’t cover a 3+ year syllabus in 40 minutes! Notation (not just i and j)!
3
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - At Virtually all stages of the process 1.Accurate Parameterisation of distributions with no amenable analytical form e.g. Shower Energy distribution profiles 2.Speed up computation e.g. Acoustic integrals by many orders of magnitude 3.Design, Understand, simulate Hydrophones, Microphones and other acoustic transducers (and amplifiers) 4.Design, Understand, simulate filters both analogue and digital (tailored amplitude, phase response, minimise computing time) 5.Estimate and recreate noise and background spectra 6.Design Optimal Filters e.g. Matched Filters 7.Design Optimal Classification Algorithms (Separating Neutrino Pulses from Background) 8.Improve Reconstruction accuracy…………… Will cover 1-5 in this talk…… How Can Signal Processing be used in Acoustic Neutrino Detection?
4
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Singular Value Decomposition W L V T (())(())(()) Decompose the Data matrix into 3 matrices. When multiplied we get back the original data. W and V are unitary. L contains the contribution from each of the eigenvectors in descending order along main diagonal. We can get an approximation of the original data by setting the L values to zero below a certain threshold Similar techniques are used in statistics CVA, PCA and Factor Analysis Based on Eigenvector Techniques Good SVD algorithms exist in ROOT and MATLAB
5
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - SVD II Somewhere between vector five and seven we get the “Best” representation of the data Better than the observation as noise filtered out Highly compressed (only 1-2% of original size e.g. 6/500x1.5) Have basis vectors for data so can produce “similar” data+++ SVD done on Noisy data
6
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Building the Radial Distribution SVD works well with the radial distribution Three vectors sufficient to fit the data Can use a linear mixture of these three vectors as input to the Acoustic MC We Reproduce both the shape and variation 4 examples chosen have maximum variation in shape Hadronic Component using Geant IV
7
Sean Danaher Acoustic Integrals fast thermal energy deposition Band limited by Water Properties Attenuation Slow decay
8
Sean Danaher Method I z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Throw a number if MC points ~10 7 Assume the energy at each point in the cascade deposited as a Gaussian Distribution. Calculate distance to observer from each point Propagate the Gaussian to the observer (an analytical solution is known for this) Sum over all the points Provided the width of the Gaussian is small in comparison to the shower radius we will get the pressure pulse Expensive 5 flops per time point If using 1024 points on time axis 5*1024*1e7=5.1e10 flops 024681012 0 0.5 1 1.5 2 2.5 3 x 10 4 Longitudinal Distance (m) Frequency Radial Distribution -505 -0.5 0 0.5 Time (ps) P (arbitrary) x 10 -4 -6-4-20246 -0.1 -0.05 0 0.05 0.1 Time (s) Pressure (Pa) Need to do this thousands of times for different distances, angles, distributions, etc.
9
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - The Convolution Integral Given a signal s(t) and a system with an impulse response h(t) (response to (t)) then y(t) to an arbitrary input is given by s(t) Bipolar Acoustic Pulse h(t) Impulse response high pass filter (SAUND) y(t) Electrical Pulse We can use this to process all the MC points in the cascade simultaneously
10
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - * = A Few examples RC circuit 2d Mixed signal This situation is similar to our acoustic integral
11
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Will speed the process still further Convolution very expensive computationally (o=n 2 ) –Convert the signal and impulse response to the frequency domain (Fourier Transform) –Provided the number of points n=2 m very efficient FFTs o=n log n –Multiply and take Inverse Transform Convolution in the time domain is Multiplication in the frequency domain (and visa versa) Convolution Theorem
12
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Acoustic Integrals II Assume each point produces a Delta Function The sampled equivalent of a Delta function is 1 The integral can be done using a histogram function (modern histogram algorithms are very efficient) The derivative can be done in the frequency domain (d/dt i No overhead ) We then convolve the response with the entire signal
13
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Only Histogram depends on the number of MC points FT of E xyz Blackman window Derivative j Water Attenuation Histogram: 10 3 flops Scale histogram by 1/d: 10 3 flops (only needed in near field) FFT nLogn c 10 4 flops Multiplication c 4x10 3 flops IFFT nLogn c 10 4 flops 6 orders of magnitude less than approach 1 Limitation: Will not work if volume of the integral is so great that attenuation varies significantly (Large 100+m source in near field)
14
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM State Space Analysis MIMO systems Mixed Mechanical/electrical models etc Matrix Based Method Pictured 20000 state simulation of a square acoustic membrane: (100x100 masses 2 states x and v) A Matrix 400x10 6 elements All modern control algorithms use SS methods. Mode 1 Mode 14 Mode 100 Quantum Mechanics
15
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM AB D C SS Implementation StatesInputs States Outputs States are degrees of freedom of the system. Things that store energy Capacitor Voltages Inductor currents Positions and Velocities of masses A is of size States States B is of size States Inputs C is of size Outputs States D is of size Outputs Inputs
16
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM Simple Example LC Maths simple to implement Example shows the behaviour with an initial 1V on the Capacitor (1F) and 1A flowing through the inductor (1H)
17
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Speaker/Microphone Cone Frame Magnet assembly Coil S N Mechanically Force produced by current Loss to air term Electrically coil moving in a magnetic field Creates an EMF x 1 =x, (position) x 2 =dx/dt, (velocity) x 3 =i, (current) 00.511.522.53 -0.5 0 0.5 1 1.5 2 2.5 x 10 -4 Step Response Time (ms) Amplitude Magnet assembly
18
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Simple Hydrophone Model Heart of Hydrophone Piezo electric crystal Piezo electric effect Omni works in breathing mode 40cm 30cm 253035404550 -15 -10 -5 0 5 10 15 20 25 Time (eq. cm) Amplitude (Arbitrary) Simulated Hydrophone signal 3 rd order simulation. Do we need higher? Gaussian cross-section “Erlangener” water tank (Niess) = 0.09 =5e-3
19
Sean Danaher u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM Acoustic Simulation Bipolar Pulse 1000 element simulation Two types of medium; Heavy and light pulse reflects against walls mismatch between sections velocity on each section amplitude change dispersion Enhance to 2D? Embed Hydrophone models etc.?
20
Sean Danaher + - + - + - + - Butterworth Filter Stable Good Frequency Response 1930s Note Impulse response Output Delay Oscillation
21
Sean Danaher + - + - + - + - Implementation + - + - Cascade 2 nd Order sections to make Butterworth high order filters 1 st Order Familiar RC 2 nd Order LRC 3 rd Order “ ” Passive Filters At acoustic frequencies easiest to use op-amps. Expensive to make high precision lossless inductors RaRa RbRb = =
22
Sean Danaher + - + - + - + - Recovering Phase information 00.20.40.60.811.2 x 10 -3 -0.1 -0.05 0 0.05 0.1 0.15 time (s) Amplitude (Arbitrary) S+N causal non causal It is trivial to design digital filters which have a constant group delay d /d and hence no phase distortion If however we know the filter response e.g. Butterworth we can run the data through the filter backwards. This increases the order of the filter by a factor of 2 e.g. SAUND Data
23
Sean Danaher The Digital Filter The digital filter is simple! Based upon sampled sequences 105 2 6 64 5 5.5 9 7 8 8.5 5 6.5 0 2.5 8 4 4 6 Simple moving average Filter Crude low-pass Called FIR or MA Negative coefficients =>Causal 6 8 14 9 23 7 30 2 32 4 36 9 45 9 54 4 58 9 67 Perfect Integrator Called IIR or AR
24
Sean Danaher The Z Transform and Sampled Signals Geometric sequences are of prime interest because is a geometric sequence
25
Sean Danaher 0 1 -4 -3 -2 0 1 2 3 01 0 1 -15 -10 -5 0 5 10 -1.5 -0.5 0 0.5 1 1.5 2 0 1 00.20.40.60.81 0 5 10 15 20 Fraction of Nyquist frequency Frequency Response Poles must be inside the unit circle for stability A few z transforms
26
Sean Danaher Frequency response simply determined by running around the unit circle Corresponds to the Nyquist Frequency (f s /2) 00.20.40.60.81 0 0.5 1 1.5 2 2.5 3 frequency (Nyquist=1) |H( )| 0 1 00.20.40.60.81 0 10 20 30 40 50 60 frequency (Nyquist=1) H( ) (degrees) Simple Transfer Function
27
Sean Danaher Notch Filter 01 0 1 /5 0100200300400500 0 0.2 0.4 0.6 0.8 1 1.2 1.4 frequency |H( )| F s =1000Hz 00.050.10.150.20.25 -1.5 -0.5 0 0.5 1 1.5 Time Signal buried in 100Hz Recovered signal
28
Sean Danaher Using the Fourier Transform is seldom the best way to get a spectrum. Normally methods based around Autocorrelation (AC) Linear Prediction are used 00.20.40.60.81 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 Frequency (relative) Amplitude(Relative) fft ac lpc -150-100-50050100150 -0.5 0 0.5 1 Lag Amplitude (relative) Autocorrelation Linear Prediction 0100200300400500 -4 -3 -2 0 1 2 3 4 Sample number Amplitude First 500 of 2048 data points AC method Use FT of AC To get PSD All pole filter driven by white noise. Need to choose the order with care. But can now reproduce the spectrum Spectral Analysis
29
Sean Danaher Spectral estimation example 64k 933 2.4k gain vocal tract filter pitch noise voiced/unvoiced switch synthesized speech Frequency (Hz) 01000200030004000 0 1 2 3 4 5 6 7 8 spectrum of frame 48 |h( )| 01020304050 -0.5 0 0.5 1 1.5 2 Sample [n] h(t) Impulse Response 8 bit 8kHz Split speech into frame 240 samples long Use LPC10 to estimate spectrum Reconstruct
30
Sean Danaher z 1 z 1 z 1 z 1 z 1 z 1 [A] -K- [A] u1u1 u2u2 u3u3 u4u4 y2y2 y1y1 y3y3 MIMOSYSTEMMIMOSYSTEM + - + - + - + - Conclusions SP Techniques Useful Thanks for listening Questions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.