Method for judging insertion state of aerosol matrix and aerosol generating device

By generating critical values ​​and offsets for fault tolerance compensation, and combining flag bits and the number of consecutive detections, the misjudgment problem of aerosol generation devices when determining the insertion state of aerosol matrix is ​​solved, achieving higher reliability and stability, and improving user experience and safety.

CN121970933APending Publication Date: 2026-05-05GUANGDONG QISITECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG QISITECH CO LTD
Filing Date
2025-12-08
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing aerosol generating devices are easily affected by factors such as ambient light interference, differences in the internal reflectivity of the aerosol matrix, and sensor aging when determining the insertion or removal status of the aerosol matrix. This leads to fluctuations in infrared values, frequent misjudgments, impacts user experience, and increases energy consumption and safety hazards.

Method used

By obtaining the first and second limit values ​​of the aerosol matrix insertion state, a critical value and an offset are generated. Fault tolerance compensation is performed using functional relationships and proportional parameters to generate a first judgment value and a second judgment value. The insertion state of the aerosol matrix is ​​dynamically determined, and the reliability of the determination is improved by combining the flag bit and the number of consecutive detections.

Benefits of technology

It significantly improves the reliability of aerosol generation devices in determining the insertion status of the aerosol matrix, reduces false starts and false heating, enhances user experience and equipment stability, and avoids safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121970933A_ABST
    Figure CN121970933A_ABST
Patent Text Reader

Abstract

The invention discloses a method for judging the insertion state of an aerosol substrate and an aerosol generating device, and relates to the technical field of aerosol generating devices. The judgment method comprises the following steps: acquiring a first judgment value and a second judgment value which are used for judging the insertion state of an aerosol matrix; wherein the first judgment value and the second judgment value are generated based on a third operation rule according to the critical value and the offset; the critical value is generated based on a first critical rule according to the first limit value and the second limit value; the offset is generated based on a second offset rule according to the first limit value and the second limit value; the first limit value represents a limit boundary when the aerosol matrix is in a non-insertion state; the second limit value represents a limit boundary when the aerosol substrate is in an inserted state; acquiring a real-time detection value of the insertion state of the aerosol matrix, and when the real-time detection value is smaller than a first judgment value, judging that the aerosol matrix is in a non-insertion state; and when the real-time detection value is greater than the second judgment value, judging that the aerosol matrix is in an inserted state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of aerosol generation device technology, specifically to a method for determining the insertion state of an aerosol matrix and an aerosol generation device. Background Technology

[0002] Aerosol generating devices typically require automatic heating after the aerosol matrix is ​​inserted and automatic shutdown when the aerosol matrix is ​​removed, providing a convenient user experience. In existing technologies, most aerosol matrix sensors detect the insertion status using infrared sensors. Specifically, the output value of the infrared receiver changes depending on whether the aerosol matrix is ​​inserted, typically by comparing the real-time infrared value with a preset intermediate value. When the infrared value is greater than or less than this threshold, the aerosol matrix is ​​determined to be either inserted or removed, respectively.

[0003] However, in real-world applications, infrared signals are often affected by many factors, such as ambient light interference, differences in reflectivity within the aerosol matrix, variations in aerosol matrix material, and sensor aging. These factors can cause deviations, resulting in random fluctuations in infrared values ​​around a threshold. When the infrared value fluctuates frequently around the set threshold, it can be misinterpreted as repeated insertion and removal of the aerosol matrix, leading to frequent start-ups and shutdowns of the heating module. This not only affects the user experience but may also increase energy consumption, shorten the lifespan of the heating module, and pose potential safety hazards. Summary of the Invention

[0004] The main technical problem solved by this invention is to provide a method and device for accurately determining whether an aerosol matrix has been inserted or removed.

[0005] According to the first aspect, one embodiment provides a method for determining the insertion state of an aerosol matrix, comprising:

[0006] Obtain a first judgment value and a second judgment value for determining the insertion state of the aerosol matrix;

