TW202036218A - Fan control method and electronic device - Google Patents
Fan control method and electronic device Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000017525 heat dissipation Effects 0.000 claims abstract description 15
- 230000007613 environmental effect Effects 0.000 claims description 31
- 238000010586 diagram Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
Images
Landscapes
- Cooling Or The Like Of Electrical Apparatus (AREA)
- Control Of Positive-Displacement Air Blowers (AREA)
Abstract
Description
本發明是有關於一種風扇控制技術,且特別是有關於一種風扇控制方法與電子裝置。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
在一實施例中,電子裝置10包括音訊輸出介面101、風扇102及控制器103。音訊輸出介面101用以輸出聲音訊號。聲音訊號可以是由電子裝置10內部的其他電路(例如音效晶片)提供。音訊輸出介面101可藉由有線(例如使用者將外部耳機的連接線插入至電子裝置10的耳機孔)或無線(例如藍牙)方式連接至一外部耳機。在建立音訊輸出介面101與外部耳機之間的連線後,聲音訊號可經由音訊輸出介面101傳輸至外部耳機並藉由外部耳機進行聲音播放。In one embodiment, the
風扇102為安裝於電子裝置10的實體風扇且用以對電子裝置10進行散熱。例如,風扇102包含可旋轉的葉片。當風扇102的葉片旋轉時,電子裝置10內部的熱氣可被帶出至電子裝置10外部。The
控制器103耦接至音訊輸出介面101與風扇102。控制器103用以動態控制風扇102的轉速。例如,控制器103可使用脈衝寬度調變(PWM)訊號來控制風扇102的轉速。例如,控制器103可以是中央處理單元(CPU)、或是其他可程式化之一般用途或特殊用途的微處理器、數位訊號處理器(DSP)、可程式化控制器、特殊應用積體電路(ASIC)、可程式化邏輯裝置(PLD)或其他類似裝置或這些裝置的組合。The
在一實施例中,當電子裝置10的溫度較高(例如溫度高於一門檻值)而需要啟動風扇102時,控制器103可判斷音訊輸出介面101是否連接至外部耳機。若音訊輸出介面101已連接至外部耳機,控制器103可將風扇102的轉速控制在一特定轉速(亦稱為第一轉速)。基於第一轉速運轉的風扇102可滿足電子裝置10當前的散熱需求。例如,第一轉速可根據當前電子裝置10的溫度而動態決定。例如,第一轉速可正相關於電子裝置10的溫度。此外,若音訊輸出介面101未連接至外部耳機,則控制器103可將風扇102之轉速控制在另一轉速(亦稱為第二轉速)。第二轉速不高於第一轉速。In one embodiment, when the temperature of the
在一實施例中,第一轉速可為風扇102的最高轉速,以將風扇102的轉速提高到最高。例如,在判定音訊輸出介面101已連接至外部耳機後,可假設使用者當前是藉由外部耳機收聽音樂。因此,即便將風扇102的轉速提高到最高而發出較大的噪音,仍不會對使用外部耳機聽音樂的使用者造成影響。In an embodiment, the first rotation speed may be the maximum rotation speed of the
在一實施例中,電子裝置10還包括麥克風(亦稱為第一麥克風)104與麥克風(亦稱為第二麥克風)105。麥克風104與105皆耦接至控制器103。麥克風104可例如設置於電子裝置10的外部及/或麥克風104的收音介面是朝向電子裝置10外部。麥克風105可例如設置於電子裝置10的內部及/或麥克風105的收音介面是朝向電子裝置10內部。In an embodiment, the
在一實施例中,若音訊輸出介面101未連接至外部耳機,則控制器103可藉由麥克風104偵測電子裝置10外部的環境噪音並藉由麥克風105偵測電子裝置10的內部噪音(亦稱為風扇噪音)。須注意的是,環境噪音主要是由電子裝置10當前所在環境周圍的噪音,例如電視機發出的聲音、人們的交談聲及/或車輛的引擎聲等等。而電子裝置10的內部噪音(即風扇噪音)則主要是由風扇102所引起。例如,風扇噪音的分貝數可正相關於風扇102的轉速。In one embodiment, if the
在一實施例中,麥克風105的設置位置(或收音介面)相對於麥克風104的設置位置(或收音介面)更靠近風扇102。藉此,相對於麥克風104,麥克風105所偵測的聲音可更精準的反映風扇102的葉片轉動所引起的噪音。In one embodiment, the position of the microphone 105 (or the radio interface) is closer to the
在一實施例中,控制器103可根據所測得的環境噪音與內部噪音決定第二轉速。例如,控制器103可根據環境噪音決定第二轉速的一個初始值並根據此初始值控制風扇102之轉速。In an embodiment, the
圖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
在風扇102根據所決定的初始值開始運轉後,控制器103可根據所測得的內部噪音動態調整風扇102之轉速。例如,控制器103可響應於環境噪音與內部噪音之間的特定數值關係(亦稱為第一數值關係)而降低風扇102之轉速,及/或控制器103可響應於環境噪音與內部噪音之間的另一數值關係(亦稱為第二數值關係)而提高風扇102之轉速。After the
例如,第一數值關係可以是環境噪音的分貝數低於內部噪音的分貝數。若環境噪音的分貝數低於內部噪音的分貝數,表示當前風扇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
例如,假設當前偵測到的環境噪音約為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
圖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:
圖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)
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)
| 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 |
-
2019
- 2019-03-21 TW TW108109880A patent/TW202036218A/en unknown
Cited By (2)
| 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 |