TW202016942A - Electronic device having power quality detection module and method threof - Google Patents

Electronic device having power quality detection module and method threof Download PDF

Info

Publication number
TW202016942A
TW202016942A TW108138315A TW108138315A TW202016942A TW 202016942 A TW202016942 A TW 202016942A TW 108138315 A TW108138315 A TW 108138315A TW 108138315 A TW108138315 A TW 108138315A TW 202016942 A TW202016942 A TW 202016942A
Authority
TW
Taiwan
Prior art keywords
module
power
quality detection
internal voltage
power supply
Prior art date
Application number
TW108138315A
Other languages
Chinese (zh)
Other versions
TWI707352B (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 大陸商合肥沛睿微電子股份有限公司
Publication of TW202016942A publication Critical patent/TW202016942A/en
Application granted granted Critical
Publication of TWI707352B publication Critical patent/TWI707352B/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • G01R31/42AC power supplies

Abstract

The invention provides an electronic device having power quality detection module. The electronic device includes a power module, a storage module, and a power quality detection module. The power module receives an external power source. The power module converts the external power source to a first internal voltage. The power quality detection module is electrically connected to the power module and the storage module. The storage module is electrically connected to the power module through the power quality detection module to receive the first internal voltage. The power quality detecting module determines a quality parameter according to a waveform of the first internal voltage and determines whether to send a first alarm signal according to the quality parameter.

Description

具有電源品質檢測模組的電子設備及其相關方法Electronic equipment with power supply quality detection module and related methods

本發明是有關於一種電源品質檢測系統,且特別是一種設置在儲存模組以及電源模組之間的電源檢測模組。The invention relates to a power supply quality detection system, and particularly to a power supply detection module provided between a storage module and a power supply module.

儲存模組需要穩定的電壓作為運作基礎,特別是固態儲存裝置、記憶卡。若是電力環境中,交流電壓變動太大,或/及電源模組的設計不佳,則可能無法提供穩定的電壓給儲存模組。若是提供給儲存模組的電壓太高或是太低,儲存模組則可能有誤動作、讀寫錯誤、甚至是造成儲存模組的損壞。Storage modules require stable voltages as the basis for operation, especially solid-state storage devices and memory cards. In the power environment, if the AC voltage fluctuates too much, or/and the design of the power module is not good, it may not be possible to provide a stable voltage to the storage module. If the voltage provided to the storage module is too high or too low, the storage module may malfunction, read or write errors, or even cause damage to the storage module.

因此,如何提供一種檢測電源品質的電源品質檢測電路、模組及方法以防止上述問題,已經是業界的一個重要課題。Therefore, how to provide a power quality detection circuit, module and method for detecting power quality to prevent the above problems has become an important issue in the industry.

有鑑於此,本發明實施例提供了一種電源品質檢測系統,包括:一電源模組,接收一外部電源,所述電源模組轉換所述外部電源為一第一內部電壓;一儲存模組;以及一電源品質檢測模組,電性連接所述電源模組以及所述儲存模組,所述儲存模組通過所述電源品質檢測模組電性連接所述電源模組,以接收所述第一內部電壓;其中,所述電源品質檢測模組根據所述第一內部電壓的波型決定出一品質參數以決定是否發送一警示訊號。In view of this, an embodiment of the present invention provides a power supply quality detection system, including: a power supply module that receives an external power supply, and the power supply module converts the external power supply into a first internal voltage; a storage module; And a power supply quality detection module, which is electrically connected to the power supply module and the storage module, and the storage module is electrically connected to the power supply module through the power supply quality detection module to receive the first An internal voltage; wherein, the power quality detection module determines a quality parameter according to the waveform of the first internal voltage to determine whether to send a warning signal.

有鑑於此,本發明實施例提供了一種電源品質檢測方法,係應用一儲存模組,該方法包括:接收一外部電源,藉由一電源模組將所述外部電源轉換為一第一內部電壓;以及從複數個波形類型中確定出所述第一內部電壓的波形,以產生一檢測結果;所述儲存模組根據該檢測結果來自複數個編程模式中決定出的一個編程模式以進行存取所述儲存模組的資料。In view of this, an embodiment of the present invention provides a power supply quality detection method using a storage module. The method includes: receiving an external power supply, and converting the external power supply into a first internal voltage by a power supply module ; And determining the waveform of the first internal voltage from a plurality of waveform types to generate a detection result; the storage module according to the detection result from a programming mode determined from the plurality of programming modes for access The data of the storage module.

綜上所述,本發明利用電源品質檢測系統檢測傳輸至儲存模組的第一內部電壓,以判斷第一內部電壓的電壓品質,有效的判斷儲存模組的工作環境,並且在電壓不穩定時,可以有效找到問題所在,快速提供解決方案。In summary, the present invention uses the power quality detection system to detect the first internal voltage transmitted to the storage module to determine the voltage quality of the first internal voltage, effectively determine the working environment of the storage module, and when the voltage is unstable , Can effectively find the problem, and quickly provide solutions.

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

在下文將參看隨附圖式更充分地描述各種例示性實施例,在隨附圖式中展示一些例示性實施例。然而,本發明概念可能以許多不同形式來體現,且不應解釋為限於本文中所闡述之例示性實施例。確切而言,提供此等例示性實施例使得本發明將為詳盡且完整,且將向熟習此項技術者充分傳達本發明概念的範疇。在諸圖式中,可為了清楚而誇示層及區之大小及相對大小。類似數字始終指示類似元件。In the following, various exemplary embodiments will be described more fully with reference to the accompanying drawings, in which some exemplary embodiments are shown. However, the inventive concept may be embodied in many different forms and should not be interpreted as being limited to the exemplary embodiments set forth herein. Rather, providing these exemplary embodiments will make the invention detailed and complete, and will fully convey the scope of the inventive concept to those skilled in the art. In the drawings, the size and relative sizes of layers and regions may be exaggerated for clarity. Similar numbers always indicate similar components.

應理解,雖然本文中可能使用術語第一、第二、第三等來描述各種元件,但此等元件不應受此等術語限制。此等術語乃用以區分一元件與另一元件。因此,下文論述之第一元件可稱為第二元件而不偏離本發明概念之教示。如本文中所使用,術語「及/或」包括相關聯之列出項目中之任一者及一或多者之所有組合。It should be understood that although the terms first, second, third, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used to distinguish one element from another. Therefore, the first element discussed below may be referred to as the second element without departing from the teachings of the inventive concept. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

以下將以至少一種實施例配合圖式來說明電源品質檢測模組以及電源品質檢測系統,然而,下述實施例並非用以限制本揭露內容。在以下敘述中,具有兩個以上端點的電子元件,若有特別標記,則以腳位標記作為其腳位敘述,若沒有特別標記,則橫向設置的兩端點電子元件,以左側端點為第一端,以右側端點為第二端。若是垂直設置的兩端點電子元件,則以上側端點為第一端,下側端點為第二端。The following will describe the power quality detection module and the power quality detection system with at least one embodiment and drawings, however, the following embodiments are not intended to limit the disclosure. In the following description, if there is a special mark for an electronic component with more than two end points, the foot mark is used as its foot description. If there is no special mark, the electronic components at the two ends of the horizontal position are set to the left end point Is the first end, and the right end is the second end. If the electronic components are arranged vertically at both ends, the upper end is the first end, and the lower end is the second end.

〔本發明的電源品質檢測系統以及電源品質檢測模組的實施例〕[Examples of the power quality detection system and power quality detection module of the present invention]

請參照圖1以及圖2,圖1是本發明實施例的電源品質檢測系統的示意圖。圖2是本發明實施例的電源品質檢測系統的另一示意圖。該電源品質檢測系統1的實施態樣可內含有儲存模組的電子設備,例如:固態儲存裝置(SSD)、記憶卡(Memory Card)、電腦系統、平板、智慧型手機…等。Please refer to FIGS. 1 and 2. FIG. 1 is a schematic diagram of a power quality detection system according to an embodiment of the present invention. 2 is another schematic diagram of a power quality detection system according to an embodiment of the invention. The implementation of the power quality detection system 1 may include electronic devices including storage modules, such as solid state storage devices (SSD), memory cards (Memory Card), computer systems, tablets, smart phones, etc.

在本實施例中,電源品質檢測系統1包括一電源模組11、一主板模組12、一處理器13、一儲存模組14、以及一電源品質檢測模組15。In this embodiment, the power quality detection system 1 includes a power module 11, a motherboard module 12, a processor 13, a storage module 14, and a power quality detection module 15.

在本實施例中,電源模組11接收一外部電壓AC。電源模組轉換外部電源AC為一第一內部電壓IV1。In this embodiment, the power module 11 receives an external voltage AC. The power module converts the external power supply AC to a first internal voltage IV1.

電源品質檢測模組15電性連接電源模組11以及儲存模組14。儲存模組14電性連接電源模組11,以接收所述第一內部電壓IV1。The power quality detection module 15 is electrically connected to the power module 11 and the storage module 14. The storage module 14 is electrically connected to the power module 11 to receive the first internal voltage IV1.

主板模組12電性連接電源模組11。處理器13設置在主板模組12上,處理器13電性連接電源模組11、主板模組12、以及儲存模組14。The motherboard module 12 is electrically connected to the power module 11. The processor 13 is disposed on the motherboard module 12, and the processor 13 is electrically connected to the power module 11, the motherboard module 12, and the storage module 14.

在本實施例中,電源模組11、主板模組12、處理器13、儲存模組14構成一電腦系統(圖未示),設置在一殼體(圖未示)中。In this embodiment, the power module 11, the motherboard module 12, the processor 13, and the storage module 14 constitute a computer system (not shown), which is disposed in a casing (not shown).

在本實施例中,電腦系統(圖未示)還包括一操作系統,通過電源模組11、主板模組12、處理器13、儲存模組14等元件進行運作。In this embodiment, the computer system (not shown) further includes an operating system that operates through the power module 11, the motherboard module 12, the processor 13, the storage module 14, and other components.

在本實施例中,儲存模組14可以設置在主板模組12上。例如,儲存模組14通過快捷外設互聯標準介面(Peripheral Component Interconnect Express,PCIe)直接設置在主板模組12上。儲存模組14與主板模組12也可以分別獨立設置。舉例來說,就是儲存模組14通過一傳輸線以及一序列高技術配置介面(Serial Advanced Technology Attachment, SATA)與主板模組12電性連接。In this embodiment, the storage module 14 may be disposed on the motherboard module 12. For example, the storage module 14 is directly installed on the main board module 12 through a Peripheral Component Interconnect Express (PCIe). The storage module 14 and the main board module 12 can also be set independently. For example, the storage module 14 is electrically connected to the motherboard module 12 through a transmission line and a serial high-tech configuration interface (Serial Advanced Technology Attachment, SATA).

如圖2所示,圖2的電源品質檢測系統1’包括一電源模組11’、一主板模組12’、一處理器13’、一儲存模組14’、以及一電源品質檢測模組15’。圖1的電源品質檢測系統1與圖2的電源品質檢測系統1’不同的地方在於:圖1的儲存模組14沒有設置在主板模組12上,圖2的儲存模組14’設置在主板模組12’上。As shown in FIG. 2, the power quality detection system 1 ′ of FIG. 2 includes a power module 11 ′, a motherboard module 12 ′, a processor 13 ′, a storage module 14 ′, and a power quality detection module 15'. The difference between the power quality detection system 1 of FIG. 1 and the power quality detection system 1'of FIG. 2 is that the storage module 14 of FIG. 1 is not provided on the motherboard module 12, and the storage module 14' of FIG. 2 is provided on the motherboard Module 12'.

在本實施例中,儲存模組14是固態硬碟(Solid-state disk, SSD)。In this embodiment, the storage module 14 is a solid-state disk (SSD).

在本實施例中,電源品質檢測模組15會根據第一內部電壓IV1的一品質參數決定是否發送一第一警示訊號。在本實施例中,若是外部電壓AC的大幅度變動或是電源模組11的設計不良,都會造成第一內部電壓IV1會有大幅度電壓變化(例如:是電壓位準的變化)。因此,在本實施例中,第一內部電壓IV1的電壓變化可以到達幾伏特的程度。In this embodiment, the power quality detection module 15 determines whether to send a first warning signal according to a quality parameter of the first internal voltage IV1. In this embodiment, a large change in the external voltage AC or a poor design of the power module 11 will cause a large voltage change in the first internal voltage IV1 (for example, a change in voltage level). Therefore, in this embodiment, the voltage change of the first internal voltage IV1 can reach the level of several volts.

第一內部電壓IV1的品質參數是根據第一內部電壓IV1在預定時間T內大於一第一高電壓臨界值HT1的一第一次數、第一內部電壓IV1在預定時間T內小於一第一低電壓臨界值LT1的一第二次數、或第一內部電壓IV1在預定時間T內大於一第一高電壓臨界值HT1的第一次數以及第一內部電壓IV1在預定時間T內小於一第一低電壓臨界值LT1的第二次數的組合而決定。The quality parameter of the first internal voltage IV1 is based on a first number of times that the first internal voltage IV1 is greater than a first high voltage threshold HT1 within a predetermined time T, and the first internal voltage IV1 is less than a first within a predetermined time T A second number of times the low voltage threshold LT1, or a first number of times the first internal voltage IV1 is greater than a first high voltage threshold HT1 within a predetermined time T and a first internal voltage IV1 less than a first number within a predetermined time T A low-voltage threshold LT1 is determined by the second combination of times.

也就是,當第一內部電壓IV1在預定時間T內大於第一高電壓臨界值HT1的第一次數大於一第一預定次數時,代表第一內部電壓IV1的品質參數不合格,因此電源品質檢測模組15發送一第一警示訊號。That is, when the first number of times that the first internal voltage IV1 is greater than the first high voltage threshold value HT1 within a predetermined time T is greater than a first predetermined number of times, it means that the quality parameter of the first internal voltage IV1 fails, so the power supply quality The detection module 15 sends a first warning signal.

當第一內部電壓IV1在預定時間T內小於第一低電壓臨界值LT1的所述第二次數大於第二預定次數時,代表第一內部電壓IV1的品質參數不合格,電源品質檢測模組15也會發送所述第一警示訊號。When the second number of times that the first internal voltage IV1 is less than the first low voltage threshold LT1 within the predetermined time T is greater than the second predetermined number of times, it means that the quality parameter of the first internal voltage IV1 fails, and the power quality detection module 15 The first warning signal will also be sent.

再者,當第一內部電壓IV1在預定時間T內大於第一高電壓臨界值HT1的第一次數大於一第三預定次數,且第一內部電壓IV1在預定時間T內小於第一低電壓臨界值LT1的第二次數大於一第四預定次數時,電源品質檢測模組15發送所述第一警示訊號。Furthermore, the first number of times when the first internal voltage IV1 is greater than the first high voltage threshold HT1 within a predetermined time T is greater than a third predetermined number of times, and the first internal voltage IV1 is less than the first low voltage within the predetermined time T When the second number of times of the threshold value LT1 is greater than a fourth predetermined number of times, the power quality detection module 15 sends the first warning signal.

在本實施例中,第一高電壓臨界值HT1以及第一低電壓臨界值LT1是根據會造成儲存模組14動作錯誤、讀寫錯誤、誤動作、或是硬體損傷的電壓值而決定,在本發明中不做限制。In this embodiment, the first high voltage threshold value HT1 and the first low voltage threshold value LT1 are determined according to the voltage value that will cause the storage module 14 to operate incorrectly, read and write errors, malfunctions, or hardware damage. There is no limitation in the present invention.

在本實施例中,第一預定次數、第二預定次數、第三預定次數、第四預定次數可以根據實際需求進行設計、調整,在本發明中不做限制。此外,預定時間T的長短也可以根據實際需求進行調整設計,在本發明中不做限制。In this embodiment, the first predetermined number of times, the second predetermined number of times, the third predetermined number of times, and the fourth predetermined number of times may be designed and adjusted according to actual needs, and are not limited in the present invention. In addition, the length of the predetermined time T can also be adjusted and designed according to actual needs, which is not limited in the present invention.

在本實施例中,電源品質檢測模組15提供警告訊號是提供給處理器13或電腦系統(圖未示)的處理器13上運作的一操作系統(圖未示)。處理器13或是操作系統(圖未示)會根據警告訊號進行紀錄、或是提醒使用者目前電源品質較差。In this embodiment, the warning signal provided by the power quality detection module 15 is provided to the processor 13 or an operating system (not shown) running on the processor 13 of the computer system (not shown). The processor 13 or the operating system (not shown) will record according to the warning signal or remind the user that the current power quality is poor.

在本實施例中,當第一內部電壓IV1大於一第二高電壓臨界值HT2,電源品質檢測模組15發送一第二警示訊號。同樣地,當第一內部電壓IV1低於一第二低電壓臨界值LT2,電源品質檢測模組15發送第二警示訊號。In this embodiment, when the first internal voltage IV1 is greater than a second high voltage threshold HT2, the power quality detection module 15 sends a second warning signal. Similarly, when the first internal voltage IV1 is lower than a second low voltage threshold LT2, the power quality detection module 15 sends a second warning signal.

在本實施例中,第二警示訊號就是提醒處理器13或是操作系統(圖未示)。此外,第二高電壓臨界值HT2大於第一高電壓臨界值HT1。第二低電壓臨界值LT2小於第一低電壓臨界值LT1。In this embodiment, the second warning signal is to remind the processor 13 or the operating system (not shown). In addition, the second high voltage threshold HT2 is greater than the first high voltage threshold HT1. The second low voltage threshold LT2 is smaller than the first low voltage threshold LT1.

在本實施例中,第二高電壓臨界值HT2、第二低電壓臨界值LT2是根據儲存模組14可能損害的電壓所決定。也就是第一內部電壓IV1只要超過第二高電壓臨界值HT2、或是低於第二低電壓臨界值LT2,儲存模組14就會損壞或是不動作。In this embodiment, the second high voltage threshold HT2 and the second low voltage threshold LT2 are determined according to the voltage that the storage module 14 may damage. That is, as long as the first internal voltage IV1 exceeds the second high voltage threshold HT2 or is lower than the second low voltage threshold LT2, the storage module 14 will be damaged or inoperative.

請參照圖1以及圖2,圖1中的儲存模組14是不設置在主板模組12上。而圖2中的儲存模組14則是設置在主板模組12上。Please refer to FIGS. 1 and 2. The storage module 14 in FIG. 1 is not disposed on the motherboard module 12. The storage module 14 in FIG. 2 is disposed on the motherboard module 12.

請參照圖3、圖4以及圖5,圖3是本發明實施例的電源品質檢測模組檢測第一內部電壓的示意圖。圖4是本發明實施例的電源品質檢測模組檢測第一內部電壓的另一示意圖。圖5是本發明實施例的電源品質檢測模組檢測第一內部電壓的另一示意圖。Please refer to FIGS. 3, 4 and 5. FIG. 3 is a schematic diagram of the first internal voltage detected by the power quality detection module of the embodiment of the present invention. 4 is another schematic diagram of the first internal voltage detected by the power quality detection module of the embodiment of the present invention. 5 is another schematic diagram of the first internal voltage detected by the power quality detection module of the embodiment of the present invention.

請參照圖3,圖3中的第一內部電壓IV1的電壓曲線,都大於第一低電壓臨界值LT1,因此接收圖3中的第一內部電壓IV1的儲存模組14可以動作。但是由於第一內部電壓IV1的峰值會大於第一高電壓臨界值HT1,因此可能造成儲存模組14的損壞。Please refer to FIG. 3, the voltage curves of the first internal voltage IV1 in FIG. 3 are all greater than the first low voltage threshold LT1, so the storage module 14 receiving the first internal voltage IV1 in FIG. 3 can operate. However, since the peak value of the first internal voltage IV1 will be greater than the first high voltage threshold HT1, the storage module 14 may be damaged.

在本實施例中,電源品質檢測模組15會檢測第一內部電壓IV1在預定時間T內大於第一高電壓臨界值HT1的次數是否大於第一預定次數。在本實施例中,第一預定次數設定是5次,然而,圖3中,第一內部電壓IV1大於第一高電壓臨界值HT1的次數是4次,因此,電源品質檢測模組15並不會發送第一警示訊號。In this embodiment, the power quality detection module 15 detects whether the number of times the first internal voltage IV1 is greater than the first high voltage threshold HT1 within the predetermined time T is greater than the first predetermined number of times. In this embodiment, the first predetermined number of times is set to 5 times. However, in FIG. 3, the number of times that the first internal voltage IV1 is greater than the first high voltage threshold HT1 is 4 times. Therefore, the power quality detection module 15 does not The first warning signal will be sent.

請參照圖4,圖4中的第一內部電壓IV1的電壓曲線,都小於第一高電壓臨界值HT1,因此接收圖4中的第一內部電壓IV1的儲存模組14並不會因為電壓過高而損壞。但是由於第一內部電壓IV1的最小值會小於第一低電壓臨界值LT1,因此可能造成儲存模組14的誤動作或是讀寫錯誤。Please refer to FIG. 4. The voltage curve of the first internal voltage IV1 in FIG. 4 is less than the first high voltage threshold HT1. Therefore, the storage module 14 that receives the first internal voltage IV1 in FIG. High and damaged. However, since the minimum value of the first internal voltage IV1 will be less than the first low voltage threshold LT1, it may cause a malfunction of the storage module 14 or a read/write error.

在本實施例中,電源品質檢測模組15會檢測第一內部電壓IV1在預定時間T內小於第一低電壓臨界值LT1的次數是否大於第二預定次數。在本實施例中,第二預定次數是2次。圖4中,第一內部電壓IV1在預定時間T內小於第一低電壓臨界值HT1的次數是4次,因此,電源品質檢測模組15會發送第一警示訊號。In this embodiment, the power quality detection module 15 detects whether the number of times the first internal voltage IV1 is less than the first low voltage threshold LT1 within a predetermined time T is greater than the second predetermined number of times. In this embodiment, the second predetermined number of times is 2 times. In FIG. 4, the number of times that the first internal voltage IV1 is less than the first low voltage threshold HT1 within the predetermined time T is 4 times. Therefore, the power quality detection module 15 sends a first warning signal.

請參照圖5,圖5中的第一內部電壓IV1的電壓曲線,是介於第二高電壓臨界值HT2以及第二低電壓臨界值LT2之間。但是圖5中的第一內部電壓IV1部分會大於第一高電壓臨界值HT1,部分的第一內部電壓IV1則會小於第一低電壓臨界值LT1。因此接收圖5中的第一內部電壓IV1的儲存模組14有機會因為電壓過高而損壞,也有機會因為電壓過低而誤動作或是讀寫錯誤。Please refer to FIG. 5. The voltage curve of the first internal voltage IV1 in FIG. 5 is between the second high voltage threshold HT2 and the second low voltage threshold LT2. However, the portion of the first internal voltage IV1 in FIG. 5 will be greater than the first high voltage threshold HT1, and the portion of the first internal voltage IV1 will be less than the first low voltage threshold LT1. Therefore, the storage module 14 receiving the first internal voltage IV1 in FIG. 5 may have a chance of being damaged due to an excessively high voltage, or may have a malfunction or read/write error due to an excessively low voltage.

在本實施例中,電源品質檢測模組15會檢測第一內部電壓IV1在預定時間T內大於第一高電壓臨界值HT1的次數是否大於一第三預定次數,以及第一內部電壓IV1在預定時間T內小於第一低電壓臨界值的LT1次數是否大於第四預定次數。在本實施例中,第三預定次數以及第四預定次數分別是1次。In this embodiment, the power quality detection module 15 detects whether the number of times the first internal voltage IV1 is greater than the first high voltage threshold HT1 within a predetermined time T is greater than a third predetermined number of times, and the first internal voltage IV1 is within a predetermined Whether the number of times of LT1 less than the first low voltage threshold in time T is greater than the fourth predetermined number of times. In this embodiment, the third predetermined number of times and the fourth predetermined number of times are respectively one.

而圖5中,第一內部電壓IV1在預定時間T內大於第一高電壓臨界值HT1以及小於第一低電壓臨界值LT1的次數分別是2次以及1次,因此,電源品質檢測模組15會發送第一警示訊號。In FIG. 5, the number of times that the first internal voltage IV1 is greater than the first high voltage threshold value HT1 and less than the first low voltage threshold value LT1 within the predetermined time T is 2 times and 1 time, respectively. Therefore, the power quality detection module 15 The first warning signal will be sent.

請參照圖6,圖6是本發明實施例的電源品質檢測模組的示意圖。Please refer to FIG. 6, which is a schematic diagram of a power quality detection module according to an embodiment of the present invention.

在本實施例中,電源品質檢測模組15包括一類比數位轉換單元151、一判斷計數單元152、以及一警示單元153。In this embodiment, the power quality detection module 15 includes an analog-to-digital conversion unit 151, a judgment and counting unit 152, and a warning unit 153.

類比數位轉換單元151用於將第一內部電壓IV1從類比形式轉換為數位形式。判斷計數單元152電性連接類比數位計數單元151,用於判斷第一內部電壓IV1的電壓高低以及計算次數以決定第一內部電壓IV1的品質參數,並根據品質參數產生一判斷結果。The analog-to-digital conversion unit 151 is used to convert the first internal voltage IV1 from an analog form to a digital form. The judging and counting unit 152 is electrically connected to the analog digital counting unit 151 and used to judge the voltage level of the first internal voltage IV1 and the number of calculations to determine the quality parameter of the first internal voltage IV1 and generate a judgment result according to the quality parameter.

也就是,判斷計數單元152會對數位形式的第一內部電壓IV1進行電壓判斷是否大於第一高電壓臨界值HT1、或是低於第一低電壓臨界值LT1,以決定第一內部電壓IV1的品質參數。That is, the judgment counting unit 152 performs a voltage judgment on the digital first internal voltage IV1 whether it is greater than the first high voltage threshold HT1 or lower than the first low voltage threshold LT1 to determine the first internal voltage IV1 Quality parameters.

在本實施例中,警示單元153電性連接判斷計數單元152,並根據判斷技術單元152對第一內部電壓IV1的品質參數的判斷結果,決定是否發送一第一警示訊號或是一第二警示訊號。In this embodiment, the warning unit 153 is electrically connected to the judgment counting unit 152, and determines whether to send a first warning signal or a second warning according to the judgment result of the quality parameter of the first internal voltage IV1 by the judgment technical unit 152 Signal.

一實施例中,該儲存模組14係由複數個NAND記憶體元件所實現的。一實施例中,該儲存模組14係四級單元(Quad-level cells, QLC)NAND記憶體元件所實現的。在此實施例中,該儲存模組14中的存儲區塊(block)可以使用每單元一位元(one-bit-per-cell, 1bpc)編程模式、每單元兩位元(two-bit-per-cell, 2bpc)編程模式、每單元三位元(three-bit-per-cell, 3bpc)編程模式、或每單元四位元(four-bit-per-cell, 4bpc)編程模式來編程數據。因此,當電能質量檢測模塊15確定電壓IV1的質量不好時(例如,發送第一警告信號或第二警告信號),儲存模組14的編程模式可調整成不容易進行錯誤的寫入操作。例如,SSD中的控制電路根據質量控制信號或警告信號選擇多種編程模式中的一種,以將編程後的數據編程到該儲存模組14的第一存儲區塊中。透過上述方法可以提高該儲存模組14內數據的可靠性。In one embodiment, the storage module 14 is implemented by a plurality of NAND memory elements. In one embodiment, the storage module 14 is implemented by a quad-level cell (QLC) NAND memory device. In this embodiment, the storage blocks in the storage module 14 can use one-bit-per-cell (1bpc) programming mode, two-bit-per-cell per-cell, 2bpc) programming mode, three-bit-per-cell (3bpc) programming mode, or four-bit-per-cell (4bpc) programming mode to program data . Therefore, when the power quality detection module 15 determines that the quality of the voltage IV1 is not good (for example, sending the first warning signal or the second warning signal), the programming mode of the storage module 14 may be adjusted so that it is not easy to perform an erroneous write operation. For example, the control circuit in the SSD selects one of multiple programming modes according to the quality control signal or the warning signal to program the programmed data into the first storage block of the storage module 14. Through the above method, the reliability of the data in the storage module 14 can be improved.

另外,電源品質檢測模組15除了可檢測電壓位準的變化,尚可檢測電壓的波形變化(例如是頻率上的變化)。一實施例中,電源品質檢測模組15可以記錄內部電壓IV1的波形類型(waveforms patterns)。例如,存儲設備14中的控制器可確定在圖3和圖4的波形類型是相同的(因,基本上頻率是固定的,僅電壓準位不同);並確定圖2中的波形是圖3(或圖4)和圖5的波形是不同的(因圖3波形的頻率是固定的,而圖5波形的頻率是動變的),所以圖5與圖3是屬於不同的波形類型(waveforms patterns)。因為外部電源AC的頻率(50、60Hz)是固定的,當存儲設備14中的控制器發現內部電壓IV1的波形出現在不同的波形類型(例如,波形的頻率是動變)時,存儲設備14中控制器可以確定該功率模塊11中的組件可能出現缺陷,而產生另一個警告信號。In addition, the power quality detection module 15 can detect changes in voltage waveform (for example, changes in frequency) in addition to changes in voltage level. In one embodiment, the power quality detection module 15 can record the waveform patterns of the internal voltage IV1. For example, the controller in the storage device 14 may determine that the waveform types in FIGS. 3 and 4 are the same (because, basically, the frequency is fixed, only the voltage level is different); and determine that the waveform in FIG. 2 is FIG. 3 (Or Figure 4) and Figure 5 waveforms are different (because the frequency of the waveform in Figure 3 is fixed, and the frequency of the waveform in Figure 5 is dynamic), so Figure 5 and Figure 3 are different types of waveforms (waveforms patterns). Because the frequency (50, 60 Hz) of the external power supply AC is fixed, when the controller in the storage device 14 finds that the waveform of the internal voltage IV1 appears in a different waveform type (for example, the frequency of the waveform is dynamic), the storage device 14 The middle controller may determine that the components in the power module 11 may be defective, and generate another warning signal.

〔實施例的可能功效〕[Possible effects of the embodiment]

綜上所述,本發明利用電源品質檢測系統檢測傳輸至儲存模組的第一內部電壓,以判斷第一內部電壓的電壓品質,有效的判斷儲存模組的工作環境,並且在電壓不穩定時,可以有效找到問題所在,快速提供解決方案。In summary, the present invention uses the power quality detection system to detect the first internal voltage transmitted to the storage module to determine the voltage quality of the first internal voltage, effectively determine the working environment of the storage module, and when the voltage is unstable , Can effectively find the problem, and quickly provide solutions.

以上該僅為本發明之實施例,其並非用以侷限本發明之專利範圍。The above are only examples of the present invention, and they are not intended to limit the patent scope of the present invention.

1、1’:電源品質檢測系統 11、11’:電源模組 12;12’:主板模組 13、13’:處理器 14、14’:儲存模組 15、15’:電源品質檢測模組 IV1:第一內部電壓 AC:外部電壓 HT1:第一高電壓臨界值 HT2:第二高電壓臨界值 LT1:第一低電壓臨界值 LT2:第二低電壓臨界值 151:類比數位轉換單元 152:判斷計數單元 153:警示單元 T:預定時間 1. 1’: Power quality inspection system 11, 11’: Power module 12; 12’: motherboard module 13, 13’: processor 14, 14’: Storage module 15, 15’: Power quality detection module IV1: First internal voltage AC: external voltage HT1: the first high voltage threshold HT2: second highest voltage threshold LT1: the first low voltage threshold LT2: second low voltage threshold 151: Analog digital conversion unit 152: Judgment and counting unit 153: Warning unit T: scheduled time

圖1是本發明實施例的電源品質檢測系統的示意圖。 圖2是本發明實施例的電源品質檢測系統的另一示意圖。 圖3是本發明實施例的電源品質檢測模組檢測第一內部電壓的示意圖。 圖4是本發明實施例的電源品質檢測模組檢測第一內部電壓的另一示意圖。 圖5是本發明實施例的電源品質檢測模組檢測第一內部電壓的另一示意圖。 圖6是本發明實施例的電源品質檢測模組的示意圖。FIG. 1 is a schematic diagram of a power quality detection system according to an embodiment of the invention. 2 is another schematic diagram of a power quality detection system according to an embodiment of the invention. 3 is a schematic diagram of the first internal voltage detected by the power quality detection module of the embodiment of the present invention. 4 is another schematic diagram of the first internal voltage detected by the power quality detection module of the embodiment of the present invention. 5 is another schematic diagram of the first internal voltage detected by the power quality detection module of the embodiment of the present invention. 6 is a schematic diagram of a power quality detection module according to an embodiment of the invention.

1:電源品質檢測系統 1: Power quality inspection system

11:電源模組 11: Power module

12:主板模組 12: Motherboard module

13:處理器 13: processor

14:儲存模組 14: Storage module

15:電源品質檢測模組 15: Power quality detection module

IV1:第一內部電壓 IV1: First internal voltage

AC:外部電壓 AC: external voltage

Claims (11)

一種電源品質檢測系統,包括: 一電源模組,接收一外部電源,所述電源模組轉換所述外部電源為一第一內部電壓; 一儲存模組;以及 一電源品質檢測模組,電性連接所述電源模組以及所述儲存模組,所述儲存模組通過所述電源品質檢測模組電性連接所述電源模組,以接收所述第一內部電壓; 其中,所述電源品質檢測模組根據所述第一內部電壓的波型決定出一品質參數以決定是否發送一警示訊號。A power quality detection system, including: A power module that receives an external power source, and the power module converts the external power source into a first internal voltage; A storage module; and A power quality detection module, electrically connected to the power module and the storage module, and the storage module is electrically connected to the power module through the power quality detection module to receive the first Internal voltage Wherein, the power quality detection module determines a quality parameter according to the waveform of the first internal voltage to determine whether to send a warning signal. 如申請專利範圍第1項的電源品質檢測系統,其中,所述第一內部電壓的所述品質參數是根據所述第一內部電壓在一預定時間內大於一第一高電壓臨界值的一第一次數、所述第一內部電壓在所述預定時間內小於一第一低電壓臨界值的一第二次數、或所述第一次數以及第二次數的組合而決定。A power supply quality detection system according to item 1 of the patent application scope, wherein the quality parameter of the first internal voltage is based on a first parameter of the first internal voltage greater than a first high voltage threshold value within a predetermined time A number of times, a second number of times that the first internal voltage is less than a first low voltage threshold within the predetermined time, or a combination of the first number of times and the second number of times. 如申請專利範圍第2項的電源品質檢測系統,其中,當所述第一內部電壓在所述預定時間內大於所述第一高電壓臨界值的所述第一次數大於一第一預定次數或/及當所述第一內部電壓在所述預定時間內小於所述第一低電壓臨界值的所述第二次數大於一第二預定次數時,所述電源品質檢測模組發送一第一警示訊號。A power supply quality detection system according to item 2 of the patent application scope, wherein, when the first internal voltage is greater than the first high voltage threshold within the predetermined time, the first number of times is greater than a first predetermined number of times Or/and when the second number of times that the first internal voltage is less than the first low voltage threshold within the predetermined time is greater than a second predetermined number of times, the power quality detection module sends a first Warning signal. 如申請專利範圍第1項的電源品質檢測系統,其中,當所述第一內部電壓大於一第二高電壓臨界值或/及當所述第一內部電壓低於一第二低電壓臨界值,所述電源品質檢測模組發送一第二警示訊號。A power supply quality detection system as claimed in item 1 of the patent scope, wherein, when the first internal voltage is greater than a second high voltage threshold or/and when the first internal voltage is less than a second low voltage threshold, The power quality detection module sends a second warning signal. 如申請專利範圍第1項的電源品質檢測系統,其中,所述電源品質檢測模組從複數個波形類型中確定出所述第一內部電壓的波形類型,以產生一檢測結果以指示所述電源模組的狀態。A power quality detection system as claimed in item 1 of the patent scope, wherein the power quality detection module determines the waveform type of the first internal voltage from a plurality of waveform types to generate a detection result to indicate the power supply The status of the module. 如申請專利範圍第1項的電源品質檢測系統,其中,所述檢測結果係指示所述第一內部電壓的頻率是否有改變。A power supply quality detection system as claimed in item 1 of the patent scope, wherein the detection result indicates whether the frequency of the first internal voltage has changed. 如申請專利範圍第1項的電源品質檢測系統,其中,所述電源品質檢測模組檢測所述第一內部電壓的波形以產生該檢測結果,且所述儲存模組根據該檢測結果來自複數個編程模式中決定出的一個編程模式以進行編程。A power supply quality detection system as claimed in item 1 of the patent scope, wherein the power supply quality detection module detects the waveform of the first internal voltage to generate the detection result, and the storage module is based on the detection result from a plurality of A programming mode decided in the programming mode for programming. 如申請專利範圍第7項的電源品質檢測系統,其中,所述複數個編程模式包括有每單元一位元編程模式和每單元多位元編程模式。For example, in the power supply quality inspection system of claim 7, the plurality of programming modes includes a one-bit programming mode per cell and a multi-bit programming mode per cell. 如申請專利範圍第1項的電源品質檢測系統,其中,所述電能質量檢測模塊包括: 一類比數位轉換器(ADC),用於將第一內部電壓的類比形式轉換為一數字形式; 一確定與計數單元,耦接至類比數位轉換器,用以決定出所述第一內部電壓的一電壓準位及該品質參數,並根據該品質參數產生該檢測結果。For example, the power supply quality detection system according to item 1 of the patent scope, wherein the power quality detection module includes: An analog-to-digital converter (ADC) is used to convert the analog form of the first internal voltage to a digital form; A determination and counting unit is coupled to the analog-to-digital converter to determine a voltage level of the first internal voltage and the quality parameter, and generate the detection result according to the quality parameter. 如申請專利範圍第1項的電源品質檢測系統,還包括: 一主板模組,電性連接所述電源模組;以及 一處理器,設置在所述主板模組上,電性連接所述主板模組、所述電源模組、以及所儲存模組; 其中,所述第一警示訊號是提供至所述處理器。For example, the power supply quality detection system of the first item in the scope of patent application includes: A motherboard module, electrically connected to the power module; and A processor, disposed on the motherboard module, electrically connected to the motherboard module, the power module, and the stored module; Wherein, the first warning signal is provided to the processor. 一種電源品質檢測方法,係應用一儲存模組,該方法包括: 接收一外部電源; 藉由一電源模組將所述外部電源轉換為一第一內部電壓; 從複數個波形類型中確定出所述第一內部電壓的波形類型,以產生一檢測結果;以及 所述儲存模組根據該檢測結果來自複數個編程模式中決定出的一個編程模式以進行存取所述儲存模組的資料。A power quality detection method, which uses a storage module, the method includes: Receive an external power supply; Converting the external power supply into a first internal voltage by a power supply module; Determining the waveform type of the first internal voltage from a plurality of waveform types to generate a detection result; and The storage module accesses the data of the storage module from a programming mode determined from a plurality of programming modes according to the detection result.
TW108138315A 2018-10-23 2019-10-23 Electronic device having power quality detection module and method threof TWI707352B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811236943 2018-10-23
CN201811236943.9 2018-10-23

Publications (2)

Publication Number Publication Date
TW202016942A true TW202016942A (en) 2020-05-01
TWI707352B TWI707352B (en) 2020-10-11

Family

ID=69213102

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108138315A TWI707352B (en) 2018-10-23 2019-10-23 Electronic device having power quality detection module and method threof

Country Status (2)

Country Link
CN (1) CN110716151A (en)
TW (1) TWI707352B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2536210B2 (en) * 1989-02-03 1996-09-18 日本電気株式会社 Power supply voltage monitoring circuit
US6141763A (en) * 1998-09-01 2000-10-31 Hewlett-Packard Company Self-powered network access point
US6615147B1 (en) * 1999-08-09 2003-09-02 Power Measurement Ltd. Revenue meter with power quality features
CN102053229A (en) * 2009-11-02 2011-05-11 康佳集团股份有限公司 Power detection device
TW201123207A (en) * 2009-12-28 2011-07-01 A Data Technology Co Ltd Storage device with abnormal power protection and operation method thereof
CN203561740U (en) * 2013-11-25 2014-04-23 郑州航空工业管理学院 Rechargeable power supply detection device
TW201604676A (en) * 2014-07-31 2016-02-01 艾訊股份有限公司 Computer system and method for fast reboot of the computer system
CN205015391U (en) * 2015-09-14 2016-02-03 李浩彦 Medical stand -by power supply voltage detecting early warning circuit
US10139454B2 (en) * 2016-01-20 2018-11-27 Test Research, Inc. Test device and alternating current power detection method of the same
CN106324530A (en) * 2016-08-25 2017-01-11 国网新疆电力公司信息通信公司 Power supply detection method and device
CN206775104U (en) * 2017-03-27 2017-12-19 巢湖学院 A kind of power voltage detection device

Also Published As

Publication number Publication date
CN110716151A (en) 2020-01-21
TWI707352B (en) 2020-10-11

Similar Documents

Publication Publication Date Title
CN107850925B (en) Thermal monitoring of memory resources
US10025508B2 (en) Concurrent upgrade and backup of non-volatile memory
TWI540437B (en) Power-loss protection
US8031551B2 (en) Systems, methods and devices for monitoring capacitive elements in devices storing sensitive data
US8493799B2 (en) Semiconductor memory device, semiconductor memory module and semiconductor memory system including the semiconductor memory device
BR112017011439B1 (en) Load protection method and apparatus
US10679711B2 (en) Memory system including power supply control circuit and temperature sensor, and control method thereof
TWI697004B (en) Power quality detecting system and power quality detecting module
CN102496907A (en) Set top box, power fail safeguard device and power fail data protection method
TWI670601B (en) Method and system for power loss protection
KR101141487B1 (en) Enabling an integrated memory controller to transparently work with defective memory devices
KR20220150202A (en) Method and apparatus for memory chip row hammer threat backpressure signal and host side response
US20130055024A1 (en) Central processing unit test system
TWI723501B (en) Electronic equipment and information recording method of electronic equipment
CN106486150B (en) Memory controller and memory system having the same
JP2017536041A (en) Power management system for integrated circuits
TWI707352B (en) Electronic device having power quality detection module and method threof
US9520162B2 (en) DIMM device controller supervisor
US9490624B2 (en) Circuit for voltage detection and protection and operating method thereof
TWI619015B (en) Memory controller and memory control method
CN102750234B (en) The control method of memorizer and controller
US10725876B2 (en) Electronic circuit board
JP2010191761A (en) Memory controller and control method
TWI413905B (en) Apparatus for testing usb ports
US20140006697A1 (en) Memory bank having working state indication function