CN-121970935-A - Method and system for counting number of heating non-combustion appliance
Abstract
The application relates to the technical field of electronic atomization, in particular to a method and a system for counting a heating non-combustion appliance. The scheme of the application includes the steps of acquiring the actual temperature of the heating element and the preset heating temperature curve of the heating element in real time after the heating non-combustion appliance enters a heating stage, determining a temperature difference threshold and a slope threshold at the current moment according to the preset heating temperature curve, judging whether suction action occurs at the current moment according to the temperature difference threshold and the slope threshold, determining the number of recorded openings if the judgment results are yes, otherwise, returning to the first step, updating the reference temperature at the next moment, and continuing the next step until the last moment of the preset heating temperature curve. By adopting the scheme, unlike the traditional counting scheme, the application can realize temperature acquisition by means of the temperature sensor, realizes accurate counting of the number of the suction ports based on corresponding processing of the judging processing module, and reduces the cost.
Inventors
- Request for anonymity
Assignees
- 广东省奇思智能制造有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251209
Claims (10)
- 1. A method of heating a metering port of a non-combustion appliance, comprising: In the heating stage, acquiring the actual temperature of a heating element, acquiring a preset heating temperature curve of the heating element, and heating the heating element according to the corresponding relation between time and temperature on the preset heating temperature curve; Judging whether the preset heating temperature curve at the current moment is in a temperature stable state or not, if so, determining a temperature difference threshold according to the heating temperature of the preset heating temperature curve at the current moment, and determining a slope threshold according to the slope of the preset heating temperature curve at the current moment, otherwise, calculating the slope of the preset heating temperature curve at the current moment, and determining the temperature difference threshold and the slope threshold according to the slope of the preset heating temperature curve at the current moment; Judging whether the difference value between the actual temperature of the heating element at the current moment and the reference temperature at the current moment exceeds a temperature difference threshold at the current moment, and judging whether the average slope of the actual temperature at the current preset number of moment points exceeds a slope threshold at the current moment; If yes, determining the number of the primary ports, otherwise, returning to the step of updating the reference temperature of the corresponding moment in real time according to the heating temperatures of the preset heating temperature curves at different moments until the last moment of the preset heating temperature curves.
- 2. The method for counting according to claim 1, wherein the updating the reference temperature at the corresponding time in real time according to the heating temperatures of the preset heating temperature curves at different times comprises: And when the heating temperature of the preset heating temperature curve at the current moment is reduced, the reference temperature at the corresponding moment is reduced.
- 3. The method of counting according to claim 1, wherein the temperature of a preset heating temperature curve at the beginning of the heating period is an initial temperature, and wherein the calculating of the slope of the preset heating temperature curve at the current time comprises: Calculating the difference between the heating temperature of the preset heating temperature curve at the current moment and the initial temperature; Acquiring the time for heating the heating element from the initial temperature to the heating temperature at the current moment; And determining the slope of the current moment according to the difference value and the time.
- 4. The method of counting according to claim 1, wherein the determining a temperature difference threshold and a slope threshold from the slope of the current time comprises: acquiring a preset corresponding relation table of slopes of the preset heating temperature curve at different moments with a slope threshold value and a temperature difference threshold value respectively; and determining a temperature difference threshold value and a slope threshold value corresponding to the slope at the current moment according to the preset corresponding relation table.
- 5. The method of counting according to claim 1, wherein the step of determining whether the difference between the actual temperature of the heating element at the current time and the reference temperature at the current time exceeds the temperature difference threshold at the current time, and determining whether the average slope of the actual temperature at the current preset number of time points exceeds the slope threshold at the current time, if both of them are, determining the count of the counting, otherwise, returning "update the reference temperature at the corresponding time in real time according to the heating temperatures of the preset heating temperature curves at different times" until the last moment of the preset heating temperature curve, comprises: judging whether the difference value between the actual temperature of the heating element at the current moment and the reference temperature at the current moment exceeds the temperature difference threshold at the current moment, if so, adding one to the condition counter, otherwise, keeping the condition counter unchanged; judging whether the average slope of the actual temperature at the current preset number of time points exceeds the slope threshold value at the current time, if so, adding one to the condition counter, otherwise, keeping the condition counter unchanged; Judging whether the value of the condition counter reaches two, if so, determining the number of the primary ports, otherwise, returning to the step of updating the reference temperature of the corresponding moment in real time according to the heating temperatures of the preset heating temperature curves at different moments until the last moment of the preset heating temperature curves.
- 6. The method for counting according to claim 1, wherein the calculating the slope of the preset heating temperature curve at the current time, and determining the temperature difference threshold and the slope threshold according to the slope at the current time, further comprises: acquiring the heating power of the heating element at the current moment; And respectively correcting the temperature difference threshold and the slope threshold at the current moment according to the heating power at the current moment to obtain a temperature difference threshold after the first correction at the current moment and a slope threshold after the first correction.
- 7. The method for counting according to claim 6, wherein after obtaining the first corrected temperature difference threshold value and the first corrected slope threshold value at the current time, further comprising: Detecting an energy supplement value of the heating element at the current moment; And judging whether the energy supplement value exceeds a preset energy value, if so, carrying out secondary correction on the temperature difference threshold value after the primary correction and the slope threshold value after the primary correction at the current moment to obtain a temperature difference threshold value after the secondary correction and a slope threshold value after the secondary correction at the current moment.
- 8. A system for heating a metering port of a non-combustion appliance, comprising: The device comprises an acquisition module, a reference temperature updating module, a heating module and a control module, wherein the acquisition module is used for acquiring the actual temperature of a heating element in a heating stage, acquiring a preset heating temperature curve of the heating element, and heating the heating element according to the corresponding relation between time and temperature on the preset heating temperature curve; The judging and processing module is used for: Judging whether the preset heating temperature curve at the current moment is in a temperature stable state or not, if so, determining a temperature difference threshold according to the heating temperature of the preset heating temperature curve at the current moment, and determining a slope threshold according to the slope of the preset heating temperature curve at the current moment, otherwise, calculating the slope of the preset heating temperature curve at the current moment, and determining the temperature difference threshold and the slope threshold according to the slope of the preset heating temperature curve at the current moment; Judging whether the difference value between the actual temperature of the heating element at the current moment and the reference temperature at the current moment exceeds a temperature difference threshold at the current moment, and judging whether the average slope of the actual temperature at the current preset number of moment points exceeds a slope threshold at the current moment; If yes, determining the number of the primary ports, otherwise, returning to the step of updating the reference temperature of the corresponding moment in real time according to the heating temperatures of the preset heating temperature curves at different moments until the last moment of the preset heating temperature curves.
- 9. A computer readable storage medium, characterized in that the medium has stored thereon a computer program executable by a processor for implementing the method according to any of claims 1-7.
- 10. A computer program product comprising a computer program and/or instructions which, when executed by a processor, implement the method of any one of claims 1-7.
Description
Method and system for counting number of heating non-combustion appliance Technical Field The invention relates to the technical field of electronic atomization, in particular to a method and a system for counting a heating non-combustion appliance. Background Current HNB electronic nebulizing devices typically use an air flow sensor (microphone) or pure software to implement the port count. The method adopts a pure software mode to count the number of ports, is based on the output value change of the PID algorithm as a basis to calculate the number of ports, and has no structural requirement, but the accuracy and the sensitivity of the method are difficult to be compatible. The airflow sensor (microphone) is used for counting, and although the response is sensitive and the data is accurate, the airflow sensor (microphone) mainly depends on structural design, and the price is relatively slightly high, so that the manufacturing and application cost is raised. Disclosure of Invention The method and the system for counting the number of the heated non-combustion appliance effectively solve the problem that the manufacturing cost and the accuracy of the counting number of the conventional heated non-combustion appliance are difficult to be simultaneously considered. According to a first aspect, in one embodiment there is provided a method of heating a metering port of a non-combustion appliance, comprising: In the heating stage, acquiring the actual temperature of a heating element, acquiring a preset heating temperature curve of the heating element, and heating the heating element according to the corresponding relation between time and temperature on the preset heating temperature curve; Judging whether the preset heating temperature curve at the current moment is in a temperature stable state or not, if so, determining a temperature difference threshold according to the heating temperature of the preset heating temperature curve at the current moment, and determining a slope threshold according to the slope of the preset heating temperature curve at the current moment, otherwise, calculating the slope of the preset heating temperature curve at the current moment, and determining the temperature difference threshold and the slope threshold according to the slope of the preset heating temperature curve at the current moment; Judging whether the difference value between the actual temperature of the heating element at the current moment and the reference temperature at the current moment exceeds a temperature difference threshold at the current moment, and judging whether the average slope of the actual temperature at the current preset number of moment points exceeds a slope threshold at the current moment; If yes, determining the number of the primary ports, otherwise, returning to the step of updating the reference temperature of the corresponding moment in real time according to the heating temperatures of the preset heating temperature curves at different moments until the last moment of the preset heating temperature curves. In an implementation manner, the updating, in real time, the reference temperature at the corresponding time according to the heating temperatures of the preset heating temperature curves at different times includes: And when the heating temperature of the preset heating temperature curve at the current moment is reduced, the reference temperature at the corresponding moment is reduced. In one possible implementation, the temperature of the preset heating temperature curve at the beginning of the heating stage is an initial temperature, and the calculating the slope of the preset heating temperature curve at the current time includes: Calculating the difference between the heating temperature of the preset heating temperature curve at the current moment and the initial temperature; Acquiring the time for heating the heating element from the initial temperature to the heating temperature at the current moment; And determining the slope of the current moment according to the difference value and the time. In an implementation manner, the determining the temperature difference threshold and the slope threshold according to the slope of the current moment includes: acquiring a preset corresponding relation table of slopes of the preset heating temperature curve at different moments with a slope threshold value and a temperature difference threshold value respectively; and determining a temperature difference threshold value and a slope threshold value corresponding to the slope at the current moment according to the preset corresponding relation table. In one implementation manner, the step of determining whether the difference between the actual temperature of the heating element at the current time and the reference temperature of the current time exceeds the temperature difference threshold of the current time, and determining whether the average slope of the actual temperature at the