US20120273351A1 - Fluid Property Determination Based on Partial Least Squares Analysis - Google Patents

Fluid Property Determination Based on Partial Least Squares Analysis Download PDF

Info

Publication number
US20120273351A1
US20120273351A1 US13/094,367 US201113094367A US2012273351A1 US 20120273351 A1 US20120273351 A1 US 20120273351A1 US 201113094367 A US201113094367 A US 201113094367A US 2012273351 A1 US2012273351 A1 US 2012273351A1
Authority
US
United States
Prior art keywords
characteristic
model
fluid medium
wavelength
concentration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US13/094,367
Other versions
US10746653B2 (en
Inventor
Paul R. Kraus
Victor N. Morin
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecolab USA Inc
Original Assignee
Ecolab USA Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ecolab USA Inc filed Critical Ecolab USA Inc
Priority to US13/094,367 priority Critical patent/US10746653B2/en
Assigned to ECOLAB USA INC. reassignment ECOLAB USA INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KRAUS, PAUL R., MORIN, VICTOR N.
Publication of US20120273351A1 publication Critical patent/US20120273351A1/en
Application granted granted Critical
Publication of US10746653B2 publication Critical patent/US10746653B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/33Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using ultraviolet light
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F2209/00Controlling or monitoring parameters in water treatment
    • C02F2209/001Upstream control, i.e. monitoring for predictive control
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F2209/00Controlling or monitoring parameters in water treatment
    • C02F2209/003Downstream control, i.e. outlet monitoring, e.g. to check the treating agents, such as halogens or ozone, leaving the process
    • CCHEMISTRY; METALLURGY
    • C02TREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02FTREATMENT OF WATER, WASTE WATER, SEWAGE, OR SLUDGE
    • C02F2209/00Controlling or monitoring parameters in water treatment
    • C02F2209/28CH4
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0275Fault isolation and identification, e.g. classify fault; estimate cause or root of failure
    • G05B23/0281Quantitative, e.g. mathematical distance; Clustering; Neural networks; Statistical analysis

Definitions

  • This disclosure relates to an optical sensor and, more particularly, to the use of an optical sensor to determine a fluid characteristic.
  • Aqueous cleaning solutions are used in a variety of situations. For example, in different applications, aqueous cleaning solutions are used to clean, sanitize, and/or disinfect kitchens, bathrooms, schools, hospitals, factories, and other similar facilities.
  • Aqueous cleaning solutions typically include one or more chemical species dissolved in water. The chemical species impart various functional properties to the water such as cleaning properties, antimicrobial activity, and the like.
  • Ensuring that an aqueous cleaning solution is appropriately formulated for an intended application can help ensure that the cleaning solution provides suitable cleaning and/or disinfecting properties.
  • the sterilizing ability of some aqueous cleaning solutions varies according to temperature, pH, and the concentration of chemical species dissolved in water, among other factors. Accordingly, measuring the different characteristics of the aqueous cleaning solution before use can be beneficial to understand the properties of the solution and to determine if adjustment is required.
  • chemical titration or other invasive techniques can be used to determine some properties of an aqueous cleaning solution, these techniques are typically laborious and prone to error. Further, these techniques do not always allow for rapid analysis of an aqueous cleaning solution, which would be helpful for time sensitive applications.
  • this disclosure is directed towards optical sensors and optical-based techniques for determining a characteristic of a fluid solution such as, e.g., an aqueous cleaning solution.
  • the techniques include determining an unknown characteristic in a test solution using a model that is based on a partial least squares analysis of transmission measurements through one or more reference solutions having a known characteristic (e.g., pH, concentration).
  • a known characteristic e.g., pH, concentration
  • the partial least squares analysis may establish a relationship between one or more known characteristics and optical transmission measurements. The relationship can then be employed with transmission measurements subsequently taken on a sample with an unknown characteristic to determine an estimate of the unknown characteristic.
  • a method in one example according to the disclosure, includes directing light into a fluid medium, detecting light at each of a plurality of wavelengths transmitted through the fluid medium and producing therefrom a plurality of detector outputs, and determining a characteristic of the fluid medium based on the plurality of detector outputs and a characteristic model.
  • the characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.
  • a sensor in another example, includes an emitter that directs light into a fluid medium, a detector that detects light at each of a plurality of wavelengths transmitted through the fluid medium and produces therefrom a plurality of detector outputs, and a controller that determines a characteristic of the fluid medium based on the plurality of detector outputs and a characteristic model.
  • the characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.
  • a system in another example, includes an electrolytic cell and an optical sensor.
  • the electrolytic cell is configured to generate an anolyte stream and a catholyte stream.
  • the optical sensor includes an emitter that directs light into at least one of the anolyte stream or catholyte stream, a detector that detects light at each of a plurality of wavelengths transmitted through the at least one of the anolyte stream or catholyte stream and produces therefrom a plurality of detector outputs, and a controller that determines a characteristic of the at least one of the anolyte stream or catholyte stream based on the plurality of detector outputs and a characteristic model.
  • the characteristic model provides an estimate of the characteristic of the at least one of the anolyte stream or catholyte stream based on a partial least squares analysis of optical transmission measurements through at least one reference solution having a known characteristic.
  • FIG. 1 is a diagram illustrating an example fluid system that includes an optical sensor according to examples of the disclosure.
  • FIG. 2 is a plot of relative proportions of different chlorine species versus pH for an example hypochlorous acid solution.
  • FIG. 3 is a block diagram illustrating an example optical sensor that may be used in the example fluid system of FIG. 1 .
  • FIG. 4 is a flow diagram illustrating an example process by which an optical sensor determines a characteristic model.
  • FIG. 5 is a flow diagram illustrating an example process by which an optical sensor determines an estimate of an unknown characteristic based on a characteristic model.
  • FIG. 6 is a plot of absorbance versus optical wavelength for an example hypochlorous acid solution at three different pH values.
  • FIG. 7 is a flow diagram illustrating an example method for determining wavelengths that an optical sensor can emit and/or detect through a fluid solution to determine an unknown characteristic in the fluid solution.
  • FIGS. 8A-8C are plots of example absorbance versus wavelength data for twelve different fluid solutions.
  • FIG. 9 is an image of an example characteristic model showing example determined model constants and model coefficients.
  • FIG. 10 is a plot of example estimated pH values versus actual pH values for a plurality of samples.
  • FIG. 11 is a plot of example estimated hypochlorite concentrations versus actual hypochlorite concentrations for the plurality of samples of FIG. 10 .
  • Fluid solutions are used in a variety of different industries for a variety of different applications.
  • fluid solutions that include chlorine are often used to clean and disinfect various surfaces and equipment.
  • the chemical form of the chlorine can affect the cleaning and disinfecting properties of the fluid solution.
  • hypochlorous acid generally exhibits increased antimicrobial activity over the conjugate base hypochlorite ion (e.g., sodium hypochlorite).
  • Antimicrobial activity functions to kill or inhibit the growth of different microorganisms.
  • hypochlorite in a fluid solution the solution may exhibit increased effectiveness as a detergent compared to when chlorine is present as hypochlorous acid. Accordingly, ensuring that a fluid solution is appropriately formulated for an intended application can help ensure that the fluid solution provides suitable cleaning and disinfecting properties in subsequent use.
  • This disclosure describes an optical sensor for determining a characteristic of a fluid medium (also referred to herein as a “fluid solution” or “fluid”).
  • a fluid solution also referred to herein as a “fluid solution” or “fluid”.
  • this disclosure describes methods, systems, and apparatuses related to an optical sensor that may be used to determine a characteristic of a fluid medium.
  • the optical sensor can be used to determine one or more characteristics of the fluid medium such as, e.g., pH, the concentration of one, two, or more chemical species, or the like.
  • the optical sensor directs light into the fluid medium, detects light at each of a plurality of wavelengths transmitted through the fluid medium to produce a plurality of detector outputs, and then determines a pH of the fluid medium based on the plurality of detector outputs.
  • the optical sensor directs light into the fluid medium, detects light at each of a plurality of wavelengths transmitted through the fluid medium to produce a plurality of detector outputs, and then determines both a pH and a concentration of a chemical species of the fluid medium based on the plurality of detector outputs.
  • the optical sensor determines a characteristic using a characteristic model (e.g., pH model, concentration model).
  • the characteristic model may be based on a partial least squares analysis of transmission measurements through one or more reference solutions having a known characteristic (e.g., pH, concentration). For example, during development of the characteristic model, the partial least squares analysis may establish a relationship between the known characteristic and transmission measurements. The relationship can then be employed with transmission measurements subsequently taken on a sample with an unknown characteristic to determine an estimate of the unknown characteristic.
  • Example optical sensors and sensing methods will be described in greater detail below with respect to FIGS. 3-11 .
  • an example fluid system including an example electrolytic cell and optical sensor will first be described with respect to FIG. 1 .
  • FIG. 1 is a conceptual diagram illustrating an example fluid system 100 , which may be used to produce on-site cleaning and/or sanitizing fluid solutions.
  • Fluid system 100 includes optical sensor 102 , electrolytic cell 104 , controller 106 , and pump 108 .
  • Electrolytic cell 104 includes an anode compartment 110 and a cathode compartment 112 for generating an anolyte solution and a catholyte solution, respectively.
  • Optical sensor 102 is optically connected to fluid pathway 114 exiting anode compartment 110 and is configured to determine one or more characteristics of the anolyte solution traveling through the fluid pathway. In operation, optical sensor 102 communicates the determined characteristic to controller 106 , and controller 106 controls fluid system 100 based on the determined characteristic.
  • Controller 106 is communicatively connected to optical sensor 102 , electrolytic cell 104 , and pump 108 .
  • Controller 106 includes processor 107 and memory 109 .
  • Controller 106 communicates with pump 108 via a connection 111 .
  • Signals generated by optical sensor 102 are communicated to controller 106 via a wired or wireless connection, which in the example of FIG. 1 is illustrated as wired connection 113 .
  • Memory 109 stores software for running controller 106 and may also store data generated or received by processor 107 , e.g., from optical sensor 102 .
  • Processor 107 runs software stored in memory 109 to manage the operation of system 100 .
  • Electrolytic cell 104 electrolyzes an electrolytic solution under the control of controller 106 .
  • Electrolytic cell 104 includes an anode 118 in anode compartment 110 and a cathode 120 in cathode compartment 112 .
  • Anode 118 and cathode 120 are separated by membrane 119 .
  • electrolytic cell 104 may be a diaphragm cell, bipolar cell, membrane cell, mercury cell, or any other suitable electrolytic cell.
  • electrolytic cell 104 is configured to electrolytically generate chlorine and an alkali metal hydroxide.
  • an electrolytic solution that includes an alkali metal chloride such as, e.g., potassium chloride or sodium chloride enters electrolytic cell 104 through fluid pathway 122 .
  • Electrical current is thereafter controllably directed through the electrolytic solution in electrolytic cell 104 to generate chlorine and a alkali metal hydroxide.
  • the reaction proceeds according to the following general equation:
  • Chlorine is formed at anode 118 in anode compartment 110 and exits electrolytic cell 104 through fluid pathway 114 .
  • the alkali metal hydroxide and hydrogen are formed at or near cathode 120 in cathode compartment 112 and exit electrolytic cell 104 through fluid pathway 116 .
  • the diatomic chlorine formed at anode 118 may dissolve in the aqueous anolyte solution to form hypochlorous acid (HOCl) and/or hypochlorite ions ( ⁇ OCl).
  • HOCl hypochlorous acid
  • ⁇ OCl hypochlorite ions
  • Changing the pH of the solution can shift the equilibrium so that either diatomic chlorine, hypochlorous acid, or hypochlorite ions becomes the dominate form of chlorine in the solution.
  • changing the pH of the solution can shift the equilibrium reaction so that one or two of the chlorine species dominate over one or two of the other chlorine species, even though the other chlorine species may still be present in the solution.
  • hypochlorous acid exhibits better antimicrobial properties than a solution of hypochlorite ions.
  • a solution of hypochlorite ions generally exhibits better detergent properties than hypochlorous acid. Accordingly, monitoring the anolyte solution flowing through fluid pathway 114 can help ensure that the anolyte solution has an appropriate formulation for a desired application.
  • monitoring the pH of the anolyte solution flowing through fluid pathway 114 can help ensure that the anolyte solution has the appropriate chlorine species (e.g., hypochlorous acid or hypochlorite ions), as pH may dictate which chlorine species predominates in the equilibrium reaction.
  • monitoring the concentration of one or more chlorine species in the anolyte solution flowing through fluid pathway 114 can help ensure that the anolyte solution will provide appropriate chemical or biological activity for an intended application. Additional or different characteristics of the anolyte solution may also be monitored.
  • fluid system 100 includes optical sensor 102 to monitor the anolyte solution.
  • optical sensor 102 is configured to determine one or more characteristics of the anolyte solution flowing through fluid pathway 114 .
  • Example characteristics include, but are not limited to, pH, and the concentration of one or more chemical (e.g., chlorine) species.
  • Sensor 102 communicates the detected characteristics to controller 106 via connection 113 .
  • processor 107 of controller 106 may compare the detected characteristic to one or more thresholds stored in memory 109 . Based on the comparison, controller 106 may adjust fluid system 100 , e.g., so that the detected characteristic matches a target value for the characteristic. In some examples, controller 106 starts and/or stops pump 108 to adjust the pH of the anolyte solution flowing through fluid pathway 114 . Starting pump 108 mixes comparatively basic catholyte solution (e.g., NaOH) with the anolyte solution to increase the pH of the anolyte solution.
  • comparatively basic catholyte solution e.g., NaOH
  • controller 106 adjusts the concentration of electrolytic solution entering electrolytic cell 104 (e.g., by increasing or decreasing the concentration of an alkali metal salt in the solution) to adjust the concentration of one or more species in the electrolytic solution. In still other examples, controller 106 adjusts the electrical operation of electrolytic cell 104 to adjust a characteristic of the anolyte solution produced by the cell.
  • Optical sensor 102 may be implemented in a number of different ways in fluid system 100 .
  • optical sensor 102 is positioned in-line with fluid pathway 114 to determine a characteristic of the anolyte solution flowing through the fluid pathway.
  • Optical sensor 102 may be positioned in other locations to detect characteristics of other fluid solutions in addition to or in lieu of the anolyte solution flowing through fluid pathway 114 .
  • optical sensor 102 is positioned to detect a characteristic of the catholyte fluid flowing through fluid pathway 116 and/or an electrolytic solution flowing through fluid pathway 122 in addition to or in lieu of the anolyte solution flowing through fluid pathway 114 .
  • optical sensor 102 is implemented as a non-invasive, on-line monitoring tool for monitoring one or more characteristics of the anolyte solution generated by electrolytic cell 104 .
  • optical sensor 102 is implemented as an off-line monitoring tool for monitoring one or more characteristics of the anolyte solution generated by electrolytic cell 104 .
  • a sample of anolyte solution may be taken from fluid pathway 114 and evaluated using one or more devices that, either alone or in combination, embody the techniques of optical sensor 102 .
  • Fluid system 100 includes pump 108 .
  • Pump 108 may be any form of pumping mechanism that supplies fluid to be mixed with anolyte solution.
  • pump 108 may comprise a peristaltic pump or other form of continuous pump, a positive-displacement pump, or other type of pump appropriate for the particular application.
  • pump 108 draws comparatively alkaline catholyte solution and delivers it to a comparatively acidic anolyte solution to increase the pH of the anolyte solution.
  • pump 108 draws comparatively alkaline solution from a different source such as, e.g., a tank, and delivers it to a comparatively acidic anolyte solution to increase the pH of the anolyte solution.
  • Fluid pathways in fluid system 100 may be any type of flexible or inflexible tubing or piping.
  • fluid pathways 114 , 116 , and 122 may be transparent or translucent.
  • optical sensor 102 may be positioned to direct light directly through the fluid pathway, rather than extracting a sample (e.g., slip stream) from the fluid pathway for analysis.
  • the pH of the anolyte solution flowing through fluid pathway 114 may dictate the suitably of the fluid solution for certain cleaning and/or sanitizing applications. This is because the pH of the anolyte solution may dictate the primary species of chlorine that exists in the solution.
  • FIG. 2 is a plot of the relative proportion of different chlorine species versus pH for an example hypochlorous acid solution.
  • diatomic chlorine is the dominate species of chlorine at pH values below approximately 4.52
  • hypochlorous acid is the dominate species of chlorine between pH values of approximately 4.52 and approximately 7.4.
  • hypochlorite e.g., sodium hypochlorite
  • Hypochlorous acid is generally considered to have superior antimicrobial activity over an alkali metal hypochlorite. Therefore, for antimicrobial compositions, it may be desirable for the anolyte flowing through fluid pathway 114 to have a pH between approximately 4.52 and approximately 7.4 such as, e.g., between 5.5 and 6.5. By contrast, for detergent compositions, it may be desirable for the anolyte flowing through fluid pathway 114 to have a pH greater than approximately 7.4 such as, e.g., a pH greater than 9.0.
  • optical sensor 102 determines a characteristic of the anolyte flowing through fluid pathway 114 (e.g., pH, concentration, or the like) and controller 106 controls fluid system 100 based on the determined characteristic and, e.g., a target characteristic stored in memory 109 .
  • FIG. 3 is block diagram illustrating an example of a sensor 200 that determines a characteristic of a fluid medium.
  • Sensor 200 may be used as optical sensor 102 in fluid system 100 , or sensor 200 may be used in other applications beyond fluid system 100 .
  • sensor 200 may be used in any application to determine a characteristic that includes one or more (e.g., multiple) chemical species in equilibrium.
  • the one or more chemical species may include on or more halide species such as, e.g., one or more chlorine species or one or more bromine species, although other chemical species are also contemplated.
  • sensor 200 includes a controller 220 , one or more optical emitters 222 (referred to herein as “optical emitter 222 ), and one or more optical detectors 224 (referred to herein as “optical detector 224 ”).
  • Controller 220 includes a processor 226 and a memory 228 .
  • Optical emitter 222 directs light into fluid pathway 230 and optical detector 224 receives transmitted light on the opposite side of the fluid pathway.
  • the components of sensor 200 may be implemented on a single printed circuit board (PCB) or may be implemented using two or more PCB boards. Further, in some examples, sensor 200 communicates with external devices, such as controller 106 ( FIG. 1 ).
  • Memory 228 stores software and data used or generated by controller 220 .
  • memory 228 may store one or more characteristic models 232 (collectively referred to herein as “characteristic model 232 ”) used by controller 220 to determine one or more characteristics of the fluid medium passing through fluid pathway 230 .
  • Characteristic model 232 provides an estimate of a fluid characteristic from light detected by optical detector 224 .
  • characteristic model 232 is in the form of an equation that relates one or more fluid characteristics to light transmission measurements taken by optical detector 224 .
  • characteristic model 232 is generally described below as a model that is determined by sensor 200 and stored in memory 228 of the sensor. In other examples, characteristic model 232 may be determined separately from sensor 200 (e.g., using a laboratory spectrophotometer and computing device) and stored in memory 228 and/or a separate computing device communicatively coupled to sensor 200 . Therefore, although sensor 200 is described below as being configured to determine characteristic model 232 and further being configured to determine an unknown characteristic based on characteristic model 232 , it should be appreciated that the disclosure is not limited to such an example sensor. In different examples, hardware and/or software operating outside of sensor 200 may be utilized to implement functions attributed to sensor 200 in this disclosure.
  • the characteristic model may be based on an analysis of baseline detection values produced by optical detector 224 and processed by controller 220 .
  • the baseline detection values may be detected by optical detector 224 when one or more fluid solutions having a known characteristic of interest are passed through fluid pathway 230 . These fluid solutions having a known characteristic of interest may be referred to as reference solutions.
  • processor 226 of controller 220 or a processor of another computing device can analyze the detection values to establish a relationship between the known characteristic and the detection values. For example, processor 226 may perform a partial least squares analysis to determine a relationship between the known characteristic and the detection values. The determined relationship can then be stored as characteristic model 232 .
  • Processor 226 runs software stored in memory 228 to perform functions attributed to sensor 200 and controller 220 in this disclosure.
  • Components described as processors within controller 220 , controller 106 , or any other device described in this disclosure may each include one or more processors, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic circuitry, or the like, either alone or in any suitable combination.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable gate arrays
  • programmable logic circuitry or the like, either alone or in any suitable combination.
  • Optical emitter 222 includes at least one optical emitter that emits radiation having a specified wavelength or wavelength range. In some examples, optical emitter 222 emits radiation over continuous range of wavelengths. In other examples, optical emitter 222 emits radiation at a plurality of discrete wavelengths. For example, optical emitter 222 may emit at two, three, four or more discrete wavelengths.
  • Optical emitter 222 can emit light at any suitable wavelength, as described in greater detail below.
  • optical emitter 222 emits light within the ultraviolet (UV) spectrum.
  • Light within the UV spectrum includes wavelengths in the range from approximately 10 nm to approximately 400 nanometers.
  • Light emitted by optical emitter 222 propagates through fluid pathway 230 of sensor 200 and may be detected by optical detector 224 .
  • the amount of radiation detected by optical detector 224 depends on the contents of the fluid pathway running through sensor 200 . If the fluid pathway contains a fluid solution that has certain properties (e.g., a certain pH and/or a certain concentration of chemical species), optical detector 224 will detect a certain level of radiation emitted from optical emitter 222 . However, if the fluid solution has different properties (e.g., a different pH and/or a different concentration of the chemical species), optical detector 224 will detect a different level of radiation emitted from optical emitter 222 .
  • UV ultraviolet
  • Optical detector 224 includes at least one optical detector that detects radiation within associated wavelength ranges within the UV light spectrum. Optical detector 224 detects radiation that is emitted by optical emitter 222 and that has propagated through fluid pathway 230 and any fluid solution in the fluid pathway. Optical detector 224 may be implemented using multiple detectors, one for each wavelength or wavelength range, or may be implemented using a single detector such as, e.g., a detector that is programmable to detect multiple wavelength ranges.
  • Controller 220 controls the operation of optical emitter 222 and receives signals concerning the amount of light detected by optical detector 224 .
  • controller 220 further processes signals, e.g., to develop characteristic model 232 and/or to determine a characteristic of a fluid solution passing through fluid pathway 230 using characteristic model 232 .
  • controller 220 may perform various signal processing functionalities, as described herein, controller 220 need not be configured to perform any or all of the described functionalities.
  • signal processing e.g., to develop characteristic model 232 and/or to determine a characteristic of a fluid solution based on characteristic model 232 may be performed outside of sensor 200 .
  • controller 106 FIG.
  • controller 220 may perform one or more functions generally attributed to controller 220 in this disclosure. Accordingly, it should be appreciated that functions attributed to controller 220 herein are for ease of description, and the described functions may, in fact, be implemented within sensor 200 or within one or more separate devices, which may or may not be communicatively coupled to sensor 200 .
  • controller 220 controls optical emitter 222 and optical detector 224 to create characteristic model 232 .
  • controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at the plurality of wavelengths.
  • Sensor 200 may be so informed, for example, via manual input from a user.
  • Controller 220 processes signals concerning the amount of light detected by optical detector 224 to determine light transmission at each of the plurality of different wavelengths.
  • controller 220 may process signals concerning the amount of light detected by optical detector 224 to determine the amount or percentage of light absorbed by the fluid solution at each of the plurality of different wavelengths.
  • Controller 220 may also process signals concerning the amount of light detected by optical detector 224 to determine the amount or percentage of light transmittance through the fluid solution at each of the plurality of different wavelengths.
  • Controller 220 may store the light transmission data in memory 228 .
  • controller 220 After determining the amount of light detected by optical detector 224 through the reference solution, controller 220 processes the light detection information to develop a relationship between the known characteristic in the reference solution and the light detection information. Controller 220 stores the relationship as characteristic model 232 in memory 228 .
  • controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a reference solution having a known pH. Controller 220 then processes the light detection information to develop a relationship between the known pH and the amount of light detected at each of the plurality of different wavelengths and stores the relationship as a pH model in memory 228 .
  • controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a reference solution having a known concentration of one or more chemical species.
  • the known concentration of a chemical species may be a known concentration of a chlorine species such as, e.g., diatomic chlorine, hypochlorous acid, and/or hypochlorite.
  • Controller 220 then processes the light detection information to develop a relationship between the known concentration and the amount of light detected at each of the plurality of different wavelengths and stores the relationship as a concentration model in memory 228 .
  • controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a reference solution having a plurality of known characteristics (e.g., two, three, four or more known characteristics).
  • a plurality of known characteristics may include a known pH and a known concentration of a chlorine species.
  • Controller 220 then processes the light detection information to develop a relationship between each of the plurality of known characteristics and the amount of light detected at each of the plurality of different wavelengths and stores the relationships as a model in memory 228 .
  • a model may be referred to a solution model, which relates a plurality of characteristics in the fluid solution to light transmission at each of a plurality of different wavelengths.
  • controller 220 can use any suitable technique to develop a relationship between the known characteristics of the reference solution and the light detection information received from optical detector 224 .
  • controller 220 performs a partial least squares analysis to correlate one or more known characteristics in the reference solution to the light transmission at each of a plurality of wavelengths.
  • controller 220 may employ any suitable statistical software package such as, e.g., Minitab, Excel, or the like, to perform the partial least squares analysis.
  • partial least squares (PLS) analysis which is also referred to as partial least squares regression, is a multivariate data analysis technique that can be used to extract components (also called factors) that relate one or more response variables (Y) to several input variables (also called explanatory or predictor variables) (X). The technique attempts to identify the underlying factors, or a linear combination of the X variables, which best model the Y dependent variables. Partial least squares analysis can deal effectively with data sets where there are multiple input variables (X) and the input variables are highly correlated. Partial least squares analysis can also deal effectively with data sets where there are more input variables than response variables.
  • a partial least squares analysis may be useful in applications where there are more input variables than response variables.
  • a partial least squares analysis may be useful in applications where there are complex relationships among variables such as, e.g., in solutions with multiple species in equilibrium, because a partial least squares analysis may model relationships and reduce the dimensionality of data, helping to simplify an analysis and its comprehension.
  • controller 220 may be required to process more input variables than response variables. For this reason, controller 220 may perform a partial least squares analysis in these applications.
  • controller 220 treats the one or more known characteristics of the reference solution as a response variable(s) and the light transmission measurements as input variables. Controller 220 then performs the partial least squares analysis to correlate each of the response variables (i.e., each known characteristic of the reference solution) with the input variables (e.g., light transmission measurements at the plurality of different wavelengths).
  • Controller 220 processes the light transmission measurements and one or more known characteristics using partial least squares analysis techniques to develop characteristic model 232 .
  • Characteristic model 232 can have a number of different forms depending on the relationship between the known characteristic(s) of the reference solution and the light detected by optical detector 224 at each of the plurality of different wavelengths.
  • controller 220 may determine a characteristic model 232 that has the following form:
  • controller 220 determines the constant ⁇ 0 and an appropriate coefficient ⁇ i for each of the wavelengths emitted by optical emitter 222 and detected by optical detector 224 , e.g., using partial least squares analysis techniques. Controller 220 can then store the determined constant and coefficients as characteristic model 232 in memory 228 .
  • controller 220 determines separate characteristic models for each of the known characteristics.
  • each characteristic model has the same general form, such as the form indicated above.
  • controller 220 determines different constants and coefficients for each characteristic model. For instance, in the example of a cleaning solution that has a known pH and a known concentration of hypochlorite, controller 220 may determine a pH model and a concentration model that have the following general forms:
  • Controller 220 determines the constants ⁇ 0 1 and ⁇ 0 2 and appropriate coefficients ⁇ i 1 and ⁇ i 2 for each of the wavelengths emitted by optical emitter 222 and detected by optical detector 224 . Controller 220 then stores the determined constants and coefficients as a pH model and concentration model in memory 228 . In some examples, controller 220 determines both the pH model and concentration model based on the same set of light transmission measurements taken through the fluid solution.
  • Characteristic model 232 provides an estimate of a fluid characteristic from light detected by optical detector 224 .
  • Characteristic model 232 may be based on light detection information from a single reference solution having a known characteristic or from a plurality of reference solutions (e.g., two, three, four, or more references solutions) that each have a known characteristic.
  • characteristic model 232 may be based on light detection information from a plurality of reference solutions, where each of the plurality of reference solutions has the same known characteristic, and where each reference solution has a known characteristic that exhibits a different magnitude than the known characteristic of each of the other reference solutions.
  • controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at the plurality of wavelengths as the reference solution passes through fluid pathway 230 . Controller 220 then processes the light detection information, e.g., using partial least squares analysis techniques, to determine characteristic model 232 , as set forth above.
  • controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at the plurality of wavelengths as each of the plurality of references solution passes through fluid pathway 230 .
  • Controller 220 stores the light detection information from each of the plurality of reference solutions in memory 228 .
  • Controller 220 may also store a value for one or more known characteristics of each reference solution in memory 228 .
  • Controller 220 can receive the value of the one or more known characteristics for each reference solution, for example, via manual user input.
  • controller 220 After storing light detection information from a sufficient number of reference solutions, controller 220 processes the light detection information from all of the reference solutions to generate characteristic model 232 .
  • controller 220 treats the known characteristics of all of the reference solutions as response variables and the light transmission measurements from all of the reference solutions as input variables. Controller 220 then performs the partial least squares analysis to correlate the response variables with the input variables. Based on the analysis, controller 220 determines characteristic model 232 and stores the determined characteristic model in memory 228 .
  • controller 220 can reference the characteristic model to determine a magnitude of an unknown characteristic in a sample based on light transmission measurements taken on the sample. For instance, in one example, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a fluid solution having an unknown characteristic of interest. Controller 220 processes signals concerning the amount of light detected by optical detector 224 to determine light transmission at each of the plurality of different wavelengths. Thereafter, controller 220 determines an estimate of the unknown characteristic based on the determined light transmission measurements at each of the plurality of wavelengths and the characteristic model. In instances where the characteristic model is in the form of an equation that relates light transmission values to a specific characteristic, controller 220 can enter the determined light transmission values into the equation and solve the equation to provide an estimate of the unknown characteristic of interest.
  • FIG. 4 is a flow diagram illustrating an example process by which sensor 200 ( FIG. 3 ) determines characteristic model 232 .
  • optical emitter 222 directs light into a reference solution flowing through fluid pathway 230 ( 400 ).
  • the reference solution has a known pH and a known concentration of hypochlorite.
  • Optical emitter 222 may include, for example, an optical emitter that emits light in the UV wavelength range.
  • Optical detector 224 generates detector outputs based upon detection of light at a plurality of discrete wavelengths transmitted through the reference solution ( 402 ).
  • optical detector 224 may include a first detector that generates a first detector output corresponding to emitted light at a first wavelength or wavelength range transmitted through the reference solution.
  • Optical detector 224 may further include a second detector that generates a second detector output corresponding to emitted light within at a second wavelength or wavelength range transmitted through the reference solution.
  • Optical detector 224 may also include additional detectors that generate additional detector outputs (e.g., third, fourth, etc.) based on the amount of light received at additional wavelengths or wavelength ranges. Alternatively, a single detector may generate all or a subcombination of the detector outputs.
  • Optical emitter 222 optionally directs light into additional reference solutions flowing through fluid pathway 230 ( 404 ).
  • Each of the reference solutions has a known pH and a known concentration of hypochlorite.
  • at least one reference solution has a different pH than that of at least one other reference solution.
  • at least one reference solution has a different concentration of hypochlorite than that of at least one other reference solution.
  • optical emitter 222 directs light into the reference solution ( 400 ) and optical detector 224 generates detector outputs based upon detection of light at a plurality of discrete wavelengths transmitted through the reference solution ( 402 ).
  • Controller 220 determines characteristic model 232 based on the known characteristics of the reference solution(s) and the detector outputs determined by detecting light at a plurality of different wavelengths transmitted through each of the reference solution(s) ( 406 ). For example, controller 220 may perform a partial least squares analysis where the known pH and known concentration of hypochlorite of each of the reference solution(s) are treated as response variables and the detector outputs corresponding to each of the reference solutions at each of the plurality of discrete wavelengths are treated as input variables. In some examples, controller 220 performs a partial least squares analysis to determine the constants and coefficients for the following equations:
  • n is a number of discrete wavelengths for which transmission measurements are made
  • ⁇ 0 1 and ⁇ 0 2 are constants
  • ⁇ i 1 and ⁇ i 2 are coefficients for each respective wavelength
  • a i is the magnitude of light measured at each respective wavelength.
  • the first equation may be referred to as a pH model and the second equation may be referred to as a concentration model.
  • the determined constants and coefficients, with or without the corresponding equations, can be stored in memory 228 as characteristic model 232 .
  • FIG. 5 is a flow diagram illustrating an example process by which sensor 200 ( FIG. 3 ) determines an estimate of an unknown characteristic of interest based on characteristic model 232 .
  • optical emitter 222 directs light into a fluid solution flowing through fluid pathway 230 ( 500 ).
  • the fluid solution has a unknown pH and a unknown concentration of hypochlorite.
  • Optical detector 224 generates detector outputs based upon detection of light at a plurality of discrete wavelengths or wavelength ranges transmitted through the fluid solution ( 502 ).
  • the discrete wavelengths or wavelength ranges may be the same wavelengths or wavelength ranges detected by optical detector 224 in determining characteristic model 232 ( FIG. 4 ).
  • Controller 220 determines an estimate of the unknown pH and the unknown concentration of hypochlorite based on characteristic model 232 and the detector outputs determined by detecting light at the plurality of discrete wavelengths transmitted through the fluid solution ( 504 ). For instance, in examples where characteristic model 232 includes a pH model and a concentration model in the form of the two equations discussed above with respect to FIG. 4 , controller 220 can calculate an estimated pH for the fluid solution and an estimated concentration of hypochlorite in the fluid solution using the detector outputs and the equations. In some examples, controller 220 substantially simultaneously determines a pH estimate and a concentration estimate for a fluid solution based on the same set of light transmission measurements taken through the fluid solution.
  • optical emitter 222 may emit radiation over a range of wavelengths and, in some cases, may emit radiation at a plurality of discrete wavelengths.
  • Optical emitter 222 can emit radiation at any suitable wavelengths, and the wavelengths may vary, e.g., based on the chemical composition of the fluid solution being analyzed.
  • FIG. 6 is a plot of absorbances versus optical wavelengths for an example hypochlorous acid solution at three different pH values. The plot indicates that for the example hypochlorous acid solution, the optical response of the solution varies depending on the wavelength of light directed through the solution and the chemical composition of the solution. Specifically, for the example hypochlorous acid solution illustrated in FIG. 6 (in which hypochlorite species predominates at a pH of 9, hypochlorous acid species predominates at a pH of 6, and a substantially equal mixture of the two species exists at a pH of 7) the plot shows that optical response varies depending on the pH of the hypochlorous acid solution. The plot of FIG. 6 also illustrates an isobestic point at approximately 250 nm, which is a point where optical response is substantially independent of the pH of the hypochlorous acid solution.
  • optical emitter 222 ( FIG. 3 ) may emit, and optical detector 224 may detect, radiation at two or more wavelengths during operation. Increasing the number of wavelengths emitted and/or detected by sensor 200 may increase the accuracy of sensor 200 when analyzing a fluid solution that has an unknown chemical composition and/or unknown characteristic of interest.
  • Sensor 200 can be programmed to emit and/or detect light at any suitable wavelength.
  • sensor 200 emits and/or detects light through a fluid solution at two or more wavelengths, where at least one of the wavelengths is an isobestic point of the fluid solution.
  • sensor 200 emits and/or detects light through a fluid solution at two or more wavelengths, where at least one of the wavelengths corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a chemical species.
  • an optical response e.g., absorbance or transmittance
  • sensor 200 may emit and/or detect light at a first wavelength that corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a first chemical species and further emit and/or detect light at a second wavelength that corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a second chemical species.
  • Sensor 200 may emit and/or detect light at additional wavelengths (e.g., third wavelength, fourth wavelength, etc.) that correspond to an optical response (e.g., absorbance or transmittance) minimum or maximum of additional chemical species (e.g., third chemical species, fourth chemical species, etc.).
  • sensor 200 emits and/or detects light through a fluid solution at two or more wavelengths, where at least one of the wavelengths is an isobestic point of the fluid solution, and where at least one of the wavelengths corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a chemical species.
  • an optical response e.g., absorbance or transmittance
  • sensor 200 may emit and/or detect light through a fluid solution at three or more wavelengths, where a first wavelength corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a first chemical species (e.g., HOCl), a second wavelength corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a second chemical species (e.g., ⁇ OCl), and a third wavelength corresponds to an isobestic point of the fluid solution.
  • an optical response e.g., absorbance or transmittance
  • a second chemical species e.g., absorbance or transmittance
  • a third wavelength corresponds to an isobestic point of the fluid solution.
  • sensor 200 emits and/or detects light through a fluid solution at three or more wavelengths, where a first wavelength is between approximately 225 nm and approximately 245 nm such as, e.g., approximately 236 nm, a second wavelength is between approximately 245 nm and approximately 275 nm such as, e.g., approximately 257 nm, and a third wavelength is between approximately 275 nm and 325 nm such as, e.g., approximately 296 nm.
  • Sensor 200 may emit and/or detect light through the fluid solution at additional or different wavelengths. For example, sensor 200 may emit and/or detect light through the fluid solution at a fourth wavelength between approximately 220 nm and approximately 240 nm such as, e.g., 230 nm.
  • increasing the number of wavelengths emitted and/or detected by sensor 200 may increase the accuracy of sensor 200 when analyzing a fluid solution that has an unknown characteristic of interest.
  • increasing the number of wavelengths emitted and/or detected by sensor 200 may increase the computational burden and, hence, processing time for determine the unknown characteristic of interest in a fluid solution.
  • FIG. 7 is a flow diagram illustrating an example method for determining suitable wavelengths of light that sensor 200 ( FIG. 3 ) can emit and/or detect through a fluid solution to determine an unknown characteristic in the fluid solution.
  • optical emitter 222 directs light at a plurality of different wavelengths into a reference solution flowing through fluid pathway 230 ( 700 ).
  • the reference solution has a known pH and a known concentration of hypochlorite.
  • the plurality of different wavelengths may be at least 5 different wavelengths such as, e.g., at least 25 different wavelengths, at least 50 different wavelengths, or even at least 100 different wavelengths. Some or all of the different wavelengths may be within the UV light spectrum.
  • Optical detector 224 generates detector outputs based upon detection of light at each of the plurality of wavelengths transmitted through the reference solution ( 702 ). In some examples, optical detector 224 detects light at fewer wavelengths than are emitted by optical emitter 222 . In some examples, optical detector 224 detects light at least 5 different wavelengths such as, e.g., at least 25 different wavelengths, at least 50 different wavelengths, or even at least 100 different wavelengths
  • optical emitter 222 directs light at the plurality of different wavelengths and/or optical detector detects light at the plurality of different wavelengths through additional reference solutions flowing through fluid pathway 230 that each have different known pH values and/or known concentrations of hypochlorite.
  • Controller 220 determines characteristic model 232 based on the known characteristics of the reference solution(s) and the detector outputs determined by detecting light at the plurality of different wavelengths transmitted through each of the reference solution(s) ( 704 ). For example, controller 220 may perform a partial least squares analysis where the known pH and known concentration of hypochlorite of each of the reference solution(s) are treated as response variables and the detector outputs corresponding to each of the reference solutions at each of the plurality of wavelengths are treated as input variables. In some examples, controller 220 performs a partial least squares analysis to determine the constants and coefficients for the following equations:
  • n is a number of discrete wavelengths for which transmission measurements are made
  • ⁇ 0 1 and ⁇ 0 2 are constants
  • ⁇ i 1 and ⁇ i 2 are coefficients for each respective wavelength
  • a i is the magnitude of light measured at each respective wavelength.
  • optical emitter 222 directs light at a plurality of different wavelengths into a test solution flowing through fluid pathway 230 and optical detector 224 generates detector outputs based on the detection of light at the plurality of different wavelengths ( 706 ).
  • the test solution has a known pH and a known concentration of hypochlorite.
  • the plurality of different wavelengths are the same wavelengths emitted by optical emitter 222 and/or detected by optical detector 224 through the reference solution(s) to determine characteristic model 232 .
  • Controller 220 determines an estimate of the pH and the concentration of hypochlorite in the test solution based on characteristic model 232 and the detector outputs determined by detecting light at the plurality of different wavelengths transmitted through the fluid solution ( 708 ). For example, controller 220 can provide the detector outputs determined by detecting light at the plurality of different wavelengths transmitted through the test solution to the characteristic model equations and solve the equations.
  • the estimated pH and estimated concentration of hypochlorite in the test solution are then compared to the known pH and known concentration of hypochlorite in the test solution, respectively, to determine the accuracy of the characteristic model ( 710 ).
  • the number of wavelengths and/or the specific range of wavelengths emitted and/or detected by sensor 200 can then be adjusted accordingly ( 712 ).
  • the number of wavelengths emitted and/or detected by sensor 200 are increased to increase the accuracy of characteristic model 232 .
  • the specific wavelengths emitted and/or detected by sensor 200 are varied to adjust (e.g., increase) the accuracy of characteristic model 232 .
  • the number of wavelengths emitted and/or detected by sensor 200 can be decreased to reduce the computation burden required to estimate a characteristic. For example, if one or more wavelengths exhibit a high correlation with another wavelength, the one or more highly correlated wavelengths can be omitted to reduce the computation burdened required by sensor 200 .
  • the process is then repeated to determine suitable wavelengths emitted and/or detected by sensor 200 ( 714 ).
  • the process is repeated to minimize the number of wavelengths emitted and/or detected by sensor 200 while still providing a characteristic model that has a suitable accuracy.
  • a suitable accuracy may be a characteristic model that provides a characteristic estimate within 25 percent of the known value of the characteristic such as, e.g., within 10 percent of the known value of the characteristic, or with 5 percent of the known value of the characteristic.
  • the process is repeated so that sensor 200 emits and/or detects only two different wavelengths, only three different wavelengths, or only four different wavelengths.
  • processors including one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable gate arrays
  • processors may generally refer to any of the foregoing logic circuitry, alone or in combination with other logic circuitry, or any other equivalent circuitry.
  • a control unit comprising hardware may also perform one or more of the techniques of this disclosure.
  • Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various operations and functions described in this disclosure.
  • any of the described units, modules or components may be implemented together or separately as discrete but interoperable logic devices. Depiction of different features as modules or units is intended to highlight different functional aspects and does not necessarily imply that such modules or units must be realized by separate hardware or software components. Rather, functionality associated with one or more modules or units may be performed by separate hardware or software components, or integrated within common or separate hardware or software components.
  • the techniques described in this disclosure may also be embodied or encoded in a non-transitory computer-readable medium, such as a computer-readable storage medium, containing instructions. Instructions embedded or encoded in a computer-readable storage medium may cause a programmable processor, or other processor, to perform the method, e.g., when the instructions are executed.
  • Non-transitory computer readable storage media may include volatile and/or non-volatile memory forms including, e.g., random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electronically erasable programmable read only memory (EEPROM), flash memory, a hard disk, a CD-ROM, a floppy disk, a cassette, magnetic media, optical media, or other computer readable media.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read only memory
  • EPROM erasable programmable read only memory
  • EEPROM electronically erasable programmable read only memory
  • flash memory e.g., a hard disk, a CD-ROM, a floppy disk, a cassette, magnetic media, optical media, or other computer readable media.
  • hypochlorous acid solution samples Four samples of hypochlorous acid solution were prepared having sodium hypochlorite concentrations of 25 parts per million (ppm), 50 ppm, 100 ppm, and 200 ppm, respectively. The pH of the four samples was adjusted to approximately 6.0. Additional samples having pH values of approximately 7.0 and approximately 9.0 were also prepared to provide a total of twelve hypochlorous acid solution samples.
  • FIGS. 8A-8C are plots of absorbance versus wavelength for each of the twelve different samples at a pH values of approximately 6.0, 7.0, and 9.0, respectively.
  • the raw spectral data were formatted into a 401 ⁇ 12 matrix with rows being wavelengths and columns being the 12 samples (i.e., the different pH and concentration combinations).
  • the cell entries in the matrix were absorbance readings at the specific wavelengths for each concentration/pH group (i.e., each sample).
  • the data were then transposed to provide 12 rows of concentration/pH groups and 401 columns of wavelengths.
  • the data were examined for correlations between the absorbance readings at different wavelengths.
  • the data showed high correlations among adjacent wavelengths and decreasing correlations as wavelengths became further apart from one another.
  • the correlation coefficient (r) between the absorbance reading at 200 nm and 231 nm was over 0.999, while the correlation between 200 nm and 254 nm was 0.487, and the correlation between 200 nm and 296 nm was 0.003.
  • a step-wise approach was employed to identify both the specific wavelengths and a minimal number of wavelengths for partial least squares analysis.
  • data from all 401 wavelengths were fit to a pH model and concentration model using partial least squares analysis techniques.
  • data from highly correlated wavelengths were removed from the data matrix, and the pH model and concentration model were recalculated (e.g., refit) using partial least squares analysis techniques and the reduced data set. The process was repeated until predictions (e.g., estimates) from the models deteriorated below a predetermined level such as, e.g., an R 2 value below 95%.
  • wavelengths were selected for the pH model and concentration model: 230 nm, 236 nm, 257 nm, and 296 nm.
  • the wavelengths exhibited acceptable model performance for the hypochlorous acid solutions under study while minimizing computational resources.
  • the pH model and concentration model were recalculated using partial least squares analysis techniques and the further reduced data set.
  • the example used the Minitab statistical software package, although other software packages could be used.
  • the response variables were the concentration and pH of each of the twelve samples, and the input variables were the absorbance readings at 230 nm, 236 nm, 257 nm, and 296 nm for each of the twelve samples.
  • the analysis results are illustrated in FIG. 9 .
  • FIG. 10 is a plot of the estimated pH versus the actual or known pH for each sample.
  • the data in FIG. 10 exhibit an R 2 value of approximately 92.3, although other examples have exhibited an R 2 value of at least 97.
  • FIG. 11 is a plot of the estimated hypochlorite concentration versus the actual or known hypochlorite concentration. The data in FIG. 11 exhibit an R 2 value of approximately 99.99.

Abstract

An optical sensor determines a characteristic of a fluid medium based on a plurality of detector outputs and a characteristic model. The optical sensor directs light into the fluid medium, detects light at each of a plurality of wavelengths transmitted through the fluid medium, and produces therefrom the plurality of detector outputs. The characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.

Description

    FIELD
  • This disclosure relates to an optical sensor and, more particularly, to the use of an optical sensor to determine a fluid characteristic.
  • BACKGROUND
  • Aqueous cleaning solutions are used in a variety of situations. For example, in different applications, aqueous cleaning solutions are used to clean, sanitize, and/or disinfect kitchens, bathrooms, schools, hospitals, factories, and other similar facilities. Aqueous cleaning solutions typically include one or more chemical species dissolved in water. The chemical species impart various functional properties to the water such as cleaning properties, antimicrobial activity, and the like.
  • Ensuring that an aqueous cleaning solution is appropriately formulated for an intended application can help ensure that the cleaning solution provides suitable cleaning and/or disinfecting properties. For example, the sterilizing ability of some aqueous cleaning solutions varies according to temperature, pH, and the concentration of chemical species dissolved in water, among other factors. Accordingly, measuring the different characteristics of the aqueous cleaning solution before use can be beneficial to understand the properties of the solution and to determine if adjustment is required. While chemical titration or other invasive techniques can be used to determine some properties of an aqueous cleaning solution, these techniques are typically laborious and prone to error. Further, these techniques do not always allow for rapid analysis of an aqueous cleaning solution, which would be helpful for time sensitive applications.
  • SUMMARY
  • In general, this disclosure is directed towards optical sensors and optical-based techniques for determining a characteristic of a fluid solution such as, e.g., an aqueous cleaning solution. In some examples, the techniques include determining an unknown characteristic in a test solution using a model that is based on a partial least squares analysis of transmission measurements through one or more reference solutions having a known characteristic (e.g., pH, concentration). For example, during development of the characteristic model, the partial least squares analysis may establish a relationship between one or more known characteristics and optical transmission measurements. The relationship can then be employed with transmission measurements subsequently taken on a sample with an unknown characteristic to determine an estimate of the unknown characteristic.
  • In one example according to the disclosure, a method is described that includes directing light into a fluid medium, detecting light at each of a plurality of wavelengths transmitted through the fluid medium and producing therefrom a plurality of detector outputs, and determining a characteristic of the fluid medium based on the plurality of detector outputs and a characteristic model. According to the example, the characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.
  • In another example, a sensor is described that includes an emitter that directs light into a fluid medium, a detector that detects light at each of a plurality of wavelengths transmitted through the fluid medium and produces therefrom a plurality of detector outputs, and a controller that determines a characteristic of the fluid medium based on the plurality of detector outputs and a characteristic model. In the example, the characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.
  • In another example, a system is described that includes an electrolytic cell and an optical sensor. The electrolytic cell is configured to generate an anolyte stream and a catholyte stream. The optical sensor includes an emitter that directs light into at least one of the anolyte stream or catholyte stream, a detector that detects light at each of a plurality of wavelengths transmitted through the at least one of the anolyte stream or catholyte stream and produces therefrom a plurality of detector outputs, and a controller that determines a characteristic of the at least one of the anolyte stream or catholyte stream based on the plurality of detector outputs and a characteristic model. In the example, the characteristic model provides an estimate of the characteristic of the at least one of the anolyte stream or catholyte stream based on a partial least squares analysis of optical transmission measurements through at least one reference solution having a known characteristic.
  • The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.
  • BRIEF DESCRIPTION OF DRAWINGS
  • The following drawings are illustrative of particular examples of the present invention and therefore do not limit the scope of the invention. The drawings are not to scale (unless so stated) and are intended for use in conjunction with the explanations in the following detailed description. Examples of the present invention will hereinafter be described in conjunction with the appended drawings, wherein like numerals denote like elements.
  • FIG. 1 is a diagram illustrating an example fluid system that includes an optical sensor according to examples of the disclosure.
  • FIG. 2 is a plot of relative proportions of different chlorine species versus pH for an example hypochlorous acid solution.
  • FIG. 3 is a block diagram illustrating an example optical sensor that may be used in the example fluid system of FIG. 1.
  • FIG. 4 is a flow diagram illustrating an example process by which an optical sensor determines a characteristic model.
  • FIG. 5 is a flow diagram illustrating an example process by which an optical sensor determines an estimate of an unknown characteristic based on a characteristic model.
  • FIG. 6 is a plot of absorbance versus optical wavelength for an example hypochlorous acid solution at three different pH values.
  • FIG. 7 is a flow diagram illustrating an example method for determining wavelengths that an optical sensor can emit and/or detect through a fluid solution to determine an unknown characteristic in the fluid solution.
  • FIGS. 8A-8C are plots of example absorbance versus wavelength data for twelve different fluid solutions.
  • FIG. 9 is an image of an example characteristic model showing example determined model constants and model coefficients.
  • FIG. 10 is a plot of example estimated pH values versus actual pH values for a plurality of samples.
  • FIG. 11 is a plot of example estimated hypochlorite concentrations versus actual hypochlorite concentrations for the plurality of samples of FIG. 10.
  • DETAILED DESCRIPTION
  • The following detailed description is exemplary in nature and is not intended to limit the scope, applicability, or configuration of the invention in any way. Rather, the following description provides some practical illustrations for implementing examples of the present invention. Examples of constructions, materials, dimensions, and manufacturing processes are provided for selected elements, and all other elements employ that which is known to those of ordinary skill in the field of the invention. Those skilled in the art will recognize that many of the noted examples have a variety of suitable alternatives.
  • Fluid solutions are used in a variety of different industries for a variety of different applications. For example, in the cleaning industry, fluid solutions that include chlorine are often used to clean and disinfect various surfaces and equipment. In these solutions, the chemical form of the chlorine can affect the cleaning and disinfecting properties of the fluid solution. For instance, when chlorine is present as hypochlorous acid, hypochlorous acid generally exhibits increased antimicrobial activity over the conjugate base hypochlorite ion (e.g., sodium hypochlorite). Antimicrobial activity functions to kill or inhibit the growth of different microorganisms. By contrast, when chlorine is present as hypochlorite in a fluid solution, the solution may exhibit increased effectiveness as a detergent compared to when chlorine is present as hypochlorous acid. Accordingly, ensuring that a fluid solution is appropriately formulated for an intended application can help ensure that the fluid solution provides suitable cleaning and disinfecting properties in subsequent use.
  • This disclosure describes an optical sensor for determining a characteristic of a fluid medium (also referred to herein as a “fluid solution” or “fluid”). In particular, this disclosure describes methods, systems, and apparatuses related to an optical sensor that may be used to determine a characteristic of a fluid medium. The optical sensor can be used to determine one or more characteristics of the fluid medium such as, e.g., pH, the concentration of one, two, or more chemical species, or the like. For instance, in one example, the optical sensor directs light into the fluid medium, detects light at each of a plurality of wavelengths transmitted through the fluid medium to produce a plurality of detector outputs, and then determines a pH of the fluid medium based on the plurality of detector outputs. In another example, the optical sensor directs light into the fluid medium, detects light at each of a plurality of wavelengths transmitted through the fluid medium to produce a plurality of detector outputs, and then determines both a pH and a concentration of a chemical species of the fluid medium based on the plurality of detector outputs.
  • Independent of the specific characteristics of the fluid medium determined by the optical sensor, in some examples, the optical sensor determines a characteristic using a characteristic model (e.g., pH model, concentration model). The characteristic model may be based on a partial least squares analysis of transmission measurements through one or more reference solutions having a known characteristic (e.g., pH, concentration). For example, during development of the characteristic model, the partial least squares analysis may establish a relationship between the known characteristic and transmission measurements. The relationship can then be employed with transmission measurements subsequently taken on a sample with an unknown characteristic to determine an estimate of the unknown characteristic.
  • Example optical sensors and sensing methods will be described in greater detail below with respect to FIGS. 3-11. However, an example fluid system including an example electrolytic cell and optical sensor will first be described with respect to FIG. 1.
  • FIG. 1 is a conceptual diagram illustrating an example fluid system 100, which may be used to produce on-site cleaning and/or sanitizing fluid solutions. Fluid system 100 includes optical sensor 102, electrolytic cell 104, controller 106, and pump 108. Electrolytic cell 104 includes an anode compartment 110 and a cathode compartment 112 for generating an anolyte solution and a catholyte solution, respectively. Optical sensor 102 is optically connected to fluid pathway 114 exiting anode compartment 110 and is configured to determine one or more characteristics of the anolyte solution traveling through the fluid pathway. In operation, optical sensor 102 communicates the determined characteristic to controller 106, and controller 106 controls fluid system 100 based on the determined characteristic.
  • Controller 106 is communicatively connected to optical sensor 102, electrolytic cell 104, and pump 108. Controller 106 includes processor 107 and memory 109. Controller 106 communicates with pump 108 via a connection 111. Signals generated by optical sensor 102 are communicated to controller 106 via a wired or wireless connection, which in the example of FIG. 1 is illustrated as wired connection 113. Memory 109 stores software for running controller 106 and may also store data generated or received by processor 107, e.g., from optical sensor 102. Processor 107 runs software stored in memory 109 to manage the operation of system 100.
  • Electrolytic cell 104 electrolyzes an electrolytic solution under the control of controller 106. Electrolytic cell 104 includes an anode 118 in anode compartment 110 and a cathode 120 in cathode compartment 112. Anode 118 and cathode 120 are separated by membrane 119. In various examples, electrolytic cell 104 may be a diaphragm cell, bipolar cell, membrane cell, mercury cell, or any other suitable electrolytic cell.
  • In the example of FIG. 1, electrolytic cell 104 is configured to electrolytically generate chlorine and an alkali metal hydroxide. In operation, an electrolytic solution that includes an alkali metal chloride such as, e.g., potassium chloride or sodium chloride enters electrolytic cell 104 through fluid pathway 122. Electrical current is thereafter controllably directed through the electrolytic solution in electrolytic cell 104 to generate chlorine and a alkali metal hydroxide. When the electrolytic solution includes sodium chloride, the reaction proceeds according to the following general equation:

  • 2NaCl+2H2O→Cl2+H2+2NaOH
  • Chlorine is formed at anode 118 in anode compartment 110 and exits electrolytic cell 104 through fluid pathway 114. The alkali metal hydroxide and hydrogen are formed at or near cathode 120 in cathode compartment 112 and exit electrolytic cell 104 through fluid pathway 116.
  • As will be described in greater detail below, the diatomic chlorine formed at anode 118 may dissolve in the aqueous anolyte solution to form hypochlorous acid (HOCl) and/or hypochlorite ions (OCl). In general, when diatomic chlorine dissolves in an aqueous solution, the diatomic chlorine is present in equilibrium with hypochlorous acid and hypochlorite ions. Changing the pH of the solution can shift the equilibrium so that either diatomic chlorine, hypochlorous acid, or hypochlorite ions becomes the dominate form of chlorine in the solution. In other words, changing the pH of the solution can shift the equilibrium reaction so that one or two of the chlorine species dominate over one or two of the other chlorine species, even though the other chlorine species may still be present in the solution.
  • In general, hypochlorous acid exhibits better antimicrobial properties than a solution of hypochlorite ions. Conversely, a solution of hypochlorite ions generally exhibits better detergent properties than hypochlorous acid. Accordingly, monitoring the anolyte solution flowing through fluid pathway 114 can help ensure that the anolyte solution has an appropriate formulation for a desired application.
  • In some examples, monitoring the pH of the anolyte solution flowing through fluid pathway 114 can help ensure that the anolyte solution has the appropriate chlorine species (e.g., hypochlorous acid or hypochlorite ions), as pH may dictate which chlorine species predominates in the equilibrium reaction. In some additional examples, monitoring the concentration of one or more chlorine species in the anolyte solution flowing through fluid pathway 114 can help ensure that the anolyte solution will provide appropriate chemical or biological activity for an intended application. Additional or different characteristics of the anolyte solution may also be monitored.
  • In the example of FIG. 1, fluid system 100 includes optical sensor 102 to monitor the anolyte solution. In this example, optical sensor 102 is configured to determine one or more characteristics of the anolyte solution flowing through fluid pathway 114. Example characteristics include, but are not limited to, pH, and the concentration of one or more chemical (e.g., chlorine) species. Sensor 102 communicates the detected characteristics to controller 106 via connection 113.
  • In response to receiving the detected characteristic, processor 107 of controller 106 may compare the detected characteristic to one or more thresholds stored in memory 109. Based on the comparison, controller 106 may adjust fluid system 100, e.g., so that the detected characteristic matches a target value for the characteristic. In some examples, controller 106 starts and/or stops pump 108 to adjust the pH of the anolyte solution flowing through fluid pathway 114. Starting pump 108 mixes comparatively basic catholyte solution (e.g., NaOH) with the anolyte solution to increase the pH of the anolyte solution. In some additional examples, controller 106 adjusts the concentration of electrolytic solution entering electrolytic cell 104 (e.g., by increasing or decreasing the concentration of an alkali metal salt in the solution) to adjust the concentration of one or more species in the electrolytic solution. In still other examples, controller 106 adjusts the electrical operation of electrolytic cell 104 to adjust a characteristic of the anolyte solution produced by the cell.
  • Optical sensor 102 may be implemented in a number of different ways in fluid system 100. In the example shown in FIG. 1, optical sensor 102 is positioned in-line with fluid pathway 114 to determine a characteristic of the anolyte solution flowing through the fluid pathway. Optical sensor 102 may be positioned in other locations to detect characteristics of other fluid solutions in addition to or in lieu of the anolyte solution flowing through fluid pathway 114. For instance, in some examples, optical sensor 102 is positioned to detect a characteristic of the catholyte fluid flowing through fluid pathway 116 and/or an electrolytic solution flowing through fluid pathway 122 in addition to or in lieu of the anolyte solution flowing through fluid pathway 114.
  • In addition, in some examples, optical sensor 102 is implemented as a non-invasive, on-line monitoring tool for monitoring one or more characteristics of the anolyte solution generated by electrolytic cell 104. In other examples, optical sensor 102 is implemented as an off-line monitoring tool for monitoring one or more characteristics of the anolyte solution generated by electrolytic cell 104. In such an example, a sample of anolyte solution may be taken from fluid pathway 114 and evaluated using one or more devices that, either alone or in combination, embody the techniques of optical sensor 102.
  • Fluid system 100 includes pump 108. Pump 108 may be any form of pumping mechanism that supplies fluid to be mixed with anolyte solution. For example, pump 108 may comprise a peristaltic pump or other form of continuous pump, a positive-displacement pump, or other type of pump appropriate for the particular application. In some applications, as illustrated in the example of FIG. 1, pump 108 draws comparatively alkaline catholyte solution and delivers it to a comparatively acidic anolyte solution to increase the pH of the anolyte solution. In other examples, pump 108 draws comparatively alkaline solution from a different source such as, e.g., a tank, and delivers it to a comparatively acidic anolyte solution to increase the pH of the anolyte solution.
  • Fluid pathways in fluid system 100 (e.g., fluid pathways 114, 116, and 122) may be any type of flexible or inflexible tubing or piping. Depending on the application, fluid pathways 114, 116, and 122 (or a portion thereof) may be transparent or translucent. With a transparent or translucent fluid pathway, optical sensor 102 may be positioned to direct light directly through the fluid pathway, rather than extracting a sample (e.g., slip stream) from the fluid pathway for analysis.
  • As briefly discussed above, the pH of the anolyte solution flowing through fluid pathway 114 may dictate the suitably of the fluid solution for certain cleaning and/or sanitizing applications. This is because the pH of the anolyte solution may dictate the primary species of chlorine that exists in the solution. FIG. 2 is a plot of the relative proportion of different chlorine species versus pH for an example hypochlorous acid solution.
  • As seen in the example plot of FIG. 2, diatomic chlorine is the dominate species of chlorine at pH values below approximately 4.52, while hypochlorous acid is the dominate species of chlorine between pH values of approximately 4.52 and approximately 7.4. At pH values above approximately 7.4, hypochlorite (e.g., sodium hypochlorite) is the most dominate species of chlorine.
  • Hypochlorous acid is generally considered to have superior antimicrobial activity over an alkali metal hypochlorite. Therefore, for antimicrobial compositions, it may be desirable for the anolyte flowing through fluid pathway 114 to have a pH between approximately 4.52 and approximately 7.4 such as, e.g., between 5.5 and 6.5. By contrast, for detergent compositions, it may be desirable for the anolyte flowing through fluid pathway 114 to have a pH greater than approximately 7.4 such as, e.g., a pH greater than 9.0.
  • In the example of FIG. 1, optical sensor 102 determines a characteristic of the anolyte flowing through fluid pathway 114 (e.g., pH, concentration, or the like) and controller 106 controls fluid system 100 based on the determined characteristic and, e.g., a target characteristic stored in memory 109. FIG. 3 is block diagram illustrating an example of a sensor 200 that determines a characteristic of a fluid medium. Sensor 200 may be used as optical sensor 102 in fluid system 100, or sensor 200 may be used in other applications beyond fluid system 100. For example, sensor 200 may be used in any application to determine a characteristic that includes one or more (e.g., multiple) chemical species in equilibrium. The one or more chemical species may include on or more halide species such as, e.g., one or more chlorine species or one or more bromine species, although other chemical species are also contemplated.
  • With reference to FIG. 3, sensor 200 includes a controller 220, one or more optical emitters 222 (referred to herein as “optical emitter 222), and one or more optical detectors 224 (referred to herein as “optical detector 224”). Controller 220 includes a processor 226 and a memory 228. Optical emitter 222 directs light into fluid pathway 230 and optical detector 224 receives transmitted light on the opposite side of the fluid pathway. The components of sensor 200 may be implemented on a single printed circuit board (PCB) or may be implemented using two or more PCB boards. Further, in some examples, sensor 200 communicates with external devices, such as controller 106 (FIG. 1).
  • Memory 228 stores software and data used or generated by controller 220. For example, memory 228 may store one or more characteristic models 232 (collectively referred to herein as “characteristic model 232”) used by controller 220 to determine one or more characteristics of the fluid medium passing through fluid pathway 230. Characteristic model 232 provides an estimate of a fluid characteristic from light detected by optical detector 224. In some examples, characteristic model 232 is in the form of an equation that relates one or more fluid characteristics to light transmission measurements taken by optical detector 224.
  • For ease of description, characteristic model 232 is generally described below as a model that is determined by sensor 200 and stored in memory 228 of the sensor. In other examples, characteristic model 232 may be determined separately from sensor 200 (e.g., using a laboratory spectrophotometer and computing device) and stored in memory 228 and/or a separate computing device communicatively coupled to sensor 200. Therefore, although sensor 200 is described below as being configured to determine characteristic model 232 and further being configured to determine an unknown characteristic based on characteristic model 232, it should be appreciated that the disclosure is not limited to such an example sensor. In different examples, hardware and/or software operating outside of sensor 200 may be utilized to implement functions attributed to sensor 200 in this disclosure.
  • In examples in which sensor 200 determines characteristic model 232, the characteristic model may be based on an analysis of baseline detection values produced by optical detector 224 and processed by controller 220. The baseline detection values may be detected by optical detector 224 when one or more fluid solutions having a known characteristic of interest are passed through fluid pathway 230. These fluid solutions having a known characteristic of interest may be referred to as reference solutions. Upon receiving baseline detection values, processor 226 of controller 220 (or a processor of another computing device) can analyze the detection values to establish a relationship between the known characteristic and the detection values. For example, processor 226 may perform a partial least squares analysis to determine a relationship between the known characteristic and the detection values. The determined relationship can then be stored as characteristic model 232.
  • Processor 226 runs software stored in memory 228 to perform functions attributed to sensor 200 and controller 220 in this disclosure. Components described as processors within controller 220, controller 106, or any other device described in this disclosure may each include one or more processors, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic circuitry, or the like, either alone or in any suitable combination.
  • Optical emitter 222 includes at least one optical emitter that emits radiation having a specified wavelength or wavelength range. In some examples, optical emitter 222 emits radiation over continuous range of wavelengths. In other examples, optical emitter 222 emits radiation at a plurality of discrete wavelengths. For example, optical emitter 222 may emit at two, three, four or more discrete wavelengths.
  • Optical emitter 222 can emit light at any suitable wavelength, as described in greater detail below. In one example, optical emitter 222 emits light within the ultraviolet (UV) spectrum. Light within the UV spectrum includes wavelengths in the range from approximately 10 nm to approximately 400 nanometers. Light emitted by optical emitter 222 propagates through fluid pathway 230 of sensor 200 and may be detected by optical detector 224. The amount of radiation detected by optical detector 224 depends on the contents of the fluid pathway running through sensor 200. If the fluid pathway contains a fluid solution that has certain properties (e.g., a certain pH and/or a certain concentration of chemical species), optical detector 224 will detect a certain level of radiation emitted from optical emitter 222. However, if the fluid solution has different properties (e.g., a different pH and/or a different concentration of the chemical species), optical detector 224 will detect a different level of radiation emitted from optical emitter 222.
  • Optical detector 224 includes at least one optical detector that detects radiation within associated wavelength ranges within the UV light spectrum. Optical detector 224 detects radiation that is emitted by optical emitter 222 and that has propagated through fluid pathway 230 and any fluid solution in the fluid pathway. Optical detector 224 may be implemented using multiple detectors, one for each wavelength or wavelength range, or may be implemented using a single detector such as, e.g., a detector that is programmable to detect multiple wavelength ranges.
  • Controller 220 controls the operation of optical emitter 222 and receives signals concerning the amount of light detected by optical detector 224. In some examples, controller 220 further processes signals, e.g., to develop characteristic model 232 and/or to determine a characteristic of a fluid solution passing through fluid pathway 230 using characteristic model 232. While controller 220 may perform various signal processing functionalities, as described herein, controller 220 need not be configured to perform any or all of the described functionalities. In different examples, signal processing, e.g., to develop characteristic model 232 and/or to determine a characteristic of a fluid solution based on characteristic model 232 may be performed outside of sensor 200. For example, controller 106 (FIG. 1) or another controller may perform one or more functions generally attributed to controller 220 in this disclosure. Accordingly, it should be appreciated that functions attributed to controller 220 herein are for ease of description, and the described functions may, in fact, be implemented within sensor 200 or within one or more separate devices, which may or may not be communicatively coupled to sensor 200.
  • In one example in which controller 220 processes signals, controller 220 controls optical emitter 222 and optical detector 224 to create characteristic model 232. When sensor 200 is informed of one or more known characteristics of a reference solution flowing through fluid pathway 230, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at the plurality of wavelengths. Sensor 200 may be so informed, for example, via manual input from a user. Controller 220 processes signals concerning the amount of light detected by optical detector 224 to determine light transmission at each of the plurality of different wavelengths. For example, controller 220 may process signals concerning the amount of light detected by optical detector 224 to determine the amount or percentage of light absorbed by the fluid solution at each of the plurality of different wavelengths. Controller 220 may also process signals concerning the amount of light detected by optical detector 224 to determine the amount or percentage of light transmittance through the fluid solution at each of the plurality of different wavelengths. Controller 220 may store the light transmission data in memory 228.
  • After determining the amount of light detected by optical detector 224 through the reference solution, controller 220 processes the light detection information to develop a relationship between the known characteristic in the reference solution and the light detection information. Controller 220 stores the relationship as characteristic model 232 in memory 228.
  • In one example, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a reference solution having a known pH. Controller 220 then processes the light detection information to develop a relationship between the known pH and the amount of light detected at each of the plurality of different wavelengths and stores the relationship as a pH model in memory 228.
  • In another example, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a reference solution having a known concentration of one or more chemical species. In the case of a hypochlorous acid solution, the known concentration of a chemical species may be a known concentration of a chlorine species such as, e.g., diatomic chlorine, hypochlorous acid, and/or hypochlorite. Controller 220 then processes the light detection information to develop a relationship between the known concentration and the amount of light detected at each of the plurality of different wavelengths and stores the relationship as a concentration model in memory 228.
  • In still other examples, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a reference solution having a plurality of known characteristics (e.g., two, three, four or more known characteristics). For example, in the case of a hypochlorous acid solution, a plurality of known characteristics may include a known pH and a known concentration of a chlorine species. Controller 220 then processes the light detection information to develop a relationship between each of the plurality of known characteristics and the amount of light detected at each of the plurality of different wavelengths and stores the relationships as a model in memory 228. Such a model may be referred to a solution model, which relates a plurality of characteristics in the fluid solution to light transmission at each of a plurality of different wavelengths.
  • Independent of the specific number or type of characteristics known in a reference solution, controller 220 can use any suitable technique to develop a relationship between the known characteristics of the reference solution and the light detection information received from optical detector 224. In some examples, controller 220 performs a partial least squares analysis to correlate one or more known characteristics in the reference solution to the light transmission at each of a plurality of wavelengths. In such an example, controller 220 may employ any suitable statistical software package such as, e.g., Minitab, Excel, or the like, to perform the partial least squares analysis.
  • In general, partial least squares (PLS) analysis, which is also referred to as partial least squares regression, is a multivariate data analysis technique that can be used to extract components (also called factors) that relate one or more response variables (Y) to several input variables (also called explanatory or predictor variables) (X). The technique attempts to identify the underlying factors, or a linear combination of the X variables, which best model the Y dependent variables. Partial least squares analysis can deal effectively with data sets where there are multiple input variables (X) and the input variables are highly correlated. Partial least squares analysis can also deal effectively with data sets where there are more input variables than response variables. Accordingly, while sensor 200 can use other regression or data processing techniques to develop characteristic model 232, a partial least squares analysis may be useful in applications where there are more input variables than response variables. In addition, a partial least squares analysis may be useful in applications where there are complex relationships among variables such as, e.g., in solutions with multiple species in equilibrium, because a partial least squares analysis may model relationships and reduce the dimensionality of data, helping to simplify an analysis and its comprehension.
  • In applications where light transmission measurements are made through a reference solution at more wavelengths than there are known characteristics for the reference solution, controller 220 may be required to process more input variables than response variables. For this reason, controller 220 may perform a partial least squares analysis in these applications.
  • In applying the partial least squares analysis, controller 220 treats the one or more known characteristics of the reference solution as a response variable(s) and the light transmission measurements as input variables. Controller 220 then performs the partial least squares analysis to correlate each of the response variables (i.e., each known characteristic of the reference solution) with the input variables (e.g., light transmission measurements at the plurality of different wavelengths).
  • Controller 220 processes the light transmission measurements and one or more known characteristics using partial least squares analysis techniques to develop characteristic model 232. Characteristic model 232 can have a number of different forms depending on the relationship between the known characteristic(s) of the reference solution and the light detected by optical detector 224 at each of the plurality of different wavelengths. In some examples, controller 220 may determine a characteristic model 232 that has the following form:
  • characteristic = β 0 + i = 1 n β i A i
  • where n is a number of discrete wavelengths for which transmission measurements are made, β0 is a constant, βi is a coefficient for each respective wavelength, and Ai is the magnitude of light (e.g., absorbance or transmittance) measured at each respective wavelength. In such an example, controller 220 determines the constant β0 and an appropriate coefficient βi for each of the wavelengths emitted by optical emitter 222 and detected by optical detector 224, e.g., using partial least squares analysis techniques. Controller 220 can then store the determined constant and coefficients as characteristic model 232 in memory 228.
  • In examples where a reference solution includes more than one known characteristic (e.g., both pH and the concentration of a chlorine species), controller 220 determines separate characteristic models for each of the known characteristics. In other examples, each characteristic model has the same general form, such as the form indicated above. In these examples, controller 220 determines different constants and coefficients for each characteristic model. For instance, in the example of a cleaning solution that has a known pH and a known concentration of hypochlorite, controller 220 may determine a pH model and a concentration model that have the following general forms:
  • pH = β 0 1 + i = 1 n β i 1 A i concentration - OCl = β 0 2 + i = 1 n β i 2 A i
  • where n is a number of discrete wavelengths for which transmission measurements are made, β0 1 and β0 2 are constants, βi 1 and βi 2 are coefficients for each respective wavelength, and Ai is the magnitude of light measured at each respective wavelength. Controller 220 determines the constants β0 1 and β0 2 and appropriate coefficients βi 1 and βi 2 for each of the wavelengths emitted by optical emitter 222 and detected by optical detector 224. Controller 220 then stores the determined constants and coefficients as a pH model and concentration model in memory 228. In some examples, controller 220 determines both the pH model and concentration model based on the same set of light transmission measurements taken through the fluid solution.
  • Characteristic model 232 provides an estimate of a fluid characteristic from light detected by optical detector 224. Characteristic model 232 may be based on light detection information from a single reference solution having a known characteristic or from a plurality of reference solutions (e.g., two, three, four, or more references solutions) that each have a known characteristic. For example, characteristic model 232 may be based on light detection information from a plurality of reference solutions, where each of the plurality of reference solutions has the same known characteristic, and where each reference solution has a known characteristic that exhibits a different magnitude than the known characteristic of each of the other reference solutions.
  • In applications where characteristic model 232 is based on light detection information from a single reference solution, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at the plurality of wavelengths as the reference solution passes through fluid pathway 230. Controller 220 then processes the light detection information, e.g., using partial least squares analysis techniques, to determine characteristic model 232, as set forth above.
  • In applications where characteristic model 232 is based on light detection information from a plurality of reference solutions, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at the plurality of wavelengths as each of the plurality of references solution passes through fluid pathway 230. Controller 220 stores the light detection information from each of the plurality of reference solutions in memory 228. Controller 220 may also store a value for one or more known characteristics of each reference solution in memory 228. Controller 220 can receive the value of the one or more known characteristics for each reference solution, for example, via manual user input.
  • After storing light detection information from a sufficient number of reference solutions, controller 220 processes the light detection information from all of the reference solutions to generate characteristic model 232. In applications where controller 220 generates characteristic model 232 based on a partial least squares analysis, controller 220 treats the known characteristics of all of the reference solutions as response variables and the light transmission measurements from all of the reference solutions as input variables. Controller 220 then performs the partial least squares analysis to correlate the response variables with the input variables. Based on the analysis, controller 220 determines characteristic model 232 and stores the determined characteristic model in memory 228.
  • Once characteristic model 232 is stored in memory 228, controller 220 can reference the characteristic model to determine a magnitude of an unknown characteristic in a sample based on light transmission measurements taken on the sample. For instance, in one example, controller 220 controls optical emitter 222 to emit radiation at a plurality of wavelengths and further controls optical detector 224 to detect the radiation at a plurality of wavelengths through a fluid solution having an unknown characteristic of interest. Controller 220 processes signals concerning the amount of light detected by optical detector 224 to determine light transmission at each of the plurality of different wavelengths. Thereafter, controller 220 determines an estimate of the unknown characteristic based on the determined light transmission measurements at each of the plurality of wavelengths and the characteristic model. In instances where the characteristic model is in the form of an equation that relates light transmission values to a specific characteristic, controller 220 can enter the determined light transmission values into the equation and solve the equation to provide an estimate of the unknown characteristic of interest.
  • FIG. 4 is a flow diagram illustrating an example process by which sensor 200 (FIG. 3) determines characteristic model 232. According to the example process, optical emitter 222 directs light into a reference solution flowing through fluid pathway 230 (400). The reference solution has a known pH and a known concentration of hypochlorite. Optical emitter 222 may include, for example, an optical emitter that emits light in the UV wavelength range.
  • Optical detector 224 generates detector outputs based upon detection of light at a plurality of discrete wavelengths transmitted through the reference solution (402). For example, optical detector 224 may include a first detector that generates a first detector output corresponding to emitted light at a first wavelength or wavelength range transmitted through the reference solution. Optical detector 224 may further include a second detector that generates a second detector output corresponding to emitted light within at a second wavelength or wavelength range transmitted through the reference solution.
  • Optical detector 224 may also include additional detectors that generate additional detector outputs (e.g., third, fourth, etc.) based on the amount of light received at additional wavelengths or wavelength ranges. Alternatively, a single detector may generate all or a subcombination of the detector outputs.
  • Optical emitter 222 optionally directs light into additional reference solutions flowing through fluid pathway 230 (404). Each of the reference solutions has a known pH and a known concentration of hypochlorite. In some examples, at least one reference solution has a different pH than that of at least one other reference solution. In some additional examples, at least one reference solution has a different concentration of hypochlorite than that of at least one other reference solution. As each of the reference solutions passes through fluid pathway 230, optical emitter 222 directs light into the reference solution (400) and optical detector 224 generates detector outputs based upon detection of light at a plurality of discrete wavelengths transmitted through the reference solution (402).
  • Controller 220 determines characteristic model 232 based on the known characteristics of the reference solution(s) and the detector outputs determined by detecting light at a plurality of different wavelengths transmitted through each of the reference solution(s) (406). For example, controller 220 may perform a partial least squares analysis where the known pH and known concentration of hypochlorite of each of the reference solution(s) are treated as response variables and the detector outputs corresponding to each of the reference solutions at each of the plurality of discrete wavelengths are treated as input variables. In some examples, controller 220 performs a partial least squares analysis to determine the constants and coefficients for the following equations:
  • pH = β 0 1 + i = 1 n β i 1 A i concentration - OCl = β 0 2 + i = 1 n β i 2 A i
  • where n is a number of discrete wavelengths for which transmission measurements are made, β0 1 and β0 2 are constants, βi 1 and βi 2 are coefficients for each respective wavelength, and Ai is the magnitude of light measured at each respective wavelength. The first equation may be referred to as a pH model and the second equation may be referred to as a concentration model. The determined constants and coefficients, with or without the corresponding equations, can be stored in memory 228 as characteristic model 232.
  • FIG. 5 is a flow diagram illustrating an example process by which sensor 200 (FIG. 3) determines an estimate of an unknown characteristic of interest based on characteristic model 232. According to the example process, optical emitter 222 directs light into a fluid solution flowing through fluid pathway 230 (500). The fluid solution has a unknown pH and a unknown concentration of hypochlorite.
  • Optical detector 224 generates detector outputs based upon detection of light at a plurality of discrete wavelengths or wavelength ranges transmitted through the fluid solution (502). The discrete wavelengths or wavelength ranges may be the same wavelengths or wavelength ranges detected by optical detector 224 in determining characteristic model 232 (FIG. 4).
  • Controller 220 determines an estimate of the unknown pH and the unknown concentration of hypochlorite based on characteristic model 232 and the detector outputs determined by detecting light at the plurality of discrete wavelengths transmitted through the fluid solution (504). For instance, in examples where characteristic model 232 includes a pH model and a concentration model in the form of the two equations discussed above with respect to FIG. 4, controller 220 can calculate an estimated pH for the fluid solution and an estimated concentration of hypochlorite in the fluid solution using the detector outputs and the equations. In some examples, controller 220 substantially simultaneously determines a pH estimate and a concentration estimate for a fluid solution based on the same set of light transmission measurements taken through the fluid solution.
  • As briefly discussed above, optical emitter 222 (FIG. 3) may emit radiation over a range of wavelengths and, in some cases, may emit radiation at a plurality of discrete wavelengths. Optical emitter 222 can emit radiation at any suitable wavelengths, and the wavelengths may vary, e.g., based on the chemical composition of the fluid solution being analyzed.
  • FIG. 6 is a plot of absorbances versus optical wavelengths for an example hypochlorous acid solution at three different pH values. The plot indicates that for the example hypochlorous acid solution, the optical response of the solution varies depending on the wavelength of light directed through the solution and the chemical composition of the solution. Specifically, for the example hypochlorous acid solution illustrated in FIG. 6 (in which hypochlorite species predominates at a pH of 9, hypochlorous acid species predominates at a pH of 6, and a substantially equal mixture of the two species exists at a pH of 7) the plot shows that optical response varies depending on the pH of the hypochlorous acid solution. The plot of FIG. 6 also illustrates an isobestic point at approximately 250 nm, which is a point where optical response is substantially independent of the pH of the hypochlorous acid solution.
  • Since the optical response at a given wavelength may vary depending on the chemical composition of a fluid solution, as indicated by FIG. 6, optical emitter 222 (FIG. 3) may emit, and optical detector 224 may detect, radiation at two or more wavelengths during operation. Increasing the number of wavelengths emitted and/or detected by sensor 200 may increase the accuracy of sensor 200 when analyzing a fluid solution that has an unknown chemical composition and/or unknown characteristic of interest.
  • Sensor 200 can be programmed to emit and/or detect light at any suitable wavelength. In one example, sensor 200 emits and/or detects light through a fluid solution at two or more wavelengths, where at least one of the wavelengths is an isobestic point of the fluid solution. In another example, sensor 200 emits and/or detects light through a fluid solution at two or more wavelengths, where at least one of the wavelengths corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a chemical species. For example, in a fluid solution that includes multiple chemical species, sensor 200 may emit and/or detect light at a first wavelength that corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a first chemical species and further emit and/or detect light at a second wavelength that corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a second chemical species. Sensor 200 may emit and/or detect light at additional wavelengths (e.g., third wavelength, fourth wavelength, etc.) that correspond to an optical response (e.g., absorbance or transmittance) minimum or maximum of additional chemical species (e.g., third chemical species, fourth chemical species, etc.).
  • In some examples, sensor 200 emits and/or detects light through a fluid solution at two or more wavelengths, where at least one of the wavelengths is an isobestic point of the fluid solution, and where at least one of the wavelengths corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a chemical species. For instance, sensor 200 may emit and/or detect light through a fluid solution at three or more wavelengths, where a first wavelength corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a first chemical species (e.g., HOCl), a second wavelength corresponds to an optical response (e.g., absorbance or transmittance) minimum or maximum of a second chemical species (e.g., OCl), and a third wavelength corresponds to an isobestic point of the fluid solution.
  • In some examples, sensor 200 emits and/or detects light through a fluid solution at three or more wavelengths, where a first wavelength is between approximately 225 nm and approximately 245 nm such as, e.g., approximately 236 nm, a second wavelength is between approximately 245 nm and approximately 275 nm such as, e.g., approximately 257 nm, and a third wavelength is between approximately 275 nm and 325 nm such as, e.g., approximately 296 nm. Sensor 200 may emit and/or detect light through the fluid solution at additional or different wavelengths. For example, sensor 200 may emit and/or detect light through the fluid solution at a fourth wavelength between approximately 220 nm and approximately 240 nm such as, e.g., 230 nm.
  • In general, increasing the number of wavelengths emitted and/or detected by sensor 200 may increase the accuracy of sensor 200 when analyzing a fluid solution that has an unknown characteristic of interest. However, increasing the number of wavelengths emitted and/or detected by sensor 200 may increase the computational burden and, hence, processing time for determine the unknown characteristic of interest in a fluid solution.
  • FIG. 7 is a flow diagram illustrating an example method for determining suitable wavelengths of light that sensor 200 (FIG. 3) can emit and/or detect through a fluid solution to determine an unknown characteristic in the fluid solution. According to the example method, optical emitter 222 directs light at a plurality of different wavelengths into a reference solution flowing through fluid pathway 230 (700). The reference solution has a known pH and a known concentration of hypochlorite. The plurality of different wavelengths may be at least 5 different wavelengths such as, e.g., at least 25 different wavelengths, at least 50 different wavelengths, or even at least 100 different wavelengths. Some or all of the different wavelengths may be within the UV light spectrum.
  • Optical detector 224 generates detector outputs based upon detection of light at each of the plurality of wavelengths transmitted through the reference solution (702). In some examples, optical detector 224 detects light at fewer wavelengths than are emitted by optical emitter 222. In some examples, optical detector 224 detects light at least 5 different wavelengths such as, e.g., at least 25 different wavelengths, at least 50 different wavelengths, or even at least 100 different wavelengths
  • In some examples, optical emitter 222 directs light at the plurality of different wavelengths and/or optical detector detects light at the plurality of different wavelengths through additional reference solutions flowing through fluid pathway 230 that each have different known pH values and/or known concentrations of hypochlorite.
  • Controller 220 determines characteristic model 232 based on the known characteristics of the reference solution(s) and the detector outputs determined by detecting light at the plurality of different wavelengths transmitted through each of the reference solution(s) (704). For example, controller 220 may perform a partial least squares analysis where the known pH and known concentration of hypochlorite of each of the reference solution(s) are treated as response variables and the detector outputs corresponding to each of the reference solutions at each of the plurality of wavelengths are treated as input variables. In some examples, controller 220 performs a partial least squares analysis to determine the constants and coefficients for the following equations:
  • pH = β 0 1 + i = 1 n β i 1 A i concentration - OCl = β 0 2 + i = 1 n β i 2 A i
  • where n is a number of discrete wavelengths for which transmission measurements are made, β0 1 and β0 2 are constants, βi 1 and βi 2 are coefficients for each respective wavelength, and Ai is the magnitude of light measured at each respective wavelength.
  • After determining characteristic model 232, optical emitter 222 directs light at a plurality of different wavelengths into a test solution flowing through fluid pathway 230 and optical detector 224 generates detector outputs based on the detection of light at the plurality of different wavelengths (706). The test solution has a known pH and a known concentration of hypochlorite. The plurality of different wavelengths are the same wavelengths emitted by optical emitter 222 and/or detected by optical detector 224 through the reference solution(s) to determine characteristic model 232.
  • Controller 220 then determines an estimate of the pH and the concentration of hypochlorite in the test solution based on characteristic model 232 and the detector outputs determined by detecting light at the plurality of different wavelengths transmitted through the fluid solution (708). For example, controller 220 can provide the detector outputs determined by detecting light at the plurality of different wavelengths transmitted through the test solution to the characteristic model equations and solve the equations.
  • The estimated pH and estimated concentration of hypochlorite in the test solution are then compared to the known pH and known concentration of hypochlorite in the test solution, respectively, to determine the accuracy of the characteristic model (710). The number of wavelengths and/or the specific range of wavelengths emitted and/or detected by sensor 200 can then be adjusted accordingly (712).
  • In some examples, the number of wavelengths emitted and/or detected by sensor 200 are increased to increase the accuracy of characteristic model 232. In some additional examples, the specific wavelengths emitted and/or detected by sensor 200 are varied to adjust (e.g., increase) the accuracy of characteristic model 232. In other examples, such as where characteristic model 232 yields a suitably accurate characteristic estimate, the number of wavelengths emitted and/or detected by sensor 200 can be decreased to reduce the computation burden required to estimate a characteristic. For example, if one or more wavelengths exhibit a high correlation with another wavelength, the one or more highly correlated wavelengths can be omitted to reduce the computation burdened required by sensor 200.
  • The process is then repeated to determine suitable wavelengths emitted and/or detected by sensor 200 (714). In some examples, the process is repeated to minimize the number of wavelengths emitted and/or detected by sensor 200 while still providing a characteristic model that has a suitable accuracy. A suitable accuracy may be a characteristic model that provides a characteristic estimate within 25 percent of the known value of the characteristic such as, e.g., within 10 percent of the known value of the characteristic, or with 5 percent of the known value of the characteristic. In some examples, the process is repeated so that sensor 200 emits and/or detects only two different wavelengths, only three different wavelengths, or only four different wavelengths.
  • The techniques described in this disclosure may be implemented, at least in part, in hardware, software, firmware or any combination thereof. For example, various aspects of the described techniques may be implemented within one or more processors, including one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components. The term “processor” may generally refer to any of the foregoing logic circuitry, alone or in combination with other logic circuitry, or any other equivalent circuitry. A control unit comprising hardware may also perform one or more of the techniques of this disclosure.
  • Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various operations and functions described in this disclosure. In addition, any of the described units, modules or components may be implemented together or separately as discrete but interoperable logic devices. Depiction of different features as modules or units is intended to highlight different functional aspects and does not necessarily imply that such modules or units must be realized by separate hardware or software components. Rather, functionality associated with one or more modules or units may be performed by separate hardware or software components, or integrated within common or separate hardware or software components.
  • The techniques described in this disclosure may also be embodied or encoded in a non-transitory computer-readable medium, such as a computer-readable storage medium, containing instructions. Instructions embedded or encoded in a computer-readable storage medium may cause a programmable processor, or other processor, to perform the method, e.g., when the instructions are executed. Non-transitory computer readable storage media may include volatile and/or non-volatile memory forms including, e.g., random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electronically erasable programmable read only memory (EEPROM), flash memory, a hard disk, a CD-ROM, a floppy disk, a cassette, magnetic media, optical media, or other computer readable media.
  • The following example may provide additional details about optical sensing techniques in accordance with this disclosure.
  • Example
  • Four samples of hypochlorous acid solution were prepared having sodium hypochlorite concentrations of 25 parts per million (ppm), 50 ppm, 100 ppm, and 200 ppm, respectively. The pH of the four samples was adjusted to approximately 6.0. Additional samples having pH values of approximately 7.0 and approximately 9.0 were also prepared to provide a total of twelve hypochlorous acid solution samples.
  • All twelve samples were spectrophotometrically analyzed at 401 different wavelengths, beginning at a wavelength of 200 nm and increasing in 0.5 nm increments up to a wavelength of 400 nm. FIGS. 8A-8C are plots of absorbance versus wavelength for each of the twelve different samples at a pH values of approximately 6.0, 7.0, and 9.0, respectively.
  • To process the data, the raw spectral data were formatted into a 401×12 matrix with rows being wavelengths and columns being the 12 samples (i.e., the different pH and concentration combinations). The cell entries in the matrix were absorbance readings at the specific wavelengths for each concentration/pH group (i.e., each sample). The data were then transposed to provide 12 rows of concentration/pH groups and 401 columns of wavelengths.
  • Next, the data were examined for correlations between the absorbance readings at different wavelengths. In general, the data showed high correlations among adjacent wavelengths and decreasing correlations as wavelengths became further apart from one another. For example, the correlation coefficient (r) between the absorbance reading at 200 nm and 231 nm was over 0.999, while the correlation between 200 nm and 254 nm was 0.487, and the correlation between 200 nm and 296 nm was 0.003.
  • After identifying correlations between different wavelengths, a step-wise approach was employed to identify both the specific wavelengths and a minimal number of wavelengths for partial least squares analysis. To begin, data from all 401 wavelengths were fit to a pH model and concentration model using partial least squares analysis techniques. Next, data from highly correlated wavelengths were removed from the data matrix, and the pH model and concentration model were recalculated (e.g., refit) using partial least squares analysis techniques and the reduced data set. The process was repeated until predictions (e.g., estimates) from the models deteriorated below a predetermined level such as, e.g., an R2 value below 95%. Following this process, four wavelengths were selected for the pH model and concentration model: 230 nm, 236 nm, 257 nm, and 296 nm. The wavelengths exhibited acceptable model performance for the hypochlorous acid solutions under study while minimizing computational resources.
  • After downsizing the data matrix to the four selected wavelengths, the pH model and concentration model were recalculated using partial least squares analysis techniques and the further reduced data set. The example used the Minitab statistical software package, although other software packages could be used. In performing the partial least squares analysis, the response variables were the concentration and pH of each of the twelve samples, and the input variables were the absorbance readings at 230 nm, 236 nm, 257 nm, and 296 nm for each of the twelve samples. The analysis results are illustrated in FIG. 9.
  • Having determined constants and coefficients for the pH model and concentration model, the models were evaluated using test samples having known pH values and known concentrations of hypochlorous acid. Specifically, the test samples were spectrophotometrically analyzed at wavelengths of 230 nm, 236 nm, 257 nm, and 296 nm. Absorbance readings at each respective wavelength for each sample were entered into the determined pH model and concentration model to estimate a pH and a hypochlorite concentration for each sample. FIG. 10 is a plot of the estimated pH versus the actual or known pH for each sample. The data in FIG. 10 exhibit an R2 value of approximately 92.3, although other examples have exhibited an R2 value of at least 97. FIG. 11 is a plot of the estimated hypochlorite concentration versus the actual or known hypochlorite concentration. The data in FIG. 11 exhibit an R2 value of approximately 99.99.
  • Various examples of the invention have been described. Although the present invention has been described in considerable detail with reference to certain disclosed embodiments, the embodiments are presented for purposes of illustration and not limitation. Other embodiments incorporating the invention are possible. One skilled in the art will appreciate that various changes, adaptations, and modifications may be made without departing from the spirit of the invention and the scope of the appended claims.

Claims (26)

1. A method comprising:
directing light into a fluid medium;
detecting light at each of a plurality of wavelengths transmitted through the fluid medium and producing therefrom a plurality of detector outputs; and
determining a characteristic of the fluid medium based on the plurality of detector outputs and a characteristic model, wherein the characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.
2. The method of claim 1, wherein the characteristic model provides the estimate of the characteristic of the fluid medium according to a relationship
characteristic = β 0 + i = 1 n β i A i ,
where n is a number of wavelengths for which optical transmission measurements are made, β0 is a constant, βi is a coefficient for each respective wavelength, and Ai is an optical transmission measurement for each respective wavelength.
3. The method of claim 1, wherein the characteristic is pH, and the characteristic model is a pH model.
4. The method of claim 1, wherein the characteristic is a concentration of a chemical species in the fluid medium, and the characteristic model is a concentration model.
5. The method of claim 1, wherein the fluid medium comprises hypochlorous acid and hypochlorite in equilibrium.
6. The method of claim 5, wherein the characteristic comprises a first characteristic that is pH and a second characteristic that is a concentration of a chemical species in the fluid medium, the characteristic model comprises a first characteristic model that is a pH model and a second characteristic model that is a concentration model, and wherein the reference fluid medium having the known characteristic comprises a reference fluid medium having a known pH and a known concentration of the chemical species.
7. The method of claim 6, wherein the pH model provides an estimate of the pH of the fluid medium according to a relationship
pH = β 0 1 + i = 1 n β i 1 A i ,
and the concentration model provides an estimate of the concentration of the chemical species in the fluid medium according to a relationship
concentration = β 0 2 + i = 1 n β i 2 A i ,
where n is a number of wavelengths for which optical transmission measurements are made, β0 1 and β0 2 are constants, βi 1 and βi 2 are coefficients for each respective wavelength, and Ai is an optical transmission measurement for each respective wavelength.
8. The method of claim 1, wherein the optical transmission measurements are at least one of absorbance or transmittance.
9. The method of claim 1, wherein the plurality of wavelengths comprises at least three different wavelengths in an ultraviolet spectrum.
10. The method of claim 9, wherein the fluid medium comprises multiple chemical species in equilibrium, and wherein the at least three different wavelengths comprises a first wavelength corresponding approximately to an absorbance maximum or minimum of a first chemical species in the fluid medium, a second wavelength corresponding approximately to an absorbance maximum or minimum of a second chemical species in the fluid medium, and a third wavelength corresponding approximately to an isobestic point for the first and the second chemical species.
11. The method of claim 10, wherein the fluid medium comprises chlorine, the first chemical species is hypochlorous acid, the second chemical species is hypochlorite, the first wavelength is approximately 236 nm, the second wavelength is approximately 296 nm, and the third wavelength is approximately 257 nm.
12. The method of claim 7, wherein the plurality of wavelengths comprises a first wavelength at approximately 230 nm, a second wavelength at approximately 236 nm, a third wavelength at approximately 257 nm, and a fourth wavelength at approximately 296 nm.
13. A sensor comprising:
an emitter that directs light into a fluid medium;
a detector that detects light at each of a plurality of wavelengths transmitted through the fluid medium and produces therefrom a plurality of detector outputs; and
a controller that determines a characteristic of the fluid medium based on the plurality of detector outputs and a characteristic model, wherein the characteristic model provides an estimate of the characteristic of the fluid medium based on a partial least squares analysis of optical transmission measurements through at least one reference fluid medium having a known characteristic.
14. The sensor of claim 13, further comprising a storage memory that stores the characteristic model.
15. The sensor of claim 13, wherein the characteristic model provides the estimate of the characteristic of the fluid medium according to a relationship
characteristic = β 0 + i = 1 n β i A i ,
where n is a number of wavelengths for which optical transmission measurements are made, β0 is a constant, βi is a coefficient for each respective wavelength, and Ai is an optical transmission measurement for each respective wavelength.
16. The sensor of claim 13, wherein the characteristic comprises a first characteristic that is pH and a second characteristic that is a concentration of a chemical species in the fluid medium, the characteristic model comprises a first characteristic model that is a pH model and a second characteristic model that is a concentration model, and wherein the reference fluid medium having the known characteristic comprises a reference fluid medium having a known pH and a known concentration of the chemical species.
17. The sensor of claim 16, wherein the pH model provides an estimate of the pH of the fluid medium according to a relationship
pH = β 0 1 + i = 1 n β i 1 A i ,
and the concentration model provides an estimate of the concentration of the chemical species in the fluid medium according to a relationship
concentration = β 0 2 + i = 1 n β i 2 A i ,
where n is a number of wavelengths for which optical transmission measurements are made, β0 1 and β0 2 are constants, βi 1 and βi 2 are coefficients for each respective wavelength, and Al is an optical transmission measurement for each respective wavelength.
18. The sensor of claim 13, wherein the detector comprises one or more detectors that detect light at at least three different wavelengths in an ultraviolet spectrum.
19. The sensor of claim 18, wherein the one or more detectors detect light at a first wavelength that is approximately 236 nm, at a second wavelength that is approximately 296 nm, and at a third wavelength is approximately 257 nm.
20. A system comprising:
an electrolytic cell configured to generate an anolyte stream and a catholyte stream; and
an optical sensor that comprises
an emitter that directs light into at least one of the anolyte stream or catholyte stream;
a detector that detects light at each of a plurality of wavelengths transmitted through the at least one of the anolyte stream or catholyte stream and produces therefrom a plurality of detector outputs; and
a controller that determines a characteristic of the at least one of the anolyte stream or catholyte stream based on the plurality of detector outputs and a characteristic model, wherein the characteristic model provides an estimate of the characteristic of the at least one of the anolyte stream or catholyte stream based on a partial least squares analysis of optical transmission measurements through at least one reference solution having a known characteristic.
21. The system of claim 20, wherein the anolyte stream includes hypochlorous acid and hypochlorite in equilibrium, and the catholyte stream includes an alkali metal hydroxide, and wherein the characteristic model provides the estimate of the characteristic of the at least one of the anolyte stream or catholyte stream according to a relationship
characteristic = β 0 + i = 1 n β i A i ,
where n is a number of wavelengths for which optical transmission measurements are made, β0 is a constant, βi is a coefficient for each respective wavelength, and Ai is an optical transmission measurement for each respective wavelength.
22. The system of claim 21, wherein the characteristic comprises a first characteristic that is pH and a second characteristic that is a concentration of a chemical species in the at least one of the anolyte stream or catholyte stream, the characteristic model comprises a first characteristic model that is a pH model and a second characteristic model that is a concentration model, and wherein the reference solution comprises a reference solution having a known pH and a known concentration of the chemical species.
23. The system of claim 22, wherein the pH model provides an estimate of the pH of the at least one of the anolyte stream or catholyte stream according to a relationship
pH = β 0 1 + i = 1 n β i 1 A i ,
and the concentration model provides an estimate of the concentration of the chemical species in the at least one of the anolyte stream or catholyte stream according to a relationship
concentration = β 0 2 + i = 1 n β i 2 A i ,
where n is a number of wavelengths for which optical transmission measurements are made, β0 1 and β0 2 are constants, βi 1 and βi 2 are coefficients for each respective wavelength, and Ai is an optical transmission measurement for each respective wavelength.
24. The system of claim 23, wherein the detector comprises one or more detectors that detect light at at least three different wavelengths in an ultraviolet spectrum.
25. The system of claim 24, wherein the one or more detectors detect light at a first wavelength that is approximately 236 nm, at a second wavelength that is approximately 296 nm, and at a third wavelength is approximately 257 nm.
26. The system of claim 20, further comprising a system controller configured to receive the determined characteristic from the optical sensor, and adjust the characteristic in the at least one of the anolyte stream or catholyte stream based on the determined characteristic.
US13/094,367 2011-04-26 2011-04-26 Fluid property determination based on partial least squares analysis Active 2032-06-21 US10746653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/094,367 US10746653B2 (en) 2011-04-26 2011-04-26 Fluid property determination based on partial least squares analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/094,367 US10746653B2 (en) 2011-04-26 2011-04-26 Fluid property determination based on partial least squares analysis

Publications (2)

Publication Number Publication Date
US20120273351A1 true US20120273351A1 (en) 2012-11-01
US10746653B2 US10746653B2 (en) 2020-08-18

Family

ID=47067064

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/094,367 Active 2032-06-21 US10746653B2 (en) 2011-04-26 2011-04-26 Fluid property determination based on partial least squares analysis

Country Status (1)

Country Link
US (1) US10746653B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2853888A3 (en) * 2013-09-06 2015-07-01 Watkins Manufacturing Corporation Measuring method for chlorine and pH
WO2016046719A1 (en) 2014-09-23 2016-03-31 Maytronics Ltd. Multi parameter swimming pool fluid analysis and regulating method and device
JP2017032502A (en) * 2015-08-05 2017-02-09 東亜ディーケーケー株式会社 Residual chlorine measurement system and program
US11397170B2 (en) * 2018-04-16 2022-07-26 Ecolab Usa Inc. Repetition time interval adjustment in adaptive range titration systems and methods
US11397171B2 (en) 2017-09-18 2022-07-26 Ecolab Usa Inc. Adaptive range flow titration systems and methods with sample conditioning
US11454619B2 (en) * 2018-04-09 2022-09-27 Ecolab Usa Inc. Methods for colorimetric endpoint detection and multiple analyte titration systems

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3677899A4 (en) * 2017-08-28 2020-11-04 Panasonic Intellectual Property Management Co., Ltd. Functional water concentration sensor, and calculation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4975581A (en) * 1989-06-21 1990-12-04 University Of New Mexico Method of and apparatus for determining the similarity of a biological analyte from a model constructed from known biological fluids
US5680220A (en) * 1993-02-09 1997-10-21 Institut Francais Du Petrole Device and method for optically measuring the characteristics of a substance utilizing three wavelengths of light
US20080285012A1 (en) * 2007-05-14 2008-11-20 Simon Adam Shakespeare METHOD FOR MEASURING CHEMICAL LEVELS USING pH SHIFT
US7610157B2 (en) * 2007-05-02 2009-10-27 General Electric Company Apparatus and method for fully automated closed system pH measurement
US20110040494A1 (en) * 2007-11-26 2011-02-17 Kevin Anthony Foster Method and apparatus for absorption spectra analysis

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5454095A (en) 1977-10-06 1979-04-27 Mitsubishi Electric Corp Measurement of concentration of hypochlorite in solution
JPS5855839A (en) 1981-09-30 1983-04-02 Kawasaki Steel Corp Method of measuring amount of free available chlorine in water
JPH01141351A (en) 1987-11-27 1989-06-02 Taisei Corp Water quality inspecting device
US5298428A (en) 1990-02-12 1994-03-29 United States Department Of Energy Self-referencing spectrophotometric measurements
GB2310717B (en) 1994-12-09 1999-04-07 United Utilities Plc Quantitative detection of chemical species
US6093292A (en) 1997-06-17 2000-07-25 Shimadzu Corporation Electrolyte producing apparatus with monitoring device
JP2000221165A (en) 1999-01-29 2000-08-11 Toto Ltd Apparatus for measuring concentration of residual chlorine
JP2003130792A (en) 2001-10-19 2003-05-08 Shimadzu Corp Apparatus for monitoring chlorine concentration
US6719891B2 (en) 2001-11-21 2004-04-13 Ecolab Inc. Point-of-use generation of chlorinated alkaline cleaning solutions by electrolysis
US7639361B2 (en) 2007-05-14 2009-12-29 Watkins Manufacturing Corporation Apparatus for measuring chemical levels using pH shift
US8212222B2 (en) 2008-02-28 2012-07-03 Watkins Manufacturing Corporation Spa chlorine measurement via temperature shift UV spectrometry

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4975581A (en) * 1989-06-21 1990-12-04 University Of New Mexico Method of and apparatus for determining the similarity of a biological analyte from a model constructed from known biological fluids
US5680220A (en) * 1993-02-09 1997-10-21 Institut Francais Du Petrole Device and method for optically measuring the characteristics of a substance utilizing three wavelengths of light
US7610157B2 (en) * 2007-05-02 2009-10-27 General Electric Company Apparatus and method for fully automated closed system pH measurement
US20080285012A1 (en) * 2007-05-14 2008-11-20 Simon Adam Shakespeare METHOD FOR MEASURING CHEMICAL LEVELS USING pH SHIFT
US20110040494A1 (en) * 2007-11-26 2011-02-17 Kevin Anthony Foster Method and apparatus for absorption spectra analysis

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2853888A3 (en) * 2013-09-06 2015-07-01 Watkins Manufacturing Corporation Measuring method for chlorine and pH
WO2016046719A1 (en) 2014-09-23 2016-03-31 Maytronics Ltd. Multi parameter swimming pool fluid analysis and regulating method and device
EP3198091A4 (en) * 2014-09-23 2018-05-23 Maytronics Ltd. Multi parameter swimming pool fluid analysis and regulating method and device
US10816528B2 (en) 2014-09-23 2020-10-27 Maytronics Ltd. Multi parameter swimming pool fluid analysis and regulating method and device
JP2017032502A (en) * 2015-08-05 2017-02-09 東亜ディーケーケー株式会社 Residual chlorine measurement system and program
US11397171B2 (en) 2017-09-18 2022-07-26 Ecolab Usa Inc. Adaptive range flow titration systems and methods with sample conditioning
US11454619B2 (en) * 2018-04-09 2022-09-27 Ecolab Usa Inc. Methods for colorimetric endpoint detection and multiple analyte titration systems
US11397170B2 (en) * 2018-04-16 2022-07-26 Ecolab Usa Inc. Repetition time interval adjustment in adaptive range titration systems and methods

Also Published As

Publication number Publication date
US10746653B2 (en) 2020-08-18

Similar Documents

Publication Publication Date Title
US10746653B2 (en) Fluid property determination based on partial least squares analysis
CN107148567B (en) Determining water treatment parameters based on absorbance and fluorescence
CN107209112B (en) Determining water treatment parameters based on absorbance and fluorescence
KR101984682B1 (en) Method and apparatus for determination of system parameters for reducing crude unit corrosion
KR101984674B1 (en) Method and apparatus for determination of system parameters for reducing crude unit corrosion
KR102297617B1 (en) Multi-wavelength real-time concentration analyser capable of on-site calibration and measurement using optical system-specific visible light transmission characteristics
JP2022118709A (en) Real-time byproduct quantitative measurement device using sodium hypochlorite optical density analysis
US8847163B2 (en) Method and apparatus for absorption spectra analysis
JP6965502B2 (en) Water quality analyzer
JP4372567B2 (en) Method for measuring water and aqueous solution by ultraviolet light
US9927268B2 (en) Oxidation/reduction measurement
JP2017032503A (en) Residual chlorine measurement system, residual chlorine measurement method, and program
AU2012211358B2 (en) Method for detecting a concentration of chlorate-ions in an aqueous solution, apparatus for detecting a concentration of chlorate-ions and control unit
JP6652697B2 (en) Residual chlorine measurement system and program
US20210372924A1 (en) Zinc measurement
JP2012088203A (en) Method for quantitatively determining hypochlorite salt and hypobromite salt individually
EP2853888A2 (en) Measuring method for chlorine and pH
CA3083154A1 (en) Method for determining the free chlorine concentration in a tower using the chlorine as an active base
US10620129B1 (en) Systems and methods for determining carbon system parameters of water
WO2022123890A1 (en) Hypochlorite concentration measurement method, hypochlorite concentration measurement device, and food sterilizing device
JP2000221165A (en) Apparatus for measuring concentration of residual chlorine
US20190323962A1 (en) Systems and methods for copper etch rate monitoring and control
US20210172916A1 (en) Methods and systems for monitoring peroxyacid content in a fluid
US20210404950A1 (en) Linearized optical sensor calibration for measuring calcium
JP7401744B2 (en) Method and device for measuring chlorine demand

Legal Events

Date Code Title Description
AS Assignment

Owner name: ECOLAB USA INC., MINNESOTA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KRAUS, PAUL R.;MORIN, VICTOR N.;SIGNING DATES FROM 20110421 TO 20110422;REEL/FRAME:026186/0167

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER

STCV Information on status: appeal procedure

Free format text: NOTICE OF APPEAL FILED

STCV Information on status: appeal procedure

Free format text: APPEAL BRIEF (OR SUPPLEMENTAL BRIEF) ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4