A fan detection method and device, electronic equipment and storage medium

CN116838630BActive Publication Date: 2026-10-27LCFC HEFEI ELECTRONICS TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310695418.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2026-10-27
Estimated Expiration
2043-06-12

AI Technical Summary

Technical Problem

[0002]目前风扇检测主要使用BIOS(Basic Input Output System,基本输入输出系统)、EC(Embedded Controller,嵌入式控制器)等计算机内部设备或外接检测设备进行复杂的计算,现有的风扇检测会严重的影响计算机系统的效能,且外接检测设备进行风扇检测的成本较高,因此,当风扇效能减弱或失效时,计算机系统只能根据温度控制模块切换不同的散热模块并降低计算机的系统效能,以使计算机设备不会过热,并且无任何的主动提示用户目前风扇的问题

Benefits of technology

[0024]本申请实施例的方法,设定风扇的目标转速;基于转速控制信号,控制所述风扇以所述目标转速工作;确定所述转速控制信号对应的设定转速;基于所述目标转速和所述设定转速,确定所述风扇的效能衰退参数;基于所述效能衰退参数,确定所述风扇的检测结果。如此,能够智能地对风扇进行检测,无需增加其他硬件即可预测风扇的效能衰退时间,降低了风扇检测的成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116838630B_ABST
    Figure CN116838630B_ABST
Patent Text Reader

Abstract

The application provides a fan detection method and device, electronic equipment and a storage medium. The method comprises the following steps: setting a target rotating speed of a fan; controlling the fan to work at the target rotating speed based on a rotating speed control signal; determining a set rotating speed corresponding to the rotating speed control signal; determining an efficiency decline parameter of the fan based on the target rotating speed and the set rotating speed; and determining a detection result of the fan based on the efficiency decline parameter. In this way, the fan can be intelligently detected, the efficiency decline time of the fan can be predicted without increasing other hardware, and the cost of fan detection is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to fan detection technology, and more particularly to a fan detection method, apparatus, electronic device, and storage medium. Background Technology

[0002] Currently, fan detection primarily relies on internal computer devices such as the BIOS (Basic Input Output System) and EC (Embedded Controller) or external detection devices to perform complex calculations. Existing fan detection methods severely impact computer system performance, and external detection devices are costly. Therefore, when fan performance weakens or fails, the computer system can only switch between different cooling modules based on the temperature control module, reducing system performance to prevent overheating, without any proactive notification to the user about the fan problem. Furthermore, existing fan detection methods cannot predict the timing of fan performance degradation, and the cost of fan detection is high.

[0003] Therefore, how to intelligently detect fans in order to predict the time of fan performance degradation in advance and reduce the cost of fan detection has always been a goal. Summary of the Invention

[0004] This application provides a fan detection method, apparatus, electronic device, and storage medium.

[0005] According to a first aspect of this application, a fan detection method is provided, the method comprising: setting a target speed of a fan; controlling the fan to operate at the target speed based on a speed control signal; determining a set speed corresponding to the speed control signal; determining a performance degradation parameter of the fan based on the target speed and the set speed; and determining a detection result of the fan based on the performance degradation parameter.

[0006] According to one embodiment of this application, controlling the fan to operate at the target speed based on the speed control signal includes: controlling the fan to operate based on the speed control signal; determining the actual speed of the fan; in response to the actual speed being less than the target speed, gradually increasing the intensity of the speed control signal by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed; in response to the actual speed being greater than the target speed, gradually decreasing the intensity of the speed control signal by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed.

[0007] According to one embodiment of this application, determining the set speed corresponding to the speed control signal includes: each speed control signal intensity corresponds to a set speed; in response to the actual speed being equal to the target speed, determining the set speed corresponding to the speed control signal of that intensity.

[0008] According to one embodiment of this application, setting the target speed of the fan includes: acquiring the load state of the electronic device including the fan; acquiring the setting time for setting the target speed of the fan; and setting the target speed of the fan in response to the load state satisfying a preset detection condition and the time interval since the last setting of the target speed of the fan satisfying a preset setting time threshold.

[0009] According to one embodiment of this application, determining the performance degradation parameter of the fan based on the target speed and the set speed includes: determining at least two sets of the target speed and the set speed based on the set time; determining the ratio of the first set target speed to the set speed; and determining the performance degradation parameter of the fan based on at least two sets of the set speed and the set time in response to the ratio being less than a preset first ratio threshold.

[0010] According to one embodiment of this application, determining the fan detection result based on the performance degradation parameter includes: obtaining a preset second proportional threshold, the second proportional threshold being less than a first proportional threshold; responding to a ratio of the target speed to the set speed being greater than or equal to the second proportional threshold, predicting the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold based on the performance degradation parameter, and determining the performance degradation time as the fan detection result; and responding to a ratio being less than the second proportional threshold, determining the fan detection result as a fan malfunction.

[0011] According to one embodiment of this application, after determining the fan detection result based on the performance degradation parameter, the method further includes: in response to the performance degradation time being less than a preset degradation time threshold, determining a first warning message corresponding to the fan detection result; in response to the fan detection result being a fan malfunction, determining a second warning message corresponding to the fan detection result; and displaying the first warning message and / or the second warning message on the display screen corresponding to the electronic device.

[0012] According to a second aspect of this application, a fan detection device is provided, comprising: a setting module for setting a target speed of a fan; a control module for controlling the fan to operate at the target speed based on a speed control signal; a determining module for determining the set speed corresponding to the speed control signal; a calculation module for determining a performance degradation parameter of the fan based on the target speed and the set speed; and a detection module for determining a detection result of the fan based on the performance degradation parameter.

[0013] According to one embodiment of this application, the control module is configured to: control the fan to operate based on the speed control signal; determine the actual speed of the fan; in response to the actual speed being less than the target speed, gradually increase the intensity of the speed control signal by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed; in response to the actual speed being greater than the target speed, gradually decrease the intensity of the speed control signal by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed.

[0014] According to one embodiment of this application, the intensity of each speed control signal corresponds to a set speed, and the determining module is used to: in response to the actual speed being equal to the target speed, determine the set speed corresponding to the speed control signal of that intensity.

[0015] According to one embodiment of this application, the setting module is used to: obtain the load state of the electronic device including the fan; obtain the setting time for setting the target speed of the fan; and set the target speed of the fan in response to the load state satisfying a preset detection condition and the time interval between the last setting of the target speed of the fan satisfying a preset setting time threshold.

[0016] According to one embodiment of this application, the calculation module is configured to: determine at least two sets of target speeds and set speeds based on the set time; determine the ratio of the first set target speed to the set speed; and, in response to the ratio being less than a preset first ratio threshold, determine the performance degradation parameter of the fan based on at least two sets of set speeds and the set time.

[0017] According to one embodiment of this application, the detection module is configured to: obtain a preset second proportional threshold, wherein the second proportional threshold is less than a first proportional threshold; in response to the ratio of the target speed to the set speed being greater than or equal to the second proportional threshold, predict the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold based on the performance degradation parameter, and determine the performance degradation time as the detection result of the fan; and in response to the ratio being less than the second proportional threshold, determine the detection result of the fan as a fan failure.

[0018] According to one embodiment of this application, the fan detection device further includes an early warning module, which is configured to: determine a first early warning message corresponding to the fan detection result in response to the performance degradation time being less than a preset degradation time threshold; determine a second early warning message corresponding to the fan detection result in response to the fan detection result being a fan malfunction; and display the first early warning message and / or the second early warning message on the display screen corresponding to the electronic device.

[0019] According to a third aspect of this application, an electronic device is provided, comprising:

[0020] At least one processor; and

[0021] A memory communicatively connected to the at least one processor; wherein,

[0022] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in this application.

[0023] According to a fourth aspect of this application, a non-transitory computer-readable storage medium is provided storing computer instructions for causing the computer to perform the methods described in this application.

[0024] The method of this application embodiment sets a target fan speed; controls the fan to operate at the target speed based on a speed control signal; determines a set speed corresponding to the speed control signal; determines a performance degradation parameter of the fan based on the target speed and the set speed; and determines a detection result of the fan based on the performance degradation parameter. In this way, the fan can be intelligently detected, predicting the fan's performance degradation time without adding other hardware, thus reducing the cost of fan detection.

[0025] It should be understood that the teachings of this application are not required to achieve all the beneficial effects described above, but rather that a specific technical solution can achieve a specific technical effect, and other embodiments of this application can also achieve beneficial effects not mentioned above. Attached Figure Description

[0026] The above and other objects, features, and advantages of exemplary embodiments of this application will become readily apparent upon reading the following detailed description with reference to the accompanying drawings. Several embodiments of this application are illustrated in the drawings by way of example and not limitation, in which:

[0027] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

[0028] Figure 1 This illustration shows a processing flow diagram of a fan detection method provided in an embodiment of this application. Figure 1 ;

[0029] Figure 2 This illustration shows a processing flow diagram of a fan detection method provided in an embodiment of this application. Figure 2 ;

[0030] Figure 3 This illustration shows a processing flow diagram of a fan detection method provided in an embodiment of this application. Figure 3 ;

[0031] Figure 4 This illustration shows a processing flow diagram of a fan detection method provided in an embodiment of this application. Figure 4 ;

[0032] Figure 5 This illustration shows a processing flow diagram of a fan detection method provided in an embodiment of this application. Figure 5 ;

[0033] Figure 6 This illustration shows an application scenario of a fan detection method provided in an embodiment of this application.

[0034] Figure 7 This illustration shows another application scenario of a fan detection method provided in an embodiment of this application;

[0035] Figure 8 This illustration shows another application scenario of a fan detection method provided in an embodiment of this application;

[0036] Figure 9 This illustration shows an optional schematic diagram of a fan detection device provided in an embodiment of this application;

[0037] Figure 10 A schematic diagram of the composition structure of the electronic device provided in the embodiments of this application is shown. Detailed Implementation

[0038] To make the objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0040] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0041] The processing flow of the fan detection method provided in the embodiments of this application will be described. See [link to relevant documentation]. Figure 1 , Figure 1 This is a schematic diagram of the fan detection method provided in the embodiments of this application. Figure 1 , will combine Figure 1 Steps S101-S105 are explained below.

[0042] Step S101: Set the target speed of the fan.

[0043] In some embodiments, step S101 may include: acquiring the load state of the electronic device including the fan; acquiring the setting time for setting the target speed of the fan; and setting the target speed of the fan in response to the load state meeting a preset detection condition and the time interval since the last setting of the target speed of the fan meeting a preset setting time threshold. The electronic device may include: a computer, a server, and a television, etc. The load state may include: the power consumption of the CPU (Central Processing Unit) of the electronic device. The setting time may include: the moment at which the target speed of the fan is set each time. The preset detection condition may include: a preset maximum power consumption capable of fan detection. The preset setting time threshold may include: a preset minimum duration capable of fan detection.

[0044] As an example, the CPU power consumption of the electronic device including the fan is obtained, and the setting time for setting the target speed of the fan is obtained. In response to the load state being less than the preset maximum power consumption for fan detection and the time interval since the last setting of the target speed of the fan being greater than the preset minimum time for fan detection, the target speed of the fan is set.

[0045] Step S102: Based on the speed control signal, control the fan to operate at the target speed.

[0046] In some embodiments, step S102 may include: controlling the fan to operate based on a speed control signal; determining the actual fan speed; in response to the actual speed being less than the target speed, gradually increasing the strength of the speed control signal by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed; in response to the actual speed being greater than the target speed, gradually decreasing the strength of the speed control signal by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed. The speed control signal may include a PWM (Pulse Width Modulation) Duty fan command. Increasing the strength of the speed control signal increases the fan speed; decreasing the strength of the speed control signal decreases the fan speed. The first ratio may include a preset percentage increase in the strength of the speed control signal. The second ratio may include a preset percentage decrease in the strength of the speed control signal. The first and second ratios may be the same ratio, or they may be different ratios. The actual speed may include the actual operating speed of the fan under a certain speed control signal.

[0047] Step S103: Determine the set speed corresponding to the speed control signal.

[0048] In some embodiments, step S103 may include: in response to the actual rotational speed being equal to the target rotational speed, determining the set rotational speed corresponding to the intensity of the rotational speed control signal. Each intensity of the rotational speed control signal corresponds to a set rotational speed.

[0049] As an example, the fan runs at 2000 rpm before detection. The target fan speed is set to 3000 rpm, and the speed control signal corresponds to a set speed of 3000 rpm. Based on the speed control signal corresponding to the set speed of 3000 rpm, the fan is controlled to operate, and the actual fan speed is determined to be 2700 rpm. In response to the actual speed of 2700 rpm being less than the target speed of 3000 rpm, the strength of the speed control signal is gradually increased by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed. In response to the actual speed equaling the target speed of 3000 rpm, the set speed corresponding to this strength of speed control signal is determined to be 3400 rpm.

