TWI746101B - Electronic device and thermal controlling method for solid state disk thereof - Google Patents

Electronic device and thermal controlling method for solid state disk thereof Download PDF

Info

Publication number
TWI746101B
TWI746101B TW109126244A TW109126244A TWI746101B TW I746101 B TWI746101 B TW I746101B TW 109126244 A TW109126244 A TW 109126244A TW 109126244 A TW109126244 A TW 109126244A TW I746101 B TWI746101 B TW I746101B
Authority
TW
Taiwan
Prior art keywords
solid state
stage
state drive
processing unit
central processing
Prior art date
Application number
TW109126244A
Other languages
Chinese (zh)
Other versions
TW202207012A (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 TW109126244A priority Critical patent/TWI746101B/en
Application granted granted Critical
Publication of TWI746101B publication Critical patent/TWI746101B/en
Publication of TW202207012A publication Critical patent/TW202207012A/en

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

An electronic device and a thermal controlling method for solid state disk thereof are provided. The thermal controlling method includes following steps: A plurality of first commands are sent at a first frequency by a CPU of the electronic device. The plurality of first commands are received by a controller of the solid state disk, and a plurality of current temperatures of the solid state disk are returned to the CPU according to the plurality of first commands. Cooling the solid state disk in a first stage, a second stage or a third stage is determined according to the plurality of current temperatures by the CPU, and a second command is sent to set a power state of the solid state disk according to the first stage, the second stage or the third stage.

Description

電子裝置及其固態硬碟的溫度控制方法 Electronic device and temperature control method of solid hard disk

本發明是有關於一種電子裝置及其溫度控制方法,且特別是有關於一種電子裝置及其固態硬碟的溫度控制方法。 The present invention relates to an electronic device and a temperature control method thereof, and more particularly to a temperature control method of an electronic device and a solid state hard disk.

NVMe固態硬碟已成為市場主流,固態硬碟具有高效能但同時也產生一些過熱的問題。目前在固態硬碟中已有溫控調頻(Thermal Throttling)機制,透過主機控制熱管理(HCTM)的兩個溫度參數來使固態硬碟降溫。但是主機控制熱管理的兩個溫度參數為廠商預設值(Default),而各家廠商的廠商預設值(例如82℃及84℃)通常比固態硬碟的安全溫度(通常約為70℃)還高。也就是說當固態硬碟的溫度超過安全溫度時,才會根據主機控制熱管理的兩個溫度參數使固態硬碟進行降溫。換句話說,各家廠商的廠商預設值僅適用於某些使用情境,例如短時間內的固態硬碟存取。若固態硬碟長時間處在運作狀態,還是會造成固態硬碟的溫度一直處在安全溫度之上。 NVMe solid-state hard drives have become the mainstream of the market. Solid-state hard drives have high performance but also have some overheating problems. At present, there is a Thermal Throttling mechanism in the solid state drive, which cools the solid state drive through two temperature parameters of the host controlled thermal management (HCTM). However, the two temperature parameters used by the host to control thermal management are the factory default values (Default), and the factory default values of each manufacturer (such as 82°C and 84°C) are usually lower than the safe temperature of the solid state drive (usually about 70°C). ) Is still high. That is to say, when the temperature of the solid state drive exceeds the safe temperature, the solid state drive will be cooled according to the two temperature parameters of the thermal management controlled by the host. In other words, the manufacturer's default values of each manufacturer are only applicable to certain usage scenarios, such as solid-state drive access in a short period of time. If the solid state drive is kept in operation for a long time, the temperature of the solid state drive will still be above the safe temperature.

另外,雖然目前在NVMe規範中,系統可透過設定功能(Set Feature)指令將主機控制熱管理的兩個溫度參數設定成低於廠商預設值。但僅透過系統設定主機控制熱管理的兩個溫度參數對固態硬碟降溫進行降溫的方式無法適用於某些使用情境,例如長時間內的固態硬碟存取或固態硬碟在高於室溫(例如40℃)的環境中使用...等,此些使用情境仍會造成固態硬碟的溫度一直處在安全溫度之上。如此,對於固態硬碟的壽命與其儲存的資料將會造成嚴重的威脅。 In addition, although currently in the NVMe specification, the system can set the two temperature parameters of the host to control thermal management to be lower than the manufacturer's preset values through the Set Feature command. However, the method of cooling the solid-state drive only through the two temperature parameters of the system setting host to control thermal management cannot be applied to certain usage scenarios, such as long-term solid-state drive access or solid-state drive that is higher than room temperature. (For example, 40°C), etc., etc., these usage scenarios will still cause the temperature of the solid state drive to always be above the safe temperature. In this way, it will pose a serious threat to the life of the solid state drive and its stored data.

因此,如何改善上述缺點,提供一個更有效率的溫度控制方法,已成為業界努力的方向。 Therefore, how to improve the above shortcomings and provide a more efficient temperature control method has become the direction of the industry's efforts.

本發明係有關於一種電子裝置及其固態硬碟的溫度控制方法,其設置三個階段的降溫,可依據不同的階段主動設定固態硬碟的電源狀態(power state)來有效的對固態硬碟進行降溫。 The present invention relates to an electronic device and a temperature control method for a solid state hard disk. It sets three stages of cooling, and can actively set the power state of the solid state disk according to different stages to effectively control the solid state disk. Cool down.

根據本發明之第一方面,提出一種固態硬碟之溫度控制方法。固態硬碟的溫度控制方法包括以下步驟:透過電子裝置之一中央處理器以一第一頻率發出複數個第一指令。透過固態硬碟之一控制器接收此些第一指令,並依據此些第一指令回傳固態硬碟之複數個當前溫度至中央處理器。透過中央處理器依據此些當前溫度決定以一第一階段、一第二階段或一第三階段對該固 態硬碟降溫,並依據該第一階段、該第二階段或該第三階段發出一第二指令設定該固態硬碟之一電源狀態。 According to the first aspect of the present invention, a temperature control method of a solid state drive is provided. The temperature control method of the solid state hard disk includes the following steps: a central processing unit of the electronic device sends out a plurality of first commands at a first frequency. Receive these first commands through a controller of the solid state hard disk, and return a plurality of current temperatures of the solid state hard disk to the central processing unit according to the first commands. According to the current temperature, the central processing unit decides whether to use a first stage, a second stage or a third stage The temperature of the solid state hard disk is reduced, and a second command is issued according to the first stage, the second stage, or the third stage to set a power state of the solid state hard disk.

根據本發明之第二方面,提出一種電子裝置。電子裝置包括一中央處理器及一固態硬碟。固態硬碟包括一控制器。中央處理器用以以一第一頻率發出複數個第一指令。控制器用以接收該些第一指令,並依據該些第一指令回傳該固態硬碟之複數個當前溫度至該中央處理器。該中央處理器依據該些當前溫度決定以一第一階段、一第二階段或一第三階段對該固態硬碟降溫,並依據該第一階段、該第二階段或該第三階段發出一第二指令設定該固態硬碟之一電源狀態。 According to the second aspect of the present invention, an electronic device is provided. The electronic device includes a central processing unit and a solid state hard disk. The solid state drive includes a controller. The central processing unit is used for issuing a plurality of first commands at a first frequency. The controller is used for receiving the first commands, and returning a plurality of current temperatures of the solid state drive to the central processing unit according to the first commands. The central processing unit decides to cool the solid state drive in a first stage, a second stage, or a third stage according to the current temperatures, and sends out a The second command sets a power state of the solid state drive.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下: In order to have a better understanding of the above and other aspects of the present invention, the following specific examples are given in conjunction with the accompanying drawings to describe in detail as follows:

100,300:電子裝置 100,300: electronic devices

110,310:中央處理器 110,310: central processing unit

200,400:固態硬碟 200,400: solid state drive

210,410:控制器 210,410: Controller

CMD1:第一指令 CMD1: The first command

CMD2:第二指令 CMD2: Second instruction

S110~S130,S1310~S1380:步驟 S110~S130, S1310~S1380: steps

第1圖繪示繪示電子裝置之示意圖。 Figure 1 shows a schematic diagram of an electronic device.

第2圖繪示根據一實施例之具有固態硬碟之電子裝置的示意圖 Figure 2 shows a schematic diagram of an electronic device with a solid state drive according to an embodiment

第3圖繪示根據本發明一實施例之固態硬碟之溫度控制方法的流程圖。 FIG. 3 shows a flowchart of a temperature control method of a solid state drive according to an embodiment of the present invention.

第4圖繪示根據本發明一實施例之步驟S130的子步驟的流程圖。 FIG. 4 shows a flowchart of the sub-steps of step S130 according to an embodiment of the present invention.

請參照第1圖,其繪示電子裝置100之示意圖。電子裝置100包括一中央處理器110及一固態硬碟200。中央處理器110耦接固態硬碟200,可對固態硬碟200進行資料存取。電子裝置100例如是一筆記型電腦、一桌上型電腦、一平板電腦、一智慧型手機或多媒體裝置。中央處理器110例如是一單核心或多核心的處理器、特殊用途的微處理器或特殊應用積體電路。 Please refer to FIG. 1, which shows a schematic diagram of the electronic device 100. The electronic device 100 includes a central processing unit 110 and a solid state hard disk 200. The central processing unit 110 is coupled to the solid state drive 200 and can access data on the solid state drive 200. The electronic device 100 is, for example, a notebook computer, a desktop computer, a tablet computer, a smart phone or a multimedia device. The central processing unit 110 is, for example, a single-core or multi-core processor, a special-purpose microprocessor, or a special-application integrated circuit.

固態硬碟200包括一控制器210。固態硬碟200支援NVMe。控制器210例如是控制晶片、嵌入式控制器或特殊應用積體電路。控制器210可對中央處理器110發送的指令進行回應,以及設定固態硬碟200的電源狀態(power state)。 The solid state drive 200 includes a controller 210. The SSD 200 supports NVMe. The controller 210 is, for example, a control chip, an embedded controller, or a special application integrated circuit. The controller 210 can respond to commands sent by the central processing unit 110 and set the power state of the solid state drive 200.

