Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND DEVICE FOR DETECTING MOTION
Document Type and Number:
WIPO Patent Application WO/2010/113076
Kind Code:
A1
Abstract:
A method for detecting motion direction of an object (4) comprises the steps of: laser output light (Ll) is generated, using a semiconductor laser (2) having a thermal response frequency (fr); - the laser is driven with rectangularly modulated DC current (I) having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr), such as to triangularly modulate the wavelength of the laser output light; the laser output light is directed to the object; - a portion of reflected light (L3) is allowed to interfere with light (LO) within the laser; a portion of the laser light is used as measuring beam (5); the frequency spectrum of the measuring beam (5) is analyzed in conjunction with the modulated laser current in order to determine the direction of movement of the object (4).

Inventors:
SCHEMMANN MARCEL C (NL)
PRESURA CRISTIAN N (NL)
HEINKS CARSTEN (DE)
PENTCHEV ATANAS (NL)
Application Number:
PCT/IB2010/051270
Publication Date:
October 07, 2010
Filing Date:
March 24, 2010
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
KONINKL PHILIPS ELECTRONICS NV (NL)
SCHEMMANN MARCEL C (NL)
PRESURA CRISTIAN N (NL)
HEINKS CARSTEN (DE)
PENTCHEV ATANAS (NL)
International Classes:
G06F3/03; G01S7/4911; G06F3/0354; G06F3/038; G01P3/36; G01S17/58
Foreign References:
US20050213106A12005-09-29
GB2443662A2008-05-14
JP2001230486A2001-08-24
US7339683B22008-03-04
Other References:
MANDELIS A ET AL: "LOCK-IN RATE-WINDOW THERMOMODULATION (THERMAL WAVE) AND PHOTOMODULATION SPECTROMETRY", REVIEW OF SCIENTIFIC INSTRUMENTS, AIP, MELVILLE, NY, US LNKD- DOI:10.1063/1.1142596, vol. 63, no. 5, 1 May 1992 (1992-05-01), pages 2977 - 2988, XP000301227, ISSN: 0034-6748
Attorney, Agent or Firm:
BEKKERS, Joost, J., J. et al. (Building 44, AE Eindhoven, NL)
Download PDF:
Claims:
CLAIMS:

1. Method for triangularly modulating the body temperature (T) of a semiconductor body (13) having a thermal response frequency (fr), the method comprising the steps of: generating a rectangularly modulated DC current (I) having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr); passing said current (I) through the semiconductor body (13).

2. Method according to claim 1, wherein the semiconductor body (13) is a laser medium.

3. Method for triangularly modulating the wavelength of laser output light (Ll) of a laser (2) comprising a semiconductor laser body (13) having a thermal response frequency (fr), the method comprising the steps of: generating a rectangularly modulated DC current (I) having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr); applying said current (I) as supply current to the semiconductor laser (2).

4. Laser light source for producing laser output light (Ll) having a triangularly modulated wavelength, the light source comprising: a laser (2) comprising a semiconductor laser body (13) having a thermal response frequency (fr); a controllable laser current source (51) for supplying the laser (2) with laser current (I); a controller (52) for controlling the laser current source (51); wherein the controller is designed to control the laser current source such as to generate its output current as a rectangularly modulated DC current (I) having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr).

5. A method for detecting motion direction of an object (4), the method comprising the steps of: generating laser output light (Ll), using a semiconductor laser (2) having a thermal response frequency (fr); driving the laser with rectangularly modulated DC current (I) having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr), such as to triangularly modulate the wavelength of the laser output light; directing the laser output light to the object; allowing a portion of reflected light (L3) to interfere with light (LO) within the laser; - using a portion of the laser light as measuring beam (5); analyzing the frequency spectrum of the measuring beam (5) in conjunction with the modulated laser current in order to determine the direction of movement of the object (4).

6. Method according to claim 5 for detecting motion direction of an object (4) moving with respect to a detector (1), the method comprising the steps of: providing a laser (2) comprising a semi-transparent front mirror (11), a semi- transparent rear mirror (12), and a semiconductor laser body (13) having a thermal response frequency (fr) between said two mirrors; - supplying the laser with laser current (I) such as to generate main laser light

(LO) within the laser body (13); allowing a first portion of the laser light to pass the front mirror (11) as output laser beam (3); directing the output laser beam (3) to the object; - allowing at least a portion of reflected light (L3) to interfere with light (LO) within the laser body (13); allowing a second portion of the laser light to pass the rear mirror (12) as measuring beam (5); triangularly modulating the wavelength of the laser output light (Ll) of the output laser beam (3) by modulating the laser current (I); detecting at least a portion of light (L2) of the measuring beam (5); analyzing the frequency spectrum of the detected light (L2) in conjunction with modulated laser current in order to determine the direction of movement of the object (4); wherein the laser current (I) is generated as a rectangularly modulated DC current having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr).

7. Method according to claim 5 or 6, wherein the step of analyzing the frequency spectrum of the measuring beam is done by separate spectrum analysis on up- and down- modulation segments of the laser wavelength.

8. Method according to claim 5 or 6, wherein the step of analyzing the frequency spectrum of the measuring beam is done by analysis of the frequency content of a quadrature demodulated signal such that the frequency corresponding to the object speed is discriminated from other frequencies in the spectrum.

9. Motion detector (1) capable of detecting motion direction of an object (4) moving with respect to the detector, the detector comprising: a laser (2) comprising a semi-transparent front mirror (11), a semi-transparent rear mirror (12), and a semiconductor laser body (13) having a thermal response frequency (fr) between said two mirrors, the laser being designed to output an output laser beam (3) with laser output light (Ll) at its front mirror (11) and to output a measuring beam (5) with measuring light (L2) at its rear mirror (12), the laser further being designed to allow at least a portion of reflected light (L3) to interfere with main light (LO) within the laser body (13); a controllable laser current source (51) for supplying the laser with laser current (I) such as to generate the main laser light (LO) within the laser body (13); a controller (52) for controlling the laser current source (51); - a light detector (55) for detecting at least a portion of the measuring light (L2) and for supplying a measuring signal (Sm) to the controller; wherein the controller (52) is designed to control the laser current source (51) such that it generates the laser current (I) as a rectangularly modulated DC current having a modulation frequency higher than said thermal response frequency (fr) and preferably higher than twice said thermal response frequency (fr), in order to triangularly modulate the wavelength of the laser output light (Ll); and wherein the controller (52) is designed to analyze the frequency spectrum of the detected light (L2) in conjunction with the modulated laser current (I) in order to determine the direction of movement of the object (4).

10. Detector according to claim 9, wherein the controller (52) is designed to analyze the measuring signal (Sm) in conjunction with the phase of the laser current (I).

11. Detector according to claim 9, wherein the controller (52) is designed to analyze the frequency spectrum of the detected light (L2) by separate spectrum analysis on up- and down-modulation segments of the laser wavelength.

12. Detector according to claim 9, further comprising a quadrature demodulator (70) receiving the detector output signal and providing a quadrature demodulated signal to the controller (52), and wherein the controller (52) is designed to analyze the frequency spectrum of the detected light (L2) by analysis of the frequency content of the quadrature demodulated signal such that the frequency corresponding to the object speed is discriminated from other frequencies in the spectrum.

Description:
Method and device for detecting motion

FIELD OF THE INVENTION

The present invention relates in general to a method for detecting movement of an object with respect to a sensor, or, vice versa, of the sensor with respect to the object. In a particular application, the sensor is associated with a user input device for a computer or the like, and the present invention will be specifically explained for this application, but it is to be noted that the invention is not limited to such application.

BACKGROUND OF THE INVENTION

Figure 1 schematically illustrates an optical computer mouse 1, comprising a laser device 2. The laser device is implemented as a semiconductor laser, as known per se.

