Method for calibrating color detection and aerosol-generating device

By calibrating the color threshold interval of the color detection device in the aerosol generation device, the problem of color detection errors caused by lens dirt and aging is solved, and the accuracy of color detection and the reliability of intelligent control are improved.

CN118583784APending Publication Date: 2024-09-03SHENZHEN FIRST UNION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310237705.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The color detection device in the existing aerosol generation device causes color detection errors due to lens dirt or aging, which affects the accuracy of intelligent control.

Method used

After obtaining the no-load signal of the aerosol generation device, the color detection device is controlled to perform color detection, obtain a new background color value, and calibrate the color threshold interval based on the deviation between the new background color value and the current background color value. Adjust to the new color threshold interval and store it as a calibrated reference value for color judgment.

Benefits of technology

It can effectively correct errors such as small dirt and brightness attenuation, improve the accuracy of color detection, adapt to the dirt and aging conditions of the detection device, and ensure the accuracy of color detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583784A
    Figure CN118583784A
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of aerosol generation devices, and discloses a method for calibrating color detection and an aerosol generation device, after a no-load signal of the aerosol generation device is obtained, a color detection device is controlled to carry out color detection, and a new ground color value is obtained. And according to the new ground color value and the current ground color value, calibrating the current color threshold interval to obtain a new color threshold interval. And storing the new color threshold interval and the new ground color value. Namely, along with the use of the aerosol generating device, the current ground color value and the current color threshold interval are recalibrated, and the new color threshold interval and the new ground color value obtained through calibration are used as reference values for judging the color, so that the reference values adapt to the smudginess and aging conditions of the color detection device, and the color detection accuracy is improved. According to the invention, tiny dirt, brightness attenuation and other tiny errors can be corrected in time, so that the color detection is more accurate, and the anti-dirt effect is effectively achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of aerosol generating devices, and in particular to a method for calibrating color detection and an aerosol generating device. Background Art

[0002] The aerosol generating device uses a heater to heat and bake the aerosol-forming substrate to generate an aerosol for use by the user. Typically, the aerosol-forming article is inserted into a chamber of the aerosol generating device, and the heater heats at least a portion of the aerosol-forming article received in the chamber to generate an aerosol.

[0003] In order to simplify user operation, existing aerosol generating devices generally set a color detection device in the chamber or around it to detect the insertion state of the aerosol-forming product or identify aerosol-forming substrates of different flavors. Based on these detection results, the aerosol generating device is automatically controlled to achieve a high degree of intelligence. However, the light source for emitting light and the color sensor for receiving reflected light in the color detection device are prone to dirt or aging on their lenses, resulting in errors in color detection. Summary of the invention

[0004] In view of this, some embodiments of the present application provide a method for calibrating color detection, which is applied to an aerosol generating device including a color detection device. It can calibrate the reference value used to judge the color based on the dirtiness and / or aging of the lens in the color detection device, so as to make the color detection more accurate.

[0005] In a first aspect, some embodiments of the present application provide a method for calibrating color detection, which is applied to an aerosol generating device including a color detection device, and the method includes:

[0006] After obtaining the no-load signal of the aerosol generating device, the color detecting device is controlled to perform color detection to obtain a new background color value;

[0007] According to the new background color value and the current background color value, the current color threshold interval is calibrated to obtain a new color threshold interval;

[0008] Store the new color threshold range and the new background color value.

[0009] In some embodiments, the above-mentioned calibration of the current color threshold interval according to the new background color value and the current background color value to obtain a new color threshold interval includes:

[0010] Determine the deviation between the new background color value and the current background color value;

[0011] According to the deviation, the current color threshold interval is adjusted to obtain a new color threshold interval.

[0012] In some embodiments, the current color threshold interval is adjusted according to the deviation to obtain a new color threshold interval, including:

[0013] The current color threshold interval is relaxed according to the deviation to obtain a new color threshold interval.

[0014] In some embodiments, the above-mentioned process of relaxing the current color threshold interval according to the deviation to obtain a new color threshold interval includes:

[0015] The absolute value of the deviation is multiplied by a preset first coefficient and then added to the upper limit of the current color threshold interval to obtain a new color threshold interval; and / or,

[0016] The product of the absolute value of the deviation and the preset second coefficient is subtracted from the lower limit of the current color threshold interval to obtain a new color threshold interval.

[0017] In some embodiments, the above-mentioned process of relaxing the current color threshold interval according to the deviation to obtain a new color threshold interval includes:

[0018] The absolute value of the deviation is multiplied by the preset first coefficient and added to the upper limit of the current color threshold range. The absolute value of the deviation is multiplied by the preset third coefficient and added to the lower limit of the current color threshold range to obtain a new color threshold range, wherein the third coefficient is smaller than the first coefficient.

[0019] In some embodiments, the above-mentioned adjustment of the current color threshold interval to obtain a new color threshold interval includes:

[0020] The current color threshold interval is moved according to the deviation to obtain a new color threshold interval.

[0021] In some embodiments, the above-mentioned moving process of the current color threshold interval according to the deviation to obtain a new color threshold interval includes:

[0022] The upper limit of the current color threshold interval is subtracted from the product of the absolute value of the deviation and the preset fourth coefficient, and the lower limit of the current color threshold interval is subtracted from the product of the absolute value of the deviation and the fourth coefficient to obtain a new color threshold interval.

[0023] In some embodiments, the method further comprises:

[0024] If the absolute value of the deviation is greater than or equal to the first threshold, a prompt signal for cleaning the lens in the color detection device is issued.

[0025] In some embodiments, the current background color value is HSV data under the HSV color model.

[0026] Before the step of calibrating the current color threshold interval according to the new background color value and the current background color value to obtain the new color threshold interval, the method further includes:

