DEVICE AND METHOD FOR VISIBILITY MEASUREMENTS
20210199578 · 2021-07-01
Inventors
Cpc classification
International classification
Abstract
An automated device and a method to carry out visibility measurements are described. The device has an optical system comprising a camera (20), at least one sample image (IMC), and a first flat mirror (S1) and a second flat minor (S2) arranged in mutually different positions in order to generate two reflected images (IM1, IM3) of at least part of the sample image (IMC) at different optical distances with respect to the camera. The device further comprises a processing unit configured to determine a luminance contrast of each of the two reflected images (IM1, IM3) and calculate an instant value representing the visibility from a ratio between the two luminance contrasts.
Claims
1. An automated device for visibility measurements, characterized by having an optical system comprising a camera (20), at least one sample image (IMC), and at least two flat mirrors (S1, S2) arranged in mutually different positions in order to generate at least two reflected images (IM1, IM3) of at least part of said sample image at different optical distances with respect to said camera (20) and a processing unit (50) to determine the luminance contrast of each of the two reflected images (IM1, IM3) and calculate an instant value representing the visibility from the ratio between the two luminance contrasts.
2. The device according to claim 1, wherein the reference optical axis (O) of the optical system coincides with the axis perpendicular to a first one (S1) of the two flat mirrors (S1, S2).
3. The device according to claim 1, further comprising a supporting frame (10) on which the optical system is installed, wherein the supporting frame (10) comprises a longitudinal arm (11) with axis parallel to the optical axis (O) of the optical system and a transverse arm (12), perpendicular to the longitudinal arm (11), with its own centre positioned at an end of the longitudinal arm (11).
4. The device according to claim 3, wherein said first flat mirror (S1) is arranged at the opposite end of the longitudinal arm (11) with respect to said transverse arm (12).
5. The device according to claim 3, wherein said camera (20) is installed on said supporting frame (10) at the intersection between the optical axis (O) of the optical system and the plane orthogonal to the optical axis and containing said transverse arm (12).
6. The device according to claim 3, wherein said sample image (IMC) and a second one (S2) of the two flat mirrors (S1, S2) are installed on the transverse arm (12) of said supporting frame (10).
7. The device according to claim 3, further comprising a supporting element (13) interposed between the transverse arm (12) of the supporting frame (10) and the second one (S2) of said two flat mirrors (S1, S2), said supporting element (13) comprising adjusting means to adjust the tilting of the second one (S2) of said flat mirrors (S1, S2) with respect to the reference optical axis (O).
8. The device according to claim 1, further comprising heating means that are combined with each one of said flat mirrors (S1, S2).
9. The device according to claim 1, wherein said sample image (IMC) is composed of figures containing different levels of gray or diffuse reflection coefficients.
10. The device according to claim 1, wherein said sample image (IMC) consists of said camera (20).
11. The device according to claim 1, wherein said camera (20) is provided with a filter for selecting a spectral region.
12. A method for carrying out visibility measurements, characterized by comprising the steps of: a) providing an optical system comprising a camera (20), at least one sample image (IMC), and at least two flat mirrors (S1, S2) arranged in mutually different positions in order to generate at least two reflected images (IM1, IM3) of at least part of said sample image (IMC) at different optical distances with respect to said camera (20); b) connecting said camera (20) to a processing unit (50); c) calibrating the optical system; d) determining the instant luminance contrast of each of the two reflected images (IM1, IM3); and e) calculating an instant value representative of the visibility starting from the ratio between the two luminance contrasts determined in said step d).
13. The method according to claim 12, wherein the lens focusing of said camera (20) is adjusted at an optical distance intermediate between the different optical distances of said two reflected images (IM1, IM3).
14. The method according to claim 12, wherein the reference optical axis (O) of the optical system coincides with the axis perpendicular to a first one (S1) of the two flat mirrors (S1, S2), and wherein a second one (S2) of said two flat mirrors is tilted by an angle θ with respect to the plane perpendicular to the reference optical axis (O).
15. The method according to claim 12, wherein said processing unit (50) sets a reference matrix and a fit matrix, said matrices containing values representing the pixels belonging to the image captured by said camera (20), and wherein the luminance contrast determination and the evaluation of the value representing the visibility are obtained based on the comparison among the values of said reference matrix and said fit matrix.
16. The method according to claim 12, wherein said steps d) and e) are cyclically repeated with predetermined period.
17. The method according to claim 16, wherein a mean value of the instant values representing the visibility is cyclically calculated with a period which is multiple of said predetermined period in which said steps d) and e) are carried out.
18. The method according to claim 12, wherein said step c) provides calibrating the optical system by means of a comparison with the results of a reference visibilimeter comprising a laser beam source (30) projected towards at least one first (S1) of said flat mirrors (S1, S2) and a laser beam detector (40) to determine the laser beam power.
19. The method according to claim 12, wherein said reflected images (IM1, IM3) are generated by multiple reflections.
20. A computer program medium wherein a program comprising codes executable by a processing unit to carry out at least the steps d) and e) of the method of claim 12 is stored.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Further characteristics and advantages of the present invention will be more evident from the following description, made by way of example, with reference to the attached drawings, in which:
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
DETAILED DESCRIPTION
[0053] The physical basis of the present invention consists of the Koschmieder's law (see for example the mentioned GMIMO publication), according to which the luminance contrast follows the same attenuation rule as the luminous flux:
C(x)=C.sub.0e.sup.−xσ,
[0054] wherein Co is said inherent contrast while C(x) is said apparent contrast. From the Koschmieder's law it results that the visibility measurement can be carried out by evaluating the ratio between C(x) and C.sub.0 exactly as if it were a luminous flux.
[0055] As it can be inferred by the afore mentioned equation (1), the ratio C(x)/C.sub.0 has indeed the same pattern e.sup.−xσ as the transmission factor T≡F(x)/F.sub.0. It follows that the visibility, defined in the equation (2), can be determined by replacing in the equation (4) the transmission factor T by the ratio of the luminance contrast C(x)/C.sub.0, defined in the following as ρ (p≡C(x)/C.sub.0):
[0056] wherein b is the length of the reference distance (baseline).
[0057] In the view of
[0058] From the layout of
[0059] In fact, in the optical diagram of
[0060] As already highlighted above, the optical axis O of the optical system (also depicted in
[0061] By assuming that the distance “a” is much smaller than the distance “L”, it results that the angle α, specified in radians and positive clockwise, under which the meter M “sees” the image IM1 to the right, is thus given by a/(2L).
[0062] This value is the approximation of the exact expression α=arctan a/(2L) that, based on the afore mentioned assumption, is α=a/(2L) with good approximation.
[0063] By defining θ as the tilt angle of the mirror S2 to the right (clockwise positive), and assuming θ<<1 (always in radians), the angle β, specified in radians and positive anticlockwise, under which the meter M “sees” the image IM3, is given approximatively by [θ−a/(4L)] and, therefore by [θ−α/2].
[0064] For completeness, the meter M “sees” the image IM1 rotated by an angle −α, i.e. a anticlockwise, with respect to its own vertical axis. Likewise, the meter M “sees” the image IM3 rotated by an angle [2θ−β] anticlockwise with respect to its own vertical axis.
[0065] However it should be noted that, since the number of reflections for the images IM1 and IM3 is odd, the two images have the same chirality.
[0066] In
[0067] The flat mirror S1 is arranged at the opposite end of the longitudinal arm 11 with respect to the transverse arm 12 and is mounted on a rigid support, that still allows minimum adjusting levels.
[0068] The camera 20 of the measuring device is installed on the supporting frame 10 at the intersection between the optical axis O of the optical system with the plane orthogonal thereto and containing the transverse arm 12. An example of suitable camera can be the “DMK 21AU04 Monochrome Camera” model distributed by “The Imaging Source”. The optical system of the camera 20 comprises a proper photographic objective, typically a 50 mm one, and can be provided with a dichroic filter, such as for example the “Green Dichroic Filter 505 nm-575 nm” distributed by “Edmund Optics”, in order to reduce possible interferences caused by the lightning, or by the red laser beam during the calibration operations.
[0069] The sample image IMC and the second flat mirror S2 are installed on the transverse arm 12 of the supporting frame 10.
[0070] The sample image IMC can consist of figures containing different levels of gray and it can be made for example with an aluminium sheet on which upper part a white colored strip or sheet 15 is fastened (
[0071] The flat mirror S2, having shape and sizes similar to those of the mirror S1, is mounted on the transverse arm 12 of the supporting frame 10 by means of a supporting element 13 interposed between the mirror S2 and the transverse arm 12. The supporting element 13 comprises screw means or similar means in order to finely adjust the tilting of the flat mirror S2 with respect to the reference optical axis O.
[0072] The flat mirrors S1 and S2 can be provided with heating means in order to avoid the condensation thereon. The heating means (not shown) can consist, for example, of suitable powered electrical conductors.
[0073] The output of the camera 20 is connected to the processing unit 50.
[0074] During the test and calibration steps a laser beam source 30 and a laser beam detector 40 are arranged on the same transverse arm 12. The components 30 and 40 provide a transmissometer that can be used in single step mode, (source 30-mirror S1-detector 40) or double step mode (source 30-mirror S1-mirror S2-detector 40), in order to provide the reference values to be compared to those of the measuring device according to the present invention in order to assess the uncertainty of the measurements thereof.
[0075] The laser beam source 30 can consist for example of a “CPS635F—Adjustable Focus Laser Diode Module, 635 nm, 4.5 mW” distributed by “Thorlabs Inc.” and suitably powered by a regulated power supply. The laser beam source is positioned such as to minimize the possible light interferences towards the measuring device according to the present invention.
[0076] The laser beam detector 40 can be for example a “S120C—Standard Photodiode Power Sensor, 400-1100 nm, 50 mW” model distributed by “Thorlabs Inc.” that allows the laser power to be measured. The output of the detector 40 is connected to a processing unit 50 (
[0077] In the view of
[0078] In
[0079] According to another embodiment, the sample image IMC can consist of the same camera 20, giving rise to reflected images IM1 and IM3 such as those depicted in
[0080] The method for carrying out visibility measurements is based on an algorithm executed by the processing unit 50 that determines the visibility from an image similar to that shown in
[0081] A first function of the algorithm calculates a reference matrix R by giving each element thereof R.sub.k,j the mean value of 4×4 contiguous pixels in the rectangular region AR in the images of
[0082] A second function of the algorithm calculates the reference matrix of the fit region F by giving each element F.sub.k,j thereof the mean value of 2×2 contiguous pixels contained in the rectangular region A.sub.F of the images of
[0083] In a third function of the algorithm the reference matrix is overlapped in any possible way on a sub-matrix of the matrix of the fit region.
[0084] Given an overlapping, the object is to measure, by means of a proper figure of merit, the degree of overlapping between the fit matrix F and the reference matrix R, which is suitably transformed to take account of the variation of the base luminance and the luminance contrast. By virtue of the physical phenomena described afore, such a transformation is linear:
R.fwdarw.κ+ρ.Math.r.sub.0.sup.2.Math.R, (6)
[0085] where r.sub.0.sup.2 is a factor that take account of the mirror reflectivity, κ takes account of the different luminance base level, and p coincides with the ratio of the luminance contrast that appears in the equation (5) already set forth above for the computation of the quantity MOR. The parameter ρ is thus the critical parameter for the purposes of determining the visibility. While r.sub.0 is a priori measured (in an embodiment it resulted r.sub.0=0.893), the parameters κ and ρ have to be determined by means of a data analysis procedure (fit), by optimizing the figure of merit.
[0086] As a figure of merit X the sum of the squared deviations among the elements of the fit matrix F and those of the reference matrix R, linearly “transformed” according to the preceding equation (6), has been selected:
[0087] The optimal values for κ and ρ are obtained by means of standard mathematical analysis techniques. The results are given by:
[0088] where W.sub.0, W.sub.1, W.sub.2 are the quantities calculated above from the first function of the algorithm, while the values R and S, with an additional value U, are defined hereinbelow:
[0089] At the end one gets:
X=U+κ.sup.2W.sub.0+ρ.sup.2r.sub.0.sup.4W.sub.2−2κR−2ρr.sub.0.sup.2S+2κρr.sub.0.sup.2W.sub.1
[0090] It is therefore provided the value ρ.sub.0, i.e. the value of ρ occurring at the minimum value of the figure of merit X among all those resulting from the different overlappings.
[0091] In the images of
[0092] In reference to the equation (4) for the computation of the quantity MOR, in a fourth function of the algorithm it is firstly verified that ρ.sub.0 is larger than e.sup.−bIn(20)/Vmax, where b is the length in meters of the reference distance (baseline) used, while Vmax is the predetermined supremum of visibility, specified in meters, for the present computation. If the value ρ.sub.0 does not meet this condition, the visibility measurement, denoted by ν, is set to −1 (signaling an out of scale value). If on the contrary the value ρ.sub.0 is within the preset limit, ρ.sub.0 is transformed into visibility measurement ν by the equation (4). A ρ.sub.0 piece of data is produced by the algorithm every τ seconds.
[0093] In order to obtain a visibility measurement averaged in a given time range and to simultaneously estimate the measurement accuracy (random error), the value ρ.sub.0 is averaged together with the M−1 preceding values. Such an averaging operation is carried out provided that all the M consecutive values are valid, i.e. corresponding to visibility values μ within the measurement range between 0 and Vmax meters. The mean value <ρ.sub.0> and the respective standard error δρ.sub.0 at time t are calculated by the following expressions:
[0094] Starting from <ρ.sub.0> and δρ.sub.0 a mean visibility measurement <ν> and the respective random error δν are produced by using the equation (4) for the computation of the quantity MOR and the error propagation:
[0095] A piece of data composed of the pair <ν>, δν is produced every τ seconds (in case of single values within the validity interval); being the result of a moving average on M elements, it is inferred that an averaged piece of data completely independent of the previous one is produced every Mτ seconds.
[0096] For example, by setting the number M equal to 10 and τ equal to one second, an averaged piece of data <ν>, δν completely independent of the previous one is produced every 10 seconds.
[0097] Experimental Results of Visibility Measurement
[0098] A prototype of a device according to the present invention has been provided wherein the components of the optical system have been arranged on a supporting frame 10 in accordance with what depicted in
[0099] The test and calibration measurements have been carried out in different sessions in a simulated environment consisting of a volume with a length of about 30 m, width of about 12 m and height of about 6 m, in which artificial mist is produced by means of a high-pressure water spraying system. The hydraulic lines containing the nozzles are placed at a height of 2.4 m along the two long sides of the environment. The simulated environment is provided with windows and is provided with artificial neon lighting.
[0100] As an additional visibility measuring device, the system comprising the laser beam source 30, the flat mirror S1 and the laser beam detector 40 described above has been used. The laser transmission factor ρ.sub.laser is given by the ratio
[0101] where P is the instant power read by the detector 40, P.sub.0 is the power read by the detector 40 in condition of normal atmosphere (and thus with infinite visibility), and P.sub.dark is the power read by the detector 40 with shuttered laser. The value P.sub.dark is about 20 μW during the day and with artificial lighting on, and 10 μW during the day but with artificial lighting off.
[0102] In a typical test measurement the starting point is a condition of normal atmosphere (and thus with infinite visibility). Powering up the spraying system produces a reduction of the visibility to values on the order of 10 meters. The visibility fall time depends on the water pressure in the spraying system, to which a less relevant dependence on the temperature of the simulated environment adds up. Typical fall times are on the order of 10 minutes. Upon the spraying system switched off, the visibility returns to normal levels in times of about 3÷10 minutes.
[0103] In most of the measurements carried out in multiple test sessions, a software version with τ set to 2 seconds has been used.
[0104] In
[0105] As depicted in
[0106] In
[0107] The second aspect relates to a faint but “systematic” discrepancy between the two measurements, with ρ.sub.laser slightly smaller than or nearly equal to ρ, due to the different reference distance (baseline) of the laser beam source, of about 6.12 m, with respect to the one of the remaining optical system, of about 6.02 m.
[0108] The independence of the luminance contrast parameter ρ, and thus of the visibility ν, of the lighting level becomes apparent also from
[0109] The difference between the two readings ρ and ρ.sub.laser reported in
[0113] As regard to the effect of the height difference between the laser beam and the image centroid, in some test sessions two measurements have been carried out: one with standard configuration; the other one with laser and detector both raised by 145 mm (from 105 mm above the upper plane of the supporting frame to 250 mm), so that the height difference changed from −70 mm to +75 mm. The two measurements have been carried out in “high” lighting conditions and with r nearly equal to one second.
[0114] The result is shown in
[0115] A further aspect relates to the random error estimate. For this purpose,
[0116] In
[0117] The apparent similarity between the distributions of the random errors σ.sub.νe σ.sub.νlaser is confirmed by the Kolmogorov-Smirnov's test (p-value>0.25 in the cases shown). It follows that the main random error source is the mist itself. In summary, on the basis of the experimental data discussed above, it may be concluded that, as a precautionary measure, by averaging on 10 values, the maximum uncertainty on the measurement is equal to 20 m within the interest range of 0-100 m.
[0118] In brief, the tests show that a device according to the present invention for measuring the visibility (MOR) with limited range fulfills the objects of the invention.
[0119] In particular, by assuming an average of 10 consecutive values: [0120] the sum of the systematic error and random error estimates results in a maximum uncertainty on the visibility measurement of ±20 m within the interest range of 0-100 m; [0121] an independent piece of data can be produced every 10 seconds; [0122] a device according to the invention is transportable and can be operative in short times, estimated in about 30 minutes; [0123] a device according to the invention does not require particular maintenance, except for maintaining the flat mirrors cleaned.
[0124] The performances of the prototype embodied, for example in terms of uncertainty, maximum range and predetermined period, can be directly improved without departing from the scope of the invention for example by means of the use of qualitatively better optical and electronic components.
[0125] Various modifications can be made to the embodiments described herein without departing from the scope of the invention. For example, for the use in low lighting conditions (for example nighttime), a suitable lighting of the sample image can be provided, or the sample image can be of the “active” type; the calibration problems are avoided by the fact that a device according to the present invention uses one sample image only which is “split” by the flat mirror system. The flat mirrors can also be more than two and the reflected images IM1, IM3 can be generated by multiple reflections.
[0126] Furthermore, a horizontally developed sample image can be provided, instead of a vertically developed one as the one herein described, and with a different distribution of levels of gray. The use of a sample image having circular symmetry can also be provided, in order to make easier and quicker the process of finding the best overlapping of the fit matrix with the reference matrix.