表一為固態硬碟200的電源狀態及效能的對應關係。電源狀態包括五種電源狀態PS0至PS4。每個電源狀態PS0至PS4對應不同的效能。電源狀態PS0至PS2為工作狀態,PS3至PS4為睡眠狀態。表一中所顯示的電源狀態及效能的對應關係為一範例,可依照不同的固態硬碟廠商而具有不同的設置。但一般來說,可以確定的是電源狀態PS0至PS4的效能依序越來越低。 Table 1 shows the corresponding relationship between the power state and performance of the solid state drive 200. The power state includes five power states PS0 to PS4. Each power state PS0 to PS4 corresponds to a different performance. The power states PS0 to PS2 are working states, and PS3 to PS4 are sleeping states. The corresponding relationship between power status and performance shown in Table 1 is an example, and different settings can be set according to different solid state drive manufacturers. But generally speaking, it can be determined that the performance of the power states PS0 to PS4 is successively lower and lower.

Figure 109126244-A0305-02-0006-1
Figure 109126244-A0305-02-0006-1
Figure 109126244-A0305-02-0007-2
Figure 109126244-A0305-02-0007-2

在NVMe規範中,正常使用狀況下,固態硬碟200的電源狀態為PS0。當固態硬碟200的當前溫度超過主機控制熱管理(HCTM)的第一溫度參數(TMT1)時,會進行第一次降溫,此時控制器210將固態硬碟200的電源狀態設定為PS1,以減少固態硬碟200的效能,以進行降溫。當固態硬碟200的當前溫度超過主機控制熱管理的第二溫度參數(TMT2)時,會進行第二次降溫,此時控制器210將固態硬碟200的電源狀態設定為PS2,以再次減少固態硬碟200的效能,以進行降溫。而當固態硬碟200的當前溫度回到第一溫度參數之下時,此時控制器210將固態硬碟200的電源狀態設定回PS0。換句話說,對於固態硬碟200的電源狀態設定是被動的。然而,這並無法應付固態硬碟200的各種使用情境。 In the NVMe specification, under normal use conditions, the power state of the solid state drive 200 is PS0. When the current temperature of the solid state drive 200 exceeds the first temperature parameter (TMT1) of the host controlled thermal management (HCTM), the temperature will be cooled for the first time. At this time, the controller 210 sets the power state of the solid state drive 200 to PS1. In order to reduce the performance of the solid state drive 200, to cool down. When the current temperature of the solid state drive 200 exceeds the second temperature parameter (TMT2) of the host's thermal management control, the temperature will be lowered a second time. At this time, the controller 210 sets the power state of the solid state drive 200 to PS2 to reduce again The performance of the solid state drive 200 can be used to cool down. When the current temperature of the solid state drive 200 returns to below the first temperature parameter, the controller 210 at this time sets the power state of the solid state drive 200 back to PS0. In other words, the power state setting of the solid state drive 200 is passive. However, this cannot cope with various usage scenarios of the solid state drive 200.

有鑑於此,本發明提供一種固態硬碟的溫度控制方法,可改善前述缺點。 In view of this, the present invention provides a temperature control method for a solid state hard disk, which can improve the aforementioned shortcomings.

請參照第2及3圖。第2圖繪示根據一實施例之具有固態硬碟400之電子裝置300的示意圖。第3圖繪示根據本發明一實施例之固態硬碟400之溫度控制方法的流程圖。第2圖之元件與第1圖之元件類似,在此不多贅述。第2圖與第1圖之不同之處在於,中央處理器310可發送第一指令CMD1及第二指令 CMD2至固態硬碟400,以週期性地監控固態硬碟400的當前溫度並使控制器410設定固態硬碟400的電源狀態。 Please refer to Figures 2 and 3. FIG. 2 is a schematic diagram of an electronic device 300 with a solid state drive 400 according to an embodiment. FIG. 3 shows a flowchart of a temperature control method of a solid state drive 400 according to an embodiment of the invention. The elements in Fig. 2 are similar to those in Fig. 1, so I won’t repeat them here. The difference between Figure 2 and Figure 1 is that the central processing unit 310 can send the first command CMD1 and the second command CMD2 to the solid state drive 400 to periodically monitor the current temperature of the solid state drive 400 and make the controller 410 set the power state of the solid state drive 400.

在步驟S110中,中央處理器310以一第一頻率發出複數個第一指令CMD1至固態硬碟400,用以詢問固態硬碟400的當前溫度。在一實施例中,第一頻率例如為每5分鐘發出一次第一指令CMD1,以詢問固態硬碟400的當前溫度。值得注意的是,發出第一指令CMD1的頻率不以此為限,可依照不同使用情境而有不同設計,例如中央處理器310可每3分鐘發出一次第一指令CMD1或每6分鐘發出一次第一指令CMD1。 In step S110, the central processing unit 310 sends a plurality of first commands CMD1 to the solid state hard disk 400 at a first frequency to query the current temperature of the solid state disk 400. In one embodiment, the first frequency is, for example, issuing the first command CMD1 every 5 minutes to query the current temperature of the solid state drive 400. It is worth noting that the frequency of issuing the first command CMD1 is not limited to this, and can be designed differently according to different usage scenarios. For example, the central processing unit 310 can issue the first command CMD1 every 3 minutes or issue the first command CMD1 every 6 minutes. One command CMD1.

在步驟S120中,固態硬碟400之控制器410接收第一指令CMD1,並依據第一指令CMD1回傳固態硬碟400之複數個當前溫度至中央處理器310。更進一步來說,由於中央處理器310以第一頻率依序發出複數個第一指令CMD1,因此控制器410實質上也以第一頻率依據第一指令CMD1依序回傳固態硬碟400之複數個當前溫度至中央處理器310。 In step S120, the controller 410 of the solid state drive 400 receives the first command CMD1, and returns a plurality of current temperatures of the solid state drive 400 to the central processing unit 310 according to the first command CMD1. Furthermore, since the central processing unit 310 sequentially issues a plurality of first commands CMD1 at the first frequency, the controller 410 also returns the plurality of solid state disks 400 in sequence according to the first command CMD1 at the first frequency. The current temperature to the central processing unit 310.

在步驟S130中,中央處理器310依據此些當前溫度決定以一第一階段、一第二階段或一第三階段對固態硬碟400降溫,並依據第一階段、第二階段或第三階段發出一第二指令CMD2設定固態硬碟400之一電源狀態。請參考第4圖。第4圖繪示根據本發明一實施例之步驟S130的子步驟的流程圖。步驟S130的包括步驟S1310至S1380。 In step S130, the central processing unit 310 decides to cool the solid state drive 400 in a first stage, a second stage or a third stage according to the current temperatures, and according to the first stage, the second stage or the third stage A second command CMD2 is issued to set a power state of the solid state drive 400. Please refer to Figure 4. FIG. 4 shows a flowchart of the sub-steps of step S130 according to an embodiment of the present invention. Step S130 includes steps S1310 to S1380.

在步驟S1310中,中央處理器310計算此些當前溫 度中連續超過一安全溫度的當前溫度的一數量。在一實施例中,由於固態硬碟400在70℃以下可以正常運作,而超過70℃可能會對固態硬碟400造成損壞,因此,在此實施例中之安全溫度可為70℃,但不以此為限,可依照實際的情況調整。舉例來說,若控制器410每5分鐘依據第一指令CMD1依序回傳固態硬碟400之複數個當前溫度分別為65℃、68℃、72℃、75℃、74℃,則中央處理器310計算此些當前溫度中連續超過70℃的當前溫度的數量為3。 In step S1310, the central processing unit 310 calculates these current temperature A number of current temperatures that continuously exceed a safe temperature in degrees. In one embodiment, since the solid state drive 400 can operate normally below 70°C, and the solid state drive 400 may be damaged if the temperature exceeds 70°C, the safe temperature in this embodiment may be 70°C, but not As a limit, it can be adjusted according to the actual situation. For example, if the controller 410 sequentially returns a plurality of current temperatures of the solid state drive 400 as 65°C, 68°C, 72°C, 75°C, and 74°C according to the first command CMD1 every 5 minutes, then the central processing unit 310 calculates that the number of current temperatures continuously exceeding 70° C. among these current temperatures is 3.

接著,在步驟S1320,中央處理器310將此數量與一門檻值比較,以決定以第一階段、第二階段或第三階段對固態硬碟400降溫。在一實施例中,門檻值為3,但不以此為限,可依照實際的情況調整。當此數量未達到此門檻值時,進入步驟S1330,決定以第一階段對固態硬碟400降溫;當此數量等於此門檻值時,進入步驟S1340,決定以第二階段對固態硬碟400降溫;當此數量超過此門檻值時,進入步驟S1350,決定以第三階段對固態硬碟400降溫。 Next, in step S1320, the central processing unit 310 compares this number with a threshold value to determine the cooling of the solid state drive 400 in the first stage, the second stage, or the third stage. In one embodiment, the threshold value is 3, but it is not limited to this, and can be adjusted according to actual conditions. When the number does not reach the threshold, go to step S1330 to decide to cool down the solid state drive 400 in the first stage; when the number is equal to the threshold, go to step S1340 to decide to cool down the solid state drive 400 in the second stage ; When the number exceeds the threshold, step S1350 is entered, and it is determined to cool down the solid state drive 400 in the third stage.

以上述例子來說,中央處理器310計算此些當前溫度中連續超過70℃的當前溫度的數量為3,而門檻值為3,因此,進入步驟S1340,中央處理器310決定以第二階段對固態硬碟400降溫。 Taking the above example, the CPU 310 calculates that the number of current temperatures continuously exceeding 70°C among these current temperatures is 3, and the threshold value is 3. Therefore, in step S1340, the CPU 310 decides to perform the second stage The solid state drive 400 cools down.

