[go: up one dir, main page]

TW202036218A - Fan control method and electronic device - Google Patents

Fan control method and electronic device Download PDF

Info

Publication number
TW202036218A
TW202036218A TW108109880A TW108109880A TW202036218A TW 202036218 A TW202036218 A TW 202036218A TW 108109880 A TW108109880 A TW 108109880A TW 108109880 A TW108109880 A TW 108109880A TW 202036218 A TW202036218 A TW 202036218A
Authority
TW
Taiwan
Prior art keywords
rotation speed
fan
electronic device
noise
audio output
Prior art date
Application number
TW108109880A
Other languages
Chinese (zh)
Inventor
莊孟傑
蔡志勇
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW108109880A priority Critical patent/TW202036218A/en
Publication of TW202036218A publication Critical patent/TW202036218A/en

Links

Images

Landscapes

  • Cooling Or The Like Of Electrical Apparatus (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

A fan control method and an electronic device are provided according to embodiments of the disclosure. The method includes: determining whether an audio output interface of the electronic device is connected to an external head phone; if the audio output interface is connected to the external head phone, controlling a fan speed of a fan of the electronic device to be a first fan speed to satisfy a heat dissipation requirement of the electronic device; and if the audio output interface is not connected to the external head phone, controlling the fan speed to be a second fan speed which is not higher than the first fan speed.

Description

風扇控制方法與電子裝置Fan control method and electronic device

本發明是有關於一種風扇控制技術,且特別是有關於一種風扇控制方法與電子裝置。The present invention relates to a fan control technology, and particularly relates to a fan control method and electronic device.

一般來說,如電腦等具運算功能的電子裝置都安裝有風扇,以在中央處理器(CPU)高速運轉時協助進行散熱。然而,大部分的風扇在高轉速下都會發出噪音,從而影響使用者體驗。因此,在多數情況下,為了降低風扇噪音,往往必須限制電腦的效能以避免電子裝置過熱。Generally speaking, electronic devices with computing functions such as computers are equipped with fans to assist in heat dissipation when the central processing unit (CPU) is running at high speed. However, most fans make noise at high speeds, which affects the user experience. Therefore, in most cases, in order to reduce fan noise, it is often necessary to limit the performance of the computer to avoid overheating of electronic devices.

本發明提供一種風扇控制方法與電子裝置,可根據電子裝置是否連接至外部耳機來動態決定風扇轉速,從而有效改善上述問題。The present invention provides a fan control method and an electronic device, which can dynamically determine the fan speed according to whether the electronic device is connected to an external earphone, thereby effectively improving the above-mentioned problem.

本發明的實施例提供一種風扇控制方法,其用於電子裝置。所述風扇控制方法包括:判斷所述電子裝置的音訊輸出介面是否連接至外部耳機;若所述音訊輸出介面已連接至所述外部耳機,將所述電子裝置的風扇之轉速控制在第一轉速,以滿足所述電子裝置的散熱需求;以及若所述音訊輸出介面未連接至所述外部耳機,將所述風扇之所述轉速控制在第二轉速,其中所述第二轉速不高於所述第一轉速。The embodiment of the present invention provides a fan control method, which is used in an electronic device. The fan control method includes: determining whether the audio output interface of the electronic device is connected to an external earphone; if the audio output interface has been connected to the external earphone, controlling the rotation speed of the fan of the electronic device at a first rotation speed , To meet the heat dissipation requirement of the electronic device; and if the audio output interface is not connected to the external earphone, the rotation speed of the fan is controlled at a second rotation speed, wherein the second rotation speed is not higher than all The first speed.

本發明的實施例另提供一種電子裝置,其包括音訊輸出介面、風扇及控制器。所述控制器耦接至所述音訊輸出介面與所述風扇,其中所述控制器用以判斷所述音訊輸出介面是否連接至外部耳機,若所述音訊輸出介面已連接至所述外部耳機,所述控制器用以將所述風扇之轉速控制在第一轉速,以滿足所述電子裝置的散熱需求,以及若所述音訊輸出介面未連接至所述外部耳機,所述控制器用以將所述風扇之所述轉速控制在第二轉速,其中所述第二轉速不高於所述第二轉速。An embodiment of the present invention further provides an electronic device, which includes an audio output interface, a fan, and a controller. The controller is coupled to the audio output interface and the fan, wherein the controller is used to determine whether the audio output interface is connected to an external earphone, and if the audio output interface is connected to the external earphone, The controller is used for controlling the rotation speed of the fan at a first rotation speed to meet the heat dissipation requirement of the electronic device, and if the audio output interface is not connected to the external earphone, the controller is used for controlling the fan The rotation speed is controlled at a second rotation speed, wherein the second rotation speed is not higher than the second rotation speed.

基於上述,若電子裝置的音訊輸出介面已連接至外部耳機,電子裝置的風扇之轉速可被控制在第一轉速,以滿足所述電子裝置的散熱需求。然而,若音訊輸出介面未連接至外部耳機,則風扇之轉速可被控制在第二轉速,且第二轉速不高於第一轉速。藉此,可在不影響使用者體驗的前提下有效地對電子裝置進行散熱。Based on the above, if the audio output interface of the electronic device is connected to an external earphone, the rotation speed of the fan of the electronic device can be controlled at the first rotation speed to meet the heat dissipation requirement of the electronic device. However, if the audio output interface is not connected to an external earphone, the rotation speed of the fan can be controlled at the second rotation speed, and the second rotation speed is not higher than the first rotation speed. Thereby, the electronic device can be effectively dissipated without affecting the user experience.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

圖1是根據本發明的一實施例所繪示的電子裝置的示意圖。請參照圖1,電子裝置10可以是筆記型電腦、桌上型電腦、工業電腦、車用電腦或其他類型之安裝有散熱用之風扇的電子裝置。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the invention. Please refer to FIG. 1, the electronic device 10 can be a notebook computer, a desktop computer, an industrial computer, a car computer, or other types of electronic devices equipped with a fan for heat dissipation.

在一實施例中,電子裝置10包括音訊輸出介面101、風扇102及控制器103。音訊輸出介面101用以輸出聲音訊號。聲音訊號可以是由電子裝置10內部的其他電路(例如音效晶片)提供。音訊輸出介面101可藉由有線(例如使用者將外部耳機的連接線插入至電子裝置10的耳機孔)或無線(例如藍牙)方式連接至一外部耳機。在建立音訊輸出介面101與外部耳機之間的連線後,聲音訊號可經由音訊輸出介面101傳輸至外部耳機並藉由外部耳機進行聲音播放。In one embodiment, the electronic device 10 includes an audio output interface 101, a fan 102 and a controller 103. The audio output interface 101 is used for outputting audio signals. The audio signal may be provided by other circuits (such as an audio chip) inside the electronic device 10. The audio output interface 101 can be connected to an external earphone by wire (for example, the user inserts the connecting wire of the external earphone into the earphone hole of the electronic device 10) or wireless (for example, Bluetooth). After the connection between the audio output interface 101 and the external earphone is established, the audio signal can be transmitted to the external earphone via the audio output interface 101 and the sound is played by the external earphone.

風扇102為安裝於電子裝置10的實體風扇且用以對電子裝置10進行散熱。例如,風扇102包含可旋轉的葉片。當風扇102的葉片旋轉時,電子裝置10內部的熱氣可被帶出至電子裝置10外部。The fan 102 is a physical fan installed in the electronic device 10 and used to dissipate the electronic device 10. For example, the fan 102 includes rotatable blades. When the blades of the fan 102 rotate, the hot air inside the electronic device 10 can be taken out of the electronic device 10.

控制器103耦接至音訊輸出介面101與風扇102。控制器103用以動態控制風扇102的轉速。例如,控制器103可使用脈衝寬度調變(PWM)訊號來控制風扇102的轉速。例如,控制器103可以是中央處理單元(CPU)、或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(DSP)、可程式化控制器、特殊應用積體電路(ASIC)、可程式化邏輯裝置(PLD)或其他類似裝置或這些裝置的組合。The controller 103 is coupled to the audio output interface 101 and the fan 102. The controller 103 is used to dynamically control the rotation speed of the fan 102. For example, the controller 103 can use a pulse width modulation (PWM) signal to control the speed of the fan 102. For example, the controller 103 may be a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessors, digital signal processors (DSP), programmable controllers, special-application integrated circuits (ASIC), programmable logic device (PLD) or other similar devices or a combination of these devices.

在一實施例中,當電子裝置10的溫度較高(例如溫度高於一門檻值)而需要啟動風扇102時,控制器103可判斷音訊輸出介面101是否連接至外部耳機。若音訊輸出介面101已連接至外部耳機,控制器103可將風扇102的轉速控制在一特定轉速(亦稱為第一轉速)。基於第一轉速運轉的風扇102可滿足電子裝置10當前的散熱需求。例如,第一轉速可根據當前電子裝置10的溫度而動態決定。例如,第一轉速可正相關於電子裝置10的溫度。此外,若音訊輸出介面101未連接至外部耳機,則控制器103可將風扇102之轉速控制在另一轉速(亦稱為第二轉速)。第二轉速不高於第一轉速。In one embodiment, when the temperature of the electronic device 10 is high (for example, the temperature is higher than a threshold value) and the fan 102 needs to be activated, the controller 103 can determine whether the audio output interface 101 is connected to an external earphone. If the audio output interface 101 is connected to an external earphone, the controller 103 can control the rotation speed of the fan 102 to a specific rotation speed (also referred to as the first rotation speed). The fan 102 operating based on the first rotation speed can meet the current heat dissipation requirement of the electronic device 10. For example, the first rotation speed may be dynamically determined according to the current temperature of the electronic device 10. For example, the first rotation speed may be positively related to the temperature of the electronic device 10. In addition, if the audio output interface 101 is not connected to an external earphone, the controller 103 can control the rotation speed of the fan 102 at another rotation speed (also referred to as the second rotation speed). The second rotation speed is not higher than the first rotation speed.

在一實施例中,第一轉速可為風扇102的最高轉速,以將風扇102的轉速提高到最高。例如,在判定音訊輸出介面101已連接至外部耳機後,可假設使用者當前是藉由外部耳機收聽音樂。因此,即便將風扇102的轉速提高到最高而發出較大的噪音,仍不會對使用外部耳機聽音樂的使用者造成影響。In an embodiment, the first rotation speed may be the maximum rotation speed of the fan 102 to increase the rotation speed of the fan 102 to the maximum. For example, after determining that the audio output interface 101 has been connected to an external earphone, it can be assumed that the user is currently listening to music through the external earphone. Therefore, even if the rotation speed of the fan 102 is increased to the highest and a loud noise is generated, it will not affect users who listen to music using external headphones.

在一實施例中,電子裝置10還包括麥克風(亦稱為第一麥克風)104與麥克風(亦稱為第二麥克風)105。麥克風104與105皆耦接至控制器103。麥克風104可例如設置於電子裝置10的外部及/或麥克風104的收音介面是朝向電子裝置10外部。麥克風105可例如設置於電子裝置10的內部及/或麥克風105的收音介面是朝向電子裝置10內部。In an embodiment, the electronic device 10 further includes a microphone (also referred to as a first microphone) 104 and a microphone (also referred to as a second microphone) 105. Both microphones 104 and 105 are coupled to the controller 103. The microphone 104 may, for example, be disposed outside the electronic device 10 and/or the sound receiving interface of the microphone 104 faces the outside of the electronic device 10. The microphone 105 may be disposed inside the electronic device 10 and/or the sound receiving interface of the microphone 105 faces the inside of the electronic device 10, for example.

在一實施例中,若音訊輸出介面101未連接至外部耳機,則控制器103可藉由麥克風104偵測電子裝置10外部的環境噪音並藉由麥克風105偵測電子裝置10的內部噪音(亦稱為風扇噪音)。須注意的是,環境噪音主要是由電子裝置10當前所在環境周圍的噪音,例如電視機發出的聲音、人們的交談聲及/或車輛的引擎聲等等。而電子裝置10的內部噪音(即風扇噪音)則主要是由風扇102所引起。例如,風扇噪音的分貝數可正相關於風扇102的轉速。In one embodiment, if the audio output interface 101 is not connected to an external earphone, the controller 103 can detect the environmental noise outside the electronic device 10 through the microphone 104 and the internal noise of the electronic device 10 through the microphone 105 (also Called fan noise). It should be noted that the environmental noise is mainly the noise around the environment where the electronic device 10 is currently located, such as the sound from a television, people's conversation, and/or the sound of a vehicle's engine. The internal noise of the electronic device 10 (ie, fan noise) is mainly caused by the fan 102. For example, the number of decibels of fan noise may be positively related to the rotation speed of the fan 102.

在一實施例中,麥克風105的設置位置(或收音介面)相對於麥克風104的設置位置(或收音介面)更靠近風扇102。藉此,相對於麥克風104,麥克風105所偵測的聲音可更精準的反映風扇102的葉片轉動所引起的噪音。In one embodiment, the position of the microphone 105 (or the radio interface) is closer to the fan 102 than the position of the microphone 104 (or radio interface). In this way, compared to the microphone 104, the sound detected by the microphone 105 can more accurately reflect the noise caused by the rotation of the blade of the fan 102.

在一實施例中,控制器103可根據所測得的環境噪音與內部噪音決定第二轉速。例如,控制器103可根據環境噪音決定第二轉速的一個初始值並根據此初始值控制風扇102之轉速。In an embodiment, the controller 103 may determine the second rotation speed according to the measured environmental noise and internal noise. For example, the controller 103 may determine an initial value of the second rotation speed according to the environmental noise and control the rotation speed of the fan 102 according to the initial value.

圖2是根據本發明的一實施例所繪示的環境噪音與相應的風扇轉速之初始值的示意圖。請參照圖2,在一實施例中,控制器103可根據所測得的環境噪音來查詢表格資訊201,以獲得風扇102之轉速的初始值。例如,根據表格資訊201,若所測得的環境噪音小於30分貝(dB),則風扇102之轉速的初始值可被設為每秒1500轉;若所測得的環境噪音介於30分貝與60分貝之間,則風扇102之轉速的初始值可被設為每秒3500轉;若所測得的環境噪音大於60分貝,則風扇102之轉速的初始值可被設為每秒5500轉。換言之,若環境噪音越大聲,表示風扇102所引起的噪音越可以隱藏在環境噪音中,因此風扇102之轉速的初始值可設得越高,以提供較佳的散熱能力。FIG. 2 is a schematic diagram of the environmental noise and the corresponding initial value of the fan speed according to an embodiment of the present invention. 2, in one embodiment, the controller 103 can query the table information 201 according to the measured environmental noise to obtain the initial value of the rotation speed of the fan 102. For example, according to the table information 201, if the measured environmental noise is less than 30 decibels (dB), the initial value of the fan 102 speed can be set to 1500 revolutions per second; if the measured environmental noise is between 30 decibels and In the range of 60 decibels, the initial value of the rotation speed of the fan 102 can be set to 3,500 revolutions per second; if the measured environmental noise is greater than 60 decibels, the initial value of the rotation speed of the fan 102 can be set to 5,500 revolutions per second. In other words, if the ambient noise is louder, it means that the noise caused by the fan 102 can be hidden in the ambient noise. Therefore, the initial value of the rotation speed of the fan 102 can be set higher to provide better heat dissipation capability.

在風扇102根據所決定的初始值開始運轉後,控制器103可根據所測得的內部噪音動態調整風扇102之轉速。例如,控制器103可響應於環境噪音與內部噪音之間的特定數值關係(亦稱為第一數值關係)而降低風扇102之轉速,及/或控制器103可響應於環境噪音與內部噪音之間的另一數值關係(亦稱為第二數值關係)而提高風扇102之轉速。After the fan 102 starts to operate according to the determined initial value, the controller 103 can dynamically adjust the rotation speed of the fan 102 according to the measured internal noise. For example, the controller 103 may reduce the rotation speed of the fan 102 in response to a specific numerical relationship between environmental noise and internal noise (also referred to as a first numerical relationship), and/or the controller 103 may respond to the relationship between environmental noise and internal noise Another numerical relationship (also referred to as a second numerical relationship) between the two increases the speed of the fan 102.

例如,第一數值關係可以是環境噪音的分貝數低於內部噪音的分貝數。若環境噪音的分貝數低於內部噪音的分貝數,表示當前風扇102引起的噪音還是太大聲,故控制器103可適度降低風扇102之轉速。此外,第二數值關係可以是環境噪音的分貝數高於內部噪音的分貝數。若環境噪音的分貝數高於內部噪音的分貝數,表示當前風扇102引起的噪音並未大於環境噪音,因此控制器103可適度提高風扇102之轉速。For example, the first numerical relationship may be that the decibel of environmental noise is lower than the decibel of internal noise. If the decibel of the environmental noise is lower than the decibel of the internal noise, it means that the noise caused by the fan 102 is still too loud, so the controller 103 can moderately reduce the speed of the fan 102. In addition, the second numerical relationship may be that the decibel of environmental noise is higher than the decibel of internal noise. If the decibel of the ambient noise is higher than the decibel of the internal noise, it means that the current noise caused by the fan 102 is not greater than the ambient noise, so the controller 103 can appropriately increase the speed of the fan 102.

例如,假設當前偵測到的環境噪音約為40分貝,則根據表格資訊201,風扇102之轉速可被初始地設為每秒3500轉。接著,根據環境噪音與內部噪音之間的數值關係,風扇102之轉速可以每秒3500轉為基準而被動態地調整(例如降低或提高)。藉此,當環境噪音越大聲時,風扇102之轉速可被提高,以提供更佳的散熱能力。反之,當環境噪音變小聲時,風扇102之轉速可被降低,以避免風扇102發出過大的噪音。For example, assuming that the currently detected environmental noise is about 40 decibels, according to the table information 201, the rotation speed of the fan 102 can be initially set to 3500 revolutions per second. Then, according to the numerical relationship between the environmental noise and the internal noise, the rotation speed of the fan 102 can be dynamically adjusted (for example, reduced or increased) based on 3500 revolutions per second. In this way, when the ambient noise becomes louder, the rotation speed of the fan 102 can be increased to provide better heat dissipation capability. Conversely, when the ambient noise becomes quieter, the rotation speed of the fan 102 can be reduced to avoid excessive noise from the fan 102.

圖3是根據本發明的一實施例所繪示的風扇控制方法的流程圖。請參照圖3,在步驟S301中,進行系統初始化(例如開機)。在步驟S302中,判斷電子裝置的音訊輸出介面是否連接至外部耳機。若判定電子裝置的音訊輸出介面已連接至所述外部耳機,在步驟S303中,將電子裝置的風扇之轉速控制在第一轉速,以滿足電子裝置的散熱需求。此外,若判定所述音訊輸出介面未連接至所述外部耳機,則在步驟S304中,將所述風扇之所述轉速控制在第二轉速,其中所述第二轉速不高於所述第一轉速。FIG. 3 is a flowchart of a fan control method according to an embodiment of the present invention. Please refer to FIG. 3, in step S301, system initialization (such as booting) is performed. In step S302, it is determined whether the audio output interface of the electronic device is connected to an external earphone. If it is determined that the audio output interface of the electronic device has been connected to the external earphone, in step S303, the rotation speed of the fan of the electronic device is controlled at the first rotation speed to meet the heat dissipation requirement of the electronic device. In addition, if it is determined that the audio output interface is not connected to the external earphone, then in step S304, the rotation speed of the fan is controlled at a second rotation speed, wherein the second rotation speed is not higher than the first rotation speed. Rotating speed.

圖4是根據本發明的一實施例所繪示的風扇控制方法的流程圖。請參照圖4,在步驟S401中,進行系統初始化(例如開機)。在步驟S402中,判斷電子裝置的音訊輸出介面是否連接至外部耳機。若判定電子裝置的音訊輸出介面已連接至所述外部耳機,在步驟S403中,將電子裝置的風扇之轉速控制在第一轉速,以滿足電子裝置的散熱需求。此外,若判定所述音訊輸出介面未連接至所述外部耳機,則在步驟S404中,藉由第一麥克風偵測電子裝置外部的環境噪音並藉由第二麥克風偵測電子裝置的內部噪音。接著,在步驟S405中,根據所述內部噪音與所述外部噪音決定第二轉速並將電子裝置的風扇之轉速控制在所述第二轉速。Fig. 4 is a flowchart of a fan control method according to an embodiment of the present invention. Please refer to FIG. 4, in step S401, system initialization (such as booting) is performed. In step S402, it is determined whether the audio output interface of the electronic device is connected to an external earphone. If it is determined that the audio output interface of the electronic device is connected to the external earphone, in step S403, the rotation speed of the fan of the electronic device is controlled at the first rotation speed to meet the heat dissipation requirement of the electronic device. In addition, if it is determined that the audio output interface is not connected to the external earphone, then in step S404, the first microphone is used to detect the environmental noise outside the electronic device and the second microphone is used to detect the internal noise of the electronic device. Next, in step S405, a second rotation speed is determined according to the internal noise and the external noise, and the rotation speed of the fan of the electronic device is controlled at the second rotation speed.

然而,圖3與圖4中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖3與圖4中各步驟可以實作為多個程式碼或是電路,本發明不加以限制。此外,圖3與圖4的方法可以搭配以上範例實施例使用,也可以單獨使用,本發明不加以限制。However, each step in FIG. 3 and FIG. 4 has been described in detail as above, and will not be repeated here. It should be noted that each step in FIG. 3 and FIG. 4 can be implemented as multiple program codes or circuits, and the present invention is not limited. In addition, the methods in FIGS. 3 and 4 can be used in conjunction with the above exemplary embodiments, or can be used alone, and the present invention is not limited.

綜上所述,若電子裝置的音訊輸出介面已連接至外部耳機,則電子裝置的風扇之轉速可被控制在第一轉速(例如最高轉速),以滿足所述電子裝置的散熱需求。然而,若音訊輸出介面未連接至外部耳機,則風扇之轉速可被控制在第二轉速,且第二轉速不高於第一轉速。此外,第二轉速可根據電子裝置外部的環境噪音與電子裝置內部由風扇引起的風扇噪音而動態決定與調整,以在風扇的散熱能力以及會對使用者造成聽覺困擾的風扇噪音之間取得平衡,從而在不影響使用者體驗的前提下有效地對電子裝置進行散熱。In summary, if the audio output interface of the electronic device is connected to an external earphone, the rotation speed of the fan of the electronic device can be controlled at the first rotation speed (for example, the maximum rotation speed) to meet the heat dissipation requirement of the electronic device. However, if the audio output interface is not connected to an external earphone, the rotation speed of the fan can be controlled at the second rotation speed, and the second rotation speed is not higher than the first rotation speed. In addition, the second rotation speed can be dynamically determined and adjusted according to the environmental noise outside the electronic device and the fan noise caused by the fan inside the electronic device, so as to balance the heat dissipation capacity of the fan and the fan noise that can cause hearing problems to the user Therefore, the electronic device can be effectively dissipated without affecting the user experience.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.

10:電子裝置 101:音訊輸出介面 102:風扇 103:控制器 104、105:麥克風 201:表格資訊 S301~S304、S401~S405:步驟10: Electronic device 101: Audio output interface 102: Fan 103: Controller 104, 105: Microphone 201: Form Information S301~S304, S401~S405: steps

圖1是根據本發明的一實施例所繪示的電子裝置的示意圖。 圖2是根據本發明的一實施例所繪示的環境噪音與相應的風扇轉速之初始值的示意圖。 圖3是根據本發明的一實施例所繪示的風扇控制方法的流程圖。 圖4是根據本發明的一實施例所繪示的風扇控制方法的流程圖。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the invention. FIG. 2 is a schematic diagram of the environmental noise and the corresponding initial value of the fan speed according to an embodiment of the present invention. Fig. 3 is a flowchart of a fan control method according to an embodiment of the present invention. Fig. 4 is a flowchart of a fan control method according to an embodiment of the present invention.

S301~S304:步驟 S301~S304: steps

Claims (10)

一種風扇控制方法,用於一電子裝置,該風扇控制方法包括: 判斷該電子裝置的一音訊輸出介面是否連接至一外部耳機; 若該音訊輸出介面已連接至該外部耳機,將該電子裝置的一風扇之轉速控制在一第一轉速,以滿足該電子裝置的一散熱需求;以及 若該音訊輸出介面未連接至該外部耳機,將該風扇之該轉速控制在一第二轉速,其中該第二轉速不高於該第一轉速。A fan control method is used in an electronic device. The fan control method includes: Determine whether an audio output interface of the electronic device is connected to an external earphone; If the audio output interface is connected to the external earphone, controlling the rotation speed of a fan of the electronic device to a first rotation speed to meet a heat dissipation requirement of the electronic device; and If the audio output interface is not connected to the external earphone, the rotation speed of the fan is controlled to a second rotation speed, wherein the second rotation speed is not higher than the first rotation speed. 如申請專利範圍第1項所述的風扇控制方法,更包括: 若該音訊輸出介面未連接至該外部耳機,藉由一第一麥克風偵測該電子裝置外部的一環境噪音並藉由一第二麥克風偵測該電子裝置的一內部噪音;以及 根據該內部噪音與該環境噪音決定該第二轉速。The fan control method described in item 1 of the scope of patent application further includes: If the audio output interface is not connected to the external earphone, a first microphone is used to detect an environmental noise outside the electronic device and a second microphone is used to detect an internal noise of the electronic device; and The second rotation speed is determined according to the internal noise and the environmental noise. 如申請專利範圍第2項所述的風扇控制方法,其中根據該內部噪音與該環境噪音決定該第二轉速的步驟包括: 根據該環境噪音決定該第二轉速的一初始值並根據該初始值控制該風扇之該轉速;以及 根據該內部噪音動態調整該風扇之該轉速。For the fan control method described in item 2 of the scope of patent application, the step of determining the second rotation speed according to the internal noise and the environmental noise includes: Determine an initial value of the second rotation speed according to the environmental noise and control the rotation speed of the fan according to the initial value; and The rotation speed of the fan is dynamically adjusted according to the internal noise. 如申請專利範圍第3項所述的風扇控制方法,其中根據該內部噪音動態調整該風扇之該轉速的步驟包括: 響應於該環境噪音與該內部噪音之間的一第一數值關係,降低該風扇之該轉速;以及 響應於該環境噪音與該內部噪音之間的一第二數值關係,提高該風扇之該轉速。For the fan control method described in item 3 of the scope of patent application, the step of dynamically adjusting the rotation speed of the fan according to the internal noise includes: In response to a first numerical relationship between the environmental noise and the internal noise, reducing the rotation speed of the fan; and In response to a second numerical relationship between the environmental noise and the internal noise, the rotation speed of the fan is increased. 如申請專利範圍第1項所述的風扇控制方法,其中該第一轉速為該風扇的一最高轉速。According to the fan control method described in item 1 of the scope of patent application, the first rotation speed is a maximum rotation speed of the fan. 一種電子裝置,包括: 一音訊輸出介面; 一風扇;以及 一控制器,耦接至該音訊輸出介面與該風扇, 其中該控制器用以判斷該音訊輸出介面是否連接至一外部耳機, 若該音訊輸出介面已連接至該外部耳機,該控制器用以將該風扇之轉速控制在一第一轉速,以滿足該電子裝置的一散熱需求,以及 若該音訊輸出介面未連接至該外部耳機,該控制器用以將該風扇之該轉速控制在一第二轉速,其中該第二轉速不高於該第二轉速。An electronic device including: An audio output interface; A fan; and A controller coupled to the audio output interface and the fan, The controller is used to determine whether the audio output interface is connected to an external earphone, If the audio output interface is connected to the external earphone, the controller is used to control the rotation speed of the fan to a first rotation speed to meet a heat dissipation requirement of the electronic device, and If the audio output interface is not connected to the external earphone, the controller is used for controlling the rotating speed of the fan to a second rotating speed, wherein the second rotating speed is not higher than the second rotating speed. 如申請專利範圍第6項所述的電子裝置,更包括: 一第一麥克風,耦接至該控制器;以及 一第二麥克風,耦接至該控制器, 其中若該音訊輸出介面未連接至該外部耳機,該控制器更用以藉由該第一麥克風偵測該電子裝置外部的一環境噪音並藉由該第二麥克風偵測該電子裝置的一內部噪音,並且 該控制器更用以根據該內部噪音與該環境噪音決定該第二轉速。For example, the electronic device described in item 6 of the scope of patent application includes: A first microphone coupled to the controller; and A second microphone coupled to the controller, If the audio output interface is not connected to the external earphone, the controller is further used for detecting an environmental noise outside the electronic device through the first microphone and detecting an internal noise of the electronic device through the second microphone Noise, and The controller is further used for determining the second rotation speed according to the internal noise and the environmental noise. 如申請專利範圍第7項所述的電子裝置,其中該控制器根據該內部噪音與該環境噪音決定該第二轉速的操作包括: 根據該環境噪音決定該第二轉速的一初始值並根據該初始值控制該風扇之該轉速;以及 根據該內部噪音動態調整該風扇之該轉速。For the electronic device described in item 7 of the scope of patent application, the operation of the controller to determine the second speed according to the internal noise and the environmental noise includes: Determine an initial value of the second rotation speed according to the environmental noise and control the rotation speed of the fan according to the initial value; and The rotation speed of the fan is dynamically adjusted according to the internal noise. 如申請專利範圍第8項所述的電子裝置,其中該控制器根據該內部噪音動態調整該風扇之該轉速的操作包括: 響應於該環境噪音與該內部噪音之間的一第一數值關係,降低該風扇之該轉速;以及 響應於該環境噪音與該內部噪音之間的一第二數值關係,提高該風扇之該轉速。For the electronic device described in item 8 of the scope of patent application, the operation of the controller to dynamically adjust the rotation speed of the fan according to the internal noise includes: In response to a first numerical relationship between the environmental noise and the internal noise, reducing the rotation speed of the fan; and In response to a second numerical relationship between the environmental noise and the internal noise, the rotation speed of the fan is increased. 如申請專利範圍第6項所述的電子裝置,其中該第一轉速為該風扇的一最高轉速。The electronic device described in item 6 of the scope of the patent application, wherein the first rotation speed is a maximum rotation speed of the fan.
TW108109880A 2019-03-21 2019-03-21 Fan control method and electronic device TW202036218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108109880A TW202036218A (en) 2019-03-21 2019-03-21 Fan control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108109880A TW202036218A (en) 2019-03-21 2019-03-21 Fan control method and electronic device

Publications (1)

Publication Number Publication Date
TW202036218A true TW202036218A (en) 2020-10-01

Family

ID=74091213

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108109880A TW202036218A (en) 2019-03-21 2019-03-21 Fan control method and electronic device

Country Status (1)

Country Link
TW (1) TW202036218A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222023A (en) * 2021-12-15 2022-03-22 广东以诺通讯有限公司 Method and device for monitoring audio channel to control terminal heat dissipation and terminal
TWI848801B (en) * 2023-08-18 2024-07-11 神基科技股份有限公司 Computing system and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222023A (en) * 2021-12-15 2022-03-22 广东以诺通讯有限公司 Method and device for monitoring audio channel to control terminal heat dissipation and terminal
TWI848801B (en) * 2023-08-18 2024-07-11 神基科技股份有限公司 Computing system and control method thereof

Similar Documents

Publication Publication Date Title
US7986791B2 (en) Method and system for automatically muting headphones
CN113132850B (en) Speaker parameter configuration method and related device
CN107517428A (en) A kind of signal output method and device
TWI790236B (en) Volume adjustment method, device, electronic device and storage medium
CN106664471A (en) Ear pressure sensors integrated with speakers for smart sound level exposure
CN105204761B (en) A kind of volume adjusting method and user terminal
JP4710940B2 (en) Information processing apparatus and information processing method
CN101271433A (en) Automatic computer audio input and output control
TW202036218A (en) Fan control method and electronic device
CN110740396A (en) A noise-cancelling earphone
CN201898688U (en) Electronic device
TWM526238U (en) Electronic device and sound playback device that can be adjusted according to the age of the user
CN201315662Y (en) Earphone device
WO2019061292A1 (en) Noise reduction method for terminal and terminal
TW201624915A (en) Audio output device and control method thereof
TWI661290B (en) Electronic device for touch feedback and sound output by using a piezoelectric array
CN115038009A (en) Audio control method, wearable device, and electronic device
TWI599305B (en) Electronic device and control method of rotational speed of a fan thereof
JP2001168646A (en) Fan motor control device
CN110113694A (en) Method and apparatus for controlling audio broadcasting in the electronic device
CN115835094A (en) Audio signal processing method, system, device, product and medium
TW202347084A (en) Device control method and electronic device
CN113727241A (en) Audio output control method and device, electronic equipment and storage medium
CN117249104A (en) Device control method and electronic device
CN114385106A (en) Anti-blocking hole control method, control device, electronic equipment and storage medium