Compact lidar system using laser diode , binary continuous wave power modulation , and an avalanche photodiode-based receiver controlled by a digital signal processor

We analyze the practical limits of a lidar system based on the use of a laser diode, random binary continuous wave power modulation, and an avalanche photodiode (APD)-based photereceiver, combined with the control and computing power of the digital signal processors (DSP) currently available. The target is to design a compact portable lidar system made all in semiconductor technology, with a low-power demand and an easy configuration of the system, allowing change in some of its features through software. Unlike many prior works, we emphasize the use of APDs instead of photomultiplier tubes to detect the return signal and the application of the system to measure not only hard targets, but also medium-range aerosols and clouds. We have developed an experimental prototype to evaluate the behavior of the system under different environmental conditions. Experimental results provided by the prototype are presented and discussed. © The Authors. Published by SPIE under a Creative Commons Attribution 3.0 Unported License. Distribution or reproduction of this work in whole or in part requires full attribution of the original publication, including its DOI. [DOI: 10.1117/1.OE.57.4.044104]


Introduction
The application of lidar systems began with the use of high peak-power lasers.Even today most of the lidar systems in use for atmospheric remote sensing are based on this principle.A pulse of light of high peak-power is emitted from a laser, backscattered by atmospheric particulates and molecules, and collected by a telescope, and the return optical power is converted to an electrical signal by a photodetector.The use of high peak-power lasers entails two disadvantages, namely the necessary power to operate them and the lack of eye safety.
To overcome these problems, lasers with low peak-power and high pulse-repetition frequencies, in the tens of kHz, along with pulse-return accumulation can be used. 15][6] Detection using a correlation algorithm provides range resolution.
Many of the systems described until now using CW laserdiode transmitters employ photomultiplier tubes in the receiver system.However, the fast increase in the performance of digital signal processors (DSP) permits the envisioning of the use of long coding sequences with short processing times-a 200-point correlation using a sequence of 2047 bits takes a maximum time of 400 ms approximately-making practical a low-power consumption, eye-safe, and compact-size all-semiconductor lidar system, with laser-diode transmitters and avalanche photodiodes (APDs) in the receiver system.The system can detect from low to high clouds, but it can be used in the detection of mediumrange aerosol (see Sec. 6).A limitation in these systems arises from the condition to constrain the laser peak power to a maximum value that leads to a reduction in the signal-to-noise ratio (SNR) when the spatial resolution is increased if the laser peak power is kept constant (see Sec. 3).The low-energy consumption makes these systems attractive from the portability point of view.For example, the maximum power necessary for the system presented in this paper is below 10 W considering all the electronic and optoelectronic components.The telescope size would set the final limit to this portability.
The use of a DSP permits the implementation of an allprogrammable system, with the possibility of changing the algorithms to detect the signals and the use of long sequences to extract the signal from the noise.A programmable system can adapt its performance to the needs of each moment or each application.Additionally, the use of DSPs allows the synchronization and total control of the transmitted and received signals, which is very important to avoid the degradation of the SNR.
The paper is organized as follows: Sec. 2 lays out the model of a system using pseudorandom sequences to modulate the power of a laser diode transmitter under the control of a DSP that is also in charge of performing the correlation operations to retrieve the range-resolved atmospheric backscatter.Section 3 presents the SNR gain of the system and the SNR at the output.Section 4 discusses the basic constraints of the system and the relation between the laser power, the electrical bandwidth, and the SNR.Section 5 shows the effect of nonlinearities and offsets in the system, which to our knowledge has not been dealt with in previous related literature, and finally Sec.6 shows experimental results from the implemented prototype.Section 7 presents conclusions and gives an outlook of possible developments using the discussed lidar architecture.

System Modeling
The outline of a lidar system, independently of the used technology, is well known.Classically, single pulses are processed.The pulses can be either of high energy at a low repetition frequency or of low energy at a high repetition rate.Accumulating the returned pulses is equivalent to a processing gain.In the case of random binary CW modulation, the processing gain is obtained from the cross correlation of the received sequence with a reference sequence.In this way, the duty cycle, tending to 50%, is higher than in the other lidar systems, and the peak power can be reduced.
The received power from a range z in a pulsed lidar is given by the lidar equation 7 E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 1 ; 6 3 ; 5 2 0 P received ðzÞ ¼ where P is the transmitted laser-pulse power, A T is the telescope effective area, c is the speed of light, τ is the pulse duration, z is the distance to the scattering atmosphere resolution cell, β is the atmospheric backscatter coefficient (units m −1 sr −1 ), and α is the atmospheric extinction coefficient (units m −1 ), which is integrated along all the two-way path to the target at distance z.Geometrical overlap effects have been disregarded.For a CW pseudorandom sequence-modulated lidar (or CW-PRN lidar), it is convenient to cast the lidar equation as E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 2 ; 6 3 ; 3 6 6 P received ðtÞ where P is the maximum laser power and sðtÞ is the powermodulating signal.In our case, sðtÞ is a discrete pseudorandom sequence.Note that the integral in the right member of Eq. ( 2) is essentially a convolution of the sequence sðtÞ with a function hðzÞ ¼ βðzÞ z 2 exp½−2∫ z 0 αðxÞdx that depends on the state of the atmosphere.We are interested in retrieving the attenuated backscatter βðzÞ exp½−2∫ z 0 αðxÞdx ¼ z 2 hðzÞ or at least something proportional to it, i.e., the in general so-called range-corrected signal.
To evaluate the performance of the proposed CW lidar, we use the model of Fig. 1, where the input (the transmitted sequence) is known and the impulse response hðzÞ is the function to evaluate.In this context, anticipating the digital signal processing to be carried out on the signal, the time functions are expressed as sample sequences, and, from now on, a discrete system will be assumed.According to Fig. 1, sðnÞ is the transmitted sequence that yields an output xðnÞ after passing through the channel with impulse response hðnÞ.The channel also adds a background radiation that contributes a noise bðnÞ.The received signal is pre-processed by the optoelectronic receiver, physically consisting of a telescope with effective collecting area A T , an APD-based photoreceiver with voltage responsivity R V , and an amplifier with gain g.Inevitably, the receiver also adds some noise represented by wðnÞ at the input of the amplifier.The receiver output is sampled and digitized by the analogue-to-digital (A/D) converter, after which the processor produces an estimate of hðnÞ based on the knowledge of sðnÞ.
After Fig. 1, the signal reaching the receiver is ; t e m p : i n t r a l i n k -; e 0 0 3 ; 3 2 6 ; 4 8 7 where sðnÞ is the sequence modulating the transmitted power, hðnÞ is the discrete impulse response of the channel (the atmosphere in this case), the symbol * denotes the convolution operation, bðnÞ is the shot noise added by the channel because of the detection of background radiation, and c s is the offset value associated to the background radiation.
The discretized impulse response hðnÞ can be written from Eq. ( 2) as E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 4 ; 3 2 6 ; 3 5 7 where τ bit is the duration of a bit in the sequence sðnÞ.
The output of the photoreceiver is ; t e m p : i n t r a l i n k -; e 0 0 5 ; 3 2 6 ; 2 8 8 where A T is the telescope effective collecting area, R v is the photodetector responsivity, g is the gain of an amplifier chain accommodating the output amplitude of the photodetector to the input of the A/D converter (accommodation gain), wðnÞ is the noise added by the photoreceiver, including noise added by the photodetector and the amplifier, referred to the amplifier input, and c sr is the total offset level due to the background radiation and the photoreceiver electronics referred to the photoreceiver output.If all the noise is included in one term, then E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 6 ; 6 3 ; 6 8 6 y D ¼ gfA T R v P 0 ½sðnÞ Ã hðnÞ þ w T ðnÞ þ c sr g; where w T ðnÞ ¼ A T R v bðnÞ þ wðnÞ.In Secs. 3 and 4, we analyze the SNR implied by Eq. ( 6) and the type of photoreceiver used, and we discuss the system basic constraints.
3 System Processing Gain and Signal-to-Noise Ratio The SNR in a photoreceiver operating in analogue mode can be expressed as 8 E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 7 ; 6 3 ; 5 5 5 SNR ¼ where P s and P b are, respectively, the optical power of the signal and of the background radiation reaching the photodetector, P q ¼ 2FhcB ηλ , in which F is the excess noise factor of the photodetector, h is the Planck's constant, c is the speed of light, η is the photodetector quantum efficiency, λ is the wavelength, and B is the electrical bandwidth of the photoreceiver.NEP denotes the noise equivalent power of the photoreceiver.
In the absence of background radiation, the optical signal power at which the operation regime of the photoreceiver changes from signal-shot-noise limited SNR to NEP-limited SNR is E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 0 8 ; 6 3 ; 3 7 2 P sk ¼ For the used photoreceiver (see Table 1) NEP ¼ 1.2 10 −13 W Hz 1∕2 , and with the values for its APD, F ¼ 3.45 and η ¼ 0.78 at λ ¼ 785 nm, we find P sk ¼ 6.45 nW.For an atmosphere with typical optical coefficients and small-or medium-sized telescopes, the optical power in the photoreceiver is always well below this value if the transmitter is a laser diode.In this case, Eq. ( 7) can be approximated by Note that background radiation would cause an apparent increase in the NEP.Calling NEP 0 the effective noise equivalent power with background radiation, we have Assuming that y Q ≈ y D -where y Q and y D are the signals after and before the A/D converter (see Fig. 1) and y D is given by Eq. ( 6)-with a good degree of approximation, the processing leading to the recovery of hðnÞ is accomplished by correlating y Q ðnÞ with a suitable signal related to the modulating signal sðnÞ.To retrieve the attenuated backscatter through the estimation of hðnÞ, the autocorrelation of the sequence sðnÞ with that "suitable" signal must be a delta function to avoid a "blurred" profile and the masking of weak returns by strong ones, as would be the case for a cloud behind a weakly scattering aerosol layer.
[9][10][11] If such a sequence is assumed in Eq. ( 3), a delta-function will be obtained after the correlation of sðnÞ with s 0 ðnÞ, with a maximum value of ðN þ 1Þ∕2 when the delay is zero and 0 for the rest of the sequence, N being the sequence length. 4,5,10The processor block on Fig. 1 will perform the correlation of the A/D converter output with s 0 ðnÞ for every time shift k to yield E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 1 ; 3 2 6 ; 1 0 3 Taking into account Eqs. ( 5) and ( 6), one finds E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 2 ; 6 3 ; 7 4 1 z p ðkÞ where P N n¼1 s 0 ðn þ kÞ ¼ 1 has been used.Clearly, the right side of Eq. ( 9) above shows that the output of the processor for a shift k contains an estimate of the atmospheric "impulse response," in the term S p ðkÞ ¼ Nþ1 2 gA T R v P 0 hðkÞ, affected by noise contained in the term N p ðkÞ ¼ g P N n¼1 w T ðnÞs 0 ðn þ kÞ.The offset term gc sr can be disregarded.However, the effect of a signal offset in practical systems using incomplete sequences in the correlation will be considered in Sec.5.2.Assuming the samples of w T ðnÞ independent random variables, the SNR in the estimate of hðkÞ is, if a number M of the cyclic sequences is processed and the results accumulated, E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 3 ; 6 3 ; 5 4 2 Equation ( 13) assumes the low-signal approximation for the SNR expressed by Eq. ( 9).