在步驟S1340之後,進入步驟S1370,在第二階段降溫中,中央處理器310發出第二指令CMD2設定固態硬碟400 之電源狀態為一電源狀態PS1,並設定一主機控制熱管理的一第一溫度參數及一第二溫度參數。在一實施例中,設定的第一溫度參數及第二溫度參數低於廠商預設值,例如設定第一溫度參數為67℃及第二溫度參數為69℃,其皆低於廠商預設值82℃及84℃。以上述例子來說,在此步驟中,由於當前溫度中連續超過安全溫度的當前溫度的數量等於門檻值,中央處理器310判斷固態硬碟400有因為高溫而造成損壞的危險,因此透過設定固態硬碟400之電源狀態為電源狀態PS1並搭配設定一主機控制熱管理的一第一溫度參數及一第二溫度參數以有效的對固態硬碟400進行降溫。 After step S1340, proceed to step S1370. During the second stage of cooling, the central processing unit 310 issues a second command CMD2 to set the solid state drive 400 The power state is a power state PS1, and a first temperature parameter and a second temperature parameter for controlling thermal management of a host are set. In one embodiment, the set first temperature parameter and the second temperature parameter are lower than the factory preset values, for example, the first temperature parameter is set to 67°C and the second temperature parameter is set to 69°C, which are both lower than the factory preset values 82°C and 84°C. Taking the above example, in this step, since the number of current temperatures that continuously exceed the safe temperature is equal to the threshold value, the CPU 310 determines that the solid state drive 400 is in danger of being damaged due to high temperature, so by setting the solid state The power state of the hard disk 400 is the power state PS1, and a first temperature parameter and a second temperature parameter for controlling thermal management of a host are set to effectively cool the solid state hard disk 400.

在步驟S1330之後,進入步驟S1360,在第一階段降溫中,中央處理器310判斷固態硬碟400是否閒置超過一時間,當固態硬碟400閒置超過此時間時,中央處理器310發出第二指令CMD2設定固態硬碟400之電源狀態為一電源狀態PS1。在一實施例中,此時間可為4分鐘,但不以此為限,可依照實際的情況調整。在此步驟中,由於當前溫度中連續超過安全溫度的當前溫度的數量未達到門檻值,中央處理器310判斷固態硬碟400並未有因為高溫而造成損壞的危險,因此,可使固態硬碟400處於電源狀態PS0,而不用降低效能。唯有當固態硬碟400閒置超過一時間時,代表固態硬碟400未在使用中,此時中央處理器310才發出第二指令CMD2設定固態硬碟400之電源狀態為電源狀態PS1,趁閒置期間降低效能,有效地減少固態硬碟400的當前溫 度。 After step S1330, proceed to step S1360. In the first stage of cooling, the CPU 310 determines whether the solid state drive 400 has been idle for more than a period of time. When the solid state drive 400 has been idle for more than this period of time, the CPU 310 issues a second command CMD2 sets the power state of the solid state drive 400 to a power state PS1. In one embodiment, the time can be 4 minutes, but it is not limited to this, and can be adjusted according to actual conditions. In this step, since the number of current temperatures continuously exceeding the safe temperature among the current temperatures has not reached the threshold value, the central processing unit 310 determines that the solid state drive 400 is not in danger of being damaged due to the high temperature, and therefore, the solid state drive can be made 400 is in the power state PS0 without reducing performance. Only when the solid state drive 400 is idle for more than a period of time, it means that the solid state drive 400 is not in use. At this time, the central processing unit 310 sends the second command CMD2 to set the power state of the solid state drive 400 to the power state PS1. During the period, the performance is reduced, effectively reducing the current temperature of the solid state drive 400 Spend.

在步驟S1350之後,進入步驟S1380,在第三階段降溫中,中央處理器310發出第二指令CMD2設定固態硬碟400之電源狀態為一電源狀態PS2,並以一第二頻率發出第一指令CMD1,以使控制器410接收第一指令CMD1,依據第一指令CMD1回傳固態硬碟400之當前溫度至中央處理器310。在一實施例中,第二頻率高於第一頻率。在此步驟中,由於當前溫度中連續超過安全溫度的當前溫度的數量超過門檻值,中央處理器310判斷固態硬碟400有因為高溫而造成損壞的危險,因此,此時中央處理器310發出第二指令CMD2設定固態硬碟400之電源狀態為電源狀態PS2,並提高發出第一指令CMD1的頻率。因為電源狀態PS2屬於低效能,會嚴重影響使用者感受,所以透過更頻繁的獲得固態硬碟400的當前溫度,能夠在溫度回到正常值的時候將效能恢復。 After step S1350, proceed to step S1380. In the third stage of cooling, the central processing unit 310 issues a second command CMD2 to set the power state of the solid state drive 400 to a power state PS2, and issues a first command CMD1 at a second frequency , So that the controller 410 receives the first command CMD1, and returns the current temperature of the solid state drive 400 to the central processing unit 310 according to the first command CMD1. In an embodiment, the second frequency is higher than the first frequency. In this step, because the number of current temperatures that continuously exceed the safe temperature exceeds the threshold, the CPU 310 determines that the solid state drive 400 is in danger of being damaged due to the high temperature. Therefore, the CPU 310 issues the first The second command CMD2 sets the power state of the solid state drive 400 to the power state PS2, and increases the frequency of issuing the first command CMD1. Because the power state PS2 is of low performance, which will seriously affect the user experience, by obtaining the current temperature of the solid state drive 400 more frequently, the performance can be restored when the temperature returns to a normal value.

