CN117270597A - Temperature control method for intermittent control output and related equipment - Google Patents

Temperature control method for intermittent control output and related equipment Download PDF

Info

Publication number
CN117270597A
CN117270597A CN202311224977.7A CN202311224977A CN117270597A CN 117270597 A CN117270597 A CN 117270597A CN 202311224977 A CN202311224977 A CN 202311224977A CN 117270597 A CN117270597 A CN 117270597A
Authority
CN
China
Prior art keywords
temperature
preset
temperature control
stroke percentage
percentage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311224977.7A
Other languages
Chinese (zh)
Inventor
戴兵
罗灿杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Senweier Technology Development Co ltd
Original Assignee
Shenzhen Senweier Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Senweier Technology Development Co ltd filed Critical Shenzhen Senweier Technology Development Co ltd
Priority to CN202311224977.7A priority Critical patent/CN117270597A/en
Publication of CN117270597A publication Critical patent/CN117270597A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature

Abstract

The invention relates to a temperature control method for intermittent control output and related equipment, comprising the steps of obtaining the current temperature, substituting the current temperature and the preset temperature into a preset temperature control formula to obtain the temperature control stroke percentage; determining a motor stroke percentage according to the temperature control stroke percentage and the current temperature; and controlling the periodic output of the motor stroke percentage according to a preset output period, and periodically controlling the temperature according to the motor stroke percentage. The motor use frequency can be effectively controlled by periodically controlling the stroke percentage of the output motor, so that the power consumption is reduced. The invention solves the problem of large power consumption caused by real-time adjustment of the actuating mechanism along with the temperature before the stabilization of the PID algorithm is achieved, and has the effects of periodically controlling the use of the motor and reducing the power consumption, so that the low-power-consumption temperature control device can simply use the temperature control method.

Description