[0027] Convert the new background color value into HSV data under the HSV color model.

[0028] In some embodiments, the method further comprises:

[0029] determining the insertion state of the aerosol-forming article based on the new color interval threshold, the new background color value, and the color value detected by the color detection device;

[0030] The operation of the heater in the aerosol generating device is controlled according to the insertion status of the aerosol-forming article.

[0031] In some embodiments, the aforementioned determining the insertion state of the aerosol-forming article according to the new color interval threshold, the new background color value and the color value detected by the color detection device includes:

[0032] If the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a label color, it is determined that the aerosol-forming article is inserted in place, wherein the label color is the color of the label provided on the aerosol-forming article;

[0033] The aforementioned method of controlling the operation of the heater in the aerosol generating device according to the insertion state of the aerosol-forming article comprises:

[0034] If the aerosol-forming article is inserted in place, the heater is controlled to heat.

[0035] In some embodiments, the aforementioned determining the insertion state of the aerosol-forming article according to the new color interval threshold, the new background color value and the color value detected by the color detection device includes:

[0036] If the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a body color, it is determined that the aerosol-forming article is not inserted in place, wherein the body color is the color of the aerosol-forming article body;

[0037] The aforementioned method of controlling the operation of the heater in the aerosol generating device according to the insertion state of the aerosol-forming article comprises:

[0038] If the aerosol-forming article is not inserted in place, the heater is controlled to stop heating.

[0039] In some embodiments, the method further comprises:

[0040] Determining the type of the aerosol-forming product based on the new color interval threshold, the new background color value, and the color value detected by the color detection device;

[0041] Determine corresponding temperature configuration information according to the type of aerosol-forming product;

[0042] Power supplied to a heater in the aerosol generating device is controlled based on the temperature profile information.

[0043] In some embodiments, the above-mentioned determining the type of aerosol-forming product according to the new color interval threshold, the new background color value and the color value detected by the color detection device includes:

[0044] If the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a target label color, the type of the aerosol-forming product is determined to be the type corresponding to the target label color.

[0045] In a second aspect, some embodiments of the present application provide an aerosol generating device, characterized in that it includes:

[0046] a housing having an opening;

[0047] a chamber configured to receive or remove an aerosol-forming article through the opening;

[0048] a heater configured to heat at least a portion of the aerosol-forming article received in the chamber to generate an aerosol;

[0049] a color detection device configured to emit light into the chamber and detect reflection of the light to detect a color value;

[0050] The control circuit is connected to the heater and the color detection device respectively, and is used to execute the method of the first aspect.

[0051] Beneficial effects of the embodiments of the present application: Different from the prior art, the method for calibrating color detection provided in the embodiments of the present application is applied to an aerosol generating device including a color detection device, and the method includes: after obtaining the no-load signal of the aerosol generating device, controlling the color detection device to perform color detection to obtain a new background color value. According to the new background color value and the current background color value, the current color threshold interval is calibrated to obtain a new color threshold interval. The new color threshold interval and the new background color value are stored as calibrated reference values ​​for color detection. In this embodiment, with the use of the aerosol generating device, the current background color value and the current color threshold interval are recalibrated, and the calibrated new color threshold interval and the new background color value are used as reference values ​​for judging the color, so that the reference value adapts to the dirt and aging of the color detection device, and can make subtle errors such as fine dirt and brightness attenuation corrected in time, so that color detection is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0053] Figure 1 Schematic diagram of an aerosol generating device and an aerosol forming article in some embodiments of the present application;

[0054] Figure 2 Schematic diagram of an aerosol generating device in some embodiments of the present application;

[0055] Figure 3 Schematic diagram of an aerosol-forming article in some embodiments of the present application;

[0056] Figure 4 Schematic diagram of an aerosol generating device and an aerosol forming article in some embodiments of the present application;

[0057] Figure 5 A schematic diagram of light propagation of a color detection device in some embodiments of the present application;

[0058] Figure 6 A schematic flow chart of a method for calibrating color detection in some embodiments of the present application;

[0059] Figure 7 A schematic flow chart of a method for calibrating color detection in some embodiments of the present application;

[0060] Figure 8 Schematic diagram of a flow chart of a method for calibrating color detection in some embodiments of the present application. DETAILED DESCRIPTION

[0061] The present application is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements can also be made without departing from the concept of the present application. These all belong to the protection scope of the present application.

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. In addition, the words "first", "second", "third", etc. used herein do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0064] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this specification and in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0065] In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.

[0066] Figure 1 and Figure 2 The aerosol generating device 10 provided in some embodiments of the present application includes: a chamber 11, a heater 12, a power supply 14, a control circuit 15 and a color detection device 16. The control circuit 15 is electrically connected to the power supply 14, the heater 12 and the color detection device 16.

[0067] The chamber 11 is used to receive or remove the aerosol-forming article 20. The aerosol-forming article 20 can be inserted into or removed from the chamber 11 through the opening A on the aerosol generating device 10.

[0068] like Figure 3As shown, in some embodiments, the aerosol-forming article 20 includes a filter 21 and a body 22. The body 22 includes an aerosol-forming substrate. The aerosol-forming substrate is a substrate that can release volatile compounds that can form an aerosol. Such volatile compounds can be released by heating the aerosol-forming substrate. The aerosol-forming substrate can be a solid aerosol-forming substrate. Alternatively, the aerosol-forming substrate can include solid and liquid components.

[0069] In certain embodiments, the aerosol-forming substrate may include a tobacco-containing material that includes volatile tobacco flavor compounds released from the substrate when heated. Alternatively, the aerosol-forming substrate may include a non-tobacco material. The aerosol-forming substrate may further include an aerosol former. The example of a suitable aerosol former is glycerol and propylene glycol.