[0050] Step S104: Determine the fan performance degradation parameters based on the target speed and the set speed.

[0051] In some embodiments, step S104 may include: determining at least two sets of target speeds and set speeds based on a set time; determining the ratio of the first set target speed to the set speed; and, in response to a ratio less than a preset first proportional threshold, determining a fan performance degradation parameter based on at least two sets of set speeds and a set time. The first proportional threshold may include a preset maximum proportion that can determine the fan performance degradation parameter.

[0052] In some embodiments, fan performance degradation parameters are determined based on at least two sets of set speeds and set times. It can be expressed by the following formula (1):

[0053]

[0054] Among them, y i To set the rotational speed, x i For setting the time, n is the number of sets of set speed and set time, and n≥2. To set the average rotational speed, This is the average value over a set period.

[0055] As an example, the first proportional threshold can be 85%. The target speed corresponding to set time 1 is determined to be 1000 rpm and the set speed to be 1600 rpm; the target speed corresponding to set time 2 is determined to be 1000 rpm and the set speed to be 1700 rpm; and the target speed corresponding to set time 3 is determined to be 1000 rpm and the set speed to be 1800 rpm. Here, set time 1 is earlier than set time 2, and set time 2 is earlier than set time 3. The ratio of the target speed to the set speed corresponding to set time 1 is determined to be 62.5%. Since the ratio of the target speed to the set speed corresponding to set time 1 (62.5%) is less than the preset first proportional threshold of 85%, the fan performance degradation parameters are determined based on set speeds of 1600 rpm and set time 1, 1700 rpm and set time 2, and 1800 rpm and set time 3.

[0056] Step S105: Determine the fan detection results based on the performance degradation parameters.

[0057] In some embodiments, step S105 may include: obtaining a preset second proportional threshold, the second proportional threshold being less than a first proportional threshold; responding to a ratio being greater than or equal to the second proportional threshold, predicting the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold based on performance degradation parameters, and determining the performance degradation time as the fan detection result; responding to a ratio being less than the second proportional threshold, determining the fan detection result as a fan failure. The second proportional threshold may include: a preset maximum ratio that can determine the fan detection result as a fan failure. The fan speed corresponding to the preset second proportional threshold may include: the speed corresponding to the performance requirements during fan design. The performance degradation time may include: the time interval between the moment when the ratio is equal to the preset second proportional threshold and the current moment.

[0058] In some embodiments, based on the performance degradation parameter, the performance degradation time x corresponding to the predicted ratio being equal to a preset second proportional threshold can be expressed by the following formula (2):

[0059]

[0060] Where y is the preset rotational speed corresponding to the second proportional threshold. It can be calculated using at least two sets of target speeds and set speeds. This is a parameter for performance degradation.

[0061] In some embodiments, after step S105, the fan detection method may further include: determining first warning information corresponding to the fan detection result in response to the performance degradation time being less than a preset degradation time threshold; determining second warning information corresponding to the fan detection result in response to the fan detection result being a fan malfunction; and displaying the first warning information and / or the second warning information on a display screen corresponding to the electronic device. The degradation time threshold may include: the longest time interval at which the first warning information corresponding to the fan detection result can be determined. The first warning information may include: the fan performance degradation time. The second warning information may include: a fan malfunction indication message.

[0062] As an example, the preset second proportional threshold is 30%, the preset first proportional threshold is 70%, and the preset decay time threshold is 1500h. First, it is determined that the ratio of the target speed to the set speed at the current moment is 62%. Based on the performance decay parameter, the predicted performance decay time corresponding to the ratio equal to the preset second proportional threshold is 1000h, and the performance decay time of 1000h is determined as the fan detection result. In response to the performance decay time of 1000h being less than the preset decay time threshold of 1500h, the first warning information corresponding to the fan detection result is determined to include "fan performance decay time 1000h", and "fan performance decay time 1000h" is displayed on the display screen of the electronic device.

[0063] In some embodiments, the processing flow of the fan detection method is illustrated. Figure 2 ,like Figure 2 As shown, it includes:

[0064] Step S201: Control the fan to work based on the speed control signal.

[0065] Step S202: Determine the actual fan speed.

[0066] In step S203a, in response to the actual speed being less than the target speed, the strength of the speed control signal is gradually increased by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed.

[0067] In step S203b, in response to the actual speed being greater than the target speed, the strength of the speed control signal is gradually reduced by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed.

