Automatic Spray Dispenser

The device enhances odor detection and mitigation by using non-specific sensors with linear least squares regression to accurately trigger odor abatement sprays, addressing cost and calibration issues in existing technologies.

JP2024534524AInactive Publication Date: 2024-09-20STATION 10 LLC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024517504
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-09-17
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing odor-causing substance detection and mitigation devices are costly, lack sensitivity and accuracy, and require iterative calibration due to variability among non-specific sensors.

Method used

A device using non-specific odor sensors with linear least squares regression to estimate the slope of sensor responses, eliminating the need for iterative calibration by activating odor abatement sprays when the summed slope exceeds a threshold, and employing a control unit with a microprocessor for data processing and spray activation.

Benefits of technology

Improves accuracy and reduces calibration needs while effectively detecting and mitigating odors using less expensive sensors, ensuring precise and efficient odor treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024534524000001
    Figure 2024534524000001
Patent Text Reader

Abstract

The present invention relates to an automatic odor treatment spray dispenser.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an automatic odor treatment spray dispenser. [Background technology]

[0002] All patents, patent applications and other publications referenced herein are specifically incorporated by reference in their entirety.

[0003] There are many known odor causing substances that are occasionally found in various enclosed environments such as homes, vehicles, workplaces, etc. By way of non-limiting example, such known odor causing substances include 1,3-dimethylbenzene, 1-butene, 1-pentene, 1-propanethiol, 2,2-dimethylbutane, 2,4-dimethylpentane, 5,11,14,17-hexaoxaoctadecane, 2,5,11,14-pentaoxahexadecan-16-ol, 2,5,11,14-pentaoxapentadecane, 2,5-dimethylfuran, 2,5-dimethylhexane, 2-butanone (methyl ethyl ketone), 2-butene-1-thiol (crotyl), 2-furan, 2-methyl-2-phenylpropane ... Carboxaldehyde, 2-methyl-1,3-butadiene, 2-methyl-1-butene, 2-methyl-1-pentene, 2-methyl-1-propanethiol, 2-methyl-1-propene, 2-methyl-2-butene, 2-methylbutanal, 2-methylfuran, 2-methylhexane, 2-methylpentane, 2-methylpropanal, 2-pentene, 2-propenylpropyl disulfide, 3-butene-1-thiol, 3-ethylenepyridine, 3-methyl-1-butanethiol, 3-methyl-2-pentene, 3-methylbutana , 3-methylcyclopentene, 3-methylenepentane, 3-methylheptane, 3-methylpentane, 3-methylpyridine, acetaldehyde, acetone, allyl methyl disulfide, allyl methyl sulfide (allyl mercaptan), ammonia, benzene, cis-1,3-dimethylcyclopentane, cyclohexane, cyclopentene, diallyl disulfide, dimethyl sulfide, dimethyl disulfide, dipropyl disulfide, ethanol, ethylbenzene, ethylene oxide, hexanal, hydrogen sulfide, These include isobutane, methanethiol, methyl mercaptan, methyl thiirane (methyl ethyl sulfide), methylcyclohexane, methylcyclopentane, n-heptane, n-hexane, n-octane, nonanal, pentanal, propanal, p-xylene, pyridine, pyrrole, styrene, toluene, 2,5,11,14,17-hexaoxaoctadecane, 2,5,11,14-pentaoxahexadecan-16-ol, 2-propenylpropyl disulfide, acetone, and allylmethyl disulfide.

[0004] There are known odor causing substances that are sometimes found in various bathroom environments. By way of non-limiting example, such known odor causing substances include short chain fatty acids such as propanoic acid, butanoic acid and pentanoic acid, organic and inorganic sulfur containing molecules such as hydrogen sulfide, dimethyl sulfide, dimethyl disulfide, dimethyl trisulfide and methanethiol, benzopyrrole volatiles such as skatole and indole, organic and inorganic nitrogen containing molecules such as ammonia and trimethylamine.

[0005] There are known devices and methods for reducing or ameliorating problems associated with unpleasant odors from odor-causing substances in the environment. For example, US Pat. No. 5,999,333 discloses a toilet freshener and a method for time-offset release of a formulation in or on a toilet bowl. According to this document, "It is therefore an object of the present invention to provide a method and device for providing an optimized cleaning performance and / or fragrance action in or on a toilet bowl." The device includes a power source, a control unit, a sensor unit, a first container containing a first formulation, and at least one second container containing a second composition, the power source, the control unit, the first container and the at least second container interacting with a pump and / or release element such that at least two different active substance formulations are released at least at two consecutive time points t1 and t2, at least one active substance formulation being released into the interior of the toilet bowl. The control unit may preferably include a programmable microprocessor in which a dispensing program is stored.