[0070] The aerosol generated by the heating of the body 22 is delivered to the user through the filter 21, which may be a cellulose acetate filter. The filter 21 may spray a flavoring liquid to provide a flavor, or a separated fiber coated with a flavoring liquid may be inserted into the filter to improve the durability of the flavor delivered to the user. The filter 21 may also have a capsule in a spherical or cylindrical shape, and the capsule may contain a content of a flavoring substance.

[0071] exist Figure 3 Only the components of the aerosol generating article 20 related to this embodiment are shown. Accordingly, those skilled in the art related to this embodiment should understand that the aerosol generating article 20 may also include components other than Figure 3 For example, a cooling section for cooling the aerosol generated by heating the body 22 so that the user can inhale the aerosol cooled to an appropriate temperature.

[0072] The outer surface of the filter 21 at the junction with the body 22 has a label C. The color of the label C can be a single color, such as red, blue, green, etc., or a mixed color. The color of the label C can represent different types of aerosol generating products 20 (not limited to this type), for example: red represents mint-flavored aerosol generating products, blue represents coffee-flavored aerosol generating products, green represents mango-flavored aerosol generating products, etc. The color of the label C is different from the color of the outer surface of the body, so as to facilitate detection and identification by the color detection device.

[0073] The heater 12 is used to heat the aerosol-forming article 20 to generate an inhalable aerosol.

[0074] The heater 12 includes a tubular substrate 121 extending axially along the chamber 11 and surrounding the chamber 11, and an electric heating element 122 disposed on the outer surface of the substrate 121. In some embodiments, the electric heating element 122 is a resistive heating circuit disposed on the substrate 121, such as a conductive track, a MESH heating net, a heating wire, etc. The resistive heating circuit is coupled to the power source 14 through a lead 13 or a conductive medium, generates heat after receiving the power provided by the power source 14, and transmits the heating energy generated by the heat generation to the aerosol-forming product 20 through the substrate 121. In some embodiments, the electric heating element 122 may also be an infrared electric heating coating formed on the substrate 121, which is coupled to the power source 14 through a wire 13 or a conductive medium, generates heat after receiving the power provided by the power source 14, and generates infrared rays, and the aerosol-forming product 20 may be heated by the infrared-transmitting substrate 121 or by direct radiation.

[0075] The color detection device 16 is disposed on a base 17 above the chamber, and includes a light source and a color sensor (not shown). The base 17 is provided with a through hole communicating with the chamber, so that the aerosol-forming product can enter the chamber through the through hole on the base. In some embodiments, the base 17 is fixed in the housing and is also used to fix the tubular substrate 121.

[0076] In some embodiments, the aerosol generating product 20 includes an atomizer, wherein a liquid storage tank is disposed inside the atomizer, and a liquid aerosol-forming substrate is disposed inside the liquid storage tank; in some embodiments, a heating element is also disposed inside the atomizer, which is used to heat and atomize the liquid aerosol-forming substrate. In some embodiments, the atomizer is not provided with a heating element inside, but only has a liquid storage function, which is used to cooperate with an external heating element to heat and atomize the liquid aerosol-forming substrate inside the atomizer. In the above-mentioned atomizer embodiment, as Figure 4 As shown, the outer surface shell of the nebulizer has a label C; the color of the label C is different from the color of other shells on the outer surface of the nebulizer, so as to facilitate detection and identification by the color detection device 16. In some embodiments, the inside of the nebulizer can also be equipped with an ultrasonic atomization element to ultrasonically atomize the liquid aerosol-forming matrix.

[0077] When the aerosol generating article 20 is inserted into the chamber 11, the position of the color sensor is arranged to correspond to the label C of the aerosol generating article 20. The light source is configured to emit light into the chamber 11 of the aerosol generating device 10. The color sensor is configured to detect the reflection of the light and obtain a color value. It can be understood that the color value represents the color, for example, the color value can be an RGB value, etc. The light source and the color sensor both include a lens, such as Figure 5As shown, the light emitted by the light source passes through the lens of the light source and irradiates the inner wall of the chamber or the object inserted into the chamber. After being reflected, the light passes through the lens of the color sensor and is received to detect and obtain the color value.

[0078] In some embodiments, the light source may be an LED light. The color sensor may include a color filter and a photodetector, through which the color of the reflected light is detected and a corresponding color value is generated. The photodetector includes but is not limited to a photodiode, a photoresistor, a phototransistor, etc. It should be noted that the structure of the color sensor is not limited to this case. The light source and the color sensor may be provided independently or integrated together.

[0079] In some embodiments, the aerosol generating device 10 further includes an upper cover and a Hall sensor (not shown), and the upper cover is used to selectively cover the opening A of the aerosol generating device 10. In some embodiments, the upper cover is disposed on the housing and can slide relative to the housing, and the opening A is exposed or closed by sliding. In some embodiments, the upper cover is detachably connected to the housing by a buckle or a thread. When using the aerosol generating device, the upper cover can be opened.

[0080] A magnet is arranged in the upper cover. It is understood that when the upper cover is closed, the magnet does not correspond to the chamber 11, but corresponds to the space beside the chamber 11. The Hall sensor is arranged in the housing. When the upper cover is closed, the magnet corresponds to the Hall sensor. Since the Hall sensor can detect the magnetic field and its changes, the Hall sensor can detect the opening or closing of the upper cover.

[0081] The power source 14 provides power for operating the aerosol generating device 10. For example, the power source 14 can provide power to the heater 12, and the heater 12 generates heat to generate heating energy after receiving power; the power source 14 can provide power to the color detection device 16, and the color detection device 16 performs color detection after receiving power. In addition, the power source 14 can provide power required for operating other components provided in the aerosol generating device 10. The power source 14 can be a rechargeable battery or a disposable battery. The power source 14 can be, but is not limited to, a lithium iron phosphate (LiFePO4) battery. For example, the power source 14 can be a lithium cobalt oxide (LiCo02) battery or a lithium titanate battery.

[0082] The control circuit 15 includes a controller, which can control the overall operation of the aerosol generating device 10. For example, the control circuit 15 controls the operation of the power supply 14, the heater 12, the Hall sensor and the color detection device 16, and also controls the operation of other components in the aerosol generating device 10. In addition, the control circuit can determine whether the aerosol generating device 10 can be operated by detecting the state of each component in the aerosol generating device 10. For example, when the Hall sensor detects that the upper cover is opened, it sends a signal to the controller, and the controller controls the aerosol generating device to power on and enter the standby state.

[0083] Considering that the light source for emitting light and the color sensor for receiving reflected light in the color detection device are prone to dirt or aging on their lenses, errors in color detection may occur. In some embodiments of the present application, the controller circuit 15 obtains the color of the inner wall of the chamber detected by the color detection device 16, and calibrates the stored reference value for judging the color according to the color of the inner wall of the chamber to improve the accuracy of color detection. In some embodiments, the control circuit 15 includes a memory for storing program instructions corresponding to the method for calibrating color detection in any of the following method embodiments, so that the method for calibrating color detection in any of the following method embodiments can be implemented. Based on the dirtiness and / or aging of the lens in the color detection device, the reference value for judging the color can be calibrated to make the color detection more accurate.

[0084] The following describes the method for calibrating color detection provided by some embodiments of the present application in conjunction with the exemplary application and implementation of the aerosol generating device provided by the embodiments of the present application. Figure 6 , Figure 6 It is a flowchart of a method for calibrating color detection provided by some embodiments of the present application. It can be understood that the execution subject of the control method can be one or more controllers in the control circuit.

[0085] like Figure 6 As shown, the method S100 may specifically include the following steps:

[0086] S10: After obtaining the no-load signal of the aerosol generating device, the color detection device is controlled to perform color detection to obtain a new background color value.

[0087] Among them, the no-load signal is used to indicate that no aerosol-forming product is inserted into the chamber of the aerosol generating device. For example, when the user uses an aerosol-forming product and removes the aerosol-forming product from the chamber, a no-load signal is generated. In some embodiments, a pressure sensor can be used to monitor the no-load condition and generate a no-load signal. In some embodiments, a no-load signal can be generated based on a color detection device. Specifically, if the color detection device detects the label color and the color of the inner wall of the chamber in sequence within a certain period of time, it can be determined that the aerosol-forming matrix is ​​pulled out and a no-load signal is generated. After obtaining the no-load signal, the controller controls the color detection device to perform detection and obtain a new background color value.

[0088] Since the new background color value is detected when the aerosol generating device is unloaded, the new background color value reflects the color of the inner wall of the chamber. It is understandable that when the aerosol generating device leaves the factory, an initial background color value is stored. After the aerosol generating device is used once or multiple times, the color device is controlled to perform color detection to detect a new background color value. In theory, the new background color value obtained by the i-th use detection is consistent with the initial background color value. However, with the use of the aerosol generating device, the lens of the light source and the lens of the color sensor in the color detection device are prone to dirt, such as oil or residue generated when the aerosol is baked to form a matrix, or aging occurs, such as yellowing of the lens. These dirt or aging will cause the brightness or saturation of the emitted light or reflected light to decay, resulting in color detection errors. Therefore, the new background color value obtained by the i-th use detection will change significantly relative to the initial background color value.

[0089] S20: Calibrate the current color threshold interval according to the new background color value and the current background color value to obtain a new color threshold interval.

[0090] The current background color value is the background color value before calibration, for example, it can be the background color value of the inner wall color of the chamber detected after the i-th use. The new background color value is the background color value after calibration, for example, it can be the background color value of the inner wall color of the chamber detected after the j-th use, where i<j.

[0091] Theoretically, the new background color value detected after the jth use is consistent with the current background color value detected after the ith use. However, with the use of the aerosol generating device, dirt easily occurs on the lens of the light source and the lens of the color sensor in the color detection device, such as oil or residue generated when the aerosol is baked to form a matrix, or aging occurs, such as yellowing of the lens. Small dirt or slight aging generated during use will cause the brightness or saturation of the emitted light or reflected light to decay, resulting in color detection errors. Therefore, the new background color value detected after the jth use will change relative to the current background color value detected after the ith use.

[0092] It is understandable that the difference between the new background color value and the current background color value reflects the detection deviation of the color detection device. Therefore, the current color threshold interval is calibrated according to the new background color value and the current background color value to obtain a new color threshold interval.

[0093] The current color threshold interval is the color threshold interval obtained by the last calibration, for example, the color threshold interval obtained by the calibration after the i-th use. The new color threshold interval is the color threshold interval obtained by the calibration after the current use, for example, the color threshold interval obtained by the calibration after the j-th use.

[0094] It is understood that when the aerosol generating device leaves the factory, an initial color threshold interval is stored. It is understood that the same color has different hues, saturations, and brightnesses, so the color value corresponding to each color is within a certain interval. In some embodiments, the initial color threshold interval can be a difference threshold interval obtained by subtracting the initial background color value from the color value interval corresponding to a certain color.

[0095] In some embodiments, these initial color threshold intervals include difference threshold intervals corresponding to multiple colors, for example, difference threshold intervals corresponding to the color of the inner wall of the chamber (for example, white or gray, etc.), one or more aerosol-forming product body colors (for example, brown or yellow, etc.), or multiple label colors (for example, red labels, blue labels, or green labels, etc.).

[0096] It is understandable that after each use of the aerosol generating device one or more times, the current color threshold interval is calibrated to obtain a new color threshold interval. For the jth use, the current color threshold interval may be the color threshold interval calibrated after the i-th use.

[0097] When color detection is performed, the new background color value C0 is subtracted from the detected color value C1. If the difference is within a new color threshold interval D, the detected color is the color corresponding to the new color threshold interval D.

[0098] It can be seen that after calibration, the new color threshold interval and the new background color value obtained are the reference values ​​for judging the color. In some embodiments, j can be i+1. In this embodiment, the reference value for judging the color is calibrated once each time the aerosol generating device is used. In some embodiments, j=i+k, where k is a positive integer greater than 1. In this embodiment, the reference value for judging the color is calibrated once every k times. In some embodiments, the interval time t can be set (for example, t can be 48h or 72h, etc.). After the i-th use, after the interval time t, the aerosol generating device is used again, that is, the j-th use. In this embodiment, the reference value for judging the color is calibrated once every interval time t. It can be understood that those skilled in the art can set the calibration frequency of the reference value for judging the color according to the actual situation.

[0099] In some embodiments, the current background color value is HSV data under the HSV color model, wherein the HSV data includes a hue H value, a saturation S value, and a lightness V value.

[0100] Among them, the hue H value refers to the wavelength transmitted or reflected by the object, and is identified by colors such as red, green, etc. The hue H value is measured in angles, ranging from 0° to 360°, starting from red and counting counterclockwise, with red being 0°, green being 120°, and blue being 240°. The saturation S value, also known as chromaticity, refers to the intensity or purity of the color. Saturation represents the ratio of gray to hue, and is measured from 0% (gray) to 100% (fully saturated). The lightness V value refers to the relative lightness and darkness of the color, usually measured as a percentage from 0% (black) to 100% (white).

[0101] In the HSV color model, the HSV value ranges corresponding to each color are significantly different, which is beneficial to the accuracy of color detection.

[0102] In this embodiment, before step S20, the method further includes: converting the new background color value into HSV data under the HSV color model.

[0103] In some embodiments, the detected new background color value is generally quantized using RGB values. Therefore, converting the new background color value into HSV data under the HSV color model is beneficial to subsequent calculations. It is understandable that converting values ​​under other color models into HSV data under the HSV color model belongs to the prior art and will not be described in detail here.

[0104] In some embodiments, the aforementioned step S20 specifically includes:

[0105] S21: Determine the deviation between the new background color value and the current background color value.

[0106] S22: According to the deviation, the current color threshold interval is adjusted to obtain a new color threshold interval.

[0107] Based on the difference between the new background color value and the current background color value, the detection deviation of the color detection device is reflected. In this embodiment, the new background color value HSV is used. j And the current background color value HSV i The deviation Δ between them evaluates the detection deviation of the color detection device.

[0108] According to the deviation Δ, the current color threshold interval is adjusted to obtain a new color threshold interval, so that the new color threshold interval can compensate for the detection deviation of the color detection device. Therefore, if the new color threshold interval is used as a reference value for judging color, color detection is more accurate.

[0109] In some embodiments, the aforementioned step S22 specifically includes:

[0110] S221: Relax the current color threshold interval according to the deviation to obtain a new color threshold interval.

[0111] Among them, the relaxation process refers to expanding the current color threshold interval D i The range of the current color threshold interval D i The distance between the upper limit max and the lower limit min becomes larger.

[0112] In this embodiment, based on the deviation, the current color threshold interval D i The distance between the upper limit max and the lower limit min becomes larger, and a new color threshold interval is obtained, so that the new color threshold interval covers a larger color range. Therefore, even if the color value detected by the color detection device has an error, since the new color threshold interval with a larger color range is used as a reference value for judging the color, the color value detected with an error can still fall within the corresponding new color threshold interval. Therefore, the correct color can still be detected, making color detection more accurate.

[0113] In some embodiments, the aforementioned step S221 specifically includes:

[0114] The absolute value of the deviation is multiplied by a preset first coefficient and then added to the upper limit of the current color threshold interval to obtain a new color threshold interval; and / or,

[0115] The product of the absolute value of the deviation and the preset second coefficient is subtracted from the lower limit of the current color threshold interval to obtain a new color threshold interval.

[0116] In some embodiments, the current color threshold interval D iis [min, max], multiply the absolute value of the deviation |Δ| by the first coefficient α1 to obtain the product |Δ|*α1, add the product |Δ|*α1 to the upper limit max of the current color threshold interval to obtain a new color threshold interval D j , which is [min,max+|Δ|*α1].

[0117] The first coefficient α1 is an empirical value greater than or equal to 1, which makes the widening range of the current color threshold interval greater than the absolute value of the deviation |Δ|, which is conducive to improving the new color threshold interval D j The range of colors to cover.

[0118] In this embodiment, the current color threshold interval D i By increasing the upper limit of , the relaxation processing can be effectively realized, and the obtained new color threshold interval can cover a larger color range. Therefore, the detected color value with error can still fall within the corresponding new color threshold interval, that is, the correct color can still be detected, making color detection more accurate.

[0119] In some embodiments, the current color threshold interval D i The lower limit min of [min,max] is subtracted from the absolute value of the deviation and the product of the second coefficient |Δ|*α2 to obtain the new color interval D j , [min-|Δ|*α2,max].

[0120] The second coefficient α2 is an empirical value greater than or equal to 1, so that the widening range of the current color threshold interval is greater than the absolute value of the deviation |Δ|, which is conducive to improving the new color threshold interval D j The range of colors to cover.

[0121] In this embodiment, the current color threshold interval D i By reducing the lower limit of , the relaxation processing can be effectively realized, and the new color threshold interval obtained can cover a larger color range. Therefore, the detected color value with error can still fall within the corresponding new color threshold interval, that is, the correct color can still be detected, making color detection more accurate.

[0122] In some embodiments, the current color threshold interval D i The upper limit of the color threshold interval D is increased. i The lower limit of is reduced to obtain a new color interval D j, [min-|Δ|*α2, max+|Δ|*α1], can effectively realize the relaxation processing, and the detected color value with error can still fall within the corresponding new color threshold range with a greater probability, that is, the correct color can still be detected, making color detection more accurate.

[0123] In some embodiments, the aforementioned step S221 specifically includes: multiplying the absolute value of the deviation by a preset first coefficient and adding the resultant value to the upper limit of the current color threshold interval; multiplying the absolute value of the deviation by a preset third coefficient and adding the resultant value to the lower limit of the current color threshold interval to obtain a new color threshold interval, wherein the third coefficient is smaller than the first coefficient.

[0124] In some embodiments, the current color threshold interval D i is [min, max], the absolute value of the deviation |Δ| is multiplied by the first coefficient α1 to obtain the product |Δ|*α1, the product |Δ|*α1 is added to the upper limit max of the current color threshold interval, and in addition, the absolute value of the deviation |Δ| is multiplied by the third coefficient α3 to obtain the product |Δ|*α3, the product |Δ|*α3 is added to the lower limit min of the current color threshold interval to obtain a new color threshold interval D j , [min+|Δ|*α3,max+|Δ|*α1].

[0125] The third coefficient α3 is an empirical value smaller than the first coefficient α1, and can be set according to actual conditions.

[0126] Since the third coefficient α3 is smaller than the first coefficient α1, the increase of the lower limit min is smaller than the increase of the upper limit max, so that the new color threshold interval D j As a result, the detected color value with errors can still fall within the corresponding new color threshold range, that is, the correct color can still be detected, making color detection more accurate.

[0127] In some embodiments, the aforementioned step S22 specifically includes:

[0128] S222: Moving the current color threshold interval according to the deviation to obtain a new color threshold interval.

[0129] The moving process refers to processing the upper limit and the lower limit of the current color threshold interval with the same variable while the interval range remains unchanged, so as to achieve sliding.

[0130] In this embodiment, based on the deviation, the upper and lower limits of the current color threshold interval are moved by the same variable, and the moving direction is consistent with the positive and negative directions of the deviation. For example, if the deviation is negative (the new background color value HSV j Less than the current background color HSV valuei ), the current color threshold interval is moved in the direction of decreasing the upper or lower limit, so that the new color threshold interval can cover the same color range, and the detected color value with error can still fall within the corresponding new color threshold interval, that is, the correct color can still be detected, making color detection more accurate.

[0131] In some embodiments, the aforementioned step S222 specifically includes: subtracting the product of the absolute value of the deviation and the preset fourth coefficient from the upper limit of the current color threshold interval, and subtracting the product of the absolute value of the deviation and the fourth coefficient from the lower limit of the current color threshold interval to obtain a new color threshold interval.

[0132] It is understandable that the lens of the light source and the lens of the color sensor in the color detection device are prone to dirt, such as oil or residue generated when the aerosol is baked to form a matrix, or aging, such as yellowing of the lens, etc. Such dirt or aging will cause the brightness or saturation of the emitted light or reflected light to decay, that is, the brightness or saturation of the detected color value is too small, so, in this embodiment, the current color threshold interval is moved in the direction of decreasing the upper limit or lower limit to adapt to compensate for the detection error.

[0133] Specifically, the current color threshold interval D i The upper limit max of [min,max] is minus the product of the absolute value of the deviation and the fourth coefficient |Δ|*α4, and the lower limit min is minus the product of the absolute value of the deviation and the fourth coefficient |Δ|*α4, to obtain [min-|Δ|*α4,max-|Δ|*α4].

[0134] The fourth coefficient α4 is an empirical value greater than or equal to 1, so that the current color threshold interval moves in a direction of decreasing the upper limit or the lower limit.

[0135] In this embodiment, the current color threshold interval is moved in a direction of decreasing the upper limit or the lower limit, so that the obtained new color threshold interval can adapt to compensate for the detection error, making the color detection more accurate.

[0136] S30: storing the new color threshold range and the new background color value.

[0137] After obtaining the new color threshold interval and the new background color value, the new color threshold interval and the new background color value are stored for use as a reference value for judging the color the next time the color is detected. Thus, with the use of the aerosol generating device, the current background color value and the current color threshold interval can be calibrated, making the color detection more accurate.

[0138] In this embodiment, with the use of the aerosol generating device, the current background color value and the current color threshold interval are recalibrated, and the calibrated new color threshold interval and new background color value are used as reference values ​​for judging the color, so that the reference value adapts to the dirtiness of the color detection device, and subtle errors such as small dirt and brightness attenuation can be corrected in time, making color detection more accurate and effectively achieving the anti-fouling effect.

[0139] In some embodiments, the method S100 further includes:

[0140] S40: If the absolute value of the deviation is greater than or equal to the first threshold, a prompt signal for cleaning the lens in the color detection device is issued.

[0141] The first threshold is a threshold value when the lens in the color detection device is dirty or aged, which affects the detection work. Based on the fact that the degree of dirt or aging is inversely correlated with the accuracy of color detection, it can be understood that the first threshold can reflect the degree of dirt or aging. If the absolute value of the deviation is greater than or equal to the first threshold, it means that the dirt or aging is more serious, and a prompt signal is issued to prompt the user to clean the lens of the color detection device. In some embodiments, the user can be reminded to clean the lens of the color detection device by vibration, light or sound.

[0142] It is understandable that in some embodiments, if the absolute value of the deviation is greater than or equal to the first threshold, a prompt signal to clean the chamber may also be issued. In some embodiments, the user may be reminded to clean the chamber by vibrations of different modes, different lights or sounds.

[0143] In this embodiment, by comparing the absolute value of the deviation with the first threshold, the degree of dirtiness or aging of the lens in the color detection device is monitored, and the user can be reminded to clean the lens in time to improve the accuracy of color detection.

[0144] In some embodiments, see Figure 7 , the method S100 further includes:

[0145] S50: Determine the insertion state of the aerosol-forming article according to the new color interval threshold, the new background color value and the color value detected by the color detection device.

[0146] S60: Controlling the operation of the heater in the aerosol generating device according to the insertion state of the aerosol-forming article.

[0147] The new color interval threshold and the new background color value are used as reference values ​​for determining the color to which the detected color value belongs. It is understandable that, based on the difference between the body color of the aerosol-forming product and the label color, the insertion state of the aerosol-forming product can be determined based on the color detected by the color detection device. In some embodiments, the insertion state includes being inserted in place and not being inserted in place. Being inserted in place means that the aerosol-forming product is correctly accommodated in the chamber. Generally, when inserted in place, the end of the aerosol-forming product abuts against the bottom of the chamber, and the color detection device corresponds to the label.

[0148] Then, according to the insertion state of the aerosol-forming article, the operation of the heater in the aerosol generating device is controlled. For example, when the aerosol-forming article is inserted in place, the heater is controlled to heat the aerosol-forming article to generate aerosol. When the aerosol-forming article is not inserted in place, the heater is controlled not to heat or to stop heating to avoid safety hazards.

[0149] In this embodiment, the new color interval threshold and the new background color value are used as reference values ​​for determining the color to which the detected color value belongs, so that the color detection device can accurately detect the color. Then, based on the color detection result, the operation of the heater is controlled to achieve intelligent control, which can effectively reduce user manual operations.

[0150] In some embodiments, the aforementioned step S50 specifically includes: if the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a label color, then determining that the aerosol-forming article is inserted in place, wherein the label color is the color of the label set on the aerosol-forming article. In this embodiment, the aforementioned step S60 specifically includes: if the aerosol-forming article is inserted in place, controlling the heater to heat.

[0151] It is understandable that when the aerosol generating device leaves the factory, multiple initial color threshold intervals are stored, and these initial color threshold intervals include difference threshold intervals corresponding to multiple colors, for example, the difference threshold intervals corresponding to the color of the inner wall of the chamber (such as white or gray, etc.), one or more aerosol-forming product body colors (such as brown or yellow, etc.), or multiple label colors (such as red labels, blue labels, or green labels, etc.). Each time the aerosol generating device is used, these initial color threshold intervals are calibrated once to generate new color interval thresholds. Thus, each label color corresponds to a new color interval threshold.

[0152] If the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a certain label color, it means that the color detection device detects the label, the color detection device corresponds to the label, and the end of the aerosol-forming product abuts against the bottom of the chamber, so that it can be determined that the aerosol-forming product is inserted in place. If the aerosol-forming product is inserted in place, the heater is controlled to heat.

[0153] In this embodiment, through the above method, when the color detection device accurately detects the label, it controls the operation of the heater to achieve intelligent control, which can effectively reduce the manual operation of the user.

[0154] In some embodiments, the aforementioned step S50 specifically includes: if the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a body color, it is determined that the aerosol-forming article is not inserted in place, wherein the body color is the color of the aerosol-forming article body. In this embodiment, the aforementioned step S60 specifically includes: if the aerosol-forming article is not inserted in place, controlling the heater to stop heating.

[0155] It can be understood that each of the multiple body colors stored in the aerosol generating device corresponds to a new color interval threshold.

[0156] If the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a certain body color, it means that the color detection device detects the body of the aerosol generating article, not the label, and thus, it can be determined that the aerosol forming article is not inserted in place. If the aerosol forming article is not inserted in place, the heater is controlled to stop heating.

[0157] In this embodiment, through the above method, when the color detection device accurately detects the body of the aerosol-forming product, the heater is controlled to stop heating, thereby realizing intelligent control and effectively reducing manual operations of the user.

[0158] In some embodiments, see Figure 8 , the method S100 further includes:

[0159] S70: Determine the type of the aerosol-forming product according to the new color interval threshold, the new background color value and the color value detected by the color detection device.

[0160] It is understandable that when the aerosol generating device leaves the factory, the corresponding relationship between the label color and the type is stored. Different types of aerosol-forming products have different label colors. Therefore, the type of aerosol-forming product can be determined based on the label color detected by the color detection device.

[0161] Specifically, the new color interval threshold and the new background color value are used as reference values ​​for determining the color to which the detected color value belongs, so as to determine the detected color. If the color is a label color, the type corresponding to the label color can be determined.

[0162] In some embodiments, the aforementioned step S70 specifically includes: if the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a target label color, then the type of the aerosol-forming product is determined to be the type corresponding to the target label color.

[0163] The target label color is any label color stored in the aerosol generating device. If the difference between the color value detected by the color detection device and the new background color value falls within a new color interval threshold corresponding to a target label color, it means that the color detection device has detected an aerosol-forming product with a label of the target label color. Based on the correspondence between label colors and types stored in the aerosol generating device, it can be determined that the type of the aerosol-forming product is the type corresponding to the target label color.

[0164] S80: Determine corresponding temperature configuration information according to the type of aerosol-forming product.

[0165] The aerosol generating device pre-stores a correspondence between the type of aerosol-forming product and temperature configuration information. The temperature configuration information may be a heating curve. After the type of aerosol-forming product is obtained, the corresponding temperature configuration information may be selected from the pre-stored plurality of temperature configuration information.

[0166] S90: Controlling the power supplied to the heater in the aerosol generating device according to the temperature profile information.

[0167] Finally, according to the temperature configuration information, the power supplied to the heater in the aerosol generating device is controlled so that the temperature provided by the heater matches the temperature set in the temperature configuration information. Thus, the aerosol-forming product can be baked according to the matching temperature configuration information, so that the user can get a better taste.