[0007] Wherein, the first judgment value and the second judgment value are generated based on a third operation rule according to a critical value and an offset; the critical value is generated based on a first critical rule according to a first limit value and a second limit value, and the critical value is located between the first limit value and the second limit value; the offset is generated based on a second offset rule according to the first limit value and the second limit value, so as to perform fault-tolerant compensation for the critical value; the first limit value is the detection value when the aerosol matrix is ​​in an uninserted state, so as to represent the limit boundary when the aerosol matrix is ​​in an uninserted state; the second limit value is the detection value when the aerosol matrix is ​​in an inserted state, so as to represent the limit boundary when the aerosol matrix is ​​in an inserted state.

[0008] The real-time detection value of the aerosol matrix insertion state is obtained. When the real-time detection value is less than the first judgment value, the aerosol matrix is ​​determined to be in an uninserted state; when the real-time detection value is greater than the second judgment value, the aerosol matrix is ​​determined to be in an inserted state.

[0009] In one embodiment, the critical value is generated based on a first critical rule according to a first limit value and a second limit value, including:

[0010] Obtain the functional relationship between the first limit value and the second limit value;

[0011] Based on the response characteristics of the detection values ​​of the aerosol matrix in the non-inserted state and the inserted state in the functional relationship, a proportional parameter reflecting the aerosol matrix in the inserted state and the non-inserted state is determined.

[0012] The critical value is determined based on the stated proportional parameter.

[0013] In one embodiment, the ratio parameter includes a first ratio and a second ratio, and the critical value is determined based on the first ratio of the first limit value and the second ratio of the second limit value, wherein the first ratio and the second ratio are not equal.

[0014] In one embodiment, the first ratio is greater than the second ratio.

[0015] In one embodiment, the offset is used to generate based on a second offset rule according to the first limit value and the second limit value, including:

[0016] Calculate the difference between the first limit value and the second limit value;

[0017] The difference between the first limit value and the second limit value is divided by a set factor to determine the offset.

[0018] In one embodiment, the first judgment value and the second judgment value are used to generate based on a third calculation rule according to a threshold value and an offset, including:

[0019] The offset is set symmetrically or asymmetrically relative to the critical value. The asymmetrical setting is used to select offsets of different multiples that are not evenly distributed relative to the critical value in order to determine the first judgment value and the second judgment value.

[0020] In one embodiment, setting the offset symmetrically or asymmetrically relative to the threshold value to determine the first judgment value and the second judgment value includes:

[0021] The first judgment value is determined based on the difference between the critical value and a first set multiple of the offset.

[0022] The second judgment value is determined based on the sum of the critical value and a second set multiple of the offset;

[0023] Wherein, the first set multiple and the second set multiple may be equal or unequal.

[0024] In one embodiment, the determination method further includes:

[0025] Obtain the flag bit for determining the insertion state of the aerosol matrix;

[0026] When the flag indicates that the aerosol matrix is ​​not inserted: the real-time detection value is acquired continuously for a set number of times, and when the real-time detection value is greater than the second judgment value each time, the aerosol matrix is ​​heated.

[0027] When the flag indicates that the aerosol matrix is ​​in the insertion state: the real-time detection value is obtained continuously for a set number of times, and when the real-time detection value is less than the first judgment value each time, the heating of the aerosol matrix is ​​stopped.

[0028] According to the second aspect, one embodiment provides an aerosol generating device, comprising a device body, a detection module, an aerosol chamber, and a controller;

[0029] The aerosol chamber is used to contain the aerosol matrix. The main body of the device is connected to the aerosol chamber and heats the aerosol matrix when it is determined that the aerosol matrix has been inserted into the aerosol chamber, or stops heating the aerosol matrix when it is determined that the aerosol matrix has not been inserted into the aerosol chamber.

[0030] The detection module is installed in the aerosol chamber and is used to acquire real-time detection values ​​that indicate the insertion state of the aerosol matrix.

[0031] The controller is used to execute the method for determining the aerosol matrix insertion state as described in any of the above embodiments.

[0032] According to a third aspect, in one embodiment, a computer-readable storage medium stores a computer program that can be executed by a processor to implement the method as described in any of the above embodiments.

