Temperature control method, system and equipment based on time compensation and medium
By using a time-compensated temperature control method to plan the temperature control stage and heating rate of the electric heating equipment, the problem of low accuracy of the temperature sensor caused by environmental influences is solved, accurate temperature control without sensors is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202510879565.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-10-17
AI Technical Summary
In the prior art, temperature sensors are easily affected by the environment, resulting in failure or low accuracy, which leads to low accuracy in temperature control of electric heating equipment and poor user experience.
A temperature control method based on time compensation is adopted. By obtaining the current temperature and target heating temperature of the electric heating equipment, planning the temperature control stage and heating rate, performing time compensation, and forming a target temperature control strategy, the temperature control of the electric heating equipment is achieved.
Accurate temperature control of electric heating equipment can be achieved without the use of temperature sensors, reducing the impact of temperature on the control amount, and improving the accuracy of temperature control and user experience.
Smart Images

Figure CN120803154A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of temperature control, and particularly relates to a temperature control method, system, device and medium based on time compensation. BACKGROUND
[0002] With the development of science and technology, the control requirements of automation in various industries are also getting higher and higher. In the prior art, when the temperature control of the electric heating device is automatically controlled, the closed-loop feedback control is often realized by using temperature sensors such as NTC (Negative Temperature Coefficient) thermistors and thermocouples.
[0003] However, the temperature sensor is easily affected by the environment, leading to failure or low accuracy, so that the accuracy of temperature control based on the temperature sensor is low, resulting in poor user experience. SUMMARY
[0004] In order to overcome the problem that the temperature sensor is easily affected by the environment, leading to failure or low accuracy, so that the accuracy of temperature control of the electric heating device based on the temperature sensor in the prior art is low, resulting in poor user experience, the present application provides a temperature control method, system, device and medium based on time compensation.
[0005] In a first aspect, in order to solve the above technical problems, the present application provides a temperature control method based on time compensation, comprising: obtaining a current temperature of an electric heating device and a first target heating temperature; planning a strategy based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, the basic temperature control strategy including a temperature control stage and a heating rate and a basic temperature control time corresponding to the temperature control stage; obtaining a temperature influence control quantity for the electric heating device, and compensating the electric heating device based on the temperature influence control quantity and the basic temperature control strategy to obtain a target compensation time of the temperature control stage; forming a target temperature control strategy for the electric heating device based on the target compensation time, the basic temperature control time and the heating rate; controlling the temperature of the electric heating device based on the target temperature control strategy.
[0006] Further, planning a strategy based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, comprising: finding a temperature control stage corresponding to the first target heating temperature from a preset temperature control stage table, the temperature control stage including a full-power stage, a medium-power stage and a low-power stage; searching the preset temperature control parameter table to find a heating rate corresponding to the temperature control stage, the heating rate including a full-power heating rate and a medium-power heating rate; planning a time based on the current temperature, the temperature control stage, and the heating rate to obtain a basic temperature control time of the temperature control stage, the basic temperature control time including a full-power basic temperature control time and a medium-power basic temperature control time; forming a basic temperature control strategy for the electric heating device based on the temperature control stage, the heating rate, and the basic temperature control time.
[0007] Further, the sequence of heating the electric heating device is full-power stage, medium-power stage, and low-power stage in sequence, the full-power stage being used for heating to a first temperature, the medium-power stage being used for heating to a second temperature, the first temperature being less than the second temperature, and the low-power stage being used for maintaining the second temperature; planning a time based on the current temperature, the temperature control stage, and the heating rate to obtain a basic temperature control time of the temperature control stage, including: comparing the current temperature with the first temperature and the second temperature to determine an initial heating stage of the electric heating device; calculating based on the initial heating stage, the current temperature, and the heating rate to obtain the basic temperature control time of the temperature control stage.
[0008] Further, calculating based on the initial heating stage, the current temperature, and the heating rate to obtain the basic temperature control time of the temperature control stage, including: when the initial heating stage is the full-power stage, calculating a full-power heating time of the electric heating device in the full-power stage by using the current temperature, the first temperature, and the full-power heating rate; calculating a first medium-power heating time of the electric heating device in the medium-power stage by using the first temperature, the second temperature, and the medium-power heating rate; forming the basic temperature control time of the temperature control stage based on the full-power heating time and the first medium-power heating time; when the initial heating stage is the medium-power stage, calculating a second medium-power heating time of the electric heating device in the medium-power stage by using the current temperature, the second temperature, and the medium-power heating rate, and forming the basic temperature control time of the temperature control stage based on the second medium-power heating time.
[0009] Further, the temperature influence control amount is adjusting the first target heating temperature to the second target heating temperature; compensating a time of the electric heating device based on the temperature influence control amount and the basic temperature control strategy to obtain a target compensation time of the temperature control stage, including: calculating a full-power first compensation time of the full-power stage based on the second target heating temperature, the current temperature, and the full-power heating rate; The first compensation time of the medium power stage is calculated based on the second target heating temperature, the current temperature and the medium power heating rate; The target compensation time of the temperature control stage is formed based on the first compensation time of the full power stage and the first compensation time of the medium power stage.
[0010] Further, the temperature influence control quantity is the heating suspension duration; The temperature control stage is formed based on the temperature influence control quantity and the basic temperature control strategy, including: The temperature loss quantity of the electric heating device is calculated based on the heating suspension duration; The second compensation time of the full power stage is calculated based on the temperature loss quantity and the full power heating rate; The second compensation time of the medium power stage is calculated based on the temperature loss quantity and the medium power heating rate; The target compensation time of the temperature control stage is formed based on the second compensation time of the full power stage and the second compensation time of the medium power stage.
[0011] Further, the temperature control stage includes the full power stage, the medium power stage and the low power stage, the target compensation time includes the full power compensation time and the medium power compensation time, the basic temperature control time includes the full power basic temperature control time and the medium power basic temperature control time, and the heating rate includes the full power heating rate and the medium power heating rate; The target temperature control strategy for the electric heating device is formed based on the target compensation time, the basic temperature control time and the heating rate, including: the sum of the full power compensation time and the full power basic temperature control time is determined as the full power target control time of the full power stage; the sum of the medium power compensation time and the medium power basic temperature control time is determined as the medium power target control time of the medium power stage; and the target temperature control strategy for the electric heating device is determined based on the full power target control time, the medium power target control time and the heating rate, that is: in the full power stage, the temperature control of the electric heating device is performed according to the full power target control time and the full power heating rate; in the medium power stage, the control of the electric heating device is performed according to the medium power target control time and the medium power heating rate; and in the low power stage, the electric heating device is controlled to maintain the temperature.
[0012] In a second aspect, the present application further provides a temperature control system based on time compensation, including: The current temperature and the first target heating temperature of the electric heating device are acquired by the acquisition module; A strategy planning module is used to perform strategy planning based on the current temperature and the first target heating temperature, and obtain a basic temperature control strategy for the electric heating equipment. The basic temperature control strategy includes a temperature control stage and the corresponding heating rate and basic temperature control time. A time compensation module is used to obtain a temperature-affecting control variable for the electric heating equipment, and perform time compensation on the electric heating equipment based on the temperature-affecting control variable and the basic temperature control strategy to obtain a target compensation time for the temperature control stage. A target strategy determination module, used to form a target temperature control strategy for the electric heating equipment based on the target compensation time, basic temperature control time and heating rate; The temperature control module is used to control the temperature of the electric heating equipment based on the target temperature control strategy.
[0013] In a third aspect, the present application also provides a computing device comprising a memory, a processor, and a program stored in the memory and running on the processor. When the processor executes the program, the steps of a temperature control method based on time compensation as described above are implemented.
[0014] In a fourth aspect, the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the steps of a temperature control method based on time compensation.
[0015] The beneficial effects of the present application are as follows: first, a strategy is planned based on the current temperature of the electric heating device and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, and time compensation is performed on the electric heating device based on the temperature influence control amount and the basic temperature control strategy for the electric heating device to obtain the target compensation time of the temperature control stage included in the basic temperature control strategy. Then, based on the target compensation time and the basic temperature control time and heating rate included in the basic temperature control strategy, a target temperature control strategy for the electric heating device is formed, and the temperature of the electric heating device is controlled based on the target temperature control strategy. In this way, the temperature control of the electric heating device can be achieved without using a temperature sensor, and when the temperature of the electric heating device is controlled, the temperature can be compensated accordingly based on the temperature influence control amount to reduce the influence of the temperature influence control amount on the temperature control, thereby improving the accuracy of the temperature control, and further enhancing the user experience of the electric heating device. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a flow chart of a temperature control method based on time compensation according to an exemplary embodiment of the present application; Figure 2 This is a flow chart of heating gear switching control in an exemplary embodiment of the present application; Figure 3 This is a flow chart of heating pause and resume control in an exemplary embodiment of the present application; Figure 4 For an exemplary embodiment of the present application, the flowchart of the time compensation-based temperature control method provided by the application is shown. Figure 5 For an exemplary embodiment of the present application, the system architecture diagram of the time compensation-based temperature control method is shown. Figure 6 For an exemplary embodiment of the present application, the structural schematic diagram of the time compensation-based temperature control system is shown. DETAILED DESCRIPTION
[0017] The following examples are further explanations and supplements of the present application and do not constitute any limitation on the present application.
[0018] The conventional temperature control scheme usually relies on temperature sensors (such as NTC, thermocouple, etc.) to realize closed-loop feedback control, but has the following defects: 1. High hardware cost: the sensor and signal conditioning circuit increase the material cost (about 15% to 30% of the total cost).
[0019] 2. Reliability problem: the sensor is easily affected by the environment (such as humidity, corrosion) and leads to failure.
[0020] 3. Poor transient response: when the gear is switched or paused and restored, the traditional PID (Proportional Integral Derivative, Proportional Integral Derivative controller) control is prone to overshoot (typical overshoot amount ≥5℃).
[0021] There is also a time-proportional open-loop control method in the prior art, which mainly controls the operation of the heating device according to a fixed time proportion, and adjusts the temperature by presetting the heating power in different time periods. In this method, the heating time and power size of the device in different stages are usually set in advance, such as full-power heating for a period of time at the beginning, and then reducing the power to continue heating. The control logic does not rely on real-time temperature data feedback from the temperature sensor, but executes the heating operation according to the set time and power rules, and does not solve the temperature compensation problem when pausing and restoring and switching gears.
[0022] Historical temperature data can also be used to predict temperature for temperature control, but the sensor still needs to be calibrated initially and cannot completely eliminate hardware dependence.
[0023] In order to solve the above problems, the embodiments of the present application provide a time compensation-based temperature control method, system, device and medium, which will be described in detail below.
[0024] The temperature control method based on time compensation provided in the embodiment of the application can be specifically executed by a server. It should be noted that the server can be a stand-alone server, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content delivery network (CDN), and big data and artificial intelligence platform, which is not limited herein.
[0025] Referring to Figure 1 , Figure 1 A temperature control method based on time compensation is shown in an example embodiment of the application, as shown in Figure 1 The application provides a temperature control method based on time compensation, comprising: S11, obtaining a current temperature of an electric heating device and a first target heating temperature; S12, performing strategy planning based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, the basic temperature control strategy comprising a temperature control stage and a heating rate and a basic temperature control time corresponding to the temperature control stage; S13, obtaining a temperature influence control amount for the electric heating device, and performing time compensation on the electric heating device based on the temperature influence control amount and the basic temperature control strategy to obtain a target compensation time of the temperature control stage; S14, forming a target temperature control strategy for the electric heating device based on the target compensation time, the basic temperature control time and the heating rate; S15, performing temperature control on the electric heating device based on the target temperature control strategy.
[0026] The temperature control method based on time compensation of the embodiment provided in the application first performs strategy planning based on the current temperature of the electric heating device and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, and performs time compensation on the electric heating device based on the temperature influence control amount for the electric heating device and the basic temperature control strategy to obtain a target compensation time of the temperature control stage included in the basic temperature control strategy. Then, a target temperature control strategy for the electric heating device is formed based on the target compensation time and the basic temperature control time and the heating rate included in the basic temperature control strategy, and temperature control is performed on the electric heating device based on the target temperature control strategy. In this way, temperature control of the electric heating device can be achieved without using a temperature sensor, and when temperature control is performed on the electric heating device, the temperature can be compensated in time based on the temperature influence control amount to reduce the influence of the temperature influence control amount on temperature control, thereby improving the accuracy of temperature control and further improving the user experience of the electric heating device.
[0027] In this embodiment, the electric heating device can be an electric heating device, such as a tens heating electric heating device (a physiotherapy device with both transcutaneous electrical nerve stimulation (TENS) function and heating (heat therapy) function), an electric kettle, an oven, etc.
[0028] Optionally, strategy planning is performed based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, including: A temperature control stage corresponding to the first target heating temperature is found from a preset temperature control stage table, and the temperature control stage includes a full-power stage, a medium-power stage, and a low-power stage; A heating rate corresponding to the temperature control stage is found from a preset temperature control parameter table, and the heating rate includes a full-power heating rate and a medium-power heating rate; Time planning is performed based on the current temperature, the temperature control stage, and the heating rate to obtain a basic temperature control time of the temperature control stage, and the basic temperature control time includes a full-power basic temperature control time and a medium-power basic temperature control time; The basic temperature control strategy for the electric heating device is formed based on the temperature control stage, the heating rate, and the basic temperature control time.
[0029] In this embodiment, the temperature control stage corresponding to the first target heating temperature is found from the preset table, the heating rate corresponding to the temperature control stage is found, the basic temperature control time of the temperature control stage is obtained based on the current temperature, the temperature control stage, and the heating rate, and the basic temperature control strategy for the electric heating device is formed based on the temperature control stage, the heating rate, and the basic temperature control time, so that subsequent time compensation can be performed on the electric heating device based on the basic temperature control strategy to ensure that the electric heating device is subjected to basic temperature control and compensation temperature control at the same time, thereby improving the accuracy of temperature control of the electric heating device and further improving the user experience of the electric heating device.
[0030] Optionally, the sequence of heating the electric heating device is full-power stage, medium-power stage, and low-power stage in sequence, the full-power stage is used for heating to a first temperature, the medium-power stage is used for heating to a second temperature, the first temperature is less than the second temperature, and the low-power stage is used for maintaining the second temperature; Time planning is performed based on the current temperature, the temperature control stage, and the heating rate to obtain a basic temperature control time of the temperature control stage, including: comparing the current temperature with the first temperature and the second temperature to determine an initial heating stage of the electric heating device; The basic temperature control time of the temperature control stage is obtained based on the initial heating stage, the current temperature, and the heating rate.
[0031] In the embodiment provided in the present application, the current temperature is compared with the first temperature and the second temperature to understand which sub-stage the electric heating device is currently in in the temperature control stage, and the sub-stage is determined as the initial heating stage of the electric heating device for temperature control this time, and the basic temperature control time of the temperature control stage is calculated based on the initial heating stage, the current temperature and the heating rate, so that the electric heating device can be accurately controlled based on the basic temperature time without using a temperature sensor when there is no temperature influence control amount, thereby reducing the hardware cost of temperature control and avoiding the problem of low control accuracy caused by hardware damage, and further improving the user's satisfaction with the electric heating device.
[0032] In the embodiment, the current temperature is compared with the first temperature and the second temperature to determine the initial heating stage of the electric heating device, and the specific steps are as follows: When the current temperature is less than the first temperature and less than the second temperature, the initial heating stage of the electric heating device is determined as the full-power stage; when the current temperature is greater than or equal to the first temperature and less than the second temperature, the initial heating stage of the electric heating device is determined as the medium-power stage; When the current temperature is greater than or equal to the second temperature, the initial heating stage of the electric heating device is determined as the low-power stage.
[0033] Optionally, the basic temperature control time of the temperature control stage is calculated based on the initial heating stage, the current temperature and the heating rate, including: When the initial heating stage is the full-power stage, the full-power heating time of the electric heating device in the full-power stage is calculated using the current temperature, the first temperature and the full-power heating rate; The first medium-power heating time of the electric heating device in the medium-power stage is calculated using the first temperature, the second temperature and the medium-power heating rate; The basic temperature control time of the temperature control stage is formed based on the full-power heating time and the first medium-power heating time; When the initial heating stage is the medium-power stage, the second medium-power heating time of the electric heating device in the medium-power stage is calculated using the current temperature, the second temperature and the medium-power heating rate, and the basic temperature control time of the temperature control stage is formed based on the second medium-power heating time.
[0034] In the embodiment provided in the present application, when the initial heating stage is the full-power stage, the full-power heating time of the electric heating device in the full-power stage is calculated using the current temperature, the first temperature, and the full-power heating rate, and the first medium-power heating time of the electric heating device in the medium-power stage is calculated using the first temperature, the second temperature, and the medium-power heating rate, to form the basic temperature control time of the temperature control stage; when the initial heating stage is the medium-power stage, the second medium-power heating time of the electric heating device in the medium-power stage is calculated using the current temperature, the second temperature, and the medium-power heating rate, to form the basic temperature control time of the temperature control stage. In this way, subsequent accurate temperature control of the electric heating device can be realized based on the basic temperature time without using the temperature sensor when there is no temperature influence control quantity, and the accuracy of the temperature control of the electric heating device without the sensor is improved.
[0035] In the embodiment, first, the calculation formula of the full-power heating time is as follows: t_{full}=\frac{(T_{target}-T_{current})\times 0.8}{P_{full}}; Wherein, t_{full} represents the full-power heating time, and the unit is second (s). When the electric heating device performs multi-stage heating control, this parameter is used to determine the duration of the electric heating device operating at full power to achieve rapid heating to the first temperature.
[0036] T_{target} represents the first target heating temperature, and the unit is Celsius (℃). It is the temperature value that the user expects the electric heating device to finally reach and maintain, for example, in the tens heating electric heating device, T_{target} is the comfortable hot compress temperature set by the user; in the electric kettle, T_{target} is the specified temperature at which the user wants the water to be heated to.
[0037] T_{current} represents the current temperature, and the unit is Celsius (℃). It reflects the actual temperature state of the electric heating device at a certain moment, and changes in real time with the heating or cooling process.
[0038] times 0.8 represents the full-power proportion coefficient. In the multi-stage precise control strategy, the full-power stage makes the temperature rise rapidly to the first temperature, and this coefficient 0.8 represents the proportion of the first temperature to the first target heating temperature, i.e., the first temperature = the first target heating temperature x 80%.
[0039] P full represents the full-power heating rate, in units of degrees Celsius per second (°C / s). This parameter reflects the speed at which the temperature of the electric heating device increases when it is running at full power, i.e., how many degrees Celsius the temperature can increase per second. Different electric heating devices will have different full-power heating rates due to factors such as the power of the device, the performance of the heating element, etc.
[0040] Secondly, the calculation formulas of the first medium-power heating time and the second medium-power heating time are as follows: t medium = (T target - T current) x 0.15 / P medium. Where t medium represents the first medium-power heating time or the second medium-power heating time, in units of seconds (s). It reflects how long the electric heating device needs to run at medium power to finely adjust the temperature from the current value to close to the target temperature (95% of the target temperature). For example, in an electric kettle, when the water is heated at full power and then enters the medium-power stage, t medium determines the duration of this stage.
[0041] T target represents the first target heating temperature, in units of degrees Celsius (°C). It is the temperature that the user expects the electric heating device to eventually reach and maintain. For example, in a tens heating electric heating device, the user sets the desired heating temperature, or in an oven, the user sets the baking temperature.
[0042] T current: When calculating the first medium-power heating time, T current represents the first temperature, and when calculating the second medium-power heating time, T current represents the current temperature, in units of degrees Celsius (°C). It is the actual temperature value of the electric heating device at a certain time, which will change constantly during the heating or cooling process. When calculating the heating duration of the medium-power stage, the difference between the current temperature and the first target heating temperature needs to be determined.
[0043] P medium represents the medium-power heating rate, in units of degrees Celsius per second (°C / s). It reflects the speed at which the temperature of the electric heating device increases when it is running at medium power, i.e., how many degrees Celsius the temperature can increase per second. Different electric heating devices will have different P medium due to factors such as the power of the device, the performance of the heating element, etc.
[0044] times 0.15 represents the medium power proportional coefficient. In the multi-stage precision control strategy, the full power stage makes the temperature quickly rise to 80% of the first target heating temperature, that is, to the first temperature, and the medium power stage is to finely adjust the temperature from 80% of the first target heating temperature to 95% on the basis of the full power stage, that is, to heat from the first temperature to the second temperature, so this coefficient 0.15 represents the proportion of the second temperature that the medium power stage needs to rise to the first target heating temperature, that is, the second temperature = the first target heating temperature x 95%.
[0045] Optionally, the temperature influence control quantity is to adjust the first target heating temperature to the second target heating temperature. The temperature control device is time compensated based on the temperature influence control quantity and the basic temperature control strategy to obtain a target compensation time of the temperature control stage, including: The full power first compensation time of the full power stage is calculated based on the second target heating temperature, the current temperature and the full power heating rate. The medium power first compensation time of the medium power stage is calculated based on the second target heating temperature, the current temperature and the medium power heating rate. The target compensation time of the temperature control stage is formed based on the full power first compensation time and the medium power first compensation time.
[0046] In the embodiment provided in the present application, when the temperature influence control quantity is to adjust the current temperature to the second target heating temperature, it indicates that there is a gear shifting heating condition of the electric heating device, then the full power first compensation time of the full power stage is calculated based on the second target heating temperature, the current temperature and the full power heating rate, and the medium power first compensation time of the medium power stage is calculated based on the second target heating temperature, the current temperature and the medium power heating rate, to form the target compensation time of the temperature control stage. In this way, the gear shifting heating condition can be quantified as a compensation time that can be recognized by a computer, so that the compensation time can be directly controlled to participate in the temperature control of the electric heating device, the accuracy of the temperature control of the electric heating device in the presence of the gear shifting heating condition can be improved, and the user experience of the electric heating device can be improved.
[0047] In the embodiment, the calculation formula of the full power first compensation time and the medium power first compensation time is as follows: t_{comp}=\frac{|T_{new}-T_{old}|\times k_{level}}{P_{current}}; wherein t comp represents the full-power first compensation time or the medium-power first compensation time when the electric heating device exists gear shifting heating, and the unit is second (s). It is the compensation time calculated according to the temperature change when the gear is switched. In the actual application scenario, such as when the electric kettle switches from the heat preservation gear to the boiling water gear, or when the tens heating electric heating device switches from the low temperature gear to the high temperature gear, this time is needed to adjust the heating process to ensure that the temperature can smoothly transition to the target temperature corresponding to the new gear, and to reduce the temperature overshoot and other adverse phenomena.
[0048] |T new -T old | represents the absolute value ΔT of the difference between the second target heating temperature of the new gear and the current temperature of the old gear, and the unit is Celsius (℃). This difference reflects the magnitude of the temperature change after the gear is switched, and is an important basis for calculating the compensation time. For example, switching from a low gear (current temperature is 50℃) to a high gear (second target heating temperature is 90℃), |T new -T old | = |90-50| = 40℃, the temperature change magnitude is large, and the compensation time calculation result will also be affected.
[0049] k level represents the gear switching compensation coefficient, and is dimensionless. It is an empirical parameter determined according to the device characteristics of the electric heating device, the performance of the heating element, and experimental data, etc., and is used to adjust the calculation of the compensation time. Different electric heating devices or different heating scenarios, the value of k level may be different. For example, for electric heating devices with high heating efficiency, k level may be relatively small; and for electric heating devices with slow heating, k level may be appropriately increased to ensure the reasonableness of the compensation time.
[0050] P current : in the calculation of the full-power first compensation time, P current represents the full-power heating rate, and in the calculation of the medium-power first compensation time, P current represents the medium-power heating rate, and the unit is Celsius per second (℃ / s). It reflects the speed of temperature rise of the electric heating device under the current heating power. After the gear is switched, the electric heating device will heat at a new power, and this heating rate will affect the time required for the temperature to reach the new target value. In the calculation of the compensation time, the larger P current is, the shorter the compensation time t comp is; on the contrary, the smaller P current is, the longer t comp is.
[0051] Please refer to Figure 2 , Figure 2 For the flowchart of the heating gear switching control in an exemplary embodiment of the present application, as shown in Figure 2As shown, when a gear switching instruction is received, indicating that the temperature impact control quantity at this time is to adjust the current temperature to the second target heating temperature, the temperature difference ΔT between the new and old gears is calculated. If ΔT is greater than 0, it means that the electric heating equipment needs to be controlled to increase its temperature. The required full-power first compensation time and medium-power first compensation time are calculated, and the remaining time of each stage is updated to obtain the target control time for each stage. Then, the new gear heating is started, and the electric heating equipment is controlled to heat according to the target control time of each stage until the electric heating equipment is heated to the second target heating temperature corresponding to the switched gear. After that, the low-power stage is entered to maintain the second target heating temperature. If ΔT is less than 0, indicating that the temperature of the electric heating equipment is higher than the required gear temperature and cooling control is required, heating is stopped and the natural cooling stage is entered until the temperature of the electric heating equipment drops to the second target heating temperature corresponding to the switched gear. After that, the low-power stage is entered to maintain the second target heating temperature.
[0052] For example, the gear switching instruction may be to switch from low gear (current temperature is 52°C) to high gear (second target heating temperature is 90°C). The corresponding control flow is: Calculate the temperature difference between the new and old gears: ΔT = 90°C - 52°C = 38°C; Dynamic allocation compensation time: full power first compensation time = 38°C × 60% / 0.35°C / s ≈ 65 seconds, medium power first compensation time = 38°C × 40% / 0.20°C / s ≈ 76 seconds; Execute in sequence: increase the heating time of the full power stage by 65 seconds → increase the heating time of the medium power stage by 76 seconds → enter the low power stage and maintain 90℃.
[0053] Optionally, the temperature impact control variable is the duration of heating suspension; Based on the temperature-affecting control quantity and the basic temperature control strategy, the time compensation of the electric heating equipment is performed to obtain the target compensation time of the temperature control stage, including: The temperature loss of the electric heating equipment is calculated based on the duration of heating suspension; Based on the temperature loss and the full-power heating rate, the full-power second compensation time of the full-power stage is calculated; Based on the temperature loss and the medium power heating rate, the medium power second compensation time in the medium power stage is calculated; Based on the full-power second compensation time and the medium-power second compensation time, the target compensation time in the temperature control stage is formed.
[0054] In the embodiment provided in the present application, when the temperature influence control quantity is the suspension heating duration, it is indicated that the electric heating device exists the suspension heating condition, and then the temperature loss quantity of the electric heating device and the full-power heating rate calculated based on the suspension heating duration, the full-power second compensation time of the full-power stage calculated, and the medium-power second compensation time of the medium-power stage calculated based on the temperature loss quantity and the medium-power heating rate are used to form the target compensation time of the temperature control stage. In this way, the suspension heating condition can be quantified as the compensation time that can be recognized by the computer, so that the compensation time can be directly controlled to participate in the temperature control of the electric heating device, the accuracy of the temperature control of the electric heating device in the case of the suspension heating condition can be improved, and thus the user experience of the electric heating device can be improved.
[0055] In the embodiment, the calculation formulas of the full-power second compensation time and the medium-power second compensation time are as follows: t_{pause_comp}=\frac{\Delta T_{loss}\times k_{pause}}{P_{current}}; \Delta T_{loss}=t_{pause}\times k_{cool}; wherein t_{pause_comp} represents the full-power second compensation time or the medium-power second compensation time when the electric heating device exists the suspension heating condition, and the unit is second (s). It represents the additional heating time required to make the temperature recover to the normal heating state in order to compensate for the temperature loss during the suspension.
[0056] \Delta T_{loss}: temperature loss quantity, unit is Celsius (℃). It represents the temperature drop value of the electric heating device during the suspension heating due to heat dissipation and other reasons, which is calculated by the formula \Delta T_{loss}=t_{pause}\times k_{cool}.
[0057] t_{pause} represents the suspension heating duration, and the unit is second (s). It refers to the time interval between the stop of the electric heating device and the restart of the electric heating device.
[0058] k_{pause}: suspension compensation coefficient, dimensionless. It is an empirical parameter determined according to the specific characteristics and experimental data of the electric heating device, which is used to adjust the calculation of the suspension heating duration to adapt to the heat dissipation and temperature control requirements of different electric heating devices.
[0059] k_{cool}: cooling coefficient, unit is Celsius per second (℃ / s). It describes the temperature drop rate of the electric heating device during the suspension, which reflects the heat dissipation characteristics of the electric heating device, i.e., the amplitude of the temperature drop per second.
[0060] P_{current}: When calculating the full-power second compensation time, P_{current} represents the full-power heating rate. When calculating the medium-power second compensation time, P_{current} represents the medium-power heating rate, expressed in degrees Celsius per second (°C / s). This value reflects the temperature rise rate of the electric heating device at the current power when heating resumes.
[0061] In this way, the time required for additional compensation when resuming heating can be calculated based on factors such as the duration of heating suspension of the electric heating equipment, the heat dissipation characteristics, and the current heating power, thereby controlling the temperature more accurately, reducing temperature fluctuations, and improving the accuracy and stability of temperature control.
[0062] See also Figure 3 , Figure 3 This is a flow chart of heating pause and resume control in an exemplary embodiment of the present application, as shown in FIG. Figure 3 As shown, the temperature control stage also includes a cooling stage. The specific process of heating pause and recovery control is as follows: Pause trigger: When the heating pause program in the heating pause recovery control program is triggered, the pause temperature, pause power stage and pause time are recorded, and the heating is turned off and the cooling stage begins; Resume trigger: When the heating resume program in the heating pause resume control program is triggered, the resume time is recorded. Based on the two recorded pause and resume times, the heating pause duration t_pause is calculated, which is equivalent to t_{pause} in the above formula. The temperature loss ΔT is calculated as t_pause*k_cool, which is equivalent to ΔT_{loss}=t_{pause}*k_{cool} in the above formula. Allocate full / medium power compensation time: Based on the above formula, calculate the full power second compensation time and the medium power second compensation time; Resume heating until compensation is completed: add the full-power second compensation time and the medium-power second compensation time to the basic temperature control time of the original stage respectively to obtain the target control time of each stage, and control the electric heating equipment to heat according to the target control time of each stage until the temperature of the electric heating equipment rises to the pause temperature; Jump to original sustain stage: Restore the power stage to the suspended power stage when the pause was triggered.
[0063] For example, in the heating pause and resume control program, the power stage of the electric heating equipment is the medium power stage, the first target heating temperature is 70°C, and the calculated heating pause duration t_pause = 300 seconds. The control flow corresponding to the heating pause and resume control is: The temperature recorded during the pause was 65° C., the power stage was the low power stage, and the remaining time was 120 seconds.
[0064] Calculate the temperature loss amount: ΔT = cooling rate × 300s = 4.5℃, wherein the cooling rate = 0.015℃ / s; Dynamically allocate compensation time: full power second compensation time: 4.5℃×70% / 0.25℃ / s = 12.6s, medium power second compensation time: 4.5℃×30% / 0.15℃ / s = 9s; In turn: heating time of full power stage is increased by 12.6s→heating time of medium power stage is increased by 9s→return to original low power stage.
[0065] Optionally, the temperature control stage includes a full power stage, a medium power stage and a low power stage, the low power stage is used for maintaining temperature, the target compensation time includes a full power compensation time and a medium power compensation time, the basic temperature control time includes a full power basic temperature control time and a medium power basic temperature control time, and the heating rate includes a full power heating rate and a medium power heating rate; Based on the target compensation time, the basic temperature control time and the heating rate, a target temperature control strategy for the electric heating device is formed, including: the sum of the full power compensation time and the full power basic temperature control time is determined as a full power target control time of the full power stage; the sum of the medium power compensation time and the medium power basic temperature control time is determined as a medium power target control time of the medium power stage; and based on the full power target control time, the medium power target control time and the heating rate, the target temperature control strategy for the electric heating device is determined as: in the full power stage, the electric heating device is controlled according to the full power target control time and the full power heating rate; in the medium power stage, the electric heating device is controlled according to the medium power target control time and the medium power heating rate; and in the low power stage, the electric heating device is controlled to maintain temperature.
[0066] In the embodiment provided in the present application, based on the full power compensation time and the full power basic temperature control time being determined as the full power target control time, the medium power compensation time and the medium power basic temperature control time being determined as the medium power target control time, and the heating rate, the target temperature control strategy for the electric heating device is determined. Since the compensation time is introduced in the full power target control time and the medium power target control time, the obtained target control strategy can consider the heating influence of the temperature influence control amount on the electric heating device, thereby improving the accuracy of temperature control of the electric heating device based on the target control strategy, and improving the user experience of the electric heating device.
[0067] In the embodiment, the fluctuation range of the electric heating device controlled to maintain temperature in the low power stage is ±1℃ of the second temperature, and the duration of the low power stage is: until the gear is switched or the system of the electric heating device is turned off.
[0068] In an example embodiment provided by the present application, the temperature change of the electric heating device during the heating and cooling processes can be simulated by the real-time temperature of the electric heating device at different times. The estimation formula of the real-time temperature can be as follows: Tn = Tn-1 + (Pheat × Δt) - (kcool × Δt); wherein Tn represents the real-time temperature of the electric heating device at time n, in degrees Celsius (℃) or other temperature units. It is calculated by the real-time temperature at the previous time n-1 and the comprehensive influence of heating and cooling in the current time period.
[0069] Tn-1 represents the real-time temperature of the object at the previous time Tn-1, with the same unit as Tn. It reflects the thermal state of the object at the previous time.
[0070] Pheat represents the heating power of the initial heating stage corresponding to Tn-1, in joules per second (J / s) or watts (W). It represents the heat absorbed by the electric heating device per unit time, reflecting the intensity of the heating source on the electric heating device. The greater the heating power, the more heat the electric heating device absorbs, and the faster the temperature rises.
[0071] Δt represents the time interval from the previous time n-1 to time n, in seconds (s). It is the time period for calculating the temperature change, i.e. in this time interval, the influence of heating and cooling on the temperature of the object is considered. The size of Δt will affect the amplitude of the temperature change, the longer the time interval, the greater the temperature change.
[0072] kcool represents the cooling coefficient, in joules per degree Celsius per second (J / (℃ / s)). It describes the characteristics of the heat dissipation of the electric heating device, reflecting the ability of the electric heating device to dissipate heat to the surrounding environment per unit time and per unit temperature difference. The greater kcool, the faster the electric heating device dissipates heat, and the more obvious the temperature drop.
[0073] It can be seen that the estimation formula of the real-time temperature considers the influence of heating power, cooling coefficient and time on the temperature change of the electric heating device, and through iterative calculation, the temperature of the object at different times can be obtained, thereby simulating the temperature change of the object during the heating and cooling processes. In addition, the heating power Pheat and the cooling coefficient kcool are empirical parameters obtained by experimental measurement, and the current temperature is calculated by the calculation formula of the real-time temperature.
[0074] Please refer to Figure 4 , Figure 4 In an example embodiment of the present application, the flowchart of the temperature control method based on time compensation provided by the present application is as follows: Figure 4As shown, the temperature control stage also includes a cooling stage, and the specific process of the provided time compensation-based temperature control method is as follows: After the system of the electric heating device is started, the gear corresponding to the first target heating temperature to which the electric heating device needs to be heated is detected first.
[0075] If the gear is LEVEL_OFF, the electric heating device stops heating; if the gear is LEVEL_ON, it indicates that temperature control of the electric heating device is needed at this time, and the electric heating device first enters the full-power stage, then enters the medium-power stage after the full-power stage is completed, and then enters the low-power stage to maintain the temperature of the electric heating device at the first target heating temperature.
[0076] The state change of the electric heating device is detected, if the state at this time is the heating suspension state, the state such as the suspension temperature, the suspension power stage and the suspension time at the time of suspension is saved and the electric heating device is made to enter the cooling stage to cool; if the gear of the electric heating device is switched, the second target heating temperature corresponding to the switched gear is determined, the full-power first compensation time and the medium-power first compensation time corresponding thereto are calculated, and the temperature compensation control of the electric heating device is performed based on the full-power first compensation time and the medium-power first compensation time, so as to more accurately control the temperature, reduce the temperature fluctuation, and improve the accuracy and stability of the temperature control.
[0077] Please refer to Figure 5 , Figure 5 In an exemplary embodiment of the present application, a system architecture diagram of a time compensation-based temperature control method is as shown in Figure 5 The system architecture of the time compensation-based temperature control method includes a user interface, a state machine controller, a thermodynamic parameter storage, a virtual temperature estimator, a time difference compensator, a PWM power controller and a heating element of an electric heating device.
[0078] The state machine controller is used to manage the switching of the heating stages (including full power stage, medium power stage, low power stage, and cooling stage). The virtual temperature estimator is used to estimate real-time temperature data (current temperature) through thermodynamic mathematical formulas constructed from historical data. The time difference compensator is used to calculate compensation time according to the real-time temperature data (current temperature) and the thermodynamic model (thermodynamic mathematical formulas) constructed from the attribute parameters of the electric heating device. The PWM power controller refers to the heating control circuit and the control signal of the front end, which realizes different heating powers by controlling the output duty cycle of PWM to maintain a relatively stable heating rate (including full power heating rate and medium power heating rate). For example: 100% duty cycle is full power heating power, 70% duty cycle is medium power heating power, 30% duty cycle is low power constant temperature, and 0% duty cycle is natural cooling without heating. The heating element refers to the heating carrier that controls the electric heating device to heat, which can be a resistance heating wire or other heating components or peripheral devices.
[0079] A time compensation-based temperature control method is applied by using the system architecture diagram, and the specific steps are as follows: The user sends a gear / pause instruction to the state machine controller through the user interface; The state machine controller calls the attribute parameters of the electric heating device from the thermodynamic parameter storage; The state machine controller sends a compensation calculation request to the time difference compensator and a temperature estimation request to the virtual temperature estimator according to the attribute parameters and the gear / pause instruction, and sends the real-time temperature data (current temperature) estimated by the virtual temperature estimator to the time difference compensator; The time difference compensator calculates the compensation time parameters (including full power compensation time and medium power compensation time) according to the attribute parameters, the gear / pause instruction, and the real-time temperature data (current temperature), and sends the compensation time parameters to the PWM power control to generate corresponding duty cycle signals, which are sent to the heating element to control the heating element and control the temperature of the electric heating device.
[0080] Therefore, the temperature control method based on time compensation can achieve the following effects:(1) Virtual temperature estimation technology: by constructing a thermodynamic model (each thermodynamic mathematical formula), the temperature is calculated in real time by using the state variable, which replaces the physical sensor, eliminates the dependence on hardware, reduces the cost and improves the reliability. Stable temperature control (error ≤ ±2℃) under the condition of no sensor. (2) Multi-stage accurate control: divide the full power, medium power, low power and cooling stage, dynamically adjust the time length of each stage based on the target temperature gradient, and reduce the overshoot by 60%. (3) Dynamic compensation algorithm: for scenarios such as gear switching and pause recovery, the control parameters are corrected in real time by using the time difference compensation formula to adapt to the load change. (4) Temperature control accuracy: the temperature control accuracy is ±2℃, which is 60% higher than the traditional scheme; the hardware cost is reduced by 25%; the stable time is shortened by 50% when the environmental temperature changes, and the precise temperature control is realized under the condition of no sensor. (5) Application scenarios: the temperature control method based on time compensation can be applied to the temperature control of the heating device, such as the tens electric heating device which stimulates human nerves by electric current to relieve pain and has a heating function. The temperature control directly affects the use experience and safety. If the temperature is too high, the user may be scalded; if the temperature is too low, the expected hot compress effect cannot be achieved. The traditional temperature control scheme relying on sensors has high cost, poor reliability and is prone to unstable temperature. The temperature control scheme of the present application can accurately control the temperature in the range of ±2℃ without sensors, such as the temperature accurate adjustment in the embodiments of pause recovery and gear switching, which can ensure that the heating electric heating device can stably provide appropriate temperature in different use scenarios, avoid discomfort and safety hazards caused by temperature fluctuation, reduce hardware cost and improve the competitiveness of the electric heating device.
[0081] In summary, the temperature control method based on time compensation can achieve the following effects: (1) Virtual temperature estimation technology: by constructing a thermodynamic model (each thermodynamic mathematical formula), the temperature is calculated in real time by using the state variable, which replaces the physical sensor, eliminates the dependence on hardware, reduces the cost and improves the reliability. Stable temperature control (error ≤ ±2℃) under the condition of no sensor.
[0082] (2) Multi-stage accurate control: divide the full power, medium power, low power and cooling stage, dynamically adjust the time length of each stage based on the target temperature gradient, and reduce the overshoot by 60%.
[0083] (3) Dynamic compensation algorithm: for scenarios such as gear switching and pause recovery, the control parameters are corrected in real time by using the time difference compensation formula to adapt to the load change.
[0084] Please refer to Figure 6 , Figure 6 A temperature control system based on time compensation is shown in FIG. 1, which comprises: Figure 6 The acquisition module 601 is configured to acquire the current temperature and the first target heating temperature of the electric heating device. The strategy planning module 602 is configured to plan a strategy based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, wherein the basic temperature control strategy comprises a temperature control stage and a heating rate and a basic temperature control time corresponding to the temperature control stage. The time compensation module 603 is configured to obtain a temperature influence control quantity of the electric heating device, and perform time compensation on the electric heating device based on the temperature influence control quantity and a basic temperature control strategy, to obtain a target compensation time of a temperature control stage. The target strategy determination module 604 is configured to form a target temperature control strategy for the electric heating device based on the target compensation time, a basic temperature control time and a heating rate. The temperature control module 605 is configured to perform temperature control on the electric heating device based on the target temperature control strategy.
[0085] The time compensation-based temperature control system 600 provided in this embodiment first performs strategy planning based on the current temperature and the first target heating temperature of the electric heating device obtained by the acquisition module 601, to obtain a basic temperature control strategy for the electric heating device, and performs time compensation on the electric heating device based on the temperature influence control quantity and the basic temperature control strategy, to obtain a target compensation time of a temperature control stage included in the basic temperature control strategy. Then, the target strategy determination module 604 forms a target temperature control strategy for the electric heating device based on the target compensation time, a basic temperature control time and a heating rate included in the basic temperature control strategy, and the temperature control module 605 performs temperature control on the electric heating device based on the target temperature control strategy. In this way, temperature control on the electric heating device can be achieved without using a temperature sensor, and when performing temperature control on the electric heating device, the temperature can be compensated in time based on the temperature influence control quantity, to reduce the influence of the temperature influence control quantity on temperature control, thereby improving the accuracy of temperature control and further improving the user experience of the electric heating device.
[0086] Optionally, the strategy planning module 602 is specifically configured to: find a temperature control stage corresponding to the first target heating temperature from a preset temperature control stage table, the temperature control stage including a full-power stage, a medium-power stage and a low-power stage; find a heating rate corresponding to the temperature control stage from a preset temperature control parameter table, the heating rate including a full-power heating rate and a medium-power heating rate; perform time planning based on the current temperature, the temperature control stage and the heating rate, to obtain a basic temperature control time of the temperature control stage, the basic temperature control time including a full-power basic temperature control time and a medium-power basic temperature control time; form the basic temperature control strategy for the electric heating device based on the temperature control stage, the heating rate and the basic temperature control time.
[0087] Optionally, the strategy planning module 602 is specifically configured to: The heating sequence of the electric heating device is full power stage, medium power stage and low power stage in turn, the full power stage is used for heating to a first temperature, the medium power stage is used for heating to a second temperature, the first temperature is less than the second temperature, and the low power stage is used for maintaining the second temperature; The time planning is performed based on the current temperature, the temperature control stage and the heating rate to obtain the basic temperature control time of the temperature control stage, including: comparing the current temperature with the first temperature and the second temperature to determine an initial heating stage of the electric heating device; The basic temperature control time of the temperature control stage is obtained based on the initial heating stage, the current temperature and the heating rate.
[0088] Optionally, the strategy planning module 602 is specifically configured to: The basic temperature control time of the temperature control stage is obtained based on the initial heating stage, the current temperature and the heating rate, including: when the initial heating stage is the full power stage, the full power heating time of the electric heating device in the full power stage is calculated by using the current temperature, the first temperature and the full power heating rate; The first medium power heating time of the electric heating device in the medium power stage is calculated by using the first temperature, the second temperature and the medium power heating rate; The basic temperature control time of the temperature control stage is formed based on the full power heating time and the first medium power heating time; When the initial heating stage is the medium power stage, the second medium power heating time of the electric heating device in the medium power stage is calculated by using the current temperature, the second temperature and the medium power heating rate, and the basic temperature control time of the temperature control stage is formed based on the second medium power heating time.
[0089] Optionally, the temperature influence control quantity is adjusting the first target heating temperature to the second target heating temperature; the time compensation module 603 is specifically configured to: The target compensation time of the temperature control stage is obtained by performing time compensation on the electric heating device based on the temperature influence control quantity and the basic temperature control strategy, including: The full power first compensation time of the full power stage is calculated based on the second target heating temperature, the current temperature and the full power heating rate; The medium power first compensation time of the medium power stage is calculated based on the second target heating temperature, the current temperature and the medium power heating rate; The target compensation time of the temperature control stage is formed based on the full power first compensation time and the medium power first compensation time.
[0090] Optionally, the temperature influence control quantity is a heating suspension duration; the time compensation module 603 is specifically configured to: The target compensation time of the temperature control stage is obtained by performing time compensation on the electric heating device based on the temperature influence control quantity and the basic temperature control strategy, including: calculate the temperature loss of the electric heating device based on the pause heating duration; calculate the full-power second compensation time of the full-power stage based on the temperature loss and the full-power heating rate; calculate the medium-power second compensation time of the medium-power stage based on the temperature loss and the medium-power heating rate; form the target compensation time of the temperature control stage based on the full-power second compensation time and the medium-power second compensation time.
[0091] Optionally, the temperature control stage includes the full-power stage, the medium-power stage and the low-power stage, the target compensation time includes the full-power compensation time and the medium-power compensation time, the basic temperature control time includes the full-power basic temperature control time and the medium-power basic temperature control time, and the heating rate includes the full-power heating rate and the medium-power heating rate. The target strategy determination module 604 is specifically configured to: form the target temperature control strategy for the electric heating device based on the target compensation time, the basic temperature control time and the heating rate, including: determining the sum of the full-power compensation time and the full-power basic temperature control time as the full-power target control time of the full-power stage; determining the sum of the medium-power compensation time and the medium-power basic temperature control time as the medium-power target control time of the medium-power stage; and determining the target temperature control strategy for the electric heating device based on the full-power target control time, the medium-power target control time and the heating rate, as: in the full-power stage, controlling the electric heating device according to the full-power target control time and the full-power heating rate; in the medium-power stage, controlling the electric heating device according to the medium-power target control time and the medium-power heating rate; and in the low-power stage, controlling the electric heating device to maintain the temperature.
[0092] It should be noted that the temperature control system based on time compensation provided in the above embodiments and the temperature control method based on time compensation provided in the above embodiments belong to the same concept, and the specific manner in which each module and unit performs operations has been described in detail in the method embodiments, which will not be described here. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to complete all or part of the above described functions, and this is not limited herein.
[0093] The computing device provided in the embodiments of the present application includes a memory, a processor and a program stored in the memory and running on the processor. When the processor executes the program, it implements part or all of the steps of the temperature control method based on time compensation described above.
[0094] The computing device can be a computer, and the program can be computer software. The parameters and steps of the method can refer to the parameters and steps of the embodiments of the temperature control method based on time compensation.
[0095] The computer readable storage medium stores instructions. When the instructions are executed, the steps of the temperature control method based on time compensation are performed.
[0096] The computer readable storage medium can be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
[0097] The technical solution of the embodiments of the present disclosure can be embodied in the form of software computer software. The computer software is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device) to perform all or part of the steps of the method. The computer readable storage medium can be a non-transitory computer readable storage medium, including a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes. The computer readable storage medium can also be a transitory computer readable storage medium.
[0098] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. Each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code, which includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks can occur in different orders from those indicated in the drawings. For example, two blocks indicated in succession can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams or flowcharts, or a combination of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0099] Those skilled in the art know that the present application can be implemented as a system, a method, or a computer program product. Therefore, the present disclosure can be embodied in the form of a hardware completely, a software completely (including firmware, resident software, microcode, etc.), or a combination of hardware and software, which is generally referred to as "module" or "system". Furthermore, in some embodiments, the present application can also be embodied in the form of a computer program product on one or more computer readable media (include computer readable program codes) thereon. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any combination thereof.
[0100] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the present specification and the features of the different embodiments or examples without contradiction.
[0101] Although the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are exemplary and are not to be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-described embodiments within the scope of the present application.
Claims
1. A temperature control method based on time compensation, characterized in that: include: Obtaining the current temperature and the first target heating temperature of the electric heating device; Performing strategy planning based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, the basic temperature control strategy including a temperature control stage and a heating rate and a basic temperature control time corresponding to the temperature control stage; Acquiring a temperature influence control variable for the electric heating device, performing time compensation on the electric heating device based on the temperature influence control variable and the basic temperature control strategy, and obtaining a target compensation time for the temperature control stage; forming a target temperature control strategy for the electric heating device based on the target compensation time, the basic temperature control time, and the heating rate; The temperature of the electric heating device is controlled based on the target temperature control strategy.
2. The method according to claim 1, characterized in that The performing of strategy planning based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device includes: Finding a temperature control stage corresponding to the first target heating temperature from a preset temperature control stage table, wherein the temperature control stage includes a full power stage, a medium power stage, and a low power stage; Find out the heating rate corresponding to the temperature control stage from the preset temperature control parameter table, where the heating rate includes a full-power heating rate and a medium-power heating rate; Performing time planning based on the current temperature, the temperature control stage, and the heating rate to obtain a basic temperature control time for the temperature control stage, wherein the basic temperature control time includes a full-power basic temperature control time and a medium-power basic temperature control time; Based on the temperature control stage, the heating rate and the basic temperature control time, a basic temperature control strategy for the electric heating device is formed.
3. The method according to claim 2, characterized in that The order of heating the electric heating device is the full power stage, the medium power stage, and the low power stage, wherein the full power stage is used to heat to a first temperature, the medium power stage is used to heat to a second temperature, the first temperature is lower than the second temperature, and the low power stage is used to maintain the second temperature; The performing time planning based on the current temperature, the temperature control stage, and the heating rate to obtain the basic temperature control time of the temperature control stage includes: comparing the current temperature with the first temperature and the second temperature to determine an initial heating stage of the electric heating device; A basic temperature control time of the temperature control stage is obtained by performing calculation based on the initial heating stage, the current temperature, and the heating rate.
4. The method according to claim 3, characterized in that The calculating based on the initial heating stage, the current temperature, and the heating rate to obtain the basic temperature control time of the temperature control stage includes: When the initial heating stage is the full-power stage, calculating the full-power heating time of the electric heating device in the full-power stage by using the current temperature, the first temperature, and the full-power heating rate; Calculating a first medium-power heating time of the electric heating device in the medium-power stage using the first temperature, the second temperature, and the medium-power heating rate; Based on the full-power heating time and the first medium-power heating time, the basic temperature control time of the temperature control stage is formed; when the initial heating stage is the medium-power stage, the second medium-power heating time of the electric heating equipment in the medium-power stage is calculated using the current temperature, the second temperature and the medium-power heating rate, and the basic temperature control time of the temperature control stage is formed based on the second medium-power heating time.
5. The method according to claim 2, characterized in that The temperature influence control amount is to adjust the first target heating temperature to the second target heating temperature; Performing time compensation on the electric heating device based on the temperature-affecting control variable and the basic temperature control strategy to obtain a target compensation time in the temperature control stage includes: calculating a first full-power compensation time of the full-power stage based on the second target heating temperature, the current temperature, and the full-power heating rate; Calculating a medium-power first compensation time in the medium-power stage based on the second target heating temperature, the current temperature, and the medium-power heating rate; A target compensation time in the temperature control stage is formed based on the full-power first compensation time and the medium-power first compensation time.
6. The method according to claim 2, characterized in that The temperature impact control quantity is the duration of heating suspension; Performing time compensation on the electric heating device based on the temperature-affecting control variable and the basic temperature control strategy to obtain a target compensation time in the temperature control stage includes: Calculating the temperature loss of the electric heating device based on the heating suspension duration; Calculating a full-power second compensation time of the full-power stage based on the temperature loss and the full-power heating rate; Calculating a second medium-power compensation time in the medium-power stage based on the temperature loss and the medium-power heating rate; A target compensation time in the temperature control stage is formed based on the full-power second compensation time and the medium-power second compensation time.
7. The method according to any one of claims 1 to 6, characterized in that The temperature control stage includes a full power stage, a medium power stage and a low power stage, the low power stage is used to maintain the temperature, the target compensation time includes a full power compensation time and a medium power compensation time, the basic temperature control time includes a full power basic temperature control time and a medium power basic temperature control time, and the heating rate includes a full power heating rate and a medium power heating rate; The forming of a target temperature control strategy for the electric heating device based on the target compensation time, the basic temperature control time and the heating rate includes: Determining the sum of the full-power compensation time and the full-power basic temperature control time as the full-power target control time of the full-power stage; Determine the sum of the medium power compensation time and the medium power basic temperature control time as the medium power target control time of the medium power stage; Based on the full-power target control time, the medium-power target control time and the heating rate, the target temperature control strategy for the electric heating equipment is determined as follows: in the full-power stage, the temperature of the electric heating equipment is controlled according to the full-power target control time and the full-power heating rate; in the medium-power stage, the electric heating equipment is controlled according to the medium-power target control time and the medium-power heating rate; in the low-power stage, the electric heating equipment is controlled to maintain the temperature.
8. A temperature control system based on time compensation, characterized in that: include: An acquisition module, configured to acquire the current temperature of the electric heating device and a first target heating temperature; a strategy planning module, configured to perform strategy planning based on the current temperature and the first target heating temperature to obtain a basic temperature control strategy for the electric heating device, the basic temperature control strategy including a temperature control stage and a heating rate and a basic temperature control time corresponding to the temperature control stage; a time compensation module, configured to obtain a temperature influence control variable for the electric heating device, and perform time compensation on the electric heating device based on the temperature influence control variable and the basic temperature control strategy to obtain a target compensation time for the temperature control stage; A target strategy determination module, configured to form a target temperature control strategy for the electric heating device based on the target compensation time, the basic temperature control time, and the heating rate; A temperature control module is used to control the temperature of the electric heating device based on the target temperature control strategy.
9. A computing device comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of the temperature control method based on time compensation according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the steps of a temperature control method based on time compensation according to any one of claims 1 to 7.