Temperature control method and device for fan, fan and storage medium
By obtaining the correspondence between the desired temperature of the fan inlet and the input current of the heating element and adjusting the input current of the heating element, the problem of insufficient power of the PTC heater is solved, and precise control of the fan temperature and improvement of user experience is achieved.
Patent Information
- Application Number
- CN202411610502.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-03-11
AI Technical Summary
The PTC heater of existing cooling and cooling fans is insufficient, making it difficult for the indoor temperature to reach the theoretical temperature, affecting the user experience.
By obtaining the correspondence between the desired temperature of the fan inlet and the inlet temperature and the input current of the heating element, the target input current of the heating element is determined, and its input current is adjusted so that the inlet temperature reaches the desired temperature.
Accurately determine the target input current of the heating element, ensuring that the fan inlet temperature reaches the desired temperature, thereby improving the stability of the indoor temperature and user experience.
Smart Images

Figure CN119603802A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fans, and in particular to a temperature control method for a fan, a temperature control device for a fan, a fan and a computer-readable storage medium. Background Art
[0002] At present, the heating method of cooling and heating fans is generally that the controller in the cooling and heating fan controls the power of the PTC (Positive Temperature Coefficient) heater in the cooling and heating fan through the current, so that the pins of the PTC heater heat up, and then heat the air at the air outlet, so that the cooling and heating fan can blow out hot air. However, in actual applications, the power of the PTC heater does not reach the power required for each specified gear, which causes the pins of the PTC heater to not heat up enough, thus affecting the indoor temperature from reaching the theoretical temperature, which in turn leads to a poor user experience. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a temperature control method for a fan, a temperature control device for a fan, a fan and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problem, an embodiment of the present invention discloses a temperature control method of a fan, the method comprising:
[0005] Obtaining a desired temperature of an air inlet of the fan;
[0006] Obtaining the corresponding relationship between the temperature of the air inlet and the input current of the heating element;
[0007] Determining a target input current of the heating element according to a correspondence between the desired temperature and the temperature of the air inlet and the input current of the heating element;
[0008] The input current of the heating element is adjusted to the target input current so that the temperature of the air inlet reaches the desired temperature.
[0009] Optionally, the corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined by:
[0010] Acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element and a sampled current of the heating element respectively corresponding to the first sampled temperature of the air inlet;
[0011] The corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined according to the first sampled temperature of the air inlet, the second sampled temperature of the heating element, and the sampled current of the heating element.
[0012] Optionally, determining the correspondence between the temperature of the air inlet and the input current of the heating element according to the first sampled temperature of the air inlet, the second sampled temperature of the heating element, and the sampled current of the heating element includes:
[0013] Determining a corresponding relationship between the temperature of the heating element and the temperature of the air inlet according to the first sampled temperature of the air inlet and the second sampled temperature of the heating element;
[0014] Determining a corresponding relationship between an input current of the heating element and a temperature of the heating element according to a second sampled temperature of the heating element and a sampled current of the heating element;
[0015] The corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined according to the corresponding relationship between the temperature of the heating element and the temperature of the air inlet, and the corresponding relationship between the input current of the heating element and the temperature of the heating element.
[0016] Optionally, acquiring a first sampled temperature of the air inlet, and a second sampled temperature of the heating element and a sampled current of the heating element respectively corresponding to the first sampled temperature of the air inlet, comprises:
[0017] Acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element, a sampled resistance of the heating element, and a sampled voltage of the heating element, which correspond to the first sampled temperature of the air inlet respectively;
[0018] The sampling current of the heating element is determined according to the sampling resistance of the heating element and the sampling voltage of the heating element.
[0019] Optionally, obtaining the expected temperature of the air inlet of the fan includes:
[0020] Acquire a set temperature of the air inlet of the fan set by the user within a preset time period, and a usage frequency corresponding to the set temperature;
[0021] determining a highest usage frequency among the usage frequencies corresponding to the set temperature;
[0022] determining a set temperature corresponding to the highest frequency of use;
[0023] The set temperature corresponding to the highest frequency of use is determined as the expected temperature of the air inlet of the fan.
[0024] Optionally, determining the expected temperature of the air inlet includes:
[0025] Obtaining a setting level for a heating element;
[0026] Obtaining a correspondence between the gear position of the heating element and the temperature of the air inlet;
[0027] The desired temperature of the air inlet of the fan is determined according to the set gear position of the heating element and the corresponding relationship between the gear position of the heating element and the temperature of the air inlet.
[0028] Optionally, determining the sampling current of the heating element according to the sampling resistance of the heating element and the sampling voltage of the heating element includes:
[0029] Converting the sampled voltage of the heating element into an electrical signal;
[0030] Processing the electrical signal through an amplifying circuit to obtain an amplified electrical signal;
[0031] Processing the amplified electrical signal through an analog-to-digital converter to obtain a digital signal;
[0032] A sampling current of the heating element is determined according to the digital signal and the sampling resistance of the heating element.
[0033] An embodiment of the present invention discloses a temperature control device for a fan, the device comprising:
[0034] A first acquisition module, used to acquire the expected temperature of the air inlet of the fan;
[0035] A second acquisition module is used to acquire the corresponding relationship between the temperature of the air inlet and the input current of the heating element;
[0036] A first determination module, configured to determine a target input current of the heating element according to a correspondence between the desired temperature and the temperature of the air inlet and the input current of the heating element;
[0037] The adjustment module is used to adjust the input current of the heating element to the target input current so that the temperature of the air inlet reaches the desired temperature.
[0038] Optionally, the corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined by the following modules:
[0039] A third acquisition module, used to acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element and a sampled current of the heating element respectively corresponding to the first sampled temperature of the air inlet;
[0040] The second determination module is used to determine the corresponding relationship between the temperature of the air inlet and the input current of the heating element according to the first sampled temperature of the air inlet, the second sampled temperature of the heating element and the sampled current of the heating element.
[0041] Optionally, the second determining module includes:
[0042] A first determining submodule, configured to determine a corresponding relationship between the temperature of the heating element and the temperature of the air inlet according to the first sampled temperature of the air inlet and the second sampled temperature of the heating element;
[0043] a second determining submodule, configured to determine a corresponding relationship between an input current of the heating element and a temperature of the heating element according to a second sampled temperature of the heating element and a sampled current of the heating element;
[0044] The third determination submodule is used to determine the corresponding relationship between the temperature of the air inlet and the input current of the heating element according to the corresponding relationship between the temperature of the heating element and the temperature of the air inlet, and the corresponding relationship between the input current of the heating element and the temperature of the heating element.
[0045] Optionally, the third acquisition module includes:
[0046] A first acquisition submodule, used to acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element, a sampled resistance of the heating element, and a sampled voltage of the heating element respectively corresponding to the first sampled temperature of the air inlet;
[0047] The fourth determination submodule is used to determine the sampled current of the heating element according to the sampled resistance of the heating element and the sampled voltage of the heating element.
[0048] Optionally, the first acquisition module includes:
[0049] A second acquisition submodule, used to acquire a set temperature of the air inlet of the fan set by the user within a preset time period, and a usage frequency corresponding to the set temperature;
[0050] A fifth determining submodule, configured to determine the highest usage frequency among the usage frequencies corresponding to the set temperatures;
[0051] a sixth determination submodule, configured to determine a set temperature corresponding to the highest frequency of use;
[0052] The seventh determination submodule is used to determine the set temperature corresponding to the highest usage frequency as the expected temperature of the air inlet of the fan.
[0053] Optionally, the first acquisition module includes:
[0054] A third acquisition submodule is used to acquire a setting gear position for the heating element;
[0055] A fourth acquisition submodule, used to acquire a corresponding relationship between the gear position of the heating element and the temperature of the air inlet;
[0056] The eighth determination submodule is used to determine the expected temperature of the air inlet of the fan according to the set gear position of the heating element and the corresponding relationship between the gear position of the heating element and the temperature of the air inlet.
[0057] Optionally, the fourth determining submodule includes:
[0058] A conversion unit, used for converting the sampled voltage of the heating element into an electrical signal;
[0059] an amplifying unit, used to process the electrical signal through an amplifying circuit to obtain an amplified electrical signal;
[0060] A processing unit, used for processing the amplified electrical signal through an analog-to-digital converter to obtain a digital signal;
[0061] A determination unit is used to determine a sampling current of the heating element according to the digital signal and a sampling resistance of the heating element.
[0062] The present invention also discloses a fan, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned fan temperature control method when executing the computer program.
[0063] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned fan temperature control method are implemented.
[0064] The embodiments of the present invention include the following advantages:
[0065] In an embodiment of the present invention, the expected temperature of the air inlet of the fan is first obtained, and then the correspondence between the temperature of the air inlet and the input current of the heating element is obtained, so that the target input current of the heating element is determined according to the expected temperature and the correspondence between the temperature of the air inlet and the input current of the heating element, and finally the input current of the heating element is adjusted to the target input current so that the temperature of the air inlet reaches the expected temperature, so that the target input current of the heating element can be accurately determined according to the expected temperature and the correspondence between the temperature of the air inlet and the input current of the heating element, and the temperature of the air inlet of the fan can be further made to reach the expected temperature, and then the indoor temperature can reach the theoretical temperature, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 is a flow chart of the steps of a temperature control method of a fan provided by an embodiment of the present invention;
[0067] Figure 2 is a flowchart of another fan temperature control method provided by an embodiment of the present invention;
[0068] Figure 3 is a flowchart of another fan temperature control method provided by an embodiment of the present invention;
[0069] Figure 4 The present invention provides a structure of a temperature control device for a fan. DETAILED DESCRIPTION
[0070] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0071] In the related art, in actual application, the power of the PTC heater cannot reach the power required for each specified gear, which causes the pin of the PTC heater to be insufficiently heated, thereby affecting the indoor temperature from reaching the theoretical temperature, and further resulting in a poor user experience. In order to solve the above technical problems, the present invention provides a temperature control method for a fan, first obtaining the desired temperature of the air inlet of the fan, and then obtaining the corresponding relationship between the temperature of the air inlet and the input current of the heating element, thereby determining the target input current of the heating element according to the desired temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element, and finally adjusting the input current of the heating element to the target input current, so that the temperature of the air inlet reaches the desired temperature, thereby accurately determining the target input current of the heating element according to the desired temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element, further making the temperature of the air inlet of the fan reach the desired temperature, and then making the indoor temperature reach the theoretical temperature, thereby improving the user experience.
[0072] Reference Figure 1 , shows a flow chart of the steps of a temperature control method of a fan provided by an embodiment of the present invention, and the method may specifically include the following steps:
[0073] Step 101, obtaining the expected temperature of the air inlet of the fan.
[0074] In an embodiment of the present invention, the fan may be a cooling and heating fan, and a control chip may be provided in the cooling and heating fan. When the fan starts to operate, the control chip may obtain a desired temperature of an air inlet of the fan.
[0075] In the present invention, the expected temperature may be the ambient temperature, that is, the temperature that the user expects the environment to reach, that is, the temperature of the air inlet of the fan.
[0076] In one embodiment, obtaining the expected temperature of the air inlet of the fan may include: obtaining the set temperature of the air inlet of the fan set by the user within a preset time period, and the usage frequency corresponding to the set temperature; determining the highest usage frequency among the usage frequencies corresponding to the set temperatures; determining the set temperature corresponding to the highest usage frequency; and determining the set temperature corresponding to the highest usage frequency as the expected temperature of the air inlet of the fan.
[0077] Specifically, for example, the preset time is two days, and the control chip can obtain the set temperature of the fan's air inlet set by the user within two days, and the usage frequency corresponding to the set temperature. For example, the set temperatures are 20°C, 22°C and 25°C, the usage frequency of 20°C is 1 time, the usage frequency of 22°C is 4 times, and the usage frequency of 25°C is 2 times. Then it can be determined that the highest usage frequency among the usage frequencies corresponding to the set temperatures is 4 times, and further it can be determined that the set temperature corresponding to the highest usage frequency of 4 times is 22°C, which means that the set temperature frequently used by the user within two days is 22°C, which also means that the user's most desired ambient temperature is 22°C, and also means that the expected temperature of the fan's air inlet is 22°C, so 22°C can be determined as the expected temperature of the fan's air inlet.
[0078] In one embodiment, determining the desired temperature of the air inlet may include: obtaining a set gear position for a heating element; obtaining a correspondence between the gear position of the heating element and the temperature of the air inlet; and determining the desired temperature of the air inlet of the fan based on the set gear position of the heating element and the correspondence between the gear position of the heating element and the temperature of the air inlet.
[0079] In the present invention, the heating element may be a PTC heater or other heating elements. The fan may be pre-set with a corresponding relationship between the gear position of the heating element and the temperature of the air inlet. For example, the first gear corresponds to a temperature of 20°C at the air inlet, the second gear corresponds to a temperature of 22°C at the air inlet, and the third gear corresponds to a temperature of 25°C at the air inlet. For example, if the fan control chip obtains that the setting gear position for the heating element is the second gear, then the desired temperature of the fan's air inlet may be determined to be 22°C based on the setting gear position of the heating element and the corresponding relationship between the gear position of the heating element and the temperature of the air inlet.
[0080] Step 102: Obtain the corresponding relationship between the temperature of the air inlet and the input current of the heating element.
[0081] In the embodiment of the present invention, after the control chip of the fan obtains the desired temperature of the air inlet of the fan, it can obtain the corresponding relationship between the temperature of the air inlet and the input current of the heating element.
[0082] In one embodiment, the correspondence between the temperature of the air inlet and the input current of the heating element can be determined in the following manner: obtain a first sampling temperature of the air inlet, and a second sampling temperature of the heating element and a sampling current of the heating element corresponding to the first sampling temperature of the air inlet, respectively; determine the correspondence between the temperature of the air inlet and the input current of the heating element based on the first sampling temperature of the air inlet, the second sampling temperature of the heating element and the sampling current of the heating element.
[0083] Specifically, before the fan is operated, the corresponding relationship between the temperature of the air inlet and the input current of the heating element can be determined in advance. Then, when the fan is operated, the corresponding input current of the heating element can be determined according to the temperature of the air inlet. By adjusting the input current of the heating element, the heating power of the heating element can be controlled, and the temperature of the air inlet can be made to reach the expected temperature. When determining the corresponding relationship between the temperature of the air inlet and the input current of the heating element, the resistance of the heating element can be adjusted, so that the temperature of the air inlet, the temperature of the heating element and the current of the heating element can be collected at different resistances. In this way, the first sampling temperature of the air inlet and the second sampling temperature of the heating element and the sampling current of the heating element corresponding to the first sampling temperature of the air inlet can be obtained, and then the corresponding relationship between the temperature of the air inlet and the input current of the heating element can be determined according to the first sampling temperature of the air inlet, the second sampling temperature of the heating element and the sampling current of the heating element.
[0084] In an embodiment of the present invention, obtaining a first sampling temperature of the air inlet, and a second sampling temperature of the heating element corresponding to the first sampling temperature of the air inlet, and a sampling current of the heating element, respectively, may include: obtaining the first sampling temperature of the air inlet, and a second sampling temperature of the heating element corresponding to the first sampling temperature of the air inlet, a sampling resistance of the heating element, and a sampling voltage of the heating element, respectively; and determining the sampling current of the heating element according to the sampling resistance of the heating element and the sampling voltage of the heating element.
[0085] Specifically, when collecting data, the first sampling temperature of the air inlet, as well as the second sampling temperature of the heating element, the sampling resistance of the heating element and the sampling voltage of the heating element corresponding to the first sampling temperature of the air inlet, can be obtained first. The sampling current of the heating element can be determined by the sampling resistance of the heating element and the sampling voltage of the heating element.
[0086] In one embodiment, determining the sampling current of the heating element based on the sampling resistance of the heating element and the sampling voltage of the heating element may include: converting the sampling voltage of the heating element into an electrical signal; processing the electrical signal through an amplifying circuit to obtain an amplified electrical signal; processing the amplified electrical signal through an analog-to-digital converter to obtain a digital signal; and determining the sampling current of the heating element based on the digital signal and the sampling resistance of the heating element.
[0087] Specifically, after obtaining the sampled voltage of the heating element, the sampled voltage can be converted into an electrical signal, and then the electrical signal can be amplified through an amplifier circuit to obtain an amplified electrical signal, and then the amplified electrical signal is sent to an A / D (Analog-to-Digital Converter) converter to convert the electrical signal into a digital signal, and finally the sampled current of the heating element is calculated according to the formula I=U / R. Among them, I is the sampled current of the heating element, U is the digital signal of the heating element, and R is the sampling resistance of the heating element.
[0088] In an embodiment of the present invention, determining the correspondence between the temperature of the air inlet and the input current of the heating element based on the first sampling temperature of the air inlet, the second sampling temperature of the heating element and the sampling current of the heating element may include: determining the correspondence between the temperature of the heating element and the temperature of the air inlet based on the first sampling temperature of the air inlet and the second sampling temperature of the heating element; determining the correspondence between the input current of the heating element and the temperature of the heating element based on the second sampling temperature of the heating element and the sampling current of the heating element; determining the correspondence between the temperature of the air inlet and the input current of the heating element based on the correspondence between the temperature of the heating element and the temperature of the air inlet and the correspondence between the input current of the heating element and the temperature of the heating element.
[0089] Specifically, first determine the first sampling temperature of the air inlet and the corresponding second sampling temperature of the thermal element, that is, when the heating element is the second sampling temperature, determine the first sampling temperature of the air inlet corresponding to this time, so that the corresponding relationship between the temperature of the heating element and the temperature of the air inlet can be determined, and then determine the second sampling temperature corresponding to the heating element when the heating element is the sampling current, so that the corresponding relationship between the input current of the heating element and the temperature of the heating element can be determined, and finally the two corresponding relationships are merged, that is, the corresponding relationship between the temperature of the air inlet and the input current of the heating element can be determined through the corresponding relationship between the temperature of the heating element and the temperature of the air inlet, and the corresponding relationship between the input current of the heating element and the temperature of the heating element.
[0090] Step 103: determining a target input current of the heating element according to the correspondence between the desired temperature and the temperature of the air inlet and the input current of the heating element.
[0091] In an embodiment of the present invention, after obtaining the correspondence between the temperature of the air inlet and the input current of the heating element, the control chip can determine the target input current of the heating element according to the expected temperature and the correspondence between the temperature of the air inlet and the input current of the heating element.
[0092] For example, the corresponding relationship between the temperature of the air inlet and the input current of the heating element is: when the temperature of the air inlet is 20°C, the corresponding input current of the heating element is 0.2A; when the temperature of the air inlet is 22°C, the corresponding input current of the heating element is 0.3A; when the temperature of the air inlet is 25°C, the corresponding input current of the heating element is 0.5A. When the desired temperature of the air inlet of the fan is 22°C, then according to the corresponding relationship between the temperature of the air inlet and the input current of the heating element, it can be determined that the input current of the heating element corresponding to 22°C is 0.3A. At this time, 0.3 can be determined as the target input current of the heating element.
[0093] Step 104: adjusting the input current of the heating element to the target input current so that the temperature of the air inlet reaches the desired temperature.
[0094] In an embodiment of the present invention, after determining the target input current of the heating element, the control chip can adjust the input current of the heating element. Specifically, the control chip can adjust the resistance value of the resistor of the heating element to adjust the input current of the heating element to the target input current, thereby making the heating power of the heating element reach the expected heating power and the temperature of the air inlet reach the expected temperature.
[0095] In order to better understand the embodiments of the present invention, Figure 2 and Figure 3 The embodiments of the present invention are described as follows. Figure 2 As shown, a flow chart of the steps of another temperature control method for a fan provided by an embodiment of the present invention is shown. The temperature of the air inlet, the temperature of the heating element and the voltage of the heating element are collected, the collected voltage of the heating element is processed by a method circuit to obtain a digital signal of the heating element, the current of the heating element corresponding to the digital signal of the heating element is determined, and the corresponding relationship between the temperature of the air inlet and the current of the heating element is determined according to the temperature of the air inlet, the temperature of the heating element and the current of the heating element, the desired temperature of the air inlet is obtained, and the target input current of the heating element is determined according to the desired temperature and the corresponding relationship between the temperature of the air inlet and the current of the heating element, and the input current of the heating element is adjusted and modulated to the target input current so that the temperature of the air inlet reaches the desired temperature.
[0096] like Figure 3As shown, a flow chart of the steps of another temperature control method for a fan provided by an embodiment of the present invention is shown. The temperature of the air inlet, the temperature of the heating element and the voltage of the heating element are collected, the corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined, the desired temperature of the air inlet of the fan is determined, and the target input current of the heating element is determined according to the desired temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element, and the input current of the heating element is adjusted to the target input current, so that the heating power of the heating element is adjusted accordingly, and the heating element generates heat accordingly, so that the temperature of the air inlet reaches the desired temperature.
[0097] In the embodiment of the present invention, the desired temperature of the air inlet of the fan is obtained; the corresponding relationship between the temperature of the air inlet and the input current of the heating element is obtained; the target input current of the heating element is determined according to the desired temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element; the input current of the heating element is adjusted to the target input current so that the temperature of the air inlet reaches the desired temperature. Thus, according to the desired temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element, the target input current of the heating element can be accurately determined, and the temperature of the air inlet of the fan can be further made to reach the desired temperature, and then the indoor temperature can reach the theoretical temperature, thereby improving the user experience.
[0098] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0099] Reference Figure 4 , shows a structural block diagram of a temperature control device for a fan provided by an embodiment of the present invention, which may specifically include the following modules:
[0100] A first acquisition module 401 is used to acquire the expected temperature of the air inlet of the fan;
[0101] A second acquisition module 402 is used to acquire the corresponding relationship between the temperature of the air inlet and the input current of the heating element;
[0102] A first determination module 403, configured to determine a target input current of the heating element according to a correspondence between the desired temperature and the temperature of the air inlet and the input current of the heating element;
[0103] The adjustment module 404 is used to adjust the input current of the heating element to the target input current so that the temperature of the air inlet reaches the desired temperature.
[0104] In one embodiment, the corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined by the following modules:
[0105] A third acquisition module, used to acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element and a sampled current of the heating element respectively corresponding to the first sampled temperature of the air inlet;
[0106] The second determination module is used to determine the corresponding relationship between the temperature of the air inlet and the input current of the heating element according to the first sampled temperature of the air inlet, the second sampled temperature of the heating element and the sampled current of the heating element.
[0107] In one embodiment, the second determining module includes:
[0108] A first determining submodule, configured to determine a corresponding relationship between the temperature of the heating element and the temperature of the air inlet according to the first sampled temperature of the air inlet and the second sampled temperature of the heating element;
[0109] a second determining submodule, configured to determine a corresponding relationship between an input current of the heating element and a temperature of the heating element according to a second sampled temperature of the heating element and a sampled current of the heating element;
[0110] The third determination submodule is used to determine the corresponding relationship between the temperature of the air inlet and the input current of the heating element according to the corresponding relationship between the temperature of the heating element and the temperature of the air inlet, and the corresponding relationship between the input current of the heating element and the temperature of the heating element.
[0111] In one embodiment, the third acquisition module includes:
[0112] A first acquisition submodule, used to acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element, a sampled resistance of the heating element, and a sampled voltage of the heating element respectively corresponding to the first sampled temperature of the air inlet;
[0113] The fourth determination submodule is used to determine the sampled current of the heating element according to the sampled resistance of the heating element and the sampled voltage of the heating element.
[0114] In one embodiment, the first acquisition module 401 includes:
[0115] A second acquisition submodule, used to acquire a set temperature of the air inlet of the fan set by the user within a preset time period, and a usage frequency corresponding to the set temperature;
[0116] A fifth determining submodule, configured to determine the highest usage frequency among the usage frequencies corresponding to the set temperatures;
[0117] a sixth determination submodule, configured to determine a set temperature corresponding to the highest frequency of use;
[0118] The seventh determination submodule is used to determine the set temperature corresponding to the highest usage frequency as the expected temperature of the air inlet of the fan.
[0119] In one embodiment, the first acquisition module 401 includes:
[0120] A third acquisition submodule is used to acquire a setting gear position for the heating element;
[0121] A fourth acquisition submodule, used to acquire a corresponding relationship between the gear position of the heating element and the temperature of the air inlet;
[0122] The eighth determination submodule is used to determine the expected temperature of the air inlet of the fan according to the set gear position of the heating element and the corresponding relationship between the gear position of the heating element and the temperature of the air inlet.
[0123] In one embodiment, the fourth determining submodule includes:
[0124] A conversion unit, used for converting the sampled voltage of the heating element into an electrical signal;
[0125] an amplifying unit, used to process the electrical signal through an amplifying circuit to obtain an amplified electrical signal;
[0126] A processing unit, used for processing the amplified electrical signal through an analog-to-digital converter to obtain a digital signal;
[0127] A determination unit is used to determine a sampling current of the heating element according to the digital signal and a sampling resistance of the heating element.
[0128] In the embodiment of the present invention, the first acquisition module is used to obtain the expected temperature of the air inlet of the fan; the second acquisition module is used to obtain the corresponding relationship between the temperature of the air inlet and the input current of the heating element; the first determination module is used to determine the target input current of the heating element according to the expected temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element; the adjustment module is used to adjust the input current of the heating element to the target input current so that the temperature of the air inlet reaches the expected temperature. Therefore, according to the expected temperature and the corresponding relationship between the temperature of the air inlet and the input current of the heating element, the target input current of the heating element can be accurately determined, and the temperature of the air inlet of the fan can be further made to reach the expected temperature, and then the indoor temperature can reach the theoretical temperature, thereby improving the user experience.
[0129] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0130] An embodiment of the present invention further provides a fan, comprising:
[0131] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, each process of the above-mentioned fan temperature control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0132] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned fan temperature control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0133] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0134] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0135] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0136] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0137] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0138] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0139] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0140] The above is a detailed introduction to a fan temperature control method, a fan temperature control device, a fan and a computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a general technician in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A temperature control method for a fan, characterized in that: The method comprises: Obtaining a desired temperature of an air inlet of the fan; Obtaining the corresponding relationship between the temperature of the air inlet and the input current of the heating element; Determining a target input current of the heating element according to a correspondence between the desired temperature and the temperature of the air inlet and the input current of the heating element; The input current of the heating element is adjusted to the target input current so that the temperature of the air inlet reaches the desired temperature.
2. The temperature control method of the fan according to claim 1, characterized in that: The corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined by the following method: Acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element and a sampled current of the heating element respectively corresponding to the first sampled temperature of the air inlet; The corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined according to the first sampled temperature of the air inlet, the second sampled temperature of the heating element, and the sampled current of the heating element.
3. The temperature control method of the fan according to claim 1, characterized in that: The determining the corresponding relationship between the temperature of the air inlet and the input current of the heating element according to the first sampled temperature of the air inlet, the second sampled temperature of the heating element, and the sampled current of the heating element comprises: Determining a corresponding relationship between the temperature of the heating element and the temperature of the air inlet according to the first sampled temperature of the air inlet and the second sampled temperature of the heating element; Determining a corresponding relationship between an input current of the heating element and a temperature of the heating element according to a second sampled temperature of the heating element and a sampled current of the heating element; The corresponding relationship between the temperature of the air inlet and the input current of the heating element is determined according to the corresponding relationship between the temperature of the heating element and the temperature of the air inlet, and the corresponding relationship between the input current of the heating element and the temperature of the heating element.
4. The temperature control method of the fan according to claim 2, characterized in that: The step of acquiring a first sampled temperature of the air inlet, and a second sampled temperature of the heating element and a sampled current of the heating element respectively corresponding to the first sampled temperature of the air inlet, comprises: Acquire a first sampled temperature of the air inlet, and a second sampled temperature of the heating element, a sampled resistance of the heating element, and a sampled voltage of the heating element, which correspond to the first sampled temperature of the air inlet respectively; The sampling current of the heating element is determined according to the sampling resistance of the heating element and the sampling voltage of the heating element.
5. The temperature control method of a fan according to claim 1, characterized in that: The obtaining of the expected temperature of the air inlet of the fan includes: Acquire a set temperature of the air inlet of the fan set by the user within a preset time period, and a usage frequency corresponding to the set temperature; determining a highest usage frequency among the usage frequencies corresponding to the set temperature; determining a set temperature corresponding to the highest frequency of use; The set temperature corresponding to the highest frequency of use is determined as the expected temperature of the air inlet of the fan.
6. The temperature control method of a fan according to claim 1, characterized in that: The step of determining the desired temperature of the air inlet comprises: Obtaining a setting level for a heating element; Obtaining a correspondence between the gear position of the heating element and the temperature of the air inlet; The desired temperature of the air inlet of the fan is determined according to the set gear position of the heating element and the corresponding relationship between the gear position of the heating element and the temperature of the air inlet.
7. The temperature control method of a fan according to claim 1, characterized in that: The step of determining the sampling current of the heating element according to the sampling resistance of the heating element and the sampling voltage of the heating element comprises: Converting the sampled voltage of the heating element into an electrical signal; Processing the electrical signal through an amplifying circuit to obtain an amplified electrical signal; Processing the amplified electrical signal through an analog-to-digital converter to obtain a digital signal; A sampling current of the heating element is determined according to the digital signal and the sampling resistance of the heating element.
8. A temperature control device for a fan, characterized in that: The device comprises: A first acquisition module, used to acquire the expected temperature of the air inlet of the fan; A second acquisition module is used to acquire the corresponding relationship between the temperature of the air inlet and the input current of the heating element; A first determination module, configured to determine a target input current of the heating element according to a correspondence between the desired temperature and the temperature of the air inlet and the input current of the heating element; The adjustment module is used to adjust the input current of the heating element to the target input current so that the temperature of the air inlet reaches the desired temperature.
9. A fan, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the fan temperature control method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the fan temperature control method according to any one of claims 1 to 7 are implemented.