[0033] According to the above embodiments, a method for determining the insertion state of an aerosol matrix and an aerosol generating device are described. In this method, a first limit value reflecting the non-inserted state and a second limit value reflecting the inserted state of the aerosol matrix are obtained, corresponding to the detection value limit boundaries in the inserted and non-inserted states, respectively. A critical value between the two is generated using the first and second limit values ​​according to a preset first critical rule. This mechanism reflects the theoretical boundary between the two states. An offset is then generated using the first and second limit values ​​according to a second offset rule, thereby providing fault-tolerant compensation for the critical value. Finally, a first judgment value and a second judgment value are generated using the critical value and the offset according to a third calculation rule, forming the first and second judgment values ​​actually used for determining the insertion state of the aerosol matrix. By acquiring the real-time detection value of the aerosol matrix and comparing it with the first and second judgment values, accurate determination of the inserted or non-inserted state is achieved. Specifically, if the real-time detection value is less than the first judgment value, it is determined to be in the non-inserted state; if the real-time detection value is greater than the second judgment value, it is determined to be in the inserted state. This application employs limit boundaries, critical values, offsets, and judgment values ​​to determine the insertion state. This ensures that the determination of the insertion state is not based solely on static thresholds but on dynamically generated boundary values ​​based on the limit detection characteristics of two states, significantly improving the reliability of the determination. Furthermore, by using offsets to compensate for the fault value, the impact of environmental and temperature changes, as well as individual differences in aerosol matrices, on the detection results is reduced, effectively avoiding potential safety hazards such as accidental start-up or overheating of the aerosol generation device. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of the aerosol generating device in one embodiment;

[0035] Figure 2 This is a flowchart of the method for determining the insertion state of an aerosol matrix executed in the controller in one embodiment;

[0036] Figure 3 This is a flowchart of step S100 in a method for determining the insertion state of an aerosol matrix executed in a controller in one embodiment;

[0037] Figure 4 This is a flowchart of step S120 in a method for determining the insertion state of an aerosol matrix executed in a controller in one embodiment. Detailed Implementation

[0038] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings. Similar elements in different embodiments are referred to by associated similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of this application. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, certain operations related to this application are not shown or described in the specification. This is to avoid obscuring the core parts of this application with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.

[0039] Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various embodiments. At the same time, the steps or actions in the method description can be rearranged or adjusted in a manner obvious to those skilled in the art. Therefore, the various orders in the specification and drawings are only for the clear description of a particular embodiment and do not imply a necessary order, unless otherwise stated that a particular order must be followed.

[0040] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).

[0041] Please refer to Figure 1 One embodiment provides an aerosol generating device 1, including a device body 11, a detection module 12, an aerosol chamber 13, and a controller 14.

[0042] In one embodiment, the main body 11 is the core supporting unit of the aerosol generating device 1, used to support the aerosol chamber 13, the detection module 12, the controller 14, and other functional modules, while providing electrical connections and control interfaces. The main body 11 is connected to the aerosol chamber 13 and can be fixed and disassembled through snaps, grooves, magnetic attraction, or threaded structures to ensure that the aerosol chamber 13 is reliably installed in the correct position. The main body 11 may also include a power interface and a control interface for the heating unit, used to control the heating process of the aerosol matrix.

[0043] In one embodiment, the detection module 12 is disposed within the aerosol chamber 13, facing the location of the aerosol matrix, and is used to acquire real-time monitoring values ​​indicating the insertion state of the aerosol matrix. This can be achieved, for example, through an infrared sensor, a photoelectric sensor, or other sensors suitable for detecting the presence of the aerosol matrix.

[0044] In one embodiment, the controller 14 acquires real-time monitoring values ​​and determines whether the aerosol matrix has been inserted into the device body 11 by executing an aerosol matrix insertion status determination method.

[0045] Please refer to Figure 2 In one embodiment, a method for determining the insertion state of an aerosol matrix executed in the controller 14 includes the following steps.

[0046] Step S100: Obtain a first judgment value and a second judgment value for determining the insertion state of the aerosol matrix.

[0047] Please refer to Figure 3 In one embodiment, when performing step S100 to obtain a first judgment value and a second judgment value for determining the insertion state of the aerosol matrix, the following steps are included.

[0048] Step S110: Obtain the first limit value and the second limit value.

[0049] In one embodiment, the first limit value refers to the detection value when the aerosol matrix is ​​in an uninserted state. This value characterizes the limit boundary of the aerosol matrix in the uninserted state, that is, the minimum boundary value or extreme value of the signal in the uninserted state. Below this value, the aerosol matrix is ​​definitely not inserted into the aerosol generating device 1. Before the aerosol generating device 1 leaves the factory or is used for the first time, the first limit value can be obtained by averaging or weighting the signal values ​​when the aerosol chamber 13 is empty or the aerosol matrix is ​​not inserted. After determining the first limit value, the first limit value is stored to determine the reference limit of the uninserted state of the aerosol matrix, which can serve as the basis for critical value calculation and judgment value generation.

[0050] In one embodiment, the second limit value refers to the detection value when the aerosol matrix is ​​in the inserted state. This value characterizes the limit boundary of the aerosol matrix in the inserted state, that is, the maximum boundary value or extreme value of the signal when the aerosol matrix is ​​inserted. Above this value, the aerosol matrix is ​​definitely inserted into the aerosol generating device 1. Before the aerosol generating device 1 leaves the factory or is used for the first time, the second limit value can be obtained by averaging or weighting the signal values ​​after the aerosol matrix is ​​correctly inserted into the chamber multiple times. After determining the second limit value, the second limit value is stored to determine the reference limit of the inserted state of the aerosol matrix, providing a basis for calculating the critical threshold and judgment value.

[0051] Step S120: The first limit value and the second limit value generate a critical value according to the first critical rule.

[0052] Please refer to Figure 4In one embodiment, when performing step S120 to generate a critical value based on the first critical rule using the first limit value and the second limit value, the following steps are also included.

[0053] Step S121: Obtain the functional relationship between the first limit value and the second limit value.

[0054] In one embodiment, a functional relationship is established based on a first limit value and a second limit value. This relationship can be linear or nonlinear, representing the variation of the detected value between the uninserted and inserted states. The functional relationship accurately reflects the response characteristics of the detected value under different insertion states in the aerosol matrix, including signal amplitude, variation trend, and the impact of environmental fluctuations on the signal.

[0055] Step S122: Determine the proportional parameter based on the response characteristics of the detection values ​​in the non-inserted and inserted states of the aerosol matrix in the functional relationship.

[0056] In one embodiment, a proportional parameter reflecting the state of the aerosol matrix is ​​determined by analyzing the response characteristics of the detected values ​​in the non-inserted and inserted states as a function. This proportional parameter includes a first proportionality and a second proportionality.

[0057] Step S123: Determine the critical value based on the proportional parameter.

[0058] In one embodiment, the critical value can be determined by a simple averaging method in the basic design, where the first ratio is half of the first limit value and the second ratio is half of the second limit value. However, after extensive practical testing, it was found that in the aerosol generating device 1, after the aerosol matrix is ​​inserted and heated, the detection value fluctuates significantly due to the high-temperature environment. Especially under infrared detection, due to factors such as the aerosol matrix material, aerosol matrix length, heating element temperature change, and chamber reflection characteristics, the detection value of the aerosol matrix in the inserted state will show excessively high or unstable fluctuations during the heating process.

[0059] In one embodiment, the first limit value, as measured experimentally, is less affected by the environment and remains relatively stable. The second limit value, however, fluctuates much more significantly during heating than the first limit value. It is prone to approaching the middle range due to fluctuations in the detected value, causing the aerosol generating device 1 to make erroneous judgments of "false removal" or "false insertion." If half of the first limit value and half of the second limit value are used to determine the critical value, the detected value will frequently cross the threshold when fluctuating near the second limit value. In this case, the controller 14 will mistakenly interpret this as the aerosol matrix being removed or repeatedly inserted, leading to frequent start-stop cycles during heating, severely impacting user experience and even posing safety hazards.

