A temperature self-adaptive regulating method and system for a warmer

By combining real-time monitoring with an improved PID algorithm, the heater's temperature adaptive adjustment is achieved, solving the energy waste and temperature fluctuation problems of traditional heaters and improving the heater's energy saving and comfort.

CN118089105BActive Publication Date: 2025-10-10ZHEJIANG GELAN ELECTRIC CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410380551.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-30
Publication Date
2025-10-10
Estimated Expiration
2044-03-30

AI Technical Summary

Technical Problem

Traditional heaters lack intelligent adjustment functions in temperature control, resulting in energy waste and fluctuations in heating temperature, and cannot meet the needs of indoor constant temperature, comfort and energy saving.

Method used

By real-time monitoring of indoor temperature, adopting a temperature adaptive adjustment method, using the DHT11 digital temperature and humidity sensor and the STM32F103C8T6 microcontroller, combined with an improved PID algorithm and a wireless communication module, the power output of the heater is automatically adjusted to achieve precise temperature control.

Benefits of technology

It achieves precise temperature control of the heater, reduces energy consumption, and improves the comfort and energy-saving effect of the indoor environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118089105B_ABST
    Figure CN118089105B_ABST
Patent Text Reader

Abstract

A temperature self-adaptive adjusting method and system for a warmer, the adjusting method comprising the following steps: step 1, user intervention and regulation; step 2, environment temperature monitoring; step 3, temperature data feedback; step 4, comparing real-time temperature with target temperature; step 5, adjusting the working state of the warmer; the adjusting system comprising a user intervention and regulation module, an environment temperature monitoring module, a wireless communication module, a control module, a comparison module, a temperature self-adaptive adjusting module, the input end of the wireless communication module being connected with the output end of the environment temperature monitoring module, the output end being connected with the input end of the control module, the input end of the working module being connected with the output end of the control module, the output end of the user intervention and regulation module being connected with the input end of the control module, and the output end of the comparison module being connected with the input end of the temperature self-adaptive module; the application can intelligently adjust the power of the warmer and reduce energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature control, and more particularly to a method and system for adaptively adjusting the temperature of a heater. Background Art

[0002] With the accelerating pace of modern life and people's pursuit of a higher quality of life, indoor comfort has become a key criterion for measuring quality of life. Heating equipment has become an indispensable part of family life, especially in winter. However, traditional heaters often have limitations in temperature control and cannot meet people's demands for a constant indoor temperature, comfort, and energy efficiency.

[0003] Traditional heaters have significant energy consumption issues. Due to their lack of intelligent regulation, they are unable to adjust their operating power in real time based on indoor temperature, often leading to excessive energy consumption. Even after the room temperature has reached the set value, the heater may continue to operate at high power, resulting in unnecessary energy waste. This not only increases the financial burden on users but also runs counter to the modern philosophy of energy conservation and emission reduction.

[0004] Secondly, traditional heaters lack precision in temperature control. Due to their simple and crude adjustment methods, they cannot accurately respond to changes in indoor temperature, resulting in large fluctuations in heating temperature. This not only affects indoor comfort but can also reduce heating effectiveness due to overheating or underheating. Summary of the Invention

[0005] In response to the shortcomings of the above-mentioned technology, the present invention discloses a temperature adaptive adjustment method and system for a heater. By monitoring the indoor temperature in real time and intelligently adjusting the power of the heater according to the set target temperature, precise control of the indoor temperature is achieved and energy consumption is reduced.

[0006] In order to realize the above technical solutions, this study adopts the following technical solutions:

[0007] A method for adaptively adjusting the temperature of a heater, comprising the following steps:

[0008] Step 1: User intervention and regulation;

[0009] In this step, the user can check the indoor temperature and the working status of the heater at any time through the control panel or remote control, and adjust the target temperature of the heater or switch the working mode of the heater;

[0010] Step 2: Ambient temperature monitoring;

[0011] In this step, the ambient temperature is monitored in real time through the built-in temperature sensor of the heater;

[0012] Step 3, temperature data feedback;