如此一來,電子裝置300可依據固態硬碟400的多個當前溫度判斷不同的使用情境,以進行三個階段的降溫,並依據不同的階段主動設定固態硬碟400的電源狀態以減少效能,來有效的達到降溫的目的。因此,相較於先前技術僅透過主機控制熱管理的兩個溫度參數對固態硬碟進行降溫的方式,本案所提出之方法更適用於多種使用情境,且可更有效率的降低固態硬碟400的溫度。 In this way, the electronic device 300 can determine different usage scenarios based on the multiple current temperatures of the solid state drive 400 to cool down in three stages, and automatically set the power state of the solid state drive 400 according to different stages to reduce performance. To effectively achieve the purpose of cooling down. Therefore, compared with the prior art that only uses the two temperature parameters of the host to control thermal management to cool the solid state drive, the method proposed in this case is more suitable for a variety of usage scenarios, and can reduce the solid state drive 400 more efficiently. temperature.

綜上所述,雖然本發明已以實施例揭露如上,然其 並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。 To sum up, although the present invention has been disclosed as above in embodiments, its It is not intended to limit the present invention. Those with ordinary knowledge in the technical field to which the present invention belongs can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to those defined by the attached patent application scope.

S110,S120,S130:步驟 S110, S120, S130: steps

Claims (12)

一種固態硬碟之溫度控制方法,適用於具有固態硬碟之一電子裝置,該溫度控制方法包括:透過該電子裝置之一中央處理器以一第一頻率發出複數個第一指令;透過該固態硬碟之一控制器接收該些第一指令,並依據該些第一指令回傳該固態硬碟之複數個當前溫度至該中央處理器;以及透過該中央處理器依據該些當前溫度決定以一第一階段、一第二階段或一第三階段對該固態硬碟降溫,並依據該第一階段、該第二階段或該第三階段發出一第二指令設定該固態硬碟之一電源狀態(power state)。 A temperature control method for a solid-state hard disk is suitable for an electronic device with a solid-state hard disk. The temperature control method includes: issuing a plurality of first commands at a first frequency through a central processing unit of the electronic device; A controller of the hard disk receives the first commands, and returns a plurality of current temperatures of the solid state disk to the CPU according to the first commands; A first stage, a second stage, or a third stage to cool the solid state drive, and a second command is issued according to the first stage, the second stage, or the third stage to set a power source of the solid state drive State (power state). 如請求項1所述之溫度控制方法,其中透過該中央處理器依據該些當前溫度決定以該第一階段、該第二階段或該第三階段對該固態硬碟降溫的步驟中包括:計算該些當前溫度中連續超過一安全溫度的該些當前溫度的一數量;將該數量與一門檻值比較;當該數量未達到該門檻值時,則決定以該第一階段對該固態硬碟降溫;當該數量等於該門檻值時,則決定以該第二階段對該固態硬碟降溫;以及 當該數量超過該門檻值時,則決定以該第三階段對該固態硬碟降溫。 The temperature control method according to claim 1, wherein the step of determining, by the CPU according to the current temperatures, to cool the solid state drive in the first stage, the second stage or the third stage includes: calculating A number of the current temperatures that continuously exceed a safe temperature among the current temperatures; compare the number with a threshold value; when the number does not reach the threshold value, it is determined to use the first stage for the solid state drive Cool down; when the number is equal to the threshold value, decide to cool down the solid state drive in the second stage; and When the number exceeds the threshold value, it is decided to cool the solid state drive in the third stage. 如請求項2所述之溫度控制方法,其中依據該第一階段、該第二階段或該第三階段發出該第二指令設定該固態硬碟之該電源狀態的步驟中包括:當決定以該第一階段對該固態硬碟降溫時,判斷該固態硬碟是否閒置超過一時間;以及當該固態硬碟閒置超過該時間時,透過該中央處理器發出該第二指令設定該固態硬碟之該電源狀態為一電源狀態PS1。 The temperature control method according to claim 2, wherein the step of issuing the second command according to the first stage, the second stage or the third stage to set the power state of the solid state drive includes: when it is determined to use the In the first stage, when the solid state drive is cooled down, it is determined whether the solid state drive is idle for more than a period of time; and when the solid state drive is idle for more than the period of time, the CPU sends the second command to set the solid state drive The power state is a power state PS1. 如請求項2所述之溫度控制方法,其中依據該第一階段、該第二階段或該第三階段發出該第二指令設定該固態硬碟之該電源狀態的步驟中包括:當決定以該第二階段對該固態硬碟降溫時,該中央處理器發出該第二指令設定該固態硬碟之該電源狀態為一電源狀態PS1,並設定一主機控制熱管理的一第一溫度參數及一第二溫度參數。 The temperature control method according to claim 2, wherein the step of issuing the second command according to the first stage, the second stage or the third stage to set the power state of the solid state drive includes: when it is determined to use the When the solid state drive is cooled in the second stage, the central processing unit issues the second command to set the power state of the solid state drive to a power state PS1, and sets a first temperature parameter and a host controlled thermal management The second temperature parameter. 如請求項4所述之溫度控制方法,其中該第一溫度參數及該第二溫度參數低於一廠商預設值。 The temperature control method according to claim 4, wherein the first temperature parameter and the second temperature parameter are lower than a factory preset value. 如請求項2所述之溫度控制方法,其中依據該第一階段、該第二階段或該第三階段發出該第二指令設定該固態硬碟之該電源狀態的步驟中包括:當決定以該第三階段對該固態硬碟降溫時,該中央處理器發出該第二指令設定該固態硬碟之該電源狀態為一電源狀態PS2,並 以一第二頻率發出該些第一指令,以使該控制器接收該些第一指令;以及依據該些第一指令回傳該固態硬碟之該些當前溫度至該中央處理器,其中該第二頻率高於該第一頻率。 The temperature control method according to claim 2, wherein the step of issuing the second command according to the first stage, the second stage or the third stage to set the power state of the solid state drive includes: when it is determined to use the When the solid state drive is cooled in the third stage, the central processing unit issues the second command to set the power state of the solid state drive to a power state PS2, and Send the first commands at a second frequency so that the controller receives the first commands; and return the current temperatures of the solid state drive to the central processing unit according to the first commands, wherein the The second frequency is higher than the first frequency. 一種用於固態硬碟之溫度控制之電子裝置,包括:一中央處理器,用以以一第一頻率發出複數個第一指令;一固態硬碟,包括:一控制器,用以接收該些第一指令,並依據該些第一指令回傳該固態硬碟之複數個當前溫度至該中央處理器;其中,該中央處理器依據該些當前溫度決定以一第一階段、一第二階段或一第三階段對該固態硬碟降溫,並依據該第一階段、該第二階段或該第三階段發出一第二指令設定該固態硬碟之一電源狀態。 An electronic device for temperature control of a solid state hard disk, comprising: a central processing unit for issuing a plurality of first commands at a first frequency; and a solid state hard disk comprising: a controller for receiving these A first command, and return a plurality of current temperatures of the solid state drive to the CPU according to the first commands; wherein the CPU decides to perform a first stage and a second stage according to the current temperatures Or a third phase cools down the solid state drive, and a second command is issued according to the first phase, the second phase, or the third phase to set a power state of the solid state drive. 如請求項7所述之電子裝置,其中該中央處理器計算該些當前溫度中連續超過一安全溫度的該些當前溫度的一數量,並將該數量與一門檻值比較,當該數量未達到該門檻值時,則該中央處理器決定以該第一階段對該固態硬碟降溫,當該數量等於該門檻值時,則該中央處理器決定以該第二階段對該固態硬碟降溫,當該數量超過該門檻值時,則該中央處理器決定以該第三階段對該固態硬碟降溫。 The electronic device according to claim 7, wherein the central processing unit calculates a quantity of the current temperatures continuously exceeding a safe temperature among the current temperatures, and compares the quantity with a threshold value, when the quantity does not reach When the threshold value is reached, the CPU decides to cool down the solid state drive in the first stage. When the number is equal to the threshold value, the CPU decides to cool down the solid state drive in the second stage. When the number exceeds the threshold, the central processing unit decides to cool down the solid state drive in the third stage. 如請求項8所述之電子裝置,其中當該中央處理器決定以該第一階段對該固態硬碟降溫時,中央處理器更判斷該固態硬碟是否閒置超過一時間,當該固態硬碟閒置超過該時間,該中央處理器發出該第二指令設定該固態硬碟之該電源狀態為一電源狀態PS1。 The electronic device according to claim 8, wherein when the central processing unit decides to cool down the solid state drive in the first stage, the central processing unit further determines whether the solid state drive has been idle for more than a period of time, and when the solid state drive After being idle for more than the time, the central processing unit issues the second command to set the power state of the solid state drive to a power state PS1. 如請求項8所述之電子裝置,其中當該中央處理器決定以該第二階段對該固態硬碟降溫時,該中央處理器發出該第二指令設定該固態硬碟之該電源狀態為一電源狀態PS1,並設定一主機控制熱管理的一第一溫度參數及一第二溫度參數。 The electronic device according to claim 8, wherein when the central processing unit decides to cool down the solid-state drive in the second stage, the central processing unit issues the second command to set the power state of the solid-state drive to a The power state PS1, and set a first temperature parameter and a second temperature parameter for a host to control thermal management. 如請求項10所述之電子裝置,其中該第一溫度參數及該第二溫度參數低於一廠商預設值。 The electronic device according to claim 10, wherein the first temperature parameter and the second temperature parameter are lower than a factory preset value. 如請求項8所述之電子裝置,其中當該中央處理器決定以該第三階段對該固態硬碟降溫時,該中央處理器發出該第二指令設定該固態硬碟之該電源狀態為一電源狀態PS2,並以一第二頻率發出該些第一指令,以使該控制器接收該些第一指令,並依據該些第一指令回傳該固態硬碟之該些當前溫度至該中央處理器,該第二頻率高於該第一頻率。 The electronic device according to claim 8, wherein when the central processing unit decides to cool down the solid-state drive in the third stage, the central processing unit issues the second command to set the power state of the solid-state drive to a Power state PS2, and issue the first commands at a second frequency, so that the controller receives the first commands, and returns the current temperatures of the solid state drive to the center according to the first commands Processor, the second frequency is higher than the first frequency.
TW109126244A 2020-08-03 2020-08-03 Electronic device and thermal controlling method for solid state disk thereof TWI746101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109126244A TWI746101B (en) 2020-08-03 2020-08-03 Electronic device and thermal controlling method for solid state disk thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109126244A TWI746101B (en) 2020-08-03 2020-08-03 Electronic device and thermal controlling method for solid state disk thereof

Publications (2)

Publication Number Publication Date
TWI746101B true TWI746101B (en) 2021-11-11
TW202207012A TW202207012A (en) 2022-02-16

Family

ID=79907466

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109126244A TWI746101B (en) 2020-08-03 2020-08-03 Electronic device and thermal controlling method for solid state disk thereof

Country Status (1)

Country Link
TW (1) TWI746101B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4461187B1 (en) * 2008-12-24 2010-05-12 株式会社東芝 Nonvolatile semiconductor memory drive device, information processing device, and storage area management method in nonvolatile semiconductor memory drive device
US20160004294A1 (en) * 2013-03-14 2016-01-07 Seagate Technology Llc Device power control
CN106909313A (en) * 2015-12-22 2017-06-30 株式会社东芝 Accumulator system and control method
US20180046408A1 (en) * 2016-08-09 2018-02-15 Seagate Technology Llc Active power management
CN107894941A (en) * 2017-11-14 2018-04-10 郑州云海信息技术有限公司 A kind of SSD Working state monitoring devices and method
CN108052292A (en) * 2017-12-25 2018-05-18 成都信息工程大学 A kind of high-temperature protection method of solid state disk
US10078455B2 (en) * 2016-01-20 2018-09-18 Microsoft Technology Licensing, Llc Predicting solid state drive reliability
CN108573721A (en) * 2017-03-13 2018-09-25 三星电子株式会社 With temperature controlled storage system and its operating method
TW201928688A (en) * 2017-12-15 2019-07-16 宏碁股份有限公司 Solid state disk

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4461187B1 (en) * 2008-12-24 2010-05-12 株式会社東芝 Nonvolatile semiconductor memory drive device, information processing device, and storage area management method in nonvolatile semiconductor memory drive device
US20160004294A1 (en) * 2013-03-14 2016-01-07 Seagate Technology Llc Device power control
CN106909313A (en) * 2015-12-22 2017-06-30 株式会社东芝 Accumulator system and control method
US10078455B2 (en) * 2016-01-20 2018-09-18 Microsoft Technology Licensing, Llc Predicting solid state drive reliability
US20180046408A1 (en) * 2016-08-09 2018-02-15 Seagate Technology Llc Active power management
CN108573721A (en) * 2017-03-13 2018-09-25 三星电子株式会社 With temperature controlled storage system and its operating method
CN107894941A (en) * 2017-11-14 2018-04-10 郑州云海信息技术有限公司 A kind of SSD Working state monitoring devices and method
TW201928688A (en) * 2017-12-15 2019-07-16 宏碁股份有限公司 Solid state disk
CN108052292A (en) * 2017-12-25 2018-05-18 成都信息工程大学 A kind of high-temperature protection method of solid state disk

Also Published As

Publication number Publication date
TW202207012A (en) 2022-02-16

Similar Documents

Publication Publication Date Title
US8135559B2 (en) Extended thermal management
EP2817716B1 (en) System and method for thermally aware device booting
US9207730B2 (en) Multi-level thermal management in an electronic device
US20060054713A1 (en) Method for controlling fan speed
US9746898B2 (en) Systems and methods for controlling processing device power consumption
US20180157315A1 (en) System and method for proactive power and performance management of a workload in a portable computing device
US8543846B2 (en) Temperature control method and electronic device thereof
US11579672B1 (en) Thermal mass aware thermal management
WO2015123976A1 (en) Method and device for controlling rotating speed of fan in electronic device
TWI486763B (en) Thermal protection method for computer system and device thereof
TW201301721A (en) Fan control system, computer system, and method of controlling fan speed thereof
TW201224728A (en) Power self-controlling networking device and method of controlling power
WO2021088425A1 (en) Method for staggered powering-on of server hard disks, device, and medium
CN111142640B (en) Control method of electronic equipment
TW201812507A (en) Chip aware thermal policy
TWI746101B (en) Electronic device and thermal controlling method for solid state disk thereof
TWM520669U (en) Storage device
US10514736B2 (en) Method and computer system for reducing noise from cooling fan
CN114077293A (en) Electronic device and temperature control method of solid state disk thereof
US20200011339A1 (en) Device and method for fan speed control
CN116027865A (en) Method and device for regulating and controlling heat dissipation of server, electronic equipment and storage medium
TWI616888B (en) Electronic apparatus and power management method thereof
JP2019185222A (en) Cooling system and electronic apparatus
US11500436B2 (en) System and method for predictive fan speed control and management
TWI291608B (en) Control system and method for balancing noise and performance of mother board of computer