[0060] Therefore, this application further specifies that the first ratio and the second ratio are not equal, in order to weight the detection values ​​of the non-inserted state and the inserted state, making the critical value more consistent with actual use scenarios, especially considering the possible fluctuations in the detection signal during the heating process of the aerosol matrix. Specifically, this application adopts a weighted average method biased towards the first limit value, that is, the first ratio is greater than the second ratio, and the critical value is calculated using 3 / 5 of the first limit value and 2 / 5 of the second limit value. The specific calculation formula is as follows:

[0061]

[0062] By setting the above proportional parameters, the robustness of the aerosol generating device 1 under high temperature fluctuation conditions can be improved, while avoiding repeated false triggering during the heating process, thereby enhancing user experience and operational stability.

[0063] Step S130: The first limit value and the second limit value generate an offset according to the second offset rule.

[0064] In one embodiment, the difference between a first limit value and a second limit value is calculated, and the difference is divided by a set factor to determine the offset. The set factor can be adjusted according to the actual needs of the infrared sensor, photoelectric sensor, or other sensors suitable for sensing the presence of aerosol matrix. In this application, the set factor can be set to 40 for an infrared sensor.

[0065] Step S140: The critical value and offset are used to generate the first judgment value and the second judgment value according to the third operation rule.

[0066] In one embodiment, after determining the offset, the offset can be set symmetrically or asymmetrically relative to the critical value to determine the first judgment value and the second judgment value. The symmetrical setting means that the offset is distributed at equal intervals relative to the critical value, and the asymmetrical setting means that the offsets selected by different multiples are not distributed at equal intervals relative to the critical value.

[0067] Specifically, the difference between the critical value and a first set multiple of the offset is used to determine the first judgment value, and the sum of the critical value and a second set multiple of the offset is used to determine the second judgment value. The first set multiple and the second set multiple may be equal or unequal to achieve symmetrical or asymmetrical fault-tolerant compensation of the offset to the critical value.

[0068] In one embodiment, if it is desired that the determination area of ​​the aerosol matrix in the inserted state is wider in actual use, then a first set multiple can be set to be greater than a second set multiple; if it is desired that the determination area of ​​the aerosol matrix in the uninserted state is wider in actual use, then a first set multiple can be set to be less than a second set multiple.

[0069] Step S200: Obtain real-time detection values ​​of the aerosol matrix insertion status.

[0070] In one embodiment, after determining the threshold value, offset, first judgment value, and second judgment value, the aerosol generating device 1 enters the real-time detection stage. The controller 14 acquires the real-time detection value of the aerosol matrix through an infrared sensor, and dynamically determines the insertion state of the aerosol matrix based on the relationship between the real-time detection value and the first and second judgment values.

[0071] Step S300: Determine the insertion state of the aerosol matrix based on the real-time detection value, the first judgment value, and the second judgment value.

[0072] In one embodiment, specifically, the aerosol generating device 1 collects infrared values ​​at a fixed period (e.g., 5ms-20ms, adjustable according to hardware performance) to obtain real-time detection values. When the real-time detection value is less than a first judgment value, it indicates that the infrared value collected by the current sensor is close to the typical range of an uninserted state. In this case, the aerosol generating device 1 determines that the aerosol matrix is ​​not inserted. At this time, the aerosol generating device 1 can be kept in standby mode, and the heating logic is not executed.

[0073] In one embodiment, when the real-time detection value is greater than the second judgment value, it indicates that the real-time detection value falls within the range of the aerosol matrix insertion state, corresponding to infrared changes such as light path obstruction and enhanced reflection after the aerosol matrix is ​​inserted. In this case, the aerosol generating device 1 determines that the aerosol matrix has been inserted. At this time, the aerosol generating device 1 can further trigger subsequent self-starting logic, such as starting the heating element preheating program.

[0074] In one embodiment, when the real-time detection value is between the first judgment value and the second judgment value, it is a transitional zone between the uninserted state and the inserted state, which may be caused by sliding, slight shaking, and heating fluctuations during the insertion process. Based on the principle of avoiding misjudgment, the previous insertion state judged by the aerosol generating device 1 can be kept unchanged, thereby effectively avoiding erroneous triggering caused by brief fluctuations during insertion and removal.