System Basic Constraints
The resulting SNR will be the approximately the same as if a sequence of length MN was used, as other authors have already shown. 4,5,10The SNR depends on the total integration time rather than on the sequence length.However, using long sequences has an advantage with respect to employing short ones and increasing the accumulation number M because the long sequences increase the unambiguous distance and may have a beneficial effect on the effect of the offset value as discussed in Sec. 5.The unambiguous distance R ua is related to the sequence length through E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 4 ; 6 3 ; Therefore, the sequence length must be set to a minimum value N min ¼ 2R max ∕ðcτ bit Þ, where R max is the maximum range from which nonnegligible returns are expected.Because the range resolution ΔR is given by ΔR ¼ cτ bit ∕2, N min can be cast as N min ¼ R max ∕ΔR.Values of N above N min provide a safety margin against unexpectedly high returns (for instance, from clouds) coming from ranges above the nominal one.
Assuming that each bit of the modulating sequence is τ bit seconds long and the laser power in the ON state is P 0 , then the energy per ON bit (pulse) is E b ¼ P 0 τ bit .Using the parameters of the system described in Sec.6, with a laser giving a peak power P 0 ¼ 125 mW, and τ bit ¼ 655 ns, the transmitted energy per pulse is 8.19 × 10 −8 J.
The most important constraint in this system is the lowenergy per transmitted pulse.A transmitter figure of merit, related to the capability of achieving a fixed SNR in a given accumulation time, can be defined as , where E is the energy per pulse and PRF is the effective pulse repetition frequency.In our system, the effective pulse repetition frequency is 1∕ð2τ bit Þ. Taking into account that the energy and the spatial resolution are related by E b ¼ P 0 τ bit ¼ 2P 0 ΔR∕c, where ΔR ¼ cτ bit ∕2 is the spatial resolution, the merit factor can be written as E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 5 ; 3 2 6 ; 6 9 7 This relationship shows that if the laser power is divided by a given value, to maintain the figure of merit (hence a given SNR if everything else remains unchanged) the spatial resolution must be reduced by the square of this value.This is a handicap in aerosol detection, especially for long-range detection, yet the use of a low peak-power laser is a practical option to increase the life and reduce the cost of the laser component, in addition to increasing eye safety.

Effect of Nonlinearity and Offset on the
Correlation In this section, we demonstrate the detrimental effects of receiver nonlinearity in this type of system, which does not seem to have been described in related previous literature.

Nonlinear Effects
In this type of lidar system, when very low signal is received from the atmosphere, the input y D of the A/D converter is largely dominated by noise.Even so, if the gain in the receiver amplification parts preceding the A/D converter is too high (or, more unlikely, if the received signal is too strong) there is a risk to driving the amplifiers and converter into the nonlinear region or saturation.The most important problem related to the nonlinearities is the appearance of products between the returned (with different delays) sequences.The results of these products are new sequences that do not meet the correlation criteria of the original sequences.
As shown by Eq. ( 2), the echo signal consists of a superposition of sequences with different amplitudes and delays.Under saturation or nonlinear behavior of the reception chain, and depending on the sequence delays and amplitudes, the output of the cross-correlation process can show peaks where nothing exists ("ghost" targets), as some authors have reported from employing these pseudorandom sequences in audio applications. 12,13We have as well observed this phenomenon under specific circumstances in the prototype described in this work.
In the general case, if we have a received signal yðnÞ, the output of the receiver chain before the processing and considering possible nonlinear effects will be E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 6 ; 3 2 6 ; 1 8 4 y nl ðnÞ ¼ a 0 yðnÞ þ a 1 y 2 ðnÞ þ a 2 y 3 ðnÞ þ : : : ; (16) where a 0 ; a 1 ; a 2 : : : are the coefficients of the linear and nonlinear parts of the response.The received signal yðnÞ is composed of a sum of replicas of the emitted sequence with the correspondent delay and amplitudes according to Eq. ( 2).For clarity of the subsequent analysis, we simplify the notation and write yðnÞ A simple simulation is shown in Fig. 2. Four cases can be found related to the combination of sequences and nonlinearities and its consequences.These are echoes after the correlation process with s 0 ðnÞ [Eq.( 7)] [Fig.2(c)].
The first case of the list is trivial and is not represented in the figure.The other cases correspond to the application of Eq. ( 16) with a 0 ¼ 1, a 1 ¼ 0, and a 2 ¼ 0 (linear case) and with a 0 ¼ 1, a 1 ¼ 0.1, and a 2 ¼ 0 (nonlinear case), to a delta-like temporal received signal (simulating a solid target or very thin target) and with a received signal consisting of five consecutive deltas with same amplitude (simulating a wider layer of clouds and aerosols).The most interesting situation is that of Fig. 2(c)."Ghost" echoes appear when the received signal contains more than an echo and the amplifier is nonlinear (case 4 of the list).These "ghost" echoes appear at any unpredictable position (the analysis is very complex and is out of the scope of this paper).The simulated effects can be observed under specific circumstances in the test process of the real prototype.Figure 3 shows a real measurement obtained in a test against a solid target close to the lidar to obtain the zero reference (in this case the returned signal is very strong).The first peak is the solid target, and the secondary peak is the ghost peak at the distance of 76 samples.This distance is characteristic of the used length sequence that we have been able to observe under similar situations.