[0013] In this step, the temperature data information monitored by the temperature sensor in real time is sent to the control module through the wireless communication module; the controller in the control module sends the real-time temperature, target temperature and warmer working state information to the control panel and remote controller through the wireless communication module; the wireless communication module includes a radio frequency transceiver, an antenna, a data processing unit, a communication protocol, a power management unit, encryption and security, a configuration and debugging interface;

[0014] Step 4, compare real-time temperature with target temperature;

[0015] In this step, the control module compares the real-time temperature with the preset target temperature through the comparison module; the comparison module includes a temperature sensor interface, a target temperature setting interface, a difference calculator, and an error signal output interface;

[0016] Step 5, adjust the working state of the warmer;

[0017] In this step, when the real-time temperature is lower than the target temperature, the control module sends a signal to the working module of the warmer to start the heating function, and according to the difference between the real-time temperature and the target temperature, the control module automatically adjusts the power output of the warmer through the temperature adaptive adjustment module, that is, when the temperature difference is greater than 2 degrees Celsius, the control module instructs the warmer to heat at high power, and when the temperature difference is less than or equal to 2 degrees Celsius, the control module instructs the warmer to heat at low power or maintain constant temperature; when the real-time temperature reaches or exceeds the target temperature, the control module instructs the warmer to stop heating or maintain constant temperature at a lower power; the temperature adaptive adjustment module includes a control algorithm, a parameter adjuster, a saturation limiter and an output mapper, and the control algorithm is an improved PID algorithm.

[0018] As a further technical solution of the present application, in step 1, the working mode of the warmer is divided into high power mode, low power mode and normal power mode; when the user sets the working mode of the warmer to high power mode, the temperature adaptive adjustment module no longer works, and the warmer will continue to operate at high power mode; when the user sets the working mode of the warmer to low power mode, the temperature adaptive adjustment module no longer works, and the warmer will continue to operate at low power mode; when the user sets the working mode of the warmer to normal power mode, the temperature adaptive adjustment module starts to work, and the control module automatically adjusts the power output of the warmer through the temperature adaptive adjustment module;

[0019] As a further technical solution of the present application, according to the temperature adaptive adjustment method for the warmer of claim 1, in step 2, the temperature sensor is a DHT11 digital temperature and humidity sensor, which can measure the ambient temperature in real time and convert the data into digital signal output.

[0020] As a further technical solution of the present invention, in step 3, the controller in the control module is an STM32F103C8T6 microcontroller;

[0021] As a further technical solution of the present invention, in step 4, the formula of the difference calculator is:

[0022] ΔT=T1-T2 (1)

[0023] In formula (1), ΔT represents the temperature difference that needs to be adjusted, T1 represents the desired temperature set by the user, and T2 represents the current ambient temperature obtained in real time by the temperature sensor. The temperature difference that needs to be adjusted is calculated by formula (1), and then the comparison module transmits the temperature difference to the temperature adaptive adjustment module through the error signal output interface.

[0024] As a further technical solution of the present invention, in step 5, the formula of the improved PID algorithm is:

[0025]

[0026] In formula (2), u(t) represents the output of the controller, that is, the output power that the heater needs to adjust; e(t) represents the error, that is, the difference between the target temperature and the real-time temperature; p represents the proportional coefficient, which determines the degree of immediate response of the heater to the error between the real-time temperature and the target temperature; i represents the integral coefficient, which is used to eliminate the steady-state error; d represents the differential coefficient, which adjusts the control output according to the rate of change of the error; β represents the switching function of the integral term, which is used to control whether the integral term is effective. When the heater approaches the target temperature, in order to avoid over-adjustment caused by the integral term, the integral term is turned off by setting β to 0; the output value of the controller is obtained by formula (2), and thus the output power that the heater should be adjusted to is obtained.

[0027] As a further technical solution of the present invention, in step 5, the output mapper maps the PID output to the allowable range of the heater instruction through linear transformation. The formula of the linear transformation is:

[0028]

[0029] In formula (3), u represents the mapped control instruction, u max Indicates the maximum value of the heater instruction, u min Indicates the minimum value of the heater instruction, u maxPID Indicates the maximum value of the PID controller output, u minPIDRepresents the minimum value of the PID controller output, u(t) represents the control instruction at the current moment, and the PID output within the allowable range of the heater instruction is obtained by formula (3); the PWM signal duty cycle calculation formula is:

[0030]

[0031] In formula (4), v represents the mapped control instruction calculated by formula (3), v min and v max They represent the minimum and maximum values ​​of the mapped control instructions calculated by formula (3), and the mapped control instructions are converted into the duty cycle of the PWM signal by formula (4), thereby controlling the power of the heater.

[0032] In order to solve the above technical problems, the present invention also adopts the following technical solutions:

[0033] User intervention and control module, used to check the indoor temperature and the working status of the heater, as well as adjust the heater's target temperature or switch the heater's working mode;

[0034] Ambient temperature monitoring module, used to monitor ambient temperature in real time;

[0035] A wireless communication module, used to send the real-time monitored temperature data to the control module;

[0036] A control module, which is used to manage and coordinate the operation of the entire heater temperature adaptive adjustment system, including a comparison module and a temperature adaptive module;

[0037] The comparison module is used to calculate the temperature difference that needs to be adjusted and send the temperature difference to the temperature adaptation module;

[0038] Temperature adaptive regulation module, used to adjust power output;

[0039] A working module, used for adjusting the heating power according to the output signal of the temperature adaptive regulation module;

[0040] The input end of the wireless communication module is connected to the output end of the ambient temperature monitoring module, the output end is connected to the input end of the control module, the input end of the working module is connected to the output end of the control module, the output end of the user intervention and regulation module is connected to the input end of the control module, and the output end of the comparison module is connected to the input end of the temperature adaptation module.

[0041] Positive beneficial effects:

[0042] Through the user intervention and control module, users can easily view the indoor temperature and the working status of the heater, and adjust the target temperature or switch the working mode according to personal needs; through the ambient temperature monitoring module, the ambient temperature can be monitored in real time to ensure the accuracy and real-time nature of the data; the comparison module can calculate the temperature difference that needs to be adjusted and send the difference to the temperature adaptive adjustment module. The temperature adaptive adjustment module intelligently adjusts the power output according to these differences to ensure that the heater operates in the best working state. This efficient and energy-saving adjustment method not only reduces energy waste, but also reduces users' operating costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive work, among which:

[0044] Figure 1 A schematic flow chart of a method for adaptively adjusting temperature of a heater according to the present invention;

[0045] Figure 2 A circuit diagram of a DHT11 digital temperature and humidity sensor for a temperature adaptive adjustment method of a heater according to the present invention;

[0046] Figure 3 This is a working principle diagram of a temperature adaptive adjustment module of a temperature adaptive adjustment system for a heater according to the present invention;

[0047] Figure 4 This is a structural diagram of a temperature adaptive adjustment system for a heater according to the present invention;

[0048] Figure 5 A user interface of a temperature adaptive adjustment system for a heater according to the present invention; DETAILED DESCRIPTION

[0049] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the embodiments described herein are only used to illustrate and explain the present invention and are not used to limit the present invention.

[0050] Example 1

[0051] like Figure 1-Figure 2 As shown, a temperature adaptive adjustment method for a heater includes the following steps:

[0052] Step 1: User intervention and regulation;

[0053] In this step, the user can check the indoor temperature and the working status of the heater at any time through the control panel or remote control, and adjust the target temperature of the heater or switch the working mode of the heater;

[0054] Step 2: Ambient temperature monitoring;

[0055] In this step, the ambient temperature is monitored in real time through the built-in temperature sensor of the heater;

[0056] Step 3: Temperature data feedback;

[0057] In this step, the temperature data information monitored in real time by the temperature sensor is sent to the control module via the wireless communication module; the controller in the control module sends the real-time temperature, target temperature and heater working status information to the control panel and remote control via the wireless communication module; the wireless communication module includes a radio frequency transceiver, an antenna, a data processing unit, a communication protocol, a power management unit, encryption and security, and a configuration and debugging interface;