[0075] In one embodiment, to further improve the stability of the aerosol matrix insertion state determination and avoid false triggering caused by instantaneous fluctuations, external interference, or changes in infrared values ​​during the heating process, the determination method provided in this application may further include determining the aerosol matrix insertion state based on flag state management and the number of consecutive detections.

[0076] Specifically, the aerosol generating device 1 is equipped with an insertion status flag to record the current state of the aerosol matrix. This flag can take two states: not inserted and inserted. Based on the current state of this flag, the aerosol generating device 1 executes different state switching logic to ensure more stable and reliable insertion / removal determination.

[0077] In one embodiment, when the flag indicating that the aerosol matrix is ​​in an uninserted state is detected, the controller 14 acquires real-time detection values ​​multiple times consecutively according to a set detection cycle and performs the following judgment process: acquires real-time detection values ​​for a set number of consecutive times (e.g., 3 consecutive times). If each real-time detection value is greater than a second judgment value in the set number of consecutive detections, it indicates that the infrared signal has stably fallen into the insertion state range. At this time, the controller 14 updates the flag to the inserted state and performs corresponding actions. If an interruption occurs during the set number of consecutive detections, for example, if the first two real-time detection values ​​are greater than the second judgment value, but the third real-time detection value is lower than or equal to the second judgment value, the number of consecutive detections is reset to zero, and the continuous detection process needs to be restarted. By using the continuous number of detection judgments, the misjudgment of the inserted state due to instantaneous infrared fluctuations caused by occasional noise, abnormal reflection, or incomplete insertion of the aerosol generating device 1 can be effectively avoided, thereby improving the reliability of the equipment.

[0078] In one embodiment, when the flag indicates that the aerosol matrix is ​​in the inserted state, the aerosol generating device 1 also continuously acquires real-time detection values ​​multiple times according to a set detection cycle and performs the following judgment process: acquiring real-time detection values ​​for a set number of consecutive times (e.g., 3 consecutive times). If each real-time detection value is less than the first judgment value in the set number of consecutive detections, it indicates that the current infrared value has stably fallen into the insertion range. At this time, the aerosol generating device 1 determines that the aerosol matrix has been pulled out and performs the corresponding action. If an interruption occurs during the set number of consecutive detections, for example, if the first two real-time detection values ​​are less than the first judgment value, but the third real-time detection value is greater than or equal to the first judgment value, then the number of consecutive detections is reset to zero, and the continuous detection process needs to be restarted. By using the continuous number of detection judgments, misjudgments caused by slight shaking or vibration of the aerosol matrix, unstable user operation, or infrared reflection jitter during the heating process can be effectively avoided, thereby ensuring the accuracy of the pull-out judgment.

[0079] Those skilled in the art will understand that all or part of the functions of the various methods in the above embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, which may include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to achieve the above functions. For example, the program can be stored in the memory of a device, and when the program in the memory is executed by the processor, all or part of the above functions can be achieved. In addition, when all or part of the functions in the above embodiments are implemented by computer programs, the program can also be stored in a server, another computer, disk, optical disk, flash drive, or external hard drive, etc., and can be downloaded or copied to the memory of a local device, or the system of the local device can be updated. When the program in the memory is executed by the processor, all or part of the functions in the above embodiments can be achieved.

[0080] The above examples illustrate the present invention only to aid in understanding it and are not intended to limit the scope of the invention. Those skilled in the art can make various simple deductions, modifications, or substitutions based on the principles of this invention.

Claims

