The Lab Book Pages

An online collection of electronics information

http://www.labbookpages.co.uk

Dr. Andrew Greensted
Last modified: 2nd September 2010

Hide Menu


Valid XHTML Valid CSS
Valid RSS VIM Powered
RSS Feed Icon

This site uses Google Analytics to track visits. Privacy Statement

Page Icon

Delay Calculation

A fundamental part of beamforming is calculating the differences in wave arrival time between array elements. The beamforming literature mainly uses two approaches; simple geometry, or vector dot product. This page describes using both methods how to calculate the time difference between a plane wave front arriving at an array element and an arbitrary reference point. A plane wave is normally assumed when the source is considered a long distance from the array.


Delay Calculation Using Basic Geometry

The left-hand image below shows a single microphone placed along the x axis. This reflects a single element position for a 1D array (right-hand image). In this setup, the angle of plane wave arrival is measured from the y axis; an angle of 0° is a broadside plane wave, an angle of ±90° is end-fire.

All delay measurements are taken with reference to a single point, in this case, the axis origin.

1D Delay Calculation

1D Delay Calculation

Linear array showing broadside and end-fire plane waves

Linear array showing broadside and end-fire plane waves

The wavefront time delay is calculated using the difference in distance a wave front must travel between the reference point and the element on interest. The time is then calculated by dividing this distance by the speed of sound.

1D Delay Calculation

The 2D case is shown below. The same basic approach is taken; calculate the difference in distance a wave front must travel between the origin and the element, then divide by the speed of sound. However, this time the distance calculation is for 2D.

2D Delay Calculation

2D Delay Calculation

2D Delay Calculation

Delay Calculation Using Vector Dot Product

The vector dot product provides a simple approach of calculating wavefront delays. The image below shows three vectors. Vector c is the projection of vector a on to b. The length of vector c is known as the the scalar projection of a on to b. It is this projection that provides the method for calculating the wavefront delay.

Scalar Projection

Scalar Projection

Using standard geometry of a right angle triangle, we can find the length of vector c, from the length of vector a and the angle between the two vectors.

Scalar Projection

Taking the dot product equation we can rearrange to find the length of vector c in terms of the dot-product of vectors a and b and the length of vector b.

Scalar Projection

Finally, if we can ensure that vector b is a unit vector (has a length of 1), then the length of vector c is simply the dot-product of vectors a and b.

Scalar Projection

The images below show how the vector dot product can be applied to calculating the wavefront delay. The two vectors used are the element (microphone) position vector and the wavefront vector.

2D Microphone position

2D Microphone position

Dot Product Delay Calculation

Dot Product Delay Calculation

If the wavefront vector is a unit vector then the wavefront delay between the element and the origin can be calculated as follows.

Dot Product Delay Calculation

Example

Here is an example of using the dot product to calculate the wave front delay for an array microphone in 3D space. An example microphone coordinates and wavefront source direction are given below. Please see the 3D coordinates systems page for a description of how these coordinates relate to each other.

xyz
0.5m0.2m0.1m
Microphone Position
azimuthelevation
30°10°
Wavefront source direction

First the wavefront direction is converted into a unit vector.

Wavefront unit vector

A quick check using Pythagoras' theorem, shows this is a unit vector.

Test for unit vector

Then the delay is calculated

Dot Product Delay Calculation

Book Logo