[0068] The method of this application embodiment, through steps S201-S203b, can intelligently detect the fan without adding additional sensors and controllers for detection and calculation, and can predict the fan's performance degradation time, thus reducing the cost of fan detection.

[0069] The specific explanations for each step S201-S203b are the same as those for step S102 above, and will not be repeated here.

[0070] In some embodiments, the processing flow of the fan detection method is illustrated. Figure 3 ,like Figure 3 As shown, it includes:

[0071] Step S301: Obtain the load status of electronic devices, including fans.

[0072] Step S302: Obtain the setting time for the target speed of the set fan.

[0073] Step S303: In response to the load state meeting the preset detection conditions and the time interval since the last setting of the target fan speed meeting the preset setting time threshold, the target fan speed is set.

[0074] The method of this application embodiment, through steps S301-S303, can intelligently detect the fan, automatically determine the fan detection time, predict the fan performance degradation time without manual intervention, reduce the cost of fan detection, and improve the user experience.

[0075] The specific explanations for each step S301-S303 are the same as those for step S101 above, and will not be repeated here.

[0076] In some embodiments, the processing flow of the fan detection method is illustrated. Figure 4 ,like Figure 4 As shown, it includes:

[0077] In step S401, the strength of each speed control signal corresponds to a set speed.

[0078] Step S402: In response to the actual speed being equal to the target speed, determine the set speed corresponding to the speed control signal of that intensity.

[0079] Step S403: Based on the set time, determine at least two sets of target speeds and set speeds.

[0080] Step S404: Determine the ratio of the initially set target speed to the set speed.

[0081] In step S405, in response to the ratio being less than a preset first proportional threshold, the fan performance degradation parameters are determined based on at least two sets of set speeds and set times.

[0082] The method of this application embodiment, through steps S401-S405, can intelligently detect the fan without adding additional sensors and controllers for detection and calculation. It automatically determines the fan's performance degradation parameters through an algorithm, and then automatically predicts the fan's performance degradation time based on the performance degradation parameters, thereby reducing the cost of fan detection.

[0083] The specific explanations for each step S401-S405 are the same as those for steps S103 and S104 above, and will not be repeated here.

[0084] In some embodiments, the processing flow of the fan detection method is illustrated. Figure 5 ,like Figure 5 As shown, it includes:

[0085] Step S501: Obtain a preset second proportional threshold, which is less than the first proportional threshold.

[0086] In step S502a, in response to the ratio of the target speed to the set speed being greater than or equal to the second proportional threshold, based on the performance degradation parameter, the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold is predicted, and the performance degradation time is determined as the detection result of the fan.

[0087] In step S502b, in response to the ratio being less than the second proportional threshold, the detection result of the fan is determined to be a fan failure.

[0088] Step S503a: In response to the performance degradation time being less than a preset degradation time threshold, the first warning information corresponding to the fan detection result is determined.

[0089] In step S503b, in response to the fan detection result being a fan malfunction, the second warning information corresponding to the fan detection result is determined.

[0090] Step S504: Display the first warning information and / or the second warning information on the display screen corresponding to the electronic device.

[0091] The method of this application embodiment, through steps S501-S504, can intelligently detect the fan without adding additional sensors and controllers for detection and calculation. It automatically determines the fan's performance degradation parameters through an algorithm, and then automatically predicts the fan's performance degradation time based on the performance degradation parameters, reducing the cost of fan detection. Based on the fan detection results, the user is notified of the current fan status. In response to the fan's performance being about to fall below the original fan design, the user can be notified in advance to go to the repair center for fan repair or inspection, improving the user experience.

[0092] The specific explanations for each step S501-S504 are the same as those for step S105 above, and will not be repeated here.

[0093] Figure 6 The diagram illustrates an application scenario of the fan detection method provided in this application.

[0094] refer to Figure 6 This application describes an application scenario of the fan detection method provided in this embodiment. The software architecture applied to the fan detection method includes a DPTF (Dynamic Platform and Thermal Framework) architecture comprising a heat dissipation module 1, a heat dissipation module 2, and a virtual fan detection module; the system software layer includes ACPI (Advanced Configuration and Power Interface); the firmware layer includes EC and BIOS; the hardware layer includes the fan and NVRAM (Non-Volatile Random Access Memory); and power management software.

