Sensor calibration method and device, controller and heating non-combustion device
By responding to calibration instructions in the heating non-combustible device and calibrating the detection threshold based on the sensor detection value, the identification error problem caused by sensor detection deviation is solved, and more accurate aerosol recognition is achieved.
Patent Information
- Application Number
- CN202411750383.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-25
AI Technical Summary
The sensors of existing heating-free combustion devices have detection deviations due to production, assembly, use, etc., resulting in identification errors in identifying aerosol-forming substrates.
A sensor calibration method is provided, in response to a calibration instruction, to detect the insertion state of the aerosol-generating matrix, and to calibrate the detection threshold of the sensor based on the first detection value of the sensor if the aerosol-generating matrix is not inserted. The method includes determining an average value of the plurality of first detection values, multiplying it with a preset coefficient, and determining a calibrated detection threshold.
By calibrating each sensor individually, calibration errors caused by environmental changes or sensor differences are improved, and calibration accuracy is improved, thereby accurately identifying whether an aerosol-forming matrix has been inserted during the use of the heating non-combustible device.
Smart Images

Figure CN119688919A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of sensor calibration, and in particular to a sensor calibration method, device, controller and heat-without-combustion device. Background Art
[0002] With the advancement of technology and changes in market demand, the design of heat-not-burn devices has become increasingly diversified, with more portable and intelligent products appearing. At the same time, the design of heat-not-burn devices also pays more attention to the convenience of use. At present, heat-not-burn devices generally use sensors to detect the insertion and removal of aerosol-forming substrates, so that the heat-not-burn device can be automatically awakened without the need to manually wake up the heat-not-burn device.
[0003] There may be detection deviations between different sensors due to production, assembly, use and other reasons. However, the sensors of current heat-not-burn devices mainly identify aerosol-forming matrices based on a pre-set detection threshold, which may cause identification errors. Summary of the invention
[0004] Based on this, it is necessary to provide a sensor calibration method, device, controller and heat-not-burn device that can accurately identify whether an aerosol-forming matrix has been inserted into the heat-not-burn device in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a sensor calibration method, which is applied to a heat-not-burn device, wherein the heat-not-burn device is equipped with a sensor for detecting an insertion state of an aerosol-generating substrate in the heat-not-burn device; the method comprises:
[0006] In response to a calibration instruction, detecting an insertion status of the aerosol generating substrate;
[0007] The detection threshold of the sensor is calibrated based on the first detection value of the sensor when the aerosol-forming substrate is not inserted into the heat-not-burn device.
[0008] In one embodiment, the number of the first detection values is multiple, and the calibrating the detection threshold of the sensor based on the first detection value of the sensor includes:
[0009] determining a first average value of the plurality of first detection values;
[0010] A first product result between the first average value and a first preset coefficient is determined as a calibrated detection threshold.
[0011] In one embodiment, determining a first product result between the first average value and a first preset coefficient as a calibrated detection threshold comprises:
[0012] Obtaining a historical average value stored in the heat-not-burn device; the historical average value is an average value of a plurality of historical first detection values;
[0013] In the case where the difference between the historical average value and the first average value exceeds a first preset difference value, reacquiring a plurality of first detection values of the sensor when the heat-not-burn device is not inserted with the aerosol-forming substrate, until the difference between the first average value of the reacquired plurality of first detection values and the historical average value is less than or equal to the first preset difference value;
[0014] A first product result between a first average value of the plurality of first detection values retrieved and a first preset coefficient is determined as a calibrated detection threshold.
[0015] In one embodiment, determining a first average value of the plurality of first detection values comprises:
[0016] Obtaining differences between a plurality of the first detection values;
[0017] In the case where the difference is greater than a second preset difference, reacquiring a plurality of first detection values of the sensor until the difference between the reacquired plurality of first detection values is less than or equal to the second preset difference;
[0018] Determine a first average value of the plurality of first detection values that are retrieved.
[0019] In one embodiment, the method further comprises:
[0020] obtaining a second detection value of the sensor when the heat-not-burn device is inserted into the aerosol-forming substrate, and a first detection value when the heat-not-burn device is not inserted into the aerosol-forming substrate;
[0021] A detection threshold of the sensor is calibrated based on a second average value between the first detection value and the second detection value.
[0022] In one embodiment, the number of the first detection value and the number of the second detection value are both plural, and calibrating the detection threshold of the sensor based on a second average value between the first detection value and the second detection value includes:
[0023] determining a second average value between a plurality of the first detection values and a plurality of the second detection values;
[0024] A second product result between the second average value and the second preset coefficient is determined as the calibrated detection threshold.
[0025] In one embodiment, the detection threshold comprises a first detection threshold for detecting whether the heat-not-burn device has been inserted into the aerosol-forming substrate and a second detection threshold for detecting whether the heat-not-burn device has not been inserted into the aerosol-forming substrate; the detecting the insertion state of the aerosol-generating substrate in response to the calibration instruction comprises:
[0026] In response to the calibration instruction, obtaining a current detection value and a historical detection threshold value and a historical second detection threshold value of the sensor;
[0027] In a case where the current detection value is greater than or equal to the historical first detection threshold, determining that the heat-not-burn device has been inserted into the aerosol generating substrate;
[0028] When the current detection value is less than or equal to the historical second detection threshold, it is determined that the heat-not-burn device is not inserted with an aerosol-generating substrate.
[0029] In a second aspect, the present application provides a sensor calibration device, the device comprising:
[0030] a detection module, for detecting an insertion status of the aerosol generating substrate in response to a calibration instruction;
[0031] The calibration module is used to calibrate the detection threshold of the sensor based on the first detection value of the sensor when the heat-not-burn device is not inserted into the aerosol-forming substrate.
[0032] In a third aspect, the present application provides a controller including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0033] In a fourth aspect, the present application provides a heat-not-burn device, comprising:
[0034] a sensor for detecting an insertion status of an aerosol generating substrate in the heat not burn device;
[0035] A battery cell, used to power the heating element;
[0036] A heating assembly for heating an aerosol-forming substrate inserted into the heat-not-burn device;
[0037] And, a controller as described above.
[0038] The sensor calibration method, device, controller and heat without combustion device described above detect the insertion status of the aerosol generating substrate by responding to the calibration instruction, and calibrate the detection threshold of the sensor based on the first detection value of the sensor when the aerosol forming substrate is not inserted into the heat without combustion device. In this way, each sensor can be calibrated individually according to the actual situation of the sensors loaded on each heat without combustion device, avoiding calibration errors caused by environmental changes or sensor differences, and improving the accuracy of calibration, so that it is possible to accurately identify whether the aerosol forming substrate has been inserted into the heat without combustion device during the use of the heat without combustion device. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A diagram showing an application environment of a sensor calibration method in an embodiment;
[0040] Figure 2 is a schematic flow chart of a sensor calibration method in one embodiment;
[0041] Figure 3 is a flow chart of a sensor calibration method in another embodiment;
[0042] Figure 4 is a structural block diagram of a sensor calibration device in one embodiment;
[0043] Figure 5 FIG. 4 is a diagram showing the internal structure of a controller in one embodiment. DETAILED DESCRIPTION
[0044] 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.
[0045] The sensor calibration method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The heating without burning device 102 includes a sensor and a controller. The controller is used to calibrate the sensor of the heating without burning device. The sensor is used to detect the insertion state of the aerosol-forming substrate in the heating without burning device. The heating without burning device 102 also includes a battery cell and a heating component. The battery cell is used to power the heating component, and the heating component is used to heat the aerosol-forming substrate inserted into the heating without burning device. The controller of the heating without burning device 102 detects the insertion state of the aerosol-forming substrate in response to the calibration instruction. The controller of the heating without burning device 102 calibrates the detection threshold of the sensor based on the first detection value of the sensor when the aerosol-forming substrate is not inserted.
[0046] In one embodiment, Figure 2 As shown, a sensor calibration method is provided, which is applied to Figure 1 The heating without burning device in the embodiment is taken as an example to illustrate, and the method comprises the following steps:
[0047] S202, in response to the calibration instruction, detecting the insertion state of the aerosol generating substrate.
[0048] The calibration instruction is an instruction to calibrate the sensor that detects the insertion state of the aerosol generating substrate in the heat-not-burn device. The triggering of the calibration instruction includes, but is not limited to, triggering by a button of the heat-not-burn device and triggering when the heat-not-burn device is fully charged. The triggering by a button can be triggered by pressing the power button of the heat-not-burn device for multiple consecutive times. For example, pressing the power button of the heat-not-burn device five times in a row will trigger the calibration instruction, and the heat-not-burn device will respond to the calibration instruction and start calibrating the sensor.
[0049] The insertion state of the aerosol generating substrate mainly includes two states: inserted and not inserted. When the heat without burn device is inserted with the aerosol forming substrate, the insertion state is inserted, and when the heat without burn device is not inserted with the aerosol forming substrate, the insertion state is not inserted.
[0050] Optionally, the controller of the heat-not-burn device detects the insertion status of the aerosol-generating substrate of the heat-not-burn device in response to a calibration instruction triggered by a button of the heat-not-burn device or when the heat-not-burn device is fully charged to determine whether the aerosol-forming substrate has been inserted into the heat-not-burn device.
[0051] S204: When the aerosol-forming substrate is not inserted into the heat-not-burn device, calibrate a detection threshold of the sensor based on a first detection value of the sensor.
[0052] Among them, the heat-not-burn device includes a heat-not-burn device that has not yet left the factory, and a heat-not-burn device that has left the factory or has been used by the user.
[0053] The first detection value of the sensor is the detection value of the sensor when the aerosol-forming substrate is not inserted into the heat-not-burn device. The detection threshold of the sensor is the detection value used to determine the insertion state of the aerosol-forming substrate in the heat-not-burn device.
[0054] In some embodiments, the number of first detection values of the sensor can be one or more. When the number of first detection values is multiple, the average value of the multiple first detection values can be used to calibrate the detection threshold of the sensor. When the number of first detection values is one, this first detection value is directly used for calibration.
[0055] In some embodiments, the heat without burn device is equipped with a light emitting component. When the sensor is calibrated, the controller of the heat without burn device controls the light emitting component to output light to indicate through the light that the heat without burn device is performing a sensor calibration operation.
[0056] In the above-mentioned sensor calibration method, by responding to the calibration instruction, the insertion state of the aerosol generating substrate is detected. When the aerosol forming substrate is not inserted into the heat without combustion device, the detection threshold of the sensor is calibrated based on the first detection value of the sensor. In this way, each sensor can be calibrated individually according to the actual situation of the sensors loaded on each heat without combustion device, avoiding calibration errors caused by environmental changes or sensor differences, and improving the accuracy of calibration, so that whether the aerosol forming substrate has been inserted into the heat without combustion device can be accurately identified during the use of the heat without combustion device.
[0057] In one embodiment, the number of the first detection values is multiple, and based on the first detection values of the sensor, calibrating the detection threshold of the sensor includes:
[0058] A first average of the plurality of first detection values is determined.
[0059] A first product result between the first average value and the first preset coefficient is determined as a calibrated detection threshold.
[0060] The plurality of first detection values may be obtained by acquiring the detection values of the sensor for a plurality of consecutive times when the heat without burning device is not inserted with the aerosol-forming substrate. The first average value is the average value of the plurality of first detection values.
[0061] The first product result is obtained by multiplying the first average value and the first preset coefficient.
[0062] In some embodiments, the detection threshold includes a first detection threshold for detecting whether the heat-not-burn device has been inserted with an aerosol-forming substrate, and a second detection threshold for detecting whether the heat-not-burn device has not been inserted with an aerosol-forming substrate, the first preset coefficient includes a first coefficient for determining the first detection threshold, and a second coefficient for determining the second detection threshold, and the calibrated detection threshold is calculated by: determining the product result between the first average value and the first coefficient as the calibrated first detection threshold, and determining the product result between the first average value and the second coefficient as the calibrated second detection threshold. For example, if the first coefficient is 3 / 2, the second coefficient is 3, and the first average value is M, then the first detection threshold is M*3 / 2, and the second detection threshold is M*3, which means that when the detection value of the sensor is less than or equal to the first detection threshold M*3 / 2, the aerosol-forming substrate is not inserted into the heat-not-burn device, and when the detection value of the sensor is greater than or equal to the second detection threshold M*3, the aerosol-forming substrate has been inserted into the heat-not-burn device.
[0063] Optionally, the controller of the heat-not-burn device continuously obtains a plurality of first detection values and calculates a first average value of the plurality of first detection values. The controller of the heat-not-burn device multiplies the first average value by a first preset coefficient to obtain a first product result, and determines the first product result as the calibrated detection threshold.
[0064] In this embodiment, by determining the first average value of multiple first detection values, the first product result between the first average value and the first preset coefficient is determined as the calibrated detection threshold. On the one hand, random errors can be reduced and the accuracy of sensor calibration can be improved. On the other hand, it can also avoid the situation where the measured first detection value is wrong when a non-aerosol-forming matrix is inserted into the heat-not-burn device, thereby causing a calibration error.
[0065] In one embodiment, the number of first detection values is one, the detection threshold includes a first detection threshold for detecting whether the heat-not-burn device has been inserted into the aerosol-forming substrate, and a second detection threshold for detecting whether the heat-not-burn device has not been inserted into the aerosol-forming substrate, and the first preset coefficient includes a first coefficient for determining the first detection threshold, and a second coefficient for determining the second detection threshold, then the calibrated detection threshold is calculated as follows: the product result between the first detection value and the first coefficient is determined as the calibrated first detection threshold, and the product result between the first detection value and the second coefficient is determined as the calibrated second detection threshold. This can save time in obtaining the first detection value, so as to quickly obtain the calibrated detection threshold.
[0066] In one embodiment, determining a first product result between the first average value and the first preset coefficient as a calibrated detection threshold includes:
[0067] The historical average value stored in the heat-not-burn device is obtained. The historical average value is an average value between a plurality of historical first detection values.
[0068] When the difference between the historical average value and the first average value exceeds the first preset difference, multiple first detection values of the sensor when the heat-not-burn device is not inserted with the aerosol-forming matrix are reacquired until the difference between the first average value of the multiple first detection values reacquired and the historical average value is less than or equal to the first preset difference.
[0069] A first product result between a first average value of the reacquired plurality of first detection values and a first preset coefficient is determined as a calibrated detection threshold.
[0070] The historical average value refers to the average value of multiple first detection values obtained during the previous calibration and stored in the heat without combustion device. For example, the average value of multiple first detection values used in the previous calibration of the heat without combustion device is stored in the heat without combustion device. When the sensor is calibrated next time, the average value of multiple first detection values during the previous calibration can be obtained from the stored data. The average value of multiple first detection values used in the previous calibration is the historical average value.
[0071] The first preset difference and the second preset difference may be pre-set and stored in the heat-not-burn device for quick reading.
[0072] The difference between the historical average value and the first average value exceeds the first preset difference value, indicating that the gap between the historical average value and the first average value is large. When the calibration cycle of the sensor is maintained, there will be no error in the detection threshold after the last calibration, that is to say, there will be no error in the historical average value. Therefore, the large gap between the historical average value and the first average value indicates that there is a deviation in the first average value. Therefore, it is necessary to re-acquire multiple first detection values to ensure that the first average value of the multiple first detection values is correct.
[0073] Optionally, the controller of the heat-not-burn device obtains the historical average value stored in the heat-not-burn device, and compares the difference between the historical average value and the first average value to obtain the difference between the historical average value and the first average value. When the difference between the historical average value and the first average value exceeds the first preset difference, the heat-not-burn device re-acquires multiple first detection values of the sensor when the heat-not-burn device is not inserted into the aerosol-forming matrix, until the difference between the first average value of the re-acquired multiple first detection values and the historical average value is less than or equal to the first preset difference. The controller of the heat-not-burn device multiplies the first average value of the re-acquired multiple first detection values by the first preset coefficient to obtain a first product result, and determines the first product result as the detection threshold after the sensor is calibrated.
[0074] In this embodiment, by reacquiring multiple first detection values of the sensor when the heat without combustion device is not inserted with an aerosol-forming matrix when the difference between the historical average value and the first average value exceeds the first preset difference, until the difference between the first average value of the multiple first detection values reacquired and the historical average value is less than or equal to the first preset difference, this can avoid using erroneous first detection values for calibration when multiple first detection values measured are erroneous, thereby avoiding sensor calibration errors.
[0075] In one embodiment, determining a first average value of a plurality of first detection values comprises:
[0076] The difference between the plurality of first detection values is obtained.
[0077] When the difference is greater than the second preset difference, a plurality of first detection values of the sensor are reacquired until the difference between the reacquired plurality of first detection values is less than or equal to the second preset difference.
[0078] A first average value of the plurality of first detection values retrieved is determined.
[0079] The difference between multiple first detection values can also be understood as the difference between two first detection values. For example, for first detection value A, first detection value B, first detection value C, and first detection value D, it is necessary to obtain the difference between A and B, C, and D respectively, obtain the difference between B and C and D respectively, and obtain the difference between C and D.
[0080] The first preset difference and the second preset difference may be pre-set and stored in the heat-not-burn device for quick reading.
[0081] The case where the difference is greater than the second preset difference may be that the differences between the first detection values are all greater than the second preset difference, or there may be a case where the differences between the first detection values are greater than the second preset difference. For example, continuing with the above example, the case where the difference is greater than the second preset difference may be that the differences between A and B, C, and D, the differences between B and C and D, and the difference between C and D are all greater than the second preset difference, or one or more of the differences between A and B, C, and D, the differences between B and C and D, and the difference between C and D are greater than the second preset difference, such as only the difference between A and B is greater than the second preset difference.
[0082] A difference value greater than the second preset difference value indicates that there is a large gap between the multiple first detection values obtained. When the sensor is not subject to abnormal interference, there will not be a large gap between the multiple first detection values output. Therefore, a large gap between the multiple first detection values indicates that the sensor may be subject to abnormal interference, resulting in abnormal detection values in the multiple first detection values obtained. Therefore, it is necessary to re-acquire multiple first detection values to ensure that the multiple first detection values are all obtained when the sensor is not interfered.
[0083] Optionally, the controller of the heat-not-burn device calculates the difference between the first detection values in pairs, and when there is a difference greater than the second preset difference in the difference between the first detection values in pairs, or when the differences between the first detection values in pairs are all greater than the second preset difference, the controller re-acquires multiple first detection values of the sensor when the heat-not-burn device is not loaded with an aerosol-forming substrate, until there is a difference greater than the second preset difference in the difference between the first detection values in pairs, or when the differences between the first detection values in pairs are all greater than the second preset difference. The controller of the heat-not-burn device calculates a first average value of the multiple first detection values re-acquired.
[0084] In this embodiment, by obtaining the difference between multiple first detection values, and when the difference is greater than the second preset difference, re-obtaining multiple first detection values of the sensor until the difference between the re-obtained multiple first detection values is less than or equal to the second preset difference, errors caused by interference such as noise and drift of the sensor can be eliminated, ensuring that the multiple first detection values finally obtained are stable, improving the accuracy of the first detection values, and thus improving the accuracy of sensor calibration.
[0085] In one embodiment, if the number of times that the multiple first detection values of the sensor are re-acquired when the heat without burning device is not inserted into the aerosol-forming matrix exceeds a preset number, the sensor calibration is stopped, and when the calibration instruction is triggered next time, the sensor is calibrated in response to the triggered calibration instruction.
[0086] In one embodiment, the sensor calibration method further comprises:
[0087] A second detection value of the sensor is obtained when the aerosol-forming substrate is inserted into the heat-not-burn device, and a first detection value of the sensor is obtained when the aerosol-forming substrate is not inserted into the heat-not-burn device.
[0088] The detection threshold of the sensor is calibrated based on a second average value between the first detection value and the second detection value.
[0089] The second detection value of the sensor is the detection value of the sensor obtained when the heat without burning device has been inserted into the aerosol-forming matrix.
[0090] The first detection value when the heat-not-burn device is not inserted with an aerosol-forming substrate can be directly read from the heat-not-burn device. For example, when the heat-not-burn device is not inserted with an aerosol-forming substrate, the detection value of the sensor is obtained, and the obtained detection value is stored in the heat-not-burn device as the first detection value for easy reading. The first detection value when the heat-not-burn device is not inserted with an aerosol-forming substrate can also be obtained by manually pulling out the aerosol-forming substrate inserted in the heat-not-burn device.
[0091] Optionally, the controller of the heat-not-burn device obtains a second detection value of the sensor when the heat-not-burn device has been inserted into the aerosol-forming substrate, and a first detection value when the heat-not-burn device is not inserted into the aerosol-forming substrate. The sensor of the heat-not-burn device calculates a second average value between the first detection value and the second detection value, and uses the second average value to calibrate the detection threshold of the sensor.
[0092] In the present embodiment, by obtaining the second detection value of the sensor when the aerosol-forming substrate has been inserted into the heat-not-burn device and the first detection value when the aerosol-forming substrate has not been inserted into the heat-not-burn device, the detection threshold of the sensor is calibrated based on the second average value between the first detection value and the second detection value. In this way, the sensor can be calibrated more accurately by combining the detection values of the sensor in both cases where the aerosol-forming substrate has been inserted and where the aerosol-forming substrate has not been inserted, so that the insertion state of the aerosol-forming substrate on the heat-not-burn device can be more accurately judged according to the calibrated detection threshold.
[0093] In one embodiment, the number of the first detection value and the second detection value are both multiple, and the detection threshold of the sensor is calibrated based on a second average value between the first detection value and the second detection value, including:
[0094] A second average value between the plurality of first detection values and the plurality of second detection values is determined.
[0095] A second product result between the second average value and the second preset coefficient is determined as the calibrated detection threshold.
[0096] The plurality of first detection values are obtained by acquiring the detection values of the sensor for a plurality of consecutive times when the heat-not-burn device is not inserted with the aerosol-forming substrate. The plurality of second detection values are obtained by acquiring the detection values of the sensor for a plurality of consecutive times when the heat-not-burn device is not inserted with the aerosol-forming substrate. The second average value is the average value of the plurality of first detection values and the plurality of second detection values.
[0097] The second product result is obtained by multiplying the second average value and the second preset coefficient.
[0098] In some embodiments, the detection threshold includes a first detection threshold for detecting whether the heat-not-burn device has been inserted with an aerosol-forming substrate, and a second detection threshold for detecting whether the heat-not-burn device has not been inserted with an aerosol-forming substrate, and the second preset coefficient includes a third coefficient for determining the first detection threshold, and a fourth coefficient for determining the second detection threshold, then the calibrated detection threshold is calculated as follows: the product result between the second average value and the third coefficient is determined as the calibrated first detection threshold, and the product result between the second average value and the fourth coefficient is determined as the calibrated second detection threshold. For example, the third coefficient is 3 / 2, the fourth coefficient is 3, and the second average value is N, then the first detection threshold is N*3 / 2, and the second detection threshold is N*3, which means that when the detection value of the sensor is less than or equal to the first detection threshold N*3 / 2, the aerosol-forming substrate is not inserted into the heat-not-burn device, and when the detection value of the sensor is greater than or equal to the second detection threshold N*3, the aerosol-forming substrate has been inserted into the heat-not-burn device.
[0099] Optionally, the controller of the heat-not-burn device obtains a plurality of first detection values and a plurality of second detection values, and calculates a second average value of the plurality of first detection values and the plurality of second detection values. The controller of the heat-not-burn device multiplies the second average value by a second preset coefficient to obtain a second product result, and determines the second product result as the calibrated detection threshold.
[0100] In this embodiment, by determining the second average value between multiple first detection values and multiple second detection values, and the second product result between the second average value and the second preset coefficient, the calibrated detection threshold is determined, which can reduce the random errors occurring in the detection and improve the accuracy of the sensor calibration.
[0101] In one embodiment, calibrating the detection threshold of the sensor based on the second average value between the first detection value and the second detection value includes: obtaining a historical average value stored in the heat-not-burn device; the historical average value is an average value of multiple historical first detection values and multiple historical second detection values; when the difference between the historical average value and the second average value exceeds a third preset difference, re-obtaining multiple first detection values of the sensor when the heat-not-burn device is not inserted into the aerosol-forming substrate, and multiple second detection values of the sensor when the heat-not-burn device is inserted into the aerosol-forming substrate, until the difference between the second average value of the re-obtained multiple first detection values and the multiple second detection values and the historical average value is less than or equal to the third preset difference; determining the third product result between the second average value of the re-obtained multiple first detection values and the multiple second detection values and the third preset coefficient as the calibrated detection threshold.
[0102] In one embodiment, if the number of times that multiple first detection values of the sensor when the heat without combustion device is not inserted into the aerosol-forming matrix and multiple second detection values of the sensor when the heat without combustion device is inserted into the aerosol-forming matrix exceeds a preset number, the sensor calibration is stopped, and when the calibration instruction is triggered next time, the sensor is calibrated in response to the triggered calibration instruction.
[0103] In one embodiment, the detection threshold comprises a first detection threshold for detecting whether the heat-not-burn device has been inserted into the aerosol-forming substrate and a second detection threshold for detecting whether the heat-not-burn device has not been inserted into the aerosol-forming substrate. In response to the calibration instruction, detecting the insertion state of the aerosol-forming substrate comprises:
[0104] In response to the calibration instruction, a current detection value of the sensor, a historical first detection threshold, and a historical second detection threshold are acquired.
[0105] When the current detection value is greater than or equal to the historical first detection threshold, it is determined that the heat-not-burn device is not inserted into the aerosol generating substrate.
[0106] When the current detection value is less than or equal to the historical second detection threshold, it is determined that the heat-not-burn device is not inserted into the aerosol-generating substrate.
[0107] The calibration instruction refers to an instruction to calibrate a sensor for detecting the insertion state of the aerosol generating substrate in the heat-not-burn device. The triggering of the calibration instruction includes but is not limited to triggering by a button of the heat-not-burn device and triggering when the heat-not-burn device is fully charged.
[0108] The historical first detection threshold is a threshold value obtained after the last calibration of the sensor of the heat-not-burn device, and is used to detect whether the heat-not-burn device has been inserted into the aerosol-forming substrate. The historical second detection threshold value refers to a threshold value obtained after the last calibration of the sensor of the heat-not-burn device, and is used to detect whether the heat-not-burn device has not been inserted into the aerosol-forming substrate.
[0109] Optionally, the controller of the heat-not-burn device obtains the current detection value and the historical detection threshold value and the historical second detection threshold value of the sensor in response to a calibration instruction triggered by a button of the heat-not-burn device or when the heat-not-burn device is fully charged. The controller of the heat-not-burn device determines that the heat-not-burn device has been inserted into the aerosol generating substrate when the current detection value is greater than or equal to the historical first detection threshold value, and determines that the heat-not-burn device has not been inserted into the aerosol generating substrate when the current detection value is less than or equal to the historical second detection threshold value.
[0110] In this embodiment, by responding to the calibration instruction, the current detection value and the historical detection threshold, as well as the historical second detection threshold of the sensor are obtained. When the current detection value is greater than or equal to the historical first detection threshold, it is determined that the heating without burning device has been inserted into the aerosol generating matrix. When the current detection value is less than or equal to the historical second detection threshold, it is determined that the heating without burning device has not been inserted into the aerosol generating matrix. This ensures that the calibration of the sensor is carried out under expected and controllable conditions, thereby avoiding calibration errors caused by misoperation or unstable conditions.
[0111] The present application also provides an application scenario, and the sensor calibration method described above is applied to the application scenario. Specifically, the sensor calibration method is applied to the application scenario as follows:
[0112] like Figure 3 As shown, the controller of the heat-not-burn device responds to a calibration instruction triggered by a button of the heat-not-burn device, or a calibration instruction triggered when the heat-not-burn device is fully charged, to obtain the current detection value and the historical detection threshold value of the sensor, as well as the historical second detection threshold value. The controller of the heat-not-burn device determines that the heat-not-burn device has been inserted into the aerosol generating substrate when the current detection value is greater than or equal to the historical first detection threshold value, and determines that the heat-not-burn device has not been inserted into the aerosol generating substrate when the current detection value is less than or equal to the historical second detection threshold value.
[0113] When the aerosol-forming matrix is not inserted into the heat-not-burn device, the controller of the heat-not-burn device continuously obtains multiple first detection values and calculates the difference between the two first detection values. When there is a difference greater than the second preset difference among the differences between the two first detection values, or the differences between the two first detection values are all greater than the second preset difference, the controller obtains multiple first detection values of the sensor again when the heat-not-burn device is not loaded with the aerosol-forming matrix, until there is a difference greater than the second preset difference among the differences between the two first detection values obtained again, or the differences between the two first detection values are all greater than the second preset difference.
[0114] The controller of the heat-not-burn device calculates a first average value of the reacquired multiple first detection values, obtains a historical average value stored in the heat-not-burn device, and compares the historical average value with the first average value to obtain the difference between the historical average value and the first average value. When the difference between the historical average value and the first average value exceeds the first preset difference, the heat-not-burn device reacquires multiple first detection values of the sensor when the heat-not-burn device is not inserted with an aerosol-forming matrix, until the difference between the first average value of the reacquired multiple first detection values and the historical average value is less than or equal to the first preset difference, and there is a difference greater than the second preset difference among the differences between the two first detection values, or the differences between the two first detection values are all greater than the second preset difference.
[0115] The detection threshold comprises a first detection threshold for detecting whether the heat-not-burn device has been inserted into the aerosol-forming substrate, and a second detection threshold for detecting whether the heat-not-burn device has not been inserted into the aerosol-forming substrate, and the first preset coefficient comprises a first coefficient for determining the first detection threshold, and a second coefficient for determining the second detection threshold. The controller of the heat-not-burn device determines the product result between the first average value and the first coefficient as the calibrated first detection threshold, and determines the product result between the first average value and the second coefficient as the calibrated second detection threshold.
[0116] If the number of times that the multiple first detection values of the sensor are re-acquired when the heat-not-burn device is not inserted with an aerosol-forming matrix exceeds a preset number, the controller of the heat-not-burn device will stop the sensor calibration and calibrate the sensor in response to the triggered calibration instruction when the calibration instruction is triggered next time.
[0117] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0118] Based on the same inventive concept, the embodiment of the present application also provides a sensor calibration device for implementing the sensor calibration method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more sensor calibration device embodiments provided below can refer to the limitations of the sensor calibration method above, and will not be repeated here.
[0119] In one embodiment, Figure 4 As shown, a sensor calibration device is provided, comprising:
[0120] The detection module 402 is used to detect the insertion status of the aerosol generating substrate in response to the calibration instruction.
[0121] The calibration module 404 is used to calibrate the detection threshold of the sensor based on the first detection value of the sensor when the heat without burning device is not inserted with the aerosol-forming substrate.
[0122] In this embodiment, by responding to the calibration instruction, the insertion status of the aerosol generating substrate is detected. When the aerosol forming substrate is not inserted into the heat without combustion device, the detection threshold of the sensor is calibrated based on the first detection value of the sensor. In this way, each sensor can be calibrated individually according to the actual situation of the sensors loaded on each heat without combustion device, thereby avoiding calibration errors caused by environmental changes or sensor differences, and improving the accuracy of calibration, so that it is possible to accurately identify whether the aerosol forming substrate has been inserted during the use of the heat without combustion device.
[0123] In one embodiment, the calibration module includes:
[0124] The first average value determining unit is used to determine a first average value of the plurality of first detection values.
[0125] The first calibration unit is used to determine a first product result between the first average value and the first preset coefficient as a calibrated detection threshold.
[0126] In one embodiment, the first calibration unit comprises:
[0127] The first data acquisition subunit is used to acquire the historical average value stored in the heat-not-burn device. The historical average value is the average value of multiple historical first detection values.
[0128] The second data acquisition subunit is used to re-acquire multiple first detection values of the sensor when the heat-not-burn device is not inserted with an aerosol-forming matrix when the difference between the historical average value and the first average value exceeds a first preset difference, until the difference between the first average value of the re-acquired multiple first detection values and the historical average value is less than or equal to the first preset difference.
[0129] The calibration subunit is used to determine a first product result between a first average value of the plurality of first detection values reacquired and a first preset coefficient as a calibrated detection threshold.
[0130] In one embodiment, the first average value determining unit includes:
[0131] The difference determination subunit is used to obtain the difference between the multiple first detection values.
[0132] The third data acquisition subunit is used to reacquire multiple first detection values of the sensor when the difference is greater than the second preset difference, until the difference between the reacquired multiple first detection values is less than or equal to the second preset difference.
[0133] The average value acquisition subunit is used to determine a first average value of the plurality of first detection values that are reacquired.
[0134] In one embodiment, the sensor calibration device further comprises:
[0135] The data acquisition module is used to acquire the second detection value of the sensor when the heat-not-burn device has been inserted into the aerosol-forming substrate, and the first detection value when the heat-not-burn device is not inserted into the aerosol-forming substrate.
[0136] The threshold calibration module is used to calibrate the detection threshold of the sensor based on a second average value between the first detection value and the second detection value.
[0137] In one embodiment, the number of the first detection value and the second detection value are both multiple, and the threshold calibration module includes:
[0138] The second average value determining unit is used to determine a second average value between the plurality of first detection values and the plurality of second detection values.
[0139] The second calibration unit is used to determine a second product result between the second average value and the second preset coefficient as a calibrated detection threshold.
[0140] In one embodiment, the detection threshold comprises a first detection threshold for detecting whether the heat-not-burn device has been inserted into the aerosol-forming substrate and a second detection threshold for detecting whether the heat-not-burn device has not been inserted into the aerosol-forming substrate. The detection module comprises:
[0141] The data acquisition unit is used to acquire the current detection value and the historical detection threshold value and the historical second detection threshold value of the sensor in response to the calibration instruction.
[0142] The first detection unit is used to determine that the heat-not-burn device has been inserted into the aerosol generating substrate when the current detection value is greater than or equal to the historical first detection threshold.
[0143] The second detection unit is used to determine that the heat-not-burn device is not inserted with the aerosol generating substrate when the current detection value is less than or equal to the historical second detection threshold.
[0144] Each module in the above sensor calibration device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0145] In one embodiment, a computer device is provided. The computer device may be a controller, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the insertion state of the aerosol generating matrix, the first detection value, the detection threshold, the first average value, the first preset coefficient, the historical average value, the first preset difference, the first product result, the second preset difference, the second detection value, the second average value, the second preset coefficient, and the second product result. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a sensor calibration method is implemented.
[0146] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0147] In one embodiment, a controller is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0148] In one embodiment, a heat-not-burn device is provided, comprising the controller as described above.
[0149] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0150] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0152] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A sensor calibration method, applied to a heat-not-burn device, wherein the heat-not-burn device is equipped with a sensor for detecting the insertion state of an aerosol-generating substrate in the heat-not-burn device; characterized in that: The method comprises: In response to a calibration instruction, detecting an insertion status of the aerosol generating substrate; The detection threshold of the sensor is calibrated based on the first detection value of the sensor when the aerosol-forming substrate is not inserted into the heat-not-burn device.
2. The method according to claim 1, characterized in that: The number of the first detection values is multiple, and the calibrating the detection threshold of the sensor based on the first detection values of the sensor includes: determining a first average value of the plurality of first detection values; A first product result between the first average value and a first preset coefficient is determined as a calibrated detection threshold.
3. The method according to claim 2, characterized in that The step of determining a first product result between the first average value and the first preset coefficient as a calibrated detection threshold comprises: Obtaining a historical average value stored in the heat-not-burn device; the historical average value is an average value of a plurality of historical first detection values; In the case where the difference between the historical average value and the first average value exceeds a first preset difference value, reacquiring a plurality of first detection values of the sensor when the heat-not-burn device is not inserted with the aerosol-forming substrate, until the difference between the first average value of the reacquired plurality of first detection values and the historical average value is less than or equal to the first preset difference value; A first product result between a first average value of the plurality of first detection values retrieved and a first preset coefficient is determined as a calibrated detection threshold.
4. The method according to claim 2, characterized in that: The determining a first average value of the plurality of first detection values comprises: Obtaining differences between a plurality of the first detection values; In the case where the difference is greater than a second preset difference, reacquiring a plurality of first detection values of the sensor until the difference between the reacquired plurality of first detection values is less than or equal to the second preset difference; Determine a first average value of the plurality of first detection values that are retrieved.
5. The method according to claim 1, characterized in that The method further comprises: obtaining a second detection value of the sensor when the heat-not-burn device is inserted into the aerosol-forming substrate, and a first detection value when the heat-not-burn device is not inserted into the aerosol-forming substrate; A detection threshold of the sensor is calibrated based on a second average value between the first detection value and the second detection value.
6. The method according to claim 5, characterized in that The number of the first detection value and the number of the second detection value are both multiple, and the calibrating the detection threshold of the sensor based on a second average value between the first detection value and the second detection value includes: determining a second average value between a plurality of the first detection values and a plurality of the second detection values; A second product result between the second average value and the second preset coefficient is determined as the calibrated detection threshold.
7. The method according to claim 1, characterized in that The detection thresholds include a first detection threshold for detecting whether the heat-not-burn device has been inserted into an aerosol-forming substrate and a second detection threshold for detecting whether the heat-not-burn device has not been inserted into an aerosol-forming substrate; The step of detecting the insertion state of the aerosol generating substrate in response to a calibration instruction comprises: In response to the calibration instruction, obtaining a current detection value and a historical detection threshold value and a historical second detection threshold value of the sensor; In a case where the current detection value is greater than or equal to the historical first detection threshold, determining that the heat-not-burn device has been inserted into the aerosol generating substrate; When the current detection value is less than or equal to the historical second detection threshold, it is determined that the heat-not-burn device is not inserted with an aerosol-generating substrate.
8. A sensor calibration device, characterized in that: The device comprises: a detection module, for detecting an insertion status of the aerosol generating substrate in response to a calibration instruction; The calibration module is used to calibrate the detection threshold of the sensor based on the first detection value of the sensor when the heat-not-burn device is not inserted into the aerosol-forming substrate.
9. A controller, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A heat-not-burn device, characterized in that: include: a sensor for detecting an insertion status of an aerosol generating substrate in the heat not burn device; A battery cell, used to power the heating element; A heating assembly for heating an aerosol-forming substrate inserted into the heat-not-burn device; And, the controller as claimed in claim 9.