Electric heating towel rack temperature control method and system, electronic equipment and storage medium
By obtaining target gear information and ambient temperature values, calculating the target power, and automatically adjusting the heating temperature of the electric towel rack, the problem of high cost and low reliability of the electric towel rack under sensor feedback control is solved, and constant temperature heating and energy saving is achieved .
Patent Information
- Application Number
- CN202411067478.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-12-17
AI Technical Summary
The existing electric towel racks have high cost and low reliability, mainly because the sensor feedback control method requires long-term detection and heating at fixed power, which is easily affected by the external environment, resulting in unstable heating temperature.
By obtaining the target gear information and ambient temperature value, the target power is calculated using the preset gear temperature-power information and the compensation power calculation formula, the heating temperature of the electric heating towel rack is automatically adjusted to avoid external environment influences, and constant temperature heating is achieved.
It effectively reduces the cost of electric towel racks, improves its reliability, ensures constant temperature heating effect, and achieves the purpose of saving electricity and cost saving.
Smart Images

Figure CN119148779A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the technical field of electric towel rack control, and in particular to a temperature control method, system, electronic device and storage medium for an electric towel rack. Background Art
[0002] With the continuous development of science and technology and the continuous improvement of the quality of life, electric towel racks are becoming more and more popular among the public. Electric towel racks can quickly dry towels and effectively prevent the growth of harmful bacteria such as mold, bacteria, mites, etc. in a humid environment. They are healthy and environmentally friendly. In the related art, sensor feedback methods are usually used to control the heating of electric towel racks, such as gravity sensors, temperature sensors, humidity sensors, and infrared sensors. The sensors detect whether there are towels on the electric towel rack. When the towels are placed on the electric towel rack, the electric towel rack is controlled to heat at a fixed power. However, the method of heating based on sensor feedback requires the sensor to start detection for a long time and start heating at a fixed power. Moreover, the detection process is easily affected by the external environment, which causes sensor detection errors, resulting in the electric towel rack not only having high cost but also low reliability. Summary of the invention
[0003] The embodiments of the present application provide a temperature control method, system, electronic device and storage medium for an electric heated towel rack, which can effectively reduce the cost of the electric heated towel rack and improve the reliability of the electric heated towel rack.
[0004] In a first aspect, an embodiment of the present application provides a temperature control method for an electric heated towel rack, which is applied to the electric heated towel rack. The method comprises:
[0005] Get target gear information;
[0006] Determining the rated power according to the target gear information and the preset gear temperature-power information;
[0007] Get the ambient temperature value;
[0008] Calculating a first compensation power according to the rated power, the ambient temperature value and a preset compensation power calculation formula;
[0009] Obtaining a target power according to the rated power and the first compensation power;
[0010] The electric towel rack is controlled to heat according to the target power.
[0011] According to the temperature control method of the electric towel rack of the first embodiment of the present application, there are at least the following beneficial effects: the target gear information is obtained, and the user's heating temperature requirement can be determined based on the target gear information, so as to determine the rated power according to the target gear information and the preset gear temperature-power information. The ambient temperature value is obtained to detect the ambient temperature of the electric towel rack, and then the first compensation power is calculated according to the rated power, the ambient temperature value and the preset compensation power calculation formula to achieve automatic adjustment of the compensation power according to the ambient temperature, so that the heating temperature of the electric towel rack is stable, and the reliability of the electric towel rack can be effectively guaranteed. The target power is obtained according to the rated power and the first compensation power, and then the electric towel rack is controlled to heat according to the target power, so as to avoid the heating temperature of the electric towel rack being affected by the external environment and causing the heating temperature to be insufficient or too high. Compared with the method of using sensor feedback to control the electric towel rack to start heating with a fixed power in the related art, the constant temperature heating effect of the electric towel rack can be effectively guaranteed, and the effect of saving electricity and cost can be achieved at the same time.
[0012] According to some embodiments of the first aspect of the present application, determining the rated power according to the target gear information and preset gear temperature-power information includes:
[0013] Determining a target temperature value according to the target gear information and preset gear-temperature information;
[0014] The rated power is determined according to the target temperature value and preset gear temperature-power information.
[0015] According to some embodiments of the first aspect of the present application, after determining the rated power according to the target gear information and the preset gear temperature-power information, the method further includes:
[0016] Controlling the electric towel rack to heat according to the rated power;
[0017] Get the first preheating time;
[0018] When the first preheating time reaches the preset rated power heating time, the electric towel rack is controlled to heat according to the target power.
[0019] According to some embodiments of the first aspect of the present application, controlling the heated towel rack to heat according to the rated power includes:
[0020] Determine PWM pulse width data according to the rated power;
[0021] Generate a driving signal according to the PWM pulse width data;
[0022] The electric towel rack is controlled to heat according to the driving signal.
[0023] According to some embodiments of the first aspect of the present application, the compensation power calculation formula is:
[0024] P 1 =K[t 0 -(t 1 -25)]·P t ;
[0025] Among them, P 1 represents the compensation power, K represents the proportionality coefficient, t 0 Indicates the target temperature value, t 1 Indicates the ambient temperature value, P t It indicates the power required to maintain a constant temperature for every 1°C rise in temperature.
[0026] According to some embodiments of the first aspect of the present application, the method further includes:
[0027] Get periodic temperature data;
[0028] Generating compensation power prediction data according to the periodic temperature data and a preset compensation power prediction model;
[0029] Determine a second compensation power according to the compensation power prediction data and the ambient temperature value;
[0030] A target power is obtained according to the rated power and the second compensation power.
[0031] According to some embodiments of the first aspect of the present application, after controlling the heated towel rack to heat according to the target power, the method further includes:
[0032] Get the second heating time;
[0033] When the second heating time reaches the preset maximum heating time, the electric towel rack is controlled to stop heating.
[0034] In a second aspect, an embodiment of the present application provides a temperature control system for an electric heated towel rack, the system comprising:
[0035] A gear information acquisition module, wherein the gear information acquisition module is used to acquire target gear information;
[0036] A rated power determination module, the rated power determination module is used to determine the rated power according to the target gear information and preset gear temperature-power information;
[0037] An ambient temperature acquisition module, wherein the ambient temperature acquisition module is used to acquire an ambient temperature value;
[0038] A compensation power calculation module, the compensation power calculation module is used to calculate a first compensation power according to the rated power, the ambient temperature value and a preset compensation power calculation formula;
[0039] a target power determination module, the target power determination module being configured to obtain a target power according to the rated power and the first compensation power;
[0040] A heating control module is used to control the electric towel rack to heat according to the target power.
[0041] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the temperature control method for the electric towel rack as described in the first aspect is implemented.
[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the temperature control method of the electric towel rack as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0044] Figure 1 This is an optional step flow chart of the temperature control method of the electric towel rack provided in the embodiment of the present application;
[0045] Figure 2 is an optional step flow chart of the method for determining the rated power provided in an embodiment of the present application;
[0046] Figure 3 is another optional step flow chart of the temperature control method of the electric towel rack provided in the embodiment of the present application;
[0047] Figure 4 This is an optional step flow chart of the electric towel rack heating method provided in the embodiment of the present application;
[0048] Figure 5 is an optional step flow chart of the method for determining target power provided in an embodiment of the present application;
[0049] Figure 6 is another optional step flow chart of the temperature control method of the electric towel rack provided in the embodiment of the present application;
[0050] Figure 7 This is an optional module schematic diagram of the electric towel rack temperature control system provided in the embodiment of the present application;
[0051] Figure 8 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] In the description of this application, “several” means one or more, “more” means more than two, “greater than”, “less than”, “exceed”, etc. are understood to exclude the number, and “above”, “below”, “within”, etc. are understood to include the number.
[0054] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0055] With the continuous development of science and technology and the continuous improvement of the quality of life, electric towel racks are becoming more and more popular among the public. Electric towel racks can quickly dry towels and effectively prevent the growth of harmful bacteria such as mold, bacteria, mites, etc. in a humid environment. They are healthy and environmentally friendly. In the related art, sensor feedback methods are usually used to control the heating of electric towel racks, such as gravity sensors, temperature sensors, humidity sensors, and infrared sensors. The sensors detect whether there are towels on the electric towel rack. When the towels are placed on the electric towel rack, the electric towel rack is controlled to heat at a fixed power. However, the method of heating based on sensor feedback requires the sensor to start detection for a long time and start heating at a fixed power. Moreover, the detection process is easily affected by the external environment, which causes sensor detection errors, resulting in the electric towel rack not only having high cost but also low reliability.
[0056] In view of the problem that electric towel racks have high cost and low reliability, the present application provides a temperature control method, system, electronic device and storage medium for electric towel racks, including: obtaining target gear information; determining the rated power according to the target gear information and preset gear temperature-power information; obtaining the ambient temperature value; calculating the first compensation power according to the rated power, the ambient temperature value and the preset compensation power calculation formula; obtaining the target power according to the rated power and the first compensation power; and controlling the electric towel rack to heat according to the target power. The target gear information is obtained, and the user's heating temperature requirement can be determined based on the target gear information, so that the rated power can be determined according to the target gear information and the preset gear temperature-power information. The ambient temperature value is obtained to detect the ambient temperature of the electric towel rack, and then the first compensation power is calculated according to the rated power, the ambient temperature value and the preset compensation power calculation formula to achieve automatic adjustment of the compensation power according to the ambient temperature, so that the heating temperature of the electric towel rack is stable, and the reliability of the electric towel rack can be effectively guaranteed. The target power is obtained according to the rated power and the first compensation power, and the electric towel rack is then controlled to heat according to the target power, so as to avoid the heating temperature of the electric towel rack being affected by the external environment, resulting in insufficient or excessive heating temperature. Compared with the method of using sensor feedback to control the electric towel rack to start heating with a fixed power in the related art, it can effectively ensure the constant temperature heating effect of the electric towel rack, while achieving the effect of saving electricity and cost.
[0057] The electric towel rack temperature control method, system, electronic device and storage medium provided in the embodiment of the present application are specifically explained through the following embodiments. First, the electric towel rack temperature control method in the embodiment of the present application is described. The electric towel rack temperature control method provided in the embodiment of the present application relates to the field of electric towel rack control technology. The electric towel rack temperature control method provided in the embodiment of the present application can be applied to a terminal, or to a server side, or it can be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and it can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the electric towel rack temperature control method, but is not limited to the above forms.
[0058] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0059] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0060] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0061] Reference Figure 1 , Figure 1 This is an optional step flow chart of the temperature control method of the electric towel rack provided in the embodiment of the present application. The temperature control method of the electric towel rack is applied to the electric towel rack, and the method includes but is not limited to the following steps:
[0062] Step S110, obtaining target gear information;
[0063] Step S120, determining the rated power according to the target gear information and the preset gear temperature-power information;
[0064] Step S130, obtaining the ambient temperature value;
[0065] Step S140, calculating a first compensation power according to the rated power, the ambient temperature value and a preset compensation power calculation formula;
[0066] Step S150, obtaining a target power according to the rated power and the first compensation power;
[0067] Step S160, controlling the electric towel rack to heat according to the target power.
[0068] It should be noted that the embodiments of the present application do not limit the specific content of the target gear information, which may include the first temperature gear, the second temperature gear, and the third temperature gear, or may be a 30°C gear, a 45°C gear, and a 60°C gear, etc., and may be adjusted according to actual conditions. The embodiments of the present application do not limit the specific method of obtaining the ambient temperature value, which may be obtained by detecting the ambient temperature value through a temperature and humidity sensor, or by detecting the ambient temperature value through an infrared temperature sensor, etc., and are not limited here.
[0069] It is understandable that the target gear information is obtained, and the user's heating temperature requirement can be determined based on the target gear information, so as to determine the rated power according to the target gear information and the preset gear temperature-power information. The ambient temperature value is obtained to detect the ambient temperature of the electric towel rack, and then the first compensation power is calculated according to the rated power, the ambient temperature value and the preset compensation power calculation formula to achieve automatic adjustment of the compensation power according to the ambient temperature, so that the heating temperature of the electric towel rack is stable, which can effectively ensure the reliability of the electric towel rack. The target power is obtained according to the rated power and the first compensation power, and then the electric towel rack is controlled to heat according to the target power to avoid the heating temperature of the electric towel rack being affected by the external environment, resulting in insufficient or excessive heating temperature. Compared with the method of using sensor feedback to control the electric towel rack to start heating with a fixed power in the related art, it can effectively ensure the constant temperature heating effect of the electric towel rack, while achieving the effect of saving electricity and cost.
[0070] It can be understood that after obtaining the target gear information, the ambient temperature value is automatically obtained, and the electric towel rack is automatically controlled to heat based on the ambient temperature value, avoiding the sensor from starting detection for a long time, which can effectively extend the service life of the sensor and achieve the effect of saving electricity and cost.
[0071] It should be noted that when the first compensation power is zero or no power compensation is required, the electric towel rack can be directly controlled to heat according to the rated power.
[0072] In addition, refer to Figure 2 , in one embodiment, Figure 1 Step S120 in the illustrated embodiment also includes but is not limited to the following steps:
[0073] Step S210, determining a target temperature value according to the target gear information and preset gear-temperature information;
[0074] Step S220, determining the rated power according to the target temperature value and the preset gear temperature-power information.
[0075] It should be noted that the embodiment of the present application does not limit the specific method of determining the target temperature value by the target gear information and the preset gear-temperature information. The temperature information corresponding to the first gear temperature may be 30°C, the temperature information corresponding to the second gear temperature may be 45°C, the temperature information corresponding to the third gear temperature may be 60°C, etc., and can be adjusted according to actual conditions.
[0076] It can be understood that the target temperature value is determined according to the target gear information and the preset gear-temperature information. The user's heating temperature requirement can be determined based on the target gear information to achieve precise heating of the electric towel rack. The rated power is determined according to the target temperature value and the preset gear temperature-power information to ensure that the electric towel rack operates stably based on the rated power and the first compensation power, which can effectively ensure the reliability of the electric towel rack.
[0077] In addition, refer to Figure 3 In one embodiment, Figure 1 After step S120 in the illustrated embodiment, the method further includes but is not limited to the following steps:
[0078] Step S310, controlling the electric towel rack to heat according to the rated power;
[0079] Step S320, obtaining a first preheating time;
[0080] Step S330: When the first preheating time reaches the preset rated power heating time, the electric towel rack is controlled to heat according to the target power.
[0081] It should be noted that the embodiment of the present application does not limit the specific value of the preset rated power heating time, which can be 2 minutes, 3 minutes, 5 minutes, etc., and can be adjusted according to actual conditions.
[0082] It can be understood that the electric towel rack is controlled to heat according to the rated power to ensure that the electric towel rack operates stably based on the rated power, and the first preheating time is obtained to monitor the heating time of the electric towel rack to avoid damage caused by too long heating time or poor heating effect caused by insufficient heating time, so as to effectively ensure the reliability of the electric towel rack. When the first preheating time reaches the preset rated power heating time, it means that the electric towel rack is controlled to heat according to the rated power to reach the preset heating time. The electric towel rack is first controlled to heat based on the rated power, so that the electric towel rack can heat quickly and efficiently, so that the towel can be dried quickly, and the working efficiency of the electric towel rack is effectively improved. Then, according to the target power obtained by the rated power and the first compensation power, the electric towel rack is controlled to heat according to the target power, and the output power of the electric towel rack is optimized by using the first compensation power. Heating based on the target power can ensure that the electric towel rack is heated at a constant temperature and stably, and can effectively reduce energy consumption, so as to achieve the effect of saving electricity and cost.
[0083] In addition, refer to Figure 4 , in one embodiment, Figure 3 Step S310 in the illustrated embodiment also includes but is not limited to the following steps:
[0084] Step S410, determining PWM pulse width data according to rated power;
[0085] Step S420, generating a driving signal according to the PWM pulse width data;
[0086] Step S430, controlling the electric towel rack to heat according to the driving signal.
[0087] It can be understood that the PWM pulse width data is determined according to the rated power, so as to generate a driving signal according to the PWM pulse width data, and then the electric towel rack is controlled to heat according to the driving signal, so as to control the electric towel rack to heat at the rated power. The PWM pulse width data can be used to accurately control the power and has a wide adjustment range, which can effectively improve the reliability of the electric towel rack.
[0088] It can be understood that, in one embodiment, the specific implementation of controlling the electric towel rack to heat according to the target power is basically the same as the specific implementation of controlling the electric towel rack to heat according to the rated power, and will not be repeated here.
[0089] In addition, in one embodiment, the compensation power calculation formula is P 1 =K[t 0 -(t 1 -25)]·P t ;
[0090] Among them, P 1represents the compensation power, K represents the proportionality coefficient, t 0 Indicates the target temperature value, t 1 Indicates the ambient temperature value, P t It indicates the power required to maintain a constant temperature for every 1°C rise in temperature.
[0091] It can be understood that the first compensation power calculated using the compensation power calculation formula can effectively ensure the accuracy of the first compensation power, thereby effectively improving the reliability of the electric heated towel rack.
[0092] In addition, refer to Figure 5 In one embodiment, the method further includes but is not limited to the following steps:
[0093] Step S510, acquiring periodic temperature data;
[0094] Step S520, generating compensation power prediction data according to the periodic temperature data and a preset compensation power prediction model;
[0095] Step S530, determining a second compensation power according to the compensation power prediction data and the ambient temperature value;
[0096] Step S540: obtaining the target power according to the rated power and the second compensation power.
[0097] It should be noted that the embodiment of the present application does not limit the specific content of the periodic temperature data, which may include periodic temperature data of each quarter, periodic temperature data of each month, periodic temperature data of each time period, etc., and may be adjusted according to actual conditions. It is understandable that obtaining compensation power prediction data based on periodic temperature data of each time period can effectively improve the accuracy of compensation power, thereby effectively ensuring the reliability of the electric towel rack.
[0098] It is understandable that the periodic temperature data is obtained, and the calculation of the compensation power of the electric towel rack can be effectively optimized based on the periodic temperature data, thereby improving the accuracy of the compensation power. The compensation power prediction data is generated according to the periodic temperature data and the preset compensation power prediction model, and then the second compensation power is determined according to the compensation power prediction data and the ambient temperature value, and the calculation of the compensation power is further optimized using the ambient temperature value to ensure the accuracy of the second compensation power, and then the target power is obtained according to the rated power and the second compensation power, so as to control the electric towel rack to heat according to the target power.
[0099] It can be understood that, in one embodiment, the prediction of compensation power can be realized based on the periodic temperature data, which is conducive to further optimizing the electric towel rack and effectively improving the reliability of the electric towel rack. Based on the periodic temperature data, the periodic heating work of the electric towel rack can be optimized. For example, based on the periodic temperature data from 10 pm to 11 pm in summer, the compensation power prediction data corresponding to 10 pm to 11 pm in summer is determined, and the compensation power prediction data is optimized using the ambient temperature value to obtain a second compensation power. The second compensation power includes compensation powers for multiple time intervals from 10 pm to 11 pm in summer. The target power is obtained based on the second compensation power and the rated power, and the electric towel rack is controlled to heat according to the target power, so as to achieve constant temperature and stable heating of the electric towel rack within the time interval.
[0100] In addition, refer to Figure 6 In one embodiment, Figure 1 After step S160 in the illustrated embodiment, the method further includes but is not limited to the following steps:
[0101] Step S610, obtaining a second heating time;
[0102] Step S620: When the second heating time reaches the preset maximum heating time, the electric towel rack is controlled to stop heating.
[0103] It can be understood that the second heating time is obtained to monitor the heating time of the electric towel rack. When the second heating time reaches the preset maximum heating time, the electric towel rack is controlled to stop heating. This can effectively avoid damage to the electric towel rack or towels due to excessive heating time, extend the service life of the electric towel rack, and effectively improve the reliability of the electric towels.
[0104] In addition, refer to Figure 7 , Figure 7 This is a module schematic diagram of a temperature control system for an electric towel rack provided by an embodiment of the present application. The temperature control system for the electric towel rack includes:
[0105] The gear information acquisition module 710 is used to acquire target gear information;
[0106] A rated power determination module 720, the rated power determination module 720 is used to determine the rated power according to the target gear information and the preset gear temperature-power information;
[0107] The ambient temperature acquisition module 730 is used to acquire the ambient temperature value;
[0108] The compensation power calculation module 740 is used to calculate the first compensation power according to the rated power, the ambient temperature value and a preset compensation power calculation formula;
[0109] A target power determination module 750, the target power determination module 750 is used to obtain the target power according to the rated power and the first compensation power;
[0110] The heating control module 760 is used to control the electric towel rack to heat according to the target power.
[0111] The specific implementation of the electric towel rack temperature control system of the embodiment of the present application is basically the same as the specific implementation of the electric towel rack temperature control method described above, and will not be repeated here.
[0112] In addition, refer to Figure 8 , Figure 8 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0113] The processor 801 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0114] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the electric towel rack temperature control method of the embodiment of the present application, for example, executing the above-described Figure 1 Method steps S110 to S160, Figure 2 Method steps S210 to S220, Figure 3 Method steps S310 to S330, Figure 4 Method steps S410 to S430, Figure 5 Method steps S510 to S540 and Figure 6 Method steps S610 to S620 in .
[0115] Input / output interface 803, used to implement information input and output;
[0116] The communication interface 804 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WI FI, Bluetooth, etc.);
[0117] A bus that transmits information between various components of the device (e.g., processor 801, memory 802, input / output interface 803, and communication interface 804);
[0118] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus.
[0119] The present application also provides a storage medium, which is a computer-readable storage medium for computer-readable storage. The storage medium stores one or more programs, which can be executed by one or more processors to implement the above-mentioned electric towel rack temperature control method, for example, to execute the above-described Figure 1 Method steps S110 to S160, Figure 2 Method steps S210 to S220, Figure 3 Method steps S310 to S330, Figure 4 Method steps S410 to S430, Figure 5 Method steps S510 to S540 and Figure 6 Method steps S610 to S620 in .
[0120] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0121] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0122] It can be understood by those skilled in the art that Figures 1 to 6 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.
[0123] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0124] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0125] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0126] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0127] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0128] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0131] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A temperature control method for an electric heated towel rack, applied to an electric heated towel rack, characterized in that: include: Get target gear information; Determining the rated power according to the target gear information and the preset gear temperature-power information; Get the ambient temperature value; Calculating a first compensation power according to the rated power, the ambient temperature value and a preset compensation power calculation formula; Obtaining a target power according to the rated power and the first compensation power; The electric towel rack is controlled to heat according to the target power.
2. The temperature control method of the electric heated towel rack according to claim 1, characterized in that: The step of determining the rated power according to the target gear information and the preset gear temperature-power information includes: Determining a target temperature value according to the target gear information and preset gear-temperature information; The rated power is determined according to the target temperature value and preset gear temperature-power information.
3. The temperature control method of the electric heated towel rack according to claim 1, characterized in that: After determining the rated power according to the target gear information and the preset gear temperature-power information, the method further includes: Controlling the electric towel rack to heat according to the rated power; Get the first preheating time; When the first preheating time reaches the preset rated power heating time, the electric towel rack is controlled to heat according to the target power.
4. The temperature control method of the electric heated towel rack according to claim 3, characterized in that: The step of controlling the electric towel rack to heat according to the rated power comprises: Determine PWM pulse width data according to the rated power; Generate a driving signal according to the PWM pulse width data; The electric towel rack is controlled to heat according to the driving signal.
5. The temperature control method of the electric heated towel rack according to claim 2, characterized in that: The compensation power calculation formula is P1 = K[t0-(t1-25)]·P t ; Among them, P1 represents the compensation power, K represents the proportional coefficient, t0 represents the target temperature value, t1 represents the ambient temperature value, P t It indicates the power required to maintain a constant temperature for every 1°C rise in temperature.
6. The temperature control method of the electric heated towel rack according to claim 1, characterized in that: The method further comprises: Get periodic temperature data; Generating compensation power prediction data according to the periodic temperature data and a preset compensation power prediction model; Determine a second compensation power according to the compensation power prediction data and the ambient temperature value; A target power is obtained according to the rated power and the second compensation power.
7. The temperature control method of the electric heated towel rack according to claim 1, characterized in that: After controlling the heated towel rack to heat according to the target power, the method further includes: Get the second heating time; When the second heating time reaches the preset maximum heating time, the electric towel rack is controlled to stop heating.
8. A temperature control system for an electric heated towel rack, characterized in that: The system comprises: A gear information acquisition module, wherein the gear information acquisition module is used to acquire target gear information; A rated power determination module, the rated power determination module is used to determine the rated power according to the target gear information and preset gear temperature-power information; An ambient temperature acquisition module, wherein the ambient temperature acquisition module is used to acquire an ambient temperature value; A compensation power calculation module, the compensation power calculation module is used to calculate a first compensation power according to the rated power, the ambient temperature value and a preset compensation power calculation formula; a target power determination module, the target power determination module being configured to obtain a target power according to the rated power and the first compensation power; A heating control module is used to control the electric towel rack to heat according to the target power.
9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the temperature control method of the electric towel rack as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the temperature control method of the electric towel rack according to any one of claims 1 to 7.
Citation Information
Patent Citations
Battery pack heating control method and device and electronic equipment
CN112201879A
Air conditioner temperature control method and device, storage medium, remote control equipment and system
CN115031389A
Heating control method, device and system and storage medium
CN117336902A
Voltage temperature controller and voltage temperature control assembly
CN213518017U
Temperature controller and towel support
CN221308059U
