Feedback color control system
This is a continuation of application Ser. No. 704,992, filed July 14, 1976 now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     This invention relates to a feedback color control system and, more particularly, to a system for controlling the simultaneous application of two dyes to a continuously formed material such as a web of paper. 
     Continuous process color control systems are known in the prior art. Generally, such systems use tristimulus colorimeters or similar instruments to measure the tristimulus values (red, green, and blue primary components) of the light reflected from a portion of the web or other material. Each of the red, green, and blue tristimulus signals is used to provide negative feedback individually to control an appropriate dye applicator located upstream from the measuring point. An example of such a system is shown in U.S. Pat. No. 3,389,265, issued to Schreckendgust. 
     Systems such as that described above are not universally applicable to any two dyes. If an attempt is made to control addition of a single dye by using a measured tristimulus variable, the variable chosen for control must be changed depending on the dye used. Direct use of the measured tristimulus variable for control of the addition of two dyes has proved impracticable. 
     I have provided a feedback color control system which overcomes the defects of color control systems pointed out hereinabove. My system may be used without change for one or two dye control. It can be used for any combination of two dyes regardless of color. It does not require detailed information about the optical properties of the component dyes. My system utilizes optical properties which correlate extremely well with visual color assessment. 
     SUMMARY OF THE INVENTION 
     One of the objects of my invention is to provide a feedback color control system which provides satisfactory color control. 
     Another object of my invention is to provide a feedback color control in a system which uses only two dyes. 
     A further object of my invention is to provide a feedback color control system which may be used over a broad range of dye values without reprogramming. 
     Other and further objects of my invention will appear from the following description. 
     In general, my invention contemplates the provision of a system for controlling the flows of two dyes used to color material including means for providing a first signal as a function of deviations in the color saturation of the material from a desired saturation, means for providing a second signal as a function of deviations in the hue of the material from a desired hue, means responsive to the first signal for varying the flows of the dyes in the same sense, and means responsive to the second signal for varying the flows of the dyes in opposite senses. 
     In its broad aspect, my invention takes advantage of the fact that the hue of a dyed material generally depends on the ratio of the concentrations of the various dyes used and is relatively insensitive to the total dye concentration, while the color saturation of a dyed material generally depends on the total dye concentration and is relatively insensitive to ratio changes. More particularly, my control system compares the measured color saturation of the dyed material with a predetermined desired color saturation to obtain a first error signal, and compares the measured hue of the dyed material with a predetermined hue to obtain a second error signal. My system includes readily programmed means, to be described, for deriving the first or color saturation error signal and second or hue error signals over a wide range of dye choices. In response to the first error signal, the flows of the two dyes used are varied in the same sense to change the total dye concentration to a corrected value. Similarly, in response to the second error signal, the flows of the two dyes are varied in opposite senses to change the ratio of the dye concentrations to a corrected value. The above system allows the hue and color saturation of a dyed material to be controlled independently in a system using only two dyes, thus permitting a simplicity of construction not found in the prior art. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a graph of the International Commission on Illumination primary components of the wavelengths forming the visible spectrum. 
     FIG. 2 is an International Commission on Illumination chromaticity diagram illustrating the principle of operation of my system. 
     FIG. 3 is a schematic diagram of the preferred embodiment of my color control system. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     As is well known to those skilled in the art of colorimetry, the visual attributes of any light source may be characterized by expressing that light source as a linear combination of three primary light sources--that is, three light sources, no two of which can be combined to obtain the third. To facilitate the mathematical description of a light source in terms of such primary components, the International Commission on Illumination or ICI (also known by its French acronym CIE), has defined tristimulus values X, Y, and Z as follows: 
     (1) X=∫f(λ)x(λ)dλ 
     (2) Y=∫f(λ)y(λ)dλ 
     (3) Z=∫f(λ)z(λ)dλ 
     where f(λ) is the spectral energy density of the light source and x(λ), y(λ), and z(λ) are previously defined weighting functions corresponding to the respective &#34;red&#34;, &#34;green&#34;, and &#34;blue&#34; ICI primary components of the wavelengths of the visible spectrum. These weighting functions, plotted with respect to wavelength λ, are shown in FIG. 1. The X, Y, and Z tristimulus values thus obtained correspond generally to the red, green, and blue components of the light source. The primaries, however, have been given a physically unobtainable &#34;purity&#34; for ease of mathematical description. 
     To further facilitate the quantitative description of the color of a light source, which is insensitive to proportionate changes in the X, Y, and Z tristimulus values, the ICI has defined a pair of chromaticity coordinates x and y by the equations: ##EQU1## The quantities x and y, which represent the fractional amount of the &#34;red&#34; and &#34;green&#34; primaries, respectively, are usually represented as the x and y coordinates of a standard x-y Cartesian coordinate plant commonly referred to as an ICI chromaticity diagram. FIG. 2 is such a diagram in which the spectrum locus, or locus of the chromaticity coordinates of pure spectral colors, is shown as a solid curved line RP. In FIG. 2, the pure &#34;red&#34; primary corresponds to the point (1,0), pure &#34;green&#34; to the point (0,1), and pure &#34;blue&#34; to the origin (0,0). &#34;White&#34; light, which is not precisely defined but implies an approximately equal mixture of red, green, and blue light, corresponds generally to the region around the point (1/3, 1/3). For the purposes of this disclosure, &#34;white&#34; light may be regarded as the light reflected from an undyed sample of the material being colored. As may be readily ascertained, additive mixtures of two light sources have x-y chromaticity representation that lies somewhere on the line segment joining the chromaticity points of the constituent light sources. The coordinate points R and P of the extremes (red and purple) of the visible spectrum have been joined by a solid straight line segment RP to form a closed curve whose border and interior region correspond to the set of physically realizable colors. 
     A more intuitive representation of a point (x, y) inside the spectrum locus may be obtained by drawing a line segment between the white light or source point (x w , y w ), as above defined, and the point (x, y) and extending the line segment past the point (x, y) to intersect the spectrum locus at a point (x.sub.λ, y.sub.λ). The wavelength λ corresponding to the point (x.sub.λ, y.sub.λ) is defined as the dominant wavelength. The &#34;excitation purity&#34; b of the point (x, y) is defined as the ratio of the distance between (x w , y w ) and (x, y) to the distance between (x w , y w ) and (x.sub.λ, y.sub.λ). Thus, a light source (x, y) having a dominant wavelength λ and an excitation purity of b could be formed by combining b units of pure spectral light of wavelength λ with (1-b) units of white light. The defined quantities of dominant wavelength and excitation purity correspond closely to the perceived hue and saturation of a light source. White light, for example, would have an undefined dominant wavelength and an excitation purity of zero. Pure spectral colors, on the other hand, would have an excitation purity of unity. All other colors have a dominant wavelength corresponding to some spectral wavelength (or some point on the red-purple line) and an excitation purity between zero and one. 
     It will be observed that the dominant wavelength of a light source (x, y) is a function only of the angular orientation θ of the point (x, y) relative to the source point (x w , y w ). In other words, all points lying on a given line extending from the source point will have the same dominant wavelength. It will also be observed that the excitation purity of a point (x, y) may be considered as being the product of the distance of the point (x, y) from the source point (x w , y w ) and the reciprocal of the distance of the dominant wavelength point (x.sub.λ, y.sub.λ) from the source point (x w , y w ), the reciprocal being a slowly varying function of the dominant wavelength. From these relations it may be deduced that the color saturation of a light source (x, y) is generally determined by the distance of the point (x, y) from the source point (x w , y w ), and further that the hue of the light source (x, y) is generally determined by the angular orientation θ of the point (x, y) relative to the source point (x w , y w ). One aspect of my invention, therefore, contemplates means for generating the chromaticity coordinates x and y of a reflected light beam from the dyed material, means for measuring the distance of the point (x, y) from the source point (x w , y w ) to obtain a measured saturation signal, means for measuring the angular orientation of the point (x, y) relative to the source point (x w , y w ) to obtain a measured hue signal, and means for comparing said signals respectively with a first or color saturation reference signal and a second or hue reference signal to produce respective first and second error signals. Since this system is generally operable over all possible color choices, it is unnecessary to reprogram the system when different dyes are used or different setpoints are selected. System flexibility is thus significantly increased. 
     Referring now to FIG. 3, my system includes first and second dye applicators, located at a dyeing station indicated generally by the reference character 12. A sensing station, indicated generally by the reference character 18, is located downstream from the dyeing station 12. A moving web 10 of paper pulp or the like moves past the stations in the direction indicated by the arrow. Electrically operated valves 24 and 26 connect respective dye supply lines 20 and 22 to applicators 14 and 16. Valve 24 increases the flow of the first dye in response to a positive ΔF1 signal on a line 28 and decreases the flow of the first dye in response to a negative ΔF1 signal. Similarly, valve 26 increases the flow of the second dye in response to a positive ΔF2 signal on a line 30 and decreases the flow of the second dye in response to a negative ΔF2 signal. Preferably, each of the valves 24 and 26 changes the dye flow at a rate proportional to the input signal F1 ΔF2 or F1, although this is not necessary where the valve actuating motors (not separately shown) are well damped. Flow meters 32 and 34 placed in respective dye lines 20 and 22 provide dye flow measurement signals F1 and F2 on lines 36 and 38. 
     At the sensing station 18, reference light sources 40 direct reference light beams on a portion of the paper web 10. The reflected light from this web portion is sensed by a tristimulus sensor 42 of any suitable type known in the art which produces X, Y, and Z signals representing, respectively, the red, green, and blue primary components of the reflected light beam. While the exact choice of primary colors used remains arbitrary, it is preferable for reasons of compatibility that the abovedefined primaries adopted by ICI be used. In a practical arrangement such as the one shown, the X, Y, and Z tristimulus values, may be derived by illuminating the sample with a standard light source having a prescribed spectral distribution, directing the reflected light through &#34;red&#34;, &#34;green&#34;, and &#34;blue&#34; filters having prescribed spectral responses, and measuring the light transmitted through the red, green, and blue filters. A detailed description of a tristimulus sensor capable of performing those steps is provided in my U.S. Pat. No. 3,936,189. 
     The analog X, Y, and Z tristimulus signals on lines 44, 46 and 48 are converted to digital form by respective analog-to-digital converters 50, 52 and 54 while the F1 and F2 flow measurement signals on lines 36 and 38 are changed to digital form by converters 120 and 122. Each of the remaining elements of my system to be described, unless otherwise stated, has a multibit parallel binary input and also has a multibit parallel binary output. While the input and output &#34;lines&#34; of these elements are shown as single conductors for clarity, it is to be understood that each such &#34;line&#34; actually comprises a plurality of conductors corresponding to the number of bits in the signal. 
     The digitalized signals X, Y, and Z from converters 50, 52 and 54 are fed to a chromaticity coordinate generator circuit indicated generally by the reference numberal 56. More particularly, a three-input parallel adder 58 supplied with the digitalized X, Y, and Z signals provides a sum signal X+Y+Z. This signal is fed to the divisor input of a first divider 60, the dividend input to which is the digitalized X signal to produce the x signal of Equation (4). The X+Y+Z signal is also fed to the divisor input of a second divider 52, the dividend input to which is the digitalized Y signal to produce the y signal of Equation (5). 
     I feed the x chromaticity signal to a subtractor 61 which also receives an x w  signal representing the x chromaticity coordinate of the reflected light from a &#34;white&#34; or undyed sample of the material 10. As is explained more fully in U.S. Pat. No. 3,936,189, the tristimulus colorimeter 42 includes means for normalizing the measured X, Y, and Z tristimulus values relative to the tristimulus values of the light sources 40. As a result, it is unnecessary independently to measure the tristimulus values of the reflected light from an undyed sample, and the value x w  need only be determined when the system is initially calibrated for a given material 10. Thus, the x w  signal is obtained from an operator-actuated parallel binary signal source 62. In other systems which do not have a self-standardizing colorimeter, it may be necessary for best results to continuously derive x w  from an on-line sensor or colorimeter. 
     Similarly, the y chromaticity signal is fed to a subtractor 63 which also receives a y w  signal, representing the y chromaticity coordinate of the reflected light from an undyed sample, from a second operator-actuated parallel binary signal source 64. Subtractors 61 and 63 provide difference signals x d  and y d  indicated in FIG. 2 and which represent the difference between the measured chromaticity signals x and y and the respective reference or &#34;white&#34; chromaticity signals x w  and y w . 
     Although it is desirable, from the standpoints of simplicity and standardization for monitoring or plotting, that the x and y chromaticity signals simply be the respective chromaticity coordinates, it is not essential to the practice of my invention. More generally, the chromaticity coordinate generator 56 may generate signals x&#39; and y&#39;, where x&#39;=aX+bY/(X+Y+Z) and y&#39;=cX+dY/(X+Y+Z). By choosing appropriate coordinates x&#39; and y&#39;, curves of equal &#34;saturation&#34; will appear on the x-y diagram as ellipses of various eccentricities and inclinations, rather than as circles. Such equal-saturation curves may be preferable in certain cases, depending on the particular operating point. 
     I apply the signals x d  and y d  to a polar coordinate generator indicated generally by the reference numeral 68 to obtain their polar coordinate equivalents. More particularly, the x d  and y d  signals are applied to respective squaring circuits 70 and 72, the outputs of which are fed to an adder 74. The adder 74 output is then fed to a square root extractor 76 to generate a Cl or r coordinate signal. I also apply the x d  and y d  signals to the dividend and divisor inputs, respectively, of a divider 78, the output of which is fed to an arc tangent generator 80 having an output range between -π/2 and π/2. A sign indicator 82 responsive to the x d  signal has an output of zero whenever the input is zero or positive and an output of one whenever the input is negative. I pass the output of the sign indicator 82 through a multiplier 84, which multiplies the input by π. I apply the output of multiplier 84 and the output of the arc tangent generator 80 to an adder 86 which provides a coordinate θ or C2 signal which ranges between -π/2 and (3π)/2. 
     The C1 or measured saturation signal is applied to a subtractor 88 as a first input. A C1 set  signal, derived from an operator-actuated parallel binary signal source 90 provides the second input for subtractor 88. Likewise, the C2 or measured hue signal is applied to a subtractor 92 as a first input. A C2 set  signal derived from an operator-actuated parallel binary signal source 94 provides the second input to subtractor 92. Subtractors 88 and 92 provide error signals ΔC1 and ΔC2 representing deviations in the saturation and hue of the sample being monitored. 
     Means are provided for transforming the hue error signal ΔC2, which, assuming the signal generated by signal source 94 to range between -π/2 and 3π/2, may represent any angle between -2π and 2π, into a modified hue error signal representing an angle between -π and π. I feed the C2 signal to a first comparator 96 which produces a &#34;one&#34; output if C2 is greater than π. A multiplier 98 multiplies the output of comparator 98 by -2π to provide one input to an adder 100. The ΔC2 signal is also fed to a second comparator 102 which produces a &#34;one&#34; output if ΔC2 is less than -π. A multiplier 104 multiplies the output of comparator 102 by 2π to provide a second input to the adder 100. A third input to the adder 100 is provided by the ΔC2 signal directly. As is apparent from the above description, adder 100 provides a modified hue error signal ΔC2&#39; ranging between -π and π and equal to ΔC2 plus or minus some multiple of 2π. 
     Error signals ΔC1 and ΔC2&#39; are fed to a circuit indicated generally by the reference character 106 which derives flow correction signals ΔF1 and ΔF2 to be applied to flow control lines 28 and 30. More specifically, I pass error signal ΔC1 through a multiplier 108 which multiplies the signal ΔC1 by a gain coefficient G1 derived from an operator-controlled parallel binary signal source 110. Likewise, hue error signal ΔC2&#39; is passed through a multiplier 112 where it is multiplied by a second gain coefficient G2 derived from a second operator-controlled parallel binary signal source 114. The output of multiplier 108 is fed to one input of each of a pair of mutipliers 116 and 118 by feeding flow measurement signals F1 and F2 on lines 36 and 38 to respective analog-to-digital converters 120 and 122. Both digitalized signals are fed to an adder 124 and to the respective dividend inputs of dividers 124 and 128, each of the divisor input of which is the output of adder 124. The outputs of dividers 126 and 128, representing the respective fractional portions of the first and second dyes, are applied to the second inputs of multipliers 116 and 118. Multipliers 112 and 116 provide the inputs to adder 130 to produce the ΔF1 flow control signal. Multipliers 118 and 112 provide the inputs to produce the ΔF2 flow control signal. Finally, the ΔF1 and ΔF2 flow correction signals are passed to respective digital-to-analog converters 134 and 136 to provide analog signals on line 28 and 30 coupled to the respective control valves 24 and 26. 
     While the embodiment shown employs a special purpose digital circuit, it is to be understood that the signal processing functions of the system may also be performed by a suitably programmed general purpose computer in a manner familiar to those skilled in the art. 
     It will be seen that I have accomplished the objects of my invention. I have provided a feedback color control system which can be used for any combination of two dyes regardless of color. It can be used without change for one or two dye control. It utilizes optical properties which correlate extremely well with visual color assessment. 
     It will be understood that certain features and subcombinations are of utility and may be employed without reference to other features and subcombinations. This is contemplated by and is within the scope of my claims. It is further obvious that various changes may be made in details within the scope of my claims without departing from the spirit of my invention. It is, therefore, to be understood that my invention is not to be limited to the specific details shown and described.