A PID parameter control device, method and equipment of a heating non-combustion appliance and a storage medium
By selecting unmodified parameters from the PID parameters of the heated non-combustible appliance, using intermediate values for heating and narrowing the parameter range, the problems of uneven heating and temperature fluctuations are solved, achieving fast and accurate temperature control, and improving the stability of the appliance and the user experience.
Patent Information
- Application Number
- CN202411731064.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-11-28
Smart Images

Figure CN119512271B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of parameter control, and more particularly, to a PID parameter control device, method, equipment and storage medium of a heating non-combustion appliance. BACKGROUND
[0002] In the field of heating non-combustion appliances, with the wide application of such products in the market, the optimization of their working performance has attracted high attention. During the operation of these appliances, temperature control is a crucial link, which directly affects the use effect and user experience of the products.
[0003] At present, the heating non-combustion appliance generally adopts PID algorithm to adjust the temperature during work, so that the appliance can stably run at the set temperature. PID algorithm can effectively regulate and control the temperature in theory, but in actual application, due to the obvious differences in structure, heating body and other aspects of the heating non-combustion appliances involved in different projects, the key parameters such as heat transfer characteristics and thermal inertia of each appliance are different. This means that the PID parameters need to be adjusted separately for different appliances. In actual operation, this adjustment process is extremely tedious, and technicians need to spend a lot of time and effort to adjust the parameters one by one.
[0004] Since the debugging work depends on manual operation, manual adjustment is often limited by the experience, skill level and environmental factors of the operator, and it is difficult to accurately determine the optimal PID parameter value, so that the temperature control is not accurate enough, resulting in uneven heating, local overheating or large temperature fluctuations of the heating non-combustion appliance, and thus reducing the quality and reliability of the product.
[0005] How to improve the efficiency and precision of temperature control of the heating non-combustion appliance is a problem that needs attention. SUMMARY
[0006] In view of the above problems, the present application provides a PID parameter control device, method, equipment and storage medium of a heating non-combustion appliance to improve the efficiency and precision of temperature control of the heating non-combustion appliance.
[0007] In order to achieve the above purpose, the specific scheme is as follows:
[0008] A PID parameter control device of a heating non-combustion appliance, comprising:
[0009] The first temperature difference calculation unit is configured to perform step S1: selecting one of the parameters in the PID parameters for controlling the heat-not-burn device as a new target parameter, obtaining a parameter range corresponding to the target parameter value, taking a middle value of the parameter range as a temporary modification value, heating the heat-not-burn device, and calculating a temperature difference between a current temperature of the heat-not-burn device and a preset temperature.
[0010] The parameter range initial updating unit is configured to perform step S2: updating the parameter range based on the temporary modification value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update.
[0011] The control value finding unit is configured to perform step S3: selecting a new temporary modification value from the parameter range, narrowing the parameter range based on a temperature of the heat-not-burn device after being heated at the temporary modification value and the temperature difference, and determining a final control value of the target parameter when a span of the parameter range after being narrowed is not greater than a preset span threshold.
[0012] The uncompleted modification judging unit is configured to perform step S4: judging whether there is an uncompleted modification parameter in the PID parameters, returning to perform the first temperature difference calculation unit if yes, and completing the modification of the PID parameters and saving each final control value of the PID parameters if no, and stopping heating the heat-not-burn device.
[0013] Optionally, the control value finding unit comprises:
[0014] The second temperature difference calculation unit is configured to perform step S31: taking a middle value of the parameter range as a new temporary modification value, heating the heat-not-burn device, and calculating a temperature difference between a current temperature of the heat-not-burn device and the preset temperature.
[0015] The parameter range updating unit is configured to perform step S32: narrowing and updating the parameter range based on the temperature difference and a temperature difference before last adjustment of the target parameter to obtain a new parameter range.
[0016] The parameter range span too large judging unit is configured to perform step S33: returning to perform the second temperature difference calculation unit if a span of the parameter range is greater than a preset span threshold.
[0017] The final control value determining unit is configured to perform step S34: determining the temporary modification value as a final control value of the target parameter if the span of the parameter range is not greater than the preset span threshold.
[0018] Optionally, the parameter range updating unit comprises:
[0019] a lower bound updating unit, configured to, if the temperature difference value is less than a temperature difference value after a previous adjustment of the target parameter, determine a new parameter range with the temporary modification value as a lower bound of the parameter range and an upper bound of the parameter range as an upper bound of the parameter range;
[0020] an upper bound updating unit, configured to, if the temperature difference value is greater than the temperature difference value after the previous adjustment of the target parameter, determine the new parameter range with the temporary modification value as the upper bound of the parameter range and the upper bound of the parameter range as the lower bound of the parameter range.
[0021] Optionally, the parameter range initial updating unit comprises:
[0022] a parameter range upper and lower bound initial updating unit, configured to determine the new parameter range with the temporary modification value as the lower bound of the parameter range and the upper bound of the parameter range as the upper bound of the parameter range, or determine the new parameter range with the temporary modification value as the upper bound of the parameter range and the lower bound of the parameter range as the lower bound of the parameter range.
[0023] Optionally, the first temperature difference value calculating unit comprises:
[0024] an instruction response executing unit, configured to, in response to a start debugging instruction of a heating non-combustion appliance, select one of the parameters in PID parameters for controlling the heating non-combustion appliance which has not been completed modification as a new target parameter, acquire a parameter range corresponding to the target parameter value, take a middle value of the parameter range as a temporary modification value, heat the heating non-combustion appliance, and calculate a temperature difference value between a current temperature of the heating non-combustion appliance and a preset temperature.
[0025] Optionally, the device further comprises:
[0026] a prompt light flashing unit, configured to flash a prompt light when the modification of the PID parameters is completed.
[0027] A PID parameter control method of a heating non-combustion appliance, comprising:
[0028] Step S1: selecting one of the parameters in PID parameters for controlling the heating non-combustion appliance which has not been completed modification as a new target parameter, acquiring a parameter range corresponding to the target parameter value, taking a middle value of the parameter range as a temporary modification value, heating the heating non-combustion appliance, and calculating a temperature difference value between a current temperature of the heating non-combustion appliance and a preset temperature;
[0029] Step S2: updating the parameter range based on the temporary modification value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update;
[0030] Step S3: selecting a new temporary modification value from the parameter range, narrowing the parameter range based on the temperature difference value and the temperature of the heat-not-burn device after heating at the temporary modification value, and determining the final control value of the target parameter when the span of the narrowed parameter range is not greater than a preset span threshold;
[0031] Step S4: determining whether there is an uncompleted modification parameter in the PID parameters, returning to execute the step S1 if yes, and completing the modification of the PID parameters and saving each final control value of the PID parameters if no, and stopping heating the heat-not-burn device.
[0032] Optionally, the step S3: selecting a new temporary modification value from the parameter range, narrowing the parameter range based on the temperature difference value and the temperature of the heat-not-burn device after heating at the temporary modification value, and determining the final control value of the target parameter when the span of the narrowed parameter range is not greater than a preset span threshold, comprises:
[0033] Step S31: taking the middle value of the parameter range as the new temporary modification value, heating the heat-not-burn device, and calculating the temperature difference value between the current temperature of the heat-not-burn device and the preset temperature;
[0034] Step S32: narrowing and updating the parameter range based on the temperature difference value and the temperature difference value after the previous adjustment of the target parameter, to obtain a new parameter range;
[0035] Step S33: returning to execute the step S31 if the span of the parameter range is greater than a preset span threshold;
[0036] Step S34: determining the temporary modification value as the final control value of the target parameter if the span of the parameter range is not greater than the preset span threshold;
[0037] Optionally, the step S32: narrowing and updating the parameter range based on the temperature difference value and the temperature difference value after the previous adjustment of the target parameter, to obtain a new parameter range, comprises:
[0038] If the temperature difference value is less than the temperature difference value after the previous adjustment of the target parameter, taking the temporary modification value as the lower limit of the parameter range and the upper limit of the parameter range as the upper limit of the parameter range to determine a new parameter range;
[0039] If the temperature difference value is greater than the temperature difference value after the previous adjustment of the target parameter, taking the temporary modification value as the upper limit of the parameter range and the upper limit of the parameter range as the lower limit of the parameter range to determine a new parameter range.
[0040] Optionally, the step S2 of updating the parameter range based on the temporary modification value to obtain a new parameter range comprises:
[0041] determining the new parameter range by taking the temporary modification value as the lower limit of the parameter range and taking the upper limit of the parameter range as the upper limit of the parameter range;
[0042] or,
[0043] determining the new parameter range by taking the temporary modification value as the upper limit of the parameter range and taking the lower limit of the parameter range as the lower limit of the parameter range.
[0044] Optionally, the step S1 comprises: selecting one of the parameters that have not been modified as a new target parameter in the PID parameters for controlling the heat-not-burn appliance, obtaining a parameter range corresponding to the target parameter value, taking the middle value of the parameter range as a temporary modification value, heating the heat-not-burn appliance, and calculating a temperature difference between a current temperature of the heat-not-burn appliance and a preset temperature.
[0045] Optionally, the step S1 comprises: selecting one of the parameters that have not been modified as a new target parameter in the PID parameters for controlling the heat-not-burn appliance, obtaining a parameter range corresponding to the target parameter value, taking the middle value of the parameter range as a temporary modification value, heating the heat-not-burn appliance, and calculating a temperature difference between a current temperature of the heat-not-burn appliance and a preset temperature.
[0046] Optionally, the method further comprises:
[0047] when the modification of the PID parameters is completed, flashing a prompt light.
[0048] A PID parameter control device of a heat-not-burn appliance, comprising a memory and a processor;
[0049] The memory is configured to store a program.
[0050] The processor is configured to execute the program to implement each step of each unit of the PID parameter control device of the heat-not-burn appliance.
[0051] A storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement each step of each unit of the PID parameter control device of the heat-not-burn appliance.
[0052] By the technical scheme, the parameter range is determined in each PID parameter of the heat-not-burn appliance, the middle value is selected in the parameter range to heat the appliance, the appliance temperature is obtained, the initial temperature difference between the appliance temperature and the preset temperature is calculated, the parameter range is reduced again, the middle value is selected again to heat the appliance, the size of the temperature difference of two times is compared and the parameter range is reduced again, so that when the span of the reduced parameter range is not greater than the preset span threshold, the final control value is determined. As can be seen, for each PID parameter of the heat-not-burn appliance, the parameter range is continuously reduced in a manner, and the temperature difference after each reduction of the parameter range is as small as possible, so that the PID parameter final control value in the parameter range with the smallest span is quickly determined, and the efficiency and precision of the heat-not-burn appliance temperature control are improved. BRIEF DESCRIPTION OF DRAWINGS
[0053] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The accompanying drawings are included to provide a description of the preferred embodiments and are not intended to limit the scope of the present application. Moreover, the same reference numerals are used throughout the same figures. In the drawings:
[0054] Figure 1 A flowchart of a process for implementing PID parameter control of a heat-not-burn appliance according to an embodiment of the present application is provided.
[0055] Figure 2 A flowchart of a process for implementing final control value optimization screening of a target parameter according to an embodiment of the present application is provided.
[0056] Figure 3 A device structure diagram for implementing PID parameter control of a heat-not-burn appliance according to an embodiment of the present application is provided.
[0057] Figure 4 A device structure diagram for implementing PID parameter control of a heat-not-burn appliance according to an embodiment of the present application is provided. DETAILED DESCRIPTION
[0058] The technical solutions in the embodiments of the present application will be described in detail below with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of the present application.
[0059] The scheme of the present application can be implemented based on a terminal with data processing capability, which can be a computer, a cloud, a server, etc.
[0060] Next, the technical solutions in the embodiments of the present application will be described in detail with reference to the drawings.Figure 1 The PID parameter control method of the heating non-combustion appliance can include the following steps:
[0061] Step S1: In the PID parameters for controlling the heating non-combustion appliance, one of the parameters that has not been modified is selected as a new target parameter, the parameter range corresponding to the target parameter value is obtained, the middle value of the parameter range is taken as a temporary modification value, the heating non-combustion appliance is heated, and the temperature difference between the current temperature of the heating non-combustion appliance and the preset temperature is calculated.
[0062] It can be understood that the PID parameters include three parameters (P, I, and D), and the temperature of the appliance will be different after the value of any one of the three parameters is changed. Therefore, the three parameters need to be optimized and adjusted to stabilize the temperature control of the appliance.
[0063] Specifically, the PID parameter control method can be to control the target parameters one by one, so the parameters that have been controlled do not need to be taken as target parameters, and the uncontrolled parameters can be selected as target parameters for control.
[0064] For example, the parameter range corresponding to the P value is 10-300, and the middle value of the parameter range is 155. Therefore, 155 can be taken as a temporary modification value. After the heating non-combustion appliance is heated using the P value, the actual temperature is recorded and compared with the preset temperature to calculate the temperature difference.
[0065] Step S2: Update the parameter range based on the temporary modification value to obtain a new parameter range.
[0066] The new parameter range is a subset of the parameter range before updating.
[0067] Specifically, the temporary modification value can be taken as one boundary of the new parameter range. For example, the parameter range corresponding to the P value is 10-300, and 155 is taken as a temporary modification value. The new parameter range can be 155-300 or 0-155. Whether it is 155-300 or 0-155, it belongs to the subset of 10-300.
[0068] Step S3: Select a new temporary modification value from the parameter range, based on the temperature of the heating non-combustion appliance after being heated at the temporary modification value and the temperature difference, narrow the parameter range, and when the span of the parameter range after being narrowed is not greater than a preset span threshold, determine the final control value of the target parameter.
[0069] Specifically, after the second time of heating the appliance, the temperature difference between the current temperature and the preset temperature is calculated again, and the temperature differences before and after are compared, and the parameter range is further reduced according to the temperature differences before and after. The way to reduce the parameter range can be based on the size change relationship of the temperature differences before and after, such as fixing the lower limit of the parameter range and reducing half of the parameter range if the temperature difference is larger than the last time, and fixing the upper limit of the parameter range and reducing half of the parameter range if the temperature difference is smaller than the last time.
[0070] It can be understood that the preset span threshold value can represent the degree that any determination of the control value in the parameter range does not cause a significant change in the temperature difference, so when the span after the parameter range is reduced is not greater than the preset span threshold value, the final control value of the target parameter can be determined.
[0071] Step S4: determining whether there is an uncompleted modified parameter in the PID parameter, if yes, returning to execute step S1, if not, completing the modification of the PID parameter and saving each final control value of the PID parameter, and stopping heating the heat-not-burn appliance.
[0072] The PID parameter control method of the heat-not-burn appliance provided in the embodiment determines the parameter range in each PID parameter of the heat-not-burn appliance, selects the middle value in the parameter range to heat the appliance, obtains the temperature of the appliance, calculates the initial temperature difference between the temperature of the appliance and the preset temperature, reduces the parameter range, selects the middle value again to heat the appliance, compares the size of the temperature differences and reduces the parameter range again, so that when the span after the parameter range is reduced is not greater than the preset span threshold value, the final control value is determined. As can be seen, for each PID parameter of the heat-not-burn appliance, the parameter range is continuously reduced, and at the same time, the temperature difference after the parameter range is reduced each time is as small as possible, so that the final control value of the PID parameter in the parameter range with a very small span is quickly determined, and the efficiency and accuracy of the temperature control of the heat-not-burn appliance are improved.
[0073] In some embodiments of the present application, the process of step S3: selecting a new temporary modification value from the parameter range, reducing the parameter range based on the temperature of the heat-not-burn appliance after heating at the temporary modification value and the temperature difference, and determining the final control value of the target parameter when the span after the parameter range is reduced is not greater than the preset span threshold value is introduced as shown in Figure 2 The process can include:
[0074] Step S31: taking the middle value of the parameter range as a new temporary modification value, heating the heat-not-burn appliance, and calculating the temperature difference between the current temperature of the heat-not-burn appliance and the preset temperature.
[0075] For example, when the latest parameter range of P value is 155-300, the intermediate value is 227.5, and then P value = 227.5 can be taken as a new temporary modification value, the heat-not-burn appliance is heated, and then the temperature difference between the current temperature of the heat-not-burn appliance after heating and the preset temperature is calculated again.
[0076] Step S32: Based on the temperature difference and the temperature difference after the previous adjustment of the target parameter, the parameter range is narrowed and updated to obtain a new parameter range.
[0077] It can be understood that since the appliance is heated twice by the P value, two temperature differences are generated before and after, and then the two temperature differences before and after can be compared, and then the new parameter range is determined according to the comparison result.
[0078] Specifically, if the temperature difference is less than the temperature difference after the previous adjustment of the target parameter, the temporary modification value is taken as the lower limit of the parameter range, and the upper limit of the parameter range is taken as the upper limit of the parameter range, to determine the new parameter range.
[0079] For example, if the temperature difference is less than the temperature difference after the previous adjustment of the target parameter, the current temporary modification value 227.5 of the P value can be taken as the lower limit of the parameter range, and the upper limit (300) of the parameter range 155-300 can be taken as the upper limit of the parameter range, to obtain a new parameter range of 227.5-300.
[0080] If the temperature difference is greater than the temperature difference after the previous adjustment of the target parameter, the temporary modification value is taken as the upper limit of the parameter range, and the upper limit of the parameter range is taken as the lower limit of the parameter range, to determine the new parameter range.
[0081] For example, if the temperature difference is greater than the temperature difference after the previous adjustment of the target parameter, the current temporary modification value 227.5 of the P value can be taken as the upper limit of the parameter range, and the lower limit (155) of the parameter range 155-300 can be taken as the lower limit of the parameter range, to obtain a new parameter range of 155-227.5.
[0082] Step S33: Determine whether the span of the parameter range is greater than a preset span threshold, if yes, return to execute step S31, and if no, execute step S34.
[0083] Specifically, the preset span threshold can be determined according to the specific PID parameter, and the preset span threshold of different PID parameters can be different, for example, the preset span threshold corresponding to the P value can be 5.
[0084] Step S34: Determine that the temporary modification value is the final control value of the target parameter.
[0085] It can be understood that when the target parameter is found through multiple range narrowing, the temperature difference between the temperature of the heating appliance after the target parameter obtains the current temporary modification value and the preset temperature tends to be stable, and therefore the temporary modification value can be determined as the final control value of the target parameter.
[0086] The PID parameter control method for the heat-not-burn appliance provided by the embodiment can quickly and accurately find the control value of the target parameter that tends to stabilize the temperature for the heating working condition by continuously narrowing the parameter range of the target parameter, selecting the control value in the parameter range, and performing the heating test.
[0087] Considering that there are two directions for updating the parameter range of the target parameter before the second heating of the appliance, some embodiments of the present application further introduce the process of step S2: the temperature difference between the temperature of the heating appliance after the target parameter obtains the current temporary modification value and the preset temperature tends to be stable, which can include the following two cases:
[0088] First, the temporary modification value is used as the lower limit of the parameter range, and the upper limit of the parameter range is used as the upper limit of the parameter range to determine a new parameter range.
[0089] For example, the initial range of P value is 10-300, and the temporary modification value is 155. Then, the upper limit 300 of the range 10-300 can be used as the lower limit of the parameter range, and 155 can be used as the lower limit of the parameter range to determine a new parameter range of 155-300.
[0090] Second, the temporary modification value is used as the upper limit of the parameter range, and the lower limit of the parameter range is used as the lower limit of the parameter range to determine a new parameter range.
[0091] For example, the initial range of P value is 10-300, and the temporary modification value is 155. Then, the lower limit 10 of the range 10-300 can be used as the lower limit of the parameter range, and 155 can be used as the upper limit of the parameter range to determine a new parameter range of 10-155.
[0092] It can be understood that since the heating appliance cannot be determined in which parameter range tends to be stable after being heated in any one of the two cases, the heating appliance can be heated in both cases, and then the temperature after heating is compared with the preset temperature to obtain the temperature difference corresponding to the two cases, and then the case with smaller temperature difference is selected as the required step.
[0093] In some embodiments of the present application, in the step S1 of selecting one of the unmodified parameters as a new target parameter, obtaining the parameter range corresponding to the target parameter value, taking the middle value of the parameter range as a temporary modification value, heating the heating non-combustion appliance, and calculating the temperature difference between the current temperature and the preset temperature of the heating non-combustion appliance, the process of heating the heating non-combustion appliance is introduced, which can include:
[0094] In response to the start debugging instruction of the heating non-combustion appliance, in the PID parameter for controlling the heating non-combustion appliance, one of the unmodified parameters is selected as a new target parameter, the parameter range corresponding to the target parameter value is obtained, the middle value of the parameter range is taken as a temporary modification value, the heating non-combustion appliance is heated, and the temperature difference between the current temperature and the preset temperature of the heating non-combustion appliance is calculated.
[0095] Specifically, the PID parameter control process of the heating non-combustion appliance can be triggered to execute by a key or a serial port custom instruction. When the heating non-combustion appliance needs to be adjusted, the user can press the key to send a start debugging instruction of the heating non-combustion appliance to the terminal, so that the heating non-combustion appliance starts debugging, thereby eliminating the need for manual adjustment and waiting for the completion of the debugging to obtain the optimal PID parameter.
[0096] In order to improve the user experience of the PID parameter debugging control function, the PID parameter control method of the heating non-combustion appliance provided by the present application can further include:
[0097] When the modification of the PID parameter is completed, the indicator light flashes to inform the user that the PID parameter of the heating non-combustion appliance has been debugged and modified.
[0098] It can be understood that the user can be prompted by the flashing indicator light without manually checking whether the PID parameter debugging process is completed, thereby improving the user experience of the PID parameter debugging control function.
[0099] The device for implementing the PID parameter control of the heating non-combustion appliance provided by the embodiments of the present application is described below, and the device for implementing the PID parameter control of the heating non-combustion appliance described below can be mutually corresponding to the method for implementing the PID parameter control of the heating non-combustion appliance described above.
[0100] Referring to Figure 3 , Figure 3 A device structure diagram for implementing the PID parameter control of the heating non-combustion appliance is disclosed in the embodiments of the present application.
[0101] As Figure 3 shown, the device can include:
[0102] The first temperature difference calculation unit 11 is configured to perform step S1: selecting one of the PID parameters of the heating non-combustion appliance which has not been modified as a new target parameter, obtaining a parameter range corresponding to the target parameter value, taking a middle value of the parameter range as a temporary modification value, heating the heating non-combustion appliance, and calculating a temperature difference between a current temperature of the heating non-combustion appliance and a preset temperature;
[0103] The parameter range initial updating unit 12 is configured to perform step S2: updating the parameter range based on the temporary modification value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update;
[0104] The control value searching unit 13 is configured to perform step S3: selecting a new temporary modification value from the parameter range, narrowing the parameter range based on a temperature of the heating non-combustion appliance after being heated at the temporary modification value and the temperature difference, and determining a final control value of the target parameter when a span of the parameter range after being narrowed is not greater than a preset span threshold.
[0105] The uncompleted modification judging unit 14 is configured to perform step S4: judging whether there is a parameter which has not been modified in the PID parameters, returning to perform the first temperature difference calculation unit 11 if yes, and completing the modification of the PID parameters and saving each final control value of the PID parameters if no, and stopping heating the heating non-combustion appliance.
[0106] The PID parameter control device of the heating non-combustion appliance provided by the embodiment of the present application can be applied to a device for PID parameter control of the heating non-combustion appliance, such as a terminal: a computer, a cloud, a server, etc. Figure 4 The hardware structure block diagram of the device for PID parameter control of the heating non-combustion appliance is shown, referring to Figure 4 The hardware structure of the device for PID parameter control of the heating non-combustion appliance can include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.
[0107] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete the communication among each other through the communication bus 4.
[0108] The processor 1 can be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiment of the present application, etc.
[0109] The memory 3 can comprise a high-speed RAM memory and possibly also a non-volatile memory, such as at least one disk memory;
[0110] The memory stores a program, and the processor can invoke the program stored in the memory, and the program is used for:
[0111] Step S1: In the PID parameters for controlling the heating non-combustion appliance, one of the parameters which have not been completed modification is selected as a new target parameter, a parameter range corresponding to the target parameter value is obtained, a middle value of the parameter range is taken as a temporary modification value, the heating non-combustion appliance is heated, and a temperature difference value between a current temperature of the heating non-combustion appliance and a preset temperature is calculated.
[0112] Step S2: The parameter range is updated based on the temporary modification value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update.
[0113] Step S3: A new temporary modification value is selected from the parameter range, the parameter range is narrowed based on the temperature of the heating non-combustion appliance after being heated at the temporary modification value and the temperature difference value, and when a span of the parameter range after being narrowed is not greater than a preset span threshold, a final control value of the target parameter is determined.
[0114] Step S4: It is judged whether there is a parameter which has not been completed modification in the PID parameters, if yes, the step S1 is executed, and if not, the modification of the PID parameters is completed, the final control values of the PID parameters are saved, and the heating non-combustion appliance is stopped.
[0115] Optionally, the refinement function and the expansion function of the program can refer to the description above.
[0116] The embodiment of the application further provides a storage medium which can store a program suitable for the processor to execute, and the program is used for:
[0117] Step S1: In the PID parameters for controlling the heating non-combustion appliance, one of the parameters which have not been completed modification is selected as a new target parameter, a parameter range corresponding to the target parameter value is obtained, a middle value of the parameter range is taken as a temporary modification value, the heating non-combustion appliance is heated, and a temperature difference value between a current temperature of the heating non-combustion appliance and a preset temperature is calculated.
[0118] Step S2: The parameter range is updated based on the temporary modification value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update.
[0119] Step S3: selecting a new temporary modification value from the parameter range, narrowing the parameter range based on the temperature of the heat-not-burn appliance after heating at the temporary modification value and the temperature difference value, and determining a final control value of the target parameter when a span of the narrowed parameter range is not greater than a preset span threshold;
[0120] Step S4: determining whether there is an uncompleted modification parameter in the PID parameters, returning to execute the step S1 if yes, and completing the modification of the PID parameters and saving each final control value of the PID parameters if no, and stopping heating the heat-not-burn appliance.
[0121] Optionally, the refinement function and the expansion function of the program can refer to the description above.
[0122] Finally, it should be noted that the relationship terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.
[0123] The various embodiments in the specification are described in a progressive manner, each embodiment focuses on the difference from other embodiments, and each embodiment can be combined as needed, and the same and similar parts refer to each other.
[0124] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A PID parameter control device for a non-combustible heating appliance, characterized in that, include: The first temperature difference calculation unit is used to execute step S1: in the PID parameters used to control the heating non-combustible appliance, select one parameter that has not been modified as a new target parameter, obtain the parameter range corresponding to the target parameter value, use the middle value of the parameter range as a temporary modification value, heat the heating non-combustible appliance, and calculate the temperature difference between the current temperature of the heating non-combustible appliance and the preset temperature. The parameter range initial update unit is used to perform step S2: update the parameter range based on the temporary modified value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update; The control value finding unit is used to perform step S3: select a new temporary modified value from the parameter range, narrow the parameter range based on the temperature of the heated non-combustible appliance after heating under the temporary modified value and the temperature difference, and determine the final control value of the target parameter when the span of the narrowed parameter range is not greater than a preset span threshold. The incomplete modification judgment unit is used to execute step S4: determine whether there are any parameters in the PID parameters that have not been modified. If so, return to execute the first temperature difference calculation unit. If not, complete the modification of the PID parameters and save the final control values of the PID parameters, and stop heating the heater.
2. The apparatus according to claim 1, characterized in that, The control value finding unit includes: The second temperature difference calculation unit is used to perform step S31: using the middle value of the parameter range as a new temporary modification value, heating the non-combustible heating appliance, and calculating the temperature difference between the current temperature of the non-combustible heating appliance and the preset temperature. The parameter range update unit is used to perform step S32: based on the temperature difference value and the temperature difference value after the previous adjustment of the target parameter, the parameter range is narrowed and updated to obtain a new parameter range; The parameter range span judgment unit is used to execute step S33: if the span of the parameter range is greater than the preset span threshold, then return to execute the second temperature difference calculation unit; The final control value determination unit is used to perform step S34: if the span of the parameter range is not greater than the preset span threshold, determine the temporary modified value as the final control value of the target parameter.
3. The apparatus according to claim 2, characterized in that, The parameter range update unit includes: The lower bound update unit is used to determine a new parameter range if the temperature difference is less than the temperature difference after the previous adjustment of the target parameter, using the temporary modified value as the lower bound of the parameter range and the upper bound of the parameter range as the upper bound of the parameter range. The upper bound update unit is used to determine a new parameter range if the temperature difference is greater than the temperature difference after the previous adjustment of the target parameter, using the temporary modified value as the upper bound of the parameter range and the upper bound of the parameter range as the lower bound of the parameter range.
4. The apparatus according to claim 1, characterized in that, The parameter range initial update unit includes: The parameter range upper and lower bound initial update unit is used to determine a new parameter range by using the temporary modified value as the lower bound of the parameter range and the upper bound of the parameter range as the upper bound of the parameter range, or by using the temporary modified value as the upper bound of the parameter range and the lower bound of the parameter range as the lower bound of the parameter range to determine a new parameter range.
5. The apparatus according to claim 1, characterized in that, The first temperature difference calculation unit includes: The instruction response execution unit is used to respond to the start debugging instruction of the heated non-combustible appliance, select one of the PID parameters used to control the heated non-combustible appliance that has not been modified as a new target parameter, obtain the parameter range corresponding to the target parameter value, use the middle value of the parameter range as a temporary modification value, heat the heated non-combustible appliance, and calculate the temperature difference between the current temperature of the heated non-combustible appliance and the preset temperature.
6. The apparatus according to any one of claims 1-5, characterized in that, Also includes: The indicator light flashing unit is used to flash an indicator light when the modification of the PID parameters is completed.
7. A PID parameter control method for a non-combustible heating appliance, characterized in that, include: Step S1: In the PID parameters used to control the heated non-combustible appliance, select one of the parameters that has not been modified as the new target parameter, obtain the parameter range corresponding to the target parameter value, use the middle value of the parameter range as the temporary modification value, heat the heated non-combustible appliance, and calculate the temperature difference between the current temperature of the heated non-combustible appliance and the preset temperature. Step S2: Update the parameter range based on the temporary modified value to obtain a new parameter range, wherein the new parameter range is a subset of the parameter range before the update; Step S3: Select a new temporary modified value from the parameter range, and based on the temperature of the heated non-combustible appliance after heating under the temporary modified value and the temperature difference, narrow the parameter range, and determine the final control value of the target parameter when the span of the narrowed parameter range is not greater than a preset span threshold. Step S4: Determine whether there are any parameters in the PID parameters that have not been modified. If yes, return to step S1. If no, complete the modification of the PID parameters and save the final control values of each PID parameter, and stop heating the heater.
8. The method according to claim 7, characterized in that, Step S3: Select a new temporary modified value from the parameter range, and based on the temperature of the heated non-combustible appliance after heating under the temporary modified value and the temperature difference, narrow the parameter range. When the narrowed range does not exceed a preset span threshold, determine the final control value of the target parameter, including: Step S31: Using the middle value of the parameter range as a new temporary modification value, heat the non-combustible heating appliance and calculate the temperature difference between the current temperature of the non-combustible heating appliance and the preset temperature. Step S32: Based on the temperature difference value and the temperature difference value after the previous adjustment of the target parameter, narrow and update the parameter range to obtain a new parameter range; Step S33: If the span of the parameter range is greater than the preset span threshold, then return to execute step S31; Step S34: If the span of the parameter range is not greater than the preset span threshold, determine that the temporary modified value is the final control value of the target parameter.
9. A PID parameter control device for a heated non-combustible appliance, characterized in that, Including memory and processor; The memory is used to store programs; The processor is configured to execute the program to implement the steps of each unit of the PID parameter control device for a heated non-combustible appliance as described in any one of claims 1-6.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of each unit of the PID parameter control device for the heated non-combustible appliance as described in any one of claims 1-6.
Citation Information
Patent Citations
Temperature control method, device and equipment for heat-not-burn electronic cigarette and storage medium
CN114451593A
Temperature control PID setting method and device based on edge calculation
CN118963465A