[0095] When the computer system load meets the preset detection conditions and the time interval since the last fan detection meets the preset time threshold, DPTF switches to the virtual fan detection module to detect the fan. In the virtual fan detection module, the target fan speed is set according to different fan designs. Then, through communication between ACPI and BIOS, the EC is notified to output a PWM Duty fan command. The output PWM Duty fan command and the actual fan speed are continuously changed to ensure that the actual fan speed matches the target speed. The current fan ID (Identity Document), PWM Duty fan command, and target speed are recorded and stored in NVRAM. The BIOS calculates the fan performance degradation parameters based on the data recorded in NVRAM. Based on the performance degradation parameters and the performance requirements of the fan design, the BIOS estimates the time during which the fan performance will not meet the design requirements. When the estimated time is less than the computer system design requirements, the power management software is notified via ACPI that the current fan performance is below the design specifications. This causes the power management software to display a warning window on the corresponding display device, informing the user that the fan performance is below the design specifications.

[0096] Understandable. Figure 6 The application scenarios of the fan detection method described in this application are only some exemplary implementations in the embodiments of this application. The application scenarios of the fan detection method in the embodiments of this application include, but are not limited to, those of... Figure 6 The application scenarios of the fan detection method shown are illustrated.

[0097] Figure 7 This diagram illustrates another application scenario of the fan detection method provided in this application embodiment.

[0098] refer to Figure 7 This application provides another application scenario for the fan detection method. The specific process for fan detection in a laptop computer involves: First, detecting the CPU load of the laptop. When the CPU load remains low and the time interval since the last fan detection meets a preset threshold, the ThermalTable (temperature control module) is switched to virtual fan test mode. In virtual fan test mode, the target fan speed is set according to different fan designs. Then, through communication between ACPI and BIOS, the EC is notified to output a PWM Duty fan command. The output PWM Duty fan command is continuously changed, and the actual fan speed is determined to control the actual fan speed to reach the target speed. The current fan ID, the set speed corresponding to the PWM Duty fan command, and the target speed are recorded and stored in NVRAM. The BIOS calculates the fan performance degradation parameters based on the data recorded in NVRAM. Based on the performance degradation parameters and the performance requirements of the fan design, the BIOS estimates the time during which the fan performance will not meet the fan design requirements. When the estimated time is less than the requirements of the computer system design, the ACPI notifies the power management software that the current fan performance is lower than the design specifications. This causes the power management software to display a warning window on the corresponding display device of the computer, informing the user that the fan performance is below the design specifications.

[0099] Understandable. Figure 7 The application scenarios of the fan detection method described in this application are only some exemplary implementations in the embodiments of this application. The application scenarios of the fan detection method in the embodiments of this application include, but are not limited to, those of... Figure 7 The application scenarios of the fan detection method shown are illustrated.

[0100] Figure 8 This diagram illustrates another application scenario of the fan detection method provided in this application embodiment.

[0101] refer to Figure 8This application describes another application scenario of the fan detection method provided in this embodiment. It is used to estimate the time during which fan performance is lower than the design value. x1, x2, and x3 are the set times corresponding to the PWM Duty. y1, y2, and y3 are the set speeds corresponding to the PWM Duty. Substituting x1, x2, x3, y1, y2, and y3 into the simple linear regression formula Y = aX + b, the values ​​of the slope a and intercept b are calculated. Then, based on the simple linear regression formula Y = aX + b, the estimated time during which the fan performance is lower than the design value when the PWM Duty is greater than 30% is calculated.

[0102] Understandable. Figure 8 The application scenarios of the fan detection method described in this application are only some exemplary implementations in the embodiments of this application. The application scenarios of the fan detection method in the embodiments of this application include, but are not limited to, those of... Figure 8 The application scenarios of the fan detection method shown are illustrated.

[0103] Therefore, compared with the fan detection in related technologies, which cannot predict the fan's performance degradation time in advance and has a high cost, the method of this application embodiment can intelligently detect the fan without adding additional sensors and controllers for detection and calculation. It automatically determines the fan's performance degradation parameters through algorithms and then automatically predicts the fan's performance degradation time based on the performance degradation parameters, thereby reducing the cost of fan detection. Based on the fan detection results, the user is notified of the current fan status. In response to the fan's performance being about to fall below the original fan design, the user can be notified in advance to go to the repair center for fan repair or inspection, thus improving the user experience.