[0064] A basic control algorithm for controlling the release of the formulation is shown, for example, in Figs. 6-8. For example, as shown in FIG. 6, a sensor signal is received at a control unit and the received signal is compared to a threshold stored in the control unit. If the received signal exceeds the stored threshold, a formulation is dispensed. US Pat. No. 5,999,333 discloses an odor detection / mitigation device that includes a suspended solids detector configured to target concentrations of compounds in the surrounding environment. Fragrances and odor-mitigating chemicals are dispensed into the environment using a wick. As described in column 4, lines 49-56: Devices using chemical-specific or odor-specific sensors for airborne contaminants have been disclosed, but it has been recognized that the cost of such devices and their sensitivity and accuracy or indeed their specificity are disadvantageous. Therefore, to address this problem, it has been recognized that non-specific sensors that detect changes in the concentration of chemical contaminants in the air, sensed as odors, fragrances, and the like, would be cost-effective sensors for use with dispensers for air treatment chemicals. Column 7, lines 30-31 reads: An advantage of the dispensing device described above results from the use of a non-specific sensor.

[0006] The control means is provided to calculate an average of a predetermined number of "background" suspended solids levels, calculate a "current" suspended solids level, and dispense at least one air treatment agent when the current suspended solids level exceeds the background suspended solids level by more than a predetermined amount (col. 3, lines 47-56). "Preferably, the background suspended solids level and the current suspended solids level are offset in time, preferably by at least 5 seconds, more preferably by at least 10 seconds, more preferably by at least 20 seconds" (col. 4, lines 1-4). "The control means may be operable to calculate the deviation of the current suspended solids level from the background level by subtraction of one from the other and / or by a ratio of one to the other" (col. 1, lines 45-49). Patent document 3 also discloses an odor detection / abatement device including a suspended solids detector configured to target a concentration of a compound in the surrounding environment. According to this publication, the suspended solids detector includes means for detecting a threshold level or concentration of the target suspended solids, and an air treatment agent is discharged when the suspended solids are detected. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Patent Application Publication No. 2010 / 0205731 [Patent Document 2] U.S. Patent No. 9,132,205 [Patent Document 3] US Patent Publication No. 20060210421 [Patent Document 4] US Patent Publication No. 20060223738 Summary of the Invention [Problem to be solved by the invention]

[0008] The present invention relates to an apparatus and method for detecting targeted odor-causing airborne materials and dispensing an odor-relieving spray in response. [Means for solving the problem]

[0009] According to one embodiment, an apparatus comprising: at least one sensor means for detecting the presence of at least one target odorant in the surrounding environment and converting a response of each sensor means into an electrical output signal, the electrical response of the sensor changing according to changes in the presence of the at least one target odorant; b. processor means operatively connected to the sensor means for periodically collecting data points reflecting the electrical response of each electrically responsive sensor means; c. processor means by which a plurality of successive data points from each electrically responsive sensor means is processed to periodically estimate the slope of a line through it by linear least squares regression and to add together the estimated slopes of all the electrically responsive sensor means; d. spraying means for spraying an odor abatement fluid, the spraying means operatively connected to the processor means; e. a spraying means for spraying an odor abatement fluid when the summed slopes of all the sensor means exceed a threshold level; Includes.

[0010] According to another embodiment, a method comprises: a. exposing at least one sensor means to an ambient environment for detecting and responding to the presence of at least one odor causing substance; b. periodically converting a response of each sensor means into a periodic electrical output signal; c. transmitting each periodic electrical output signal to a control means, the control means calculating a slope between the periodic electrical output signals by linear least squares regression using the plurality of periodic electrical output signals; d. adding these slopes; and e. actuating the release of an odor treatment agent into the surrounding environment when the summed slope of all sensor means exceeds a threshold level; Includes.

[0011] In the context of the prior art, the use of linear least squares regression according to the present invention is believed to improve the accuracy and operation of these devices.

[0012] In addition, the use of inexpensive, non-specific odor sensor means may be desirable, but the accuracy may vary widely within a group of the same sensor. Therefore, the use of such non-specific sensor means in many devices would require calibration of each device to compensate for the discrepancies. The use of linear least squares regression according to the present invention can eliminate the need for such repeated calibration. Once the initial sensor means is calibrated in a device, subsequent use of the same sensor in subsequent devices should not need to be calibrated. [Brief description of the drawings]

[0013] [Figure 1] 1 is a schematic diagram showing a non-limiting example of an odor detection device according to the present invention. [Diagram 2] 4 is an exemplary graph of a collection of raw data points from each of three sensor means. [Diagram 3]11 is an exemplary graph of linear least squares regressions for each of three sensor means data run consecutively over 20 data points. [Figure 4] FIG. 1 is a zoomed-in view of the linear least-squares regression line between times t0 and t1 with its associated slope labeled. [Diagram 5] 2 is a flow chart showing the steps of the algorithm described below. [Figure 6] A visual representation of how gradient descent is used to reduce the error in a cost function. It shows the path from a region of high error to a local minimum where the error is minimized. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein.