Temperature control method for intermittent control output and related equipment
Technical Field
The invention relates to the technical field of intelligent temperature control, in particular to a temperature control method for intermittently controlling output and related equipment.
Background
PID algorithms are widely used in industrial control and automation systems, for example, in temperature control, speed control and level control. In the temperature control method, a PID algorithm is generally used, and the formula is:
wherein u (t) is the output percentage, k p 、k i And k d E (t) is the error between the temperature at the time t and the set temperature,for the error integration at time t, +.>Is the differential of the error at time t.
As shown in fig. 1, after the PID algorithm outputs the percentage u (t), u (t) is input into the actuator, and the actuator adjusts the temperature according to the control object of u (t) to complete temperature control.
But in the process that the existing temperature control system realizes temperature control through a PID algorithm, the temperature control system feeds back the execution result u (t-1) of the previous PID temperature control algorithm to the PID temperature control algorithm again through an environment variable, namely e (t) =u (t-1) -a, wherein a is a set temperature, and the last result of repeated execution of the previous time is fed back to the next time for parameter input until the system tends to be stable. Because the PID algorithm needs to carry out integration and differential operation and repeatedly executes the feedback of the last result to the next parameter input, the MCU and the programming capability in the system are required to be higher; meanwhile, an executing mechanism in the system is adjusted in real time along with the temperature before the PID algorithm is stabilized, so that the power consumption is high, and the use of low-power consumption products is inconvenient.
Disclosure of Invention
The invention aims to provide a temperature control method for intermittently controlling output, which has the characteristics that the temperature control method can be used simply by periodically controlling the use of a motor and reducing the power consumption, so that a low-power-consumption temperature control device can also be used simply.
The first object of the present invention is achieved by the following technical solutions:
a temperature control method for intermittently controlling output, comprising:
acquiring a current temperature, substituting the current temperature and a preset temperature into a preset temperature control formula to acquire a temperature control stroke percentage;
determining the stroke percentage of the motor according to the temperature control stroke percentage and the current temperature;
and controlling the periodic output of the motor stroke percentage according to the preset output period, and periodically controlling the temperature according to the motor stroke percentage.
By adopting the technical scheme, the intermittent control output temperature control device firstly obtains the current temperature, substitutes the current temperature and the preset temperature into a preset temperature control formula to obtain the temperature control stroke percentage, and further determines the motor stroke percentage according to the temperature control stroke percentage and the current temperature; and finally, controlling the periodic output of the motor stroke percentage according to the preset output period, and periodically controlling the temperature according to the motor stroke percentage. The motor use frequency can be effectively controlled by periodically controlling the stroke percentage of the output motor, so that the power consumption is reduced. The temperature control method solves the problem that the actuating mechanism is adjusted in real time along with the temperature before the PID algorithm is stabilized, so that the power consumption is high, and has the effects that the use of the motor can be periodically controlled, the power consumption is reduced, and the temperature control device with low power consumption can be simply used.
In a preferred embodiment, the present invention may be further configured such that the preset temperature control formula is:
U k =U O +K p E k +K d (E k -E k-1 )
wherein U is k To control the temperature stroke percentage, U O K is the minimum stroke percentage of preset temperature control p As a proportional variable coefficient, K d As a differential variable coefficient, E k For temperature difference, E k-1 Is the previous temperature difference; the temperature difference is equal to the preset temperature minus the current temperature; the preset output period is 5min.
By adopting the technical method, the preset temperature control formula replaces the sum of the integral of the current temperature difference and the differential of the current temperature difference in the PID algorithm by calculating the differential of the current temperature difference and the previous temperature difference, and under the condition that the accuracy is kept higher, the efficiency of calculating the temperature control stroke percentage can be reduced and improved.
The present invention may be further configured in a preferred example to determine a motor stroke percentage from the temperature control stroke percentage and the current temperature, comprising:
judging whether the temperature control stroke percentage is in a preset motor stroke percentage range or not;
if not, adjusting the temperature control stroke percentage to enable the temperature control stroke percentage to be in a preset motor stroke percentage range; if yes, not adjusting the temperature control stroke percentage;
calculating a relation between the current temperature and the preset temperature according to a preset offset, wherein the preset offset comprises a first offset and a second offset; the first offset is 1 ℃, and the second offset is 0.5 ℃;
and determining the motor stroke percentage according to the relation and the temperature control stroke percentage.
By adopting the technical scheme, as the calculated temperature control stroke percentage can be larger than the percentage or smaller than zero, in order to ensure that the temperature control stroke percentage is in a reasonable state, the temperature control stroke percentage needs to be adjusted by presetting the motor stroke percentage; and further, the current temperature and the preset temperature are calculated according to the relation of the preset offset, so that the current motor stroke percentage can be calculated more accurately, and the temperature control accuracy of the temperature control device is improved.
The present invention may be further configured in a preferred example, that the temperature control method further includes:
receiving a scene mode corresponding to the current temperature;
the current temperature is modified according to the scene mode.
By adopting the technical scheme, due to heat loss, the current temperature can be further corrected according to the received scene mode corresponding to the current temperature (for example, in summer or winter), and the accuracy of the current temperature acquired by the temperature control device can be improved.
The present invention may be further configured in a preferred example to correct the current temperature according to a scene mode, including: acquiring a target temperature according to the preset detection heat loss time, wherein the target temperature is the current temperature acquired during the preset detection heat loss time;
calculating the heat loss rate according to the current temperature, the target temperature and the preset detected heat loss time;
the current temperature is corrected according to the rate of heat loss.
By adopting the technical scheme, the acquisition target temperature (the target temperature is the current temperature acquired when the heat loss time is detected in advance) can be determined according to the preset heat loss detection time, so that the heat loss rate in the current scene mode is determined, and the current temperature can be corrected rapidly and accurately.
The invention also aims to provide a temperature control device for intermittently controlling output, which has the characteristics of periodically controlling the use of a motor and reducing power consumption, so that a low-power-consumption product can simply use the temperature control method.
The second object of the present invention is achieved by the following technical solutions:
a temperature control device for intermittently controlling output, comprising:
the acquisition module is used for acquiring the current temperature, substituting the current temperature and the preset temperature into a preset temperature control formula to acquire the temperature control stroke percentage;
the determining module is used for determining the motor stroke percentage according to the temperature control stroke percentage and the current temperature;
the control module is used for controlling the periodic output of the motor stroke percentage according to the preset output period and periodically controlling the temperature according to the motor stroke percentage.
The present invention may be further configured in a preferred example, wherein the determining module includes: the device comprises a judging unit, an adjusting unit, a first calculating unit and a determining unit.
The judging unit is used for judging whether the temperature control stroke percentage is in a preset motor stroke percentage range;
the adjusting unit is used for adjusting the temperature control stroke percentage when the judging unit determines that the temperature control stroke percentage is not in the preset motor stroke percentage range, so that the temperature control stroke percentage is in the preset motor stroke percentage range;
the adjusting unit is also used for not adjusting the temperature control stroke percentage when the judging unit determines that the temperature control stroke ratio is in the range of the preset motor stroke percentage;
the first calculating unit is used for calculating a relation between the current temperature and the preset temperature according to a preset offset, wherein the preset offset comprises a first offset and a second offset; the first offset is 1 ℃, and the second offset is 0.5 ℃;
the determining unit is used for determining the motor stroke percentage according to the relation and the temperature control stroke percentage;
the preset temperature control formula is as follows:
U k =U O +K p E k +K d (E k -E k-1 )
wherein U is k To control the temperature stroke percentage, U O K is the minimum stroke percentage of preset temperature control p As a proportional variable coefficient, K d As a differential variable coefficient, E k For temperature difference, E k-1 Is the previous temperature difference; the temperature difference is equal to the preset temperature minus the current temperature; the preset output period is 5min.
The present invention may be further configured in a preferred example, that the temperature control apparatus further includes:
the receiving module is used for receiving a scene mode corresponding to the current temperature;
and the correction module is used for correcting the current temperature according to the scene mode.
The present invention may be further configured in a preferred example, wherein the correction module includes: the device comprises an acquisition unit, a second calculation unit and a correction unit.
The acquisition unit is used for acquiring a target temperature according to the preset detection heat loss time, wherein the target temperature is the current temperature acquired when the preset detection heat loss time is reached;
a calculation unit for calculating a heat loss rate according to the current temperature, the target temperature and a preset detected heat loss time;
and the correction unit is used for correcting the current temperature according to the heat loss rate.
The invention aims at providing a temperature control device for intermittent control output, which has the characteristics of periodically controlling the use of a motor and reducing power consumption, so that a low-power-consumption product can simply use the temperature control method.
The third object of the present invention is achieved by the following technical solutions:
a temperature control device for a batch control output comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and execute the temperature control method for the batch control output.
The fourth object of the present invention is to provide a computer storage medium capable of storing a corresponding program, which has the characteristics of being convenient for realizing the use of a motor through periodical control and reducing power consumption, and further enabling a low-power product to simply use the temperature control method.
The fourth object of the present invention is achieved by the following technical solutions:
a computer readable storage medium storing a computer program capable of being loaded by a processor and executing any one of the above-described temperature control methods of the intermittent control output.
In summary, the present invention includes at least one of the following beneficial technical effects:
1. the intermittent control output temperature control device firstly obtains the current temperature, substitutes the current temperature and the preset temperature into a preset temperature control formula to obtain a temperature control stroke percentage, and further determines the motor stroke percentage according to the temperature control stroke percentage and the current temperature; and finally, controlling the periodic output of the motor stroke percentage according to the preset output period, and periodically controlling the temperature according to the motor stroke percentage. The motor use frequency can be effectively controlled by periodically controlling the stroke percentage of the output motor, so that the power consumption is reduced. The problem that the power consumption is high due to the fact that an executing mechanism is adjusted in real time along with the temperature before the PID algorithm is stabilized is solved, and the temperature control method has the effects that the temperature control device with low power consumption can be used simply by periodically controlling the use of a motor and reducing the power consumption; 2. the preset temperature control formula replaces the sum of the integral of the current temperature difference and the differential of the current temperature difference in the PID algorithm by calculating the differential of the current temperature difference and the previous temperature difference, and under the condition that the accuracy is kept higher, the efficiency of calculating the temperature control stroke percentage can be reduced and improved;
3. since the calculated temperature control stroke percentage may be greater than the percentage or less than zero, in order to ensure that the temperature control stroke percentage is in a reasonable state, the temperature control stroke percentage needs to be adjusted by presetting the motor stroke percentage; further, the current temperature and the preset temperature are calculated according to the relation of the preset offset, so that the current stroke percentage of the motor can be calculated more accurately, and the temperature control accuracy of the temperature control device is improved;
4. due to the heat loss, the current temperature can be further corrected according to the received scene mode (for example, in summer or winter) corresponding to the current temperature, and the accuracy of the current temperature acquired by the temperature control device can be improved.
Drawings
FIG. 1 is a schematic flow chart of a temperature control method for intermittently controlling output according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another method for intermittently controlling output according to one embodiment of the present invention;
FIG. 3 is a schematic flow chart of another embodiment of a temperature control method for intermittent control output according to the present invention;
FIG. 4 is a schematic flow chart of another method for controlling the output temperature intermittently according to one embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic flow chart of an embodiment of a temperature control method for intermittent output control according to an embodiment of the present application is provided, including steps S101 to S103.
S101, acquiring a current temperature, and substituting the current temperature and a preset temperature into a preset temperature control formula to acquire a temperature control stroke percentage;
in this embodiment, after the intermittent control output temperature control device is turned on, the temperature control device may collect the current temperature through the temperature sensor, for example, when the temperature control device is a radiator, the radiator collects the current indoor temperature through the temperature sensor on the temperature controller. In order to prevent the indoor temperature from being too high or too low, the radiator is provided with a preset temperature, i.e. the indoor proper temperature is kept in a preset temperature range.
When the current temperature and the preset temperature are obtained, substituting the current temperature and the preset temperature into a preset temperature control formula, and calculating to obtain a temperature control stroke percentage, wherein the temperature control stroke percentage is used for providing a data base for the step S102.
In this embodiment, the preset temperature control formula may be any formula capable of calculating the temperature control stroke percentage, which is not specifically limited herein.
S102, determining a motor stroke percentage according to the temperature control stroke percentage and the current temperature;
in this embodiment, after the radiator acquires the temperature control stroke percentage and the current temperature, it is determined whether the current temperature is equal to the preset temperature, if the current temperature is equal to the preset temperature, it indicates that the radiator does not need to apply work at this time, and it is further determined that the motor stroke percentage is equal to the temperature control stroke percentage, and the calculation result of the temperature control stroke percentage is 0. If the current temperature is not equal to the preset temperature, the fact that the radiator needs to do work at the moment is indicated, so that the indoor temperature reaches the vicinity of the preset temperature range, the fact that the stroke percentage of the motor is equal to the temperature control stroke percentage is further determined, and the calculation result of the temperature control stroke percentage is not 0.
And S103, controlling the cycle output of the motor stroke percentage according to the preset output cycle, and periodically controlling the temperature according to the motor stroke percentage, wherein the preset output cycle is 5min.
After determining the motor stroke percentage, in order to make the effective control motor frequently used, a preset output period is set to control the motor stroke percentage to perform periodic output, so that the radiator can perform periodic temperature control according to the motor stroke percentage, for example:
when the motor stroke percentage of the radiator is determined to be 50%, calculating the time of the primary motor stroke percentage to be 1min, and setting a preset output period to be 5min; in the prior art, the motor stroke percentage is calculated once to output the motor stroke percentage once, and the temperature is controlled through the motor stroke percentage, namely, the motor stroke percentage is executed once per minute, so that the power consumption is high. In the embodiment of the application, the motor stroke percentages are periodically output according to the preset output period, namely, the motor stroke percentages of the first minute, the second minute, the third minute, the fourth minute and the fifth minute are calculated, then the motor stroke percentages of the four preceding minutes are not output, and only the motor stroke percentages of the fifth minute are output; similarly, no output was made for the sixth, seventh, eighth, and ninth minutes, with the tenth minute being output as a percent of motor travel.
In the present embodiment, assume M i And (3) the motor stroke percentage of the ith minute, wherein Y is a preset output period, and the following steps are performed: calculate M i I=i+1; when (when)Taking the remainder to be zero, outputting M i The method comprises the steps of carrying out a first treatment on the surface of the When->Taking the remainder to be not equal to zero, M i =M i-1 And does not output M i
In this embodiment, the preset output period may be set to 5min, may be set to 10min, or may be any period of time, which is not specifically limited herein.
Referring to fig. 2 to fig. 4, a flow chart of another embodiment of a method for intermittently controlling output temperature according to an embodiment of the present application is provided, and the flow chart includes steps S201 to S205.
S201, acquiring the current temperature;
in this embodiment, the temperature control device for intermittent output control is a radiator, the radiator will collect the indoor current temperature through its corresponding temperature controller, and the radiator is provided with a preset temperature, for example, the preset temperature is 25 ℃, that is, the indoor temperature is 25 ℃.
In this embodiment, the preset temperature may be 25 ℃, 24 ℃, or any one of the temperatures, which is not specifically limited herein.
S202, receiving a scene mode corresponding to the current temperature;
when the current temperature is obtained, the radiator further determines a scene mode corresponding to the current temperature, wherein the scene mode is a building structure and a building area. For example, when the building structure is a bathroom and the building area is 10 square meters, then a bathroom with a scene mode of 10 square meters is determined.
In this embodiment of the present application, the building structure of the scene mode may be a bathroom, a bedroom, a living room, or any area where a radiator may be installed, which is not specifically limited herein.
S203, correcting the current temperature according to the scene mode, and substituting the current temperature and the preset temperature into a preset temperature control formula to obtain the temperature control stroke percentage;
when the scene mode is determined, since the temperature of the area closer to the radiator is relatively higher and the temperature of the area farther from the radiator is slightly lowered, the current temperature needs to be corrected according to the scene mode. For example, when the scene mode is a 10-square-meter bathroom, a correction deviation amount for correcting the current temperature is determined according to the building area of the bathroom so that the radiator can obtain the average temperature of the 10-square-meter bathroom and determine the average temperature as the current temperature.
After the current temperature is confirmed, substituting the current temperature and the preset temperature into a preset temperature control formula to calculate and obtain the temperature control stroke percentage, wherein the preset temperature control formula is as follows:
U k =U O +K p E k +K d (E k -E k-1 )
wherein U is k To control the temperature stroke percentage, U O K is the minimum stroke percentage of preset temperature control p As a proportional variable coefficient, K d As a differential variable coefficient, E k For temperature difference, E k-1 Is the previous temperature difference; the temperature difference is equal to the preset temperature minus the current temperature.
In one possible implementation, as shown in FIG. 3, the steps include S2031-S2033.
S2031, acquiring a target temperature according to a preset heat loss detection time, wherein the target temperature is the current temperature acquired when the heat loss detection time is preset;
in this embodiment, the current temperature may be corrected by calculating the heat loss according to the scene mode, specifically, a preset detected heat loss time is set, the time is a time after the current time, and the target temperature is acquired according to the preset detected heat loss time. For example:
and acquiring the current temperature at the time T, namely acquiring the current temperature at the time T, setting the preset detection heat loss time as the time T, wherein T is more than T, and further acquiring the target temperature at the time T (the target temperature is the current temperature at the time T).
S2032, calculating the heat loss rate according to the current temperature, the target temperature and the preset detected heat loss time;
after the target temperature is obtained, further calculating the heat loss rate according to the current temperature, the target temperature and the preset detected heat loss time, for example:
1. calculating a heat loss temperature difference P between the current temperature and the target temperature;
2. calculating the time difference between the preset detection heat loss time (T moment) and the current moment (T moment), namely T-T;
3. the rate of heat loss is obtained using the temperature difference divided by the time difference, i.eWherein P isTime difference.
And S2033, correcting the current temperature according to the heat loss rate.
Calculating the heat loss rateAfter that, according to the heat loss rate->Correcting the current temperature; for example, assume a heat loss rate +.>When the temperature is equal to 10, setting a correction deviation amount according to the heat loss rate, adding the correction deviation amount and the current temperature to obtain a result, and finally updating the result according to the current temperature.
S204, determining the motor stroke percentage according to the temperature control stroke percentage and the current temperature;
in this embodiment, step S204 is similar to step S102 in the above embodiment, and is not repeated here.
In one possible implementation, as shown in FIG. 4, the steps include S2041-S2044.
S2041, judging whether the temperature control stroke percentage is within a preset motor stroke percentage range; if not, executing step S2042; if yes, go to step S2043;
in this embodiment, since the temperature control stroke percentage is obtained by substituting a preset temperature control formula, the temperature control stroke percentage may be greater than a percentage or less than zero, and in order to make the last determined motor stroke percentage more accurate, it is necessary to determine whether the temperature control stroke percentage is within a preset motor stroke percentage range, for example:
the range of the preset motor stroke percentage is [ X ] min %,X max %]Wherein X is min % can be 0%, X max % may be 100%; then judge U k Whether or not in [ X ] min %,X max %]Within this range interval; if X min %≤U k ≤X max The%; then the temperature control stroke percentage is indicated to be within the range of the preset motor stroke percentage, and the step S2043 is executed; otherwise, it indicates that the temperature control stroke percentage is not within the preset motor stroke percentage range, and step S2042 is performed.
S2042, adjusting the temperature control stroke percentage to enable the temperature control stroke percentage to be in a preset motor stroke percentage range;
when the temperature control stroke percentage is determined not to be within the range of the preset motor stroke percentage, namely U k >X max % or U k <X min The%; the temperature control stroke percentage needs to be adjusted, and the specific mode of adjusting the temperature control stroke percentage is as follows:
1. when U is k >X max % is U k =X max %;
2. When U is k <X min % is U k =X min %。
S2043, calculating a relation between the current temperature and the preset temperature according to a preset offset, wherein the preset offset comprises a first offset and a second offset; the first offset is 1 ℃ and the second offset is 0.5 ℃;
when the temperature control stroke percentage is determined to be within the preset motor stroke percentage range or the temperature control stroke percentage is adjusted to be within the preset motor stroke percentage range, further calculating a relation between the current temperature and the preset temperature according to the preset offset, specifically:
in this embodiment, the preset offset includes a first offset and a second offset, where the first offset T max =1 ℃; second offset T min The relation for calculating the current temperature and the preset temperature includes setting the current temperature to be P t The preset temperature is P Presetting
1. Judging P t ≥P Presetting +T max When P t ≥P Presetting +T max When the temperature is equal to the preset temperature, the relation between the current temperature and the preset temperature is: the current temperature is far greater than the preset temperature;
2. judging P t ≥P Presetting +T min And judge P t ≤P Presetting +T max When P t ≥P Presetting +T min And meet P t ≤P Presetting +T max When the temperature is equal to the preset temperature, the relation between the current temperature and the preset temperature is: the current temperature substantially meets the preset temperature.
3. Judging P t ≤P Presetting +T min When P t ≤P Presetting +T min When the temperature is equal to the preset temperature, the relation between the current temperature and the preset temperature is: the current temperature is much less than the preset temperature.
In this embodiment of the present application, the first offset may be 1 ℃, or may be 2 ℃, or may be any specific temperature value, which is not specifically limited herein.
In this embodiment of the present application, the second offset may be 0.5 ℃, or may be 1 ℃, or may be any specific temperature value, which is not specifically limited herein.
S2044, determining the motor stroke percentage according to the relation and the temperature control stroke percentage.
After determining the relation between the current temperature and the preset temperature, further determining the motor stroke percentage according to the relation and the temperature control stroke percentage, and specifically:
1. when the current temperature is far greater than the preset temperature, the fact that the radiator does not need to be used for working indoors at the moment is indicated, and the temperature control stroke percentage calculation result U is obtained at the moment k =0%, the motor stroke percentage is equal to the temperature control stroke percentage, i.e. m=u k =0%, where M is used to represent the current motor stroke percentage.
2. When the current temperature basically meets the preset temperature, the condition that the radiator does not need to be used for working in the room at the moment is indicated, the radiator can be required to keep the lowest power consumption for working, and the temperature control stroke percentage calculation result U is obtained at the moment k =X min In% and corresponding, the motor stroke percentage may be equal to the temperature control stroke percentage, or may be directly equal to zero, i.e. m=u k Or m=0%; the specific situation can be preset according to the user requirement.
3. When the current temperature is far smallerWhen the temperature is preset, the indoor radiator is required to do work at the moment, and the temperature control stroke percentage U is shown k =U O +K p E k +K d (E k -E k-1 ) The method comprises the steps of carrying out a first treatment on the surface of the At this time, the offset of the total motor stroke is determined to be + -5%, and the total motor stroke is calculated according to the preset motor stroke percentage range section, that is, s= (X) max %-X min 100%; wherein S is the total motor travel.
Judging M-U k More than or equal to S+ -5%, if yes, M=U k The method comprises the steps of carrying out a first treatment on the surface of the If not, judge U k ≥X max % and judgment U k ==X min The%; when U is k ≥X max % is m=x max The%; when U is k =X min % is m=x min The%; if U is k <X max % and U k ≠X min % is then m=u k
In the embodiment of the present application, the offset of the total motor stroke may be ±5%, or may be ±6%, or may be any specific value, which is not limited herein.
S205, controlling the cycle output of the motor stroke percentage according to the preset output cycle, and periodically controlling the temperature according to the motor stroke percentage, wherein the preset output cycle is 5min.
In this embodiment, step S205 is similar to step S103 in the above embodiment, and is not repeated here.
The beneficial effects that this application embodiment can reach include:
1. the intermittent control output temperature control device firstly obtains the current temperature, substitutes the current temperature and the preset temperature into a preset temperature control formula to obtain a temperature control stroke percentage, and further determines the motor stroke percentage according to the temperature control stroke percentage and the current temperature; and finally, controlling the periodic output of the motor stroke percentage according to the preset output period, and periodically controlling the temperature according to the motor stroke percentage. The motor use frequency can be effectively controlled by periodically controlling the stroke percentage of the output motor, so that the power consumption is reduced. The temperature control method solves the problem that the actuating mechanism is adjusted in real time along with the temperature before the PID algorithm is stabilized, so that the power consumption is high, and has the effects that the use of the motor can be periodically controlled, the power consumption is reduced, and the temperature control device with low power consumption can be simply used.
2. The preset temperature control formula replaces the sum of the integral of the current temperature difference and the differential of the current temperature difference in the PID algorithm by calculating the differential of the current temperature difference and the previous temperature difference, and under the condition that the accuracy is kept higher, the efficiency of calculating the temperature control stroke percentage can be reduced and improved.
3. Since the calculated temperature control stroke percentage may be greater than the percentage or less than zero, in order to ensure that the temperature control stroke percentage is in a reasonable state, the temperature control stroke percentage needs to be adjusted by presetting the motor stroke percentage; and further, the current temperature and the preset temperature are calculated according to the relation of the preset offset, so that the current motor stroke percentage can be calculated more accurately, and the temperature control accuracy of the temperature control device is improved.
4. Due to the heat loss, the current temperature can be further corrected according to the received scene mode (for example, in summer or winter) corresponding to the current temperature, and the accuracy of the current temperature acquired by the temperature control device can be improved.
5. The acquisition target temperature (the target temperature is the current temperature acquired when the heat loss time is preset) can be determined according to the preset heat loss detection time, so that the heat loss rate in the current scene mode is determined, and the current temperature can be corrected rapidly and accurately.
The embodiment of the application also provides a temperature control device for intermittent control output, which comprises an acquisition module, a determination module and a control module.
The acquisition module is used for acquiring the current temperature, substituting the current temperature and the preset temperature into a preset temperature control formula to acquire the temperature control stroke percentage; the determining module is used for determining the motor stroke percentage according to the temperature control stroke percentage and the current temperature; the control module is used for controlling the periodic output of the motor stroke percentage according to the preset output period and periodically controlling the temperature according to the motor stroke percentage.
In this embodiment, the obtaining module may obtain the current temperature, substitutes the current temperature and the preset temperature into a preset temperature control formula to obtain a temperature control stroke percentage, and finally sends the temperature control stroke percentage to the determining module; the determining module determines the motor travel percentage according to the temperature control travel percentage and the current temperature and sends the motor travel percentage to the control module; the control module controls the periodic output of the motor stroke percentage according to the preset output period, and periodically controls the temperature according to the motor stroke percentage.
In one possible embodiment, the temperature control device further includes: a receiving module and a correcting module.
The receiving module is used for receiving a scene mode corresponding to the current temperature; the correction module is used for correcting the current temperature according to the scene mode.
Wherein, the correction module includes: the device comprises an acquisition unit, a second calculation unit and a correction unit.
The acquisition unit is used for acquiring a target temperature according to the preset detection heat loss time, wherein the target temperature is the current temperature acquired when the preset detection heat loss time is reached; the calculating unit is used for calculating the heat loss rate according to the current temperature, the target temperature and the preset detected heat loss time; the correction unit is used for correcting the current temperature according to the heat loss rate.
The determining module comprises a judging unit, an adjusting unit, a first calculating unit and a determining unit.
The judging unit is used for judging whether the temperature control stroke percentage is in a preset motor stroke percentage range; the adjusting unit is used for adjusting the temperature control stroke percentage when the judging unit determines that the temperature control stroke percentage is not in the preset motor stroke percentage range, so that the temperature control stroke percentage is in the preset motor stroke percentage range; the adjusting unit is also used for not adjusting the temperature control stroke percentage when the judging unit determines that the temperature control stroke ratio is in the range of the preset motor stroke percentage; the first calculating unit is used for calculating a relation between the current temperature and the preset temperature according to a preset offset, wherein the preset offset comprises a first offset and a second offset; the first offset is 1 ℃ and the second offset is 0.5 ℃; the determining unit is used for determining the motor stroke percentage according to the relation and the temperature control stroke percentage;
the preset temperature control formula is as follows:
U k =U O +K p E k +K d (E k -E k-1 )
wherein U is k To control the temperature stroke percentage, U O K is the minimum stroke percentage of preset temperature control p As a proportional variable coefficient, K d As a differential variable coefficient, E k For temperature difference, E k-1 Is the previous temperature difference; the temperature difference is equal to the preset temperature minus the current temperature; the preset output period is 5min.
In this embodiment, the acquiring module may acquire the current temperature and send the current temperature to the receiving module; the receiving module receives a scene mode corresponding to the current temperature and sends the scene mode to the correcting module;
the correction module corrects the current temperature according to the scene mode and sends the current temperature to the acquisition module, wherein the correction module acquires the target temperature according to the preset detection heat loss time by using the acquisition unit and sends the acquired target temperature to the calculation unit, and the target temperature is the current temperature acquired when the preset detection heat loss time is detected; the calculating unit calculates the heat loss rate according to the current temperature, the target temperature and the preset detected heat loss time, and sends the heat loss rate to the correcting unit; the correction unit corrects the current temperature according to the heat loss rate.
The obtaining module at this time substitutes the current temperature and the preset temperature into a preset temperature control formula to obtain a temperature control stroke percentage, and sends the temperature control stroke percentage to the determining module, wherein the preset temperature control formula is that
U k =U O +K p E k +K d (E k -E k-1 )
Wherein U is k To control the temperature stroke percentage, U O K is the minimum stroke percentage of preset temperature control p As a proportional variable coefficient, K d As a differential variable coefficient, E k For temperature difference, E k-1 To last oneA temperature difference; the temperature difference is equal to the preset temperature minus the current temperature.
After the determining module receives the temperature control stroke percentage, the temperature control stroke percentage is sent to the judging unit; the judging unit judges whether the temperature control stroke percentage is within a preset motor stroke percentage range or not, and sends a judging result to the adjusting unit; when the judging unit determines that the temperature control stroke percentage is not in the preset motor stroke percentage range, the adjusting unit adjusts the temperature control stroke percentage so that the temperature control stroke percentage is in the preset motor stroke percentage range; when the judging unit determines that the temperature control stroke ratio is in a preset motor stroke percentage range, the adjusting unit does not adjust the temperature control stroke percentage; and finally, the adjusting unit sends the temperature control stroke percentage to the first calculating unit.
The first calculation unit calculates a relation between the current temperature and the preset temperature according to a preset offset, and sends the relation to the determination unit, wherein the preset offset comprises a first offset and a second offset; the first offset is 1 ℃ and the second offset is 0.5 ℃; the determining unit determines the motor travel percentage according to the relation and the temperature control travel percentage, and sends the motor travel percentage to the control module; the control module controls the motor stroke percentage to periodically output according to the preset output period, and periodically controls the temperature according to the motor stroke percentage, wherein the preset output period is 5min.
It should be noted that: in the device provided in the above embodiment, when implementing the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the embodiments of the method are detailed in the method embodiments, which are not repeated herein.
The embodiment of the application provides a temperature control device for intermittently controlling output. The means for intermittently controlling the temperature of the output may comprise: at least one processor, at least one network interface, a user interface, a memory, at least one communication bus.
The processor is configured to invoke a temperature control method having intermittent control outputs stored in the memory, which when executed by the one or more processors, causes the temperature control device of the intermittent control outputs to perform the method as described in one or more of the embodiments above.
The embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements the temperature control method of intermittent control output in the foregoing embodiment, and in order to avoid repetition, details are not repeated here.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
The present embodiment is only for explanation of the present invention and is not to be construed as limiting the present invention, and modifications to the present embodiment, which may not creatively contribute to the present invention as required by those skilled in the art after reading the present specification, are all protected by patent laws within the scope of claims of the present invention.