The mouse is moved over a surface 4, for instance a desktop. From a power source not shown for sake of simplicity, the laser device 2 receives an electric current, and as a result the laser 2 emits a laser beam 3 with a certain wavelength, which is reflected by the surface 4. Part of the laser light is reflected back towards the laser. It is possible to derive, from this reflected laser light, a signal representing velocity of the movement of the mouse 1 with respect to the surface.

Figure 2 is a schematic diagram illustrating the measuring principle. The laser 2 comprises a semi-transparent front mirror 11 and a semi-transparent rear mirror 12, with a laser medium 13 (semiconductor body) between said two mirrors. It is noted that the mirrors 11, 12 are shown as two-dimensional structures, but in practice the mirrors 11, 12 will have a layered structure.

The laser light within the laser medium 13 is indicated as main laser light LO. Part of the laser light passes the front mirror 11 and forms the output beam 3; this light is also indicated Ll. Likewise, part of the laser light passes the rear mirror 12 and forms a measuring beam 5; this light is also indicated L2.

The object 4 can be considered to constitute an external mirror with diffuse properties, and reflects the incoming beam Ll : this is indicated as a reflected beam L3. In the drawing, the reflected beam L3 is shown as being a one-dimensional beam making an angle with the incoming beam Ll, but in practice the reflected beam L3 will have a certain spatial distribution and a portion of this reflected beam L3 will be directed towards the front mirror 11. Thus, the object 4 can be considered as defining an external cavity together with the front mirror 11.

Under stationary conditions, the light LO within the laser medium 13 forms a standing wave. Likewise, light Ll and L3 in the external cavity forms a standing wave which, through the front mirror 11, interferes with the light LO within the laser medium 13. The measuring beam 5 has a constant intensity.

Assume that the object 4 is moving away from the laser 2. This means that the length of the interference cavity between the front mirror 11 and the object 4 is increasing, i.e. the number of standing waves fitting between the front mirror 11 and the object 4 is increasing. Consequently, the interference state at the location of the front mirror 11 changes from fully constructive to fully destructive and back. This has influence on the interference state in the laser medium 13, which in turn has influence on the intensity of light L5 of the measuring beam 5. As a result, this light L5 has intensity fluctuations at a frequency fD that is proportional to the velocity of movement of the object 4 with respect to the laser 2, i.e. the component thereof along the optical axis. It should be clear that the measuring beam 5 can be detected by an optical sensor, and that its output signal can be processed by a signal processor in order to process these intensity fluctuations and to calculate the object velocity therefrom. It is noted that said frequency fD is equal to the Doppler frequency. A problem in this respect is that the same explanation applies, irrespective of the object moving towards or away from the optical detector. In other words, with the simple measuring build-up as described above it is impossible to determine movement direction.

It has already been proposed to solve this problem by supplying the laser with a triangularly modulated laser current, as illustrated in figure 3A. The laser current is varied in a linear manner between two extreme values Il and 12 having the same sign. During one half of a current period, the laser current I is increasing from Il to 12, the change rate Rl = dl/dt being substantially constant. During another half of a current period, the laser current I is decreasing from 12 to II, the change rate R2 = dl/dt being substantially constant; typically, R2 = -Rl. Increasing/decreasing the laser current causes an increase/decrease of the laser temperature (as illustrated in figure 3B), which in turn causes an increase/decrease of the wavelength of the laser light (as illustrated in figure 3C) with a substantially constant change rate dλ/dt, in which λ indicates the laser wavelength. The result can be explained as follows. Assume that the object is moving away from the laser, so that the length of the interference cavity between the front mirror 11 and the object 4 is increasing. If the current magnitude and hence the laser wavelength is also increasing, the frequency of the intensity fluctuations of measuring light L5 is reduced; this is illustrated by a peak fl in the frequency spectrum of figure 3D. The reduced frequency may even become equal to zero if D/λ remains constant, in which D indicates the distance between the front mirror 11 and the object 4. Conversely, if the laser wavelength is decreasing, the frequency of the intensity fluctuations of measuring light L5 is increased; this is illustrated by a peak f2 in the frequency spectrum of figure 3B. It is noted that the shift |fD-fl| is equal to the shift |fD-f2|. The spectrum of the intensity fluctuations of measuring light L5 thus shows two peaks fl and f2, as schematically illustrated in figure 3B. If on the other hand the object is moving towards the laser, a frequency spectrum with two frequency peaks is again obtained, but now the lower frequency is obtained during the periods that the current magnitude is decreasing. It should be clear that this information can be derived from the measuring signal relatively easily by a suitably programmed signal processor.