[0104] The following description continues to illustrate the exemplary structure of the fan detection device 90 provided in the embodiments of this application as a software module. In some embodiments, such as... Figure 10 As shown, the software modules in the fan detection device 90 may include: a setting module 901 for setting the target speed of the fan; a control module 902 for controlling the fan to operate at the target speed based on the speed control signal; a determination module 903 for determining the set speed corresponding to the speed control signal; a calculation module 904 for determining the fan's performance degradation parameters based on the target speed and the set speed; and a detection module 905 for determining the fan's detection result based on the performance degradation parameters.

[0105] In some embodiments, the control module 902 may be used to: control the fan to operate based on the speed control signal; determine the actual speed of the fan; in response to the actual speed being less than the target speed, gradually increase the strength of the speed control signal by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed; in response to the actual speed being greater than the target speed, gradually decrease the strength of the speed control signal by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed.

[0106] In some embodiments, the intensity of each speed control signal corresponds to a set speed, and the determining module 903 can be used to: in response to the actual speed being equal to the target speed, determine the set speed corresponding to the speed control signal of that intensity.

[0107] In some embodiments, the setting module 901 may be used to: obtain the load state of an electronic device including a fan; obtain the setting time for setting the target speed of the fan; and set the target speed of the fan in response to the load state meeting a preset detection condition and the time interval since the last setting of the target speed of the fan meeting a preset setting time threshold.

[0108] In some embodiments, the calculation module 904 may be used to: determine at least two sets of target speeds and set speeds based on a set time; determine the ratio of the first set target speed to the set speed; and, in response to the ratio being less than a preset first ratio threshold, determine a fan performance degradation parameter based on at least two sets of set speeds and set time.

[0109] In some embodiments, the detection module 905 may be used to: obtain a preset second proportional threshold, the second proportional threshold being less than a first proportional threshold; in response to the ratio of the target speed and the set speed being greater than or equal to the second proportional threshold, predict the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold based on the performance degradation parameter, and determine the performance degradation time as the detection result of the fan; in response to the ratio being less than the second proportional threshold, determine the detection result of the fan as a fan failure.

[0110] In some embodiments, the fan detection device 90 further includes an early warning module 906 (not shown in the figure), which can be used to: determine a first early warning message corresponding to the fan detection result in response to the performance decay time being less than a preset decay time threshold; determine a second early warning message corresponding to the fan detection result in response to the fan detection result being a fan failure; and display the first early warning message and / or the second early warning message on the display screen corresponding to the electronic device.

[0111] It should be noted that the description of the device in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, therefore it will not be repeated. For any technical details not covered in the fan detection device provided in this application embodiment, please refer to... Figures 1 to 8 The meaning is understood in accordance with the description of any of the accompanying drawings.

[0112] According to embodiments of this application, this application also provides an electronic device and a non-transitory computer-readable storage medium.

[0113] Figure 10 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of this application 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 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.

[0114] like Figure 10 As shown, the electronic 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. The RAM 803 may also store various programs and data required for the operation of the electronic device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0115] Multiple components in electronic device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of displays, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows electronic device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0116] The computing unit 801 can be a variety of general-purpose and / or special-purpose 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 special-purpose artificial intelligence (AI) computing chips, various computing units running 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 detection method. For example, in some embodiments, the fan detection method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the fan detection method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the fan detection method by any other suitable means (e.g., by means of firmware).

[0117] Various embodiments of the systems and techniques described above herein 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), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0118] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0119] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0120] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).

[0121] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0122] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0123] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.

[0124] 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 indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0125] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A fan detection method, characterized in that, The method includes: Set the target fan speed; Based on the speed control signal, the fan is controlled to operate at the target speed; the strength of each speed control signal corresponds to a set speed. In response to the actual speed being equal to the target speed, the set speed corresponding to the speed control signal of that intensity is determined; the actual speed is the speed at which the fan actually operates under a certain speed control signal; Based on the target speed and the set speed, the efficiency degradation parameters of the fan are determined; Based on the set time for setting the target speed of the fan, at least two sets of target speeds and set speeds are determined; the ratio of the first set target speed to the set speed is determined; in response to the ratio being less than a preset first ratio threshold, the performance degradation parameter of the fan is determined based on the at least two sets of set speeds and set time. Performance degradation parameters It can be expressed by the following formula: in, To set the rotation speed, Here, n represents the number of sets for setting the rotation speed and setting the time, and n 2, To set the average rotational speed, Average over a set time period; Obtain a preset second ratio threshold, where the second ratio threshold is less than the first ratio threshold; In response to the ratio of the target speed to the set speed being greater than or equal to the second proportional threshold, based on the performance degradation parameter, the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold is predicted, and the performance degradation time is determined as the detection result of the fan; in response to the ratio being less than the second proportional threshold, the detection result of the fan is determined to be a fan failure. The performance degradation time x is expressed by the following formula: Where y is the preset rotational speed corresponding to the second proportional threshold. Calculated using at least two sets of target speeds and set speeds; In response to the performance degradation time being less than a preset degradation time threshold, a first warning message corresponding to the fan detection result is determined; in response to the fan detection result being a fan malfunction, a second warning message corresponding to the fan detection result is determined; the first warning message and / or the second warning message are displayed on the display screen corresponding to the fan's electronic device.

