Abstract:
A real-time color comparator which performs color comparisons of sample objects to a reference color for the purpose of identification, sorting or matching. Two optical paths are positioned to collect the light from a reference object and a sample object and the light outputs from the two paths are directed onto a spherical dispersive element shown in the form of a concave diffraction grating that decomposes each light signal into its spectral constituents which are imaged on a dual photodetector array. The color signature from the reference and the color signature from the sample are compared.

Description:
BACKGROUND AND SUMMARY OF THE INVENTION 
     This invention is directed to the field of real-time color comparators which performs color comparison of sample objects to reference colors for the purpose of identification, sorting or matching. 
     Manufacturing and process automation sometimes require the determination of whether a colored sample matches that of a colored reference. For example, if the reference color represents the desired output characteristic of a continuous process (e.g., paint mixing, chemical reactions, baking), the real-time color comparator can be used as an endpoint detector for the process. 
     In the present invention use is made of spectral reflectance distributions of sample versus reference colors, that is, the colors per se are compared indirectly. In the present invention a reference color object and a sample object are similarly illuminated. Two optical paths are positioned to observe the reference object and the sample object; in the embodiment disclosed separate optical fibers are utilized, a reference fiber to observe the reference object and a sample fiber to observe the sample object. The outputs from the two fibers are directed onto a spectral dispersive element shown in the form of a concave diffraction grating that decomposes each light signal into its spectral constituents which are imaged on a photodetector array. Photodiodes in the array generate an analogue signal which represents the color signature of the object. The color signature from the reference and the color signature from the sample are compared. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 of the drawing is a diagrammatic presentation of an embodiment of the invention. 
     FIG. 2 shows an enlargement of the optical fibers at the output end where the end faces are flat and orthogonal to their axes. 
     FIG. 3 is like FIG. 2 for another embodiment of the invention where the end faces are flat and nonorthogonal. 
     FIG. 4 shows an enlargement of a portion of the sensor structure of FIG. 1. 
     FIG. 5 shows an enlargement of a portion of FIG. 4. 
     FIG. 6 shows another embodiment of the real-time color comparator. 
     FIG. 7 shows an enlargement of the sensor aperture of the embodiment of FIG. 6. 
    
    
     DESCRIPTION 
     Referring now to the drawing there is shown generally at 10 a color signature sensor in which it is desired to compare the color of a sample object 11 with the color of a reference object 12. The objects 11 and 12 are given illumination which is similar. Color perception depends on the spectral energy density of the illumination source, the spectral reflectance distribution of the object, and the spectral responsivity characteristics of the signal acquisition system. This invention deals only with the signal acquisition system and presupposes suitable illumination of both a reference object and a sample object. 
     Collecting the light signals 13 and 14 from objects 11 and 12 are two essentially identical optical fibers (a sample fiber 15 and a reference fiber 16) which route the light signals to a spectral dispersive element 20, here shown in the form of a concave diffraction grating. The concave diffraction grating is used to produce a focussed light spectrum on the input face of a detector array 30, that is, the focussed light is dispersed spectrally over the spatial extent of the acceptance aperture of array 30. 
     Referring back to the sample and reference fibers 15 and 16, the output ends of both fibers are placed in close proximity to each other such that: (1) referring now to FIG. 2 for flat, orthogonal end-faces, the axis n R  of the radiation pattern of the reference fiber 16 coincides with the physical axis of 16 and is oriented at an angle ψ with respect to the axis n S  of the radiation pattern of the sample fiber 15 (coinciding with the physical axis of 15) such that ψ&gt;2φ, where φ is the far-field half-angle encompassing the cone of light radiating symmetrically about each fiber axis, or (2) referring now to FIG. 3 for flat, nonorthogonal end-faces, both fiber physical axes are parallel, but each end-face is oriented (via rotation about the fiber physical axis) in the opposite sense, such that each cone of light described by the radiation pattern axes n R  and n S  radiates on different sides of their common axis. With this arrangement the emerging cone of light 21 from the sample fiber 15 impinges concave diffraction grating 20 over the area from 22 to 23, and the emerging cone of light 24 from reference fiber 16 impinges the grating over the area from 25 to 26. The concave diffraction grating 20 images each fiber end-face spot to a sensor 30 output spot P (for monochromatic light) and spectrally disperses it across the length of the sensor input (for polychromatic light). Thus for the monochromatic light shown in FIG. 1, the light 21 from the sample fiber which impinges on grating 20 is diffracted back 27 to point P on the sensor 30 and similarly the light 24 from the reference fiber which impinges on grating 20 is diffracted back 28 to point P on the sensor 30. The total integrated light intensity at any point P at the sensor input plane is given as L(P)=L S  (P)+L R  (P), where the spectrally dispersed light signal L S  from 11 arrives at an angle θ&lt;0 (referenced to the sensor normal axis n D ) and the spectrally dispersed light signal L R  from 12 arrives at an angle θ&gt;0 as shown. The sensor compares the light intensity versus space distribution (i.e., also spectrally dispersed) of L(θ&gt;0)=L R  to L(θ&lt;0)=L S  and outputs a voltage related to their similarity. An example of such a distributed sensor which outputs a measure of similarity is the Honeywell Through-the-Camera-Lens (TCL) chip (disclosed in such U.S. patent documents as U.S. Pat. No. 4,333,007 6/82 Langlais et al; 4,254,330 3/81 Stauffer et al; 4,250,376 2/81 Joseph et al; 4,249,073 2/81 Stauffer et al, 4,230,941 10/80 Stauffer, and 4,185,191 1/80 Stauffer, all assigned to the same assignee as the present invention). In the case of the TCL chip, as disclosed and used in the named patents, the measure of similarity is the normal autofocus output signal which indicates the amount of lens movement necessary to produce a proper focus condition; no lens movement is required when the similarity condition is established by prior lens movements. In this present invention the output signal indicating similarity can be used rather for the purpose of color matching. Explicitly, when L S  (λ) and L R  (λ) are determined by the sensor to be sufficiently similar, the sample and reference colors are said to match. Similarly, when L S  (λ) and L R  (λ) are determined by the sensor to be sufficiently dissimilar, the sample and reference colors are said to not match. Since both L S  (λ) and L R  (λ) are characteristic light distributions from illuminated, colored objects, the sensor compares two object colors in real-time. This color comparison is indirect since the object colors per se are not determined in any case; however, this color comparison is correct and sufficient, limited primarily by the physical structure and precision of the sensor. 
     Referring now to FIG. 4, which is an exemplary embodiment of the TCL chip there is shown in more detail the nature of three sensors of the sensor array 30. The light 27 and 28 from the grating 20 falls on the surface 40 of the sensor array chip. On this surface are tiny microlenses 41, 42 and 43. Associated with each of the microlenses are two detectors. Each lens projects an image of the received light on two of the detector layers 50-55 in which detectors 50, 52 and 54 are identified as R sensors (that is reference sensors) and in which detectors 51, 53 and 55 are identified as S sensors (that is sample sensors). Each of the R sensors receives light from the 25,26 sector of grating 20 and each of the S sensors receives light from the 22,23 sector of the grating. In all there are 24 microlenses and 24 pairs of detectors in a linear array about 5 millimeters long. Unwanted light is precluded by an aperture mask above the lenslet array. 
     In FIG. 5 is shown a cutaway of the sensor chip previously described showing one pair of detectors, such as 50 and 51, and the shift register circuitry which transfers charge packets from the detectors to output circuitry. A sensor array of this type is also described in greater detail in an article by Norm Stauffer and Denny Wilwerding entitled &#34;Electronic Focus for Cameras&#34;, Scientific Honeyweller, Volume 3, Number 1, March 1982, pages 1-13 from which FIG. 5 is taken. 
     Referring now to FIG. 6 there is shown an alternative embodiment of FIG. 1 that is produced by requiring ψ=0 in FIG. 1. In terms of the descriptors of FIG. 1, FIG. 6 requires that the area of impingement from 22 to 23 of the sample core of light 21 is essentially identical to the area of impingement from 26 to 25 of the reference core of light 24. In this embodiment, the sample fiber 15 and the reference fiber 16 have flat, orthogonal end-faces that are placed in close proximity in such a way their physical axes are parallel to one another. Since the physical axes of the sample fiber 15 and the reference fiber 16 are not coincident, they appear as distinct disks of light that are imaged by the concave diffraction grating 20 into distinct disks of light on the input face of the sensor. The physical separation of the focussed light signals on the sensor face permits at least two different ways of acquiring the spectrally and spatially dispersed light distributions. 
     Referring now to FIG. 7 there is shown in more detail the sensor aperture that can detect the physically separated, spectrally and spatially dispersed light distributions L S  (x) and L R  (x). In FIG. 7 apertures 70-75 can be considered for simplicity to represent detectors as well. The spectrally dispersed light signal L R  (x) is an output of a series of detectors exemplified by 70, 71 and 72 and interconnected by the appropriate circuitry and wiring 80. Similarly, the spectrally dispersed light signal L S  (x) is an output of another series of detectors exemplified by 73, 74 and 75 and interconnected by the appropriate circuitry and wiring 81. The physical arrangement to produce orderly imaging and spectral dispersion in the sensor plane of FIG. 7 is such that the adjacent detector pairs (70,73), (71,74) and (72,75) have adjacent, quasi-monochromatic light impinging on them, but both elements of every pair experience and detect precisely the same wavelength bands. The signal outputs from 80 and 81 can be processed in real-time in any appropriate manner to obtain a measure of similarity between L R  (x) and L S  (x). Example measures of similarity are signature cross-correlation and mean-value difference as disclosed by Sullivan under the co-pending application Ser. No. 118,585, filed Nov. 9, 1987, and assigned to the same assignee as the present invention. 
     Alternatively, the exemplary circuitry and wiring 82, 83 and 84 can be configured to obtain a measure of similarity between 70 and 73, 71 and 74, and 72 and 75, respectively. A simple example of similarity between these successive detector pairs is an element-by-element subtraction to obtain a new signal L R-S  (x) that represents effectively a color signature difference. 
     This simultaneous, two-dimensional sensing of spatially dispersed light distributions can be extended to include several reference signals and/or several sample signals for color matching or sorting purposes. 
     The two fibers 15 and 16 have been shown without any auxiliary input or output lenses. Additional optical lenses may be optionally used such as positioned between object and fiber to affect collection efficiency, angle of view and the like.