For a more detailed explanation, reference is made to US patent 7.339.683, the contents of which is incorporated here by reference.

SUMMARY OF THE INVENTION

One problem of the prior art method relates to the fact that a triangular modulator is required. It is therefore an objective of the present invention to provide a method and device capable of detecting the direction of motion without the need of a generator for triangular signals.

Another problem of the prior art is a basic problem related to the physics underlying the prior art method. As mentioned, the wavelength shift of the laser light is caused by a thermal property of the laser, in other words is caused by the temperature shift resulting as a response to a change in current magnitude. The thermal response of a body is a relatively slow process, which puts boundaries to the current rise rate and the current frequency that can be applied: if the frequency is too high, the laser temperature and hence the wavelength cannot follow the current. This in turn puts limits on the velocity that can be measured reliably. According to the present state of the art, the current frequency should not be much higher than about 40 kHz which in a practical example corresponds to a velocity of about 30 cm/sec as upper limit of the velocity that can be measured. A further objective of the present invention is to be able to measure higher velocities.

According to an important aspect of the present invention, the laser current is modulated with a square wave or block signal, at a frequency higher than the thermal response frequency of the laser. Typically, the frequency will be in the order of 100 kHz or higher. The thermal response of the laser cannot follow the square wave current signal, and will approach a triangular wave. The modulation of a square wave signal can easily be implemented by a simple switch. Further advantageous elaborations are mentioned in the dependent claims.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other aspects, features and advantages of the present invention will be further explained by the following description of one or more preferred embodiments with reference to the drawings, in which same reference numerals indicate same or similar parts, and in which:

Figure 1 schematically shows an optical computer mouse with a laser detector for detecting movement of the mouse with respect to a surface;

Figure 2 is a diagram schematically illustrating the measuring principle underlying the laser movement detector;

Figure 3A schematically illustrates a triangularly modulated laser current; Figure 3B schematically illustrates the laser temperature caused by the modulated laser current;

Figure 3 C schematically illustrates the laser wavelength resulting from the modulated laser temperature;

Figure 3D schematically illustrates the frequency spectrum of the laser detector output signal in the case of a movement;

Figure 4 is a graph illustrating the response of the laser temperature in response to a stepped change of the laser current; Figure 5 is a block diagram illustrating some components of a movement detector;

Figure 6A is a graph illustrating rectangularly modulated DC current; Figure 6B is a graph illustrating the thermal response of the laser; Figure 6C is a graph illustrating a measuring signal; Figure 7 is a block diagram schematically illustrating a quadrature demodulator. DETAILED DESCRIPTION OF THE INVENTION

As regards design, a movement detector 1 can be implemented in the same way as the state of the art, therefore figure 1 can be considered as also illustrating an optical movement detector 1, implemented as a mouse, according to the present invention, and the above description with reference to figure 1 can be read again and does not need to be repeated.

Likewise, the measuring principle illustrated in figure 2 and discussed with reference to figure 2 also applies in the case of a movement detector according to the present invention. Figure 4 is a graph illustrating the response of the laser temperature T (curve

42) in response to a stepped change of the laser current I (curve 41). Before the step time ts, when the laser current is II, the laser is in thermal equilibrium at first temperature Tl. At the step time ts, the laser current is stepped to value 12, as a result of which the laser temperature will asymptotically approach a second temperature T2. At all times, at least in good approximation, the temperature change rate RT = dT/dt is proportional to the distance |T2-T|. During a first stage of the response, the temperature change rate RT may be approximated to be constant.

