Method and apparatus of photodetection

Abstract: A photodetection method and apparatus a sampling time period selected for detection and processing of the output signals from light receiving means such that it is sufficiently larger than the pulse width P S of a normal output signal I SC but very smaller than the pulse width P A of a noise signal I AC . During each of such sampling time periods, it is judged whether an output signal from the light receiving means is "present"or "absent". If the row of results obtained by at least three successive sampling periods is"0-l-0", it will be judged that the output signal generated during a sampling time period in which the output signal from the light receiving means is "present" is a normal output signal I SC . If output signals are "present" during two of at least three sampling time periods as shown by "0-1-1", "1-1-1", "1-1-0" or "1-0-1", it will be judged that these output signals are due to any disturbance rays. The noise signals will not be taken for the subsequent signal processing procedure. In such a manner, the photodetection method and apparatus can eliminate any affection due to disturbance rays.

Description: BACKGROUND OF THE INVENTION Field of the Invention : The present invention relates to a photodetection method and apparatus of optically detecting a beam of light such as laser beam and the like. More particularly, the present invention concerns a photodetection apparatus suitable for use in such a rotating laser system as known in the fields of survey, construction and civil engineering and a method of photodetection therein. Description of the Related Art : Photodetection techniques for measuring the intensity of light, the position of projected light and others have been broadly utilized in various fields. Figure 5 shows an example of rotating laser systems for performing the leveling in the survey, construction and civil engineering. Such a rotating laser system comprises a laser beam projecting device 2 and a photodetection device 1 for receiving the laser beam from the laser beam projecting device 2. The laser beam projecting device 2 emits a laser beam L turned about a vertical axis O to define a reference plane P. The photodetection device 1 is positioned on a vertical stationary plane such as wall or pile and comprises at least first and second light receiving elements 11 and 12. If the laser beam L from the laser beam projecting device 2 is projected only onto the upper light receiving element 11, this means that a reference mark 5 in the photodetection device 1 is positioned below the reference plane P defined by the laser beam L. This position of the laser beam causes "upward direction" indicators 3b and 4b to light on. Each of these indicators 3b and 4b has an upward arrow indicating the necessary upward movement of the photodetection device 1. On the contrary, if the laser beam is projected only onto the lower light receiving element 12, this means that the reference mark 5 in the photodetection device 1 is positioned above the reference plane P. As a result, it causes "downward direction" indicators 3a and 4a each having an downward arrow to light on. The necessary downward movement of the photodetection device 1 is thus indicated. In addition, if the laser beam L is equally projected on both the upper and lower light receiving elements 11 and 12, it causes "center" indicators 3c and 4c to light on. This informs an operator that the reference mark 5 in the photodetection device 1 is brought into alignment with the reference plane P. The operator can obtain a leveling mark by drawing a line le on the wall or pile at the position of the reference mark 5. Since the rotating laser device is frequently used out in the fields, the light receiving elements 11 and 12 will also receive disturbance rays as the sun's rays in addition to the laser beam L from the laser beam projecting device 2 which is used for measurement. When the sun's rays enter the light receiving elements 11 and 12, these elements will generate an output signal I o which includes normal signals I S from the laser beam L and DC noise signal components I N superposing on the normal signals, as shown in Figure 6(a) which shows a graph having a horizontal axis representing time and a vertical axis showing signal output. Even if the rotating laser system is used indoors under the illumination of incandescent lamp or the like, normal signals are similarly superposed by DC noise signal components. In order to overcome such a problem, the prior art photodetection device 1 comprises AC coupling circuits as composed of capacitor, which are connected with the light receiving elements 11 and 12, respectively. As shown in Figure 6(b), the AC coupling circuits serves to remove DC noise signal components I N based on disturbance rays from the sun or incandescent lamp and to take only AC components I SC (hereinafter called "normal output signals") based on the normal signals I S from the laser beam L. However, if any obstructive such as a person or motorcar moves across the optical path between the laser beam projecting device 2 and the photodetection device 1 during measurement or if the photodetection device 1 is rotated about its vertical axis during measurement or if the sun is blocked by cloud for a brief time, the amount of illumination rays entering the light receiving elements 11 and 12 from the sun or incandescent lamp will vary to have AC noise signal components I A , as shown in Figure 6(a). The AC coupling circuits in the prior art photodetection device 1 cannot remove the AC noise signal components I A . Therefore, AC noise signal components I AC will be provided to the photodetection device 1. As a result, the processing circuit will judge the AC noise signal components I AC as normal output signals I SC , as shown by hatching in Figure 6(b). This results in errors in operation and measurement. Further, the Microwave Journal, (vol. 28, No. 6., June 1985, pages 125-130: Dillard et al.) describes various detection schemes for radar systems which automatically discriminate between noise and the signal to be detected using probability density functions. One scheme, entitled "Cell-Averaging CFAR", is often referred to in the literature as a "mean-level detector". A detection threshold is obtained from estimates of the mean level of clutter + noise. The simplest such method uses as the threshold the weighted average of a number of adjacent range cells encompassing the cell in question. In other words, each sample is compared with a threshold, which is the product of the sum of samples from M adjacent bins and a threshold constant T, where T is chosen to provide the desired probability of a false alarm. This known method is useful for the separation of data signals and statistical noise. There is no hint given on eliminating a periodic noise signal. From EP 0 055 027 - A2, an apparatus for deriving an electrical signal from a radiation flash is known, said apparatus comprising a radiation detector and processing means. The processing means being operative to substantially remove the effect of DC components. It is the object of the invention to provide a photodetection method and apparatus for detecting a pulsed light beam by which AC noise components with a large pulse width can be removed with small calculation effort. This object is achieved by a photodetection method and apparatus with the features of claims 1 and 2, respectively. The inventors noticed that as seen from Figure 6(b), the pulse width P A of the noise signals I AC from the disturbance rays is extremely larger than the pulse width P S of the normal output signal I SC . The inventors selected a sampling time period for detection and processing of the output signals from the light receiving means such that it is sufficiently larger than the pulse width P S of the normal output signal I SC but very smaller than the pulse width P A of the noise signal I AC . During each of such sampling time periods, it is judged whether an output signal from the light receiving means is "present" (hereinafter represented by "1" in binary digit) or "absent" (hereinafter represented by "0" in binary digit). If the row of results obtained by at least three successive sampling periods is "0-1-0", it will be judged that the output signal generated during a sampling time period in which the output signal from the light receiving means is "present" is a normal output signal I SC . If output signals are "present" during two of at least three sampling time periods as shown by "0-1-1", "1-1-1", "1-1-0" or "1-0-1", it will be judged that these output signals are due to any disturbance rays. The noise signals will not be taken for the subsequent signal processing procedure. In such a manner, the present invention can eliminate any affection due to disturbance rays. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a circuitry in a photodetection apparatus constructed in accordance with the present invention. Figure 2(a) is a time-signal output waveform illustrating a signal from the first photosensor 11. Figure 2(b) is a time-signal output waveform illustrating an output signal from the AC coupling circuit 13. Figure 2(c) is a time-signal output waveform illustrating an output signal from the peak holding circuit 31. Figure 2(d) is a schematic diagram of the row of sampling periods. Figure 2(e) is a time-signal output waveform illustrating a signal from the second photosensor 12. Figure 2(f) is a time-signal output waveform illustrating an output signal from the AC coupling circuit 14. Figure 2(g) is a time-signal output waveform illustrating an output signal from the peak holding circuit 32. Figure 2(h) is a schematic diagram showing the row of sampling periods. Figure 2(i) is a timing chart illustrating the relationship between sampling periods τ, reset signals R and read-out timing r. Figure 3 is a flow chart illustrating the operation of a photodetection device constructed in accordance with the present invention. Figure 4 is a table illustrating the contents of the RAM 55. Figure 5 is a perspective view of a rotating laser system which can utilize the prior art and the photodetection device of the present invention. Figure 6(a) is a time-signal output waveform illustrating a signal from a photosensor in the prior art photodetection device. Figure 6(b) is a time-signal output waveform illustrating an output signal from a AC coupling circuit in the prior art photodetection device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described by way of example in connection with the photodetection device of the rotating laser system. Referring to Figure 1, there is shown a circuit layout which can be used in a photodetection device constructed according to the present invention. The photodetection device 1 comprises first and second photosensors 11 and 12 each of which includes photodiode or the like. As shown in Figure 5, the first and second photosensors 11 and 12 are located in the photodetection device 1 at its light receiving area and spaced vertically apart from each other. Each of these photosensors 11 and 12 is connected with an AC coupling circuit 13 or 14 which includes a capacitor or the like. As seen from Figure 2(a), signals ₁I o from the first photosensor 11 include a combination of normal signals ₁I s based on the laser beam L from a laser projecting device 2 in the rotating laser system with disturbance signals based on disturbance rays as from the sun or incandescent lamp, including AC noise components ₁I A and DC noise components ₁I N . The AC coupling circuit 13 serves to remove DC noise components ₁I N from the signals ₁I S and to output a normal output signal ₁I SC and AC noise output signals ₁I AC resulting from the disturbance rays, as shown in Figure 2(b). Similarly, signals ₂I o from the second photosensor 12 include a combination of normal signals ₂I s based on the laser beam L with disturbance signals as based on the sun or incandescent lamp, including AC noise components ₂I A and DC noise components ₂I N , as seen from Figure 2(e). The AC coupling circuit 14 removes DC noise components ₂I N from the signal ₂I S and outputs a normal output signal ₂I SC and AC noise output signals ₂I AC resulting from the disturbance rays, as shown in Figure 2(f). The output signals from the AC coupling circuits 13 and 14 are amplified respectively by amplifiers 21 and 22 and inputted respectively into peak holding circuits 31 and 32. Each of the peak holding circuits 31 or 32 functions to hold the maximum value of the output signals from the corresponding one of the AC coupling circuits 13 and 14. One of the peak holding circuits 31 is connected with a reset circuit 41 while the other peak holding circuit 32 is connected with another reset circuit 42. When a reset signal R is inputted from each of the reset circuit 41 and 42 into the corresponding peak holding circuit 31 or 32, the maximum value held therein is once reset and the maximum of another output signal again begins to be held. The peak holding circuits 31 and 32 are connected with a multiplexer circuit 50 which is adapted selectively to provide output signals (₁I sc , ₁I Ac ), (₂I sc , ₂I Ac ) from the peak holding circuits 31 and 32 to an A/D converting circuit 51 when received commands of selection signals SE from a microprocessor (CPU) 53 in a microcomputer. After the analog output signals have been converted into digital signals at the A/D converting circuit 51, these digital signals are inputted and processed in a microprocessor (CPU) 53 as will be described. The CPU 53 is connected with a timer circuit 52 for determining a given sampling period and a given reset timing; a RAM 55 for storing data including output signals and others; a ROM 54 in which a processing program described hereinafter has been stored; and first and second indicators 3, 4 which have been described hereinbefore in connection with Figure 5. Prior to the description of the operation of the above-mentioned circuit, the sampling period and the read-out timing will be described in connection with Figure 3. The sampling period τ (see Figure 2(i)) is preset for the detecting and processing operations of output signals and selected such that it is sufficiently larger than the pulse widths ₁P S and ₂P S of the normal output signals ₁I SC and ₂I SC but extremely smaller than the pulse widths ₁P A and ₂P A of the noise signals ₁I AC and ₂I AC . In this embodiment, the sampling period is 10 microseconds. Within the sampling period τ , a routine is set such that it is completed from "START" to "END" in the flow chart of Figure 3. The read-out timing (hold time) r means a holding period in each of the peak holding circuits 31 and 32 or a timing wherein a holding signal is outputted to the A/D converting circuit 51 through the multiplexer circuit 50. The length of the hold time is equal to about 5% - 10% of said sampling period τ and similarly counted by the timer circuit 52. The circuit will be operated according to the flow chart of Figure 3. Referring to Figures 2(c), (d), (g) and (h), the zero-th to fourth sampling periods and the twelfth and thirteenth sampling periods will be described sequentially. (1) The zero-th sampling period (where no sensor signal is outputted from both the first and second photosensors 11 and 12): Step 101 When the hold time has been counted by the timer circuit 52, a read-out timing signal rt is given to the CPU 53. The CPU 53 then outputs a selection signal SE to the multiplexer circuit 50 wherein the value of the maximum output signal (₁H s , ₁N i-9 ) of the first photosensor 11 held by the peak holding circuit 31 from the start step to that step during the present sampling period is inputted into the A/D converting circuit 51. The A/D converting circuit 51 converts the analog output signal (₁H s or ₁N₁₋₉) into a digital signal which is in turn stored in a buffer at an address 101 in the RAM 55, as schematically shown in Figure 4. Since there is no output signal in the present zero-th sampling period, all the digits in the 101-th address become "0". Step 102 Subsequently, the CPU 53 again outputs a selection signal SE to the multiplexer circuit 50 which in turn provides the maximum output signal (₂H s or ₂N₁₋₉) of the second photosensor 12 from the peak holding circuit 32 during the present sampling period from the start to that time point to the A/D converting circuit 51. The A/D converting circuit 51 then converts the analog output signal (₂H s or ₂N₁₋₉) into a digital signal which is in turn stored in the RAM 55 at an address buffer 201, as shown in Figure 4. Since there is no output signal in the present zero-th sampling period, all the digits at the 102-th address become "0". Step 103 CPU 53 judges whether the output signal now taken in from the peak holding circuit 31 or 32 by the RAM 55 is "present" or "absent". The judgement is performed that the output signal is "absent". The program proceeds a step 105. Step 105 CPU 53 causes "0" to be stored at the least significant bit of the 103-th address which is a data judging buffer in the RAM 55, as shown schematically in Figure 4. The program then proceeds a step 108. Step 108 CPU 53 judges whether or not the contents of the data judging buffer stored at its three lower bits are "0-1-0". Since there is no sampling period before the present zero-th sampling period, it will be judged that the contents of the data judging buffer is "0-0-0" or "absent". The program proceeds a step 115. Step 115 CPU 53 shifts the result "0" of the step 103 stored in the data adjusting buffer of the RAM 55 at its least significant bit to the adjacent higher order bit and renders the least significant bit to be writable. As the timer circuit 52 has counted out the sampling time period τ , CPU 53 receives its count signal ts to begin the detection-processing routine for the next or first sampling time period. (2) First Sampling Period (where no signal is outputted from both the first and second photosensors 11 and 12): During the zero-th sampling period, steps 101 to 103, 105, 108 and 115 will be executed. It is judged that the contents of the data judging buffer of the RAM 55 stored at the step 108 are "0-0-0" or "absent" since the previous zero-the sampling period and the present first sampling period are both "0". (3) Second Sampling Period (a signal is outputted from one of the first and second photosensors 11 and 12): Steps 101 and 102 Steps 101 and 102 in the zero-th sampling period will be executed. Since signals are outputted from the first and second photosensors, the respective maximum output signals 1 H S and ₂H S converted at the A/D converter 51 are stored, as binary digits, in the 101-th and 102-th address buffers of the RAM 55. Step 103 CPU 53 judges whether a signal outputted from one of the peak holding circuits 31 and 32 and just now taken in at the RAM 55 is "present" or "absent". In the present second sampling period, it is judged that the output signal is "present", and the program proceeds the next step 104. Step 104 CPU 53 causes "1" to be stored the least significant bit of the 103-th address which is a data judging buffer in the RAM 55. The program proceeds the next step 106. Step 106 CPU 53 outputs reset command signals RS to the reset circuits 41 and 42. After received the reset command signal RS, each of the reset circuits 41 and 42 provides a reset signal R to the output of the corresponding one of the peak holding circuits 31 and 32 so that the maximum value ₁H S or 2 H S of the output signal ₁I SC or ₂I SC held in the peak holding circuit 31 or 32 will be caused to be reset. After reset, each of the peak holding circuits 31 and 32 again begins to hold the maximum value of the output signal ₁I SC or ₂I SC from the amplifier 21 or 22. Step 107 CPU 53 shifts output signal values ₁H S and ₂H S stored in the RAM 55 respectively at the 101-th and 102-th address buffers at the steps 101 and 102 to the other 201-th and 202-th address buffers of the RAM 55 which in turn store these output signal values. Step 108 CPU 53 judges whether the contents of the data judging buffer stored at three higher bits from the least significant bit are "0-1-0" or "absent". In the present second sampling period, the stored contents are "0-0-1". This is judged to be "absent". The program proceeds a step 115. (4) Third Sampling Period (where no signal is outputted from both the first and second photosensors 11 and 12): Step 108 CPU 53 judges whether the contents stored in the data judging buffer at three higher bits from the least significant bit are "0-1-0" or "absent". The contents now utilized herein define a row of results judged at step 103 during the first, second and third sampling periods. Since the result judged for the first sampling period is "0"; the result for the second sampling period is "1" and the result for the third sampling period is "0", the present step judges the stored contents are "0-1-0". The program proceeds a step 109. Step 109 CPU 53 reads out, as normal signals, the output signal 1 H S and ₂H S which were obtained during the second sampling period and have been stored in the 201-th and 202-th address buffers of the RAM 55. It is judged herein whether or not one of the output signal ₁H S is smaller than the other output signal ₂H S . In this embodiment, the output signal ₁H S is larger than the other output signal ₂H S . It is thus judged that the result is "NO". The program proceeds a step 111. If the result is "YES", it is discriminated that the reference mark 5 of the photodetection device is positioned above the reference plane P defined by the laser beam L. The program proceeds a step 110 wherein the "downward direction" indicators 3a and 4a are lighted on to indicate a direction in which the photodetection device is to be moved. Step 111 It is judged that the output signal ₁H S is equal to or approximates to the other output signal ₂H S in a predetermined range. Since the output signal ₁H S is extremely larger than the output signal ₂H S in this embodiment, the judgement is to be "NO". The program proceeds a step 113. If the result of judgement is "YES", it is discriminated that the reference mark 5 of the photodetection device is aligned with the reference plane P defined by the laser beam L. The program then proceeds a step 112 wherein the "center" indicators 3c and 4c are lighted on to inform the operator that a levelling mark le should be drawn along the reference mark 5. Step 113 It is judged whether or not the output signal ₁H S is larger than the output signal ₂H S . In this embodiment, the result of judgement is "YES". This means that the reference mark 5 of the photodetection device is located below the reference plane P. The program then proceeds a step 113 wherein the "upward direction" indicators 3b and 4b are lighted on to indicate a direction in which the photodetection device is to be moved. Step 115 CPU 53 shifts the result "0" judged at the step 103 and stored in the data judging buffer of RAM 55 at its least significant bit to the adjacent higher bit and renders the least significant bit to be writable. After the timer circuit 52 has counted out for the sampling period τ, CPU 53 receives a count signal ts and then begins a detection-processing routine for the next or fourth sampling period. (5) Fourth Sampling Period (where a signal is outputted from at least one of the first and second photosensors 11 and 12): Steps 101 through 104, 106 and 107 for the second sampling period will be executed. However, output signals generated at these steps are noise output signal ₁N₄ and ₂N₄ from disturbance rays. Step 108 CPU 53 judges whether the contents of the data judging buffer stored at its three higher bits from the least significant bit are "0-1-0" or "absent". Since the stored contents are "1-0-1" until the fourth sampling period, the judgement is to be "absent". The program then proceeds a step 115. Even if the output signals ₁N₄ and ₂N₄ are stored in the 201-th and 202-th address buffers of RAM 55 at the step 107, these data will not be utilized for measurement. The similar routine will be executed also for the fifth - eleventh sampling periods. In any event, it will be judged that the stored contents are "NO" at the step 103 or that the stored contents are "YES" at the step 103. At the subsequent step 107, noise output signals ₁N₅ to ₁N₉ and ₂N₅, ₂N₈ and 2 N₉ are stored in the 201-th and 202-th address buffers of RAM 55 and waited for measurement. However, the contents of the data judging buffer at its three higher bits from the least significant bit become "0-0-1", "0-1-1", "1-1-1", "1-1-0" or "1-0-0". In any event, the judgement at the step 108 becomes "NO". Thus, these noise output signals will not be utilized for the subsequent measurement steps starting a step 109. This can prevent erroneous measurement due to noise output signals. (6) Twelfth Sampling Period (where a signal is outputted from at least one of the first and second photosensors 11 and 12 after the read-out timing): In the twelfth sampling period, the first and second photosensors 11 and 12 generate output signals, as shown in Figure 2. This signals begin to be outputted after the read-out timing signal r from the timer circuit. During the twelfth sampling period, therefore, steps similar to those executed during the aforementioned zero-th sampling period will be executed. However, output signals ₁I SC and ₂I SC continue to be inputted from the amplifiers 21 and 22 into the peak holding circuits 31 and 32. Thus, the peak holding circuits 31 and 32 hold the maximum output signals ₁H S and 2 H S thereof. (7) Thirteenth Sampling Period (where no signal is outputted from both the first and second photosensors 11 and 12 and a signal obtained during the previous sampling period is held): During the thirteenth sampling period, no signal is outputted from both the first and second photosensors 11 and 12, as shown in Figure 2. However, the maximum output signals 1 H S and ₂H S outputted from the photosensors 11 and 12 after an read-out signal r has been outputted during the previous twelfth sampling period are held by the peak holding circuits 31 and 32. Therefore, steps similar to those in the aforementioned second sampling period will be executed. (8) Finally, the same steps as in the third sampling period will be executed to measure output signals ₁H S and ₂H S during the fourteenth sampling period.

Claims: A photodetection method for detecting a pulsed light beam (L) of a light beam system defining a reference plane, comprising the following steps performed at a sampling period which is much smaller than the pulse width (₁P A,2 P A ) of a noise signal and sufficiently larger than the pulse width of the light beam (L) to be detected, converting the amount of incident rays into an electrical signal (I o ); filtering DC signal components (I₀-I c ) from said electrical signal (I o ) so that only the AC signal components (I c ) are retained; detecting the maximum signal level (₁H S,1 N i,2 H S ,₂N i ) of said AC signal components (I c ), occuring during said sampling period (τ); storing said maximum signal level; determining whether or not said maximum signal level is above zero and storing the result ("present" or "1" and "absent" or "", respectively); and accepting a maximum signal, stored in the directly preceeding sampling period, as a pulse resulting from detection of the light beam only if the result of the determination step in the actual sampling period is negative ("absent" or "O"), the result in the directly preceeding sampling period is positive ("present" or "1") and the result in the sampling period before the directly preceeding sampling period is negative ("absent" or "O"). A photodetection apparatus for detecting a pulsed light beam (L) of a light beam system defining a reference plane, comprising: light receiving means (11,12) for converting the amount of incident rays into an electrical signal (I o ); AC coupling means (13,14) filtering DC signal components from said electrical signal so that only the AC signal components are retained; peak holding means (31,32) holding the maximum signal level (₁H s ,₁N i , 2 H s ,₂N i ) of said AC signal components occuring during said sampling period; first memory means (55) storing said maximum signal level; computation means (53) for periodically resetting said peak holding means and controlling said first memory means with a sampling period which is much smaller than the pulse width (₁P A ,₂P A ) of a noise signal and sufficiently larger than the pulse width of the light beam (L) to be detected; first judgement means (103) determining for every said sampling period whether or not said maximum signal level is above zero ("present" or "1" and "absent" or "", respectively), the results of said determination being stored in second memory means (55); and second (108) judgement means operable for every said sampling period and accepting a maximum signal, stored in the directly preceeding sampling period, as a pulse resulting from detection of the light beam only if the result of the determination step in the actual sampling period is negative ("absent" or "O"), the result in the directly preceeding sampling period is positive ("present" or "1") and the result in the sampling period before the directly preceeding sampling period is negative ("absent" or "O"). A photodetection apparatus as defined in claim 2 wherein said first and second memory means are each composed of RAM (55) and wherein said first and second judgement means are each composed of a microprocessor (53). A photodetection apparatus as defined in claim 2 or 3, comprising at least two vertically arranged light receiving means (11,12) for receiving a beam of light turned about a vertical axis to form a reference plane, said photodetection apparatus being adapted to generate an output signal representing the relative positional relationship between the vertical position of said two light receiving means (11,12) and said reference plane.

Inventors: OSARAGI KAZUKI, OSARAGI, KAZUKI
Applicants: TOPCON CORP, KABUSHIKI KAISHA TOPCON
Application year: 1990
Main classification: G01J1
IPC codes: G01S7, G01C15, G01S5, G01V8, G01J1, G01C5