Fan noise reduction method and device, electronic equipment and storage medium
By dynamically adjusting the fan speed within a certain range, the contradiction between fan noise and heat dissipation performance is resolved, achieving noise reduction and sound quality improvement without affecting heat dissipation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-12
- Publication Date
- 2026-03-10
AI Technical Summary
Existing technologies cannot maintain heat dissipation performance while reducing fan noise, and usually require sacrificing heat dissipation effect.
By dynamically adjusting the fan speed to fluctuate within a certain range, the constant inherent frequency of the fan sound is broken up, reducing the noise level.
Without compromising heat dissipation performance, it effectively reduces fan noise and improves sound quality.
Smart Images

Figure CN121630783A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a fan noise reduction method, apparatus, electronic device, and storage medium. Background Technology
[0002] As users have increasingly higher demands for products such as laptops, in addition to requiring better cooling performance from the fans, they are also becoming more concerned about fan noise levels. Related technologies typically achieve fan noise reduction by altering the airflow pattern through fan cover obstructions or by reducing the magnetic center distance. However, both of these methods sacrifice cooling performance and cannot fundamentally solve the noise problem. Summary of the Invention
[0003] This application provides a fan noise reduction method, apparatus, electronic device, and storage medium to at least solve the above-mentioned technical problems existing in the prior art.
[0004] According to a first aspect of this application, a fan noise reduction method is provided, the method being applied to an electronic device, the electronic device including a fan; the method includes: Obtain the current temperature of the electronic device; Determine the first target fan speed based on the current temperature of the electronic device; Determine the speed fluctuation range corresponding to the first target speed; The current speed of the fan is controlled as the first target speed. Based on the first target speed and the speed fluctuation range, multiple second target speeds are obtained. The fan is controlled to operate at each of the second target speeds in sequence; each of the second target speeds is used to reduce noise in the fan audio.
[0005] In one possible implementation, the rotational speed fluctuation range includes a range consisting of an upper speed limit and a lower speed limit; based on the first target rotational speed and the rotational speed fluctuation range, a plurality of second target rotational speeds are obtained, including: Obtain the adjustment step size and adjustment interval for the fan speed; Based on the adjustment step size and adjustment interval, the first target speed is adjusted multiple times according to the adjustment rules to obtain multiple second target speeds; the adjustment rules include making multiple adjustments in a cycle of first adjusting towards the upper limit of the speed and then adjusting towards the lower limit of the speed.
[0006] In one embodiment, the temperature of the electronic device changes when the rotational speed of the first target rotational speed is adjusted; the method further includes: When the current temperature of the electronic device changes to the first temperature, Based on the first temperature, determine the third target speed of the fan; Determine the speed fluctuation range corresponding to the third target speed; The current speed of the control fan is the third target speed. Based on the third target speed and the speed fluctuation range, multiple fourth target speeds are obtained. The control fan is set to operate at each of the fourth target speeds in sequence.
[0007] In one possible implementation, determining a first target fan speed based on the current temperature of the electronic device includes: Determine the device type of the electronic equipment; The first target fan speed is determined based on the type of electronic device and the current temperature.
[0008] In one possible implementation, determining the speed fluctuation range corresponding to the first target speed includes: Based on the first target speed and a preset mapping table, the speed fluctuation range corresponding to the first target speed is determined; wherein, the preset mapping table is used to characterize the correspondence between the first target speed and the speed fluctuation range.
[0009] In one possible implementation, after controlling the fan to operate at each of the second target speeds in sequence, the method further includes: Acquire audio data generated by the fan during operation based on multiple second target speeds; Perform time-frequency transformation on the audio data to obtain the corresponding spectrogram of the audio data; Based on the spectrogram, noise assessment is performed on the audio data to obtain a noise assessment score for the audio data; the noise assessment score is used to evaluate the sound quality of the fan.
[0010] According to a second aspect of this application, a fan noise reduction device is provided, the device being applied to an electronic device, the electronic device including a fan; the device includes: The first acquisition unit is used to acquire the current temperature of the electronic device; The first determining unit is used to determine the first target speed of the fan based on the current temperature of the electronic device; The second determining unit is used to determine the speed fluctuation range corresponding to the first target speed. The first adjustment unit is used to control the current speed of the fan to a first target speed, and to obtain multiple second target speeds based on the first target speed and the speed fluctuation range. The first operating unit is used to control the fan to run at each of the second target speeds in sequence; each of the second target speeds is used to reduce the noise of the fan audio.
[0011] In one embodiment, the speed fluctuation range includes a range consisting of an upper speed limit and a lower speed limit; a first adjustment unit is used to obtain the adjustment step size and adjustment interval time for the fan speed; based on the adjustment step size and adjustment interval time, the first target speed is adjusted multiple times according to the adjustment rules to obtain multiple second target speeds; wherein, the adjustment rules include performing multiple adjustments in a cycle of first adjusting towards the upper speed limit and then adjusting towards the lower speed limit.
[0012] According to a third aspect of this application, an electronic device is provided, comprising: At least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by at least one processor, which enables the at least one processor to perform the method of this application.
[0013] According to a fourth aspect of this application, a non-transitory computer-readable storage medium is provided that stores computer instructions for causing a computer to execute the method of this application.
[0014] In this application, the current temperature of an electronic device is obtained; based on the current temperature of the electronic device, a first target speed of the fan is determined; a speed fluctuation range corresponding to the first target speed is determined; the current speed of the fan is controlled to be the first target speed; based on the first target speed and the speed fluctuation range, multiple second target speeds are obtained; the fan is controlled to operate sequentially at each of the second target speeds; each second target speed is used to reduce noise in the fan's audio. This application, by adjusting the fan speed to the target speed and then fluctuating the target speed within a range, can break up the constant natural frequency of the fan sound, reduce the noise prominence ratio of the fan sound, and thus achieve noise reduction of the fan.
[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0016] The above and other objects, features, and advantages of exemplary embodiments of this application will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of this application are illustrated in the drawings by way of example and not limitation, in which: In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
[0017] Figure 1 A schematic diagram illustrating the implementation process of the fan noise reduction method according to an embodiment of this application is shown; Figure 2This application shows a schematic diagram of a control flow for the current fan speed according to an embodiment of the present application; Figure 3 This paper illustrates a spectrum diagram of the fan sound in an embodiment of the present application. Figure 4 This invention provides a schematic diagram of the sound spectrum for adjusting fan speed fluctuations according to an embodiment of the present application. Figure 5 A schematic diagram of the composition structure of the fan noise reduction device according to an embodiment of this application is shown; Figure 6 A schematic diagram of the composition structure of an electronic device according to an embodiment of this application is shown. Detailed Implementation
[0018] 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.
[0019] This application provides a fan noise reduction method, which can be applied to electronic devices equipped with cooling fans. As an example, the electronic device can be a desktop computer, laptop computer, etc. In some embodiments of this application, the cooling fan can also be simply referred to as a fan. Figure 1 As shown, the fan noise reduction method provided in this embodiment may include the following steps: S101: Obtain the current temperature of the electronic device through its thermal sensor.
[0020] Electronic devices include thermal sensors, which are typically used to monitor the temperature of various components within the device to prevent overheating that could lead to reduced performance, system crashes, or even burnout. In this step, the current temperature of the electronic device is read using its internal thermal sensor.
[0021] S102: The embedded controller of the electronic device determines the first target speed of the fan based on the current temperature of the electronic device.
[0022] In this step, the electronic device also includes an embedded controller, which is typically used to manage the program execution of the electronic device and ensure its normal operation. The required heat dissipation capacity varies depending on the current temperature of the electronic device. It can be understood that heat dissipation in electronic devices is achieved through the rotation of a fan. When the temperature of the electronic device is high, more heat needs to be dissipated, requiring a stronger heat dissipation capacity; when the temperature is low, less heat needs to be dissipated, requiring a weaker heat dissipation capacity. Correspondingly, when a stronger heat dissipation capacity is required, the fan speed needs to be faster; when a weaker heat dissipation capacity is required, the fan speed needs to be slower. Different temperatures correspond to different fan speeds, provided that the heat dissipation capacity of the electronic device meets the standards. In one optional solution, an empirical fan speed value that best matches the current temperature of the electronic device can be determined based on historical data, and this value can be used as the first target fan speed.
[0023] S103: Determine the speed fluctuation range corresponding to the first target speed through the embedded controller of the electronic device.
[0024] In this step, the fan speed fluctuation range refers to the range within which the fan speed fluctuation will not affect the heat dissipation capacity (performance) of the electronic device, or will have a minimal impact on it. The fan speed fluctuation range corresponding to the first target speed can be understood as the range of fan speed fluctuation when the fan speed reaches the first target speed, without affecting the heat dissipation performance or with a minimal impact. The fan speed fluctuation range corresponding to the first target speed can be preset, such as adjusting the range by ±50 revolutions from the first target speed. For example, assuming the first target speed is 2100 revolutions per minute, the fan speed fluctuation range can be 2050~2150 revolutions per minute. In an optional scheme, the empirical fluctuation range corresponding to the first target speed can also be determined based on the historical data of the electronic device.
[0025] S104: The current speed of the fan is controlled by the embedded controller of the electronic device to be the first target speed. Based on the first target speed and the speed fluctuation range, multiple second target speeds are obtained.
[0026] In this step, the embedded control chip inside the electronic device first adjusts the current fan speed to the first target speed to ensure the normal heat dissipation performance of the electronic device. Simultaneously, the first target speed is fluctuated multiple times within a certain range to obtain multiple adjusted speeds, i.e., the second target speed.
[0027] refer to Figure 2As shown, the electronic device obtains the first target speed and the current speed of the fan through the embedded controller (EC), compares the current speed with the first target speed, and if the current speed is less than the first target speed, it adjusts the current speed to the first target speed by adjusting the pulse; otherwise, if the current speed is greater than the first target speed, it adjusts the current speed to the first target speed by adjusting the pulse.
[0028] S105: The embedded controller of the electronic device controls the fan to run at each of the second target speeds in sequence; each of the second target speeds is used to reduce the noise of the fan audio.
[0029] In this step, after obtaining multiple second target speeds through the aforementioned step S104, the fan sequentially operates at multiple second target speeds in a fluctuating manner. This can break up the constant frequency of the fan without affecting the heat dissipation performance of the electronic device, thereby reducing the energy difference between adjacent single-frequency tones of the sound generated by the fan during operation, thus reducing the single-frequency tone prominence rate and noise prominence ratio, and achieving noise reduction of the fan audio.
[0030] Understandably, in related technologies, after adjusting the fan speed to a target speed, if the temperature doesn't change, the fan speed will stabilize at that speed until the temperature changes, at which point the fan speed will stabilize at the next lower speed. If the fan speed remains consistently stable, the energy becomes too concentrated, and the human ear's subjective perception of this type of sound will be amplified, thus perceiving it as "harsh." (Reference) Figure 3 The spectrum shown has many spikes due to the excessive concentration of energy at a constant frequency. Figure 3 The high energy (especially the prominent peak portion) of the sound can easily produce pure tones, affecting sound quality. In this embodiment, after the fan reaches the target speed, the speed is adjusted by fluctuation without affecting the heat dissipation performance of the electronic device, thus breaking up the constant frequency of the fan in related technologies. (See reference...) Figure 4 The spectrum diagram shown shows that because the rotation speed is not fixed, the critical bandwidth increases, the concentrated energy at the natural frequency is dispersed, the energy in each part is relatively smooth, the spikes are greatly reduced, and the fan noise is effectively reduced.
[0031] In the scheme shown in steps S101-S105, the current temperature of the electronic device is obtained through a thermal sensor; based on the current temperature, the embedded controller of the electronic device determines a first target fan speed; the embedded controller determines the speed fluctuation range corresponding to the first target speed; the embedded controller controls the current fan speed to be the first target speed, and based on the first target speed and the speed fluctuation range, multiple second target speeds are obtained; the fan is controlled to operate at each of the second target speeds in sequence; each second target speed is used to reduce noise in the fan's audio. This application, by adjusting the fan speed to the target speed and then fluctuating the target speed within a range, can break up the constant natural frequency of the fan sound, reduce the noise prominence ratio of the fan sound, and thus achieve noise reduction of the fan.
[0032] In some alternative schemes, the speed fluctuation range includes a range consisting of an upper speed limit and a lower speed limit; based on the first target speed and the speed fluctuation range, multiple second target speeds are obtained, including: Obtain the adjustment step size and adjustment interval for the fan speed; Based on the adjustment step size and adjustment interval, the first target speed is adjusted multiple times according to the adjustment rules to obtain multiple second target speeds; the adjustment rules include making multiple adjustments in a cycle of first adjusting towards the upper limit of the speed and then adjusting towards the lower limit of the speed.
[0033] In this application, the speed fluctuation range includes an upper and lower limit. For example, assuming a first target speed of 2100 RPM and a fluctuation range of 2050-2150 RPM, the upper limit is 2150 RPM and the lower limit is 2050 RPM. When adjusting the first target speed, the adjustment step size and adjustment interval are custom values, such as an adjustment step size of 5 RPM and an adjustment interval of 3 seconds. The fan speed is adjusted from the first target speed every 3 seconds, adjusting 5 RPM at a time, first gradually adjusting the first target speed to 2150 RPM, then gradually adjusting it from 2150 RPM to 2050 RPM, and so on, in multiple cycles until the current temperature changes and the current cycle stops. This embodiment immediately stops the cycle when the temperature changes, ensuring priority for heat dissipation and achieving effective noise reduction without affecting heat dissipation performance.
[0034] In some alternative approaches, the temperature of the electronic equipment changes when the speed is adjusted to the first target speed; the method also includes: When the current temperature of the electronic device changes to the first temperature, Based on the first temperature, determine the third target speed of the fan; Determine the speed fluctuation range corresponding to the third target speed; The current speed of the control fan is the third target speed. Based on the third target speed and the speed fluctuation range, multiple fourth target speeds are obtained. The control fan is set to operate at each of the fourth target speeds in sequence.
[0035] In this application, once the current temperature changes (e.g., to a first temperature, which can be higher or lower than the current temperature), the third target speed corresponding to the new temperature and the speed fluctuation range of the third target speed are immediately redefined. Similar to the aforementioned first fluctuation adjustment process, the current fan speed is first adjusted to the third target speed to ensure normal fan cooling performance. Then, the fan's third target speed is adjusted within its fluctuation range, causing the fan to cycle based on the adjusted fourth target speed, thereby dispersing the fan's constant frequency and reducing fan noise.
[0036] In some alternative approaches, the initial target fan speed is determined based on the current temperature of the electronic equipment, including: Determine the device type of the electronic equipment; The first target fan speed is determined based on the type of electronic device and the current temperature.
[0037] In this application, the optimal fan speed may differ for different types of electronic devices at the same temperature. Specifically, for electronic devices like laptops, device types include ultrabooks and gaming laptops. Ultrabooks have compact internal space and low heat capacity, while gaming laptops have large cooling modules and high heat capacity. When ultrabooks and gaming laptops are at the same current temperature, ultrabooks require higher fan speeds to dissipate heat, while gaming laptops do not require as high a fan speed. In practical applications, there is a mapping relationship between temperature and target fan speed for different types of electronic devices. This application embodiment can determine the device type by reading the device number of the electronic device, and obtain the corresponding mapping relationship (which can be in the form of a table, document, or other methods) based on the device type. From this mapping relationship, a first target fan speed matching the current temperature of the electronic device can be determined. This allows for flexible determination of the target fan speed for different types of devices, avoiding unnecessary energy consumption.
[0038] In some alternative solutions, the speed fluctuation range corresponding to the first target speed is determined, including: Based on the first target speed and a preset mapping table, the speed fluctuation range corresponding to the first target speed is determined; wherein, the preset mapping table is used to characterize the correspondence between the first target speed and the speed fluctuation range.
[0039] In related technologies, the fan speed changes and remains constant every time the temperature of an electronic device changes until the temperature changes again. In reality, even a small amount of power consumption by an electronic device causes a slight change in its temperature. This means that the temperature of the electronic device is constantly changing, and the fan speed is constantly and frequently adjusted. Frequent speed adjustments not only cause wear and tear on the electronic device hardware and increase the system load, but also, in terms of sound quality, the subtle fluctuations in fan speed are more stimulating to the human ear than constant noise, resulting in a louder noise level.
[0040] In this embodiment, the target rotational speed and the rotational speed fluctuation range are mapped through a mapping table. The electronic device fan fluctuates regularly within the rotational speed fluctuation range corresponding to the target rotational speed. It can be understood that in related technologies, the slight and frequent adjustment of the cooling fan speed may result in most of the comb-like spikes (noise) in the cooling fan audio spectrum. In this embodiment, the regular fluctuation of the electronic device fan can make the fan audio spectrum a smooth waveform. In comparison, the energy of a smooth waveform is more uniform, which is less stimulating to the human ear and results in higher sound quality.
[0041] In some alternative solutions, after controlling the fan to operate at each of the second target speeds in sequence, the method also includes: Acquire audio data generated by the fan during operation based on multiple second target speeds; Perform time-frequency transformation on the audio data to obtain the corresponding spectrogram of the audio data; Based on the spectrogram, noise assessment is performed on the audio data to obtain a noise assessment score for the audio data; the noise assessment score is used to evaluate the sound quality of the fan.
[0042] In this application, after at least one fluctuation adjustment of the fan, the current noise of the fan can be evaluated based on the audio spectrum during the fan's operation. Specifically, audio data of the fan during the fluctuation adjustment process is collected, and time-frequency transformations such as Fourier transform, short-time Fourier transform, and wavelet transform are performed on it to convert the audio data from the time domain to the frequency domain, thereby obtaining a spectrum.
[0043] By extracting spectral features from the spectrogram, such as the number of peaks, maximum peak amplitude, and total sound pressure level, each spectral feature is mapped to a score range of 0-100 based on preset corresponding ranges (e.g., a peak count of 0-2 is scored as 70 points, and a peak count of 3-5 is scored as 60 points). Simultaneously, each feature is assigned a corresponding weight value according to actual business needs, and the scores of each feature are weighted and summed to obtain a noise assessment score for the audio data. A pre-set score assessment threshold is used; if the noise assessment score is greater than or equal to this threshold, it indicates that the audio data has good sound quality. If the noise assessment score is less than this threshold, optimization can be performed by adjusting the speed fluctuation range or slope, updating the target speed-temperature mapping table, or adjusting the fan blade design structure to further improve the control over the sound quality of electronic device fans.
[0044] This application also provides a fan noise reduction device, which is applied to an electronic device, the electronic device including a fan; such as Figure 5 As shown, the device includes: The first acquisition unit 501 is used to acquire the current temperature of the electronic device; The first determining unit 502 is used to determine a first target speed of the fan based on the current temperature of the electronic device; The second determining unit 503 is used to determine the speed fluctuation range corresponding to the first target speed. The first adjustment unit 504 is used to control the current speed of the fan to a first target speed, and to obtain multiple second target speeds based on the first target speed and the speed fluctuation range. The first operating unit 505 is used to control the fan to run at each of the second target speeds in sequence; each of the second target speeds is used to reduce the noise of the fan audio.
[0045] In some optional schemes, the speed fluctuation range includes a range consisting of an upper speed limit and a lower speed limit; the first adjustment unit 504 is used to obtain the adjustment step size and adjustment interval time for the cooling fan speed; based on the adjustment step size and adjustment interval time, the first target speed is adjusted multiple times according to the adjustment rules to obtain multiple second target speeds; wherein, the adjustment rules include performing multiple adjustments in a cycle of first adjusting towards the upper speed limit and then adjusting towards the lower speed limit.
[0046] In some alternative solutions, the temperature of the electronic equipment changes when the speed is adjusted to the first target speed; the device also includes: The second operating unit is used to determine the third target speed of the fan based on the first temperature when the current temperature of the electronic device changes to the first temperature; determine the speed fluctuation range corresponding to the third target speed; control the current speed of the cooling fan to be the third target speed; obtain multiple fourth target speeds based on the third target speed and the speed fluctuation range; and control the cooling fan to run at each of the fourth target speeds in sequence.
[0047] In some alternative solutions, the first determining unit 502 is used to determine the device type of the electronic device; and based on the device type of the electronic device and the current temperature, to determine the first target speed of the fan.
[0048] In some alternative schemes, the second determining unit 503 is used to determine the speed fluctuation range corresponding to the first target speed based on a preset mapping table between the first target speed and the preset mapping table; wherein, the preset mapping table is used to characterize the correspondence between the first target speed and the speed fluctuation range.
[0049] In some alternative solutions, the device also includes: The evaluation unit is used to acquire audio data generated by the fan during operation based on multiple second target speeds; perform time-frequency transformation on the audio data to obtain the corresponding spectrum; perform noise evaluation on the audio data based on the spectrum to obtain a noise evaluation score for the audio data; and use the noise evaluation score to evaluate the sound quality of the fan.
[0050] It should be noted that the fan noise reduction device in this application embodiment is similar in principle to the aforementioned fan noise reduction method. Therefore, the implementation process, implementation principle, and beneficial effects of the fan noise reduction device can be found in the description of the implementation process, implementation principle, and beneficial effects of the aforementioned method. Repeated descriptions will not be repeated.
[0051] According to embodiments of this application, this application also provides an electronic device and a readable storage medium.
[0052] Figure 6 A schematic block diagram of an example electronic device 600 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.
[0053] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded into random access memory (RAM) 603 from storage unit 608. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0054] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of monitors, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0055] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 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 601 performs the various methods and processes described above, such as fan noise reduction methods. For example, in some embodiments, the fan noise reduction method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the fan noise reduction method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform fan noise reduction methods by any other suitable means (e.g., by means of firmware).
[0056] 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), system-on-a-chip (SoCs), complex 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 transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0057] 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.
[0058] 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.
[0059] 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).
[0060] 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 implementations 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.
[0061] 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.
[0062] 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 application 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.
[0063] 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.
[0064] 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 method of fan noise reduction, the method comprising: The method is applied to an electronic device including a fan; the method includes: obtaining a current temperature of the electronic device; determining a first target rotating speed of the fan based on the current temperature of the electronic device; determining a rotating speed fluctuation range corresponding to the first target rotating speed; controlling a current rotating speed of the fan to be the first target rotating speed, obtaining a plurality of second target rotating speeds based on the first target rotating speed and the rotating speed fluctuation range; controlling the fan to operate in turn using each second target rotating speed; the second target rotating speed is used to reduce the noise of the fan.
2. The fan noise reduction method of claim 1, wherein, The rotating speed fluctuation range includes a range formed by a rotating speed upper limit and a rotating speed lower limit; The plurality of second target rotating speeds are obtained based on the first target rotating speed and the rotating speed fluctuation range, including: obtaining an adjustment step and an adjustment interval time for the rotating speed of the fan; based on the adjustment step and the adjustment interval time, adjusting the first target rotating speed according to an adjustment rule to obtain a plurality of second target rotating speeds; wherein the adjustment rule includes adjusting in the direction of the rotating speed upper limit and then adjusting in the direction of the rotating speed lower limit as a cycle for multiple adjustments.
3. The fan noise reduction method of claim 2, wherein, The temperature of the electronic device changes when the rotating speed of the first target rotating speed is adjusted; the method further includes: when the current temperature of the electronic device changes to a first temperature, determining a third target rotating speed of the fan based on the first temperature; determining a rotating speed fluctuation range corresponding to the third target rotating speed; controlling the current rotating speed of the fan to be the third target rotating speed, obtaining a plurality of fourth target rotating speeds based on the third target rotating speed and the rotating speed fluctuation range; controlling the fan to operate in turn using each fourth target rotating speed.
4. The fan noise reduction method of any one of claims 1 to 3, wherein, The first target rotating speed of the fan is determined based on the current temperature of the electronic device, including: determining the device type of the electronic device; determining the first target rotating speed of the fan based on the device type and the current temperature of the electronic device.
5. The fan noise reduction method of claim 4, wherein, The rotating speed fluctuation range corresponding to the first target rotating speed is determined, including: determining the rotating speed fluctuation range corresponding to the first target rotating speed based on a preset mapping relationship table; wherein the preset mapping relationship table is used to represent the corresponding relationship between the first target rotating speed and the rotating speed fluctuation range.
6. The fan noise reduction method of claim 1, wherein, After the fan operates in turn using each second target rotating speed, the method further includes: obtaining audio data generated by the fan during operation based on a plurality of second target rotating speeds; performing time-frequency transformation on the audio data to obtain a frequency spectrum corresponding to the audio data; based on the frequency spectrum, performing noise evaluation on the audio data to obtain a noise evaluation score for the audio data, the noise evaluation score being used to evaluate the sound quality of the fan.
7. A fan noise reduction device, characterized by, The device is applied to an electronic device including a fan; the device includes: a first obtaining unit configured to obtain a current temperature of the electronic device; a first determining unit configured to determine a first target rotating speed of the fan based on the current temperature of the electronic device; a second determining unit configured to determine a rotating speed fluctuation range corresponding to the first target rotating speed; a third determining unit configured to control a current rotating speed of the fan to be the first target rotating speed, obtain a plurality of second target rotating speeds based on the first target rotating speed and the rotating speed fluctuation range; The first adjusting unit is configured to control a current rotating speed of the fan to be a first target rotating speed, and obtain a plurality of second target rotating speeds based on the first target rotating speed and a rotating speed fluctuation range. The first operating unit is configured to control the fan to operate in turn using each of the plurality of second target rotating speeds; and each of the second target rotating speeds is configured to reduce noise of the fan.
8. The apparatus of claim 7, wherein, The rotating speed fluctuation range comprises a range formed by a rotating speed upper limit and a rotating speed lower limit; and the first adjusting unit is configured to obtain an adjusting step length and an adjusting interval time for the rotating speed of the fan. The first target rotating speed is adjusted multiple times according to an adjusting rule based on the adjusting step length and the adjusting interval time, to obtain the plurality of second target rotating speeds; and the adjusting rule comprises adjusting in a direction of the rotating speed upper limit first and then adjusting in a direction of the rotating speed lower limit, and the adjusting is performed multiple times in a cycle.
9. An electronic device, comprising: Comprise: At least one processor; And a memory connected in communication with the at least one processor; wherein The memory stores instructions executable 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 execute the method of any one of claims 1-6.
10. A non-transitory computer-readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to execute the method of any one of claims 1-6.
Citation Information
Cited By
A fan control method, control device and energy storage system
CN122170089A