Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
REACTANT CONCENTRATION CONTROL METHOD AND APPARATUS FOR PRECIPITATION REACTIONS
Document Type and Number:
WIPO Patent Application WO/1992/003772
Kind Code:
A1
Abstract:
A method and an apparatus for controlling reactant ion concentration within a precipitation vessel to optimize the reactions occurring therein is disclosed. In one important implementation, the reactant controlled comprises halide ion in a reactor during the precipitation and growth of silver halide grains. In this embodiment, the method includes measuring the amount of halide ion within the precipitation vessel; measuring the flow rates of the halide feed stream and the silver feed stream; storing the measured halide ion concentration and measured feed stream flow rates; computing an estimated halide ion concentration value as a function of the stored measured halide ion concentration and measured feed stream flow rates; and adjustably controlling the amount of halide ion added to the precipitation vessel as a function of this estimated halide ion concentration value. Preferably, N most recent measured halide ion concentrations and measured halide and silver feed stream flow rates are stored and used in determining the estimated balide ion concentration. Mathematical algorithms are derived herein to facilitate the computation of the estimated halide ion concentration and the necessary flow rate adjustment. Analogous apparatus is also provided herein.

Inventors:
JEROME NORMAN F (US)
Application Number:
PCT/US1991/005674
Publication Date:
March 05, 1992
Filing Date:
August 09, 1991
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
EASTMAN KODAK CO (US)
International Classes:
G03C1/015; G05D21/00; B01J19/00; G05D21/02; (IPC1-7): G03C1/015; G05D21/02
Foreign References:
EP0176794A21986-04-09
EP0295173A11988-12-14
EP0356342A21990-02-28
EP0174021A21986-03-12
FR2356196A11978-01-20
Other References:
PROCEEDINGS OF THE 1989 AMERICAN CONTROL CONFERENCE 21-23 JUNE 1989 ; PITTSBURGH US SPONSORED BY AMERICAN CONTROL COUNCIL vol. 2, pages 1540 - 1544; R. WRIGHT ET AL.: 'NON LINEAR pH CONTROL IN A CSTR' see page 1542, left column, line 8 - line 22; figure 3
Download PDF:
Claims:
What is claimed is:
1. In a precipitation reaction, a method for controlling the concentration of one reactant in the precipitation vessel, said vessel being fed by a first reactant feed stream and a second reactant feed stream, said method comprising the steps of: (a) measuring the amount of first reactant in the precipitation vessel; (b) measuring the flow rate of the first reactant feed stream and the flow rate of the second reactant feed stream; (c) storing the measured first reactant concentration value and the measured flow rates of the first and second reactant feed streams; (d) computing an estimated smoothed concentration value for one of said first and second reactants within the precipitation reactor as a function of the stored measured first reactant concentration, first reactant feed stream flow rate, and second reactant feed stream flow rate; and (e) adjustably controlling the amount of one of said first and second reactants added to the precipitation vessel as a function of the smoothed value of said reactant concentration computed in step (d) .
2. The control method of claim 1, further comprising: (f) repeating steps (a)(e) for each of a plurality of periodically timed measurement cycles.
3. The control method of claim 2, wherein said computing step (d) determines the estimated reactant concentration as a function of N stored measured first reactant concentrations, first reactant feed stream flow rates, and second reactant feed stream flow rates.
4. The control method of claim 3, wherein said computing step (d) determines the estimated reactant concentration within the precipitation reactor using the N most recent measured excess first reactant concentrations, first reactant feed stream flow rates, and second reactant feed stream flow rates.
5. The control method of claim 4, wherein said estimated reactant concentration comprises an estimated first reactant concentration.
6. The control method of claim 5, wherein the first reactant comprises halide ion and the second reactant comprises silver ion, and the precipitation reaction produces silver halide.
7. The control method of claim 5, wherein the first reactant comprises silver ion and the second reactant comprises halide ion, and the precipitation reaction produces silver halide.
8. The control method of claim 5, wherein said computing step (d) includes: (i) using said N measured first feed stream flow rates, second feed stream flow rates and measured first reactant concentrations to determine the error, from a nominal value, of the concentration of the second reactant feed stream; and (ii) computing the estimated smoothed value of the first reactant concentration within the precipitation reactor using the second reactant error signal and the stored N measured first reactant concentrations, first feed stream flow rates, and second feed stream flow rates.
9. In a precipitation reactor having a first feed stream containing a first reactant, A+, and a second feed stream containing a second reactant, D", said first and second reactants precipitating in said reactor in a batch process having the form: A+ + B' + C* + D" → CB + A+ + D", a method for controlling the flow rate of the first feed stream to optimize the first reactant reactor concentration and thereby the precipitation reaction occurring therein, said method comprising the steps of: (a) measuring the flow rates of the first reactant feed stream and the second reactant feed stream; (b) measuring the first reactant concentration within the precipitation reactor; (c) storing the measured first and second feed stream flow rates and the measured first reactant reactor concentration; (d) repeating steps (a) , (b) & (c) for each of N periodically timed measurement samples; (e) computing an estimated smoothed value for the first reactant reactor concentration as a function of the N stored measured first reactant concentration, first reactant feed flow rates, and second reactant feed flow rates; and (f) controlling the flow rate of the first reactant feed as a function of said estimated value of first reactant concentration to optimize the concentration of first reactant within the reactor and thereby the precipitation reaction occurring therein.
10. The control method of claim 9, wherein said computing step (e) includes: (i) using said N measured first reactant feed stream rates, second reactant feed stream rates and measured first reactant concentrations to determine the error, from a nominal value, of the second reactant feed stream concentration; and (ii) computing the estimated smoothed value of the first reactant concentration within the precipitation reactor using the second reactant error signal and the stored N measured first reactant concentrations, first reactant feed stream rates, and second reactant feed stream rates.
11. The control method of claim 10, wherein said computing step (e) includes determining said error in second reactant feed concentration by the formula: δC2R = [ATA]"1 ATB wherein: δC2R = the error in excess second reactant feed stream concentration from nominal value A 2R. i Δt sample time interval of interest F2R i = fl°w ra e of second reactant feed stream at sample time i T = matrix transpose B wherein : bD Ideal Halide Excess j (C1Rιj) ( Volj) Ideal_Halide_ExcesSj = number of moles of free first reactant expected in the reactor at the jth time interval if the feed concentration of the second reactant was exactly correct (i.e., 5C2R =• 0) C1R . = first reactant reactor concentration at the jth time interval Vol. ■= reactor liquid volume at the jth time interval.
12. The control method of claim 11, wherein said estimated smoothed value computing step (e) includes calculating the estimated value of the first reactant concentration according to the formula: wherein: C1R Est = ssmoothed value of first reactant concentration at the jth time interval IdealJIali de_Excessj fi " vol< .
13. The control method of claim 9, wherein the first reactant comprises halide ion and the second reactant comprises silver ion and wherein the precipitation reaction produces silver halide.
14. The control method of claim 9, wherein said step (f) includes computing a first reactant feed stream flow rate control signal using an adjustable control law of the form: jr τr ^ C2R, + S ^) + Cl . SeJ , Vθl { t) ( C1Rr Sβt CχR> Eεt ( t) ) •rlB r2R t c _ c ) * f t ( C C ) t1Λ, F 'IR.Set' O L l ,F 'IR. Set' wherein: F1R •= optimal flow rate of first reactant feed stream F2R = flow rate of second reactant feed stream C2R F = concentration of second reactant feed stream C1R p = concentration of first reactant feed stream δC2R = error in second reactant feed stream concentration from nominal value C1R Set = set point concentration for first reactant vol(t) = reactor liquid volume at time t δt = sample time interval of interest.
15. The control method of claim 9, wherein multiple first feed streams containing the first reactant are fed to the precipitation reactor and multiple second feed streams containing the second reactant are fed to the precipitation reactor.
16. A method for controlling halide ion reactor concentration during the precipitation of a silver halide in a precipitation reactor fed by a halide feed stream and a silver feed stream, said method comprising the steps of: (a) measuring the amount of halide ion in the precipitation reactor; (b) measuring the flow rate of the halide feed stream and the flow rate of the silver feed stream; (c) storing the measured halide concentration value and the measured halide and silver feed stream flow rates; (d) repeating steps (a) , (b) & (c) for each of N periodically timed measurement cycles; (e) computing an estimated smoothed value for halide ion concentration within the precipitation reactor as a function of the N stored measured halide ion concentrations, halide feed stream flow rates, and silver feed stream flow rates; and (f) adjustably controlling the amount of halide ion added to the precipitation reactor as a function of the computed smoothed value of halide ion concentration within the reactor.
17. The control method of claim 16, wherein said steps (e) & (f) are repeated for each measurement cycle, said estimated halide ion concentration being computed in step (e) as a function of the N most recent measured halide ion concentrations, halide feed stream flow rates, and silver feed stream flow rates.
18. The control method of claim 17, wherein said controlling step (f) includes optimally controlling the flow rate of the halide ion input stream according to the formula: F ( <C g.F+ t>CA ) + Cχ.Set + Vθi<t) <Cx.„t 'cx,„e(t:) ) ( Cχ,F ~ Cχ.Se ' ° ( ,F ~ Cχ.Set' wherein: Fχ = flow rate of halide feed stream FAg = flow rate of silver feed stream CA.g„,cF concentration of silver feed stream δC A.g = error in silver ion feed stream concentration from nominal value c r = concentration of halide feed stream Cχ Set = set point concentration value for halide vol(t) = reactor liquid volume at time t δ(t) = time sample interval of interest Cχest(t) = smoothed value of halide reactor concentration.
19. The control method of claim 16, wherein multiple halide feed streams and multiple silver feed streams supply halide ion and silver ion, respectively, to the precipitation reactor, and wherein the halide ion concentration within the reactor is controlled by adjustably controlling the flow rate of one of said halide feed streams.
20. The control method of claim 16, wherein said computing step (e) includes determining the error in silver ion feed stream concentration from a nominal concentration value.
21. The control method of claim 20, wherein said error in silver ion feed stream concentration is determined by the formula: δCAg = [ATA] *1 ATB wherein: δCA = the error in silver ion feed stream concentration from nominal value A a2 wherein: a j, A t i∑_1F AAgσ. i 33 Δt = time interval of interest F.„ , = flow rate of silver ion feed stream at sample time i T = matrix transpose B wherein : b3 Ideal_Halide_Excess3 (Cx j) ( Volj) Ideal_Halide_Excess. = number of moles of free halide ion expected in the reactor at the jth time interval if the feed concentration of the silver ion was exactly correct (i.e., δCA = 0). Cv . •= reactor concentration of halide ion at the jth time interval Volj = vessel liquid volume at the jth time interval.
22. Apparatus for controlling halide ion concentration during the precipitation of a silver halide in a precipitation vessel, said apparatus comprising: (a) a first feed means for controllably introducing silver ion into the precipitation vessel, said first means including means for producing a signal representative of the flow rate of said silver ion into the vessel; (b) a second feed means for controllably introducing halide ion into the precipitation vessel, said second means including means for producing a signal representative of the flow rate of said halide ion into the vessel; (c) an ion sensor positioned in the precipitation vessel for generating a signal representative of the amount of halide ion in solution therein; (d) storage means for receiving said signal output of the ion sensor and said signals representative of the silver ion and halide ion flow rates produced by the first feed means and the second feed means, respectively; (e) computational means for determining an estimated smoothed value of halide ion concentration within the precipitation reactor as a function of the stored ion sensor output, and said signals representative of the first feed and second feed flow rates; and (f) flow control means for controllably adjusting at least one of the first and second feed means as a function of the computed smoothed value of halide ion concentration within the precipitation vessel so as to optimize the relative concentrations of precipitation reactants therein.
23. The control apparatus of claim 22, wherein said computational means determines the estimated smoothed halide ion concentration as a function of N stored measured halide ion concentrations, silver ion feed stream flow rates, and halide ion stream flow rates.
24. The control apparatus of claim 23, wherein said computational means includes: first means for calculating the error from a nominal value of the silver ion feed stream concentration as a function of the N measured halide ion concentrations and the measured halide ion and silver ion feed stream flow rates; and second means for calculating the estimated smoothed value of halide ion concentration within the precipitation vessel as a function of the silver ion error signal and the stored N measured halide ion concentrations and the measured halide and silver feed stream flow rates.
25. The control apparatus of claim 24, wherein said computational means determines said silver ion feed stream concentration error by the formula: δCAg = [ATA]"1 ATB wherein: δCAg = ttlhe error in excess silver ion feed stream concentration from nominal value A Ag. i Δt = sample time interval of interest FA . = flow rate of silver ion stream at sample time i T = matrix transpose B wherein: b Ideal Halide Excess (CX 3) { Volj) eal_Halide_ExcesSj = number of moles of free halide ion expected in the vessel at the jth time interval if the feed concentration of silver ion was erractly correct (i.e., *cAfl = 0) C, . = halide ion reactor concentration at the jth time interval Vol. = reactor liquid volume at the jth time interval.
26. The control apparatus of claim 25, wherein said computational means determines the estimated smoothed value of halide ion concentration within the vessel according to the formula: wherein: Cχ . Est = smoothed value of halide ion concentration at the jth time interval Ideal Halide Excess, *i " vol.
27. The control apparatus of claim 23, wherein said flow control means determines a halide ion feed flow rate control signal using an adjustable law of the form: d C F λg. F st ( t) ) •■ X Ag »ς*> 'x. Set' vol ( t) (c x. . Set c X.. E i X.. F ~ Cχ,Set> b t( X. F 'x. Set ) wherein: Fχ = optimal flow rate of halide feed stream F A.„g flow rate of silver feed stream CA.„g.rF = concentration of silver feed stream C„ e = concentration of halide feed stream δCA.a„ = error in silver feed stream oncentration from nominal value Cχ Set = set point concentration for halide vol(t) = reactor liquid volume at time t δt = sample time interval of interest.
Description:
EACTANT CONCENTRATION CONTROL METHOD AND APPARATUS FOR PRECIPITATION REACTIONS

Background of the Invention

Technical Field

The present invention relates to a method and an apparatus for controlling reactant ion concentration within a precipitation vessel to optimize the reactions occurring therein, and more particularly, the invention comprises such a method and apparatus for control of halide ion concentration in a reactor during the precipitation and growth of silver halide grains.

Background Art

Precipitation and growth of silver halide (AgX) grains for use in photographic processing is generally carried out in a stirred tank reactor with two continuously flowing inlet streams: an aqueous silver nitrate stream, and an aqueous "salt" stream, which is typically a solution of one or more halide salts (for example, NaBr and Nal) . In order to obtain the desired size distribution and morphology of AgX grains, it is necessary to control the concentration of excess halide ion during the precipitation and growth of the grains. In a conventional system, each reactant inlet stream is controlled by a delivery system which includes a flow controller that monitors the inlet stream flow rate, and if necessary, adjusts the flow pump to maintain the desired flow rate.

Typically, current practice is to infer the halide ion concentration within the reactor from the voltage measured at an electrochemical cell and silver electrode immersed within the reactor. This inferred halide ion concentration is then used to calculate the required adjustment to the current flow rate of the salt inlet

stream. The method used for this calculation is a simple mass-balance relation and the process is repeated with a new voltage reading at regular intervals (e.g., at 5 second intervals) . This practice suffers from two major flaws.

First, the voltage signal obtained from the silver electrode is quite noisy due to turbulent concentration variations in the local vicinity of the electrode. Since the variations are a fundamental property of the reactor, this noise cannot be eliminated. The undesired impact on the concentration-control method is that the current method can not distinguish fluctuations due to "noise" (and hence unavoidable) from fluctuations due to genuine shift in the mean halide concentration in the reactor (and hence requiring corrective change in the salt flow rate) . This error often results in a rapid and excessive fluctuation in salt-feed flow rate, as the system attempts to control "noise." These excessive salt-feed fluctuations lead to nonuniformities in reactor conditions, which are believed to cause degradation in AgX grain size uniformity and morphology. The flow rate fluctuations also cause excessive wear on the salt feed delivery system.

The second major problem with the present control approach is with the method of calculating the required adjustment of salt feed flow rate[, i.e.,] given a value of the current halide ion concentration in the reactor. Currently, an equation is used that depends on having perfectly accurate values for the concentrations of both the salt and silver feed streams, as well their flow rates. In practice, however, the feed concentrations are only known to within approximately 0.5 %, and the flow meter calibrations can be incorrect by a similar

amount. These unavoidable errors prevent the current method from producing a correct adjustment for the salt feed flow rate and hence prevent the system from obtaining the desired halide concentration level in the reactor.

The present invention solves both of these current practice flaws.

Disclosure of Invention Briefly summarized, in one aspect the invention comprises a method for controlling the concentration of one of the reactants in a precipitation vessel which is fed by a first reactant feed stream and a second reactant feed stream. The method includes the steps of: measuring the amount of first reactant in the precipitation vessel; measuring the flow rate of the irst reactant feed stream and the flow rate of the second feed stream; storing the first reactant concentration value and the measured flow rates of the first and second reactant feed streams; computing an estimated smoothed value of the concentration of one of the first and second reactants within the precipitation reactor as a function of the stored measured first reactant concentration, first reactant feed stream flow rate, and second reactant feed stream flow rate; and controlling the amount of one of the first and second reactants being added to the precipitation vessel as a function of the computed smoothed value of reactant concentration. Preferably, the steps are repeated for a plurality of periodic measurement time cycles and the estimated smoothed valued computing step includes determining an estimated first reactant concentration within the precipitation vessel as a function of N

stored measured first reactant concentrations, first reactant feed stream flow rates, and second reactant feed stream flow rates. In one important embodiment, the first reactant comprises halide ion and the second reactant comprises silver ion, and the precipitation reaction produces silver halide. Other reactions are also referenced in the detailed description. Further, specific formulas are presented herein to compute the referenced smoothed value of first reactant reactor concentration and to control the amount of reactant added to the precipitation vessel.

In another aspect, apparatus is provided for controlling halide ion concentration during the precipitation of a silver halide in a precipitation vessel. The apparatus includes first and second feed means for controllably introducing silver ion and halide ion, respectively, into the precipitation vessel. Each feed means produces a signal representative of the respective ion flow rate into the vessel. An ion sensor is also positioned within the precipitation vessel for generating a signal representative of the amount of halide ion in solution therein. Storage means is provided to receive the signal outputs of the first and second feed means and the ion sensor. A processor communicates with the storage means and determines an estimated smoothed value of halide ion concentration within the reactor as a function of the stored ion sensor output, and the first and second feed stream flow rate signals. Lastly, flow control means is provided for controllably adjusting at least one of the first and second feed means as a function of the computed smoothed value of excess halide ion concentration within the precipitation vessel to optimize the relative

concentrations of reactants therein.

A primary object of the present invention is to provide a method and an apparatus for accurately controlling the relative concentrations of reactants within a precipitation reactor.

Another object to the present invention is to provide such a method and apparatus for adjustably controlling the inlet flow rate of at least one reactant to the precipitation vessel. A further object of the present invention is to provide such a method and apparatus which are less susceptible to measurement noise than prior art control techniques.

A more particular object of the present invention is to provide such a method and apparatus which are capable of accurately controlling halide ion inlet flow rate to a silver halide precipitation reaction occurring within the reactor.

Brief Description of the Drawings

The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of practice, together with further objects and advantages thereof, may best be understood by reference to the following description taken in connection with the accompanying drawings in which:

Figure 1 is a partial schematic representation of a system for controlling the concentration of halide ion in the precipitation of a silver salt solution and a halide salt solution;

Figure 2 is a graphical breakdown of the halide ion

concentration estimation approach of the present invention;

Figure 3 is a block diagram representation of the control components of the present invention; Figures 4a & 4b graphically depict an example of observed halide and silver flow rates and observed halide ion concentrations within the reactor and estimated halide ion concentrations over a sample measurement window; Figure 5 is functional flow diagram of the processing technique of the present invention;

Figures 6a & 6b graphically depict one example of reactant concentration control pursuant to the present invention; Figures 7a & 7b graphically depict a second example of reactant concentration control pursuant to the present invention;

Figures 8a & 8b graphically depict a third example of reactant concentration control pursuant to a conventional control algorithm;

Figures 9a & 9b graphically depict the same example as Figures 8a & 8b only, in contrast, using the concentration control method of the present invention; and Figures 10a & 10b graphically depict the difference in fluctuation between an observed reactor halide concentration measurement and an estimated halide concentration value computed pursuant to the present invention.

Best Mode of Carrying Out the Invention Referring to Figure 1, precipitation and growth of silver halide (AgX) grains is generally carried out in a

stirred tank reactor 10 with two continuously flowing inlet or feed streams, namely, an aqueous silver nitrate stream 12 and an aqueous salt stream 14, which typically comprises a solution of one or more halide salts (for example, NaBr and/or Nal) . Reactor 10 includes a precipitation vessel 16 which holds the emulsion mix 18 at a substantially constant temperature. This is guaranteed by a temperature controller 20 which controls fluid movement within jacket 17 about vessel 16, i.e., via a valve 22. Emulsion mix 18 is agitated by a mixer 19.

Aqueous halide salt solution 14 is pumped from a storage vessel 24 to precipitation vessel 16 by means of a pump 26. Pump 26 responds to a power signal from a flow control circuit 30, which itself is controlled by a reactant concentration controller or process controller 32. A flow meter 28 is disposed at the output of pump 26 between the pump and precipitation vessel 16. Silver nitrate solution 12 is pumped in a similar manner from a storage vessel 34 by a pump 36 which is controlled by a flow controller 40. Flow controller 40 also receives signals from concentration controller 32. A flow meter 38 is disposed between pump 36 and precipitation vessel 16. Submerged in mixture 18, within vessel 16, is a reactant concentration sensor 50. In one embodiment, sensor 50 comprises a halide ion concentration sensor. Sensor 50 and a temperature probe 51 are coupled to controller 32 via an appropriate buffer/interfacing device (not shown) . The interfacing device functions to transform the analog signals from sensor 50 and probe 51 into corresponding digital signals.

Although an important application, the

precipitation reaction depicted in Figure 1, and in large part described in detail herein, is considered merely exemplary of a precipitation reaction to be controlled pursuant to the method and apparatus of the present invention. The techniques presented herein are equally applicable to other precipitation reactions wherein a first reactant and second reactant precipitate in a reactor in a batch process having the stoichiometric form: A + + B " + C + + D " → CB + A + + D " . For example, the process will function equally well for a mixture of acids and bases, such as that encountered in waste water treatment or in certain industrial processes. One reaction with a similar stoichiometric equation is a mixture of hydrochloric acid and sodium hydroxide to produce water, a sodium ion and a chlorine ion. The claims appended hereto are intended to encompass a family of reactions having the same or an analogous stoichiometry to the above equation. For convenience, however, the detailed embodiments set forth herein will be presented in terms of the precipitation of silver halide.

As described further below, the processing technique of the present invention includes two particularly novel parts, namely an on-line estimator, and an adaptive control law. The on-line estimator contains a model of the reactor and the reactions occurring within it. This model contains one parameter which is assumed "unknown" but for which a "best estimated value" can be calculated so as to best fit the most recent observed dynamic behavior of the reactions within reactor 10. The past N values of reactor inputs (i.e., reactor feed stream flow rates, e.g., silver flow & halide flow) and the reactor output from sensor 50

(e.g. , halide ion concentration within the reactor) are used as data to be fit by the model. Solving for the "best estimated value" of the parameter for a given set of input/output data is referred to as solving the parameter estimation problem. Each time a new reactor concentration measurement and a new set of inlet flow readings become available, a new parameter estimation problem is solved based upon the most recent N data values. In a preferred embodiment, whenever the parameter estimation problem is solved, the calculated parameter value is substituted back into the model, and the model is applied to the stored input data to calculate a best estimate of the curre ,t halide concentration in the reactor. This estimate of halide concentration is dramatically quieter than the "raw" value, because it is basec on the N last data points (for both input and output signals of the reactor) instead of simply the most recent output data point (e.g., measured halide ion concentration) . Yet, it is able to instantly respond to true concentration changes unlike a simple digital filter or other similar technique. It is this quieter value that is then used in the calculation of the required salt feed flow rate adjustment. Prior art sensitivity to errors in concentration and flow rate measurements is avoided by modifying the equations used to compute t e required salt feed flow rate adjustment. The equations are in essence modified each time a new value of the model parameter is calculated. These equations are written so as to be a function of this parameter, and if the estimate of this parameter is accurate, then the required adjustment to the salt feed flow rate can be computed even in the

presence of errors in the measured flow rates and feed concentrations.

In comparison the current practice is simply not to have an estimator at all. The most recent measured (observed) value is typically used directly, without any regard to the fact that it is likely contaminated with measurement noise. This approach has several disadvantages which are noted in the background section hereof.. The present approach, on the other hand, makes full use of the available information via a mathematical model of the precipitation reactor. This is illustrated graphically in Figure 2, which shows that the process model uses three inputs (namely the reactor's condition at the start of the sample window, and the time histories of the two reactant feed streams F χ (t) , F Ag (t)) to compute (via the equation set forth) a predicted or model behavior for the reactor's halide concentration, C χ mod . This prediction is compared with the observed actual behavior, C χ obs , over the same interval. An estimator is then used to adjust the model in such a way as to minimize the square of the difference between the model's predictions and the actual behavior. Finally, this adjusted model is used to provide a smoothed estimate of the reactor's current concentration. This process will now be described further with reference to the block diagram of Figure 3. The procedure is to "run" a model of the process in parallel with the real process (i.e., in parallel with actual delivery of Ag and X to reactor 10 via systems 11 & 13, respectively) . and to give the model the same input flow history seen by the real process. This is the "Model of Reactor Behavior" block 102 in Figure 3.

The model will predict some halide concentration behavior, and this halide concentration behavior will be used as the best estimate of the halide concentration in the real reactor. 5 However, no model is perfect, and any model's predictions would eventually "drift" away from the behavior of the real process. To overcome this limitation, the model is continually adjusted to bring its predictions as closely as possible into agreement 10 with the recent behavior of the process. This adjustment is accomplished by an "Estimator" 100.

The estimator's computed adjustment is also used to adjust the "Control Law" 104. This makes the control law adaptive, and removes its vulnerability to drifts in 15 flow measurement calibration, and small errors in preparation of the reactants. With this adjustment, the control law can eliminate offset in the reactor concentration from the desired value.

As used herein, the following terms will have the 20 meanings set forth:

C χ (t) = reactor halide ion concentration at time t; vol(t) = reactor liquid volume at time t; Δt = time interval of interest; 25 F χ = flow rate of halide salt feed stream;

C A v ,r = concentration of halide salt feed stream;

F A.„g - flow rate of silver nitrate feed stream;

C A.„g, c F = nominal concentration of silver nitrate feed stream; 3 _0„ C*.„g# - F = trruuee ccoonncceennttiration of silver nitrate feed strea ; and

•5C A.g = errrroorr iinn nnoommiinal silver feed concentration. Consider the silver halide precipitation reaction:

M*X ~ + Aςr + NOi ~ AgX + M + N0 3 (1)

Here "M" typically denotes sodium or potassium, and "X" indicates iodine, bromine or chlorine. For present purposes, distinguishing between halide salts or mixtures of halide salts is unnecessary. However, two assumptions are made. First, the reaction is assumed to go irreversibly to completion and, second, the reaction is assumed to run under conditions of "salt excess" where the stoichiometric amount of M*X " present in the reactor exceeds the amount of silver nitrate present.

Starting with these assumptions, the model is then built on the definition of concentration of free halide ions in the reactor at time t:

( t) . moles x( t) (2) volume ( t) Now, by simply subtracting the total amount of moles of silver nitrate delivered up to time t from the sum of the number moles of halide initially present, and the number of moles of salt delivered from the start to time t, the net total moles of halide ions remaining in the reactor at time t is obtained. (This provides the numerator of Equation 2.) If any volume change due to reaction is neglected, and the volumes delivered and initial volume present are summed, the total reactor volume at time t is known as well. (This provides the denominator of Equation (2).) Equation (2) can therefore be written:

' c x,F f o c F x ( t ) d t j, c ) ÷ C x ( 0) vol (0 ) Asr ' FJ ° A9 ( 3 )

( t (F x ( t) + F A ( t) ) dt + vol ( O)

Jo

This expression shows how the halide concentration in the reactor at time (t) can, in principle, be calculated from these three pieces of information: the starting reactor conditions, the flow history of the halide salt feed stream and the flow history of the silver nitrate feed stream. An assumption is next made that the reactant flow rates are perfectly measured, and that the concentration of the salt feed stream is perfectly known. Also, the true concentration of the AgN0 3 feed stream, d A F , is assumed to be not well known, but is in fact equal to its nominal concentration plus some unknown error, denoted 6C A :

-Ag. F C Ag,F + δC a (4)

Substituting this into equation (3) and expanding yields:

For purposes of computer implementation it is convenient to replace the definite integrals in this formula with discrete approximations (where t = nΔt) :

n

(6 )

/, V x ( t) t - ∑ F X(i Λt o 2-1

n

F Ag { t) dt ■ Σ (7 )

/. *r.i Δ t i-l

Fx v ,ι - and FA.„g, ,ι- refer to the flow rates of the salt feed stream and the silver nitrate feed stream, respectively, during the ith time interval. Replacing the integrals in equation (5) with these approximations yields:

(C XI F X, + C Xι0 vol (0)

- C AσιF ∑ F , 6C Ag ∑ F Affti A t (8)

-χ,n

Now, for notational convenience the following two terms are defined:

Ideal Hal ide Excess r ~ (9)

n vol. ∑ (F A 1 g.i ^ t voJ(O) (10) i-l

These terms have direct physical interpretations. The Ideal_Halide_Excess n is the number of moles of free halide ion that are expected to be present in the reactor at the nth time sample if the nominal silver nitrate feed concentration, C A F , was exactly correct

(i.e. , δC Ag 0) The second term is simply the total volume of liquid present in the reactor at the end of

the nth interval. Now using these two terms, the expression for C χ n becomes:

IdealJIalideJ5xcess n - C Ag (Σj. 1 F Ag i A t) (11 x ' n voT Ω

This can be arranged into: n Δfc( Σ F A gιi )bC A - Ide α .JIalide_Excess n - (C x n ) (vol n ) (12

J-l

Equation (12) is true for any and all values of n:

1 Δt( Σ F Agl )bC Ag - Ideal Ialide_Excess 1 - (C x>1 ) {vol x ) (13)

2

Δt( Σ F A ± )δC A - ldeal_Halide_Excess 2 - (C x 2 ) (vol 2 ) (14) i-l

3 Δϋ( Σ F Ag )bC Ag - Ideal_Halide m J!xcess 3 - (C x 3 ) (vol 3 ) (15) i-l

The following changes of variables are made for notational convenience:

1-1

Jb,* - Ideal Halide Excess^ - {C-. -•) (vol.)

Now equations (13) to (15) can be compactly rewritten in matrix form:

Letting the column vector on the left side of this equation be denoted A, and the vector on the right side B, this ' expression can be solved in a least squares sense for -SC A (superscript T denotes the matrix transpose) . bC 'A Α g σ - [A τ A] - 1 A τ B (17)

This is the well known "normal equation" for linear least squares parameter estimation. But in this context, the expression is rather striking. What it means is that the parameter estimation calculation step, required to keep the model properly tracking the actual reactor behavior, is reduced to a simple one-line expression. This expression is very inexpensive to compute in real-time. This is the equation which is implemented by "Estimator" block 100 in Figure 3.

Now that tSC A is defined consideration can be given as to how it is used to compute the best estimate of the reactor conditions. (In other words, the implementation of "Model of Reactor Behavior" block 102 will now be described.) Returning to equation (11) and rearranging slightly yields:

(18)

Once again, this expression holds for any and all values

of n:

Ideal Halide ^ Excess I, _ f _i r (∑i J -"ι 1 .F Λ - g σ - * 1 A t) ( 19

'x, 1 , Eat vo^ Λ? vσi j

(20

(21

The following definitions are made for convenience:

Ideal Halide Excess,* f j - vol.

(∑ F Agt l A t) vol.

Equations (19) to (21) can be rewritten in matrix form

The nth estimate of the reactor concentration can be computed by simply evaluating this expression for the case where j = n. So this expression also has very low computational cost. This is how block 102 in Figure 3, is implemente .

To summarize, the estimator first uses equation (17) to compute the current value of <5C Ag . Next, this

value of C A „is used in equation (22) for the case where j = n, which results in the best estimate of the current reactor halide concentration. This process is repeated at every sampling interval. One question which immediately arises in evaluation of equation (17) is: Which point in time should be defined as the "initial point"? There are basically two approaches: either use the beginning of the batch; or use the reactor state as it was N samples ago. (If N samples ago was before the start of the batch, then use the batch starting conditions.)

An important feature of the approach described here is that only N past data values are retained. The alternative of retaining all past values since the beginning of the batch is rejected in favor of this approach because by retaining only N past values an upper limit is put on the number of past points to be used and this limits the required computational cost. This also has the effect of only using the most recent data, which allows a simplified model to be used which provides good local fit to the observed reactor behavior, even if the model is incapable of fitting the reactor's behavior over a long period of operation. In practice, the value selected for N will depend on the sample-rate of the process computer. A typical value for a sample-rate of once every 5 seconds is to take N = 10. However, N can range, for example, anywhere up to around 200 at higher sampling rates. A reasonable rule of thumb is to retain data over approximately the past minute.

Since only the N past samples are being retained, a question arises when one goes to evaluate any of the Ideal_Halide_Excess^ terms and the batch has been in

progress for longer than N samples. This is the issue of what to use for the "starting value" or C χ 0 .

Figures 4A & 4B illustrate the problem. Figure 4A is drawn for the case of N = 10, wherein the 10th sample in the batch is being processed. In this figure, the squares represent the last 10 measurements of the silver nitrate feed stream flow rate. The diamonds are the last 10 halide salt feed stream flow rates and the circles are the last 10 halide ion concentration, C χ , observations. The circles, diamonds and squares together represent the data required by the estimator in order for it to compute its best estimate of the true behavior of the reactor over the interval covered by the last 10 samples. (This estimate is shown in this figure as the X's connected by a solid line.) However, there is one more piece of information required before the estimates can be computed, and that is the reactor's initial halide concentration, C χ ø,at the beginning of the interval. In Figure 4A, it is easy to see that C χ 0 simply corresponds to the reactor's starting halide concentration at the beginning of the batch.

But consider the situation 5 sample times later, as shown in Figure 4B. Now, the beginning of the interval corresponds to the point where t - 5 instead of the beginning of the batch. There are several possibilities for C χ o**- 11 this case. One possibility is to simply use the measurement of C χ at t = 5. However, this is not the best choice, since the raw concentration measurements are known to be corrupted by noise. A better choice is to take advantage of the estimator and use an estimated value for this term. The particular estimated value to be selected is the one from 5 sample times ago, at the point t = 5, i.e., at the center of

the 10-sample interval. This is depicted graphically by the vertical dashed line connecting Figure 4A with 4B. The circle at t = 5 in Figure 4A is not used, however, for a value for C χ Q in Figure 4B. Instead the estimated value at t = 5 in Figure 4A is chosen for C χ Q in Figure 4B. In the general case, the value for C χ o v ^- L - L t,e ^• e following: the estimate as of N/2 samples ago of the reactor halide concentration for that point in time. How the results of "Estimator" block 100 and "Adaptive Control Law" block 104 are used to improve control will next be examined.

At each time step, the process computer must set the desired salt flow rate. Ideally, the computer selects a flow rate that will hold the reactor halide concentration at the desired set point value, or if the current value differs from the set point value, a salt flow rate will be chosen that moves the reactor halide concentration towards the desired set point value. The control law is the equation which is used at each time step to compute the value for the desired salt flow rate for the next sample interval. This equation is evaluated at each sample time to see what value should be sent to the salt flow controller for the next control interval. The control law is based on the same definition of concentration as the estimation, i.e., equation (2). Equation (2) can be evaluated at the time t + t as well:

In equation (23) , the integrals are simply to account for the salt and silver feeds added during the interval from t to t + it. If an assumption is made that F Ag and F χ will be constant over [t,t + δt] , then these integrals reduce to simple multiplications. The following substitution can also be made: let C χ (t + <St) = C χ Set . This is done to ascertain the salt flow rate required to force the reactor concentration at the end of the interval to be at the desired set point. With these changes equation (23) becomes:

(C x (t)vol(t) Cχ, F x t)

- C AgιF F A bt (24)

-X, Set bt(F x F Ag )dt vol ( fc)

This equation is now solved for F χ on the left hand side, yielding:

which may be rearranged into the following form:

^Ag,F + C XιSet ) + vol(&) ( , (Se£ - C x (t))

F x " F Ag (c (26)

X.F -X, Set bt(C Xιi -XrSθt )

The current practice makes two simplifying changes to this equation:

• For C A F simply use: C Ag F . (This assumes there is no error in the nominal silver nitrate feed

concentration.)

• For C χ (t) simply use the most recent measured value. (Nothing is done about any noise in this observation.)

This results in the following formula for the current control law: ( 2 ?

However, with the estimator a significantly better approximation is obtainable. First note that the first term in equation (27) above must be effected by any error in the nominal silver nitrate feed concentration, C Ag F . In practice, this quantity is never perfectly correct. However, the estimator is designed to adjust this very value to give the best fit to the most recent observed reactor behavior, and this can be used in the control law. Also, the most recent observed reactor concentration does not have to be used, i.e., the estimator's best estimate of the true reactor concentration can be used instead. Summarizing, the new alternatives to the above two simplifications are:

• For C A p use: C A F + δC A (Include best estimate of error in first term) .

• For C χ (t) use: C χ Est (Use the best estimate of reactor state) .

Under these substitutions equation (27) becomes: r _ F ^ g . F + ^C Ag ) -r C Xι Sθt ) vol ( t) ( C Xι Set - C Xι Est ( t) ) (28 x Ag ( r t -χ. F - r ~-χ. Set )' b u • -l c°x, F - C ~-χ, Set' ,

Equation (28) is the proposed new adaptive control law. It is adaptive because the <SC A term is used, which as noted above tracks recent reactor behavior. It gives a

smoother calculated F χ value because it uses the estimated reactor halide concentration instead of the raw direct observations. It is Equation (28) which is implemented in block 104 of Figure 3. In summary, Figure 5 presents a flowchart of the processing technique of present invention. Subsequent start of a processing cycle, 120 "Start of Processing Cycle," control processor 32 (see Figure 1) obtains an observed or measured value of the halide ion concentration, the flow rate of the halide feed stream and the flow rate of the silver feed stream, 122 "Obtain Digital Values Representative of C χ , F χ & F A ." These new values for C χ , F χ & F A are then added to the list of N most recent values, with the oldest values being discarded upon receipt of the newest, 124 "Add New C χ , F χ , F A Values to Lists of N Most Recent Values; Throw Out Oldest Entry in Each List." After updating the list, processor 32 computes the error in silver ion concentration within the precipitation reactor. This is accomplished using equation (17) set forth above, 126 "Compute <SC A using equation (17)." As discussed, computation of the error in silver concentration requires the processor to obtain starting conditions for the N sample window under process, 128 "Obtain Starting Condition for N Sample Window." After computing the error in silver concentration, the processor computes an estimated value for halide ion concentration within the reactor using equation (22), 130 "Compute C χ Est n Using Equation (22)." Subsequent determining a smoothed, estimated value for the concentration of halide within the reactor, the processor calculates an optimal flow rate for the halide salt feed stream, 132 "Compute F χ Using Equation (28)," and the salt delivery set point is

set to this calculated optimal flow rate F χ , 134 "Set

Salt Delivery System Set Point to F ." The processor then is directed to wait for the next time interval, 136

"Wait Time Sample Interval," and then return to 120, "Start of Processing Cycle," via 138.

The on-line estimator concept is extendible to multiple feed streams. The necessary modifications to blocks 100 & 102 of Figure 3 to accomplish this will now be explained. For purposes of illustration consider the case of three silver nitrate feeds and three halide salt feeds. The extension to other numbers of feeds will follow by obvious analogy. The main changes are in the

Ideal—Halide—Excess„n and Voln terms as defined in equations (9) & (10) . The following new terms for this section are defined:

F χ1 = flow rate of 1st salt stream (control salt) ;

F χ2 = flow rate of 2nd salt stream;

F^ = flow rate of 3rd salt stream;

C χ1 = concentration of 1st salt (control salt) ; C χ2 = concentration of 2nd salt;

C^ = concentration of 3rd salt;

F Ag1 = flow rate of 1st silver stream;

F A 2 = flow rate of 2nd silver stream;

F A 3 = flow rate of 3rd silver stream; C Ag1 = concentration of 1st silver;

C A 2 = concentration of 2nd silver;

C A 3 = concentration of 3rd silver; δC A ., = error in nominal concentration of silver feed 1. Using these definitions. Equations (9) & (10) become for the multiple feed case:

C - x x l l t . F F ∑ F xlιi At)

Ideal_Hali de_Excess B (29)

~ C AgltF ∑ F Aglιi At)

~ Ag2 , F ^^.--. Ag2 , ±At)

- Ag3 , F ( i-- . F Ag3 ,At)

+ C Xt0 vol(0)

vol n - Σ (F Agl, yF A 2t yF Ag3ti + F xlι yF x2ιi + F x3ιi )At + vol(0) (30) 1-1

These terms have the same interpretations as before. The Ideal_Halide_Excess n is the number of moles of free halide ions that would be expected to be present in the reactor at the nth time if the nominal silver nitrate feed concentration, C A . f , was exactly correct (i.e., δc Agl = 0) . Equation (30) is simply the total volume of liquid present in the reactor at the end of the nth interval. Now, using these two terms, the expression for C χ n becomes:

Ideal_Halide_Exces _s n _ - bC Agl (∑i. 1 F Agl l A t) (31)

-χ,n

Equation (31) can be rearranged into:

Δt(∑-i 5 ^ ! ,i) δ * C Agl - Ideal_Halide_Excess n - ( C Xιa ) ( vol n ) (32) This equation is true for any and all values of n:

At(∑i. 1 F A lri )bC Agl - Idealjialide^xcess^ - (C x l ) (vol (3

At(Σ 1 F Aglti )bC Agl - Ideal Ialide_Excess 2 - (C Xι2 ) (vol 2 ) (3

Δt(∑i. 1 ag . 1#i )δC Λg . 1 - Ideal_Halide_βxcess 2 - (c x 3 ) (vol 3 ) (3

The following changes of variables are made for notational convenience :

a,-Δt Σ J Agl.i J i-l

Now equations (33) to (35) can be compactly rewritten in matrix form:

(36)

This expression can be "solved" in a least squares sense bc -A A g σ l 1 - IA AΪ-WB (37 This expression is then used the same way as equation

(17).

The remainder of the processing proceeds as before, except that <SC A is replaced with <SC A ., and F A . is replaced with F A , .. The basic derivation of the control law equation for the case of multiple salt and silver streams will

next be presented. Once again, for purposes of illustration, the case of three salt and three silver feed streams is considered. The extension to other numbers of feeds proceeds by obvious analogy. In any case, only one salt stream is selected for manipulation to control reactor halide concentration. This is denoted the "control salt."

The objective is to calculate the required value for F χl over the next time step, such that the reactor halide concentration will be brought to the set point. Applying a simple mass balance over the interval from t to t + it gives:

(38)

Rearranging equation (38) by cross multiplying, gathering terms with F χ1 alone on the left, and finally solving for F χ1 alone, yields:

Equation (39) could be coded into a process computer as is, but the convention is to replace the reciprocal of δt in the first term on the right with a simple proportionality constant, K c which is referred to as the "feedback gain" since the first term is the only term with the observed error in it. The result is the current control law for the case where multiple salt and silver streams are active at the same time. The extension to additional streams of salt or silver is straightforward from equation (39) .

The same improvements that were made in Equations (27) to (28) can be applied here as well: • For C Ag use: C Ag1 + δC Ag1 (Include best estimate of error in first silver feed concentration) . • For C χ (t) use: C χ Est (Use the best estimate of reactor state) . Under these substitutions equation (39) becomes:

Equation (40) is the form of the new adaptive control law in the case of multiple salt and silver nitrate feed streams.

Three examples of actual reactor concentration control during the precipitation of silver bromide will now be presented to illustrate the performance advantage of the new method. The data from all of these examples were taken on a pilot scale silver halide precipitation reactor equipped with a process computer to make measurements of flow rates and concentrations, and to perform the computations required for both the conventional and new methods of concentration control. For all of the examples presented, there were two feed streams: one of 3.5 molar silver nitrate, and the other of 3.5 molar potassium bromide. In every case, the process computer was sampling the reactor concentration and recomputing the salt feed flow set point at a rate of once per second. The computer was sampling and adjusting both feed flow rates at a speed of 10 times per second. Example 1

In this example, the control system is attempting

to hold the reactor halide concentration at 0.248 millimoles per liter while the silver feed rate into the reactor is held at a constant 1.5 kilograms per minute (kg/min) . In Figure 6A, the actual C χ measurements, as well as the desired set point, C χ set , are plotted versus time in seconds. The noise in the concentration measurement is readily seen in this graph. In Figure 6B, the measured flow rates for the salt and silver feed streams are shown. Note the smooth silver feed flow rate compared to the salt feed flow rate. This is because the silver flow rate set point is held at a constant 1.5 kg/min, while the salt feed flow rate is recomputed and changed once every second by the process computer in response to measured changes in the C χ signal and, as is readily seen in Figure 6A, the C χ signal is noisy.

Note, however, that after approximately 140 seconds, the salt stream's level of variation is dramatically reduced. This is because it is at the 140 second point that the control algorithm was switched from the conventional method to the new method (Eqs. (17), (22) and (28), with 1/δt = 0.4,N = 60) as described above. Comparison of Figures 6A and 6B shows that switching to the new control algorithm causes no loss of control of reactor halide concentration, but does give a dramatic reduction in salt flow variability. Example 2

In this example, the control system is attempting to hold the reactor halide concentration at 0.120 millimoles per liter while the silver feed rate into the reactor is held at a constant 0.3 kg/min. However, in this case the process computer has been intentionally misinformed about the concentration of the silver

nitrate feed. Instead of entering the true value of 3.5 molar for C A , a value of 3.325 molar has been isentered , a 5 percent error. This is to simulate the effects of an error in feed preparation. In Figure 7A, the actual C χ measurements, as well as the desired set point, C χ set , are plotted versus time in seconds. This time at t = 252 seconds the control algorithm was switched from the conventional method to the new method (Eqs. (17), (22) and (28), with 1/δt = 0.4, N = 60) as described above. Then, at t = 685 seconds, return was made to the conventional control algorithm. Note that when conventional control is in effect, the concentration stays below the desired set point and the conventional approach cannot eliminate this sustained offset from the set point. It is only when the new algorithm is running that this offset from the set point is eliminated. This is because only the new algorithm can properly adapt to the error in C Ag . In fact, the conventional algorithm cannot even hold the correct set point even when the process is already there when the conventional algorithm takes over. (When return was made to the conventional algorithm at t = 685 seconds, the reactor concentration fell back down to its old offset position.) This is because the conventional approach will always be using the incorrect value of

3.325 molar for C χ whereas the new processing technique quickly adapts to the correct value of 3.5 molar.

In Figure 7B, the measured flow rates for the salt and silver feed streams are shown. Note the relative smoothness in the silver feed flow rate compared to the salt feed rate, especially outside the interval from t = 252 to t = 685 seconds. This is because the silver flow rate set point is held at a constant 0.3 kg/min,

while the salt feed flow rate is recomputed and changed once every second by the process computer in response to measured changes in the C χ signal and, as is readily seen in Figure 7A, the C χ signal is noisy. Note, however, that during the interval from t = 252 seconds to t = 685 seconds the salt stream's level of variation is dramatically reduced. This is because it is during this interval that the control algorithm was switched from the conventional method to the new method (Eqs. (17), (22) and (28), with 1/δ = 0.4,N = 60) . Comparison of Figures 7A and 7B shows that switching to the new control technique gives an improvement in control quality (the offset from set point is eliminated) , while at the same time provides a dramatic reduction in salt flow variability. Example 3

This example compares the set point tracking abilities of the two different halide concentration control methods. Two similar set point tracking experiments are presented, one with conventional concentration control, and the other with the new concentration control method.

Figures 8A & 8B present the experiment using the conventional control algorithm. In Figure 8A, the observed reactor halide concentration is shown for a set point trajectory that begins by holding C χ set at 0.7 millimoles per liter, then lowering it along a programmed trajectory to 0.248 millimoles per liter, holding there and then increasing along another programmed trajectory back to 0.7 millimoles per liter. This is done while holding the silver nitrate feed flow rate constant at 0.3 kg/min. Figure 8A shows that the observed reactor halide concentration, although noisy,

does follow the desired set point profile well.

In Figure 8B the measured flow rates for the salt and silver feed streams are shown for the duration of the experiment. Note the relative smoothness of the flow rate for the silver feed compared to the salt feed flow rate. This is because the silver flow rate set point is held at a constant 0.3 kg/min, while the salt feed flow rate is recomputed and changed once every second by the process computer in response to measured changes in the C χ signal and, as is readily seen in Figure 8A, the C χ signal is noisy.

In Figures 9A & 9B the results for a similar experiment, but using the new processing technique of the present invention, are presented. In Figure 9A, a similar set point trajectory to that of Figure 8A is shown. Once again, the observed reactor halide concentration, while rather noisy, does follow the desired set point profile well.

In Figure 9B the measured flow rates for the salt and silver feed streams are shown for the duration of the experiment. In comparing Figure 9B to Figure 8B, it will be observed that in Figure 9B the salt feed flow rate is almost as smooth as the silver flow rate, even though it is the salt flow rate that is being used to control the reactor halide concentration. This is because in Figure 9B, the new method (Eqs. (17), (22) and (28), with 1/δt = 0.4,N = 60) is being used to compute the salt flow set points at each time sample, instead of the conventional method. The difference between the raw reactor halide concentration measurement, C χ (Figure 10A) , and the new technique's estimated reactor halide concentration, C χ Est (Figure 10B) over the same period is shown in

Figures 10A & 10B. There are two important things to note here. First, the estimated concentration is much quieter than the raw observations. Second, there is no lag in the response of the estimated concentration. In other words, C χ Est tracks the reactor's behavior without delay. Because of these properties, the estimated concentration is clearly a better signal to use for control purposes.

Industrial Applicability

The present invention provides a method and an apparatus for accurately controlling the relative concentrations of reactants within a precipitation reactor. It provides for adjustably controlling the inlet flow rate of at least one reactant to the precipitation vessel. The method and apparatus are less susceptible to measurement noise than prior art control techniques. In particular, the method and apparatus are capable of accurately controlling halide ion inlet flow rate to a silver halide precipitation reactions occurring within the reactor.

While the invention has been described in detail herein in accordance with certain preferred embodiments thereof, many modifications and changes therein may be effected by those skilled in the art. Accordingly, it is intended by the appended claims to cover all such modifications and changes as fall within the true spirit and scope of the invention.