201122517 六、發明說明: 【發明所屬之技術領域】 特別是指一種偵測電 本發明是有關於一種偵測方法 子裝置之散熱風扇的方法。 【先前技術】 現:可攜式電子裝置(例如:筆記型電腦)的功能越來越 〜、内部電路所產生的溫度也越來越高,因此,如何 使可攜式電子裝置擁有良好 另氏野的政熱環境將是一個重要的議 題。 在可攜式電子裝置中,通常係利用散熱風扇作為提供 散熱功能的主要元件’藉由散熱風扇導引空氣將可攜式 電子裝置中主要發熱源(例如:中央處理器(cpu))所產生的 高溫帶走,以達散熱的目的。 隨著散熱風扇的使用時間漸增,空氣中的灰塵會累積 在散熱風扇上,造成可攜式電子裝置在使用—段時間後, 散熱的效果大打折扣。因此,最直接的方法就是使用者自 行將散熱風扇從可攜式電子裝置上拆卸下來,並將其清理 後重新組裝回去繼續使用。但是,在組裝的過程中,使用 者可能未將散熱風扇正確地安裝完成,而在使用者自己不 知道散熱風扇未安裝完成的情況下,將可攜式電子裝置開 啟’而導致發生可攜式電子裝置無法散熱而燒壞或當機的 問題。 【發明内容】 因此,本發明之目的,即在提供一種可以偵測電子裝 201122517 置之散熱風扇是否正確地安裝完成 於是’本發明偵測電子裝置之散埶 成熟風扇是否存在的方 法’係應用於電子裝置之一嵌入式 授制器(Embedded201122517 VI. Description of the Invention: [Technical Field of the Invention] In particular, it relates to a method of detecting electricity. The present invention relates to a method for detecting a cooling fan of a method sub-device. [Prior Art] Nowadays, the functions of portable electronic devices (such as notebook computers) are getting more and more ~ and the temperature generated by internal circuits is getting higher and higher. Therefore, how to make portable electronic devices have good The political environment of the wild will be an important issue. In a portable electronic device, a cooling fan is generally used as a main component for providing a heat dissipation function. The main heat source (for example, a central processing unit (CPU)) in the portable electronic device is generated by a cooling fan guiding air. The high temperature is taken away for the purpose of heat dissipation. As the use time of the cooling fan increases, the dust in the air accumulates on the cooling fan, which causes the portable electronic device to be used for a period of time, and the heat dissipation effect is greatly reduced. Therefore, the most straightforward method is to remove the cooling fan from the portable electronic device and clean it up and reassemble it for further use. However, during the assembly process, the user may not install the cooling fan correctly, and the portable electronic device may be turned on when the user does not know that the cooling fan is not installed. The electronic device cannot dissipate heat and burn out or crash. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a method for detecting whether a heat dissipating fan disposed in an electronic device 201122517 is correctly installed, and thus a method for detecting the presence or absence of a divergent mature fan of the present invention. Embedded controller for one of the electronic devices (Embedded
Controller,EC),該嵌入式控制器與電 卞裒置之一溫度感測 器(thermal sensor)配合控制一散熱風扇的運作,散熱風戶用 以對電子裝置之-日日日片單元進行散熱κ貞測方法包含以 下步驟:Controller, EC), the embedded controller and a thermal sensor of the electric device cooperate to control the operation of a cooling fan, and the cooling wind is used to dissipate the electronic device-day and day unit The κ test method includes the following steps:
(A)令嵌入式控制器接收由溫度感測器感測晶片單元的 溫度而發出的一溫度訊號; 於一第一預設 若是則執行步 (B)令嵌入式控制器於溫度訊號大於或等 溫度值時,判斷散熱風扇之轉速是否為零, 驟(C);及 (C)令敌入式控制器發出一警示訊息,以告知使用這者 散熱風扇並未安裝完成。如此’可以避免使用者未將散熱 風扇正確地安裝完成而導致整個系統燒壞或當機的問題。 較佳地,本發明之偵測方法還包含一步驟(D):令私入 式控制器於判斷溫度訊號大於或等於一第二預設溫声值 時,控制電子農置之一基本輸入/輸出系統(Basie Input/Output System,BIOS),使其令電子裝置進入—非運 作模式。進一步地,該非運作模式為一休眠模式、—待機 模式及一關機模式其中之一。 本發明之功效在於,藉由偵測散熱風扇的轉速來列斷 散熱風扇是否安裝完成’如此可防止整個系統發生當機< 燒壞之問題。 201122517 ι實施方式】 有關本發明之前述及其他技術内容、特點與功效,在 乂下配口參考圖式之一個較佳實施例的詳細說明中,將可 清楚的呈現。 參閲圖1及圖2,圖1為本發明偵測電子裝置100之散 熱風扇1的方法之較佳實施例,係應用於具有散熱風扇i 之電子裝置1GG ’在本實施例中,該電子裝置為一筆記 型電腦且其中包合一曰ygg_ η ^ 3日日片皁兀2、一散熱風扇1、一溫度感 及一嵌入式控制器(Embedded 測 (thermal sensor)3 ⑽troller EC)4 ’ %本實施例之^貞測方法係載於嵌入式控 制器4中執行’其主要是根據散熱風扇1的轉速偵測散熱 風扇1疋否被正確地安裝完成,以避免晶片單元2在運作 的過程中,因為散熱風扇1未正確地安裝而導致晶片單元2 的溫度過高,使得電子裝置100發生當機或燒壞。 參閱圖2 ’晶片單元2係為各種電路晶片,例如:南北 橋晶片(chipset)、VGA晶片等,而本實施例則為一中央處理 器2,其為電子裝置1〇〇之運作核心,中央處理器2在運作 時所產生的高溫為電子裝置1〇〇内部的最大發熱源,因 此,散熱風扇1會裝設於中央處理器2的上方(或週邊),用 以對中央處理器2進行散熱,且值得一提的是,本實施例 之散熱風扇1為使用者可以自行拆卸組裝的模組式散熱風 扇,但不以此為限。溫度感測器3具有一溫度偵測電路 31、一轉速偵測電路32及一風扇驅動電路33,溫度偵測電 路31耦接於中央處理器2,用以偵測中央處理器2的溫 201122517 度;轉速仙電路32_於散熱風扇丨,用以偵測散執風 扇1的轉速;風扇驅動電路33 _於散熱風扇卜用以受 嵌入式控制器4控制而驅動散熱風扇1運作。嵌入式控: 器4耗接於溫度感測器3並具有一記憶單元41、一比: 路42及-控制電路43,記憶單元41中儲存有—溫度 表(thermal table)。 接著,以下將詳細說明本實施例之電子裝置100中散 熱風扇1的偵測及控制流程。 由於本實施例之散熱風4 !可以供使用 理,故在使用者清理完畢而將散熱風扇】安裝至 電路::執4 :圖1所示’首先’嵌入式控制器4的控制 電=會執行步驟1〇,判斷散熱風扇】之轉速是否為零, 純制電路43韻散熱風们之轉速為 = 熱風扇〗之辕过,肋袁_ *疋,.,、法判斷散 好,㈣用者可能未將散熱風扇1安裝 好二控制電路43會發出-告知訊息,如步驟20 ㈣測出,Γ制電路43係根據轉速摘測電路32 出政熱風扇i之轉速來判斷散熱風扇i 也就是說,轉速偵測電路 轉速傳送至控制電路43,__\將制出散熱風扇1之 零或是根本沒接收到其轉速:制 後’散熱風扇1根本沒有在運作表因:電,10。開機 風扇1未因此’即可推斷出散熱 裝兀成(或者已完成安裝但是壞了)。 2外,在步驟10中,控制電路 至-内建或是外接的顯示單 。知说息發送 单W圖“)’使得顯示單元顯 201122517 不錯誤訊息,以告知使用者散熱風扇1未安裝完成,且在 一段時間後重新開機。當然’控制電路43也可以將告知訊 :發送至β建或是外接的音訊單元(圖未示),使得音訊單 兀發出聲響’同樣也可以達到告知使用者之目的。 此外在電子裝置! 〇〇開機後,中央處理器2就會開 始運作並且產生熱能’同時溫度⑮測電路Η會開始债測中 央處理器2的溫度,而將所感測的溫度轉換成—溫度訊 號。因此’當轉速侧電路32偵測出散熱風扇!之轉速並 非為零,則控制電路43 散熱風^丨[正碟地安裝完 成,電子裝置會進入步驟30,比較電路42接收溫度制電 路31所發出之溫度訊號,並於接收到該溫度訊號後執行步 驟40,比較該溫度訊號是否大於或等於一第一預設溫度 值。在本實施例中,第一預設溫度值為7〇度。 配合參閱圖3,記憶單元41中儲存有溫度控制表,其 中描述多數個中央處理器2的溫度,及各種溫度下散熱風 扇1所對應的轉速。因此’當比較電路42比較出溫度訊號 小於第一預設溫度值,則控制電路43執行步驟5〇,以記憶 單元41中的溫度控制表控制散熱風扇丨之運作即控制電 路43係根據溫度控制表選取出適合當時中央處理器2之溫 度的轉速’並控制風扇驅動電路33驅動散熱風扇1在該轉 速下運作。 特別強調的疋’圖3中溫度控制表的内容僅為一實施 例,其内容可隨不同的電子裝置100或是中央處理器2而 改變’且第一預設溫度值係為設計人員預先設定好的預設 201122517 值’其值可以利用軟體方式更改。 由於使用者可以在電子裝置100開機後,仍然可將散 熱風扇1拆卸下來清洗或是更換,當清理結束後,使用者 =樣可此會發生未將散熱風扇丨妥善安裝之問題。因此, 田中央處理器2之溫度等於或超過度時,控制電路 玲執行步驟60,判斷散熱風扇丨之轉速是否為零,以確認 散熱風扇1是否安裝正確。若散熱風扇丨之轉速並非為 零,即表示散熱風扇1正常運作,則控制電路43重複執行 • 步驟50,持續以溫度控制表控制散熱風扇1之運作。值得 一提的是,步驟10及步驟6〇中,控制電路43判斷散熱風 扇1之轉速是否為零的方式相同,皆是根據轉速偵測電路 32所偵測出散熱風扇1之轉速來決定,故不多加贅述。 右控制電路43判斷散熱風扇1之轉速為零,則控制電 路43會發出-警不訊息,以警示使用者散熱風扇^並未安 裝正確’如步驟70。在本實施例巾,控制電路43係將警示 訊息發送至一螢幕選單顯示晶片(〇n_Screen此㈣, _ 〇SD)(圖未示)’使控制内建或是外接的顯示單元顯示「散 熱風扇不存在」等警示的字樣,以提醒使用者需重新安裝 散熱風扇1。 此外,在榮幕選單顯示晶片顯示警示字樣的同時比 對電路42會執行步驟8〇,根據溫度偵測電路31所發出之 溫度訊號’比對中央處理器2的溫度是^大於或等於一第 二預設溫度值。在本實施例中,第二預設溫度值為9〇度, 但不以此為限。 201122517 备使用者並未理會該警示的字樣或是系統出現異常, 使得中央處理器2的溫度持續上升至第二預設溫度值,則 控制電路43會發出一 Q-event訊號給電子裝置1〇〇之基本 輸入 / 輸出系統(Basic Input/Output System,BIOS)(圖未 不),使得基本輸入/輸出系統發出一 SCI(System Control Interrupt)訊號給作業系統,使其控制電子裝置1〇()進入一 非運作模式,如步驟90。在本實施例中,非運作模式為一 休眠模式、一待機模式及一關機模式其中之一,以防止中 央處理器2因為溫度過高而燒壞。 相反地,若比對電路42比對出中央處理器2的溫度並 未達到第二預設溫度值,則電子裝置重複執行步驟5〇,控 制電路43持續以溫度控制表控制散熱風扇丨之運作。 綜上所述,本發明透過溫度感測器3中的轉速偵測電 路32偵測散熱風扇丨的轉速,來判斷散熱風扇丨是否正確 地安裝完成,藉以防止因使用者未將散熱風扇丨安裝完成 之疏失而導致系統燒壞或當機的問題。此外,本發明之方 法可以在電子裝置1GG製造的過程中,就直接燒錄於嵌入 式控制器4中,也可以是内儲一電腦程式產品例如:光 碟’且當電子裝置100載入電腦程式產品中的程式並執行 後’可完成本發明之方法,即步驟10〜步驟9〇。 惟以上所述者,僅為本發明之較佳實施例而已卷 能以此限定本發明實施之範圍,即大凡依本發明申請專利 範圍及發明說明内容所作之簡單的等效變化與修飾%皆仍 屬本發明專利涵蓋之範圍内。 10 201122517 【圖式簡單說明】 圖1是一流程圖,說明本發明偵測電子裝置之散熱風 扇的方法之較佳實施例; 圖2疋f:路方塊圖’說明本發明之镇測方法所應用 之電子裝置;及 圖3是本實施例之記憶單元中儲存的^溫度控制表。(A) causing the embedded controller to receive a temperature signal sent by the temperature sensor to sense the temperature of the wafer unit; if a first preset is to execute step (B), the embedded controller is greater than or at the temperature signal When the temperature value is equal, it is judged whether the speed of the cooling fan is zero. (C); and (C), the enemy controller sends a warning message to inform the user that the cooling fan is not installed. This can avoid the problem that the user does not properly install the cooling fan and cause the entire system to burn out or crash. Preferably, the detecting method of the present invention further comprises a step (D) of: controlling the private input controller to control one of the basic inputs of the electronic farm when determining that the temperature signal is greater than or equal to a second preset temperature sound value. The Basie Input/Output System (BIOS) allows the electronic device to enter the non-operational mode. Further, the non-operation mode is one of a sleep mode, a standby mode, and a shutdown mode. The effect of the present invention is to determine whether or not the cooling fan is installed by detecting the rotation speed of the cooling fan. Thus, the problem of the crashing of the entire system can be prevented. 201122517 实施实施方式 The foregoing and other technical contents, features and effects of the present invention will be apparent from the detailed description of a preferred embodiment of the present invention. Referring to FIG. 1 and FIG. 2, FIG. 1 is a preferred embodiment of a method for detecting a heat dissipating fan 1 of an electronic device 100 according to the present invention, which is applied to an electronic device 1GG having a heat dissipating fan i. In this embodiment, the electronic device The device is a notebook computer and includes a ygg_ η ^ 3 day saponin 2, a cooling fan 1, a temperature sense and an embedded controller (Embedded thermal sensor 3 (10) troller EC) 4 ' % The method of the present embodiment is carried out in the embedded controller 4 to perform 'mainly detecting whether the cooling fan 1 is correctly installed according to the rotation speed of the cooling fan 1 to prevent the wafer unit 2 from being operated. In the process, the temperature of the wafer unit 2 is too high because the heat dissipating fan 1 is not properly mounted, causing the electronic device 100 to crash or burn out. Referring to FIG. 2, the chip unit 2 is a variety of circuit chips, for example, a north-south chip chip, a VGA chip, etc., and the present embodiment is a central processing unit 2, which is an operation core of the electronic device 1 The high temperature generated by the processor 2 during operation is the maximum heat source inside the electronic device 1 . Therefore, the heat dissipation fan 1 is installed above (or in the periphery of) the central processing unit 2 for performing the central processing unit 2 . The heat dissipation fan 1 is a modular cooling fan that can be disassembled and assembled by the user, but is not limited thereto. The temperature sensor 3 has a temperature detecting circuit 31, a speed detecting circuit 32 and a fan driving circuit 33. The temperature detecting circuit 31 is coupled to the central processing unit 2 for detecting the temperature of the central processing unit 2 201122517. The rotational speed circuit 32_ is used to detect the rotational speed of the loose fan 1; the fan drive circuit 33_ is used by the embedded controller 4 to drive the cooling fan 1 to operate. The embedded controller 4 is connected to the temperature sensor 3 and has a memory unit 41, a ratio: a path 42 and a control circuit 43, and the memory unit 41 stores a thermal table. Next, the flow of detecting and controlling the heat radiating fan 1 in the electronic device 100 of the present embodiment will be described in detail below. Since the heat-dissipating wind 4 of this embodiment can be used for use, the heat-dissipating fan is installed to the circuit after the user finishes cleaning:: 4: The first control of the embedded controller 4 shown in FIG. Execute step 1〇, determine whether the speed of the cooling fan is zero, the speed of the pure circuit 43 rhyme cooling wind is = hot fan〗, the rib Yuan _ *疋,.,, the method judges well, (4) The cooling fan 1 may not be installed. The second control circuit 43 will send a notification message. As measured in step 20 (4), the clamping circuit 43 determines the cooling fan i based on the rotational speed of the thermal fan i. That is to say, the rotational speed detecting circuit speed is transmitted to the control circuit 43, __\ will make the cooling fan 1 zero or not receive its rotational speed at all: after the manufacturing, the cooling fan 1 is not in operation at all: electric, 10. The fan 1 is turned on so that it can be inferred that the heat is mounted (or has been installed but broken). 2, in step 10, the control circuit to - built-in or external display list. The notification unit sends a single W picture ")' so that the display unit displays 201122517 no error message to inform the user that the cooling fan 1 is not installed and restarts after a period of time. Of course, the control circuit 43 can also send a notification: send To the beta built-in or external audio unit (not shown), the sound of the audio unit can also be used to inform the user. In addition, after the electronic device! 〇〇, the CPU 2 will start to operate. And the heat energy is generated. At the same time, the temperature measuring circuit 开始 starts to measure the temperature of the central processing unit 2, and converts the sensed temperature into a temperature signal. Therefore, when the speed side circuit 32 detects the cooling fan, the speed is not If the voltage is zero, the control circuit 43 is cooled. [The installation of the positive disk is completed, the electronic device proceeds to step 30, the comparison circuit 42 receives the temperature signal sent by the temperature circuit 31, and after receiving the temperature signal, step 40 is performed. Comparing whether the temperature signal is greater than or equal to a first preset temperature value. In this embodiment, the first preset temperature value is 7 degrees. The memory unit 41 stores a temperature control table describing the temperatures of the plurality of central processing units 2 and the rotational speeds of the cooling fans 1 at various temperatures. Therefore, when the comparison circuit 42 compares the temperature signals to be smaller than the first preset temperature. The value is controlled by the control circuit 43 to control the operation of the cooling fan 以 by the temperature control table in the memory unit 41, that is, the control circuit 43 selects the rotation speed suitable for the temperature of the central processing unit 2 according to the temperature control table and controls The fan driving circuit 33 drives the cooling fan 1 to operate at the rotation speed. The content of the temperature control table in FIG. 3 is only an embodiment, and the content thereof may vary with different electronic devices 100 or the central processing unit 2. 'And the first preset temperature value is the preset 201122517 value set by the designer's value. The value can be changed by software. Since the user can turn off the cooling fan 1 after the electronic device 100 is turned on, It is a replacement. When the cleaning is finished, the user=sample can cause the problem that the cooling fan is not properly installed. Therefore, Tanaka When the temperature of the central processing unit 2 is equal to or exceeds the degree, the control circuit performs step 60 to determine whether the speed of the cooling fan is zero, to confirm whether the cooling fan 1 is correctly installed. If the speed of the cooling fan is not zero, it means When the cooling fan 1 is operating normally, the control circuit 43 repeats the execution of step 50, and continues to control the operation of the cooling fan 1 by the temperature control table. It is worth mentioning that in steps 10 and 6 , the control circuit 43 determines the cooling fan 1 The manner of whether the rotation speed is zero or not is determined according to the rotation speed of the heat dissipation fan 1 detected by the rotation speed detecting circuit 32, so it will not be described in detail. The right control circuit 43 determines that the rotation speed of the cooling fan 1 is zero, and the control circuit 43 A warning message will be issued to alert the user that the cooling fan ^ is not properly installed 'as in step 70. In the embodiment, the control circuit 43 sends an alert message to a screen menu display chip (〇n_Screen(4), _ 〇SD) (not shown) to enable the built-in or external display unit to display the "cooling fan". There is no such warning sign to remind the user to reinstall the cooling fan 1. In addition, in the screen display of the wafer display, the comparison circuit 42 performs step 8〇, and the temperature signal sent by the temperature detecting circuit 31 is greater than or equal to the temperature of the central processing unit 2. Two preset temperature values. In this embodiment, the second preset temperature value is 9 degrees, but is not limited thereto. 201122517 The user does not pay attention to the warning or the system is abnormal, so that the temperature of the central processing unit 2 continues to rise to the second preset temperature value, the control circuit 43 sends a Q-event signal to the electronic device 1〇. BaBasic Input/Output System (BIOS), which causes the basic input/output system to send an SCI (System Control Interrupt) signal to the operating system to control the electronic device 1〇() Enter a non-operational mode, as in step 90. In this embodiment, the non-operation mode is one of a sleep mode, a standby mode, and a shutdown mode to prevent the central processor 2 from being burnt out due to excessive temperature. Conversely, if the comparison circuit 42 compares the temperature of the central processing unit 2 to the second preset temperature value, the electronic device repeatedly performs step 5, and the control circuit 43 continues to control the operation of the cooling fan by using the temperature control table. . In summary, the present invention detects the rotation speed of the cooling fan 透过 through the rotation speed detecting circuit 32 in the temperature sensor 3 to determine whether the cooling fan 正确 is correctly installed, thereby preventing the user from installing the cooling fan 丨. The completion of the loss caused the system to burn out or crash. In addition, the method of the present invention can be directly burned in the embedded controller 4 during the manufacturing process of the electronic device 1GG, or can be stored in a computer program product such as a CD-ROM and when the electronic device 100 is loaded into the computer program. After the program in the product is executed, the method of the present invention can be completed, that is, steps 10 to 9. However, the above description is only for the preferred embodiment of the present invention and can be used to limit the scope of the present invention, that is, the simple equivalent change and modification % according to the scope of the invention and the description of the invention are all It is still within the scope of the invention patent. 10 201122517 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart illustrating a preferred embodiment of a method for detecting a heat dissipating fan of an electronic device according to the present invention; FIG. 2疋f: a road block diagram illustrating the method of the present invention. The electronic device of the application; and FIG. 3 is a temperature control table stored in the memory unit of the embodiment.
11 201122517 L王要元件符號說明】 100.......電子裝置 1 ..........散熱風扇 2 ..........中央處理器(晶片 單元) 3 ..........溫度感測器 31.........溫度偵測電路 32 .........轉速偵測電路 33 .........風扇驅動電路 4 ..........嵌入式控制器 41 .........記憶單元 42 .........比較電路 43 .........控制電路 ❿ 1211 201122517 L Wang wants component symbol description] 100.......electronic device 1 .......... cooling fan 2 .......... central processing unit (wafer unit) 3 ..........temperature sensor 31.........temperature detection circuit 32 ......... rotation speed detection circuit 33 ... ...fan drive circuit 4 ..... embedded controller 41 ... ... memory unit 42 ... ... comparison circuit 43 .... .....Control circuit❿ 12