Energy detection method and device for heat-not-burn appliance, controller and appliance
By detecting the target energy value of the heating element in the heating non-burning instrument and verifying the accuracy of the energy calculation empirical formula, the problem of decreasing energy detection accuracy in different instruments is solved, and a higher energy detection accuracy is achieved.
Patent Information
- Application Number
- CN202411574114.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, when applying the energy calculation empirical formula to the energy detection of heating bodies in different instruments, the problem of decreasing detection accuracy may occur.
By detecting the target energy value generated by the heating body of the heating device that heats the non-burning instrument within the preset time period, and using the energy calculation empirical formula to calculate the accumulated energy value. If the difference between the accumulated energy value and the target energy value does not exceed the set threshold, then after verification, the formula is used for energy detection.
The accuracy of heating non-burning equipment in energy detection is improved, ensuring the calculation accuracy of energy calculation empirical formulas, thereby improving the reliability of detection results.
Smart Images

Figure CN119679211A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of parameter detection of heat-not-burn appliances, and in particular to an energy detection method, device, controller and heat-not-burn appliance for heat-not-burn appliances. Background Art
[0002] When the heating-not-burning appliance starts heating, in order to achieve precise temperature control of the heating element, it is sometimes necessary to perform energy detection on the heating element to determine the energy value generated by the heating element within a certain period of time. At present, the energy calculation empirical formula of the heating element can be obtained by simulation testing, and the energy calculation empirical formula can be used to complete the energy detection of the heating element. However, the energy calculation empirical formula is usually obtained by simulation testing based on the data of sample appliances. Since the performance of the heating elements of different appliances is different, when the energy calculation empirical formula is used for the energy detection of the heating elements of other appliances, the detection accuracy may decrease. Summary of the invention
[0003] In view of this, the embodiments of the present application provide an energy detection method, device, controller and heat-not-burning appliance for a heat-not-burning appliance, which can improve the accuracy of energy detection of the heat-not-burning appliance.
[0004] A first aspect of an embodiment of the present application provides an energy detection method for a heating-not-burning appliance, comprising:
[0005] When the heating-without-combustion device starts heating, detecting the target energy value generated by the heating element of the heating-without-combustion device within a preset time period;
[0006] Use the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period;
[0007] If the difference between the accumulated energy value and the target energy value does not exceed the set threshold, the energy calculation empirical formula is used to perform energy detection on the heating element after a preset time period.
[0008] In the technical solution of the embodiment of the present application, when the heating-without-combustion device starts heating, the target energy value generated by the heating element of the heating-without-combustion device within a preset time period will be detected, and the energy calculation empirical formula will be used to calculate the cumulative energy value generated by the heating element within the preset time period; then, the cumulative energy value will be compared with the target energy value. If the difference between the cumulative energy value and the target energy value does not exceed the set threshold, the energy calculation empirical formula will be used to perform energy detection on the heating element after the preset time period. In the above process, the detected target energy value is used as a standard to verify the calculation accuracy of the energy calculation empirical formula. If the difference between the cumulative energy value calculated using the energy calculation empirical formula and the target energy value does not exceed the set threshold, it means that the energy calculation empirical formula has been verified. Only then will the energy calculation empirical formula be used to perform energy detection on the heating element, which can improve the accuracy of energy detection.
[0009] In one implementation of the embodiment of the present application, after using the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period, the method further includes:
[0010] If the difference between the accumulated energy value and the target energy value exceeds a set threshold, it is determined that the energy calculation empirical formula cannot be used for energy detection of the heating element.
[0011] In one implementation of the embodiment of the present application, the energy calculation empirical formula is P = (T2-T1) 2 ×Δt; wherein T2 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function this time, T1 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function last time, and Δt represents the time difference between two calls to the heating element temperature calculation function.
[0012] In one implementation of the embodiment of the present application, after using the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period, the method further includes:
[0013] If the difference between the accumulated energy value and the target energy value exceeds the set threshold, the Δt of the energy calculation empirical formula is reduced according to the difference;
[0014] After a preset time period, the energy of the heating element is detected using the energy calculation empirical formula after Δt is reduced.
[0015] In another implementation of the embodiment of the present application, after using the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period, the method further includes:
[0016] If the difference between the accumulated energy value and the target energy value exceeds a set threshold, a correction factor is determined based on the difference;
[0017] After a preset time period, the energy of the heating element is detected using an empirical formula for calculating energy multiplied by a correction factor.
[0018] In one implementation of the embodiment of the present application, detecting a target energy value generated by a heating element of a heat-not-burn appliance within a preset time period includes:
[0019] Obtaining the actual temperature curve of the heating element within a preset time period;
[0020] Determine the function expression corresponding to the actual temperature curve;
[0021] The integral value of the function expression within the preset time period is calculated as the target energy value.
[0022] In one implementation of the embodiment of the present application, the preset time period is in the preheating stage of the heating element, and the function expression is a quadratic function; determining the function expression corresponding to the actual temperature curve includes:
[0023] Obtain the temperature values of the heating element corresponding to at least three time points within a preset time period;
[0024] According to the temperature values of the heating element corresponding to at least three time points, the coefficients of the quadratic function are determined to obtain a function expression.
[0025] A second aspect of an embodiment of the present application provides an energy detection device for a heating-not-burning appliance, comprising:
[0026] A target energy acquisition module is used to detect a target energy value generated by a heating element of the heat-without-combustion device within a preset time period after the heat-without-combustion device starts heating;
[0027] The accumulated energy acquisition module is used to calculate the accumulated energy value generated by the heating element within a preset time period using an energy calculation empirical formula;
[0028] The energy detection module is used to perform energy detection on the heating element using an energy calculation empirical formula after a preset time period if the difference between the accumulated energy value and the target energy value does not exceed a set threshold.
[0029] A third aspect of an embodiment of the present application provides a controller, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the energy detection method for heating non-combustion appliances provided in the first aspect of an embodiment of the present application is implemented.
[0030] A fourth aspect of the embodiments of the present application provides a heating without burning appliance, which includes a controller provided in the third aspect of the embodiments of the present application.
[0031] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the energy detection method for heating non-combustion appliances provided in the first aspect of the embodiment of the present application.
[0032] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a schematic diagram of a heating without burning device provided in an embodiment of the present application;
[0034] Figure 2 It is a flow chart of an energy detection method for a heating-not-burning appliance provided in an embodiment of the present application;
[0035] Figure 3 This is an operation diagram of selecting a time period during the preheating stage of a heating element and calculating a target energy value by integration, provided by an embodiment of the present application;
[0036] Figure 4 It is a schematic diagram of the operation flow of the energy detection method for a heating-not-burning appliance provided in an embodiment of the present application in an actual application scenario;
[0037] Figure 5 It is a structural framework diagram of an energy detection device for a heating-not-burning appliance provided in an embodiment of the present application;
[0038] Figure 6 It is a schematic diagram of a controller provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structures, technologies, etc. are proposed, so as to thoroughly understand the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, the detailed description of well-known systems, devices, circuits and methods is omitted to prevent unnecessary details from hindering the description of the present application. In addition, in the description of the present application specification and the attached claims, the terms "first", "second", "third" etc. are only used to distinguish the description, and cannot be interpreted as indicating or suggesting relative importance.
[0040] When using heat-not-burn appliances, it is sometimes necessary to perform energy detection on the heating element to determine the energy value generated by the heating element in a certain period of time. By simulating the heating data of the sample appliance, an empirical formula for calculating the energy of the heating element can be obtained. This formula can be used to easily calculate the energy value generated by the heating element in a certain period of time, thereby completing the energy detection. However, due to the differences in the performance of the heating elements of different appliances, when the empirical formula for energy calculation is applied to the energy detection of the heating elements of other appliances, the problem of decreased detection accuracy may occur.
[0041] In view of the above problems, the embodiments of the present application provide an energy detection method, device, controller and heat-not-burn appliance for a heating-not-burning appliance, which can verify the calculation accuracy of the energy calculation empirical formula, and use the energy calculation empirical formula to perform energy detection on the heating element only after the verification is passed, thereby improving the accuracy of energy detection. For more specific technical implementation details of the embodiments of the present application, please refer to the various embodiments described below.
[0042] like Figure 1 , which is a schematic diagram of a heating without burning appliance provided in an embodiment of the present application. Figure 1 The heating-not-burning device shown includes a controller, a heating element, and a battery module, wherein the controller is electrically connected to the heating element and the battery module, respectively. The controller can be used to control the temperature of the heating element, and the heating element can be heated up under the control of the controller to bake the aerosol-generating matrix, and the battery module is used as a power source to provide electrical energy.
[0043] It should be understood that the executor of each method embodiment of the present application is a controller provided in the heating without burning appliance, for example, it can be a device such as the main control chip of the heating without burning appliance, and the embodiments of the present application do not impose any restrictions on the specific type of the controller.
[0044] See also Figure 2 , shows an energy detection method for a heating-not-burning appliance provided in an embodiment of the present application, comprising:
[0045] 201. After the heating-without-combustion device starts heating, detecting a target energy value generated by a heating element of the heating-without-combustion device within a preset time period;
[0046] The user can start the heating-not-burning appliance by long pressing a button, and the controller of the appliance controls the heating of the heating element according to the stored standard temperature curve. The standard temperature curve usually includes two parts: a preheating stage and a suction stage. Specifically, after the appliance is started, it first enters the preheating stage, and controls the heating element to rise from the ambient temperature to the set target temperature by full-power output. When the difference between the actual temperature of the heating element and the target temperature does not exceed a certain threshold (for example, 30°C), the PID module can be called to perform PID control on the temperature of the heating element, and the output power of the appliance is adjusted by outputting signals with different PWM duty cycles, so that the actual temperature of the heating element gradually stabilizes at the target temperature.
[0047] Since the embodiment of the present application needs to verify the calculation accuracy of the energy calculation empirical formula, it is necessary to detect the energy value generated by the heating element within a preset time period as the standard of the energy calculation result, which is recorded as the target energy value. The embodiment of the present application does not limit the length and stage of the preset time period. For example, the preset time period can be in the preheating stage, the preheating stabilization stage or the suction stage. The length of the preset time period can be 2 seconds, 3 seconds or 4 seconds, and so on. When detecting the target energy value, it can be calculated based on the electrical parameters of the heating element, the actual temperature curve of the heating element can be used and the energy value can be calculated by integration, or other energy detection methods can be used. The method of calculating the energy value by integration is specifically described below.
[0048] In one implementation of the embodiment of the present application, detecting a target energy value generated by a heating element of a heat-not-burn appliance within a preset time period includes:
[0049] (1) Obtaining the actual temperature curve of the heating element within a preset time period;
[0050] (2) Determine the function expression corresponding to the actual temperature curve;
[0051] (3) Calculate the integral value of the function expression within a preset time period as the target energy value.
[0052] During the heating process of the heating element, the controller can continuously detect and record the real-time temperature of the heating element, so as to draw an actual temperature curve. After selecting a preset time period, the actual temperature curve within the preset time period is intercepted, and the function expression corresponding to this part of the actual temperature curve can be determined by curve fitting and other methods. When the starting point and end point of the preset time period and the function expression corresponding to this part of the actual temperature curve are known, the integral value of the function expression within the preset time period can be calculated as the target energy value. For example, assuming that the starting point of the preset time period is t0 and the end point is t1, and the function expression of this part of the actual temperature curve is f(t), then the definite integral is calculated The target energy value P1 can be obtained.
[0053] In one implementation of the embodiment of the present application, the preset time period is in the preheating stage of the heating element, and the function expression is a quadratic function; determining the function expression corresponding to the actual temperature curve includes:
[0054] (1) obtaining the temperature values of the heating element corresponding to at least three time points within a preset time period;
[0055] (2) Determine the coefficients of the quadratic function based on the temperature values of the heating element corresponding to at least three time points to obtain a function expression.
[0056] Considering that when the PID control module is not called during the preheating stage, the actual temperature curve of the heating element has a relatively stable change trend, a quadratic function f(t) = a*t can be used. 2 +b*t+c, so the preset time period is preferably selected in the preheating stage, for example, the preheating time period of 0-3s can be selected, which can reduce the difficulty of curve fitting, improve the accuracy of the obtained function expression, and thus improve the accuracy of the calculated target energy value. 2 There are three unknown coefficients a, b and c in +b*t+c. Therefore, after selecting the preset time period from the preheating stage, it is necessary to obtain the temperature values of the heating element corresponding to at least three time points in the preset time period, and substitute the at least three time points and the temperature values of the heating element corresponding to each time point into the quadratic function f(t)=a*t 2 +b*t+c to determine the coefficients a, b and c, thereby obtaining the specific function expression.
[0057] As an example, Figure 3 This is a schematic diagram of an operation of selecting a time period during the preheating stage of a heating element and calculating a target energy value by integration, provided by an embodiment of the present application. Figure 3 In the figure, T0 represents the initial temperature of the heating element before heating. The selected preset time period is the preheating time period of 0-3s. At the 3rd second, the difference between the corresponding heating element temperature and the target temperature exceeds the set threshold (for example, 30°C). This means that the PID control module has not been called in the time period of 0-3s. Therefore, the actual temperature curve C in the time period of 0-3s can be expressed by the quadratic function f(t)=a*t 2 After heating to the 3rd second, the heating element temperatures T1, T2 and T3 at the 1st, 2nd and 3rd seconds (the heating element temperatures at at least 3 other time points within the 0-3s period may also be selected) can be substituted into f(t) = a*t 2 +b*t+c to determine the coefficients a, b, and c. Then, call the energy integration function to calculate The target energy value P1 generated by the heating element in the time period of 0-3s can be obtained, which corresponds to Figure 3 The shaded area in .
[0058] 202. Calculate the accumulated energy value generated by the heating element within a preset time period using an energy calculation empirical formula;
[0059] There are many calculation expressions of the energy calculation empirical formula obtained through simulation testing and other methods. The embodiments of the present application do not limit the specific calculation expressions of the energy calculation empirical formula. In order to verify the calculation accuracy of the energy calculation empirical formula, in addition to obtaining the target energy value P1 described above, it is also necessary to obtain the cumulative energy value P2 generated by the heating element in the preset time period using the energy calculation empirical formula, and compare the cumulative energy value P2 with the target energy value P1 to evaluate the calculation accuracy of the energy calculation empirical formula. Specifically, since each time point in the preset time period and the corresponding heating element temperature are known, it is only necessary to substitute these parameters into the energy calculation empirical formula for calculation to obtain the cumulative energy value P2.
[0060] As an example, in one implementation of the embodiment of the present application, the energy calculation empirical formula is P = (T2-T1) 2 ×Δt; where T2 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function this time, T1 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function last time, and Δt represents the time difference between two calls of the heating element temperature calculation function. The controller of the appliance calls the heating element temperature calculation function once every Δt time to calculate the current temperature of the heating element. Assuming that the preset time period is the preheating time period of 0-3s, Δt = 100ms, there are 30 Δt time periods in the 0-3s time period, and (T2-T1) can be used for each time period. 2 ×Δt is used to calculate the energy value generated by the heating element in the time period, and finally the 30 energy values corresponding to the 30 time periods are accumulated to obtain the accumulated energy value P2 in the time period of 0-3s. It can be seen that if the frequency of calling the heating element temperature calculation function is faster, that is, the smaller Δt is, the finer the time division is, the energy calculation empirical formula P=(T2-T1) 2 The higher the calculation accuracy of ×Δt, the higher the accuracy of calculation of ×Δt.
[0061] 203. If the difference between the accumulated energy value and the target energy value does not exceed the set threshold, the energy of the heating element is detected using an energy calculation empirical formula after a preset time period.
[0062] After obtaining the target energy value P1 and the accumulated energy value P2, the accumulated energy value P2 is compared with the target energy value P1, wherein the target energy value P1 is used as a standard to evaluate the calculation error of the accumulated energy value P2. If the difference between the accumulated energy value P2 and the target energy value P1 does not exceed the set threshold, it means that the calculation error of the accumulated energy value P2 is small, and the calculation accuracy of the energy calculation empirical formula has been verified, and can be used to detect the energy generated by the heating element in the subsequent heating process. Therefore, after the preset time period, the energy calculation empirical formula can be used to perform energy detection on the heating element. For example, if in the preheating time period of 0-3s, it is verified that the target energy value P1 and the accumulated energy value P2 are extremely close, then after the preheating 3s until the end of the entire heating process, the accumulated energy value generated by the heating element can be calculated using the energy calculation empirical formula P = (T2-T1) 2 ×Δt is used for calculation.
[0063] In one implementation of the embodiment of the present application, after using the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period, the method further includes:
[0064] If the difference between the accumulated energy value and the target energy value exceeds a set threshold, it is determined that the energy calculation empirical formula cannot be used for energy detection of the heating element.
[0065] If the difference between the accumulated energy value P2 and the target energy value P1 exceeds the set threshold, it means that the calculation error of the accumulated energy value P2 is large, and the calculation accuracy of the energy calculation empirical formula has not been verified. In this case, if the energy calculation empirical formula is still used to perform energy detection on the heating element, the detection accuracy will decrease. Therefore, it is determined that the energy calculation empirical formula cannot be used for energy detection of the heating element, that is, the use of the energy calculation empirical formula is prohibited.
[0066] When the calculation accuracy of the energy calculation empirical formula fails to pass the verification, in addition to prohibiting the use of the energy calculation empirical formula, the energy calculation empirical formula can also be partially adjusted to improve its calculation accuracy. The following describes two specific formula adjustment methods, which are applicable to the energy calculation empirical formula P = (T2-T1) 2 ×Δt case.
[0067] In one implementation of the embodiment of the present application, after using the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period, the method further includes:
[0068] (1) If the difference between the accumulated energy value and the target energy value exceeds the set threshold, the Δt of the energy calculation empirical formula is reduced according to the difference;
[0069] (2) After a preset period of time, the energy calculation empirical formula after Δt reduction is used to perform energy detection on the heating element.
[0070] According to the description in the previous article, if Δt is smaller, the energy calculation empirical formula P = (T2-T1) 2 The higher the calculation accuracy of ×Δt, the higher the value. Therefore, when it is found that the difference between the accumulated energy value P2 and the target energy value P1 is large, the Δt of the energy calculation empirical formula can be reduced according to the difference, and the reduction of Δt is positively correlated with the difference. For example, if the difference between the accumulated energy value P2 and the target energy value P1 is large, it is necessary to significantly reduce Δt to maximize the calculation accuracy of the energy calculation empirical formula, but this requires a significant increase in the calling frequency of the heating element temperature calculation function, which places high demands on the computing resources of the controller; if the difference between the accumulated energy value P2 and the target energy value P1 is not large, it is sufficient to slightly reduce Δt to avoid consuming too many computing resources. The calculation accuracy of the energy calculation empirical formula after Δt is reduced is deemed to have passed verification, so after the preset time period, the energy calculation empirical formula after Δt is reduced can be used to perform energy detection on the heating element.
[0071] In another implementation of the embodiment of the present application, after using the energy calculation empirical formula to calculate the accumulated energy value generated by the heating element within a preset time period, the method further includes:
[0072] (1) If the difference between the accumulated energy value and the target energy value exceeds a set threshold, a correction coefficient is determined based on the difference;
[0073] (2) After a preset time period, the energy of the heating element is detected using an empirical formula for calculating energy multiplied by a correction factor.
[0074] When it is found that the difference between the accumulated energy value P2 and the target energy value P1 is large, a correction coefficient can be determined based on the difference, and the above energy calculation empirical formula can be multiplied by the correction coefficient to improve the calculation accuracy. Specifically, if the accumulated energy value P2 is greater than the target energy value P1, it means that the calculation result of the energy calculation empirical formula is too large. At this time, a correction coefficient less than 1 can be set, and the specific coefficient value can be reasonably set according to the degree of P2 being too large. For example, if P2 is much larger, a correction coefficient of 0.7 or 0.8 can be set. If P2 is just a little larger, a correction coefficient of 0.9 or 0.95 can be set, and so on. If the accumulated energy value P2 is less than the target energy value P1, it means that the calculation result of the energy calculation empirical formula is too small. At this time, a correction coefficient greater than 1 can be set. The specific coefficient value can be reasonably set according to the degree of P2 being too small. For example, if P2 is much smaller, a correction coefficient of 1.2 or 1.3 can be set. If P2 is just a little smaller, a correction coefficient of 1.1 or 1.05 can be set, and so on. The above energy calculation empirical formula is multiplied by the correction coefficient s to become P = s × (T2-T1) 2 ×Δt, using the correction coefficient s to correct the energy calculation result can effectively improve the calculation accuracy. The calculation accuracy of the energy calculation empirical formula after multiplying the correction coefficient is considered to have passed the verification, so after the preset time period, the energy calculation empirical formula after multiplying the correction coefficient can be used to perform energy detection on the heating element.
[0075] In the technical solution of the embodiment of the present application, when the heating-without-combustion device starts heating, the target energy value generated by the heating element of the heating-without-combustion device within a preset time period will be detected, and the energy calculation empirical formula will be used to calculate the cumulative energy value generated by the heating element within the preset time period; then, the cumulative energy value will be compared with the target energy value. If the difference between the cumulative energy value and the target energy value does not exceed the set threshold, the energy calculation empirical formula will be used to perform energy detection on the heating element after the preset time period. In the above process, the detected target energy value is used as a standard to verify the calculation accuracy of the energy calculation empirical formula. If the difference between the cumulative energy value calculated using the energy calculation empirical formula and the target energy value does not exceed the set threshold, it means that the energy calculation empirical formula has been verified. Only then will the energy calculation empirical formula be used to perform energy detection on the heating element, which can improve the accuracy of energy detection.
[0076] To facilitate understanding of the energy detection method for a heating non-combustion appliance provided in an embodiment of the present application, an actual application scenario is listed below.
[0077] As an example, Figure 4 This is a schematic diagram of the operation flow of the energy detection method for a heating-not-burning appliance provided in an embodiment of the present application in a practical application scenario. Figure 4 In the process, first, long press the button of the appliance to start heating, and the heating element is preheated along the stored standard temperature curve; during the preheating process, the system calls the heating element temperature calculation function every 100ms to calculate the heating element temperature at the corresponding time point; when the heating element is heated to the 3rd second, the energy integral calculation function is called, and the target energy value P1 generated by the heating element in the time period [0, 3s] is obtained by the integral calculation energy value method described above; in addition, the energy calculation empirical formula is called to calculate the accumulated energy value P2 generated by the heating element in the time period [0, 3s]; then, the target energy value P1 is compared with the accumulated energy value P2. If the accumulated energy value P2 is very close to the target energy value P1, it means that the calculation accuracy of the energy calculation empirical formula is high and can be used for energy detection of the heating element; if the difference between the accumulated energy value P2 and the target energy value P1 is large, it means that the calculation accuracy of the energy calculation empirical formula is low and cannot be used for energy detection of the heating element. By such an arrangement, the energy detection of the heating element is performed using the energy calculation empirical formula only when the calculation accuracy of the formula is verified, thereby improving the accuracy of the energy detection.
[0078] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0079] The above mainly describes an energy detection method for a heat-not-burn appliance. The following will describe an energy detection device for a heat-not-burn appliance.
[0080] See also Figure 5 , an embodiment of an energy detection device for a heating-not-burning appliance in an embodiment of the present application includes:
[0081] The target energy acquisition module 501 is used to detect the target energy value generated by the heating element of the heat-not-burning appliance within a preset time period after the heat-not-burning appliance starts heating;
[0082] The accumulated energy acquisition module 502 is used to calculate the accumulated energy value generated by the heating element within a preset time period using an energy calculation empirical formula;
[0083] The energy detection module 503 is used to perform energy detection on the heating element using an energy calculation empirical formula after a preset time period if the difference between the accumulated energy value and the target energy value does not exceed a set threshold.
[0084] In one implementation of the embodiment of the present application, the energy detection device of the heating non-combustion appliance further includes:
[0085] The calculation and determination module is used to determine that the energy calculation empirical formula cannot be used for energy detection of the heating element if the difference between the accumulated energy value and the target energy value exceeds a set threshold.
[0086] In one implementation of the embodiment of the present application, the energy calculation empirical formula is P = (T2-T1) 2 ×Δt; wherein T2 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function this time, T1 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function last time, and Δt represents the time difference between two calls to the heating element temperature calculation function.
[0087] In one implementation of the embodiment of the present application, the energy detection device of the heating non-combustion appliance further includes:
[0088] A cycle reduction module, for reducing Δt of the energy calculation empirical formula according to the difference if the difference between the accumulated energy value and the target energy value exceeds a set threshold;
[0089] The first formula correction module is used to perform energy detection on the heating element after a preset time period using the energy calculation empirical formula after Δt is reduced.
[0090] In another implementation of the embodiment of the present application, the energy detection device of the heating non-combustion appliance further includes:
[0091] A correction coefficient determination module, for determining a correction coefficient according to the difference between the accumulated energy value and the target energy value if the difference exceeds a set threshold;
[0092] The second formula correction module is used to perform energy detection on the heating element after a preset time period using an energy calculation empirical formula multiplied by a correction coefficient.
[0093] In one implementation of the embodiment of the present application, the target energy acquisition module includes:
[0094] A temperature curve acquisition unit, used to acquire an actual temperature curve of the heating element within a preset time period;
[0095] A function expression determination unit, used to determine the function expression corresponding to the actual temperature curve;
[0096] The integral calculation unit is used to calculate the integral value of the function expression within a preset time period as the target energy value.
[0097] In one implementation of the embodiment of the present application, the preset time period is in the preheating stage of the heating element, and the function expression is a quadratic function; the function expression determination unit includes:
[0098] The temperature value acquisition subunit is used to obtain the temperature values of the heating element corresponding to at least three time points within a preset time period;
[0099] The function coefficient determination subunit is used to determine the coefficient of the quadratic function according to the temperature values of the heating element corresponding to at least three time points, so as to obtain the function expression.
[0100] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the energy detection method for a heating non-combustion appliance as described in any of the above embodiments is implemented.
[0101] Figure 6 is a schematic diagram of a controller provided in an embodiment of the present application. Figure 6 As shown, the controller 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer program 62, the steps in the above-mentioned embodiments of the energy detection method for heating non-combustion appliances are implemented, for example Figure 2 Alternatively, when the processor 60 executes the computer program 62, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 5 Functions of modules 501 to 503 are shown.
[0102] The computer program 62 may be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the controller 6.
[0103] The processor 60 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0104] The memory 61 may be an internal storage unit of the controller 6, such as a hard disk or memory of the controller 6. The memory 61 may also be an external storage device of the controller 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the controller 6. Further, the memory 61 may also include both an internal storage unit of the controller 6 and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the controller. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0105] The present application also provides a heating without burning device, which includes: Figure 6 Controller shown.
[0106] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0108] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0109] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0110] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0112] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0114] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for detecting energy of a heat-not-burn appliance, characterized in that: include: When the heating-without-combustion device starts heating, detecting a target energy value generated by a heating element of the heating-without-combustion device within a preset time period; Calculate the accumulated energy value generated by the heating element within the preset time period using an energy calculation empirical formula; If the difference between the accumulated energy value and the target energy value does not exceed a set threshold, then after the preset time period, the energy calculation empirical formula is used to perform energy detection on the heating element.
2. The method according to claim 1, characterized in that After calculating the accumulated energy value generated by the heating element within the preset time period using the energy calculation empirical formula, the method further includes: If the difference between the accumulated energy value and the target energy value exceeds the set threshold, it is determined that the energy calculation empirical formula cannot be used to perform energy detection on the heating element.
3. The method according to claim 1, characterized in that The energy calculation empirical formula is P = (T2-T1) 2 ×Δt; wherein T2 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function this time, T1 represents the temperature value of the heating element obtained by calling the heating element temperature calculation function last time, and Δt represents the time difference between two calls of the heating element temperature calculation function.
4. The method according to claim 3, characterized in that After calculating the accumulated energy value generated by the heating element within the preset time period using the energy calculation empirical formula, the method further includes: If the difference between the accumulated energy value and the target energy value exceeds the set threshold, reducing Δt of the energy calculation empirical formula according to the difference; After the preset time period, the energy calculation empirical formula after Δt is reduced is used to perform energy detection on the heating element.
5. The method according to claim 3, characterized in that After calculating the accumulated energy value generated by the heating element within the preset time period using the energy calculation empirical formula, the method further includes: If the difference between the accumulated energy value and the target energy value exceeds the set threshold, determining a correction coefficient according to the difference; After the preset time period, the energy of the heating element is detected using the energy calculation empirical formula multiplied by the correction coefficient.
6. The method according to any one of claims 1 to 5, characterized in that: The detecting of the target energy value generated by the heating element of the heating-without-combustion device within a preset time period includes: Obtaining an actual temperature curve of the heating element within the preset time period; Determine a function expression corresponding to the actual temperature curve; The integral value of the function expression within the preset time period is calculated as the target energy value.
7. The method according to claim 6, characterized in that The preset time period is in the preheating stage of the heating element, and the function expression is a quadratic function; the function expression corresponding to the actual temperature curve is determined, including: Obtaining the temperature value of the heating element corresponding to at least three time points within the preset time period; The coefficients of the quadratic function are determined according to the temperature values of the heating element corresponding to each of the at least three time points to obtain the function expression.
8. An energy detection device for a heating-not-burning appliance, characterized in that: include: A target energy acquisition module, used to detect a target energy value generated by a heating element of the heat-without-combustion device within a preset time period after the heat-without-combustion device starts heating; An accumulated energy acquisition module, used to calculate the accumulated energy value generated by the heating element within the preset time period using an energy calculation empirical formula; The energy detection module is used to perform energy detection on the heating element using the energy calculation empirical formula after the preset time period if the difference between the accumulated energy value and the target energy value does not exceed a set threshold.
9. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the energy detection method for the heating non-burning appliance according to any one of claims 1 to 7 is implemented.
10. A heating without burning device, characterized in that: Comprising a controller as claimed in claim 9.