[0015] All publications, patents and patent applications cited herein, whether above or below, are hereby incorporated by reference in their entirety to the same extent as if each individual publication, patent or patent application was specifically and individually indicated to be incorporated herein by reference. Furthermore, when an amount, concentration, or other value or parameter is given, either as a range, a preferred range, or a list of upper preferred values ​​and lower preferred values, this should be understood as specifically disclosing all ranges formed from any pair of any upper range limit or preferred value and any lower range limit or preferred value, as well as any ranges formed within a particular range, regardless of whether the ranges are separately disclosed. When a range of numerical values ​​is described herein, unless otherwise stated, the range is intended to include its endpoints, and all integers and fractions within the range. For example, a description of 1 to 5 is intended to include all integers between 1 and 5, including 1 and 5, and all fractions and decimals between 1 and 5, for example, 1, 1.1, 1.2, 1.3, etc. Furthermore, when a list of specific numbers is provided, unless otherwise stated, it is intended to include any range between the upper and lower limits, including these. For example, a list of numbers such as 1, 2, 3, 4, 5, and 6 is intended to include the range from 2 to 5. It is not intended that the scope of the invention be limited to the specific values ​​listed when defining a specific range. Similarly, a statement of at least or up to a number is intended to include that number and all integers, fractions, and decimals greater than or equal to that number. For example, "at least 5" is intended to include 5 and all fractions and decimals above 5, such as 5.1, 5.2, 5.3, etc.

[0016] It is noted that as used in this specification and the appended claims, the singular forms "a," "an," and "the" include plural referents unless the content clearly dictates otherwise. Unless otherwise stated herein, all amounts are by volume.

[0017] According to one embodiment, an apparatus comprising: at least one sensor means for detecting the presence of at least one target odorant in the surrounding environment and converting a response of each sensor means into an electrical output signal, the electrical response of the sensor changing according to changes in the presence of the at least one target odorant; b. processor means operatively connected to the sensor means for periodically collecting data points reflecting the electrical response of each electrically responsive sensor means; c. processor means by which a plurality of successive data points from each electrically responsive sensor means is processed to periodically estimate the slope of a line through it by linear least squares regression and to add together the estimated slopes of all the electrically responsive sensor means; d. spraying means for spraying an odor abatement fluid, the spraying means operatively connected to the processor means; e. a spraying means for spraying an odor abatement fluid when the summed slopes of all the sensor means exceed a threshold level; Includes.

[0018] Referring to FIG. 1 of the drawings, 1 generally refers to a schematic diagram of an exemplary odor detection device comprised of an outer housing 2 having an air inlet 3 and an air outlet 4. The device is installed in an ambient environment such as a room in a house (such as a bathroom), a vehicle, or any other location where it is desirable to treat unpleasant odors, for example in a public bathroom. As shown in FIG. 1 for illustrative purposes, three sensor means 6, 7, and 8 are provided within the housing 2. It is possible to use fewer sensor means, each specific to a particular target odor gas, for example sensor means 6 could be specific to the detection of only ammonia and sensor means 7 to the detection of hydrogen sulfide. Although at least one sensor means is possible, as shown in FIG. 1, three sensor means are shown. When using multiple sensor means, there may be some overlap of the target odor gases detected. Preferably, each sensor means detects at least one target odor gas that the others do not detect. As one non-limiting illustrative example, sensor means 6 can detect ammonia and possibly other gases except hydrogen sulfide, sensor means 7 can detect hydrogen sulfide and possibly other gases except ammonia, and sensor means 8 can detect volatile organics but does not detect ammonia or hydrogen sulfide. Such a "non-specific" configuration allows the use of cheaper non-specific sensor means.

[0019] Any known odor gas sensor means capable of detecting the target odor gas is suitable for use. As a non-limiting illustrative example, metal oxide semiconductor type gas sensors are well known and commonly used. Based on the concentration of the target odor gas, the gas sensor means can generate a corresponding potential difference by changing the resistance of the material inside the sensor, and measure this potential difference as an output voltage. Based on this voltage value, the type and relative concentration of the gas can be estimated. As known, the gas sensor means usually consists of a gas sensing layer, a heater coil, an electrode wire, a ceramic and an electrode.

[0020] The gas sensing layer is usually a membrane that only allows a specific target gas to pass through, and this membrane becomes more conductive as the concentration increases. This layer changes its resistance based on the change in the concentration of the target gas in the environment. It is known that semiconducting metal oxide (MOX) sensors can show strong sensitivity to trace amounts of reactive gases present in the air. Among the known oxides used as MOX sensors is tin dioxide (SnO2). SnO2 sensors can be enhanced in terms of selectivity and sensitivity by using catalytic additives such as Pt. SnO2 has an excess of electrons (donor element). The resistance change induced by the sensor is caused by the loss or gain of surface electrons as a result of the absorbed oxygen reacting with the target gas. Thus, whenever a target gas is detected, the resistance of the layer changes, causing a fluctuation in the current flowing through this layer, which represents a change in the concentration of the gas.

[0021] Heated semiconducting MOX is known to exhibit strong sensitivity to trace amounts of reactive gases present in the air. The purpose of the heater coil is to heat the sensing element so that its sensitivity and efficiency are increased. It can be made of, for example, nickel chromium or tantalum / platinum, which have a high melting point so that it can remain heated without melting. The electrode wire carries the output current from the sensor. It is common to use platinum wire because of its high conductor efficiency. A ceramic is placed between the heater coil and the gas sensing layer to maintain the heating of the gas sensing layer. The ceramic is usually made of aluminum oxide. The electrodes are the junctions between the sensing layer and the electrode wire that provide the flow of output current from the sensor to the terminals. As a non-limiting example, the electrodes can be made of any good conductor material, for example, gold, since this material is an excellent conductor.

[0022] Number 5 in Figure 1 refers to fan means for moving air through the apparatus, from the inlet 3, across the sensor means and out through the outlet 4. The location of the fan means within the housing is not important so long as the fan means provides the above-mentioned flow of air across the sensor means and does not impede the effective flow of spray from the spray means 20. The fan means 5 can operate continuously or can be programmed to operate intermittently.

[0023] A container means 12 is provided for containing an odor abatement fluid 19 for treating the target odorous gases. The container means 12 may be any suitable container such as a canister or bottle. The abatement fluid may take any usable form such as a pumpable liquid or a pressurized liquid and gas mixture. The odor abatement fluid may be dispensed as an aerosol from the nozzle means 18 through the outlet 17, for example, by pumping the liquid or releasing the valve of the pressurized liquid and gas mixture.

[0024] A known drive means 10 is provided to move the mechanical arm 11. The drive means 10 can be, for example, a servo motor designed to impart a desired movement to the mechanical arm 11. As a non-limiting example, if the container means 12 contains a pumpable liquid, the drive means moves the mechanical arm up and down at a regular frequency to impart a pumping motion to the nozzle means 18. If the container means contains a pressurized liquid and gas mixture, the drive means moves the mechanical arm 11 down for a desired period of time to dispense the aerosol, and then is moved up away from the nozzle means 18. The spray means can continue to spray the odor-reducing fluid until the device no longer detects the threshold level of the summed tilt of all the sensor means. Alternatively, the device can be programmed to spray the odor-reducing fluid for a pre-set time upon detecting the threshold level of the summed tilt of all the sensor means.

[0025] Reference numeral 13 generally refers to a known power source which may take the form of, for example, replaceable or rechargeable batteries, solar cells, or direct electricity provided by a wall outlet. The power source 13 provides energy to all components where energy is required, as shown: fan means 5 at 14, control unit 9 at 15, drive means 10 at 16, and sensor means 6, 7, and 8 at 21.

[0026] A control means 9 is provided, such as a conventional microcontroller, which includes processor means, such as a microprocessor, for executing programs stored in an internal memory. The memory also provides storage for data required for the odor sensor and abatement operation. The control means 9 has input / output circuitry for interfacing with external components. As an alternative to programmable means, the control circuitry can be implemented by a custom integrated circuit having logic circuitry for controlling the operation of the odor sensor and abatement device.

[0027] According to another embodiment, a plurality of sensor means are provided, each of which detects (responds to) a different target gas. According to a further embodiment, a first sensor means targets a sulfide target gas and other gases except aromatic gases, and a second sensor means senses all organic volatiles except the sulfide target gas. According to yet another embodiment, a first sensor means targets a sulfide target gas and other gases except aromatic gases and ammonia, a second sensor means senses all organic volatiles except the sulfide target gas and ammonia target gas, and a third sensor means senses ammonia target gas and other gases except the sulfide target gas and aromatic gases.

[0028] Air fresheners (gases) are known to add a pleasant smell to the environment. Non-limiting illustrative examples of air fresheners, such as those illustrated in US Pat. No. 5,999,333, are synthetic products of the ester, ether, aldehyde, ketone, alcohol and hydrocarbon type. Odor compounds of the ester type are, for example, benzyl acetate, phenoxyethyl isobutyrate, p-tert-butylcyclohexyl acetate, linalyl acetate, dimethylbenzylcarbinyl acetate, phenylethyl acetate, linalyl benzoate, benzyl formate, ethyl methylphenylglycinate, allyl cyclohexylpropionate, styrallyl propionate and benzyl salicylate. The ethers include, for example, benzyl ethyl ether, the aldehydes include, for example, the linear alkanals having 8 to 18 carbon atoms, citral, citronellal, citronellyloxyacetaldehyde, cyclamen aldehyde, hydroxycitronellal, lilial and brujonal, the ketones include, for example, the ionones, a-isomethylionone and methyl cedryl ketone, the alcohols include anethole, citronellol, eugenol, geraniol, linalool, phenylethyl alcohol and terpineol, and the hydrocarbons include mainly terpenes such as limonene and pinene. Mixtures of fragrances which together produce a pleasant fragrance note can also be used. Such fragrance oils can also include natural odor mixtures such as those obtained from plant sources, for example pine oil, citrus oil, jasmine oil, patchouli oil, rose oil or ylang-ylang oil. Similar are muscatel, sage oil, chamomile oil, clove oil, balm oil, mint oil, cinnamon leaf oil, lime flower oil, juniper berry oil, vetiver oil, olibanum oil, galbanum oil and labdanum oil, as well as orange flower oil, neroli oil, orange peel oil and sandalwood oil.

[0029] According to a further aspect, the device according to the invention may include a wireless local area network module capable of communicating with other devices via known communications, e.g., IEEE standards such as WiFi, Zigbee, Bluetooth, etc. By way of example, the communication protocols may include one or more of Zigbee, MiFi, MiWi, DMX, ANT, Z-Wave, Insteon, JenNet-IP, Χ10, mesh network, visible light, ultrasonic, infrared, and IP version 6 (IPv6), such as IPv6 over low power wireless personal area networks. The devices may also be operated directly by a push button or by a signal from a network or remote control device, e.g., a mobile phone or a computer.

[0030] As previously mentioned, a plurality of data points are processed by each sensor means. For example, at least 3, or at least 5, or at least 10, at least 15, or at least 20 data points may be processed by each sensor means. Also, as previously mentioned, a processor means is operatively connected to the sensor means for periodically collecting and processing data points reflecting the electrical response of each electrically responsive sensor means. Any period (t0, t1) for collecting data points may be used. For example, data points may be collected at least every 1 second (where t1=1), or at least every 3 seconds (where t1=3), or at least every 5 seconds (where t1=5), or at least every 10 seconds (where t1=10).

[0031] algorithm According to one embodiment, the algorithm utilizes linear least squares regression, optional data conditioning, optional data normalization, and data weighting. The purpose of the algorithm is to determine when to spray the odor abatement fluid. The goal is to spray the product when malodor is present and conversely, not spray the product when odor is not present. Thus, there are two machine states: spraying (malodor is present) or not spraying (odor is not present). Variables with only two states are called Boolean values, with two possible variables: true (1) and false (0). From here on, true is referred to as 1 and false is referred to as 0. The goal of the algorithm is to receive sensor data, interpret the sensor data, and return either "0" (not spray) or "1" (spray). If programmed correctly, the system should return 0 when no malodor is present and 1 when malodor is present.

[0032] Linear least squares regression As noted above, according to one aspect, a number of successive data points from each electrically responsive sensor means are processed to periodically estimate the slope of a line passing therethrough by linear least squares regression.

[0033] Data collected and plotted on a two-dimensional graph usually does not lie on a straight line, so linear least squares regression is used to estimate a line through the data.

[0034] To estimate a line from given data, use the following formula: y = mx + b (1) where m is the slope and b is the y-intercept. For the purposes of performing a linear least squares regression,

number

[0035] Below is an example of linear least squares regression applied to hypothetical processed data points measured at 2 second intervals.

[0036] [Table 1]

[0037] According to equation (2)

number

[0038] therefore, y = 2.25x ave + 10.75

[0039] Next, starting at t0 (x=0), add 1 second increments to equation (3). [Table 2]

[0040] The time versus regression line data and the raw data are plotted on the same graph.

number

[0041] However, according to one embodiment, the y-intercept b is removed from the equation since there is variation between sensors and it is preferable not to attempt to calibrate each one.

[0042] According to one aspect, linear least squares regression is applied sequentially to the set of data from each sensor means collected over a specified time segment, i.e., "moving linear least squares regression." Moving linear least squares regression refers to the time resolution of the data processing method. Similar to a moving average, a window of a given set of data includes the most recent values ​​collected by a given sensor means. As new data values ​​are provided to the processor by the sensor means, the data stored within the window shifts, the oldest values ​​in the window are discarded, and the most recent values ​​are stored. In this manner, a linear regression line can be fitted to a new set of data at each time cycle or when new sensor values ​​are received.

[0043] Optional Data Conditioning According to another aspect, the data is optionally subjected to data conditioning. A given target odor sensor means records data for a range determined by the design of the sensor means. For example, the range can be voltage-based or count-based. As an example, a voltage-based sensor means can return a voltage between 0 volts and 5 volts, and a count-based sensor means can return a measurement of airborne particles in parts per million (ppm) or parts per billion (ppb). Thus, different data ranges can make it difficult to plot data on the same graph. To allow comparison of such sensor means with different units, it may be necessary to scale the data obtained from multiple sensor means. By way of example, data conditioning as used herein follows unit-based normalization to bring the range of values ​​for a given sensor into a desired range, e.g., [0,1]. The following formula details a unit-based approach to conditioning a set of data.

number

[0044] Below is an example of applying data conditioning to hypothetical processed data points measured at 2 second intervals using y instead of x as the measurement.

[0045] [Table 3]

[0046] In this example, substitute y for the x value in equation (3). y max = 27 y min = 14

[0047] [Table 4]

[0048] According to a further aspect, the slope is optionally normalized. The slope calculated according to equation (2) may be normalized to the range [-1, 1], as a non-limiting illustrative example, using the following equation:

number

number

number

[0049] Odor Judgment According to another aspect, each slope is weighted before being added together. The slopes determined above are weighted using a weighting constant and used to return a value correlating to the probability that the target odorant is sufficiently present to likely cause a malodor sensation, which may be determined as follows: β1m1+β2m2+ …β p m p = x (8) where p is the number of sensor means used and β p is a predetermined weighting constant associated with each sensor means. The value of x is then used to provide a Boolean value indicating whether the spray means should be activated according to:

number

[0050] Determination of weighting constants for sensor means Different values ​​of β are used in the data set until a function is found that most accurately predicts the presence of a malodor. Each β value is set such that the error in equation (9) is minimized. Initially, equation (9) returns a “guess” as to whether an odor is present or not given a set of data from multiple sensor means. Whether equation (9) returns an accurate response can be determined by comparing the results of equation (9) against a “ground truth data set.” As used herein, a “ground truth data set” is defined as the correct value that equation (9) is designed to return. In this context, a ground truth data set consists of a human qualitative assessment of whether a malodor is present or not in the environment in which the odor sensing device is located. This “ground truth data set” is paired with sensor data collected during the same time frame to create a labeled training data set.

[0051] Using this training data, a set of β values ​​is found that minimizes the error in equation (9). These β values ​​are found using a known algorithmic tool called gradient descent, in this example gradient descent for multiple variables. This process results in an inference function that can then be applied to unseen data to generate responses that are as accurate as possible. This process is known as supervised machine learning and serves as the basis for the inference function.

[0052] Gradient descent Gradient descent is a well-known iterative optimization algorithm used to train models. Simply put, gradient descent finds parameters that minimize a cost function (prediction error). Gradient descent does this by iteratively moving backwards in steps along the gradient towards a set of parameter values ​​that minimizes the cost function.

[0053] The cost function is how the algorithm judges the accuracy of the inference function. The cost function in this application is an expression for the Matthews Correlation Coefficient (MCC), which is commonly used in machine learning as a measure of the quality of a binary classification. In this application, the determination of whether an odor is present or not can be viewed as a binary system. The Matthews Correlation Coefficient returns a value between -1 and +1. A value of +1 represents perfect prediction, 0 represents chance, and -1 represents perfect discrepancy between prediction and observation. Minimizing the cost function in this application corresponds to obtaining an MCC value as close as possible to +1.

[0054]

number

[0055] where TP is the total number of true positives across the training dataset, TN is the total number of true negatives across the training dataset, FP is the total number of false positives across the training dataset, and FN is the total number of false negatives across the training dataset. A true positive is defined as the predicted positive value when the observed value is also positive. A true negative is defined as the predicted negative value when the observed value is also negative. A false positive is defined as the predicted positive value when the observed value is negative. A false negative is defined as the predicted negative value when the observed value is positive.

[0056] Equation (10) can be used to determine the accuracy of the inference function over a set of training data. Knowing the accuracy of the inference function allows one to minimize error in a process known as gradient descent.

[0057] Before starting the gradient descent process, a set of initial beta values ​​is selected. The initial value of each beta is not important, since the gradient descent process will adjust these values ​​to be more accurate. As a non-limiting example, the initial beta values ​​can be some values ​​in the range [-20, 20]. The next step is to define the learning rate coefficient. The learning rate specifies how fast the beta values ​​will change during the descent process. Typically, a high learning rate provides better computational efficiency at the expense of accuracy, while a low learning rate provides better accuracy at the expense of computational efficiency. As a non-limiting example, a process with a learning rate in the range [0.0001, 1] is selected.

[0058] To start the gradient descent process, we calculate the MCC value for a given set of training data using an initial set of beta values ​​selected in the inference function. Then, an array of new beta values ​​is created consisting of all the different combinations of the original beta values ​​+ / - the learning rate factor. For example, if there are three beta values, each equal to 1, and a learning rate of 0.1, the resulting array would be as shown in the following table: [Table 5] The above table consists of all combinations of either the original beta values, the original beta values ​​plus the learning rate factor, or the original beta values ​​minus the learning rate factor. Each row of beta coefficients in this table is then used with the inference function to calculate the MCC value across the training dataset. This results in the MCC value for each row shown below, similar to the value array table above. [Table 6] In the table above, we can see that the MCC value associated with an initial beta value of (1,1,1) is 0.10. Since the goal is to get an MCC value as close to 1 as possible, the direction of the largest positive gradient will be the set of beta values ​​closest to 1. In the case of the table above, this is the last row of beta values ​​that produces an MCC value of 0.70.

[0059] The process detailed above is then repeated with an initial beta value of (1.1,1.1,1.1) until a termination condition is met. If the newly determined MCC value is almost exactly equal to the previously determined MCC value (for example, 10 to prevent the function from looping infinitely), =3 ), the termination condition is met. The idea is that if the change in the MCC value from one iteration to the next is less than epsilon, the gradient descent process has found a value that is fairly close to a local maximum, and therefore the gradient descent process can be terminated. Running this process iteratively will result in new beta values ​​that represent the best MCC value (closest to +1) that can be achieved over the given training dataset. These beta values ​​are then used to complete the inference function.

[0060] Figure 6 is a good visual representation of how gradient descent can be used to reduce the error in a cost function. It shows the path from a region of high error to a local minimum where the error is minimized.

[0061] example The following examples are provided to illustrate certain aspects of the present invention and are not intended to limit its scope.

[0062] Gradient descent for multiple variables is a well-known mathematical approach, as shown, by way of a non-limiting example, in http: / / mlwiki.org / index.php / Gradient_Descent, substantially reproduced below.

[0063] Gradient descent Suppose we have a cost function JJ that we want to minimize. ·Let us take two parameters θ0 and θ1. ·So there is J(θ0,θ1) that we want to minimize.

[0064] thought Start at some (θ0,θ1), say (0,0). ·Continue to decrease J(θ0,θ1) by changing (θ0,θ1) until it finally reaches a minimum.

[0065] In pseudocode Repeat until convergence. ○For j=0 and j=1

number

[0066] Simultaneous Updates Note that the updates for (θ0,θ1) must be simultaneous, i.e.

number

number

[0067] As can be seen, θ0 is used to calculate a new value for θ1, and therefore it cannot be updated before calculating a new value for θ0.

[0068] This is called a simultaneous update.

[0069] Intuition Let's see how this works. Only one variable θ1 and

number

number

number

number

number

[0070] With two variables the cost function would be:

number

[0071] Approaching the minimum As we approach the minimum, this takes smaller and smaller steps. If θ1 is at a minimum, then β = 0 and θ1 does not change.

[0072] Convex functions If we don't want to end up in a local minimum, the cost function J must be convex.

[0073] Univariate Linear Regression Given an input dataset of size m, {x (i) ,y (i)} ·There is a hypothesis h(x) = θ0 + θ1x. How to choose θ0 and θ1 so that h(x) is closest to the set of input data.

[0074] A cost function needs to be minimized.

number

[0075] Let's try to simplify the formula.

number

number

number

[0076] So for regression the algorithm goes like this: Repeat until convergence

number

number

[0077] The squared error cost function is convex and therefore always converges to a global minimum.

[0078] Gradient Descent for Multivariate Linear Regression In multivariate linear regression

number

number

[0079] The cost function therefore takes the form:

number

[0080] algorithm: ·repeat ○ Simultaneously for all i

number

number

[0081] Gradient descent in practice Feature Scaling Use feature scaling to help GD converge faster Learning Rate How to choose alpha? If gradient descent works properly, the cost function should decrease after each iteration. · In one iteration, J is ∈=10 -3 If it decreases by less than this, convergence is declared. If instead J is increasing, then α needs to be reduced. Select α. However, do not choose too small α, as this will take too long to converge. Try selecting α. ..., 0.001, 0.01, 0.1... or increase by a factor of 3. · And see what is acceptable.

[0082] Figure 2 shows a record of raw sensor means data recorded every second. The highlighted (grey) areas indicate when a negative odor is present (by subjective "smell" tests) in the surrounding environment (in this example, a residential bathroom). The goal is to have an algorithm accurately determine when a negative odor is present in the environment. Three sensor means were used: CCS8811 Air Quality Sensor from Adafruit SainSmart MQ135 Sensor for Ammonia SainSmart MQ136 Hydrogen Sulfide Sensor

[0083] FIG. 3 is an illustrative example of a training data set. As already mentioned, FIG. 3 shows linear regressions performed successively over 20 data points for each of the three sensor means on the raw data of FIG. 2. As shown, this always results in three different data points, i.e. the slope of each regression line. The number of data points for each sensor means can vary, for example, from about 5 to about 500. As shown, a data point is collected every second, but can vary, for example, between about 0.1 and about 10 seconds. What designates this data set as training data is the fact that it is labeled, i.e. for each set of inputs (values ​​of the sensor means), there is a designated output (odor present or not). The areas where odors were detected by humans in FIG. 3 are highlighted in grey.

[0084] Figure 4 shows an expanded view of a randomly selected segment (t0-t1) from Figure 3, with the slope of each sensor means as determined by linear least squares regression. Thus, the slope (m1) for sensor means MQ135 was determined to be 1.15 (M1), the slope (m2) for sensor means MQ136 was determined to be 1.10 (M2), and the slope (m3) for sensor means CCS8811 was determined to be 5.35 (M3).

[0085] Each of the slopes is then input into an inference function using equation (9) above. The supervised machine learning process produces an inference function that is then used to map new examples. For a three sensor means, according to equation (8), the inference function is: β1m1+β2m2+β3m3= x, (11) Here, β is a weighting coefficient for weighting each slope. Substituting the slopes shown in Figure 4 into this formula, we get β11.15 +β21.10 +β35.35 = x (12) Then, the Boolean function according to equation (9) is

number

[0086] The inference function generates a value for x, which is then input to a Boolean function. Values ​​of x that will or will not trigger spraying can be chosen randomly. For example, if the value is less than or equal to 1, the function returns 0 (don't spray), and if the value for x is greater than 1, the function returns 1 (spray).

[0087] Referring again to FIG. 3, the slopes of the three sensor readings are known, all of which are in the odor sensing zone, highlighted. β gives the Boolean function result for X>1. 1) The values ​​of β2 and β3 are found. Starting with guesses about these values ​​and refining them using multivariate multiple descent, values ​​are found that give the correct Boolean function, where X>1. Running this process multiple times with known slopes that fall both within the highlighted region (where odor is detected) and outside it (where odor is not detected), an inference function is derived using gradient descent to map new readings from the sensor. [Explanation of symbols]

[0088] 1. Odor detection device 2 Outer Housing 3 Air inlet 4 Air outlet 5 Fan Means 6 Sensor means 7 Sensor means 8 Sensor means 9. Control Means 10 Driving Means 11 Mechanical Arm 12 Container means 13 Power supply 17 Exit 18 Nozzle means 19 Odor reducing fluids 20 Spray means

Claims

1. at least one sensor means for detecting the presence of at least one target odorant in the surrounding environment and converting a response of each sensor means into an electrical output signal, the electrical response of said sensor changing according to changes in the presence of said at least one target odorant; b. processor means operatively connected to each electrically responsive sensor means for periodically collecting data points reflecting said electrical response of said sensor means, c. processor means by which a plurality of successive data points from each electrically responsive sensor means are processed to periodically estimate the slope of a line passing therethrough by linear least squares regression and to add together the estimated slopes of all the electrically responsive sensor means; d. a spraying means for spraying an odor abatement fluid, said spraying means operatively connected to said processor means; e. a spraying means, said spraying means spraying an odor abatement fluid when the summed slopes of all sensor means exceed a threshold level; An apparatus comprising:

2. 10. The apparatus of claim 1, including a plurality of sensor means, each sensor means sensitive to a different target odorous gas.

3. 3. The apparatus of claim 2, wherein at least three consecutive data points from each electrically responsive sensor means are processed in step (c).

4. 3. The apparatus of claim 2, wherein at least 10 consecutive data points from each electrically responsive sensor means are processed in step (c).

5. 3. The apparatus of claim 2, wherein at least 20 consecutive data points from each electrically responsive sensor means are processed in step (c).

6. The apparatus of claim 2 , wherein each of the slopes is weighted before being added together.

7. The apparatus of claim 5 , wherein each of the slopes is weighted before being added together.

8. The apparatus of claim 6 , wherein each of the gradients is weighted before being added together using a weighting factor determined by a gradient descent method.

9. The apparatus of claim 7 , wherein each of the gradients is weighted before being added together using a weighting factor determined by a gradient descent method.

10. 3. The apparatus of claim 2, wherein the first sensor means targets the sulfide target gas and the second sensor means senses all organic volatiles except the sulfide target gas.

11. 6. The apparatus of claim 5, wherein the first sensor means targets the sulfide target gas and the second sensor means senses all organic volatiles except the sulfide target gas.

12. 11. The apparatus of claim 10, wherein the third sensor means senses ammonia target gas excluding sulfide target gas, and the second sensor means senses total organic volatiles excluding sulfide and ammonia target gases.

13. 12. The apparatus of claim 11, wherein the third sensor means senses ammonia target gas excluding sulfide target gas, and the second sensor means senses total organic volatiles excluding sulfide and ammonia target gases.

14. 3. The apparatus of claim 2, wherein the first sensor means targets the sulfide target gas and other gases excluding aromatic gases, and the second sensor means senses all organic volatiles excluding the sulfide target gas.

15. 6. The apparatus of claim 5, wherein the first sensor means targets the sulfide target gas and other gases excluding aromatic gases, and the second sensor means senses all organic volatiles excluding the sulfide target gas.

16. 15. The apparatus of claim 14, wherein the third sensor means senses ammonia target gas and other gases excluding sulfide target gas and aromatic gases, and the second sensor means senses total organic volatiles excluding sulfide target gas and ammonia target gas.

17. 16. The apparatus of claim 15, wherein the third sensor means senses ammonia target gas and other gases excluding sulfide target gas and aromatic gases, and the second sensor means senses total organic volatiles excluding sulfide target gas and ammonia target gas.

18. 3. The apparatus of claim 2, wherein the data points from each electrically responsive sensor means are processed to periodically estimate the slope of a line passing therethrough by a moving linear least squares regression.

19. 7. The apparatus of claim 6, wherein the data points from each electrically responsive sensor means are processed to periodically estimate the slope of a line passing therethrough by a moving linear least squares regression.

20. a. exposing at least one sensor means to an ambient environment for detecting and responding to the presence of at least one odor causing substance; b. periodically converting the response of each sensor means into a periodic electrical output signal; c. transmitting each periodic electrical output signal to a control means, the control means calculating a slope between said periodic electrical output signals by linear least squares regression using the plurality of periodic electrical output signals; d. adding the slopes; e. activating the release of an odor treatment agent into said surrounding environment when the summed slope of all sensor means exceeds a threshold level; The method includes:

Citation Information

Patent Citations

  • JP2010/0205731

  • Dispenser

    US20060210421A1

  • Washing or cleaning agents

    US20060223738A1

  • Dispensing device for air treatment agents

    US9132205B2