Fan control method and device, electronic equipment and storage medium
By obtaining the fan's starting slope and real-time status indicators and dynamically adjusting the starting duty cycle, the starting problem caused by increased resistance during fan use is solved, ensuring stable operation of the fan in different states and reducing noise and damage.
Patent Information
- Application Number
- CN202510578363.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-09-26
AI Technical Summary
In the prior art, the starting resistance of the fan increases during use due to dust accumulation and bearing wear. The existing method ensures the smooth starting of the fan by increasing the starting duty cycle, but this may cause damage to electronic products and increase noise.
By obtaining the fan's original starting slope and real-time starting slope, the fan's starting duty cycle is dynamically adjusted, and the target starting duty cycle is optimized according to the status indicators to ensure that the fan starts smoothly in different states, reducing noise and damage.
The fan can be stably started in different states, reducing noise and potential damage to electronic products, and improving the operating efficiency and reliability of the fan.
Smart Images

Figure CN120701596A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a fan control method, device, electronic device, and storage medium. Background Art
[0002] For fans used for cooling within electronic products, manufacturers set a fixed startup duty cycle at the time of shipment. After a period of use, the fan's startup resistance may gradually increase due to dust accumulation, bearing wear, and other factors. To ensure smooth fan startup over time, the current practice is to set the startup duty cycle to a higher value. However, an excessively high startup duty cycle may damage the electronic product itself and increase fan noise. Summary of the Invention
[0003] The present disclosure provides a fan control method, device, electronic device, and storage medium to at least solve the above technical problems existing in the prior art.
[0004] In a first aspect of the present disclosure, a fan control method is provided, the method comprising:
[0005] Controlling the fan startup based on the initial startup duty cycle, and obtaining the fan's original startup slope and real-time startup slope;
[0006] Obtaining a fan status indicator based on the original starting slope and the real-time starting slope;
[0007] If the state indicator satisfies the state optimization condition, determining a target startup duty cycle of the fan;
[0008] The fan is controlled to start based on the target startup duty cycle.
[0009] In one embodiment, controlling the fan startup based on the initial startup duty cycle to obtain the original fan startup slope includes:
[0010] Controlling fan startup based on an initial startup duty cycle to obtain the running time required for the fan to run to a preset speed;
[0011] An original starting slope of the fan is obtained based on the preset rotation speed and the running time.
[0012] In one embodiment, obtaining the fan status indicator based on the original startup slope and the real-time startup slope includes:
[0013] Obtaining a change ratio of the real-time starting slope relative to the original starting slope;
[0014] A status indicator of the fan is obtained based on the change ratio.
[0015] In one embodiment, determining the target startup duty cycle of the fan includes:
[0016] Obtain proportional adjustment parameters and differential adjustment parameters;
[0017] Obtaining a starting slope adjustment amount based on a difference between the real-time starting slope and the original starting slope by using the proportional adjustment parameter and the differential adjustment parameter;
[0018] A target startup duty cycle of the fan is determined according to the startup slope adjustment amount.
[0019] In one embodiment, determining the starting slope adjustment amount based on the difference between the real-time starting slope and the original starting slope by using the proportional adjustment parameter and the differential adjustment parameter includes:
[0020] Obtaining a starting slope error, where the starting slope error is a difference between the real-time starting slope and the original starting slope;
[0021] The starting slope error is optimized based on the proportional adjustment parameter and the differential adjustment parameter. In response to the optimized starting slope error meeting the preset error condition, the starting slope adjustment amount is determined based on the optimized starting slope error meeting the preset error condition.
[0022] In one possible implementation manner, determining the target startup duty cycle of the fan according to the startup slope adjustment amount includes:
[0023] The starting slope adjustment amount is converted through a mapping function to obtain the target starting duty cycle.
[0024] In one possible implementation, if the state indicator does not meet the state optimization condition, the fan is controlled to start based on the initial startup duty cycle.
[0025] In a second aspect of the present disclosure, a fan control device is provided, the device comprising:
[0026] A starting slope acquisition module is used to control the fan startup based on the initial startup duty cycle and obtain the original starting slope and real-time starting slope of the fan;
[0027] a state determination module, configured to obtain a state index of the fan based on the original starting slope and the real-time starting slope;
[0028] a target duty cycle determination module, configured to determine a target startup duty cycle of the fan if the state indicator satisfies a state optimization condition;
[0029] A control module is configured to control the fan to start based on the target start-up duty cycle.
[0030] According to a third aspect of the present disclosure, an electronic device is provided, including:
[0031] at least one processor; and
[0032] a memory communicatively connected to the at least one processor; wherein,
[0033] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0034] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the present disclosure.
[0035] The fan control method, device, electronic device and storage medium disclosed in the present invention first control the fan startup with an initial startup duty cycle. Then, during the application process of the fan, once it is detected that its state index meets the state optimization conditions, a new startup duty cycle, that is, the target startup duty cycle, is re-determined. Finally, the fan startup is controlled by the target startup duty cycle. Compared with the prior art, it is necessary to set a larger fixed startup duty cycle to ensure that the fan can start smoothly in the later stage. In the initial stage of this method, only an initial startup duty cycle that meets the basic startup conditions needs to be set. Then, based on the actual state index of the fan, the startup duty cycle is dynamically adjusted. In this way, not only is the damage that may be caused to electronic products by an excessively large startup duty cycle reduced, but the noise during the operation of the fan is also effectively reduced. At the same time, by updating the startup duty cycle in real time, it is also ensured that the fan can always maintain normal operating status.
[0036] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings, in which several embodiments of the present disclosure are shown by way of example and not limitation, wherein:
[0038] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts.
[0039] Figure 1 A schematic diagram of the implementation flow of the fan control method according to an embodiment of the present disclosure is shown;
[0040] Figure 2A schematic diagram of the structure of a fan control device according to an embodiment of the present disclosure is shown;
[0041] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0042] To make the purposes, features, and advantages of the present disclosure more apparent and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative work shall fall within the scope of protection of the present disclosure.
[0043] A first aspect of the present disclosure provides a fan control method, such as Figure 1 As shown, the method includes the following steps:
[0044] Step 101: Control the fan startup based on the initial startup duty cycle, and obtain the original startup slope and real-time startup slope of the fan.
[0045] The initial startup duty cycle is the default startup parameter set when the fan leaves the factory, which is used to ensure that the fan can start smoothly under standard conditions (such as dust-free, no aging, etc.). Compared with the prior art, a larger startup duty cycle is usually set to ensure that the fan can start smoothly even when the resistance becomes larger in the later stage (such as dust accumulation, aging of fan components, etc.). The initial startup duty cycle in this step only needs to meet the startup requirements of the fan under a standard environment. Then obtain the rate of increase of the speed of the fan when it is started with the initial startup duty cycle in the best state (factory or brand new state) as the original starting slope. Obtain the rate of increase of the speed of the fan when it is started with the initial startup duty cycle under the current usage conditions as the real-time starting slope.
[0046] Step 102: Obtain a fan status indicator based on the original starting slope and the real-time starting slope.
[0047] By comparing the original starting slope and the real-time starting slope, the change in the starting performance of the fan under the current use conditions equivalent to its optimal state is determined, thereby obtaining the fan status index.
[0048] Step 103: If the state indicator meets the state optimization condition, determine the target startup duty cycle of the fan.
[0049] If the fan's status indicator meets the state optimization condition, it indicates that the deviation of the fan's startup performance from the optimal state is greater than a certain threshold, and optimization is required. This may be due to dust accumulation, component aging or other external factors that increase the fan resistance, requiring greater starting power. In this case, the initial startup duty cycle can no longer meet the fan's startup requirements. Therefore, to ensure that the fan can start smoothly under the current conditions, it is necessary to re-determine a new startup duty cycle, that is, the target startup duty cycle, which will be used to control the fan startup in the next cycle. Among them, the state optimization condition can be determined based on the fan's specifications, historical operating data or actual application requirements, for example, the status indicator is greater than 20%.
[0050] Step 104 : Control the fan to start based on the target startup duty cycle.
[0051] By controlling the fan startup through the re-determined target startup duty cycle, it can be ensured that the fan can still maintain good startup performance under the current usage conditions.
[0052] The fan control method provided in this embodiment first controls the fan startup with an initial startup duty cycle. Then, during the application process of the fan, it is detected in real time. Once it is detected that its state index meets the state optimization condition, a new startup duty cycle, that is, the target startup duty cycle, is re-determined. Finally, the fan startup is controlled by the target startup duty cycle. Compared with the prior art, it is necessary to set a larger fixed startup duty cycle to ensure that the fan can be started smoothly in the later stage. In the initial stage of this method, only an initial startup duty cycle that meets the basic startup conditions needs to be set. Then, based on the actual state index of the fan, the startup duty cycle is dynamically adjusted. In this way, not only the noise caused by an excessively large startup duty cycle to the fan operation is reduced, but also the possible damage to the electronic equipment is reduced. At the same time, by updating the startup duty cycle in real time, it is also ensured that the fan can always maintain good startup performance.
[0053] In another embodiment provided by the present disclosure, fan startup is controlled based on an initial startup duty cycle to obtain an original fan startup slope. This can be achieved by the following technical means: first, fan startup is controlled based on the initial startup duty cycle to obtain the running time required for the fan to reach a preset speed. Then, the original fan startup slope is obtained based on the preset speed and the running time.
[0054] Specifically, the fan is controlled to start with an initial startup duty cycle. A timer is used to record the runtime from the moment the fan starts to reach the preset speed. This runtime reflects how quickly the fan speed increases from a standstill to the preset speed. The raw startup slope is then calculated based on the calculated runtime and the preset speed. The raw startup slope represents the rate of change of the fan speed over time under optimal conditions and can be calculated by dividing the preset speed by the runtime.
[0055] For example, the initial startup duty cycle is D0, the preset speed is N, and the running time from the fan starting to the preset speed N is T0. The original startup slope K0 = N / T0 is obtained.
[0056] This embodiment obtains the running time of the fan from startup to reaching the preset speed, and calculates the original starting slope in combination with the preset speed, thereby accurately evaluating the starting performance of the fan and providing an important basis for fan control.
[0057] The method for determining the real-time starting slope is similar to the method for determining the original starting slope. For example, the real-time starting slope K c =N / T c , where T c It is the time required for the fan to start at the initial startup duty cycle and run to the preset speed N under the current usage conditions.
[0058] In another embodiment provided by the present disclosure, a fan status index is obtained based on the original starting slope and the real-time starting slope. Specifically, the fan status index can be obtained based on the change ratio of the real-time starting slope relative to the original starting slope.
[0059] The original startup slope represents the speed increase rate when the fan is started at the initial startup duty cycle under optimal conditions. The real-time startup slope represents the speed increase rate when the fan is started at the initial startup duty cycle under the current actual operating conditions. The change ratio of the real-time startup slope relative to the original startup slope reflects the degree to which the speed increase rate of the fan in actual operation deviates from the optimal state. Therefore, in this embodiment, the change ratio of the fan's real-time startup slope relative to the original startup slope is used as a status indicator to evaluate the health of the fan.
[0060] Specifically, the difference between the real-time starting slope and the original starting slope can be obtained. Then the difference is divided by the original starting slope, and the result is the change ratio. For example, the original starting slope is K0, and the real-time starting slope is K c , the fan status indicator H=(K0-K c ) / K0.
[0061] This embodiment uses the ratio of the change in the real-time starting slope to the original starting slope as the fan status indicator, which can accurately and effectively quantify the difference between the fan's current operating status and the factory status.
[0062] In another embodiment provided herein, determining a target startup duty cycle for a fan can be achieved by the following technical means: first, obtaining a proportional adjustment parameter and a differential adjustment parameter; then, using the proportional adjustment parameter and the differential adjustment parameter, obtaining a startup slope adjustment amount based on the difference between an original startup slope and a real-time startup slope; and finally, determining the target startup duty cycle for the fan based on the startup slope adjustment amount.
[0063] Specifically, the specific values of the proportional and differential adjustment parameters are determined in advance through extensive testing. During the testing process, fan operation is simulated, and then different parameter combinations are tested and optimized to obtain the proportional and differential adjustment parameters that are most suitable for the fan. When implementing the method of this embodiment, the determined proportional and differential adjustment parameters can be directly obtained.
[0064] The proportional adjustment parameter is used to proportionally adjust the difference between the real-time starting slope and the original starting slope. The proportional adjustment result is obtained by multiplying the proportional adjustment parameter by this difference. The proportional adjustment component responds quickly to any discrepancies. When the difference is large, it outputs a larger starting slope adjustment. This forces the real-time starting slope to approach the original starting slope as quickly as possible to reduce the gap between the two, thereby obtaining the starting slope adjustment. However, since proportional adjustment is based solely on the current difference, when the difference is large and the response is fast, it can easily lead to over-adjustment, resulting in overshoot. Overshoot occurs when the adjustment result exceeds the expected ideal value. This results in an excessively large target startup duty cycle, potentially causing problems such as excessive fan noise during startup.
[0065] To prevent overshoot, this embodiment introduces a differential adjustment parameter. The differential adjustment parameter focuses on how quickly the difference changes, or the rate of change. The differential adjustment parameter modifies the adjustment process based on the rate of change. A large rate of change indicates a rapid change in the difference, and the differential adjustment component responds accordingly to mitigate any overshoot that may occur during the adjustment process. For example, if the error increases rapidly, the differential adjustment component will output a negative adjustment value, slowing down the adjustment process and preventing overshoot.
[0066] Finally, the results of the proportional and differential adjustments are added together to obtain the startup slope adjustment. Based on this startup slope adjustment, combined with a specific mapping relationship, the fan's target startup duty cycle can be determined. This specific mapping relationship can be determined by conducting experiments to determine the correspondence between the startup slope adjustment and the target startup duty cycle.
[0067] This embodiment uses a combination of proportional and differential methods to not only accurately determine the target startup duty cycle, ensuring smooth fan startup, but also effectively suppress overshoot during the adjustment process, avoiding a series of problems caused by over-adjustment of the target startup duty cycle, such as excessive fan noise during startup or unnecessary energy consumption.
[0068] In another embodiment provided by the present disclosure, a starting slope adjustment amount is obtained based on the difference between the real-time starting slope and the original starting slope through proportional adjustment parameters and differential adjustment parameters. This can be specifically achieved through the following technical means: obtaining a starting slope error, which is the difference between the real-time starting slope and the original starting slope; optimizing the starting slope error based on the proportional adjustment parameters and the differential adjustment parameters, and in response to the optimized starting slope error satisfying a preset error condition, obtaining a starting slope adjustment amount based on the optimized starting slope error that satisfies the preset error condition.
[0069] First, the difference between the real-time starting slope and the original starting slope is determined as the starting slope error. The starting slope error is then continuously optimized using the proportional and differential adjustment parameters until the optimized error meets a preset error condition. The specific operation is as follows: First, determine whether the starting slope error meets a preset error condition. For example, the preset error condition is that the absolute value of the error is less than 0.05. If the starting slope error does not meet the preset error condition, the error is processed using the proportional and differential adjustment parameters to obtain a first adjustment amount. The real-time starting slope is adjusted using the first adjustment amount to obtain a starting slope after the first adjustment. Next, determine whether the new difference between the starting slope after the first adjustment and the original starting slope meets the preset error condition. If so, the first adjustment amount is determined as the starting slope adjustment amount. If not, the difference between the starting slope after the first adjustment and the original starting slope is optimized again using the proportional and differential adjustment parameters to obtain a second adjustment amount. The second adjustment is used to adjust the starting slope after the first adjustment to obtain the second adjustment starting slope. Next, a determination is made as to whether the difference between the starting slope after the second adjustment and the original starting slope meets a preset error condition. This optimization process is repeated repeatedly until the difference between the starting slope after the Xth adjustment and the original starting slope meets the preset error condition. At this point, the Xth adjustment is used as the starting slope adjustment.
[0070] Specifically, the starting slope adjustment amount can be determined by the following formula (1):
[0071]
[0072] Among them, u(t) is the starting slope adjustment amount, e(t) is the error between the starting slope obtained during the adjustment process and the original starting slope, K p is the proportional adjustment parameter, K d is the differential adjustment parameter.
[0073] The method of this embodiment uses proportional regulation to quickly respond to the error magnitude, ensuring that the real-time startup slope approaches the original startup slope. Differential regulation corrects the adjustment process based on the rate of error change, suppressing overshoot and avoiding excessive adjustments. Through continuous iterative optimization until the difference meets the preset error condition, the resulting startup slope adjustment is accurate and reliable, ensuring that the determined target fan startup duty cycle better adapts to the fan's actual operating conditions, improving fan startup stability and efficiency.
[0074] In another embodiment provided by the present disclosure, a target startup duty cycle of the fan is determined according to a startup slope adjustment value. Specifically, the startup slope adjustment value can be converted through a mapping function to obtain the target startup duty cycle.
[0075] The startup slope adjustment value reflects the required ramp rate for ideal fan startup performance. However, actual fan control is achieved by adjusting the startup duty cycle. Since there is a relationship between the startup slope adjustment value and the target startup duty cycle, and this relationship can be accurately represented by a mapping function, the startup slope adjustment value is input into the mapping function. After calculation, the function calculates the target startup duty cycle that matches the current startup slope adjustment value. This enables precise control of the fan startup process, ensuring stable and efficient fan startup under various operating conditions.
[0076] In another embodiment provided by the present disclosure, the method further includes: if the state indicator does not meet the preset state optimization condition, controlling the fan to start based on the initial startup duty cycle.
[0077] If the status indicator does not meet the optimization criteria, it indicates that the fan's current operating state is close to the optimal state or the deviation is within an acceptable range, and all performance indicators are stable, so no optimization is required. In this case, the initial startup duty cycle can continue to be used to control fan startup, without the need to update or adjust the initial startup duty cycle. This not only ensures stable fan startup but also prevents excessive startup duty cycles, thereby reducing damage to the device itself and the noise generated by excessive duty cycles.
[0078] The above embodiment is described below through a specific example:
[0079] In this example, assume that the fan's initial startup duty cycle is set to 30%. At this initial startup duty cycle, the fan can just start smoothly. Take the preset speed N as an example, 2000 rpm. The fan starts with an initial startup duty cycle of 30% and runs to the preset speed N. The required running time T0 is 750ms. The original startup slope of the fan in the factory state is obtained.
[0080] Assume that the fan is currently still started with an initial duty cycle of 30%. The fan starts to reach the preset speed of 2000rpm, and the required running time T c The fan's starting slope is 1000ms.
[0081] According to the original starting slope and the real-time starting slope, the fan status index is obtained. Assuming that the set state optimization condition is that the state index H is greater than 20%, it can be seen that the current state index of the fan meets the state optimization condition, so the fan startup duty cycle needs to be adjusted to obtain a target startup duty cycle.
[0082] The specific process of determining the target startup duty cycle is as follows:
[0083] Get the proportional adjustment parameter K p =0.5, differential adjustment parameter K d =0.1.
[0084] First adjustment:
[0085] Determine the original starting slope K0 and the real-time starting slope K c The difference e(1): e(1) = K0-K c =2.67-2=0.67rpm / ms;
[0086] Determine the proportion K p ×e(1):K p ×e(1)=0.5×0.67=0.335;
[0087] Determine the differential part Since this is the first adjustment, the starting slope has not been adjusted yet, and the rate of change of all errors The differential part
[0088] Determine the adjustment amount u(1):
[0089] Determine the new starting slope K1: K1 = K c+u(1)=2+0.335=2.335rpm / ms.
[0090] Second adjustment:
[0091] Determine the starting slope error e(2): e(2) = K0-K1 = 2.67-2.335 = 0.335 rpm / ms;
[0092] Determine the proportion K p ×e(2):K p ×e(2)=0.5×0.335=0.167;
[0093] Determine the differential part Error change rate (Assuming the time interval is 1 unit), the differential part
[0094] Determine the adjustment amount u(2):
[0095] Determine the new starting slope K2: K2 = K1 + u(2) = 2.335 + 0.1335 = 2.4685 rpm / ms.
[0096] The third adjustment:
[0097] Determine the starting slope error e(3): e(3) = K0-K2 = 2.67-2.4685 = 0.2015 rpm / ms;
[0098] Determine the proportion K p ×e(3):K p ×e(3=0.5×0.2015=0.1007);
[0099] Determine the differential part Error change rate (Assuming the time interval is 1 unit), the differential part
[0100] Determine the adjustment amount u(3):
[0101] Determine the new starting slope K3: K3 = K2 + u(3) = 2.4685 + 0.0874 = 2.5559 rpm / ms.
[0102] Continue to adjust according to the above steps, and calculate the new starting slope and starting slope error after each adjustment until the new starting slope approaches the original starting slope K0, that is, the error between the two is less than the preset error condition, or the number of adjustments reaches the adjustment threshold.
[0103] The resulting adjustment variable u(t) is then converted into a startup duty cycle, or target startup duty cycle, using a mapping function. In practice, the mapping function needs to be determined based on the specific application scenario. Finally, the fan is controlled to start based on the target startup duty cycle.
[0104] The startup duty cycle adjustment algorithm disclosed in this example dynamically adjusts the startup duty cycle by combining proportional and differential adjustment parameters. After multiple adjustments, the target startup duty cycle is ultimately achieved. This target startup duty cycle controls fan startup, allowing the fan to continue spinning at a rate close to the original startup slope. This ensures stable fan startup performance while reducing issues like excessive noise and energy waste caused by excessive startup duty cycles, thereby improving the fan's overall operating efficiency and reliability.
[0105] Another aspect of the present disclosure provides a fan control device, such as Figure 2 As shown, the device includes:
[0106] A starting slope acquisition module 201 is used to control the fan startup based on the initial startup duty cycle and acquire the original starting slope and real-time starting slope of the fan;
[0107] A state determination module 202 is configured to obtain a state indicator of the fan based on the original starting slope and the real-time starting slope;
[0108] A target duty cycle determination module 203 is configured to determine a target startup duty cycle of the fan if the state indicator satisfies the state optimization condition;
[0109] The control module 204 is configured to control the fan to start based on the target startup duty cycle.
[0110] In another embodiment provided by the present disclosure, the starting slope acquisition module 201 is also used to control the fan startup based on the initial startup duty cycle, and obtain the running time required for the fan to run to a preset speed; based on the preset speed and running time, the original starting slope of the fan is obtained.
[0111] In another embodiment provided by the present disclosure, the state determination module 202 is further configured to obtain a change ratio of the real-time starting slope relative to the original starting slope; and obtain a state indicator of the fan based on the change ratio.
[0112] In another embodiment provided by the present disclosure, the target duty cycle determination module 203 is further used to obtain a proportional adjustment parameter and a differential adjustment parameter; determine the starting slope adjustment amount based on the difference between the real-time starting slope and the original starting slope through the proportional adjustment parameter and the differential adjustment parameter; and determine the target startup duty cycle of the fan according to the starting slope adjustment amount.
[0113] In another embodiment provided by the present disclosure, the target duty cycle determination module 203 is also used to obtain a starting slope error, where the starting slope error is the difference between the real-time starting slope and the original starting slope; based on the proportional adjustment parameter and the differential adjustment parameter, the starting slope error is optimized, and in response to the optimized starting slope error meeting the preset error condition, the starting slope adjustment amount is determined based on the optimized starting slope error that meets the preset error condition.
[0114] In another embodiment provided by the present disclosure, the target duty cycle determination module 203 is further configured to convert the start-up slope adjustment amount through a mapping function to obtain a target startup duty cycle.
[0115] In another embodiment provided by the present disclosure, the control module 204 is further configured to control the fan to start based on the initial startup duty cycle if the state indicator does not meet the state optimization condition.
[0116] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0117] Figure 3 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0118] like Figure 3As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the device 800 can also be stored in the RAM 803. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0119] Various components in device 800 are connected to I / O interface 805, including an input unit 806, such as a keyboard, mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows device 800 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0120] The computing unit 801 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as the fan control method. For example, in some embodiments, the fan control method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the fan control method described above can be performed. Alternatively, in other embodiments, the computing unit 801 can be configured to perform the fan control method by any other suitable means (e.g., via firmware).
[0121] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0122] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0123] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0124] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0125] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0126] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.
[0127] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not limited herein.
[0128] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the present disclosure, "plurality" means two or more, unless otherwise specifically defined.
[0129] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A fan control method, characterized in that: The method comprises: Controlling the fan startup based on the initial startup duty cycle, and obtaining the fan's original startup slope and real-time startup slope; Obtaining a fan status indicator based on the original starting slope and the real-time starting slope; If the state indicator satisfies the state optimization condition, determining a target startup duty cycle of the fan; The fan is controlled to start based on the target startup duty cycle.
2. The fan control method according to claim 1, wherein: The controlling the fan startup based on the initial startup duty cycle to obtain the original fan startup slope includes: Controlling fan startup based on an initial startup duty cycle to obtain the running time required for the fan to run to a preset speed; An original starting slope of the fan is obtained based on the preset rotation speed and the running time.
3. The fan control method according to claim 1, wherein: The obtaining of a fan status indicator based on the original starting slope and the real-time starting slope includes: Obtaining a change ratio of the real-time starting slope relative to the original starting slope; A status indicator of the fan is obtained based on the change ratio.
4. The fan control method according to claim 1, wherein: Determining the target startup duty cycle of the fan includes: Obtain proportional adjustment parameters and differential adjustment parameters; Determining a starting slope adjustment amount based on a difference between the real-time starting slope and the original starting slope by using the proportional adjustment parameter and the differential adjustment parameter; A target startup duty cycle of the fan is determined according to the startup slope adjustment amount.
5. The fan control method according to claim 4, wherein: The determining of the starting slope adjustment amount based on the difference between the real-time starting slope and the original starting slope by using the proportional adjustment parameter and the differential adjustment parameter includes: Obtaining a starting slope error, where the starting slope error is a difference between the real-time starting slope and the original starting slope; The starting slope error is optimized based on the proportional adjustment parameter and the differential adjustment parameter. In response to the optimized starting slope error meeting the preset error condition, the starting slope adjustment amount is determined based on the optimized starting slope error meeting the preset error condition.
6. The fan control method according to claim 4, wherein: Determining a target startup duty cycle of the fan according to the startup slope adjustment amount includes: The starting slope adjustment amount is converted through a mapping function to obtain the target starting duty cycle.
7. The fan control method according to claim 1, wherein: The method further comprises: If the state indicator does not meet the state optimization condition, the fan is controlled to start based on the initial startup duty cycle.
8. A fan control device, characterized in that: The device comprises: A starting slope acquisition module is used to control the fan startup based on the initial startup duty cycle and obtain the original starting slope and real-time starting slope of the fan; a state determination module, configured to obtain a state index of the fan based on the original starting slope and the real-time starting slope; a target duty cycle determination module, configured to determine a target startup duty cycle of the fan if the state indicator satisfies a state optimization condition; A control module is configured to control the fan to start based on the target start-up duty cycle.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Motor Drive Device Capable Of Informing Malfunction In Operation Of Fan, And Method Thereof
CN106887994A
A control apparatus and method for starting fan
CN1952848A
Drive controller of cooling fan
JP2010161904A
Motor control apparatus and image forming apparatus
US20100329724A1
Method for starting heat dissipation fan
US20190191592A1