[0168] In this embodiment, the new color interval threshold and the new background color value are used as reference values ​​for determining the color to which the detected color value belongs, so that the color detection device can accurately detect the label color, determine the temperature configuration information based on the label color, and control the temperature provided by the heater to match the temperature set in the temperature configuration information, so that the aerosol-forming product can be baked according to the matching temperature configuration information, so that the user can obtain a better taste.

[0169] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0170] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for calibrating color detection, applied to an aerosol generating device including a color detection device, characterized in that: The method comprises: After obtaining the no-load signal of the aerosol generating device, controlling the color detection device to perform color detection to obtain a new background color value; Calibrate the current color threshold interval according to the new background color value and the current background color value to obtain a new color threshold interval; The new color threshold interval and the new background color value are stored.

2. The method according to claim 1, characterized in that The step of calibrating the current color threshold interval according to the new background color value and the current background color value to obtain a new color threshold interval includes: Determine the deviation between the new background color value and the current background color value; The current color threshold interval is adjusted according to the deviation to obtain the new color threshold interval.

3. The method according to claim 2, characterized in that The step of adjusting the current color threshold interval according to the deviation to obtain the new color threshold interval includes: The current color threshold interval is relaxed according to the deviation to obtain the new color threshold interval.

4. The method according to claim 3, characterized in that The current color threshold interval is relaxed according to the deviation to obtain the new color threshold interval, including: The absolute value of the deviation is multiplied by a preset first coefficient and then added to the upper limit of the current color threshold interval to obtain the new color threshold interval; and / or, The new color threshold interval is obtained by subtracting the product of the absolute value of the deviation and a preset second coefficient from the lower limit of the current color threshold interval.

5. The method according to claim 3, characterized in that: The current color threshold interval is relaxed according to the deviation to obtain the new color threshold interval, including: The absolute value of the deviation is multiplied by the preset first coefficient and added to the upper limit of the current color threshold interval. The absolute value of the deviation is multiplied by the preset third coefficient and added to the lower limit of the current color threshold interval to obtain the new color threshold interval, wherein the third coefficient is smaller than the first coefficient.

6. The method according to claim 2, characterized in that The step of adjusting the current color threshold interval according to the deviation to obtain the new color threshold interval includes: The current color threshold interval is moved according to the deviation to obtain the new color threshold interval.

7. The method according to claim 6, characterized in that The moving process of the current color threshold interval according to the deviation to obtain the new color threshold interval includes: The upper limit of the current color threshold interval is subtracted from the product of the absolute value of the deviation and the preset fourth coefficient, and the lower limit of the current color threshold interval is subtracted from the product of the absolute value of the deviation and the fourth coefficient to obtain the new color threshold interval.

8. The method according to claim 2, characterized in that: Also includes: If the absolute value of the deviation is greater than or equal to a first threshold, a prompt signal for cleaning the lens in the color detection device is issued.

9. The method according to claim 1, characterized in that: The current background color value is HSV data under the HSV color model. Before the step of calibrating the current color threshold interval according to the new background color value and the current background color value to obtain a new color threshold interval, the method further includes: The new background color value is converted into HSV data under the HSV color model.

10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: determining the insertion state of the aerosol-forming article according to the new color interval threshold, the new background color value and the color value detected by the color detection device; The operation of a heater in the aerosol generating device is controlled according to the insertion status of the aerosol-forming article.

11. The method according to claim 10, characterized in that The step of determining the insertion state of the aerosol-forming article according to the new color interval threshold, the new background color value, and the color value detected by the color detection device comprises: If the difference between the color value detected by the color detection device and the new background color value falls within the new color interval threshold corresponding to a label color, it is determined that the aerosol-forming article is inserted in place, wherein the label color is the color of the label provided on the aerosol-forming article; The step of controlling the operation of a heater in the aerosol generating device according to the insertion state of the aerosol-forming article comprises: If the aerosol-forming article is inserted into place, the heater is controlled to heat.

12. The method according to claim 10, characterized in that The step of determining the insertion state of the aerosol-forming article according to the new color interval threshold, the new background color value, and the color value detected by the color detection device comprises: If the difference between the color value detected by the color detection device and the new background color value falls within the new color interval threshold corresponding to a body color, it is determined that the aerosol-forming article is not inserted in place, wherein the body color is the color of the aerosol-forming article body; The step of controlling the operation of a heater in the aerosol generating device according to the insertion state of the aerosol-forming article comprises: If the aerosol-forming article is not inserted in place, the heater is controlled to stop heating.

13. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: determining the type of the aerosol-forming product according to the new color interval threshold, the new background color value, and the color value detected by the color detection device; Determining corresponding temperature configuration information according to the type of the aerosol-forming product; Power supplied to a heater in the aerosol generating device is controlled based on the temperature profile information.

14. The method according to claim 13, characterized in that The determining the type of the aerosol-forming product according to the new color interval threshold, the new background color value and the color value detected by the color detection device includes: If the difference between the color value detected by the color detection device and the new background color value falls within the new color interval threshold corresponding to a target label color, the type of the aerosol-forming product is determined to be the type corresponding to the target label color.

15. An aerosol generating device, characterized in that: include: a housing having an opening; a chamber configured to receive or remove an aerosol-forming article through the opening; a heater configured to heat at least a portion of an aerosol-forming article received in the chamber to generate an aerosol; a color detection device configured to emit light into the chamber and detect reflection of the light to detect a color value; A control circuit is connected to the heater and the color detection device respectively, and is used to execute the method according to any one of claims 1 to 14.

Citation Information

Cited By

  • Color testing calibration method and aerosol generation apparatus

    EP4644866A1