Temperature control method and device, computer equipment and readable storage medium
By acquiring the temperature difference ratio and heating sequence of the heating units, and using a single power drive module to dynamically control the heating time and power distribution, the problems of hardware complexity and low energy utilization efficiency in existing temperature control methods are solved, achieving high temperature control accuracy and low energy consumption.
Patent Information
- Application Number
- CN202511493613.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-17
- Publication Date
- 2025-12-12
AI Technical Summary
Existing temperature control methods have complex hardware structures, making it difficult to balance temperature control accuracy and energy utilization efficiency. Furthermore, when total power is limited, there is a lack of a unified power coordination mechanism among the various heating units, resulting in uneven temperature response and energy waste.
By acquiring the current temperature and target temperature of each heating unit, the percentage of temperature difference, heating power, and heating sequence are determined. Under the constraint of total power, a single power drive module dynamically controls the heating duration and power distribution of each heating unit, thereby achieving time-sharing differentiated heating control.
While ensuring temperature control accuracy, it effectively reduces overall energy consumption, simplifies hardware structure, improves energy utilization, and avoids the increased complexity and cost caused by multi-channel independent power design.
Smart Images

Figure CN121126587A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment control, and more particularly to a temperature control method, apparatus, and computer equipment. Background Technology
[0002] With the widespread adoption of smart heating pads, electrically heated clothing, seat heating systems, and zoned temperature control equipment, heating devices generally employ a multi-zone distributed structure to meet the temperature regulation needs of different areas. Existing temperature control methods typically involve configuring each heating unit with an independent temperature control circuit or PWM (pulse width modulation) drive module, enabling each zone to control its own temperature independently. While this structure can achieve zoned heating, its hardware configuration is complex and costly, and given the limited total power, it lacks a unified power coordination mechanism between the heating units.
[0003] Specifically, when some areas are colder, higher power is required to maintain the heating rate, thus limiting the heating power of other areas and resulting in uneven overall temperature response. Conversely, when the temperature difference between areas is small, maintaining a fixed power rotation control can easily lead to energy waste. Existing technologies also struggle to balance temperature control accuracy with energy utilization efficiency.
[0004] Therefore, how to improve temperature control accuracy and energy utilization efficiency while simplifying the hardware structure has become a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0005] Therefore, it is necessary to provide a temperature control method, device, computer equipment, and readable storage medium to address the aforementioned technical problems, thereby solving the issues of complex hardware structures and difficulty in balancing temperature control accuracy and energy utilization efficiency in traditional temperature control methods.
[0006] A temperature control method is applied to a heating device, the heating device including multiple heating units and a power drive module, the method comprising: Obtain the current temperature and target temperature of each heating unit; Based on the temperature difference between the current temperature and the target temperature of each heating unit, the percentage of temperature difference, heating power, and heating sequence of each heating unit are determined. Based on the proportion of temperature differences among the heating elements, the heating duration of each heating element in the current heating cycle is determined. Under the total power constraint of the power drive module, based on the heating power and heating duration, the power drive module is controlled to output control signals to each heating unit in sequence according to the heating order within the current heating cycle, so that each heating unit is heated sequentially in different time periods of the current heating cycle.
[0007] Optionally, determining the percentage of temperature difference for each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit includes: Calculate the sum of the temperature differences of all heating elements; Based on the temperature difference of each heating unit and the sum, the percentage of temperature difference of each heating unit is calculated.
[0008] Optionally, determining the heating sequence of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit includes: Obtain the arrangement position of each heating element; The initial heating priority is determined by ranking the temperature differences of each heating unit from largest to smallest. Based on the arrangement positions, the initial heating priority sorting is adjusted to obtain the heating sequence.
[0009] Optionally, determining the heating power of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit includes: Obtain the thermal characteristic parameters of each of the heating units; The initial heating power of each heating unit is determined based on the temperature difference of each heating unit. Based on the thermal characteristic parameters, the corresponding heating time, and the temperature difference, the initial heating power is adjusted to obtain the heating power of each heating unit.
[0010] Optionally, the heating duration of the current heating cycle includes a first heating duration and a second heating duration, and determining the heating duration of each heating unit in the current heating cycle based on the proportion of temperature differences among each heating unit includes: The heating level of each heating unit is determined based on the temperature difference between each heating unit. Based on the heating level, the basic heating period and the adjustable heating period of the current heating cycle are determined, wherein the basic heating period is earlier than the adjustable heating period in time; Based on the proportion of temperature difference between each heating unit and the basic heating period, the first heating duration of each heating unit within the basic heating period is determined. Based on the temperature change of each heating unit during the adjustable heating period, the second heating duration of each heating unit during the adjustable heating period is determined.
[0011] Optionally, the method further includes: If the change in temperature difference of any of the heating units within the first heating time is less than a preset change threshold, then the corresponding heating unit is determined to be in an abnormal state. An alarm is triggered for heating units in an abnormal state, and the heating time of the abnormal heating units is redistributed to the heating units that are not in an abnormal state.
[0012] Optionally, the method further includes: After the current heating cycle ends, the actual change and theoretical change of the temperature difference of each heating unit are statistically analyzed. Based on the actual change and the theoretical change, the heating power of the heating unit is adjusted in the next cycle.
[0013] A temperature control device, the device comprising: The first acquisition module is used to acquire the current temperature and target temperature of each of the heating units; The first determining module is used to determine the temperature difference percentage, heating power, and heating sequence of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit. The second determining module is used to determine the heating duration of each heating unit in the current heating cycle based on the proportion of temperature difference between each heating unit. The first control module is used to control the power drive module to output control signals to each heating unit in the current heating cycle according to the heating order, based on the heating power and heating duration, under the total power constraint of the power drive module, so that each heating unit is heated sequentially in different time periods of the current heating cycle.
[0014] A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the temperature control method described above when executing the computer-readable instructions.
[0015] A readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor, implement the above-described temperature control method.
[0016] The aforementioned temperature control method acquires the current temperature and target temperature of each heating unit; based on the temperature difference between the current temperature and the target temperature of each heating unit, it determines the temperature difference percentage, heating power, and heating sequence of each heating unit; based on the temperature difference percentage of each heating unit, it determines the heating duration of each heating unit in the current heating cycle; under the total power constraint of the power drive module, based on the heating power and heating duration, it controls the power drive module to output control signals to each heating unit sequentially according to the heating sequence within the current heating cycle, so that each heating unit is heated sequentially in different time periods of the current heating cycle. By dynamically determining the temperature difference percentage, heating power, and heating duration based on the temperature difference of each heating unit under a single power drive module, time-sharing differentiated heating control of multiple heating units under total power constraints is achieved, effectively reducing overall energy consumption while ensuring temperature control accuracy. Simultaneously, by sharing the power drive module to achieve multi-zone temperature control, it avoids the increased hardware complexity and cost caused by multi-path independent power design, achieving a comprehensive technical effect of high temperature control accuracy, high energy utilization, and simplified structure. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic flowchart of a temperature control method in one embodiment of the present invention; Figure 2 This is a schematic diagram of the temperature control device in one embodiment of the present invention; Figure 3 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] In one embodiment, such as Figure 1 As shown, a temperature control method is provided, which is applied to a heating device. The heating device includes multiple heating units and a power drive module, and includes the following steps: 101. Obtain the current temperature and target temperature of each heating unit.
[0021] In this embodiment of the invention, the heating device can be a heating device with independent heating capabilities in multiple zones, such as a multi-zone temperature-controlled electric heating pad, a physiotherapy hot compress device, or a smart heated chair. Specifically, the heating device includes multiple heating units, a power drive module, a control module, and a temperature acquisition module.
[0022] Each heating unit can be a flexible heating film, a PTC ceramic heating element, or a resistance wire heating assembly to generate heat in its corresponding area. The power drive module can use a MOSFET or relay control circuit structure to distribute electrical energy to each heating unit under total power constraints. The control module can be a microcontroller unit (MCU) to execute temperature acquisition, power distribution, and control strategies. The temperature acquisition module includes multiple temperature sensors, such as NTC thermistors attached to the surface of each heating unit, to acquire the temperature data of each heating unit in real time. The above temperature control method can be specifically applied to the control module.
[0023] In practical applications, the current temperature of each heating unit can be real-time temperature data collected by the corresponding temperature sensor, for example, sampled at 1-second or 2-second intervals; while the target temperature can be a target heating temperature preset by the user through the human-machine interface, such as setting 38℃ for the back area, 35℃ for the waist area, and 32℃ for the leg area. After obtaining the current temperature and target temperature, the control module can provide the basic data for subsequent temperature difference calculation and energy distribution.
[0024] For example, in a four-zone temperature-controlled heating pad, there are four heating units: A, B, C, and D. The user sets the target temperatures to 40℃, 36℃, 34℃, and 30℃, respectively. Temperature sensors detect the current temperatures as 35℃, 33℃, 31℃, and 29℃, respectively. After acquiring this temperature data, the control module considers the current temperatures of the four heating units (A, B, C, and D) to be lower than their target temperatures, and uses this data as input for subsequent heating control strategies.
[0025] For example, in a multi-zone temperature-controlled heating pad for physiotherapy, the entire heating device consists of five main modules: a multi-zone heat storage and heating unit, a temperature acquisition module, a control module, a power drive module, and a human-computer interaction module.
[0026] The heating unit consists of four independent heat storage heating plates, corresponding to the back, waist, legs, and feet areas respectively. Each heating plate uses a highly thermally conductive flexible material and has an embedded phase change heat storage layer. When heating, it can quickly absorb and store heat, and when the power supply is stopped, it can slowly release heat energy, thereby maintaining a stable temperature during non-heating periods and significantly reducing energy consumption.
[0027] The temperature acquisition module has an NTC temperature sensor mounted at the center of each heating plate, with a detection accuracy of approximately ±0.5℃, which collects temperature data for each area in real time. It also includes an ambient temperature and humidity sensor to assist in adjusting the heating strategy, ensuring accurate temperature control under different environments.
[0028] The control module uses a single-chip microcomputer (MCU) with multiple GPIO pins at its output for outputting PWM control signals. During operation, the MCU calculates the heating power and timing based on the temperature difference between each area and generates PWM control signals to send to the power drive module.
[0029] The power drive module includes a 120W single-channel power output power supply, four MOSFETs, and a current sensor, which are used to control the heating on / off of each zone under total power constraints, while monitoring the power output in real time to prevent over-power operation.
[0030] The human-machine interface module provides users with a user interface that allows setting target temperatures for different areas, such as 40°C for the back, 36°C for the waist, 34°C for the legs, and 30°C for the feet, while displaying real-time temperature changes and power status. Upon startup, the control module automatically adjusts the duty cycle and timing of the PWM signal based on the collected temperature data, ensuring that each heat-generating area receives appropriate power distribution at different times. This achieves balanced overall temperature control, responsive operation, and energy efficiency.
[0031] 102. Based on the temperature difference between the current temperature and the target temperature of each heating unit, determine the temperature difference percentage, heating power, and heating sequence of each heating unit.
[0032] In this embodiment of the invention, the temperature difference can be understood as the difference between the current temperature and the target temperature of each heating unit, i.e., ΔTi = Ti0 - Ti, where Ti0 represents the target temperature of the i-th heating unit, and Ti represents the current temperature of that heating unit. The temperature difference reflects the degree of deviation of the heating unit from the target temperature and is the core basis for judging heating demand and allocating power.
[0033] The temperature difference ratio refers to the proportion of the temperature difference of each heating unit in the total temperature difference of all heating units. It describes the relative weight of the heating demand of each heating unit in the overall picture. For example, when the temperature differences of all heating units are ΔTA, ΔTB, ΔTC, and ΔTD, the temperature difference ratio of area A can be expressed as ΔTA / (ΔTA+ΔTB+ΔTC+ΔTD). The control module can determine the heating time and power distribution ratio of different areas based on this ratio, making the heating process more precise and balanced.
[0034] The heating power is the output power calculated by the control module based on the temperature difference and the thermal characteristic parameters of the heating unit (including thermal conductivity, heat capacity, and heat dissipation resistance). It is used to indicate the amount of electrical energy that the heating unit should allocate in the current cycle. When the temperature difference is large, the heating power increases accordingly to achieve rapid heat replenishment; when the temperature difference is small or close to the target temperature, the heating power automatically decreases to maintain a constant temperature and save energy.
[0035] The heating sequence refers to the order in which the heating units are heated, as determined by the control module within the current heating cycle. Typically, the control module prioritizes heating units with larger temperature differences, ensuring that areas with larger temperature differences receive energy compensation first. Other areas are then heated sequentially to achieve rapid overall temperature equalization. When temperature differences are the same, the heating sequence can be determined based on area priority or human contact sensitivity (e.g., the back is higher than the legs).
[0036] 103. Based on the proportion of temperature difference between each heating unit, determine the heating duration of each heating unit in the current heating cycle.
[0037] In this embodiment of the invention, after calculating the proportion of temperature difference between each heating element, the heating duration of each heating element in the current heating cycle is further determined based on this proportion. The heating duration is used to represent the duration of power supply that each heating element should receive in a complete heating cycle, so as to reflect the distribution ratio of its heating energy.
[0038] Specifically, the control module first obtains the total duration of the current heating cycle, which can be preset according to the equipment type and thermal inertia characteristics, such as 30 seconds or 40 seconds. Then, based on the proportion of temperature difference between each heating unit, the control module allocates the total duration proportionally to each heating unit, thereby determining the heating duration of each heating unit within that cycle. A larger proportion of temperature difference indicates a greater deviation of the heating unit's temperature from the target value, resulting in a relatively longer heating duration; a smaller proportion of temperature difference results in a shorter allocated heating duration to avoid overheating.
[0039] In practical applications, to adapt to environmental changes and the heat storage characteristics of the heating units, the control module can reserve a portion of the total duration as an adjustable time. This time is used to fine-tune the process based on the real-time temperature changes of each heating unit during cycle execution, ensuring that the overall temperature tends to be uniform. By using a time control strategy that allocates time according to the proportion of temperature difference, it is possible to achieve optimal energy utilization efficiency and dynamic balance of temperature regulation while ensuring that the total power remains constant.
[0040] 104. Under the total power constraint of the power drive module, based on the heating power and heating time, the power drive module is controlled to output control signals to each heating unit in sequence according to the heating order within the current heating cycle, so that each heating unit is heated sequentially in different time periods of the current heating cycle.
[0041] In this embodiment of the invention, after determining the heating power, heating duration, and heating sequence of each heating unit, the control module executes heating control based on the total power constraint of the power drive module. The total output power of the power drive module is a fixed value, such as 120W, to ensure the overall safety and energy balance of the heating device. Under the condition of constant total power, the control module generates corresponding control signals according to the determined heating sequence and outputs them to the power drive module.
[0042] The control signal can be set based on the heating power and heating duration. The control module first determines the corresponding output parameters (e.g., PWM duty cycle / current limiting / voltage level) based on the heating power, then determines the effective time window of these output parameters (e.g., power-on duration / pulse group length / conduction gate interval) based on the heating duration, and within the time window, drives the power drive module to output to the target heating unit according to the output parameters. For example, when the heating power of a heating unit in this cycle is "medium-high" and the heating duration is 10.9s, the control module can fix the PWM frequency to 20kHz, set the duty cycle to 80%, and maintain this duty cycle output within the 10.9s time window. If the temperature difference is detected to drop below the low threshold during the window, the duty cycle is immediately reduced to 30% until the window ends, or the window is ended early and the module switches to the next heating unit.
[0043] Upon receiving a control signal, the power drive module controls the on / off state of each heating unit via internal switching transistors (such as MOSFETs), ensuring that each heating unit heats sequentially within a predetermined order during the current heating cycle. At any given time, only one heating unit is in the on state, and its heating power is set by the corresponding heating power parameters, thus ensuring that the total power remains stable within a defined range. After each heating unit completes its heating time, the control module immediately switches to the next heating unit for heating, thereby completing a full heating cycle.
[0044] The control process is illustrated using a set of four-zone heating examples: The user sets the target temperature to TA0=38℃, TB0=32℃, TC0=35℃, and TD0=28℃. The initial temperature collected in real time is TA=34℃, TB=29℃, TC=32℃, and TD=27℃. The corresponding temperature differences are ΔTA=4℃ (Level 1), ΔTB=3℃ (Level 2), ΔTC=3℃ (Level 2), and ΔTD=1℃ (Level 3).
[0045] During the current 40-second heating cycle, the control module first puts the highest priority area A into heating, outputting the PWM signal for area A during the 0-14.5s phase, with an initial duty cycle of 100% for rapid heat replenishment; when the operation reaches the 12th second, the temperature of area A rises to 37℃ (at this time, ΔTA drops to 1℃, entering level three), the control module immediately reduces the duty cycle of area A to 30%, and continues heating for the remaining 2.5s to suppress the drop, and the temperature of area A stabilizes at 37.2℃.
[0046] Then switch to zone B and heat for 10.9 seconds at 80% duty cycle during the 14.5~25.4s phase; during this period, TB rises from 29℃ to 31.5℃ (ΔTB=0.5℃, down to level three), without needing to terminate early, and this cycle accumulates 2.5s of dynamic adjustment time that can be used for subsequent allocation.
[0047] Then switch to zone C, and heat for 10.9s with 80% duty cycle during the 25.4~36.3s period; TC rises from 32℃ to 34.6℃ (ΔTC=0.4℃, down to level three), still without occupying the dynamic time, and the cumulative adjustable time remains at 2.5s.
[0048] Finally, switch to zone D and perform heat preservation heating for 3.7s with a 30% duty cycle during the 36.3~40s phase. Since there is still a 2.5s dynamic adjustment time at the end of the cycle, the control module uses this time to supplement zone A, and reheats it for 2.5s with a 30% duty cycle when TA=37℃, so that TA rises and stabilizes at 37.3℃.
[0049] By employing a time-sharing, sequential heating control method, dynamic temperature balance is achieved across multiple zones while maintaining a constant total power. During non-heating periods, the heating units rely on their heat storage characteristics to maintain temperature, thus avoiding power spikes and energy waste caused by simultaneous power supply. This control strategy not only reduces overall energy consumption and heat load but also makes temperature control more stable. Users will not experience significant temperature fluctuations between different heating zones, resulting in a more comfortable and stable overall user experience.
[0050] In this embodiment of the invention, the current temperature and target temperature of each heating unit are obtained; based on the temperature difference between the current temperature and the target temperature of each heating unit, the temperature difference percentage, heating power, and heating sequence of each heating unit are determined; based on the temperature difference percentage of each heating unit, the heating duration of each heating unit in the current heating cycle is determined; under the total power constraint of the power drive module, based on the heating power and heating duration, the power drive module is controlled to output control signals to each heating unit sequentially according to the heating sequence within the current heating cycle, so that each heating unit is heated sequentially in different time periods of the current heating cycle. By dynamically determining the temperature difference percentage, heating power, and heating duration based on the temperature difference of each heating unit under a single power drive module, time-sharing differentiated heating control of multiple heating units under the condition of limited total power is realized, effectively reducing overall energy consumption while ensuring temperature control accuracy. At the same time, multi-zone temperature control is realized by sharing the power drive module, avoiding the hardware complexity and cost increase brought about by multi-path independent power design, and achieving a comprehensive technical effect of high temperature control accuracy, high energy utilization, and simplified structure.
[0051] It is understood that in the specific embodiments of this application, data related to current temperature, target temperature, arrangement position, thermal characteristic parameters, etc. are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0052] Optionally, in the step of determining the proportion of temperature difference for each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit, the sum of the temperature differences of all heating units can also be calculated; based on the temperature difference of each heating unit and the sum, the proportion of temperature difference for each heating unit can be calculated.
[0053] In this embodiment of the invention, the above calculation can be understood as normalizing the temperature difference between each heating unit. The control module first obtains the temperature difference ΔTi of each heating unit, and then calculates the sum of all temperature differences.
[0054] When the sum is greater than zero, the temperature difference of each heating unit is divided by the sum to obtain its temperature difference ratio ri = ΔTi / ΣΔT. To avoid unnecessary allocation caused by measurement noise or individual areas reaching the target temperature, the control module can also perform lower limit clipping and noise reduction processing on the temperature difference before summing. For example, ΔTi less than zero is treated as zero, and ΔTi with an absolute value lower than a preset threshold is regarded as zero value.
[0055] When all ΔTi are zero (i.e., all zones have met the target temperature), the percentage calculation is paused and the heat preservation strategy is entered.
[0056] When necessary, the control module can also perform an exponential smoothing or moving average on the proportion sequence to reduce the impact of single sampling fluctuations on the time allocation. For example, if the temperature differences of the four heating units are 4℃, 3℃, 2℃ and 1℃ respectively, the sum is 10℃, and the corresponding temperature difference proportions are 0.40, 0.30, 0.20 and 0.10 respectively; if the temperature difference of a certain area is lower than the threshold (e.g. 0.2℃), its proportion is treated as 0, and it is renormalized according to the remaining non-zero proportions, so that the heating resources are concentrated on the areas that need more compensation.
[0057] Optionally, in the step of determining the heating sequence of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit, the arrangement position of each heating unit can also be obtained; the initial heating priority sorting can be determined according to the order of the temperature difference between each heating unit from large to small; and the initial heating priority sorting can be adjusted based on the arrangement position to obtain the heating sequence.
[0058] In this embodiment of the invention, the arrangement position can refer to the physical distribution order of each heating unit in the overall structure of the heating device, such as from top to bottom, from inside to outside, or relative coordinate positions along the plane of the device. This arrangement position can be defined according to different application scenarios. For example, in a multi-zone heated seat cushion, the arrangement position can be arranged in order from the core area of the human body to the edge area; in a multi-layer heated pad, the arrangement position can be divided into upper and lower layers; in a ring or matrix heating device, the arrangement position can also be represented by polar coordinates or area numbering.
[0059] The control module can obtain the arrangement information of each heating unit through the configuration file or hardware address mapping table during the initialization phase, and make priority corrections based on the temperature difference when determining the heating order.
[0060] For example, in a four-zone layout, zone A corresponds to the back, zone B to the waist, zone C to the legs, and zone D to the feet. If at any given moment ΔTA = ΔTB and their temperature differences are the same, then zone A is prioritized over zone B according to the rule of "prioritizing zones closer to the human core." If ΔTC = ΔTD and their temperature differences are also the same, then zone C can be placed before zone D. By defining the arrangement position as a secondary sorting criterion related to human comfort—"power requirement for core proximity"—a stable, consistent heating sequence that meets the body's comfort expectations can be obtained when the primary sorting key (temperature difference) is balanced.
[0061] Optionally, in the step of determining the heating power of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit, the thermal characteristic parameters of each heating unit can also be obtained; the initial heating power of each heating unit can be determined based on the temperature difference of each heating unit; and the initial heating power can be adjusted based on the thermal characteristic parameters, the corresponding heating time, and the temperature difference to obtain the heating power of each heating unit.
[0062] In this embodiment of the invention, the thermal characteristic parameters of each heating unit may include its specific heat capacity, mass, thermal conductivity, and heat dissipation conditions, which are used to describe the energy absorption and dissipation characteristics of the heating unit during the heating process. When calculating the heating power of each heating unit, the control module first determines an initial heating power level based on the temperature difference. For example, when the temperature difference is large, a higher power is allocated for rapid heating; when the temperature difference is small, a lower power is allocated for temperature maintenance.
[0063] For example, when ΔT>3℃, the heating unit is set to fast compensation mode, the PWM duty cycle is set to 100%, corresponding to a single-channel output with a total power of 120W; When 1℃ < ΔT ≤ 3℃, the duty cycle can be set in the range of 60% to 80% (corresponding to a power of 72 to 96W) for stable heating. When ΔT≤1℃, the duty cycle is set in the range of 20%~40% (corresponding to power of 24~48W) to maintain the temperature and reduce energy consumption.
[0064] Subsequently, the control module adjusts the initial heating power based on the thermal characteristic parameters of each heating unit and the planned heating duration to avoid overheating or insufficient temperature rise. For example, the heating power can be appropriately increased for heating units with high specific heat capacity or fast heat dissipation, while the power output can be appropriately reduced for heating units with slow heat dissipation or good heat storage performance.
[0065] Specifically, the power requirement can be calculated based on the above thermal characteristic parameters. The following calculation method can be used as a reference:
[0066] Where C represents the specific heat capacity coefficient of the heating element, which is used to characterize the energy required for the material of the element to absorb a unit of heat; m represents the effective thermal mass of the heating element, that is, the mass that can participate in heat exchange per unit time. R represents the temperature difference of the i-th heating element, i.e., the difference between the target temperature and the current temperature; R represents the equivalent thermal resistance coefficient, which is used to characterize the heat dissipation capacity of the heating element and its mounting structure. This indicates the heating duration allocated to this heating unit in the current heating cycle.
[0067] This formula allows the control module to comprehensively consider factors such as the heat absorption capacity, heat dissipation rate, and heating time of the heating unit, resulting in a power demand value that better reflects the actual thermal response characteristics. When the calculated power demand exceeds the initial heating power, the power setting for that area can be increased, for example, by 5% to 10%, to compensate for insufficient heat. Conversely, when the power demand is lower than the current setting, the output power can be reduced accordingly to avoid energy waste and localized overheating.
[0068] Optionally, the heating duration of the current heating cycle includes a first heating duration and a second heating duration. In the step of determining the heating duration of each heating unit in the current heating cycle based on the proportion of temperature differences of each heating unit, the heating level of each heating unit can also be determined based on the temperature difference of each heating unit; based on the heating level, the basic heating period and the adjustable heating period of the current heating cycle can be determined, with the basic heating period being earlier than the adjustable heating period; based on the proportion of temperature differences of each heating unit and the basic heating period, the first heating duration of each heating unit within the basic heating period can be determined; and based on the temperature changes of each heating unit within the adjustable heating period, the second heating duration of each heating unit within the adjustable heating period can be determined.
[0069] In this embodiment of the invention, the current heating cycle can be divided into a basic heating period executed first and an adjustable heating period executed subsequently. The heating durations corresponding to the two periods are defined as a first heating duration and a second heating duration, respectively. That is, during the basic heating period, the heating duration required by the heating unit is the first heating duration, and during the adjustable heating period, the heating duration required by the heating unit is the second heating duration.
[0070] The control module first determines the heating level of each heating unit based on the temperature difference to reflect the heating intensity requirements under different temperature difference conditions. Then, based on this, it determines the timing relationship between the basic heating period and the adjustable heating period within a single cycle. The basic heating period precedes the adjustable heating period in time and is used to complete the main energy input of this cycle as planned, while the adjustable heating period is used to compensate for and fine-tune the temperature changes after the basic heating.
[0071] During the basic heating period, the control module calculates the first heating time of each heating unit based on the proportion of temperature difference of each heating unit and the total duration of the basic heating period, so as to ensure that different heating units receive proportional power-on time according to their relative needs. During the adjustable heating period, the control module observes the temperature changes of each heating unit after the basic heating is completed in real time, such as the rate of temperature drop and the remaining temperature difference. Based on this, it dynamically determines the second heating duration and prioritizes it for heating units with faster temperature drops or larger remaining temperature differences, thereby suppressing short-term temperature drops and improving temperature control stability.
[0072] For example, the first heating time mentioned above can be calculated using the following formula:
[0073] in, This is represented as the first heating time. This is expressed as the total temperature difference between the four heating units A, B, C, and D. This represents the total duration of the basic heating period.
[0074] Specifically, when ΔT>3℃, the heating level is Level 1; when 1℃<ΔT≤3℃, the heating level is Level 2; and when ΔT≤1℃, the heating level is Level 3.
[0075] If there is a Level 1 heating level among all heating units, the basic heating period can be set to 40 seconds, and the adjustable heating period is 0 seconds.
[0076] If there is no Level 1 heating level among all heating units, but there is Level 2, the basic heating period can be set to 35 seconds, and the adjustable heating period can be set to 5 seconds.
[0077] If there are no Level 1 and Level 2 heating levels among all heating units, but there is Level 3, the basic heating period can be set to 30 seconds, and the adjustable heating period can be set to 10 seconds.
[0078] In summary, since the heating cycle duration is fixed at 40 seconds, the adjustable heating period duration can be obtained by subtracting the basic heating period duration from the 40-second heating cycle duration. The duration of the basic heating period is set by the heating level.
[0079] By using the above-mentioned control method that adaptively divides time periods according to temperature difference levels and combines it with proportional allocation, the needs for rapid heating and stable heat preservation can be dynamically balanced under power-limited conditions, thereby improving both heating efficiency and temperature control accuracy.
[0080] Optionally, the method may further determine that if the change in temperature difference of any heating unit within the first heating time is less than a preset change threshold, the corresponding heating unit is in an abnormal state; an alarm is triggered for the heating unit in the abnormal state, and the heating time of the heating unit in the abnormal state is redistributed to the heating units that are not in the abnormal state.
[0081] In this embodiment of the invention, the control module can monitor the temperature changes of each heating unit in real time during the heating control process to determine whether its operation is normal. Specifically, when the temperature difference change of any heating unit within the first heating time is lower than a preset change threshold, the heating effect of that heating unit is considered abnormal. At this time, the control module will determine that the heating unit is in an abnormal state and trigger the corresponding abnormal handling process.
[0082] For example, if the temperature acquisition module detects a temperature difference change ΔT of less than 0.1℃ in a certain area after 5 seconds of continuous heating, or if the corresponding NTC temperature sensor does not return valid data, it can be determined that the zone may have problems such as temperature control failure, damaged heating element, or sensor malfunction. In this case, the zone can be immediately marked as "abnormally paused," its subsequent heating process can be stopped, and the alarm module can be triggered to output a prompt signal so that users or maintenance personnel can handle the situation promptly.
[0083] Meanwhile, the control module can reallocate the heating time and power share released by the abnormal unit based on the proportion of temperature difference of the remaining heating units and the power demand. For example, when area A is determined to be abnormally suspended, its originally allocated power share can be reallocated to areas B, C, and D according to the proportion of temperature difference, so as to maximize the power utilization of the overall heating cycle and avoid the overall heating performance from being reduced due to a single area failure.
[0084] Through dynamic detection and anomaly allocation mechanisms, the overall heating stability and temperature control accuracy of the heating device can be maintained even when individual heating units malfunction, thus enhancing the device's fault tolerance and safety reliability.
[0085] Optionally, the method can also, after the current heating cycle ends, statistically analyze the actual and theoretical changes in the temperature difference of each heating unit; and adjust the heating power of the heating unit in the next cycle based on the actual and theoretical changes.
[0086] In this embodiment of the invention, to enhance adaptability under different environments, the control module can perform closed-loop calibration of the temperature control effect of each heating unit after each heating cycle. Specifically, the actual change and theoretical change of the temperature difference of each heating unit in the current cycle can be calculated, and the comparison between the two can be used to evaluate whether the heating control has achieved the expected effect.
[0087] The theoretical change is calculated based on parameters such as the target temperature difference, heating power, and cycle duration for that cycle, reflecting the temperature change that should be achieved under ideal heating conditions. The actual change, on the other hand, is calculated by the temperature acquisition module based on the real-time temperature difference at the beginning and end of the cycle, reflecting the actual temperature rise. If the actual change is significantly less than the theoretical change, it indicates the presence of influencing factors such as increased environmental heat dissipation, lower external temperature, or insufficient heat storage efficiency during that cycle.
[0088] For example, in winter when the ambient temperature is low, the theoretical ΔT change in area A during this cycle is 4℃→0.5℃, while the actual test result is 4℃→0.7℃, indicating that its actual heating effect is slightly lower than expected. To address this, the insulation duty cycle of this zone can be increased in the next heating cycle, for example, from 30% to 35%, to compensate for heat loss and restore temperature control accuracy.
[0089] Through the aforementioned closed-loop calibration mechanism, heating parameters can be dynamically corrected based on the historical operating performance of each zone, thereby achieving adaptive adjustment to environmental changes, continuously maintaining temperature stability and energy consumption balance in each zone, and further improving the accuracy and reliability of overall temperature control.
[0090] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0091] In one embodiment, a temperature control device is provided, which corresponds one-to-one with the temperature control methods described in the above embodiments. For example... Figure 2 As shown, the temperature control device includes a first acquisition module 201, a first determination module 202, a second determination module 203, and a first control module 204. Detailed descriptions of each functional module are as follows: The first acquisition module 201 is used to acquire the current temperature and target temperature of each of the heating units; The first determining module 202 is used to determine the temperature difference ratio, heating power and heating sequence of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit. The second determining module 203 is used to determine the heating duration of each heating unit in the current heating cycle based on the proportion of temperature difference between each heating unit. The first control module 204 is used to control the power drive module to output control signals to each heating unit in the current heating cycle according to the heating order, based on the heating power and heating duration, under the total power constraint of the power drive module, so that each heating unit is heated sequentially in different time periods of the current heating cycle.
[0092] Optionally, the first determining module 202 is further configured to: Calculate the sum of the temperature differences of all heating elements; Based on the temperature difference of each heating unit and the sum, the percentage of temperature difference of each heating unit is calculated.
[0093] Optionally, the first determining module 202 is further configured to: Obtain the arrangement position of each heating element; The initial heating priority is determined by ranking the temperature differences of each heating unit from largest to smallest. Based on the arrangement positions, the initial heating priority sorting is adjusted to obtain the heating sequence.
[0094] Optionally, the first determining module 202 is further configured to: Obtain the thermal characteristic parameters of each of the heating units; The initial heating power of each heating unit is determined based on the temperature difference of each heating unit. Based on the thermal characteristic parameters, the corresponding heating time, and the temperature difference, the initial heating power is adjusted to obtain the heating power of each heating unit.
[0095] Optionally, the heating duration of the current heating cycle includes a first heating duration and a second heating duration, and the second determining module 203 is further configured to: The heating level of each heating unit is determined based on the temperature difference between each heating unit. Based on the heating level, the basic heating period and the adjustable heating period of the current heating cycle are determined, wherein the basic heating period is earlier than the adjustable heating period in time; Based on the proportion of temperature difference between each heating unit and the basic heating period, the first heating duration of each heating unit within the basic heating period is determined. Based on the temperature change of each heating unit during the adjustable heating period, the second heating duration of each heating unit during the adjustable heating period is determined.
[0096] Optionally, the device further includes: The determination module is used to determine that the corresponding heating unit is in an abnormal state if the change in the temperature difference of any of the heating units within the first heating time is less than a preset change threshold. The alarm module is used to trigger an alarm for heating units in an abnormal state and to redistribute the heating time of the heating units in an abnormal state to the heating units that are not in an abnormal state.
[0097] Optionally, the device further includes: The statistics module is used to calculate the actual and theoretical changes in the temperature difference of each heating unit after the current heating cycle ends. An adjustment module is used to adjust the heating power of the heating unit in the next cycle based on the actual change and the theoretical change.
[0098] Specific limitations regarding the temperature control device can be found in the limitations of the temperature control method described above, and will not be repeated here. Each module in the aforementioned temperature control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware within or independently of the processor in a computer device, or stored in software within the memory of a computer device, so that the processor can call and execute the corresponding operations of each module.
[0099] In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as follows: Figure 3 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a readable storage medium storing computer-readable instructions. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer-readable instructions implement a temperature control method. The readable storage medium provided in this embodiment includes both non-volatile and volatile readable storage media.
[0100] In this application embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, it implements the steps of the temperature control method described above.
[0101] In one embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, they implement the steps of the temperature control method described above.
[0102] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0103] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0104] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A temperature control method, characterized in that, The method is applied to a heating device, the heating device comprising multiple heating units and a power drive module, the method comprising: Obtain the current temperature and target temperature of each heating unit; Based on the temperature difference between the current temperature and the target temperature of each heating unit, the percentage of temperature difference, heating power, and heating sequence of each heating unit are determined. Based on the proportion of temperature differences among the heating elements, the heating duration of each heating element in the current heating cycle is determined. Under the total power constraint of the power drive module, based on the heating power and heating duration, the power drive module is controlled to output control signals to each heating unit in sequence according to the heating order within the current heating cycle, so that each heating unit is heated sequentially in different time periods of the current heating cycle.
2. The temperature control method as described in claim 1, characterized in that, The step of determining the percentage of temperature difference for each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit includes: Calculate the sum of the temperature differences of all heating elements; Based on the temperature difference of each heating unit and the sum, the percentage of temperature difference of each heating unit is calculated.
3. The temperature control method as described in claim 1, characterized in that, Determining the heating sequence of each heating unit based on the temperature difference between its current temperature and the target temperature includes: Obtain the arrangement position of each heating element; The initial heating priority is determined by ranking the temperature difference of each heating unit from largest to smallest. Based on the arrangement positions, the initial heating priority sorting is adjusted to obtain the heating sequence.
4. The temperature control method as described in claim 1, characterized in that, The step of determining the heating power of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit includes: Obtain the thermal characteristic parameters of each of the heating units; The initial heating power of each heating unit is determined based on the temperature difference of each heating unit. Based on the thermal characteristic parameters, the corresponding heating time, and the temperature difference, the initial heating power is adjusted to obtain the heating power of each heating unit.
5. The temperature control method as described in claim 1, characterized in that, The heating duration of the current heating cycle includes a first heating duration and a second heating duration. Determining the heating duration of each heating unit in the current heating cycle based on the proportion of temperature differences among the heating units includes: The heating level of each heating unit is determined based on the temperature difference between each heating unit. Based on the heating level, the basic heating period and the adjustable heating period of the current heating cycle are determined, wherein the basic heating period is earlier than the adjustable heating period in time; Based on the proportion of temperature difference between each heating unit and the basic heating period, the first heating duration of each heating unit within the basic heating period is determined. Based on the temperature change of each heating unit during the adjustable heating period, the second heating duration of each heating unit during the adjustable heating period is determined.
6. The temperature control method as described in claim 5, characterized in that, The method further includes: If the change in temperature difference of any of the heating units within the first heating time is less than a preset change threshold, then the corresponding heating unit is determined to be in an abnormal state. An alarm is triggered for heating units in an abnormal state, and the heating time of the abnormal heating units is redistributed to the heating units that are not in an abnormal state.
7. The temperature control method as described in claim 1, characterized in that, The method further includes: After the current heating cycle ends, the actual change and theoretical change of the temperature difference of each heating unit are statistically analyzed. Based on the actual change and the theoretical change, the heating power of the heating unit is adjusted in the next cycle.
8. A temperature control device, characterized in that, The device includes: The first acquisition module is used to acquire the current temperature and target temperature of each of the heating units; The first determining module is used to determine the temperature difference percentage, heating power, and heating sequence of each heating unit based on the temperature difference between the current temperature and the target temperature of each heating unit. The second determining module is used to determine the heating duration of each heating unit in the current heating cycle based on the proportion of temperature difference between each heating unit. The first control module is used to control the power drive module to output control signals to each heating unit in the current heating cycle according to the heating order, based on the heating power and heating duration, under the total power constraint of the power drive module, so that each heating unit is heated sequentially in different time periods of the current heating cycle.
9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and running on the processor, characterized in that, When the processor executes the computer-readable instructions, it implements the temperature control method as described in any one of claims 1 to 7.
10. A readable storage medium having computer-readable instructions stored thereon, characterized in that, When the computer-readable instructions are executed by the processor, they implement the temperature control method as described in any one of claims 1 to 7.