A thermal response time τr is defined, reflecting the time needed by the laser to step from first temperature Tl to second temperature T2. This thermal response time τr may be defined in various ways. In the present invention, the thermal response time τr is defined as the time needed by the laser to "travel" 0.63 (more precisely: l-exp(-l)) times the temperature step |T2-T1|. In any case, the thermal response time τr is a physical property of the laser 2. In a practical case, the thermal response time τr may be in the order of about 0.7 μsec. Based on the thermal response time τr, a thermal response frequency fr is defined as fr = l/(2π-τr), which is of course also a physical property of the laser 2.

Figure 5 is a block diagram illustrating some components of the movement detector 1. The laser 2 is supplied from a laser current source 51 , which is a controllable source controlled by a controller 52. The measuring beam 5 is received by a light detector 55, which provides its output signal to the controller 52.

According to the invention, the controller 52 controls the laser current source 51 to generate a laser current I that will be defined as a square-wave DC current, or a rectangularly modulated DC current, illustrated in figure 6A. The current has always the same sign, which in figure 6A is taken to be positive. The laser current I can take two values, indicated as Il and 12. During one half of the current period, the laser current is equal to II. During the other half of the current period, the laser current is equal to 12. Typically, both current period halves have equal duration. The transition from Il to 12 is a stepped transition, i.e. the duration of the step can be ignored; the same applies for the transition from 12 to II. This current waveform can be described as a constant current of magnitude

IO = Il + O.5*(I2-I1), modulated with a square -wave AC current having amplitude A = 0.5* (12-11) smaller than the constant current magnitude 10. It is noted that this current waveform can be generated by actually generating a constant current and an AC square- wave current and adding these two currents together, or by controlling the current magnitude of the current produced by a current source.

According to a further aspect of the invention, the duration of one half of the current period is shorter than the thermal response time τr of the laser. In other words, the modulation frequency is higher than the thermal response frequency fr; preferably, the modulation frequency is higher than twice the thermal response frequency fr. Typically, the modulation frequency may be in the order of 1 MHz or higher.

As a result, as explained in the above with reference to figure 4, the thermal response of the laser temperature will be the response during the first stage of the step response, i.e. a substantially linear temperature change with a change rate RT being substantially constant, at least in good approximation, this approximation being better as the modulation frequency is higher. In other words, the laser temperature will show a triangular modulation, see figure 6B. It should now be clear to a person skilled in the art that the laser wavelength will also show a triangular modulation, as illustrated in figure 3C. Thus, the output signal of the light detector 55 will be a signal similar to the signal obtained in prior art, at least will have a similar frequency spectrum, and can be processed in a manner similar as in prior art, so a more detailed explanation is not needed here.

The controller 52 is designed to analyze the frequency spectrum of the detected light L2 in conjunction with the momentary magnitude II; 12 of the laser current I in order to determine the direction of movement of the object 4. At a time scale smaller than the modulation period, this frequency spectrum will show a peak at a smaller frequency fl or at a higher frequency f2, as illustrated in figure 3D. If the controller finds that the frequency spectrum shows the peak at smaller frequency fl when the momentary current magnitude is the higher value 12 while the frequency spectrum shows the peak at higher frequency f2 when the momentary current magnitude is the lower value II, the controller decides that the object 4 is moving away from the laser. Conversely, if the controller finds that the frequency spectrum shows the peak at smaller frequency fl when the momentary current magnitude is the lower value Il while the frequency spectrum shows the peak at higher frequency f2 when the momentary current magnitude is the higher value 12, the controller decides that the object 4 is moving towards the laser. The detector 55 may generate a signal Sm of which the momentary value indicates the frequency of the frequency peak, as illustrated in figure 6C. It is also possible that the controller 52 derives such a signal. Assume that a higher value of the signal Sm corresponds to the frequency peak having the higher frequency f2 while a lower value of the binary signal Sm corresponds to the frequency peak having the lower value fl . It is even possible that the signal Sm is a binary signal, "1" indicating f2 while "0" indicates fl. In such case, the measuring signal Sm being substantially in phase with the laser current indicates that the object 4 is moving towards the laser whereas the measuring signal Sm being substantially 180° out of phase with the laser current indicates that the object 4 is moving away from the laser. As a consequence of the higher modulation frequency, the modulation depth of the laser temperature, i.e. |T2-T1|, will be relatively small. If this turns out to be problematic, it is possible to increase this modulation depth of the laser temperature by increasing the modulation depth of the laser current, i.e. |I2-I1|. If this would be undesirable, it is also possible to implement a different signal processing technique that is more sensitive as compared to the technique implemented in prior art. An example of such different signal processing technique is quadrature demodulation; it is noted that quadrature demodulation can also be applied in the prior art system, if desired.