Effects of Signal Offset
The property of obtaining a delta-like function when the pseudorandom sequence sðnÞ is correlated with the derived sequence s 0 ðnÞ (Sec.3) is true when applying the circular correlation.In the lidar system, it is necessary to capture more samples in the reception process than the transmitted sequence length because of the delay time to measure in the return signal.If N is the sequence length and D is the number of samples waiting for the maximum delay to measure, the correlation (circular) is done between two sequences of length L ¼ N þ D. The received and sampled signal contains replicas of the transmitted sequence (length N) that delayed the round-trip time to the scattering volume with superimposed noise and offset; D is assumed to be large enough for the last samples of the captured return to contain only noise and offset.The correlation operation in this case will take the form E Q -T A R G E T ; t e m p : i n t r a l i n k -; e 0 1 7 ; 3 2 6 ; 5 1 1 Fig. 3 A real measurement where the effect of the ghost peak is visible.In the 1-D profile the peak is situated 76 samples after the principal peak (equivalent length of 7.6 km).The difference between the number of ones and minus ones in different sections of length D of the sequence s 0 ðnÞ varies, which can give rise to spurious oscillations in z p ðkÞ in the presence of an offset level (whether originating from the receiver electronics, induced by background radiation, or by both causes) in y Q ðnÞ.This is illustrated in the simulations of Fig. 4, where there is assumed a delta-like target at sample number 50 and an offset level equal to the amplitude of the received signal.
This undesired effect can be avoided, increasing the receiving time to acquire 2N samples, i.e., making D ¼ N, which ensures that the difference between the numbers of ones and zeros in the interval is constant.This solution has the drawback of being energetically inefficient, as ∼50% of the time the system is idle.
Another, more energetically efficient solution to this problem is the use of very long sequences, with N in the order of 10 5 bits, which is feasible with a short processing time with the current DSP state of the art, while keeping D constant.In this way, the effect of the varying number of ones and minus ones in sections of D bits in s 0 ðn þ kÞ in the presence of a signal offset keeps limited, whereas the signal increases approximately as N [Eq.( 9)].
The effects of the proposed solutions in the crosscorrelation function can be observed in Fig. 4

Experimental Prototype and Results
A complete lidar system has been built and tested in a real environment and under real conditions of operation.The core of the lidar system is a DSP and the software to control all the processes.The use of a software-defined lidar allows for changing the operation mode of the system with the same hardware.
Sequence lengths of 1023 and 2047 bits have been considered initially in the experimental prototype, but these can be modified very easily.Even using long sequences of tens   Ardanuy and Comerón: Compact lidar system using laser diode, binary continuous wave power. . .
or hundreds of thousands of bits, the processing power of the state of the art DSPs makes it possible to neglect the processing time.The time dominating the system is almost exclusively the integration time, except if very short sequences are used, when the processing time dominates.The lidar system parameters are listed in Table 1.The layout of the experimental setup is detailed in Fig. 6.The equipment, which is operated day and night in an autonomous mode, is shown in Fig. 7.Note that the scale reference in the figure gives an idea of its compactness.The photodetector is in the primary focus of a Schmidt-Cassegrain telescope with the secondary mirror removed to simplify the alignment of the laser inside the field of view (wider field of view), resulting in an f∕2 telescope.Figure 8 shows the calculated overlap function of the system.
Figure 9 shows different examples of cloud detection.Figure 9(a) shows a medium-high cloud evolving between 3-and 5-km altitude, and at the end of the measurement interval a high cloud at around 8 km appears.Figures 9(b) and 9(c) show high altitude clouds between 7 and 8 km. Figure 9(c) is the 1-D profile resulting from the integration of the profiles in the measurement interval of Fig. 9(b).In Fig. 9(d), the detection of a low cloud and rain is noticed.The measurements of Fig. 9 have been obtained using M-derived A-sequences, 11 which have properties close to those of M-sequences, the circular correlation of an A-sequence with a shifted one yielding a peak for zero shift and a small ripple of constant amplitude for other shifts.Although detection of clouds with pseudorandom powermodulation lidar has been presented previously, 5,10 to our knowledge, this is the first time that detection of clouds as high as 8 km is reported for a system employing a low-power transmitter in the infrared and an APD in the receiver.
Figure 10 corresponds to a 20-min measurement showing a cloud deck with the base slightly below 2 km and aerosol below it.Figure 10(a) is the time-height representation with a 1-min temporal resolution and 50-m spatial resolution.Figure 10(b) is the 1-D representation corresponding to the accumulation of all the profiles in the 20-min interval.Figure 10 has also been obtained using an A-sequence.
Figure 11 shows measurement results during a Saharan dust outbreak in Barcelona.Figure 11(a) corresponds to the integration of 30 consecutive measurements of 1 min each obtained with the lidar described in this paper, operating in the city of Terrassa, 20 km to the Northwest from Barcelona, at 19 h UTC on the January 31, 2018.The layer is visible at 3 to 4 km of altitude through the "bump" in the range-corrected signal profile.Figure 11(b) shows the measurement obtained with the micropulse lidar (MPL) operating at the UPC Campus in Barcelona, at approximately the same moment with a 30-s averaging time, where a similar feature is found in the normalized relative backscatter profile (essentially the range-and overlap-corrected signal); in this case, an increase in the signal at very low altitude is due to boundary-layer aerosols revealed by the overlap correction (it should be noted that the MPL system has a figure of merit as defined in Sec. 4 four orders of magnitude higher than that of our system and that it uses a photon-counting receiver).Figure 11(c) is the dust forecast from the BSC (Barcelona Supercomputing Center) for approximately the measurement time (18-h UTC).

Conclusions
We have shown that a compact, all-semiconductor PRN lidar working with limited laser peak power and using an APDbased receiver in linear mode, with a low overall power requirement for the whole system (<10 W) can offer an alternative to present ceilometer systems.Detection of clouds as high as 8 km, as well as that of low-altitude aerosols, has been demonstrated, with the latter needing longer integration times.The use of very long sequences while maintaining low values of correlation time using DSPs allows for increasing the nonambiguous range and suppressing artifacts produced by offsets at the input of the correlator.Some cautions have to be taken into account in the system design.One of the most important is to avoid saturation and distortion in the photoreceiver system because of their effects on the correlation of the received signal with the sequence used to retrieve the spatial information, which can result in the appearance of ghost targets.The length of the acquired signal is also of concern for avoiding artifacts in the presence of (unavoidable) offsets at the photoreceiver output.
Moreover, the design and construction of this system needs to achieve a good decoupling between the emitter and receiver subsystems because they are operating simultaneously with a huge difference in the signal levels.
The use of a DSP simplifies the implementation of this system in that the behavior is software defined.The DSP can carry out the whole process such as sending and receiving, the signal correlation, and the implementation of any inversion algorithm if it is necessary.
New steps are being taken in the direction of using a new family of DSP-microcontrollers in one chip to reduce the size, power consumption, and circuit complexity to obtain a more compact lidar and system.