2. The method according to claim 1, characterized in that, The method of controlling the fan to operate at the target speed based on the speed control signal includes: Based on the speed control signal, the fan is controlled to operate; Determine the actual speed of the fan; In response to the actual speed being less than the target speed, the strength of the speed control signal is gradually increased by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed. In response to the actual speed being greater than the target speed, the strength of the speed control signal is gradually reduced by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed.

3. The method according to claim 1, characterized in that, The target speed of the set fan includes: Obtain the load status of the electronic equipment including the fan; Obtain the set time for setting the target speed of the fan; In response to the load state meeting the preset detection conditions and the time interval since the last setting of the target speed of the fan meeting the preset time threshold, the target speed of the fan is set.

4. A fan detection device, characterized in that, The fan detection device includes: The setting module is used to set the target fan speed; The control module is used to control the fan to operate at the target speed based on the speed control signal; The determining module determines the set speed corresponding to the intensity of each speed control signal in response to the actual speed being equal to the target speed. The actual speed is the actual operating speed of the fan under a certain speed control signal. A calculation module is configured to determine at least two sets of target speeds and set speeds based on a set time for setting the target speed of the fan; determine the ratio of the first set target speed to the set speed; and, in response to the ratio being less than a preset first ratio threshold, determine a performance degradation parameter of the fan based on at least two sets of set speeds and the set time. It can be expressed by the following formula: in, To set the rotation speed, Here, n represents the number of sets for setting the rotation speed and setting the time, and n 2, To set the average rotational speed, Average over a set time period; The detection module is configured to acquire a preset second proportional threshold, wherein the second proportional threshold is less than the first proportional threshold; in response to the ratio of the target speed to the set speed being greater than or equal to the second proportional threshold, based on the performance degradation parameter, predict the performance degradation time corresponding to the ratio being equal to the preset second proportional threshold, and determine the performance degradation time as the detection result of the fan; in response to the ratio being less than the second proportional threshold, determine the detection result of the fan as a fan failure; The performance degradation time x is expressed by the following formula: Where y is the preset rotational speed corresponding to the second proportional threshold. Calculated using at least two sets of target speeds and set speeds; The early warning module is configured to determine a first early warning message corresponding to the fan detection result in response to the performance degradation time being less than a preset degradation time threshold; determine a second early warning message corresponding to the fan detection result in response to the fan detection result being a fan malfunction; and display the first early warning message and / or the second early warning message on the display screen corresponding to the fan's electronic device.

5. The apparatus according to claim 4, characterized in that, The control module is used for: Based on the speed control signal, the fan is controlled to operate; Determine the actual speed of the fan; In response to the actual speed being less than the target speed, the strength of the speed control signal is gradually increased by a preset first ratio until the actual speed of the fan driven by the gradually increasing speed control signal equals the target speed. In response to the actual speed being greater than the target speed, the strength of the speed control signal is gradually reduced by a preset second ratio until the actual speed of the fan driven by the gradually decreasing speed control signal equals the target speed.

6. The apparatus according to claim 4, characterized in that, The setting module is used for: Obtain the load status of the electronic equipment including the fan; Obtain the set time for setting the target speed of the fan; In response to the load state meeting the preset detection conditions and the time interval since the last setting of the target speed of the fan meeting the preset time threshold, the target speed of the fan is set.

7. 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 to enable the at least one processor to perform the method of any one of claims 1-3.

8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Fan rotating speed control method

    CN102374185A

  • Detection method, device, equipment and computer readable medium of fan

    CN108280016A

  • Abnormal early warning method, device and equipment for fan and medium

    CN114320970A

  • Combustion device and hot water supply device

    JP2015159630A