Scan pattern

This page documents an earlier firmware release. Read this page for the latest release

The scan pattern is the path the laser beam takes through the field of view during one frame. Two mirrors of the sensor create that path. The more scanlines a frame has, the lower the frame rate. To choose or create a scan pattern in the WebGUI, see Choose a scan pattern.

The Qb device is a scanning LiDAR. Unlike a flash LiDAR, it does not cover the entire field of view at once: it measures one direction after the other, each measurement producing one or a few points, and covers the field of view within the duration of a frame. Two MEMS mirrors deflect the laser beam, see How the LiDAR measures. The angles of both mirrors define the direction of the measurement, and a time-of-flight measurement determines the distance to the object in that direction. Both mirrors oscillate at their natural frequency, and their relative phase defines the path of the beam. The path at the maximum amplitude of both mirrors outlines the field of view.

Simplified mathematical description of the Blickfeld scanner

The two mirrors oscillate with the same frequency. They are identical and differ only in their orientation (one vertical, one horizontal), their relative phase and their amplitude. Together they draw a Lissajous curve with a frequency ratio of \(1:1\), a phase offset of a quarter period and a variable amplitude ratio.

Horizontal mirror

Both mirrors oscillate at the natural frequency \(f\) and create a scan pattern with the frame duration \(T\). The frame duration is always an integer multiple of \(1/f\). The horizontal mirror oscillates in a continuous sinusoidal motion. The resulting horizontal angle \(\theta_H\) is:

\[\theta_H(t) = \theta_{H,max} / 2 \times \cos(2\pi f t)\]

\(\theta_{H,max}\) is the horizontal field of view, which can be chosen freely within the physical limits of the horizontal mirror.

The graph of the horizontal mirror in Figure Movement of the horizontal and the vertical mirror shows the horizontal angle \(\theta_H\) for an example frame with a horizontal field of view \(\theta_{H,max}=80^{\circ}\) and 40 scanlines, that is 20 periods of the mirror and a frame duration of \(T=20/f\).

Vertical mirror

The vertical mirror runs a quarter period behind the horizontal mirror, which turns the cosine into a sine, and its amplitude follows the ramp function \(r(t)\). The vertical angle is:

\[\theta_V(t) = r(t) \times \theta_{V,max} / 2 \times \sin(2 \pi f t)\]

The vertical field of view \(\theta_{V,max}\) can also be chosen freely within the physical limits of the vertical mirror.

Ramp function

The ramp function consists of two segments. During the first part of the frame it rises strictly from 0 to 1, during the rest of the frame it falls strictly from 1 to 0. The two phases are called the up-ramping phase and the down-ramping phase. An example function of two linear segments is:

\[r(t) = 4/3 t / T \ \text{for} \ t \in [ 0; 3/4 T ]\]
\[r(t) = 4 - 4t / T \ \text{for} \ t \in ] 3/4 T; T ]\]

These linear functions are only an example. Ramp functions with other slopes, or nonlinear ramp functions, give the scanlines a different density across the field of view. The maximum slope is limited by the characteristics of the mirror. The spacing of the scanlines is therefore controlled by the ramp function \(r(t)\).

The graph of the vertical mirror in Figure Movement of the horizontal and the vertical mirror shows the vertical angle \(\theta_V\) for the same example frame with a vertical field of view \(\theta_{V,max}=30^{\circ}\) and the ramp function above.

Plot of the azimuth angle of the horizontal mirror and the elevation angle of the vertical mirror over one frame, with the start of the frame, the end of the up-ramping phase and the end of the frame marked
Figure 1. Movement of the horizontal and the vertical mirror

Scanlines

One scanline is half a period of the horizontal mirror: one sweep of the laser beam from left to right or from right to left.

The number of scanlines per frame \(N\) is:

\[N = 2 T f\]

Changing the number of scanlines per frame changes the frame duration \(T\) in proportion. The frame rate is \(1/T\), so it is inversely proportional to the number of scanlines per frame. In the WebGUI, a lower Target frame rate therefore gives more scanlines and a denser point cloud, see Fine-tune.

The horizontal mirror starts on the left and moves to the right. The vertical mirror starts at zero and moves downwards. As Figure Movement of the laser beam shows, scanline 0 is nearly a straight line through the middle, from left to right. Scanline 1 lies above it and runs from right to left. Scanline 2 lies below scanline 0 and runs from left to right. Scanline 3 lies above scanline 1 and runs from right to left, and so on.

Because the vertical mirror passes zero whenever the horizontal mirror turns, the vertical field of view narrows towards the left and right edges. This gives the scan pattern its eye shape.

Ten scanlines numbered 0 to 9 from the frame start outwards: 0 through the middle, the odd numbers above running right to left, the even numbers below running left to right
Figure 2. Movement of the laser beam