Fig. 1
Fig.1Equivalent block chain of the lidar system.

( 1 )
Only one sequence delayed (b k ¼ 0 for k > 0) and linear amplification: the result is correct.(2) Only one sequence delayed (b k ¼ 0 for k > 0) and nonlinear amplification: the result is correct [Fig.2(a)].(3) Two or more delays (b k > 0 for some k > 0) and linear amplification: the result is correct [Fig.2(b)].(4) Two or more delays (b k > 0 for some k > 0) and nonlinear amplification: possibility of false (ghost)

Fig. 2
Fig.2Simulation of different situations in the received signal and the correlation with the sequence s 0 ðnÞ.An M-sequence of 1023 bits is used.(a) A pure delta function is not sensitive to distortion, (b) a wider function than a delta under linear conditions shows a nondistorted result too, and (c) when this wider signal is correlated after having undergone distortion, an unpredictable number of ghost peaks can appear.

Fig. 4
Fig. 4 Simulation of the offset effect on the correlation between incomplete sequences: (a) with N ¼ 2047 and D ¼ 300, (b) with 2N (two complete sequences), (c) and (d) using very long sequences with N ¼ 16;535 and D ¼ 300 bits, and N ¼ 262;143 and D ¼ 300 bits, respectively.A delta-like target is assumed to be at sample number 20 and the offset level has been taken to be equal to the amplitude of the received signal.
. The offset effect disappears for L ¼ 2N [Fig.4(b)] and is greatly reduced for N ≫ D [Figs.4(c) and 4(d)].The offset effect on a real measurement is shown in Fig. 5.

Fig. 5
Fig.5Real measurement showing the signal offset effect that occurs when a noninteger number of sequences is used in the correlation process (N ¼ 4096 bits, D ¼ 300 bits).

Fig. 6
Fig.6Experimental setup layout.A buffer between DSP and laser emitter is necessary to adapt the logical levels of the DSP output to the amplitude necessary to modulate the laser emitter.Both amplifiers in emission and reception are wide bandwidth (1.5 GHz) and ultralow noise op-amp.High bandwidth is necessary to have a fast commutation in the emitted pulses and a low noise amplifier is good in the receiver chain.

Fig. 7
Fig.7The lidar prototype mounted in the enclosure.

Fig. 8
Fig. 8 Calculated overlap function of the experimental lidar system.

Fig. 9
Fig. 9 Cloud detection with the constructed prototype.(a) Medium height clouds between 3 and 5 to 6 km, and at 8 km at the end of measurement period, (b) high clouds at 7 to 8 km, (c) profile 1-D resulting from the integration in the time interval of panel (b), and (d) low clouds and rain detected at the end of the night in the presence of a low cloud layer.Temporal resolution: 4 min for (a) and (b), 30 s for (d).Spatial resolution is 100 m in all the cases.Sequence: A1 type of 2047 bits. 11

Fig. 10 (
Fig. 10 (a) Range-corrected time-height graph showing a cloud at about 2 km and aerosol below it; time resolution: 17 s, space resolution 50 m.(b) Accumulation of all the profiles in panel (a) showing the cloud and the aerosol signatures.Sequence: A2 type of 4091 bits. 11

Fig. 11 (
Fig. 11 (a) Range-corrected time-height graph showing a Saharan dust layer above Terrassa, where the prototype described in this paper was being operated.(b) Normalized relative backscatter (NRB, essentially range-and overlap-corrected signal) measured by the MPL lidar operating at Universitat Politècnica de Catalunya (UPC) Barcelona, 14 20 km away from Terrassa.(c) The predicted dust concentration profile at Barcelona from the Barcelona Supercomputing Center (BSC) (image from the NMMB/BSC-Dust model, operated by the Barcelona Supercomputing Center). 15

Table 1
Parameters of the lidar system prototype.