A typical quadrature demodulator 70 is shown in figure 7. An input signal Input(t) is provided to two mixers 71 and 72 that each multiply the input signal with a second and a third signal S2 and S3, respectively. The second and third signals are usually generated by a local source (not shown) that provides frequency of radial frequency -wm as cos(-wm*t) and its 90 degree phase-shifted version as sin(-wm*t). The outputs of the mixers are often (but need not be) filtered by filters 73 and 74, respectively, to reject unwanted images of the mixing process. This results in the in-phase signal I(t) and the quadrature signal Q(t). This process is (for the example where the filter is not used) conveniently described in complex notation:

Output(t) = I(t) + i * Q(t) = Input(t) * exp (i * -wm*t) Thus the real input signal is converted to a complex output signal. In most practical applications the input signal Input(t) is of the form:

Input(t) = Re( A(t)*exp(i*f(t)) * exp(i * wm*t)) Input(t) = A(t) * cos(f(t) + wm*t)

Where wm is a carrier wave frequency, A(t) is an amplitude envelope and f(t) is a signal phase, where usually df/dt « wm. The information carrying signal in this case is a complex signal A(t)*exp(i*f(t)). Thus the output signal of the demodulator becomes:

Output(t) = A(t) * cos(f(t) + wm*t) * (cos(-wm*t) + i * sin(-wm*t)) Output(t) = 0.5*A(t) * (cos(f(t)) + cos(f(t)+2wm*t) + i * [sin(f(t)) - sin (f(t)+2wm*t)]} Output(t) = 0.5*A(t) * (cos(f(t)) + i*sin(f(t)) + cos(f(t)+2wm*t) - i*sin (f(t)+2wm*t)} Output(t) = 0.5*A(t) * ( exp(i*f(t)) - exp(i*(f(t)+2wm*t)}

This is the original input signal (apart from a factor 0.5) plus a high-frequency signal centered around 2*wm. Usually a filter as shown is used to reject unwanted signals such as signals centered around 2*wm. This results in an output signal:

Output(t) = 0.5*A(t) * exp(i*f(t))

Thus the original complex input signal is recovered, even though it was transmitted through a channel that only transmits real signals.

A selfmixing sensor output signal is a similar signal in the sense that the detector output is a real signal, whereas the optical feedback signal into the laser cavity that causes the laser selfmixing has both an amplitude and a phase. Whereas the amplitude of this feedback signal depends on the properties of the scattering mirror, the phase of this signal, relative to the phase of the laser output, depends on the distance to the scattering mirror, its reflection phase and the laser wavelength. This is described in the formula below:

Feedback(t) = A(t)*exp[i*(r(t) + 2*pi*L(t)/lambda(t)] L(t)=L0 + 2v*t Where L(t) is the roundtrip (2 times the distance) length to the scattering mirror. v(t) is the object speed in the direction of the laser beam. A(t) is the time varying reflectivity of the scattering mirror back to the laser as the object moves. r(t) is the time varying mirror reflection phase. lambda(t) is the time varying laser wavelength, where the variation is much smaller than the wavelength itself so that:

l/lambda(t) = 1/[IdO + dld(t) ] = [1 - dld(t)/ldθ]/ldθ

to a very good approximation, where IdO is the average wavelength and dld(t) is the wavelength variation. Thus we get:

Feedback(t) = A(t) * exp{i * [r(t) + 2*pi*(l - dld(t)/ldθ)* (LO + 2v*t)/ldO]}

For v*t « LO, that is either a short measurement interval or a near constant distance between laser beam and a scattering mirror surface to be measured where the laser beam incident on the surface has an angle with that surface other than 90 degrees and the surface has a velocity component v in the direction of the laser beam, this is simplified to:

Feedback(t) = A(t) * exp{i * [r'(t) - 2*pi*dld(t)/ldO*Nr + 4pi*v*t/ldO]}

Where r'(t) includes the constant factor 2*pi*L0/ld0 and Nr is the number of optical periods in the roundtrip length Nr=L0/ld0. Note that the sign of v can be detected in this feedback signal by simply analyzing the phase term in the exponent and knowing dld(t).

However the detector signal is not a complex signal, and thus recovery of the sign of v becomes more difficult.

The selfmixing detector signal into the quadrature demodulator is of the form:

Input(t) = Re{ A(t) * exp{i * [r"(t) - p(t) + 4pi*v*t/ldO]} }

Where r"(t) is r'(t) including a fixed phase offset between the feedback signal phase and the selfmixing detector signal phase. The phase modulation due to wavelength modulation is: p(t) = - 2*pi*Nr*dld(t)/ldO

This signal is provided to the quadrature demodulation, where the quadrature demodulation local signals:

cos(-wm*t) and sin(-wm*t) are chosen as: cos(-p(t)) and sin(-p(t))

For a triangular modulation of the laser wavelength, as obtained with the square wave modulation of the laser current that is the same as choosing:

-wm = dp(t)/dt

Where dp/dt is piece-wise constant per modulation segment. Thus the demodulated signal output is of the form:

Output(t) = 0.5*A(t) * { exp(i*f(t)) - exp(i*(f(t)+2*p(t)) } Output(t) = 0.5*A(t) * { exp(i*f(t)) - exp(i*(f(t))*exp(2i*p(t)) }

Where f(t) = r"(t) + 4pi*v*t/ldO, the wanted selfmixing signal phase and A(t) is the wanted selfmixing signal amplitude. r"(t) is the selfmixing signal detection phase, that has a slow random variation due to speckle in the diffuse mirror reflection. The speed v gives an angular frequency 4pi*v/ldO, that is a Doppler frequency fd=2*v/ldθ. Thus the output signal contains a description of the complex selfmixing signal, however it also contains an unwanted component containing p(t).

A straightforward method to separate the component with p(t) is to choose p(t) of a triangular shape (as is obtained with square wave laser modulation) between 0 and N*pi and of a high frequency (Where N is an integer of at least 1). Then exp(2i*p(t)) has an average of zero and for slowly varying f(t) the unwanted signal component is suppressed by a simple low pass filter. It should be noted that the square wave laser modulation does add a component to A(t):

A(t) = As(t) * (1 + m(t)) Where As(t) is the unperturbed selfmixing signal amplitude and m(t) is a square wave, where |m(t)| « 1. For a high modulation rate for m(t) this component is easily rejected by low-pass filtering.

The complex output signal can be provided to a complex Fourier transform, which has the ability to detect both positive and negative frequencies separately (unlike a real Fourier transform that cannot differentiate between positive and negative frequency). Because of this it can differentiate between positive and negative values of speed v. Even an unfiltered output signal can be provided to a complex Fourier transform. In this case the unwanted signal products due to p(t) and m(t) will cause spectral peaks at frequencies that are usually different from the Doppler frequency fd and with known frequency (such as m(t) and harmonics thereof) and known relation to fd, such as the phase modulation of a signal at frequency fd due to term p(t). For instance for sinusoidal phase modulation p(t) the spectrum around fd is described by a well known Bessel-series. Thus the spectrum resulting from the complex Fourier transform can be analyzed to determine the frequency fd, even if fd has high values of the same order of magnitude or greater than the frequency of m(t).

In some cases spectrum analysis may be difficult for instance when the frequency of m(t) and the Doppler frequency fd coincide, thus the measurement system may adapt the frequency of m(t) as a function of speed to be able to cover different speed ranges. As the frequency of m(t) is changed the amplitude of m(t) would also need to be changed in case the amplitude of the wavelength modulation and thus of p(t) is to remain the same due to the thermal response time constant of the laser. This can be preferable to simplify processing of the spectra, but is not required. If the amplitude of p(t) changes then this simply results in another spectrum that can be known. The shape of the spectrum in fact can be used to determine the phase modulation depth (that is the amplitude of p(t)). Such a spectrum analysis can be a preferred method to determine the phase modulation depth and to control this modulation depth to a preferred value by changing the frequency and/or the amplitude of square wave modulation signal m(t).

It should be noted that the output signal of the quadrature demodulator could also be processed by other means than a Fourier transform. For instance well-known frequency locked loop or phase locked loop designs can be used that can also distinguish between positive and negative frequency when a quadrature (I and Q or complex) input signal is provided. Some of these other methods of frequency determination suffer from a limited lock range, this means that they have to be tuned to a frequency close enough to the frequency fd to be able to lock to it and to track it. In order to find the proper starting value again a complex Fourier transform may be used to support the initial lock process and to guard against a possible loss of lock. Such a system would offer the combined advantage of spectrum analysis allowing instant lock to a frequency fd and determination of phase modulation depth and the precision of long-term tracking of the selfmixing signal phase by a frequency locked loop or a phase locked loop.

Summarizing, the present invention provides a method for detecting motion direction of an object 4, which method comprises the steps of: laser output light Ll is generated, using a semiconductor laser 2 having a thermal response frequency fr; the laser is driven with rectangularly modulated DC current I having a modulation frequency higher than said thermal response frequency fr and preferably higher than twice said thermal response frequency fr, such as to triangularly modulate the wavelength of the laser output light; - the laser output light is directed to the object; a portion of reflected light L3 is allowed to interfere with light LO within the laser; a portion of the laser light is used as measuring beam 5; the frequency spectrum of the measuring beam 5 is analyzed in conjunction with the modulated laser current in order to determine the direction of movement of the object 4.

This analyzing of the frequency spectrum of the measuring beam is done either by separate spectrum analysis on up- and down-modulation segments of the laser wavelength or by analysis of the frequency content of a quadrature demodulated signal such that the frequency corresponding to the object speed is discriminated from other frequencies in the spectrum. For the case of quadrature demodulation, the spectrum analysis can further include a detection of the selfmixing signal phase modulation depth due to the wavelength modulation and this can be used to control frequency and/or amplitude of the square wave modulation signal to the laser. While the invention has been illustrated and described in detail in the drawings and foregoing description, it should be clear to a person skilled in the art that such illustration and description are to be considered illustrative or exemplary and not restrictive. The invention is not limited to the disclosed embodiments; rather, several variations and modifications are possible within the protective scope of the invention as defined in the appending claims.

For instance, the basic principles of the present invention can be applied to modulate the temperature of any semiconductor body to which a current is applied. Further, the basic principles of the present invention can be applied to modulate the laser wavelength of any semiconductor laser.

Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. A computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.

In the above, the present invention has been explained with reference to block diagrams, which illustrate functional blocks of the device according to the present invention. It is to be understood that one or more of these functional blocks may be implemented in hardware, where the function of such functional block is performed by individual hardware components, but it is also possible that one or more of these functional blocks are implemented in software, so that the function of such functional block is performed by one or more program lines of a computer program or a programmable device such as a microprocessor, microcontroller, digital signal processor, etc.