[0058] Step 4: Compare the real-time temperature with the target temperature;

[0059] In this step, the control module compares the real-time temperature with the preset target temperature through a comparison module; the comparison module includes a temperature sensor interface, a target temperature setting interface, a difference calculator, and an error signal output interface;

[0060] Step 5: Adjust the working state of the heater;

[0061] In this step, when the real-time temperature is lower than the target temperature, the control module sends a signal to the working module of the heater to start the heating function, and according to the difference between the real-time temperature and the target temperature, the control module automatically adjusts the power output of the heater through the temperature adaptive adjustment module, that is, when the temperature difference is greater than 2 degrees Celsius, the control module instructs the heater to heat at high power, and when the temperature difference is less than or equal to 2 degrees Celsius, the control module instructs the heater to heat at low power or maintain a constant temperature; when the real-time temperature reaches or exceeds the target temperature, the control module instructs the heater to stop heating or maintain a constant temperature at a lower power; the temperature adaptive adjustment module includes a control algorithm, a parameter adjuster, a saturation limiter and an output mapper, and the control algorithm is an improved PID algorithm.

[0062] In the present invention, in step 1, the working mode of the heater is divided into high power mode, low power mode and normal power mode; when the user sets the working mode of the heater to high power mode, the temperature adaptive adjustment module no longer works, and the heater will continue to operate in high power mode; when the user sets the working mode of the heater to low power mode, the temperature adaptive adjustment module no longer works, and the heater will continue to operate in low power mode; when the user sets the working mode of the heater to normal power mode, the temperature adaptive adjustment module starts working, and the control module automatically adjusts the power output of the heater through the temperature adaptive adjustment module;

[0063] The heater is divided into three working modes: high power mode, low power mode and normal power mode. It can be used to adapt to different environments and user needs. When the indoor temperature is extremely low or needs to be heated up quickly, the user can choose the high power mode. In this mode, the heater runs at maximum power and can quickly increase the indoor temperature to meet the user's urgent heating needs; when the temperature is moderate or the user wants to save energy, the low power mode is a suitable choice. In this mode, the heater runs at a lower power, which not only maintains a certain heating effect, but also effectively reduces energy consumption; when the user wants the heater to automatically adjust the power according to the indoor temperature, he can choose the normal power mode. In this mode, the temperature adaptive adjustment module will intelligently adjust the power output of the heater according to the difference between the indoor temperature and the target temperature to ensure the stability and comfort of the indoor temperature.

[0064] In the present invention, in step 2, the temperature sensor is a DHT11 digital temperature and humidity sensor, which can measure the ambient temperature in real time and convert the data into a digital signal output;

[0065] The DHT11 sensor is connected to the STM32F103C8T6 microcontroller and communicates data through a single bus interface. The microcontroller reads the digital signal output by the sensor, obtains real-time data of temperature and humidity, and adjusts the working state of the heater based on this data. The high precision, low power consumption and stability of the DHT11 sensor have also been widely used in the present invention. The high precision can ensure that the heater accurately perceives the environment, and the low power consumption helps to reduce the overall energy consumption of the heater and improve its energy efficiency. At the same time, the stability of the DHT11 sensor ensures the reliable operation of the heater in various environments, providing users with a more comfortable and safe heating experience.

[0066] In the present invention, in step 3, the controller in the control module is an STM32F103C8T6 microcontroller;

[0067] The STM32F103C8T6 is a 32-bit microcontroller based on the ARM Cortex-M3 core. It features high performance, low power consumption, and a rich set of peripheral interfaces. The STM32F103C8T6 microcontroller plays a core control role in the system. It first communicates with the wireless communication module through its built-in UART interface to receive temperature data from the DHT11 sensor. The microcontroller then uses an internal comparison module to parse and process the received data, calculating the difference between the current temperature and the target temperature. Based on this difference, the STM32F103C8T6 microcontroller precisely adjusts the heater's power output by controlling the temperature adaptive regulation module.

[0068] In the present invention, in step 4, the formula of the difference calculator is:

[0069] ΔT=T1-T2 (1)

[0070] In formula (1), ΔT represents the temperature difference that needs to be adjusted, T1 represents the desired temperature set by the user, and T2 represents the current ambient temperature obtained in real time by the temperature sensor. The temperature difference that needs to be adjusted is calculated by formula (1), and then the comparison module transmits the temperature difference to the temperature adaptive adjustment module through the error signal output interface.

[0071] In the present invention, in step 5, the formula of the improved PID algorithm is:

[0072]

[0073] In formula (2), u(t) represents the output of the controller, that is, the output power that the heater needs to adjust, e(t) represents the error, that is, the difference between the target temperature and the real-time temperature, p represents the proportional coefficient, which determines the degree of immediate response of the heater to the error between the real-time temperature and the target temperature, i represents the integral coefficient, which is used to eliminate the steady-state error, d represents the differential coefficient, which adjusts the control output according to the rate of change of the error, β represents the switching function of the integral term, which is used to control whether the integral term is effective. When the heater approaches the target temperature, in order to avoid over-adjustment caused by the integral term, the integral term is turned off by setting β to 0; the output value of the controller is obtained by formula (2), and thus the output power that the heater should be adjusted to;

[0074] The working principle of the improved PID algorithm is based on the traditional PID algorithm, but with the addition of an integral separation mechanism. First, the algorithm calculates the error e(t) between the target temperature and the real-time temperature. Then, based on the size of the error e(t), the algorithm decides whether to enable the integral term. When the absolute value of the error exceeds a certain threshold, the integral term works normally; when the absolute value of the error is less than or equal to the threshold, the integral term is turned off or weakened. This mechanism helps to avoid the problem of integral saturation when the error is small; based on the error e(t), the integral error de(t) of the error, and the differential of the error ∫e(t)dt, the algorithm calculates the output u(t) of the PID controller. In the integral separation PID algorithm, the output of the integral term may be controlled by the switching function β. When β is equal to 0, the integral term does not work; when β is equal to 1, the integral term works normally; finally, the algorithm applies the calculated PID output u(t) to the heater to adjust its power output, thereby changing the temperature;

[0075] The improved PID algorithm with integral separation shows significant effects in control systems: when the system approaches the set value, the effect of the integral term is weakened or turned off, which helps to reduce overshoot and oscillation and enables the system to reach the target state more smoothly. By fine-tuning the PID parameters and the threshold of integral separation, the algorithm can achieve more precise control within different error ranges and improve the steady-state accuracy of the system. The algorithm can adapt to changes in system parameters and the influence of the external environment, maintain stable control performance, and thus enhance the robustness of the system. When the error is large, the integral term can still play a role, helping the system to quickly adjust the output and achieve rapid response.

[0076] In the present invention, in step 5, the output mapper maps the PID output to the allowable range of the heater instruction through linear transformation. The formula of linear transformation is:

[0077]

[0078] In formula (3), u represents the mapped control instruction, u max Indicates the maximum value of the heater instruction, u min Indicates the minimum value of the heater instruction, u maxPID Indicates the maximum value of the PID controller output, u minPID Represents the minimum value of the PID controller output, u(t) represents the control instruction at the current moment, and the PID output within the allowable range of the heater instruction is obtained by formula (3); the PWM signal duty cycle calculation formula is:

[0079]

[0080] In formula (4), v represents the mapped control instruction calculated by formula (3), v minand v max respectively represent the minimum and maximum values of the mapped control command calculated by formula (3), and the duty cycle of the PWM signal is converted from the mapped control command by formula (4), so as to control the power size of the heater;

[0081] In specific applications, the output mapper maps the output u(t) of the PID controller into the allowable range of the heater command using the linear transformation formula (3), which ensures that the mapped control command u is always within the range of the heater command regardless of the change of the output of the PID controller; the key of the linear transformation is to linearly map the output range of the PID controller to the range of the heater command, which ensures that the control accuracy and dynamic performance of the PID controller can be effectively transmitted to the heater; next, the PWM signal duty cycle calculation formula (4) converts the mapped control command v into the duty cycle of the PWM signal, which is a digital signal widely used in motor control and power regulation, and it controls the average power by adjusting the time ratio of high level and low level, the mapped control command is converted into the duty cycle of the PWM signal by formula (4), which realizes the accurate control of the heater power, and the calculation formula of the duty cycle ensures the linear relationship between the control command and the PWM signal, so as to ensure the accurate regulation of the heater power.

[0082] Example two

[0083] As Figure 3-Figure 5 shown, a temperature adaptive regulation system for a heater, comprising:

[0084] A user intervention and regulation module for viewing indoor temperature and working status of the heater, and adjusting target temperature of the heater or switching working mode of the heater;

[0085] An environmental temperature monitoring module for real-time monitoring of environmental temperature;

[0086] A wireless communication module for sending real-time monitored temperature data to the control module;

[0087] A control module for managing and coordinating the operation of the entire heater temperature adaptive regulation system, including a comparison module and a temperature adaptive module;

[0088] The comparison module is used to calculate the temperature difference value that needs to be adjusted and send the temperature difference value to the temperature adaptive module;

[0089] The temperature adaptive regulation module is used to adjust the power output;

[0090] The working module is used to adjust the power heating according to the output signal of the temperature adaptive regulation module;

[0091] The input end of the wireless communication module is connected to the output end of the ambient temperature monitoring module, the output end is connected to the input end of the control module, the input end of the working module is connected to the output end of the control module, the output end of the user intervention and regulation module is connected to the input end of the control module, and the output end of the comparison module is connected to the input end of the temperature adaptation module.

[0092] Although specific embodiments of the present invention have been described above, those skilled in the art will appreciate that these specific embodiments are merely illustrative, and that those skilled in the art may omit, substitute, and modify the details of the methods and systems described above without departing from the principles and spirit of the present invention. For example, combining the above method steps to perform substantially the same functions in substantially the same manner to achieve substantially the same results falls within the scope of the present invention. Accordingly, the scope of the present invention is limited solely by the appended claims.

Claims

1. A temperature adaptive adjustment method for a heater, characterized in that: The following steps are involved: Step 1: User intervention and regulation; In this step, the user can check the indoor temperature and the working status of the heater at any time through the control panel or remote control, and adjust the target temperature of the heater or switch the working mode of the heater; Step 2: Ambient temperature monitoring; In this step, the ambient temperature is monitored in real time through the built-in temperature sensor of the heater; Step 3: Temperature data feedback; In this step, the temperature data information monitored in real time by the temperature sensor is sent to the control module via the wireless communication module; the controller in the control module sends the real-time temperature, target temperature and heater working status information to the control panel or remote control via the wireless communication module; the wireless communication module includes a radio frequency transceiver, an antenna, a data processing unit, a communication protocol, a power management unit, encryption and security, and a configuration and debugging interface; Step 4: Compare the real-time temperature with the target temperature; In this step, the control module compares the real-time temperature with the preset target temperature through a comparison module; the comparison module includes a temperature sensor interface, a target temperature setting interface, a difference calculator, and an error signal output interface; Step 5: Adjust the working state of the heater; In this step, when the real-time temperature is lower than the target temperature, the control module sends a signal to the working module of the heater to start the heating function. According to the difference between the real-time temperature and the target temperature, the control module automatically adjusts the power output of the heater through the temperature adaptive adjustment module. That is, when the temperature difference is greater than 2 degrees Celsius, the control module instructs the heater to heat at high power. When the temperature difference is less than or equal to 2 degrees Celsius, the control module instructs the heater to heat at low power or maintain a constant temperature. When the real-time temperature reaches or exceeds the target temperature, the control module instructs the heater to stop heating or maintain a constant temperature at a lower power. The temperature adaptive adjustment module includes a control algorithm, a parameter adjuster, a saturation limiter and an output mapper. The control algorithm is an improved PID algorithm. In step 4, the formula of the difference calculator is: (1) In formula (1), Indicates the temperature difference that needs to be adjusted. Indicates the desired temperature set by the user. It represents the current ambient temperature obtained in real time by the temperature sensor. The temperature difference that needs to be adjusted is calculated by formula (1). Then the comparison module transmits the temperature difference to the temperature adaptive adjustment module through the error signal output interface. In step 5, the formula of the improved PID algorithm is: (2) In formula (2), Indicates the output of the controller, that is, the output power that the heater needs to adjust. Represents the error, that is, the difference between the target temperature and the real-time temperature, It represents the proportional coefficient, which determines the degree of immediate response of the heater to the error between the real-time temperature and the target temperature. Represents the integral coefficient, which is used to eliminate steady-state errors. Represents the differential coefficient, which adjusts the control output according to the rate of change of the error. Indicates the switch function of the integral term, which is used to control whether the integral term works. When the heater is close to the target temperature, in order to avoid over-adjustment caused by the integral term, by setting Set to 0 to turn off the integral term; use formula (2) to get the output value of the controller, and thus get the output power that the heater should be adjusted to; In step 5, the output mapper maps the PID output to the allowable range of the heater instruction through linear transformation. The formula of linear transformation is: (3) In formula (3), Indicates the mapped control instructions, Indicates the maximum value of the heater command. Indicates the minimum value of the heater command, Indicates the maximum value of the PID controller output, Indicates the minimum value of the PID controller output, Represents the control command at the current moment. The PID output within the allowable range of the heater command is obtained through formula (3). The PWM signal duty cycle calculation formula is: (4) In formula (4), represents the mapped control instruction calculated by formula (3), and They represent the minimum and maximum values ​​of the mapped control instructions calculated by formula (3), and the mapped control instructions are converted into the duty cycle of the PWM signal by formula (4), thereby controlling the power of the heater.

2. The temperature adaptive adjustment method for a heater according to claim 1, characterized in that: In step 1, the working mode of the heater is divided into high power mode, low power mode and normal power mode; when the user sets the working mode of the heater to high power mode, the temperature adaptive adjustment module no longer works, and the heater will continue to operate in high power mode; when the user sets the working mode of the heater to low power mode, the temperature adaptive adjustment module no longer works, and the heater will continue to operate in low power mode; when the user sets the working mode of the heater to normal power mode, the temperature adaptive adjustment module starts working, and the control module automatically adjusts the power output of the heater through the temperature adaptive adjustment module.

3. The temperature adaptive adjustment method for a heater according to claim 1, characterized in that: In step 2, the temperature sensor is a DHT11 digital temperature and humidity sensor, which can measure the ambient temperature in real time and convert the data into a digital signal for output.

4. The temperature adaptive adjustment method for a heater according to claim 1, characterized in that: In step 3, the controller in the control module is an STM32F103C8T6 microcontroller.

5. A temperature adaptive regulation system for a heater, characterized by: A temperature adaptive adjustment method for a heater according to any one of claims 1 to 4, comprising: User intervention and control module, used to check the indoor temperature and the working status of the heater, as well as adjust the heater's target temperature or switch the heater's working mode; Ambient temperature monitoring module, used to monitor ambient temperature in real time; A wireless communication module, used to send the real-time monitored temperature data to the control module; A control module, which is used to manage and coordinate the operation of the entire heater temperature adaptive adjustment system, including a comparison module and a temperature adaptive module; The comparison module is used to calculate the temperature difference that needs to be adjusted and send the temperature difference to the temperature adaptation module; Temperature adaptive regulation module, used to adjust power output; A working module, used for adjusting the heating power according to the output signal of the temperature adaptive regulation module; The input end of the wireless communication module is connected to the output end of the ambient temperature monitoring module, the output end is connected to the input end of the control module, the input end of the working module is connected to the output end of the control module, the output end of the user intervention and regulation module is connected to the input end of the control module, and the output end of the comparison module is connected to the input end of the temperature adaptation module.

Citation Information

Patent Citations

  • Semiconductor laser temperature control system, device and method

    CN113110634A

  • Heating control method and device for heat gun

    CN117570574A

  • Electric heater capable of adjusting output power automatically

    CN202118987U

  • Warmer

    CN216868639U