1. A method for determining the insertion state of an aerosol matrix, characterized in that, include: Obtain a first judgment value and a second judgment value for determining the insertion state of the aerosol matrix; Wherein, the first judgment value and the second judgment value are generated based on a third operation rule according to a critical value and an offset; the critical value is generated based on a first critical rule according to a first limit value and a second limit value, and the critical value is located between the first limit value and the second limit value; the offset is generated based on a second offset rule according to the first limit value and the second limit value, so as to perform fault-tolerant compensation for the critical value; the first limit value is the detection value when the aerosol matrix is ​​in an uninserted state, so as to represent the limit boundary when the aerosol matrix is ​​in an uninserted state; the second limit value is the detection value when the aerosol matrix is ​​in an inserted state, so as to represent the limit boundary when the aerosol matrix is ​​in an inserted state. The real-time detection value of the aerosol matrix insertion state is obtained. When the real-time detection value is less than the first judgment value, the aerosol matrix is ​​determined to be in an uninserted state; when the real-time detection value is greater than the second judgment value, the aerosol matrix is ​​determined to be in an inserted state.

2. The method for determining the insertion state of an aerosol matrix as described in claim 1, characterized in that, The critical value is generated based on a first critical rule according to a first limit value and a second limit value, including: Obtain the functional relationship between the first limit value and the second limit value; Based on the response characteristics of the detection values ​​of the aerosol matrix in the non-inserted state and the inserted state in the functional relationship, a proportional parameter reflecting the aerosol matrix in the inserted state and the non-inserted state is determined. The critical value is determined based on the stated proportional parameter.

3. The method for determining the insertion state of an aerosol matrix as described in claim 2, characterized in that, The proportional parameters include a first proportionality and a second proportionality. The critical value is determined based on the first proportionality of the first limit value and the second proportionality of the second limit value, wherein the first proportionality and the second proportionality are not equal.

4. The method for determining the insertion state of an aerosol matrix as described in claim 3, characterized in that, The first ratio is greater than the second ratio.

5. The method for determining the insertion state of an aerosol matrix as described in claim 1, characterized in that, The offset is generated based on the first limit value and the second limit value according to a second offset rule, including: Calculate the difference between the first limit value and the second limit value; The difference between the first limit value and the second limit value is divided by a set factor to determine the offset.

6. The method for determining the insertion state of an aerosol matrix as described in claim 5, characterized in that, The first and second judgment values ​​are generated based on the critical value and the offset according to the third calculation rule, including: The offset is set symmetrically or asymmetrically relative to the critical value. The asymmetrical setting is used to select offsets of different multiples that are not evenly distributed relative to the critical value in order to determine the first judgment value and the second judgment value.

7. The method for determining the insertion state of an aerosol matrix as described in claim 6, characterized in that, The step of setting the offset symmetrically or asymmetrically relative to the threshold value to determine the first judgment value and the second judgment value includes: The first judgment value is determined based on the difference between the critical value and a first set multiple of the offset. The second judgment value is determined based on the sum of the critical value and a second set multiple of the offset; Wherein, the first set multiple and the second set multiple may be equal or unequal.

8. The method for determining the insertion state of an aerosol matrix as described in claim 1, characterized in that, The determination method also includes: Obtain the flag bit for determining the insertion state of the aerosol matrix; When the flag indicates that the aerosol matrix is ​​not inserted: the real-time detection value is acquired continuously for a set number of times, and when the real-time detection value is greater than the second judgment value each time, the aerosol matrix is ​​heated. When the flag indicates that the aerosol matrix is ​​in the insertion state: the real-time detection value is obtained continuously for a set number of times, and when the real-time detection value is less than the first judgment value each time, the heating of the aerosol matrix is ​​stopped.

9. An aerosol generating device, characterized in that, include: The device consists of the main body, detection module, aerosol chamber, and controller. The aerosol chamber is used to contain the aerosol matrix. The main body of the device is connected to the aerosol chamber and heats the aerosol matrix when it is determined that the aerosol matrix has been inserted into the aerosol chamber, or stops heating the aerosol matrix when it is determined that the aerosol matrix has not been inserted into the aerosol chamber. The detection module is installed in the aerosol chamber and is used to acquire real-time detection values ​​that indicate the insertion state of the aerosol matrix. The controller is used to execute the method for determining the insertion state of the aerosol matrix as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The medium stores a computer program that can be executed by a processor to implement the method as described in any one of claims 1-8.