TWI494052B - Method for controlling fan speed and electronic device - Google Patents

Method for controlling fan speed and electronic device Download PDF

Info

Publication number
TWI494052B
TWI494052B TW101143714A TW101143714A TWI494052B TW I494052 B TWI494052 B TW I494052B TW 101143714 A TW101143714 A TW 101143714A TW 101143714 A TW101143714 A TW 101143714A TW I494052 B TWI494052 B TW I494052B
Authority
TW
Taiwan
Prior art keywords
fan
electronic component
signal
temperature
control
Prior art date
Application number
TW101143714A
Other languages
Chinese (zh)
Other versions
TW201422128A (en
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 TW101143714A priority Critical patent/TWI494052B/en
Publication of TW201422128A publication Critical patent/TW201422128A/en
Application granted granted Critical
Publication of TWI494052B publication Critical patent/TWI494052B/en

Links

Description

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

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

目前電腦裝置普遍皆安裝有散熱裝置(例如散熱片、風扇...等),而在這些散熱裝置中,風扇是不可或缺的一項重要零件之一。因為風扇可有效地將電腦裝置內部零件及/或裝置所產生的熱源排除在電腦裝置殼體之外,從而讓電腦裝置中的各個零件及/或裝置能夠正常地運作。以目前普遍使用的比例積分微分(proportional-integral-differential,PID)控制風扇來看,其可根據脈寬調變訊號(pulse width modulation signal,PWM signal)來控制風扇的轉速。例如,藉由改變脈寬調變訊號的責任週期(duty cycle),就可控制風扇轉速(單位為每分鐘轉速/RPM)的快慢。At present, computer devices are generally equipped with heat sinks (such as heat sinks, fans, etc.), and among these heat sinks, fans are one of the indispensable parts. Because the fan can effectively exclude the heat source generated by the internal components and/or the device of the computer device from being outside the casing of the computer device, the various components and/or devices in the computer device can operate normally. In view of the commonly used proportional-integral-differential (PID) control fan, the fan width can be controlled according to a pulse width modulation signal (PWM signal). For example, by changing the duty cycle of the pulse width modulation signal, the fan speed (in units per minute/RPM) can be controlled.

然而,對於溫度變化幅度較大的電腦裝置來說,如何在節能與散熱效率間取得平衡,實為本領域技術人員所需致力研究的課題之一。However, for a computer device with a large temperature variation, how to balance the energy saving and heat dissipation efficiency is one of the subjects that the technicians in the field need to study.

有鑑於此,本發明提出一種風扇轉速控制方法與電子裝置,可有效地降低因溫度突然地升高而對電子裝置造成損害的風險。In view of this, the present invention provides a fan speed control method and an electronic device, which can effectively reduce the risk of damage to an electronic device due to a sudden increase in temperature.

本發明提出一種風扇轉速控制方法,適用於具有至少一風扇的電子裝置,並且所述至少一風扇根據所述至少一風扇的僕控訊號控制風扇轉速。所述風扇轉速控制方法包括下列步驟。將所述至少一風扇的僕控訊號反饋給所述電子裝置的控制模組。根據所述至少一風扇的僕控訊號獲取對應於所述電子裝置的一電子組件的溫度門限值。感測電子組件的溫度。判斷電子組件的溫度是否小於溫度門限值。當電子組件的溫度小於溫度門限值時,根據所述至少一風扇的僕控訊號,產生預設主控訊號,並以預設主控訊號作為電子組件的主控訊號。根據電子組件的主控訊號產生所述至少一風扇的僕控訊號。根據所述至少一風扇的僕控訊號控制所述至少一風扇各別的風扇轉速。The invention provides a fan speed control method, which is suitable for an electronic device having at least one fan, and the at least one fan controls the fan speed according to a servo signal of the at least one fan. The fan speed control method includes the following steps. The slave control signal of the at least one fan is fed back to the control module of the electronic device. Obtaining a temperature threshold corresponding to an electronic component of the electronic device according to the slave control signal of the at least one fan. Sensing the temperature of the electronic components. Determine if the temperature of the electronic component is less than the temperature threshold. When the temperature of the electronic component is less than the temperature threshold, the preset master signal is generated according to the at least one fan control signal, and the preset master signal is used as the master signal of the electronic component. Generating a control signal of the at least one fan according to a master signal of the electronic component. Controlling, according to the at least one fan control signal, the fan speed of the at least one fan.

在本發明之一實施例中,所述風扇轉速控制方法更包括下列步驟。根據主控訊號與所述至少一風扇各別對應於電子組件的權重值,產生所述至少一風扇的僕控訊號。In an embodiment of the invention, the fan speed control method further comprises the following steps. Generating a control signal of the at least one fan according to a weight value corresponding to the electronic component and the at least one fan respectively.

在本發明之一實施例中,所述根據所述至少一風扇的僕控訊號,產生預設主控訊號的步驟包括下列步驟。根據所述至少一風扇的僕控訊號與所述至少一風扇各別對應於電子組件的權重值,產生預設主控訊號。In an embodiment of the invention, the step of generating a preset master signal according to the at least one fan control signal includes the following steps. And generating a preset master signal according to the slave control signal of the at least one fan and the weight value of the at least one fan corresponding to the electronic component.

在本發明之一實施例中,所述根據所述至少一風扇的僕控訊號與所述至少一風扇各別對應於電子組件的權重 值,產生預設主控訊號的步驟包括下列步驟。將所述至少一風扇的僕控訊號除以所述至少一風扇各別對應於電子組件的權重值,以產生至少一候選訊號。將所述至少一候選訊號中數值最小的候選訊號作為預設主控訊號。In an embodiment of the present invention, the slave control signal according to the at least one fan and the at least one fan respectively correspond to the weight of the electronic component The value, the step of generating the preset master signal includes the following steps. The servo signal of the at least one fan is divided by the weight value of the at least one fan corresponding to the electronic component to generate at least one candidate signal. The candidate signal having the smallest value among the at least one candidate signal is used as the preset master signal.

在本發明之一實施例中,所述風扇轉速控制方法更包括下列步驟。當電子組件的溫度非小於溫度門限值時,根據電子組件的溫度,產生電子組件的主控訊號。In an embodiment of the invention, the fan speed control method further comprises the following steps. When the temperature of the electronic component is not less than the temperature threshold, the master signal of the electronic component is generated according to the temperature of the electronic component.

本發明另提出一種電子裝置,所述電子裝置包括至少一風扇、至少一電子組件、溫度感測器以及控制模組。所述至少一風扇用以根據所述至少一風扇的僕控訊號控制風扇轉速,並將所述至少一風扇的僕控訊號反饋給所述電子裝置的一控制模組。溫度感測器耦接所述至少一電子組件,用以感測所述至少一電子組件中第一電子組件的溫度。控制模組耦接溫度感測模組與所述至少一風扇,用以根據所述至少一風扇的僕控訊號獲取對應於所述第一電子組件的一溫度門限值,並判斷第一電子組件的溫度是否小於溫度門限值。當第一電子組件的溫度小於溫度門限值時,控制模組根據所述至少一風扇的僕控訊號,產生預設主控訊號,並以預設主控訊號作為第一電子組件的主控訊號,其中控制模組根據第一電子組件的主控訊號產生所述至少一風扇的僕控訊號,並根據所述至少一風扇的僕控訊號控制所述至少一風扇各別的風扇轉速。The invention further provides an electronic device comprising at least one fan, at least one electronic component, a temperature sensor and a control module. The at least one fan is configured to control a fan speed according to the at least one fan control signal, and feed back the at least one fan control signal to a control module of the electronic device. The temperature sensor is coupled to the at least one electronic component for sensing a temperature of the first one of the at least one electronic component. The control module is coupled to the temperature sensing module and the at least one fan, configured to acquire a temperature threshold corresponding to the first electronic component according to the servo signal of the at least one fan, and determine the first electronic component Whether the temperature is less than the temperature threshold. When the temperature of the first electronic component is less than the temperature threshold, the control module generates a preset main control signal according to the at least one fan control signal, and uses the preset main control signal as the main control signal of the first electronic component. The control module generates a slave control signal of the at least one fan according to the master control signal of the first electronic component, and controls a fan speed of the at least one fan according to the slave control signal of the at least one fan.

在本發明之一實施例中,所述控制模組根據主控訊號與所述至少一風扇各別對應於第一電子組件的權重值,產生所述至少一風扇的僕控訊號。In an embodiment of the present invention, the control module generates a slave control signal of the at least one fan according to a weight value corresponding to the first electronic component and the at least one fan respectively.

在本發明之一實施例中,所述控制模組根據所述至少一風扇的僕控訊號與所述至少一風扇各別對應於第一電子組件的權重值,產生預設主控訊號。In an embodiment of the present invention, the control module generates a preset master signal according to the slave control signal of the at least one fan and the weight value of the at least one fan corresponding to the first electronic component.

在本發明之一實施例中,所述控制模組將所述至少一風扇的僕控訊號除以所述至少一風扇各別對應於第一電子組件的權重值,以產生至少一候選訊號,並將所述至少一候選訊號中數值最小的候選訊號作為預設主控訊號。In an embodiment of the present invention, the control module divides the at least one fan control signal by the weight value of the at least one fan corresponding to the first electronic component to generate at least one candidate signal. And selecting, as the preset master signal, the candidate signal with the smallest value among the at least one candidate signal.

在本發明之一實施例中,當第一電子組件的溫度非小於溫度門限值時,控制模組根據第一電子組件的溫度,產生第一電子組件的主控訊號。In an embodiment of the invention, when the temperature of the first electronic component is not less than the temperature threshold, the control module generates a master signal of the first electronic component according to the temperature of the first electronic component.

基於上述,本發明可將風扇的僕控訊號反饋給電子裝置的控制模組,以根據風扇的僕控訊號獲取對應於電子裝置的一電子組件的溫度門限值。接著,在判斷電子裝置中的電子組件的溫度小於溫度門限值之後,根據風扇的僕控訊號,產生預設主控訊號,並以預設主控訊號作為電子組件的主控訊號。然後,再根據電子組件的主控訊號來產生風扇的僕控訊號,以根據風扇的僕控訊號控制風扇的風扇轉速。藉此,可在需要立即提升風扇轉速時,以風扇目前的轉速為基礎,直接將風扇轉速提升至更高。Based on the above, the present invention can feed back the servo control signal of the fan to the control module of the electronic device to acquire a temperature threshold corresponding to an electronic component of the electronic device according to the servo signal of the fan. Then, after determining that the temperature of the electronic component in the electronic device is less than the temperature threshold, the preset master signal is generated according to the servo signal of the fan, and the preset master signal is used as the master signal of the electronic component. Then, according to the main control signal of the electronic component, the fan control signal is generated to control the fan speed of the fan according to the servo signal of the fan. In this way, when the fan speed needs to be immediately increased, the fan speed can be directly increased to a higher level based on the current speed of the fan.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

一般來說,運算量較大的電子裝置(例如,電腦裝置)普遍會具有一個以上發熱量較高的電子組件,而必須藉由風扇(fan)來進行散熱。而目前較為普遍的風扇控制技術例如是比例積分微分(proportional-integral-differential,PID)控制風扇技術。簡單來說,PID控制風扇技術可根據對應於一個或多個電子組件的脈寬調變訊號(pulse width modulation signal,PWM signal),來控制各個風扇的風扇轉速。Generally, an electronic device (for example, a computer device) with a large amount of computation generally has more than one electronic component with a high heat generation, and must be dissipated by a fan. At present, the more common fan control technology is, for example, a proportional-integral-differential (PID) control fan technology. Briefly, the PID control fan technology can control the fan speed of each fan according to a pulse width modulation signal (PWM signal) corresponding to one or more electronic components.

此外,為了有效地降低因風扇運轉而產生的噪音與節省風扇運轉所需的電力,一般來說,當電腦裝置中的某一電子組件的溫度較低(例如,低於一臨界溫度)時,通常電腦裝置會將此電子組件所對應的脈寬調變訊號調降至最小脈寬調變訊號(minimum PWM signal),而不對風扇起控制作用,並將風扇的轉速交由其他溫度較高的零件或裝置來控制。In addition, in order to effectively reduce the noise generated by the fan operation and save the power required for the fan operation, generally, when the temperature of an electronic component in the computer device is low (for example, below a critical temperature), Usually, the computer device will adjust the pulse width modulation signal corresponding to the electronic component to the minimum PWM signal, without controlling the fan, and handing the fan speed to other high temperature. Parts or devices to control.

但是,對於溫度變化較為劇烈的零件或裝置來說,上述運作機制並不適當。舉例來說,假設電腦裝置內的顯示卡(display card)的溫度在某一時間內大幅高於電腦裝置內的中央處理器(central processing unit,CPU)的溫度。此時,顯示卡對於風扇轉速的要求會高於中央處理器對於風扇轉速的要求,進而提高風扇轉速。但是,提高後的風扇轉速可能會讓本來溫度就不高的中央處理器的溫度更快速地下降,以致於其對應的脈寬調變訊號被調降為最小脈 寬調變訊號。然後,假設中央處理器因突然地高速運轉而導致其溫度急遽升高,則其對應的脈寬調變訊號必須從最小脈寬調變訊號提升至超過目前風扇轉速所對應的脈寬調變訊號,才能控制風扇提高其目前的轉速,以快速地降低中央處理器的溫度。However, for parts or devices with more severe temperature changes, the above operational mechanism is not appropriate. For example, assume that the temperature of a display card in a computer device is significantly higher than the temperature of a central processing unit (CPU) in the computer device at a certain time. At this time, the display card's requirement for the fan speed is higher than the CPU's requirement for the fan speed, thereby increasing the fan speed. However, the increased fan speed may cause the temperature of the central processor, which is not too high, to drop more rapidly, so that its corresponding pulse width modulation signal is reduced to the minimum pulse. Wide tone signal. Then, assuming that the CPU suddenly rises in temperature due to sudden high-speed operation, the corresponding pulse width modulation signal must be raised from the minimum pulse width modulation signal to the pulse width modulation signal corresponding to the current fan speed. In order to control the fan to increase its current speed, to quickly reduce the temperature of the central processor.

然而,在將脈寬調變訊號從最小脈寬調變訊號提升至超過目前風扇轉速所對應的脈寬調變訊號的過程中,可能因時間耗費過長,而導致電腦裝置中的零件或裝置(例如,上述中央處理器)已經因其溫度過高而受損。However, in the process of raising the pulse width modulation signal from the minimum pulse width modulation signal to the pulse width modulation signal corresponding to the current fan rotation speed, it may take too long time to cause parts or devices in the computer device. (for example, the above central processor) has been damaged due to its excessive temperature.

因此,為使風扇轉速可以對應於電子組件的溫度變化而快速地且適應性的調整,不同於上述方式,本發明實施例提出一種風扇轉速控制方法,其可將風扇的僕控訊號反饋(feedback)給電子裝置的控制模組,以根據風扇的僕控訊號獲取對應於電子裝置的一電子組件的溫度門限值(threshold)。然後,當電子組件的溫度小於溫度門限值時,本發明可根據風扇所回饋的僕控訊號來產生預設主控訊號,並以此預設主控訊號作為此電子組件的主控訊號。因此,當此電子組件的溫度突然大幅度地升高時,此電子組件的主控訊號可快速地由預設主控訊號提升至適當強度,以在短時間內提升風扇目前的轉速至更高。藉此,本發明可有效地降低因溫度突然地變化而對電子裝置造成損害的風險。Therefore, in order to make the fan speed can be adjusted quickly and adaptively according to the temperature change of the electronic component, the embodiment of the present invention provides a fan speed control method, which can feedback the servo signal of the fan. And a control module for the electronic device to acquire a temperature threshold corresponding to an electronic component of the electronic device according to the servo signal of the fan. Then, when the temperature of the electronic component is less than the temperature threshold, the present invention can generate a preset master signal according to the servo signal fed back by the fan, and preset the master signal as the master signal of the electronic component. Therefore, when the temperature of the electronic component suddenly increases sharply, the main control signal of the electronic component can be quickly upgraded from the preset main control signal to an appropriate intensity to increase the current fan speed to a higher speed in a short time. . Thereby, the present invention can effectively reduce the risk of damage to the electronic device due to sudden changes in temperature.

此外,本發明實施例更揭示了可用於體現上述風扇轉速控制方法的電子裝置。為了使本發明之內容更容易明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。In addition, embodiments of the present invention further disclose an electronic device that can be used to implement the above-described fan speed control method. In order to make the content of the present invention easier to understand, the following specific embodiments are illustrative of the embodiments of the present invention.

圖1為根據本發明的一實施例所繪示的電子裝置的功能方塊圖。請參照圖1,在本實施例中,電子裝置10可以是筆記型電腦(notebook)、平版電腦(Tablet PC)、桌上型電腦、工業用電腦或伺服器主機等各式可安裝風扇的電子裝置。FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 1 , in the embodiment, the electronic device 10 can be a notebook computer, a tablet computer, a desktop computer, an industrial computer, or a server host. Device.

在本實施例中,電子裝置10包括電子組件11-1、電子組件11-2、風扇12-1~12-5、溫度感測器13以及控制模組14。電子組件11-1與電子組件11-2可以包括中央處理器(central processing unit,CPU)、電源供應器(power supply)、顯示卡(display card)、網路卡(network card)等各式晶片、介面(interface)卡以及各式電腦裝置中普遍存在的各種零件或裝置等電子組件,本發明不對其限制。In the embodiment, the electronic device 10 includes an electronic component 11-1, an electronic component 11-2, fans 12-1~12-5, a temperature sensor 13, and a control module 14. The electronic component 11-1 and the electronic component 11-2 may include various types of chips such as a central processing unit (CPU), a power supply, a display card, and a network card. The electronic components such as various components or devices commonly found in interface cards and various computer devices are not limited by the present invention.

在本實施例中,風扇12-1~12-5例如為比例積分微分控制風扇,其可根據脈寬調變訊號來控制風扇轉速。舉例來說,風扇12-1~12-5分別具有一控制晶片(control chip),而可根據各自的僕控訊號來控制風扇轉速。值得一提的是,圖1中繪示的電子組件11-1與電子組件11-2以及風扇12-1~12-5是作為本實施例中說明之用,而其實際數量實質上可視實務或設計需求而增加或減少,本發明不對其限制。In this embodiment, the fans 12-1~12-5 are, for example, proportional proportional derivative control fans, which can control the fan speed according to the pulse width modulation signal. For example, the fans 12-1~12-5 each have a control chip, and the fan speed can be controlled according to the respective servo signals. It is worth mentioning that the electronic component 11-1 and the electronic component 11-2 and the fans 12-1~12-5 shown in FIG. 1 are used as the description in the embodiment, and the actual number thereof is substantially visual practice. Increasing or decreasing the design requirements, the invention is not limited thereto.

溫度感測器13耦接至電子組件11-1與電子組件11-2,用以感測電子組件11-1與電子組件11-2的溫度。在本實施例中,溫度感測器13可包含一個或多個一般的溫度感測器及/或溫度感測晶片。另外,溫度感測器13也可分別設置於電子組件11-1與電子組件11-2上,或者僅是以耦接的方式耦接至電子組件11-1與電子組件11-2,而可感測電子組件11-1與電子組件11-2的溫度,本發明同樣不對其限制。The temperature sensor 13 is coupled to the electronic component 11-1 and the electronic component 11-2 for sensing the temperature of the electronic component 11-1 and the electronic component 11-2. In this embodiment, temperature sensor 13 may include one or more general temperature sensors and/or temperature sensing wafers. In addition, the temperature sensor 13 can also be disposed on the electronic component 11-1 and the electronic component 11-2, or can be coupled to the electronic component 11-1 and the electronic component 11-2 only in a coupled manner. The temperature of the electronic component 11-1 and the electronic component 11-2 is sensed, and the present invention is also not limited thereto.

控制模組14耦接至溫度感測模組13與風扇12-1~12-5,用以根據溫度感測模組13感測到的電子組件11-1與電子組件11-2的溫度,來控制風扇12-1~12-5的風扇轉速。具體來看,以電子組件11-1為範例進行說明,控制模組14可以根據電子組件11-1的溫度,產生對應於電子組件11-1的主控訊號。然後,控制模組14根據對應於電子組件11-1的主控訊號,產生對應於風扇12-1~12-5的多個僕控訊號,其中每一個僕控訊號對應至風扇12-1~12-5之一。藉此,風扇12-1~12-5可以根據各自對應的僕控訊號來調整各自的風扇轉速。特別是,在本實施例中,風扇12-1~12-5也可將各自的僕控訊號反饋(feedback)給控制模組14。The control module 14 is coupled to the temperature sensing module 13 and the fans 12-1~12-5 for sensing the temperature of the electronic component 11-1 and the electronic component 11-2 according to the temperature sensing module 13. To control the fan speed of the fans 12-1~12-5. Specifically, the electronic component 11-1 is taken as an example. The control module 14 can generate a main control signal corresponding to the electronic component 11-1 according to the temperature of the electronic component 11-1. Then, the control module 14 generates a plurality of servo signals corresponding to the fans 12-1~12-5 according to the main control signals corresponding to the electronic components 11-1, wherein each of the slave signals corresponds to the fan 12-1~ One of 12-5. Thereby, the fans 12-1~12-5 can adjust the respective fan speeds according to their respective servo signals. In particular, in the present embodiment, the fans 12-1~12-5 can also feed back the respective servo signals to the control module 14.

在此需注意的是,本發明的實施例中提及的主控訊號以及僕控訊號主要是用以區別電子組件11-1與電子組件11-2以及風扇12-1~12-5對於風扇轉速的控制訊號。另外, 本發明的實施例中提及的主控訊號以及僕控訊號皆可視為PWM值形式的風扇轉速控制訊號。It should be noted that the main control signal and the servant signal mentioned in the embodiments of the present invention are mainly used to distinguish the electronic component 11-1 from the electronic component 11-2 and the fans 12-1~12-5. Speed control signal. In addition, Both the master signal and the servo signal mentioned in the embodiments of the present invention can be regarded as a fan speed control signal in the form of a PWM value.

特別是,當電子組件11-1與電子組件11-2同時運作時,控制模組14可以根據電子組件11-1與電子組件11-2的溫度分別產生電子組件11-1與電子組件11-2的主控訊號,並同時根據電子組件11-1與電子組件11-2的主控訊號來產生風扇12-1~12-5的僕控訊號,以控制風扇12-1~12-5的風扇轉速。舉例來說,在本實施例中,控制模組14可以根據電子組件11-1與電子組件11-2各別的主控訊號以及風扇12-1~12-5各別對應於電子組件11-1與電子組件11-2的權重值(weight value),來產生風扇12-1~12-5的僕控訊號。為了說明方便,在本實施例中,假設電子組件11-1對應於風扇12-1~12-5的權重值分別為80%、100%、100%、80%以及100%,且電子組件11-2對應於風扇12-1~12-5的權重值分別為100%、100%、100%、80%以及0。特別是,上述電子組件11-2對於風扇12-5的權重值為0,表示電子組件11-2對於風扇12-5不具控制力。另外,電子組件11-1與電子組件11-2的溫度分別以T1與T2表示。In particular, when the electronic component 11-1 and the electronic component 11-2 operate simultaneously, the control module 14 can generate the electronic component 11-1 and the electronic component 11 according to the temperatures of the electronic component 11-1 and the electronic component 11-2, respectively. The main control signal of 2, and simultaneously generate the servo signals of the fans 12-1~12-5 according to the main control signals of the electronic component 11-1 and the electronic component 11-2, to control the fans 12-1~12-5 speed of the fan. For example, in this embodiment, the control module 14 can respectively correspond to the electronic component 11 according to the respective main control signals of the electronic component 11-1 and the electronic component 11-2 and the fans 12-1~12-5. 1 and the weight value of the electronic component 11-2 to generate the servo signals of the fans 12-1~12-5. For convenience of explanation, in the present embodiment, it is assumed that the weight values of the electronic component 11-1 corresponding to the fans 12-1 to 12-5 are 80%, 100%, 100%, 80%, and 100%, respectively, and the electronic component 11 The weight values of -2 corresponding to the fans 12-1 to 12-5 are 100%, 100%, 100%, 80%, and 0, respectively. In particular, the weight value of the electronic component 11-2 for the fan 12-5 is 0, indicating that the electronic component 11-2 has no control for the fan 12-5. In addition, the temperatures of the electronic component 11-1 and the electronic component 11-2 are represented by T1 and T2, respectively.

在本實施例中,控制模組14可以根據電子組件11-1的溫度T1與電子組件11-2的溫度T2,分別產生電子組件11-1的主控訊號PWM1與電子組件11-2的主控訊號PWM2。然後,為了產生風扇12-1的僕控訊號,控制模組14將電子組件11-1的主控訊號PWM1乘上電子組件11-1 對應於風扇12-1的權重值(例如,80%),並將電子組件11-2的主控訊號PWM2乘上電子組件11-2對應於風扇12-1的權重值(例如,100%),以將相乘後的結果較大者作為風扇12-1的僕控訊號。舉例來說,假設PWM1×80%的值大於PWM2×100%的值,則控制模組14會以PWM1×80%的值作為風扇12-1的僕控訊號。In this embodiment, the control module 14 can generate the main control signal PWM1 of the electronic component 11-1 and the main component of the electronic component 11-2 according to the temperature T1 of the electronic component 11-1 and the temperature T2 of the electronic component 11-2. Control signal PWM2. Then, in order to generate the servo signal of the fan 12-1, the control module 14 multiplies the main control signal PWM1 of the electronic component 11-1 by the electronic component 11-1. Corresponding to the weight value (for example, 80%) of the fan 12-1, and multiplying the main control signal PWM2 of the electronic component 11-2 by the weight value (for example, 100%) of the electronic component 11-2 corresponding to the fan 12-1. The larger the result of the multiplication is used as the servo signal of the fan 12-1. For example, if the value of PWM1×80% is greater than the value of PWM2×100%, the control module 14 uses the value of PWM1×80% as the servo signal of the fan 12-1.

又例如,為了產生風扇12-2的僕控訊號,控制模組14將電子組件11-1的主控訊號PWM1乘上電子組件11-1對應於風扇12-2的權重值(例如,100%),並將電子組件11-2的主控訊號PWM2乘上電子組件11-2對應於風扇12-2的權重值(例如,100%),以將相乘後的結果較大者作為風扇12-2的僕控訊號。舉例來說,假設PWM2×100%的值大於PWM1×100%的值,則控制模組14會以PWM2×100%的值作為風扇12-2的僕控訊號。而其餘風扇12-3~12-5的僕控訊號產生方式可參考上述作法類推而得,在此不再贅述。另外,在其他實施例中,上述權重值亦可以是以參數或者其他任意形式來表示,在此不對其限制。例如,上述權重值可以是以3表示100%及/或以2表示80%等。For another example, in order to generate the servo signal of the fan 12-2, the control module 14 multiplies the main control signal PWM1 of the electronic component 11-1 by the weight value of the electronic component 11-1 corresponding to the fan 12-2 (for example, 100%). And multiplying the main control signal PWM2 of the electronic component 11-2 by the weight value (for example, 100%) of the electronic component 11-2 corresponding to the fan 12-2, so that the result of the multiplication is greater as the fan 12. -2 servant signal. For example, if the value of PWM2×100% is greater than the value of PWM1×100%, the control module 14 uses the value of PWM2×100% as the servo signal of the fan 12-2. The manner of generating the servant signals of the remaining fans 12-3~12-5 can be obtained by analogy with the above-mentioned methods, and will not be described here. In addition, in other embodiments, the weight value may also be expressed in a parameter or any other form, which is not limited herein. For example, the above weight value may be 100% for 3 and/or 80% for 2 or the like.

在本實施例中,控制模組14可以是微控制器(micro-controller)、嵌入式控制器(embedded controller)或中央處理器(central processing unit,CPU)等,而可獨立設置於電子裝置10中,或者是設置於電子組件11-1與電子組件11-2中,但本發明可實施方式並不對限定於上 述。例如,在另一實施例中,控制模組14也可以是儲存在電子裝置10之硬碟或記憶體中的軔體程式或軟體模組,而可載入至電子裝置10的處理器,而執行上述功能。In this embodiment, the control module 14 can be a micro-controller, an embedded controller, or a central processing unit (CPU), and can be independently disposed on the electronic device 10 . Or in the electronic component 11-1 and the electronic component 11-2, but the embodiments of the present invention are not limited to Said. For example, in another embodiment, the control module 14 can also be a firmware or software module stored in a hard disk or a memory of the electronic device 10, and can be loaded into the processor of the electronic device 10, and Perform the above functions.

圖2為根據本發明的一實施例所繪示的風扇轉速控制方法的流程示意圖。以下將以圖1搭配圖2來對本實施例的電子裝置10與風扇轉速控制方法進行詳細說明。請參照圖1與圖2,首先,在步驟S202中,風扇12-1~12-5將其各自的僕控訊號反饋給控制模組14。然後,在步驟S208中,控制模組14可以根據風扇12-1~12-5所反饋的僕控訊號來計算並獲取各別對應於電子組件11-1與電子組件11-2的溫度門限值。此外,控制模組14也可以例如透過查表等方式來給定各別對應於電子組件11-1與電子組件11-2的溫度門限值,本發明不對其限制。FIG. 2 is a schematic flow chart of a method for controlling a fan speed according to an embodiment of the invention. The electronic device 10 and the fan speed control method of the present embodiment will be described in detail below with reference to FIG. Referring to FIG. 1 and FIG. 2, first, in step S202, the fans 12-1~12-5 feed back their respective servo signals to the control module 14. Then, in step S208, the control module 14 can calculate and acquire the temperature threshold values corresponding to the electronic component 11-1 and the electronic component 11-2 according to the servo signals fed back by the fans 12-1~12-5. . In addition, the control module 14 may also specify temperature threshold values corresponding to the electronic component 11-1 and the electronic component 11-2, for example, by looking up a table, etc., which is not limited by the present invention.

在本實施例中,上述溫度門限值例如是30度~45度之間的任一溫度,且實際的溫度門限值還可視電子組件11-1與電子組件11-2各別的耐熱程度而加以調高或調低。例如,假設電子組件11-1的耐熱程度較高,則電子組件11-1對應的溫度門限值則可稍微調高。又例如,假設電子組件11-2的耐熱程度較低,則電子組件11-2對應的溫度門限值則可稍微調低。In this embodiment, the temperature threshold is, for example, any temperature between 30 degrees and 45 degrees, and the actual temperature threshold may also be determined by the heat resistance of the electronic component 11-1 and the electronic component 11-2. Turn up or down. For example, assuming that the degree of heat resistance of the electronic component 11-1 is high, the temperature threshold corresponding to the electronic component 11-1 can be slightly increased. For another example, assuming that the degree of heat resistance of the electronic component 11-2 is low, the temperature threshold corresponding to the electronic component 11-2 can be slightly lowered.

然後,在步驟S206中,溫度感測器13感測電子組件11-1與電子組件11-2的溫度,並將感測到的電子組件11-1與電子組件11-2的溫度傳送至控制模組14。接著,接續步驟S206,在步驟S208中,控制模組14判斷電子組件 11-1與電子組件11-2的溫度是否小於電子組件11-1與電子組件11-2各別對應的溫度門限值。Then, in step S206, the temperature sensor 13 senses the temperature of the electronic component 11-1 and the electronic component 11-2, and transmits the sensed temperature of the electronic component 11-1 and the electronic component 11-2 to the control. Module 14. Next, proceeding to step S206, in step S208, the control module 14 determines the electronic component Whether the temperature of 11-1 and the electronic component 11-2 is smaller than a temperature threshold corresponding to each of the electronic component 11-1 and the electronic component 11-2.

若控制模組14判斷電子組件11-1與電子組件11-2的溫度皆非小於(例如,等於或大於)溫度門限值,則在步驟S208之後接續執行步驟S210,由控制模組14根據電子組件11-1與電子組件11-2的溫度,產生電子組件11-1與電子組件11-2各別的主控訊號。If the control module 14 determines that the temperature of the electronic component 11-1 and the electronic component 11-2 is not less than (eg, equal to or greater than) the temperature threshold, then step S210 is followed by step S210, and the control module 14 is configured according to the electronic The temperature of the component 11-1 and the electronic component 11-2 generates respective master signals of the electronic component 11-1 and the electronic component 11-2.

另一方面,當控制模組14判斷電子組件11-1與電子組件11-2中的一個或多個電子組件的溫度小於溫度門限值時,在步驟S212中,控制模組14可根據風扇12-1~12-5的僕控訊號,產生預設主控訊號,並將預設主控訊號作為溫度小於溫度門限值的電子組件的主控訊號。舉例來說,以電子組件11-1為範例進行說明,假設控制模組14判斷電子組件11-1的溫度小於溫度門限值(例如,30度),則控制模組14可以根據風扇12-1~12-5所反饋的僕控訊號,來產生預設主控訊號。此外,控制模組14也可以直接以風扇12-1~12-5其中之一的的僕控訊號,作為預設主控訊號。或者,控制模組14也可以風扇12-1~12-5的平均僕控訊號,作為預設主控訊號,本發明不對其限制。On the other hand, when the control module 14 determines that the temperature of the one or more electronic components of the electronic component 11-1 and the electronic component 11-2 is less than the temperature threshold, the control module 14 may be configured according to the fan 12 in step S212. The slave control signal of -1~12-5 generates a preset master signal and uses the preset master signal as the master signal of the electronic component whose temperature is lower than the temperature threshold. For example, the electronic component 11-1 is taken as an example. If the control module 14 determines that the temperature of the electronic component 11-1 is less than a temperature threshold (for example, 30 degrees), the control module 14 can be based on the fan 12-1. The slave control signal feedback from ~12-5 is used to generate the preset master signal. In addition, the control module 14 can also directly use the servo signal of one of the fans 12-1~12-5 as the preset master signal. Alternatively, the control module 14 may also use the average servo signal of the fans 12-1~12-5 as the preset master signal, which is not limited by the present invention.

特別是,假設風扇12-1~12-5分別具有對應於電子組件11-1的權重值,則控制模組14還可以根據風扇12-1~12-5的僕控訊號與風扇12-1~12-5各別對應於電子組件11-1的權重值,產生上述預設主控訊號。舉例來說,在本實施例中,假設控制模組14是先將電子組件11-1與電 子組件11-2各別的主控訊號PWM1與PWM2乘上風扇12-1~12-5分別對應於電子組件11-1與電子組件11-2的權重值,然後再根據相乘結果較大者作為風扇12-1~12-5各別的僕控信號(請參考圖1的實施例之說明)。因此,在步驟S212中,當電子組件11-1的溫度小於所述溫度門限值時,控制模組14可以將風扇12-1~12-5的僕控訊號除以風扇12-1~12-5各別對應於電子組件11-1的權重值,以產生一個或多個候選訊號。然後,控制模組14可以從所述一個或多個候選訊號中選出數值最小的候選訊號作為預設主控訊號。例如,假設風扇12-1~12-5對應於電子組件11-1的權重值分別為80%、100%、100%、80%以及100%,且風扇12-1~12-5當前的僕控訊號分別為PWMS1~PWMS5,則控制模組14可以將PWMS1×80%、PWMS2×100%、PWMS3×100%、PWMS4×80%、PWMS5×100%作為候選訊號。然後,假設PWMS4×80%為其中數值最小者,則控制模組14可將PWMS4×80%作為所述預設主控訊號。In particular, assuming that the fans 12-1~12-5 respectively have weight values corresponding to the electronic components 11-1, the control module 14 can also be based on the servo signals of the fans 12-1~12-5 and the fan 12-1. ~12-5 each corresponding to the weight value of the electronic component 11-1, generating the preset master signal. For example, in this embodiment, it is assumed that the control module 14 first electrically connects the electronic component 11-1. The sub-components 11-2, the respective main control signals PWM1 and PWM2 multiplied by the fans 12-1~12-5 respectively correspond to the weight values of the electronic component 11-1 and the electronic component 11-2, and then are larger according to the multiplication result. The respective servo signals are used as the fans 12-1 to 12-5 (please refer to the description of the embodiment of Fig. 1). Therefore, in step S212, when the temperature of the electronic component 11-1 is less than the temperature threshold, the control module 14 can divide the servo signals of the fans 12-1~12-5 by the fans 12-1~12- 5 each corresponds to a weight value of the electronic component 11-1 to generate one or more candidate signals. Then, the control module 14 can select the candidate signal with the smallest value from the one or more candidate signals as the preset master signal. For example, assume that the weight values of the fans 12-1~12-5 corresponding to the electronic component 11-1 are 80%, 100%, 100%, 80%, and 100%, respectively, and the current servants of the fans 12-1~12-5 The control signals are respectively PWMS1~PWMS5, and the control module 14 can use PWMS1×80%, PWMS2×100%, PWMS3×100%, PWMS4×80%, and PWMS5×100% as candidate signals. Then, assuming that PWMS4×80% is the one with the smallest value, the control module 14 can use PWMS4×80% as the preset master signal.

接著,在步驟S214中,控制模組14可以根據電子組件11-1與電子組件11-2的主控訊號產生風扇12-1~12-5的僕控訊號。詳細的僕控訊號產生方式,可參考前述實施例之說明,在此不再贅述。然後,在步驟S216中,控制模組14根據風扇12-1~12-5的僕控訊號,來控制風扇12-1~12-5各別的風扇轉速。Next, in step S214, the control module 14 can generate the servo signals of the fans 12-1~12-5 according to the main control signals of the electronic component 11-1 and the electronic component 11-2. For details of how to generate the servant signal, refer to the description of the foregoing embodiment, and details are not described herein again. Then, in step S216, the control module 14 controls the fan speeds of the fans 12-1~12-5 according to the servo signals of the fans 12-1~12-5.

對於上述方法中的實施細節亦可由上述的實施例可獲得足夠的教示、建議與實施說明,在此不再贅述。For the implementation details in the above method, sufficient teachings, suggestions and implementation descriptions can be obtained from the above embodiments, and details are not described herein again.

換言之,本發明即是以風扇所回饋的僕控訊號來產生對應於電子組件的預設主控訊號,以利用所述電子組件的預設主控訊號來限制其所對應的最小主控訊號。值得一提的是,上述最小主控訊號的意義實質上是能將風扇的轉速調降至最低的主控訊號。藉此,在需要立即提升風扇轉速時,本實施例可以風扇目前的轉速為基礎,直接將風扇轉速提升至更高。另外,藉由提高風扇的基本轉速,本發明亦可達到使風扇轉速更為穩定的功效。In other words, the present invention generates a preset master signal corresponding to the electronic component by using a servo signal fed back by the fan to limit the minimum master signal corresponding to the electronic component by using the preset master signal. It is worth mentioning that the meaning of the above minimum master signal is essentially the master signal that can reduce the fan speed to a minimum. Therefore, when it is required to immediately increase the fan speed, the present embodiment can directly increase the fan speed to a higher level based on the current speed of the fan. In addition, by increasing the basic rotational speed of the fan, the present invention can also achieve the effect of making the fan rotational speed more stable.

為了更明確地說明本發明之功效,以下將以習知的PID風扇控制技術與本發明的實測結果進行比較。圖3為習知的PID風扇控制技術中電子組件的感測值與時間、主控訊號與時間以及風扇的僕控訊號與時間的關係曲線圖。請參照圖3,曲線301為習知技術中電子組件的感測值與時間的關係曲線圖,其中電子組件對應至溫度的感測值請參照圖3右邊縱軸,其是以PID控制技術中的感測參數來表示。曲線302為習知技術中主控訊號與時間的關係曲線圖,其主控訊號的參照值為圖3的左邊縱軸,且其主控訊號是以PWM表示。曲線303與曲線304則用以表示2個風扇的僕控訊號在每個時間單位所對應的PWM值。另外,圖3的時間單位則是以秒(second)為單位。In order to more clearly illustrate the efficacy of the present invention, the conventional PID fan control technique will be compared with the measured results of the present invention. 3 is a graph showing the relationship between the sensed value and time of the electronic component, the master signal and time, and the servo signal of the fan in the conventional PID fan control technology. Referring to FIG. 3, a curve 301 is a relationship between a sensed value of an electronic component and a time in a prior art, wherein the sensed value of the electronic component corresponding to the temperature is referred to the right vertical axis of FIG. 3, which is in the PID control technology. The sensing parameters are represented. The curve 302 is a graph of the relationship between the main control signal and the time in the prior art. The reference value of the main control signal is the left vertical axis of FIG. 3, and the main control signal is represented by PWM. The curve 303 and the curve 304 are used to represent the PWM values corresponding to the servo signals of the two fans in each time unit. In addition, the time unit of FIG. 3 is in units of seconds.

首先,以曲線303與曲線304來看,在609秒之前,由於其他電子組件(例如,顯示卡)的感測值較高,故2個風扇的僕控訊號的PWM值分別約保持在80與100。接著,以曲線301來看,在2個風扇的散熱作用下,在609 秒之前,電子組件(例如,CPU)的感測值不高(例如,低於一臨界值),故以曲線302來看,其對應的主控訊號的PWM值被調降並保持於約25。假設在609秒時,以曲線301來看,電子組件(例如,CPU)的感測值突然大幅地由約-11升高。此時,以曲線302來看,電子組件(例如,CPU)對應的主控訊號的PWM值才被從約25提升至約225。First, as seen by curve 303 and curve 304, before 609 seconds, since the sensing values of other electronic components (for example, display cards) are higher, the PWM values of the servo signals of the two fans are maintained at about 80 and respectively. 100. Then, as seen by the curve 301, under the heat dissipation effect of the two fans, at 609 Before the second, the sensed value of the electronic component (for example, the CPU) is not high (for example, below a threshold), so the PWM value of the corresponding master signal is adjusted and maintained at about 25 as seen by the curve 302. . Assume that at 609 seconds, as seen by curve 301, the sensed value of an electronic component (e.g., CPU) suddenly increases substantially by about -11. At this time, as seen by the curve 302, the PWM value of the main control signal corresponding to the electronic component (for example, the CPU) is raised from about 25 to about 225.

特別是,當曲線302分別與曲線303以及曲線304交會時,表示電子組件的主控訊號的PWM值開始超越2個風扇的僕控訊號的PWM值,此時2個風扇的僕控訊號的PWM值才會因為主控訊號的PWM值的提升而提高風扇轉速。換言之,在電子組件(例如,CPU)的感測值突然大幅地升高時,風扇的轉速並不會即時提升,而是必須等到電子組件(例如,CPU)的主控訊號的PWM值開始超越2個風扇的僕控訊號的PWM值時,風扇的轉速才會開始提升,以對電子組件(例如,CPU)進行散熱。假設電子組件(例如,CPU)的感測值超過-5可能會導致裝置受損,則根據此實驗結果,電子組件(例如,CPU)的感測值超過-5的時間約為150秒,表示有極大的可能會導致電子組件(例如,CPU)受損。In particular, when the curve 302 intersects the curve 303 and the curve 304, respectively, the PWM value of the main control signal of the electronic component begins to exceed the PWM value of the servo signals of the two fans, and the PWM of the servo signals of the two fans at this time The value will increase the fan speed due to the increase in the PWM value of the master signal. In other words, when the sensing value of the electronic component (for example, the CPU) suddenly increases sharply, the rotation speed of the fan does not increase immediately, but the PWM value of the main control signal of the electronic component (for example, the CPU) must be exceeded. When the PWM value of the servo signal of the two fans is started, the fan speed will start to increase to dissipate heat from the electronic components (for example, the CPU). Assuming that the sensed value of the electronic component (for example, the CPU) exceeds -5 may cause damage to the device, according to the result of the experiment, the time when the sensed value of the electronic component (for example, the CPU) exceeds -5 is about 150 seconds, indicating There is a great deal of potential damage to electronic components (for example, CPU).

另一方面,圖4為根據本發明一實施例的實測結果所繪示的電子組件的感測值與時間、主控訊號與時間以及風扇的僕控訊號與時間的關係曲線圖。請參照圖4,曲線401為本實施例中電子組件(例如,電子組件11-1)的感測值 與時間的關係曲線圖,其中電子組件(例如,電子組件11-1)對應至溫度的感測值請參照圖4右邊縱軸,其是以PID控制技術中的感測參數來表示。曲線402為本實施例中電子組件(例如,電子組件11-1)的主控訊號與時間的關係曲線圖,其主控訊號的參照值為圖3的左邊縱軸,且其主控訊號是以PWM表示。曲線403與曲線404則用以表示2個風扇(例如,風扇12-1與12-2)的僕控訊號在每個時間單位所對應的PWM值。另外,圖4的時間單位同樣是以秒(second)為單位。On the other hand, FIG. 4 is a graph showing the sensed value and time of the electronic component, the main control signal and time, and the servo signal of the fan and time according to the actual measurement result according to an embodiment of the present invention. Referring to FIG. 4, a curve 401 is a sensing value of an electronic component (for example, the electronic component 11-1) in the embodiment. A graph of time versus time in which an electronic component (e.g., electronic component 11-1) corresponds to a sensed value of temperature, please refer to the right vertical axis of Figure 4, which is represented by sensed parameters in the PID control technique. The curve 402 is a graph of the relationship between the main control signal and the time of the electronic component (for example, the electronic component 11-1) in the embodiment. The reference value of the main control signal is the left vertical axis of FIG. 3, and the main control signal is Expressed in PWM. The curve 403 and the curve 404 are used to indicate the PWM values corresponding to the servo signals of the two fans (for example, the fans 12-1 and 12-2) in each time unit. In addition, the time unit of FIG. 4 is also in units of seconds.

以曲線403與曲線404來看,在609秒之前,由於其他電子組件(例如,電子組件11-2)的感測值較高,故2個風扇(例如,風扇12-1與12-2)的僕控訊號的PWM值分別約保持在80與100。接著,以曲線401來看,在2個風扇(例如,風扇12-1與12-2)的散熱作用下,在609秒之前,電子組件(例如,電子組件11-1)的感測值不高(例如,低於一溫度臨界值),故以曲線402來看,電子組件(例如,電子組件11-1)對應的主控訊號的PWM值被調降並保持於約100(即,預設主控訊號的PWM值),而與曲線403重疊。假設在609秒時,以曲線401來看,電子組件(例如,電子組件11-1)的感測值突然大幅地由約-11升高。此時,以曲線402來看,電子組件(例如,電子組件11-1)對應的主控訊號的PWM值被從約100提升至約225。Looking at the curve 403 and the curve 404, before 609 seconds, since the sensing values of other electronic components (for example, the electronic component 11-2) are high, two fans (for example, the fans 12-1 and 12-2) The PWM values of the servo signals are maintained at approximately 80 and 100, respectively. Next, as seen by the curve 401, under the heat dissipation of the two fans (for example, the fans 12-1 and 12-2), the sensed value of the electronic component (for example, the electronic component 11-1) is not before 609 seconds. High (eg, below a temperature threshold), so as seen by curve 402, the PWM value of the corresponding master signal of the electronic component (eg, electronic component 11-1) is adjusted and maintained at approximately 100 (ie, pre- The PWM value of the master signal is set to overlap with the curve 403. Assume that at 609 seconds, as seen by curve 401, the sensed value of the electronic component (e.g., electronic component 11-1) suddenly increases substantially by about -11. At this time, as seen by the curve 402, the PWM value of the main control signal corresponding to the electronic component (for example, the electronic component 11-1) is raised from about 100 to about 225.

特別是,由於主控訊號的PWM值在609秒之前就已經與曲線403及/或曲線404重疊,故主控訊號的PWM值只要一提升,立即就會帶動2個風扇(例如,風扇12-1與12-2)的僕控訊號也同時提升,而可立即提高風扇轉速,以對電子組件(例如,電子組件11-1)進行散熱。因此,假設電子組件(例如,電子組件11-1)的感測值超過-5可能會導致裝置受損,根據本實施例的實驗結果,電子組件(例如,電子組件11-1)的感測值幾乎不會超過-5,而可有效地降低因溫度突然地升高而對電子裝置造成損害的風險。In particular, since the PWM value of the main control signal has overlapped with the curve 403 and/or the curve 404 before 609 seconds, the PWM value of the main control signal will immediately drive two fans (for example, the fan 12- The servo signals of 1 and 12-2) are also simultaneously increased, and the fan speed can be immediately increased to dissipate heat from electronic components (for example, electronic component 11-1). Therefore, assuming that the sensed value of the electronic component (for example, the electronic component 11-1) exceeds -5 may cause damage to the device, the sensing of the electronic component (for example, the electronic component 11-1) according to the experimental result of the present embodiment The value hardly exceeds -5, and the risk of damage to the electronic device due to a sudden rise in temperature can be effectively reduced.

綜上所述,本發明的實施例中的風扇轉速控制方法與電子裝置,可判斷電子裝置中的電子組件的溫度是否小於溫度門限值。當電子裝置中的電子組件的溫度小於溫度門限值時,根據風扇所回饋的僕控訊號,產生預設主控訊號,並以預設主控訊號作為電子組件的主控訊號。然後,根據電子組件的主控訊號來產生風扇的僕控訊號,並根據風扇的僕控訊號控制風扇的風扇轉速。換言之,藉由限制電子組件所對應的最小主控訊號,本發明可以風扇目前的轉速為基礎,在需要立即提升風扇轉速時,直接將風扇轉速提升至更高。藉此,可有效地降低因電子裝置的溫度突然地升高而對電子裝置造成損害的風險。In summary, the fan speed control method and the electronic device in the embodiment of the present invention can determine whether the temperature of the electronic component in the electronic device is less than a temperature threshold. When the temperature of the electronic component in the electronic device is less than the temperature threshold, the preset master signal is generated according to the servo signal fed back by the fan, and the preset master signal is used as the master signal of the electronic component. Then, the servo signal of the fan is generated according to the main control signal of the electronic component, and the fan speed of the fan is controlled according to the servo signal of the fan. In other words, by limiting the minimum master signal corresponding to the electronic component, the present invention can be based on the current speed of the fan, and directly raises the fan speed to a higher level when the fan speed needs to be immediately increased. Thereby, the risk of damage to the electronic device due to a sudden rise in temperature of the electronic device can be effectively reduced.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離 本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art does not deviate. In the spirit and scope of the present invention, the scope of protection of the present invention is defined by the scope of the appended claims.

10‧‧‧電子裝置10‧‧‧Electronic devices

11-1、11-2‧‧‧電子組件11-1, 11-2‧‧‧ electronic components

12-1~12-5‧‧‧風扇12-1~12-5‧‧‧Fan

13‧‧‧溫度感測器13‧‧‧Temperature Sensor

14‧‧‧控制模組14‧‧‧Control Module

301~304、401~404‧‧‧曲線301~304, 401~404‧‧‧ Curve

S202、S204、S206、S208、S210、S212、S214、S216‧‧‧本發明一實施例的風扇轉速控制方法各步驟S202, S204, S206, S208, S210, S212, S214, S216, ‧ ‧ each step of the fan speed control method according to an embodiment of the present invention

圖1為根據本發明的一實施例所繪示的電子裝置的功能方塊圖。FIG. 1 is a functional block diagram of an electronic device according to an embodiment of the invention.

圖2為根據本發明的一實施例所繪示的風扇轉速控制方法的流程示意圖。FIG. 2 is a schematic flow chart of a method for controlling a fan speed according to an embodiment of the invention.

圖3為習知的PID風扇控制技術中電子組件的感測值與時間、主控訊號與時間以及風扇的僕控訊號與時間的關係曲線圖。3 is a graph showing the relationship between the sensed value and time of the electronic component, the master signal and time, and the servo signal of the fan in the conventional PID fan control technology.

圖4為根據本發明一實施例的實測結果所繪示的電子組件的感測值與時間、主控訊號與時間以及風扇的僕控訊號與時間的關係曲線圖。FIG. 4 is a graph showing the sensed value and time of the electronic component, the master signal and time, and the servo signal of the fan and time according to the measured results according to an embodiment of the present invention.

S202、S204、S206、S208、S210、S212、S214、S216‧‧‧風扇轉速控制方法各步驟S202, S204, S206, S208, S210, S212, S214, S216‧‧‧ steps of fan speed control method

Claims (10)

一種風扇轉速控制方法,適用於具有至少一風扇的一電子裝置,所述至少一風扇根據所述至少一風扇的僕控訊號控制風扇轉速,所述風扇轉速控制方法包括:將所述至少一風扇的僕控訊號反饋給所述電子裝置的一控制模組;由所述控制模組根據所述至少一風扇的僕控訊號獲取對應於所述電子裝置的一電子組件的一溫度門限值;感測所述電子組件的溫度;判斷所述電子組件的溫度是否小於所述溫度門限值;當所述電子組件的溫度小於所述溫度門限值時,根據所述至少一風扇的僕控訊號,產生一預設主控訊號,並以所述預設主控訊號作為所述電子組件的主控訊號;以及根據所述電子組件的主控訊號產生所述至少一風扇的僕控訊號。A fan speed control method is applicable to an electronic device having at least one fan, wherein the at least one fan controls a fan speed according to a servo signal of the at least one fan, and the fan speed control method includes: the at least one fan The control signal is fed back to a control module of the electronic device; the control module acquires a temperature threshold corresponding to an electronic component of the electronic device according to the servo signal of the at least one fan; Detecting a temperature of the electronic component; determining whether a temperature of the electronic component is less than the temperature threshold; when the temperature of the electronic component is less than the temperature threshold, generating according to the at least one fan control signal a preset master signal, and the preset master signal is used as the master signal of the electronic component; and the slave control signal of the at least one fan is generated according to the master signal of the electronic component. 如申請專利範圍第1項所述之風扇轉速控制方法,更包括:根據所述主控訊號與所述至少一風扇各別對應於所述電子組件的權重值,產生所述至少一風扇的僕控訊號。The fan speed control method of claim 1, further comprising: generating a servant of the at least one fan according to the weight value of the main control signal and the at least one fan respectively corresponding to the electronic component Control signal. 如申請專利範圍第2項所述之風扇轉速控制方法,根據所述至少一風扇的僕控訊號,產生所述預設主控訊號的步驟包括:根據所述至少一風扇的僕控訊號與所述至少一風扇各別對應於所述電子組件的權重值,產生所述預設主控訊號。The method for controlling the fan speed according to the second aspect of the invention, wherein the step of generating the preset master signal according to the at least one fan control signal comprises: according to the at least one fan control signal and The at least one fan respectively corresponds to a weight value of the electronic component, and the preset master signal is generated. 如申請專利範圍第3項所述之風扇轉速控制方法,其中根據所述至少一風扇的僕控訊號與所述至少一風扇各別對應於所述電子組件的權重值,產生所述預設主控訊號的步驟包括:將所述至少一風扇的僕控訊號除以所述至少一風扇各別對應於所述電子組件的權重值,以產生至少一候選訊號;以及將所述至少一候選訊號中數值最小的候選訊號作為所述預設主控訊號。The fan speed control method according to claim 3, wherein the preset master is generated according to a duty signal of the at least one fan and a weight value of the at least one fan corresponding to the electronic component. The step of controlling the signal includes: dividing the servo signal of the at least one fan by the weight value of the at least one fan corresponding to the electronic component to generate at least one candidate signal; and the at least one candidate signal The candidate signal with the smallest median value is used as the preset master signal. 如申請專利範圍第1項所述之風扇轉速控制方法,更包括:當所述電子組件的溫度非小於所述溫度門限值時,根據所述電子組件的溫度,產生所述電子組件的主控訊號。The fan speed control method of claim 1, further comprising: when the temperature of the electronic component is not less than the temperature threshold, generating a master control of the electronic component according to a temperature of the electronic component Signal. 一種電子裝置,包括:至少一電子組件;至少一風扇,用以根據所述至少一風扇的僕控訊號控制風扇轉速;一溫度感測器,耦接所述至少一電子組件,用以感測所述至少一電子組件中一第一電子組件的溫度;以及一控制模組,耦接所述溫度感測模組與所述至少一風扇,用以判斷所述第一電子組件的溫度是否小於一溫度門限值,其中當所述第一電子組件的溫度小於所述溫度門限值時,所述控制模組根據所述至少一風扇的僕控訊號,產生 一預設主控訊號,並以所述預設主控訊號作為所述第一電子組件的主控訊號,其中所述控制模組根據所述第一電子組件的主控訊號產生所述至少一風扇的僕控訊號,並根據所述至少一風扇的僕控訊號控制所述至少一風扇各別的風扇轉速,其中所述至少一風扇將所述至少一風扇的僕控訊號反饋給所述控制模組,其中所述控制模組根據所述至少一風扇的僕控訊號獲取所述溫度門限值。An electronic device comprising: at least one electronic component; at least one fan for controlling a fan speed according to a servo signal of the at least one fan; and a temperature sensor coupled to the at least one electronic component for sensing a temperature of a first electronic component of the at least one electronic component; and a control module coupled to the temperature sensing module and the at least one fan to determine whether the temperature of the first electronic component is less than a temperature threshold, wherein when the temperature of the first electronic component is less than the temperature threshold, the control module generates a servo signal according to the at least one fan a preset master signal, and the preset master signal is used as the master signal of the first electronic component, wherein the control module generates the at least one according to the master signal of the first electronic component a fan control signal, and controlling, according to the at least one fan control signal, a fan speed of the at least one fan, wherein the at least one fan feeds back the control signal of the at least one fan to the control a module, wherein the control module acquires the temperature threshold according to a servo signal of the at least one fan. 如申請專利範圍第6項所述之電子裝置,其中所述控制模組根據所述主控訊號與所述至少一風扇各別對應於所述第一電子組件的權重值,產生所述至少一風扇的僕控訊號。The electronic device of claim 6, wherein the control module generates the at least one according to a weight value corresponding to the first electronic component and the at least one fan respectively. The servo signal of the fan. 如申請專利範圍第7項所述之電子裝置,其中所述控制模組根據所述至少一風扇的僕控訊號與所述至少一風扇各別對應於所述第一電子組件的權重值,產生所述預設主控訊號。The electronic device of claim 7, wherein the control module generates a weighting value corresponding to the first electronic component according to a servo signal of the at least one fan and the at least one fan. The preset master signal. 如申請專利範圍第8項所述之電子裝置,其中所述控制模組將所述至少一風扇的僕控訊號除以所述至少一風扇各別對應於所述第一電子組件的權重值,以產生至少一候選訊號,並將所述至少一候選訊號中數值最小的候選訊號作為所述預設主控訊號。The electronic device of claim 8, wherein the control module divides the at least one fan control signal by the weight value of the at least one fan corresponding to the first electronic component, The candidate signal is generated to generate at least one candidate signal, and the candidate signal having the smallest value among the at least one candidate signal is used as the preset master signal. 如申請專利範圍第6項所述之電子裝置,其中當所述第一電子組件的溫度非小於所述溫度門限值時,所述控制模組根據所述第一電子組件的溫度,產生所述第一電子組件的主控訊號。The electronic device of claim 6, wherein when the temperature of the first electronic component is not less than the temperature threshold, the control module generates the The master signal of the first electronic component.
TW101143714A 2012-11-22 2012-11-22 Method for controlling fan speed and electronic device TWI494052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101143714A TWI494052B (en) 2012-11-22 2012-11-22 Method for controlling fan speed and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101143714A TWI494052B (en) 2012-11-22 2012-11-22 Method for controlling fan speed and electronic device

Publications (2)

Publication Number Publication Date
TW201422128A TW201422128A (en) 2014-06-01
TWI494052B true TWI494052B (en) 2015-07-21

Family

ID=51393666

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101143714A TWI494052B (en) 2012-11-22 2012-11-22 Method for controlling fan speed and electronic device

Country Status (1)

Country Link
TW (1) TWI494052B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI611356B (en) * 2017-03-29 2018-01-11 營邦企業股份有限公司 Method for controlling and adjusting fans of electronic apparatus
TWI733475B (en) * 2020-05-29 2021-07-11 奇鋐科技股份有限公司 Fan control system
US11374529B2 (en) 2020-10-22 2022-06-28 Sea Sonic Electronics Co., Ltd. Fan speed control method for avoiding inaccurate control caused by sudden change in power supply output state

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200741430A (en) * 2006-04-24 2007-11-01 Inventec Corp System and method for controlling heat dissipation
TW200839207A (en) * 2007-01-11 2008-10-01 Marvell World Trade Ltd Temperature sensing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200741430A (en) * 2006-04-24 2007-11-01 Inventec Corp System and method for controlling heat dissipation
TW200839207A (en) * 2007-01-11 2008-10-01 Marvell World Trade Ltd Temperature sensing system

Also Published As

Publication number Publication date
TW201422128A (en) 2014-06-01

Similar Documents

Publication Publication Date Title
US10897832B2 (en) Fan control based on a time-variable rate of current
TWI430077B (en) Fan control system and method for a computer system
TWI394033B (en) Fan control system and method for a computer system available in different altitudes
US8671290B2 (en) Heat dissipating device
US20070096665A1 (en) Method and circuit for controlling motor speed
JP4384182B2 (en) Fan speed control method
TW201200996A (en) System and method for controlling temperature of a computer
US20130208419A1 (en) Temperature control system
US20120329377A1 (en) Fan control system, computer system, and method for controlling fan speed thereof
TWI410769B (en) Temperature control method and electric device thereof
US20140036443A1 (en) Graphic card with multiple fans and controlling method thereof
TWI494052B (en) Method for controlling fan speed and electronic device
TW201420891A (en) Fan control system, computer system, and fan controlling method thereof
WO2010014106A1 (en) Heatsink with a plurality of fans
TW201200997A (en) System and method for cooling a fan of an electronic device
TW201207243A (en) Method and system for controlling rotation speed of fans
TW201533564A (en) Fan control system and method for a computer system based on power ratio
TWI660263B (en) Temperature control device and method thereof
TW201529991A (en) Controlling system and method for fan
TWI507607B (en) Fan speed control circuit
JP5786596B2 (en) Electronic device, power supply unit, fan control method, and information processing program
TWI460587B (en) Method and device for controlling fan speed
CN103807200A (en) Fan rotary speed control method and electronic device
TWI487844B (en) Method for fan monitoring and server system using the same
TWI426376B (en) Fan rotating speed control system and method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees