Intelligent temperature control method, system and electronic device
By combining remote control signals and door magnetic signals with an intelligent temperature control platform to determine the operating mode, the temperature of rooms with different functions can be adjusted, which solves the problems of human stimulation and energy waste caused by alternating hot and cold temperatures, and improves comfort and energy saving.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEBEI UNIV OF TECH
- Filing Date
- 2023-05-19
- Publication Date
- 2026-05-15
AI Technical Summary
Existing technologies make it difficult to control the temperature of different functional rooms in different usage scenarios, especially to avoid the stimulation of the human body by alternating hot and cold temperatures when people enter and leave the room, and there is also the problem of energy waste.
The intelligent temperature control platform utilizes remote control, infrared sensor, door magnetic sensor, and temperature adjustment device. By combining remote control signal, infrared signal, and door magnetic signal, the current operating mode is determined, and the temperature of different functional rooms is adjusted according to the upper and lower temperature limits.
It enables temperature control of different functional rooms under different usage scenarios, avoiding the stimulation of the human body caused by alternating hot and cold temperatures, improving comfort, and saving energy.
Smart Images

Figure CN116538663B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent temperature control technology, and in particular to an intelligent temperature control method, system and electronic device. Background Technology
[0002] In winter and summer, people usually add or remove clothing when entering and leaving a room. After adding or removing clothing, the body will increase heat dissipation or heat production to regulate body temperature. At this time, entering the opposite cold or hot environment will cause the body to be stimulated by the alternation of hot and cold, especially the skin and the body temperature regulation center. This can easily lead to fever and colds. In extreme cases, it may even trigger a heart attack emergency for the elderly and other people with poor physical condition. Therefore, indoor intelligent temperature control technology has emerged.
[0003] The utility model patent with publication number CN213019816U, entitled "A Set of Individually Temperature-Controlled Underfloor Heating System", discloses an underfloor heating system that conforms to the traditional Chinese medicine theory of "warm feet and cool head". Although it involves individual temperature control and waste heat recovery, it does not achieve zoned temperature control for different functional rooms.
[0004] The utility model patent with publication number CN203928132U, entitled "A Floor Heating System with Independent Temperature Control for Different Room Zones," controls the temperature of each room by using multiple floor heating thermostats to control the opening and closing of corresponding solenoid valves, thus achieving independent temperature control for each room. While this patent involves zoned temperature control for different rooms, it does not address the setting and adjustment of different temperatures for different functional spaces. For example, it does not address temperature adjustment in multiple scenarios such as when a person leaves the room, when a person has just entered or is about to leave the room, or when a person remains in the room for an extended period, nor does it address temperature control for different functional rooms such as bedrooms and living rooms under these different scenarios.
[0005] Therefore, there is an urgent need for an intelligent indoor temperature control technology that can control the temperature of rooms with different functions under different usage scenarios. Summary of the Invention
[0006] The purpose of this invention is to provide an intelligent temperature control method, system, and electronic device that can control the temperature of rooms with different functions in different usage scenarios.
[0007] To achieve the above objectives, the present invention provides the following solution:
[0008] An intelligent temperature control method, wherein the intelligent temperature control method is applied to an intelligent temperature control platform;
[0009] The intelligent temperature control platform includes a control module, a remote control, an infrared sensor, a door magnetic sensor, and multiple temperature adjustment devices.
[0010] The remote control, the infrared sensor, the door magnetic sensor, and the multiple temperature regulating devices are all connected to the control module;
[0011] The temperature control device is set up one-to-one with multiple spaces in the indoor environment to be tested.
[0012] The intelligent temperature control method includes:
[0013] Acquire remote control signals, infrared signals, and door magnetic signals within the indoor environment to be tested;
[0014] Based on the remote control signal, the infrared signal, and the door magnetic signal, the current operating mode of the indoor environment to be tested is determined; the current operating mode is one of the following: short-term unmanned operation mode, long-term unmanned operation mode, personnel activity operation mode, or personnel rest operation mode;
[0015] Obtain the upper and lower temperature limits for each space within the indoor environment under the current operating mode;
[0016] Determine any space as the current space;
[0017] Obtain the real-time temperature of the current space;
[0018] The temperature of the current space is regulated based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode.
[0019] It traverses all spaces within the indoor environment to be tested and completes the temperature control of the indoor environment to be tested.
[0020] Optionally, the space can be a resting space, a space with an entrance hall, or other spaces; the other spaces can be one or more spaces in the indoor environment to be tested, excluding the resting space and the space with an entrance hall.
[0021] Optionally, the current operating mode of the indoor environment under test is determined based on the remote control signal, the infrared signal, and the door magnetic signal, including:
[0022] Determine whether a remote control signal exists to obtain a first determination result; the remote control signal includes the operating mode selected by the user.
[0023] If the first judgment result is yes, then the operating mode selected by the user is determined to be the current operating mode of the indoor environment to be tested;
[0024] If the first judgment result is negative, then determine whether an infrared signal exists to obtain the second judgment result;
[0025] If the second judgment result is negative, then obtain the operating time of the intelligent temperature control platform;
[0026] The third judgment result is obtained by determining whether the operating time of the intelligent temperature control platform is less than the threshold of the operating time of the intelligent temperature control platform;
[0027] If the third judgment result is negative, then the long-term unmanned operation mode is determined to be the current operation mode of the indoor environment.
[0028] If the third judgment result is yes, then the short-term unmanned operation mode is determined to be the current operation mode of the indoor environment.
[0029] If the second judgment result is yes, then the acquisition time of the infrared signal is determined to be the current infrared time;
[0030] Initialize rest and activity periods;
[0031] Determine whether a door magnetic signal exists to obtain the fourth determination result;
[0032] If the fourth judgment result is yes, then the rest period and the activity period are adjusted according to the door magnetic signal;
[0033] If the fourth judgment result is negative, then determine whether the current infrared time is in a rest period, and obtain the fifth judgment result;
[0034] If the fifth judgment result is negative, then the personnel activity operation mode is determined to be the current operation mode of the indoor environment.
[0035] If the fifth judgment result is yes, then the personnel rest operation mode is determined to be the current operation mode of the indoor environment.
[0036] Optionally, the sum of the rest period and the activity period is 1 day.
[0037] Optionally, adjusting the rest period and the activity period based on the door magnetic signal includes:
[0038] Set the number of door magnetic signal occurrences h during the activity period to 0;
[0039] Let the number of door magnetic signals during the rest period be x=1;
[0040] Let the activity period be the activity adjustment period during the 0th iteration;
[0041] Let the rest period be the same as the rest adjustment period during the 0th iteration;
[0042] The time when the door sensor signal is acquired is determined as the current door sensor time;
[0043] Determine whether the current door sensor is in an active period to obtain the sixth determination result;
[0044] If the sixth judgment result is yes, then the value of h, the number of door magnetic signals during the activity period, is increased by 1, and the activity period is divided into two sub-activity periods with the current door magnetic moment as the dividing point;
[0045] The shortest sub-activity period is determined as the undetermined activity adjustment period in the h-th iteration;
[0046] The activity adjustment period for the h-th iteration is determined by the shortest of the pending activity adjustment period for the h-th iteration and the activity adjustment period for the (h-1)-th iteration.
[0047] If the sixth judgment result is negative, then the value of h, the number of door magnetic signals during the rest period, is increased by 1, and the rest period is divided into two sub-rest periods with the current door magnetic moment as the dividing point.
[0048] The shortest sub-rest period is determined as the undetermined rest adjustment period in the h-th iteration;
[0049] The shortest of the two rest adjustment periods at the h-th iteration and the rest adjustment period at the (h-1)-th iteration is the rest adjustment period at the h-th iteration.
[0050] Return to the step "Determine if there is a door magnetic signal" until the time interval between the current door magnetic moment and the first door magnetic signal reaches the time period threshold, and obtain the number of door magnetic signals h during the active period, the number of door magnetic signals x during the rest period, the active adjustment period, and the rest adjustment period;
[0051] The seventh judgment result is obtained by determining whether the number of door magnetic signals h during the rest period at the end of the iteration is greater than or equal to the product of the number of door magnetic signals x during the rest period and the adjustment coefficient; the adjustment coefficient is less than 1.
[0052] If the seventh judgment result is yes, then the rest period and the activity period are adjusted so that the adjusted rest period includes the rest and adjustment period;
[0053] If the seventh judgment result is negative, then it is determined whether the activity adjustment period is less than the activity adjustment period threshold, and the eighth judgment result is obtained.
[0054] If the eighth judgment result is yes, the activity period is shortened by using the difference between the activity adjustment period and the activity adjustment period threshold as the adjustment amount;
[0055] If the eighth judgment result is negative, then the step "determine whether the current infrared time is in a rest period" is invoked.
[0056] Optionally, based on the real-time temperature of the current space, and the upper and lower temperature limits of the current space under the current operating mode, the temperature of the current space can be adjusted, including:
[0057] The real-time temperature of the current space after obtaining the preset time interval is the current temperature;
[0058] The percentage of time the solenoid valves of the temperature control devices in the current space are open within a preset time interval is obtained as the percentage of the current time.
[0059] The current temperature is determined to be within the temperature range bounded by the upper and lower temperature limits of the current space under the current operating mode, resulting in the ninth judgment result;
[0060] If the result of the ninth judgment is negative, then the current time percentage is adjusted.
[0061] If the ninth judgment result is yes, then the temperature regulation of the current space is completed.
[0062] Optionally, adjusting the current time percentage includes:
[0063] If the current temperature is lower than the lower limit of the current space under the current operating mode, reduce the proportion of the current time.
[0064] If the current temperature is greater than the upper limit of the current space temperature under the current operating mode, increase the current time percentage.
[0065] Optionally, adjusting the current time percentage also includes:
[0066] Before the temperature regulation of the current space is completed, if the number of adjustments to the current time percentage is greater than the preset number of adjustments, the product of the current time percentage and the adjustment coefficient is used as the updated current time percentage; the adjustment coefficient is greater than 1.
[0067] An intelligent temperature control system includes:
[0068] The signal acquisition module is used to acquire remote control signals, infrared signals, and door magnetic signals in the indoor environment under test.
[0069] The current operating mode determination module is used to determine the current operating mode of the indoor environment to be tested based on the remote control signal, the infrared signal, and the door magnetic signal; the current operating mode is one of the following: short-term unattended operating mode, long-term unattended operating mode, personnel activity operating mode, or personnel rest operating mode;
[0070] The temperature limit acquisition module is used to acquire the upper and lower temperature limits of each space in the indoor environment under the current operating mode.
[0071] The current space determination module is used to determine any space as the current space;
[0072] The real-time temperature acquisition module is used to acquire the real-time temperature of the current space.
[0073] The space temperature control module is used to control the temperature of the current space based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode.
[0074] The ambient temperature control module is used to traverse all spaces within the indoor environment to be tested and complete the temperature control of the indoor environment to be tested.
[0075] An electronic device includes a memory and a processor, the memory being used to store a computer program, and the processor running the computer program to cause the electronic device to perform the intelligent temperature control method described above.
[0076] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0077] This invention provides an intelligent temperature control method, system, and electronic device. The intelligent temperature control method is applied to an intelligent temperature control platform. The method includes: determining the current operating mode of the indoor environment under test based on remote control signals, infrared signals, and door magnetic signals; obtaining the upper and lower temperature limits for each space within the indoor environment under the current operating mode; and adjusting the temperature of the current space based on its real-time temperature, as well as the upper and lower temperature limits under the current operating mode, thereby completing the temperature control of the indoor environment under test. This invention, by determining the current operating mode of the indoor environment under test, enables separate temperature control for different functional rooms in different usage scenarios. Attached Figure Description
[0078] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0079] Figure 1 This is a flowchart of the intelligent temperature control method in Embodiment 1 of the present invention;
[0080] Figure 2 This is a schematic diagram of the intelligent temperature control method in Embodiment 1 of the present invention;
[0081] Figure 3 This is a flowchart of the method for adjusting rest periods and activity periods in Embodiment 1 of the present invention. Detailed Implementation
[0082] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0083] The purpose of this invention is to provide an intelligent temperature control method, system, and electronic device that can control the temperature of rooms with different functions in different usage scenarios.
[0084] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0085] Example 1
[0086] This embodiment provides an intelligent temperature control method, which is applied to an intelligent temperature control platform. The intelligent temperature control platform includes a control module, a remote controller, an infrared sensor, a door magnetic sensor, and multiple temperature adjustment devices. The remote controller, infrared sensor, door magnetic sensor, and multiple temperature adjustment devices are all connected to the control module. The temperature adjustment devices are set up one-to-one with multiple spaces in the indoor environment to be tested.
[0087] The intelligent temperature control platform includes infrared sensors, door magnetic contacts, and solenoid or electric valves. This platform first uses infrared sensors and door magnetic contacts to determine the operating mode: long-term unattended operation, short-term unattended operation, personnel activity operation, and personnel rest operation. Based on the different operating modes, the system sets corresponding high and low temperature values for rooms with entryways, rest areas, and other spaces. By adjusting the opening and closing time of the solenoid valves or the opening and closing angle of the electric valves, the temperature in different rooms is adjusted to reach the set value. This ensures that people do not fall ill due to temperature fluctuations when entering and leaving the rooms, thus protecting human health and achieving energy conservation.
[0088] like Figures 1-3 As shown, the intelligent temperature control method provided in the embodiment includes:
[0089] Step 101: Acquire remote control signals, infrared signals, and door magnetic signals within the indoor environment to be tested.
[0090] Step 102: Determine the current operating mode of the indoor environment to be tested based on the remote control signal, infrared signal and door magnetic signal.
[0091] The current operating mode is one of the following: short-term unmanned operation mode, long-term unmanned operation mode, personnel activity operation mode, or personnel rest operation mode.
[0092] Step 103: Obtain the upper and lower temperature limits for each space in the indoor environment under the current operating mode.
[0093] The space refers to a rest area, a space with an entrance hall, and other spaces; other spaces refer to one or more spaces within the indoor environment to be tested, excluding the rest area and the space with an entrance hall.
[0094] Step 104: Determine any space as the current space.
[0095] Step 105: Obtain the real-time temperature of the current space.
[0096] Step 106: Adjust the temperature of the current space based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode.
[0097] Step 107: Traverse all spaces within the indoor environment to be tested and complete the temperature control of the indoor environment to be tested.
[0098] Step 102 includes:
[0099] Step 1021: Determine whether a remote control signal exists and obtain a first determination result; the remote control signal includes the operating mode selected by the user; if the first determination result is yes, then proceed to step 1022; if the first determination result is no, then proceed to step 1023.
[0100] Step 1022: Determine that the operating mode selected by the user is the current operating mode of the indoor environment to be tested.
[0101] Step 1023: Determine whether an infrared signal exists and obtain a second determination result; if the second determination result is yes, proceed to step 1028; if the second determination result is no, proceed to step 1024.
[0102] Step 1024: Obtain the operating time of the intelligent temperature control platform.
[0103] Step 1025: Determine whether the operating time of the intelligent temperature control platform is less than the threshold for the operating time of the intelligent temperature control platform, and obtain the third judgment result; if the third judgment result is yes, then proceed to step 1027; if the third judgment result is no, then proceed to step 1026.
[0104] Step 1026: Determine the long-term unattended operation mode as the current operation mode of the indoor environment.
[0105] Step 1027: Determine the short-term unmanned operation mode as the current operation mode of the indoor environment.
[0106] Step 1028: Determine the infrared signal acquisition time as the current infrared time.
[0107] Step 1029: Initialize rest periods and activity periods. The sum of the rest periods and activity periods is 1 day.
[0108] Step 10210: Determine whether a door magnetic signal exists to obtain the fourth determination result; if the fourth determination result is yes, then proceed to step 10211; if the fourth determination result is no, then proceed to step 10212.
[0109] Step 10211: Adjust the rest period and activity period according to the door magnetic signal.
[0110] Step 10212: Determine whether the current infrared time is in a rest period and obtain the fifth judgment result; if the fifth judgment result is yes, then proceed to step 10214; if the fifth judgment result is no, then proceed to step 10213.
[0111] Step 10213: Determine the personnel activity operation mode as the current operation mode of the indoor environment.
[0112] Step 10214: Determine the personnel rest operation mode as the current operation mode of the indoor environment.
[0113] Step 10211 includes:
[0114] Step 10211-1: Set the number of door magnetic signals during the active period h=0.
[0115] Step 10211-2: Set the number of door magnetic signals during the rest period to x=1.
[0116] Step 10211-3: Set the activity period to the activity adjustment period of the 0th iteration.
[0117] Step 10211-4: Set the rest period to the rest adjustment period of the 0th iteration.
[0118] Step 10211-5: Determine the time when the door magnetic signal is acquired as the current door magnetic time.
[0119] Step 10211-6: Determine whether the current door sensor is in an active period to obtain the sixth judgment result; if the sixth judgment result is yes, then proceed to step 10211-7; if the sixth judgment result is no, then proceed to step 10211-10.
[0120] Step 10211-7: Increase the value of h, the number of door magnetic signals during the active period, by 1, and divide the active period into two sub-active periods using the current door magnetic moment as the dividing point.
[0121] Step 10211-8: Determine the shortest sub-activity period as the pending activity adjustment period in the h-th iteration.
[0122] Step 10211-9: Determine the activity adjustment period for the h-th iteration as the activity adjustment period for the h-th iteration, which is the shortest of the pending activity adjustment period for the h-th iteration.
[0123] Step 10211-10: Increase the value of the number of door magnetic signals x during the rest period by 1, and divide the rest period into two sub-rest periods with the current door magnetic time as the dividing point.
[0124] Step 10211-11: Determine the shortest sub-rest period as the undetermined rest adjustment period for the h-th iteration.
[0125] Steps 10211-12: Determine the shortest of the two rest adjustment periods during the h-th iteration and the rest adjustment period during the (h-1)-th iteration as the rest adjustment period during the h-th iteration.
[0126] Steps 10211-13: Return to step 10210 until the time interval between the current door magnetic moment and the first door magnetic signal reaches the time period threshold, and obtain the number of door magnetic signals h during the active period, the number of door magnetic signals x during the rest period, the active adjustment period, and the rest adjustment period.
[0127] Step 10211-14: Determine whether the number of door magnetic signals h during the rest period at the end of the iteration is greater than or equal to the product of the number of door magnetic signals x during the rest period and the adjustment coefficient, and obtain the seventh judgment result; the adjustment coefficient is less than 1; if the seventh judgment result is yes, then execute step 10211-15; if the seventh judgment result is no, then execute step 10211-16.
[0128] Steps 10211-15: Adjust the rest period and activity period so that the adjusted rest period includes the rest and adjustment period.
[0129] Step 10211-16: Determine whether the activity adjustment period is less than the activity adjustment period threshold to obtain the eighth judgment result; if the eighth judgment result is yes, then proceed to step 10211-17; if the eighth judgment result is no, then proceed to step 10211-18.
[0130] Step 10211-17: If the result of the eighth judgment is yes, the activity period is shortened by using the difference between the activity adjustment period and the activity adjustment period threshold as the adjustment amount.
[0131] Steps 10211-18: If the result of the eighth judgment is negative, then call step 10212.
[0132] Step 106 includes:
[0133] Step 1061: Obtain the real-time temperature of the current space after a preset time interval as the current temperature.
[0134] Step 1062: Obtain the percentage of time the solenoid valve of the temperature regulating device in the current space is open within the preset time interval as the current time percentage.
[0135] Step 1063: Determine if the current temperature falls within the temperature range bounded by the upper and lower temperature limits of the current space under the current operating mode, and obtain the ninth determination result. If the ninth determination result is yes, proceed to step 1065; if the ninth determination result is no, proceed to step 1064.
[0136] Step 1064: Adjust the current time percentage.
[0137] Step 1065: Complete the temperature control of the current space.
[0138] Step 1064 includes:
[0139] Step 10641: If the current temperature is lower than the lower limit of the current space temperature under the current operating mode, reduce the current time percentage.
[0140] Step 10642: If the current temperature is greater than the upper limit of the current space temperature in the current operating mode, increase the current time percentage.
[0141] Step 10643: Before completing the temperature control of the current space, if the number of times the current time percentage is adjusted is greater than the preset number of adjustments, the product of the current time percentage and the adjustment coefficient is used as the updated current time percentage; the adjustment coefficient is greater than 1.
[0142] The control system is turned on and the program is initialized. The initial value of m is 50%, which is the percentage of the previous solenoid valve opening time in the corresponding functional space. n=0, n1=0, n2=0 are set as counters to adjust m. Δm is the change value of the percentage of solenoid valve opening time, which is initially set to Δm=10%. ΔT is a time interval for measuring the indoor temperature of the corresponding space and the percentage of the corresponding solenoid valve opening time, which is initially set to ΔT=10min.
[0143] When selecting a mode, you can manually operate the control panel to select the mode or remotely control it through other devices such as mobile phones. You can also directly select the system's long-term unattended operation mode.
[0144] When entering automatic control mode, if there is an infrared signal indoors, the system will iterate through the start or end time of the rest period. Initially, the start time of the rest period is set to t1, and the end time to t2. All other times are considered active periods, i.e., t2~t1 is the active period, and t1~t2 is the rest period. Initially, both time points are manually set; if no setting is made, the default values are t1=19:00 and t2=7:00. These will be adjusted through iterative runs later. The number of door magnetic signal occurrences (x) during the rest period and the number of door magnetic signal occurrences (h) during the active period are both initially set to 0.
[0145] When there is no magnetic gate signal, directly determine whether the current time t when there is an indoor infrared signal is during the rest period.
[0146] When a door magnetic signal is present, record the time point of the door magnetic signal as t. If t If the activity falls between t2 and t1, then increment the door magnetic signal count h by 1 during the activity period, and calculate t respectively. Given time intervals Δt2 and Δt1 with respect to t2 and t1, compare the magnitudes of Δt2 and Δt1, take the smaller value, and compare it with the previous corresponding value, retaining the smaller value Δt. If t If the signal does not fall within the range of t2 to t1, then increment the number of door magnetic signals (x) during the rest period by 1, and calculate t separately. The time interval Δt2 between t2 and t1 ’ , △t1 ’ Compare △t2 ’ , △t1 ’ The smaller value is taken and compared with the previous corresponding value, retaining the smaller value Δt. ’ .
[0147] After the above process has gone through 1-2 time cycles, if x ≥ h / 20, then adjust t1 and t2 corresponding to Δt' to increase the rest interval by Δt' + Δt0, where Δt0 is the initial time interval set by the system, which is 10 minutes. If x If h / 20 and Δt ≥ Δt0, then adjust t1 and t2 corresponding to Δt to reduce its activity range by Δt - Δt0. Then determine whether the current time t with an indoor infrared signal is within a rest period. If If h / 20 and Δt < Δt0, then directly determine whether the current time t when there is an indoor infrared signal is during a rest period.
[0148] If the current time t falls within a rest period, the system enters the personnel rest operation mode; otherwise, the system enters the personnel activity operation mode. When there is no infrared signal indoors, the timer T is started. If T < T0, where T0 is a time period set by the system (initially 10 minutes), the system enters the short-term unattended operation mode; otherwise, the system enters the long-term unattended operation mode.
[0149] After the above procedures are completed, the system has determined the indoor operating mode and can adjust the temperature of each functional room according to Table 1 in the corresponding mode.
[0150] Based on different operating modes, the system sets corresponding high and low temperature values for spaces with entryways, rest areas, and other spaces. As shown in Table 1, the high and low temperatures for the corresponding functional spaces are as follows: K H To set the maximum temperature, This represents the maximum temperature value of the corresponding space under the given operating mode. For example, in Table 1, the maximum temperature value of the space with an entryway under the long-term unattended operation mode is K. 11H This represents an initial value of 10℃. K L To set the minimum temperature, This represents the minimum temperature value for the corresponding space under the given operating mode. For example, in Table 1, the minimum temperature value for a space with an entryway under the long-term unattended operating mode is K. 11L This represents an initial value of 5℃. Therefore, the system completes the setting of K... H At K L The settings were configured, and the temperature of each functional room was measured and adjusted.
[0151] The corresponding indoor temperature K and the percentage of solenoid valve opening time m were determined by measuring the time ΔT.
[0152] If the indoor temperature K < K L The system will then increase the solenoid valve opening time. This causes the temperature to rise, and conversely, the indoor temperature K > K. H This indicates that the temperature is higher than the set maximum temperature value. The system then shortens the opening time of the solenoid valve to lower the temperature. .
[0153] If n1=n2=1, it indicates that m is too large. (n=0, n1=0, n2=0), reduce the value of Δm, and vice versa. This indicates that m is too small. (n=0, n1=0, n2=0), increase the value of Δm. After the above Δm adjustment program ends, after a time interval of ΔT, re-enter the program to measure the corresponding indoor temperature K and the corresponding percentage of solenoid valve opening time m. If n1=n2≠1, and If m is adjusted appropriately, after a time interval ΔT, the program for measuring K and m is restarted. This process is repeated until the indoor temperature K reaches the set high or low range. L <K<K H .
[0154] If K L <K<K H If the temperature K in the corresponding room is suitable, the entire intelligent temperature control process will end if the control system is turned off; otherwise, it will return to automatic control mode and the program will continue.
[0155] After the above procedures are completed, the system has adjusted each functional room to the set temperature value according to the corresponding operating mode. When people enter and exit the room, the temperature of the indoor entrance space is relatively comfortable even after people add or remove clothing. The non-entrance spaces are maintained within their respective temperature ranges, which not only ensures the comfortable temperature of people indoors, but also avoids the alternating stimulation of hot and cold caused by people adding or removing clothing when entering and exiting the room, thus protecting human health.
[0156] This embodiment can also be used in summer when outdoor temperatures are high, while indoor temperatures are usually low due to air conditioning and other cooling equipment. When people enter and exit the room, adding or removing clothing causes alternating shocks to the body, which can easily induce illness. Therefore, a cooling system is needed that can determine different usage scenarios and control the temperature of different functional rooms. Four operating modes are set: short-term vacancy, long-term vacancy, activity, and rest. In each mode, different temperature ranges are set for the entryway, rest area, and other spaces. The cooling device adjusts the temperature of each room to the set value. This ensures that people do not get sick due to alternating hot and cold temperatures when entering and exiting the room, thus protecting human health.
[0157] This embodiment can also be applied to housing with rooms having varying usage frequencies, such as resort farmhouses, where occupancy rates are low during normal times and high during holidays. Lowering the heating temperature during low occupancy periods would significantly impact the living experience, while maintaining all spaces at comfortable human temperatures would waste energy in unoccupied areas. Therefore, different temperature controls can be implemented for different functional spaces, ensuring comfortable temperatures in occupied rooms while keeping other spaces at lower temperatures for unoccupied areas, thus achieving energy conservation and cost savings. For example, some rural families are typically inhabited only by the elderly during normal times, with most young people returning during holidays, resulting in significant differences in occupancy rates. Similarly, housing near tourist attractions like hot spring towns and summer resorts is often only occupied during holidays, remaining largely unoccupied during other times. This embodiment is applicable to housing with varying usage frequencies in these cases.
[0158] Example 2
[0159] In order to perform the method corresponding to Embodiment 1 above and achieve the corresponding functions and technical effects, an intelligent temperature control system is provided below, including:
[0160] The signal acquisition module is used to acquire remote control signals, infrared signals, and door magnetic signals in the indoor environment under test.
[0161] The current operating mode determination module is used to determine the current operating mode of the indoor environment under test based on remote control signals, infrared signals, and door magnetic signals; the current operating mode is one of the following: short-term unmanned operation mode, long-term unmanned operation mode, personnel activity operation mode, or personnel rest operation mode.
[0162] The temperature limit acquisition module is used to acquire the upper and lower temperature limits of each space in the indoor environment under the current operating mode.
[0163] The current space determination module is used to determine any space as the current space.
[0164] The real-time temperature acquisition module is used to acquire the real-time temperature of the current space.
[0165] The space temperature control module is used to regulate the temperature of the current space based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode.
[0166] The ambient temperature control module is used to traverse all spaces within the indoor environment to be tested and complete the temperature control of the indoor environment to be tested.
[0167] Example 3
[0168] This embodiment provides an electronic device, including a memory and a processor. The memory is used to store computer programs, and the processor runs the computer programs to enable the electronic device to perform the intelligent temperature control method described in Embodiment 1.
[0169] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.
[0170] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A smart temperature control method, characterized in that, The intelligent temperature control method is applied to an intelligent temperature control platform; The intelligent temperature control platform includes a control module, a remote control, an infrared sensor, a door magnetic sensor, and multiple temperature adjustment devices. The remote control, the infrared sensor, the door magnetic sensor, and the multiple temperature regulating devices are all connected to the control module; The temperature control device is set up one-to-one with multiple spaces in the indoor environment to be tested. The intelligent temperature control method includes: Acquire remote control signals, infrared signals, and door magnetic signals within the indoor environment to be tested; Based on the remote control signal, the infrared signal, and the door magnetic signal, the current operating mode of the indoor environment to be tested is determined; the current operating mode is one of the following: short-term unmanned operation mode, long-term unmanned operation mode, personnel activity operation mode, or personnel rest operation mode; Obtain the upper and lower temperature limits for each space within the indoor environment under the current operating mode; Determine any space as the current space; Obtain the real-time temperature of the current space; The temperature of the current space is regulated based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode. The temperature of the indoor environment under test is controlled by traversing all spaces within the indoor environment under test. Based on the remote control signal, the infrared signal, and the door magnetic signal, the current operating mode of the indoor environment under test is determined, including: Determine whether a remote control signal exists to obtain a first determination result; the remote control signal includes the operating mode selected by the user. If the first judgment result is yes, then the operating mode selected by the user is determined to be the current operating mode of the indoor environment to be tested; If the first judgment result is negative, then determine whether an infrared signal exists to obtain the second judgment result; If the second judgment result is negative, then obtain the operating time of the intelligent temperature control platform; The third judgment result is obtained by determining whether the operating time of the intelligent temperature control platform is less than the threshold of the operating time of the intelligent temperature control platform; If the third judgment result is negative, then the long-term unmanned operation mode is determined to be the current operation mode of the indoor environment. If the third judgment result is yes, then the short-term unmanned operation mode is determined to be the current operation mode of the indoor environment. If the second judgment result is yes, then the acquisition time of the infrared signal is determined to be the current infrared time; Initialize rest and activity periods; Determine whether a door magnetic signal exists to obtain the fourth determination result; If the fourth judgment result is yes, then the rest period and the activity period are adjusted according to the door magnetic signal; If the fourth judgment result is negative, then determine whether the current infrared time is in a rest period, and obtain the fifth judgment result; If the fifth judgment result is negative, then the personnel activity operation mode is determined to be the current operation mode of the indoor environment. If the fifth judgment result is yes, then the personnel rest operation mode is determined to be the current operation mode of the indoor environment.
2. The intelligent temperature control method according to claim 1, characterized in that, The space refers to a resting space, a space with an entrance hall, and other spaces; the other spaces refer to one or more spaces within the indoor environment to be tested, excluding the resting space and the space with an entrance hall.
3. The intelligent temperature control method according to claim 1, characterized in that, The sum of the rest period and the activity period is 1 day.
4. The intelligent temperature control method according to claim 1, characterized in that, The adjustment of the rest period and the activity period based on the door magnetic signal includes: Set the number of door magnetic signal occurrences h during the activity period to 0; Let the number of door magnetic signals during the rest period be x=1; Let the activity period be the activity adjustment period during the 0th iteration; Let the rest period be the same as the rest adjustment period during the 0th iteration; The time when the door sensor signal is acquired is determined as the current door sensor time; Determine whether the current door sensor is in an active period to obtain the sixth determination result; If the sixth judgment result is yes, then the value of h, the number of door magnetic signals during the activity period, is increased by 1, and the activity period is divided into two sub-activity periods with the current door magnetic moment as the dividing point; The shortest sub-activity period is determined as the undetermined activity adjustment period in the h-th iteration; The activity adjustment period for the h-th iteration is determined by the shortest of the pending activity adjustment period for the h-th iteration and the activity adjustment period for the (h-1)-th iteration. If the sixth judgment result is negative, then the value of h, the number of door magnetic signals during the rest period, is increased by 1, and the rest period is divided into two sub-rest periods with the current door magnetic moment as the dividing point. The shortest sub-rest period is determined as the undetermined rest adjustment period in the h-th iteration; The shortest of the two rest adjustment periods at the h-th iteration and the rest adjustment period at the (h-1)-th iteration is the rest adjustment period at the h-th iteration. Return to the step "Determine if there is a door magnetic signal" until the time interval between the current door magnetic moment and the first door magnetic signal reaches the time period threshold, and obtain the number of door magnetic signals h during the active period, the number of door magnetic signals x during the rest period, the active adjustment period, and the rest adjustment period; The seventh judgment result is obtained by determining whether the number of door magnetic signals h during the rest period at the end of the iteration is greater than or equal to the product of the number of door magnetic signals x during the rest period and the adjustment coefficient; the adjustment coefficient is less than 1. If the seventh judgment result is yes, then the rest period and the activity period are adjusted so that the adjusted rest period includes the rest and adjustment period; If the seventh judgment result is negative, then it is determined whether the activity adjustment period is less than the activity adjustment period threshold, and the eighth judgment result is obtained. If the eighth judgment result is yes, the activity period is shortened by using the difference between the activity adjustment period and the activity adjustment period threshold as the adjustment amount; If the eighth judgment result is negative, then the step "determine whether the current infrared time is in a rest period" is invoked.
5. The intelligent temperature control method according to claim 1, characterized in that, Based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode, the temperature of the current space is regulated, including: The real-time temperature of the current space after obtaining the preset time interval is the current temperature; The percentage of time the solenoid valves of the temperature control devices in the current space are open within a preset time interval is obtained as the percentage of the current time. The current temperature is determined to be within the temperature range bounded by the upper and lower temperature limits of the current space under the current operating mode, resulting in the ninth judgment result; If the result of the ninth judgment is negative, then the current time percentage is adjusted. If the ninth judgment result is yes, then the temperature regulation of the current space is completed.
6. The intelligent temperature control method according to claim 5, characterized in that, Adjusting the current time percentage includes: If the current temperature is lower than the lower limit of the current space under the current operating mode, reduce the proportion of the current time. If the current temperature is greater than the upper limit of the current space temperature under the current operating mode, increase the current time percentage.
7. The intelligent temperature control method according to claim 6, characterized in that, Adjusting the current time percentage also includes: Before the temperature regulation of the current space is completed, if the number of adjustments to the current time percentage is greater than the preset number of adjustments, the product of the current time percentage and the adjustment coefficient is used as the updated current time percentage; the adjustment coefficient is greater than 1.
8. An intelligent temperature control system, characterized in that, The system employs the intelligent temperature control method as described in any one of claims 1-7, and the system comprises: The signal acquisition module is used to acquire remote control signals, infrared signals, and door magnetic signals in the indoor environment under test. The current operating mode determination module is used to determine the current operating mode of the indoor environment to be tested based on the remote control signal, the infrared signal, and the door magnetic signal; the current operating mode is one of the following: short-term unattended operation mode, long-term unattended operation mode, personnel activity operation mode, or personnel rest operation mode; The temperature limit acquisition module is used to acquire the upper and lower temperature limits of each space in the indoor environment under the current operating mode. The current space determination module is used to determine any space as the current space; The real-time temperature acquisition module is used to acquire the real-time temperature of the current space. The space temperature control module is used to control the temperature of the current space based on the real-time temperature of the current space, as well as the upper and lower temperature limits of the current space under the current operating mode. The ambient temperature control module is used to traverse all spaces within the indoor environment to be tested and complete the temperature control of the indoor environment to be tested.
9. An electronic device, characterized in that, The device includes a memory and a processor, the memory being used to store a computer program, and the processor running the computer program to cause the electronic device to perform an intelligent temperature control method according to any one of claims 1 to 7.