Claims (10)

1. A temperature control method for intermittently controlling output, comprising:
acquiring a current temperature, substituting the current temperature and a preset temperature into a preset temperature control formula to acquire a temperature control stroke percentage;
determining a motor stroke percentage according to the temperature control stroke percentage and the current temperature;
and controlling the periodic output of the motor stroke percentage according to a preset output period, and periodically controlling the temperature according to the motor stroke percentage.
2. The method according to claim 1, wherein the preset temperature control formula is
U k =U O +K p E k +K d (E k -E k-1 )
Wherein U is k To control the temperature stroke percentage, U O K is the minimum stroke percentage of preset temperature control p As a proportional variable coefficient, K d As a differential variable coefficient, E k For temperature difference, E k-1 Is the previous temperature difference; the temperature difference is equal to the preset temperature minus the current temperature.
3. The temperature control method of claim 1, wherein said determining a motor stroke percentage from said temperature control stroke percentage and said current temperature comprises:
judging whether the temperature control stroke percentage is in a preset motor stroke percentage range or not;
if not, the temperature control stroke percentage is adjusted so that the temperature control stroke percentage is within the preset motor stroke percentage range;
calculating a relation between the current temperature and the preset temperature according to a preset offset;
and determining the motor stroke percentage according to the relation and the temperature control stroke percentage.
4. A temperature control method according to claim 3, further comprising:
if yes, the temperature control stroke percentage is not adjusted.
5. The temperature control method according to claim 1, characterized in that the temperature control method further comprises:
receiving a scene mode corresponding to the current temperature;
and correcting the current temperature according to the scene mode.
6. The temperature control method according to claim 5, wherein said correcting said current temperature according to said scene mode comprises:
acquiring a target temperature according to a preset detection heat loss time, wherein the target temperature is the current temperature acquired during the preset detection heat loss time;
calculating a heat loss rate according to the current temperature, the target temperature and the preset detected heat loss time;
correcting the current temperature according to the heat loss rate.
7. A temperature control method according to claim 3, wherein the preset offset includes a first offset and a second offset; the first offset is 1 ℃ and the second offset is 0.5 ℃.
8. The method according to claim 1, wherein the preset output period is 5min.
9. A temperature control device for intermittently controlling output, comprising:
the first acquisition module is used for acquiring the current temperature, substituting the current temperature and the preset temperature into a preset temperature control formula to acquire the temperature control stroke percentage;
the determining module is used for determining the motor stroke percentage according to the temperature control stroke percentage and the current temperature;
and the control module is used for controlling the periodic output of the motor stroke percentage according to a preset output period and periodically controlling the temperature according to the motor stroke percentage.
10. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the method according to any of claims 1 to 8.
CN202311224977.7A 2023-09-21 2023-09-21 Temperature control method for intermittent control output and related equipment Pending CN117270597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311224977.7A CN117270597A (en) 2023-09-21 2023-09-21 Temperature control method for intermittent control output and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311224977.7A CN117270597A (en) 2023-09-21 2023-09-21 Temperature control method for intermittent control output and related equipment

Publications (1)

Publication Number Publication Date
CN117270597A true CN117270597A (en) 2023-12-22

Family

ID=89203919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311224977.7A Pending CN117270597A (en) 2023-09-21 2023-09-21 Temperature control method for intermittent control output and related equipment

Country Status (1)

Country Link
CN (1) CN117270597A (en)

Similar Documents

Publication Publication Date Title
EP3320411B1 (en) Temperature control method and apparatus
CN111972991B (en) Hot water treatment device and control method and device thereof
CN109237798B (en) Control method of gas combustion device and gas combustion device
CN113531883A (en) Constant temperature control method and device for water heater and water heater
CN110709796A (en) Heating control parameter optimization method and device based on Internet
CN114288502A (en) Temperature and humidity control method of respiratory therapy device and respiratory therapy device
CN117270597A (en) Temperature control method for intermittent control output and related equipment
CN111854109A (en) Indoor temperature control method and device, electronic equipment and storage medium
CN109323410B (en) Air conditioner and control method and device thereof
CN111123699A (en) Control parameter optimization method and device based on dynamic simulation
CN113531882A (en) Water heater constant temperature control method and device based on variable water temperature and water heater
CN110567093A (en) supercooling degree control method and system applied to air treatment unit
CN108050670B (en) Air conditioner control method and air conditioner
WO2016015017A1 (en) Thermostats and operational methods
CN106950835B (en) Simple and robust two-degree-of-freedom proportional-integral control method
CN113778141B (en) Fluid pipeline flow control system with sectional PID control
CN114711638A (en) Control method and device of baking equipment, baking equipment and storage medium
CN117234141B (en) Automatic control system and control method for circulating cooling water treatment
CN114660924A (en) Servo motor energy-saving control system and method
CN114271191B (en) Environment control method, device, computer equipment and storage medium
CN117552085B (en) Monocrystalline silicon shoulder adjusting method and device, electronic equipment and storage medium
CN117111478B (en) Air inlet heat insulation control system and method of warm air furnace
CN111812986B (en) Adaptive vibration active control method, device and system
CN116167188B (en) Circulating water energy-saving data processing method and system
CN116090774A (en) Building energy optimization method and device based on big data and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination