TWI830608B - Generic interface system and control method thereof - Google Patents
Generic interface system and control method thereof Download PDFInfo
- Publication number
- TWI830608B TWI830608B TW112106555A TW112106555A TWI830608B TW I830608 B TWI830608 B TW I830608B TW 112106555 A TW112106555 A TW 112106555A TW 112106555 A TW112106555 A TW 112106555A TW I830608 B TWI830608 B TW I830608B
- Authority
- TW
- Taiwan
- Prior art keywords
- pin
- electronic device
- external electronic
- power supply
- module
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 8
- 230000005540 biological transmission Effects 0.000 claims abstract description 68
- 238000001514 detection method Methods 0.000 claims abstract description 40
- 239000007787 solid Substances 0.000 claims description 62
- 230000004044 response Effects 0.000 claims description 53
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 238000013403 standard screening design Methods 0.000 description 10
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
Images
Abstract
Description
本發明係有關固態硬碟,特別是有關一種適於固態硬碟的通用介面系統及其控制方法。The present invention relates to solid state hard disks, and in particular to a universal interface system suitable for solid state hard disks and a control method thereof.
NF1固態硬碟(SSD)是三星電子於2017年針對新世代數據中心所推出之固態硬碟規格。起初NF1被稱為次世代小尺寸規格(Next Generation Small Form Factor,NGSFF),後來俗稱M.3,目前則定名為NF1。三星電子推出NF1固態硬碟的主要目的是在固態硬碟之體積與容量之間取得最佳的平衡點,進而建構出具有最佳品質及最高效能的固態硬碟。NF1 solid state drive (SSD) is a solid state drive specification launched by Samsung Electronics in 2017 for new generation data centers. At first, NF1 was called Next Generation Small Form Factor (NGSFF), later it was commonly known as M.3, and it is currently named NF1. The main purpose of Samsung Electronics' NF1 SSD is to achieve the best balance between the size and capacity of the SSD, thereby creating a SSD with the best quality and highest performance.
相較於傳統的M.2固態硬碟,NF1固態硬碟包含三個優勢:一是NF1固態硬碟具有較大的印刷電路板(PCB)面積以設置更多的快閃記憶體(Flash memory),使得NF1固態硬碟之容量可以達到M.2固態硬碟之容量的2至4倍多;二是NF1固態硬碟沿用M.2固態硬碟的連接器結構,並新增了企業用固態硬碟的功能(例如雙通道選項、12伏特電源供應及電源關閉功能等);三是NF1固態硬碟支援熱插拔(Hot swap)功能。Compared with traditional M.2 solid-state drives, NF1 solid-state drives have three advantages: First, NF1 solid-state drives have a larger printed circuit board (PCB) area to accommodate more flash memory (Flash memory). ), so that the capacity of NF1 solid-state drive can reach more than 2 to 4 times that of M.2 solid-state drive; secondly, NF1 solid-state drive follows the connector structure of M.2 solid-state drive, and adds enterprise use The functions of the solid-state drive (such as dual-channel options, 12-volt power supply and power-off function, etc.); third, the NF1 solid-state drive supports hot swap function.
由於NF1固態硬碟沿用M.2固態硬碟的連接器結構,NF1固態硬碟可以被插入至僅支援M.2固態硬碟之系統,且M.2固態硬碟亦可以被插入至僅支援NF1固態硬碟之系統。然而,由於M.2固態硬碟與NF1固態硬碟之間的引腳定義不同,當M.2固態硬碟被插入至僅支援NF1固態硬碟之系統時,僅支援NF1固態硬碟之系統中的高壓電源會導致M.2固態硬碟的損壞;反之,當NF1固態硬碟被插入至僅支援M.2固態硬碟之系統時,NF1固態硬碟並不會受到高壓電源的影響而導致損壞。Since NF1 SSDs follow the connector structure of M.2 SSDs, NF1 SSDs can be inserted into systems that only support M.2 SSDs, and M.2 SSDs can also be inserted into systems that only support M.2 SSDs. NF1 solid state drive system. However, due to the different pin definitions between M.2 SSDs and NF1 SSDs, when an M.2 SSD is inserted into a system that only supports NF1 SSDs, the system that only supports NF1 SSDs will The high-voltage power supply in the M.2 solid-state drive will cause damage to the M.2 solid-state drive; conversely, when the NF1 solid-state drive is inserted into a system that only supports M.2 solid-state drives, the NF1 solid-state drive will not be affected by the high-voltage power supply. cause damage.
有鑑於此,本發明提出一種通用介面系統,包含:一傳輸介面,用以發送一第一電源及一第二電源至一外部電子裝置,並接收所述外部電子裝置所發送之一第一應答訊號、一第二應答訊號及一第三應答訊號;一供電模組,電性連接於所述傳輸介面,用以產生所述第一電源及所述第二電源;一電源開關模組,設置於所述傳輸介面與所述供電模組之間,用以根據一控制訊號而選擇性地導通所述傳輸介面與所述供電模組之間的線路;一第一控制模組,電性連接於所述傳輸介面及所述電源開關模組,用以產生所述控制訊號而控制所述電源開關模組,以及用以所述第一控制模組更用以執行所述外部電子裝置之韌體;一偵測模組,電性連接於所述傳輸介面及所述第一控制模組,用以偵測所述第一應答訊號以判斷所述外部電子裝置是否存在,以及用以偵測所述第二應答訊號及所述第三應答訊號以判斷所述外部電子裝置是否為一固態硬碟,其中所述固態硬碟係選自NF1固態硬碟或M.2固態硬碟;以及一第二控制模組,電性連接於所述第一控制模組,用以儲存所述外部電子裝置之韌體。In view of this, the present invention proposes a universal interface system, including: a transmission interface for sending a first power supply and a second power supply to an external electronic device, and receiving a first response sent by the external electronic device. signal, a second response signal and a third response signal; a power supply module electrically connected to the transmission interface for generating the first power supply and the second power supply; a power switch module configured Between the transmission interface and the power supply module, it is used to selectively conduct the line between the transmission interface and the power supply module according to a control signal; a first control module, electrically connected The transmission interface and the power switch module are used to generate the control signal to control the power switch module, and the first control module is further used to execute the firmware of the external electronic device. body; a detection module, electrically connected to the transmission interface and the first control module, for detecting the first response signal to determine whether the external electronic device exists, and for detecting The second response signal and the third response signal are used to determine whether the external electronic device is a solid state drive, wherein the solid state drive is selected from an NF1 solid state drive or an M.2 solid state drive; and a The second control module is electrically connected to the first control module and is used to store the firmware of the external electronic device.
在一些實施例中,所述偵測模組電性連接於所述傳輸介面之一第五十二個引腳(PIN52)。In some embodiments, the detection module is electrically connected to the fifty-second pin (PIN52) of the transmission interface.
在一些實施例中,所述偵測模組電性連接於所述傳輸介面之一第六個引腳(PIN6)及一第二十六個引腳(PIN26)。In some embodiments, the detection module is electrically connected to a sixth pin (PIN6) and a twenty-sixth pin (PIN26) of the transmission interface.
在一些實施例中,所述第一電源之電壓值為3.3伏特。In some embodiments, the voltage value of the first power supply is 3.3 volts.
在一些實施例中,當所述偵測模組偵測所述外部電子裝置為M.2固態硬碟時,所述第一電源係透過所述傳輸介面之一第二個引腳(PIN2)、一第四個引腳(PIN4)、一第十二個引腳(PIN12)、一第十四個引腳(PIN14)、一第十六個引腳(PIN16)、一第十八個引腳(PIN18)、一第七十個引腳(PIN70)、一第七十二個引腳(PIN72)及一第七十四個引腳(PIN74)傳輸至所述外部電子裝置。In some embodiments, when the detection module detects that the external electronic device is an M.2 solid state drive, the first power supply is through a second pin (PIN2) of the transmission interface , - the fourth pin (PIN4), - the twelfth pin (PIN12), - the fourteenth pin (PIN14), - the sixteenth pin (PIN16), - the eighteenth pin pin (PIN18), a seventieth pin (PIN70), a seventy-second pin (PIN72) and a seventy-fourth pin (PIN74) are transmitted to the external electronic device.
在一些實施例中,當所述偵測模組偵測所述外部電子裝置為NF1固態硬碟時,所述第二電源係透過所述傳輸介面之一第三十個引腳(PIN30)、一第三十二個引腳(PIN32)、一第三十四個引腳(PIN34)及一第三十六個引腳(PIN36)發送至所述外部電子裝置,且所述第二電源之電壓值為12伏特。In some embodiments, when the detection module detects that the external electronic device is an NF1 solid state drive, the second power supply is through one of the thirtieth pin (PIN30) of the transmission interface. A thirty-second pin (PIN32), a thirty-fourth pin (PIN34) and a thirty-sixth pin (PIN36) are sent to the external electronic device, and the second power supply The voltage value is 12 volts.
本發明另提出一種通用介面系統控制方法,包含:發送一第一電源;偵測一第一應答訊號以判斷一外部電子裝置是否存在,其中所述第一應答訊號係由所述外部電子裝置所發送;當所述外部電子裝置存在時,偵測所述外部電子裝置所發送之一第二應答訊號及一第三應答訊號以判斷所述外部電子裝置是否為一固態硬碟,其中所述固態硬碟係選自NF1固態硬碟或M.2固態硬碟;以及當所述外部電子裝置為固態硬碟時,執行所述外部電子裝置之韌體並控制一電源開關模組導通,使得所述第一電源或一第二電源發送至所述外部電子裝置。The present invention also proposes a universal interface system control method, which includes: sending a first power supply; detecting a first response signal to determine whether an external electronic device exists, wherein the first response signal is received by the external electronic device. Send; when the external electronic device exists, detect a second response signal and a third response signal sent by the external electronic device to determine whether the external electronic device is a solid-state hard drive, wherein the solid-state drive The hard drive is selected from NF1 solid state drive or M.2 solid state drive; and when the external electronic device is a solid state drive, execute the firmware of the external electronic device and control a power switch module to conduct, so that all The first power supply or a second power supply is sent to the external electronic device.
請參照圖1,圖1是本發明之一實施例中,通用介面系統10的模組方塊圖。在一些實施例中,通用介面系統10為一電腦系統、一伺服器系統中的一主機板、一背板(Backplane)或一豎卡(Riser Card)等具有可供固態硬碟插設之插槽的電路板,不以此為限。如圖1所示,通用介面系統10包含一傳輸介面100、一供電模組110、一電源開關模組120、一第一控制模組130、一偵測模組140以及一第二控制模組150,其中供電模組110電耦接於傳輸介面100,電源開關模組120設置於傳輸介面100與供電模組110之間,第一控制模組130電性連接於傳輸介面100及電源開關模組120,偵測模組140電性連接於傳輸介面100及第一控制模組130,第二控制模組150電性連接於第一控制模組130。以下將詳細解釋傳輸介面100、供電模組110、電源開關模組120、第一控制模組130、偵測模組140以及第二控制模組150各自的結構與功能,並說明彼此間的設置方式。Please refer to FIG. 1 , which is a module block diagram of the
傳輸介面100用以傳送一第一電源V1及一第二電源V2至一外部電子裝置以提供所述外部電子裝置運作所需的電力,並接收所述外部電子裝置所傳送之一第一應答訊號Van1、一第二應答訊號Van2及一第三應答訊號Van3。在一些實施例中,通用介面系統10之傳輸介面100符合M.2固態硬碟之連接器結構(例如適於M.2固態硬碟之金手指插槽)。因此,具有相對應之M.2固態硬碟之連接器結構的所述外部電子裝置(例如具有M.2固態硬碟之金手指的M.2固態硬碟或NF1固態硬碟)係可選擇性地電性連接於通用介面系統10,例如插設於通用介面系統10上。The
請同時參照圖2A及圖2B,圖2A及圖2B是本發明之一實施例中,M.2固態硬碟及NF1固態硬碟的引腳定義圖。如圖2A及圖2B所示,M.2固態硬碟之連接器結構及NF1固態硬碟之連接器結構皆包含七十五個引腳。其中,M.2固態硬碟及NF1固態硬碟中每一個引腳所定義的功能略有不同。以第七十四個引腳(PIN74)為例,M.2固態硬碟之PIN74用以傳輸3.3伏特之訊號,NF1固態硬碟之PIN74則未定義功能(N/C)。Please refer to FIGS. 2A and 2B at the same time. FIGS. 2A and 2B are pin definition diagrams of M.2 solid-state drives and NF1 solid-state drives in one embodiment of the present invention. As shown in Figure 2A and Figure 2B, the connector structure of the M.2 solid-state drive and the connector structure of the NF1 solid-state drive both include seventy-five pins. Among them, the functions defined by each pin in M.2 solid-state drives and NF1 solid-state drives are slightly different. Taking the seventy-fourth pin (PIN74) as an example, PIN74 of the M.2 solid-state drive is used to transmit a 3.3-volt signal, while PIN74 of the NF1 solid-state drive has an undefined function (N/C).
供電模組110用以產生第一電源V1及第二電源V2。在一些實施例中,供電模組110用以提供通用介面系統10中各電路之用電,並提供所述外部電子裝置之用電,其中第一電源V1及第二電源V2即為所述外部電子裝置之用電。在一些實施例中,第一電源V1之電壓值為3.3伏特,其中3.3伏特為M.2固態硬碟之工作電壓(Operating voltage)。在一些實施例中,第二電源V2之電壓值為12伏特,其中12伏特為NF1固態硬碟之工作電壓。The
電源開關模組120用以根據一控制訊號Vc而選擇性地導通傳輸介面100與供電模組110之間的線路。請參照圖3,圖3是本發明之一實施例中,電源開關模組120的電路示意圖。如圖3所示,電源開關模組120包含複數開關Q1、Q2。其中,開關Q1係設置於傳輸介面100之電源引腳組Spp與供電模組110之間,開關Q2係設置於傳輸介面100之複數引腳101、102、103、104與供電模組110之間。在一些實施例中,電源引腳組Spp包含傳輸介面100之一第二個引腳(PIN2)、一第四個引腳(PIN4)、一第十二個引腳(PIN12)、一第十四個引腳(PIN14)、一第十六個引腳(PIN16)、一第十八個引腳(PIN18)、一第七十個引腳(PIN70)、一第七十二個引腳(PIN72)及一第七十四個引腳(PIN74)。The
在一些實施例中,開關Q1用以控制第一電源V1之供應。當開關Q1導通時,開關Q1電性連接於第一電源V1,此時供電模組110係可提供第一電源V1至電源引腳組Spp中的所有引腳。當開關Q1不導通時,開關Q1未電性連接於第一電源V1,此時供電模組110係無法提供第一電源V1至電源引腳組Spp中的所有引腳。In some embodiments, the switch Q1 is used to control the supply of the first power supply V1. When the switch Q1 is turned on, the switch Q1 is electrically connected to the first power supply V1. At this time, the
在一些實施例中,開關Q2用以控制第二電源V2之供應。當開關Q2導通時,供電模組110係可提供第二電源V2至傳輸介面100之複數引腳101、102、103、104;當開關Q2不導通時,供電模組110係無法提供第二電源V2至傳輸介面100之複數引腳101、102、103、104。In some embodiments, the switch Q2 is used to control the supply of the second power supply V2. When the switch Q2 is turned on, the
第一控制模組130用以產生控制訊號Vc而控制電源開關模組120。如圖3所示,控制訊號Vc包含一第一控制訊號Vc1及一第二控制訊號Vc2。在一些實施例中,第一控制訊號Vc1用以控制開關Q1,第二控制訊號Vc2用以控制開關Q2。其中,當第一控制訊號Vc1為一第一邏輯位準訊號時,開關Q1係導通而使得第一電源V1可以被提供至傳輸介面100;當第一控制訊號Vc1為一第二邏輯位準訊號時,開關Q1係不導通而使得第一電源V1無法被提供至傳輸介面100。其中,當第二控制訊號Vc2之電壓值處於所述第一邏輯位準訊號時,開關Q2係導通而使得第二電源V2可以被提供至傳輸介面100;當第二控制訊號Vc2之電壓值處於所述第二邏輯位準訊號時,開關Q2係不導通而使得第二電源V2無法被提供至傳輸介面100。The
在一些實施例中,開關Q1及開關Q2皆由第一控制訊號Vc1所控制。其中,當第一控制訊號Vc1為所述第一邏輯位準訊號時,開關Q1係導通且開關Q2係不導通;當第一控制訊號Vc1為所述第二邏輯位準訊號時,開關Q1係不導通且開關Q2係導通。In some embodiments, both the switch Q1 and the switch Q2 are controlled by the first control signal Vc1. Wherein, when the first control signal Vc1 is the first logic level signal, the switch Q1 is turned on and the switch Q2 is not turned on; when the first control signal Vc1 is the second logic level signal, the switch Q1 is turned on. There is no conduction and switch Q2 is conductive.
在一些實施例中,開關Q1及開關Q2皆由第二控制訊號Vc2所控制。其中,當第二控制訊號Vc2為所述第一邏輯位準訊號時,開關Q1係不導通且開關Q2係導通;當第二控制訊號Vc2為所述第二邏輯位準訊號時,開關Q1係導通且開關Q2係不導通。In some embodiments, both the switch Q1 and the switch Q2 are controlled by the second control signal Vc2. Wherein, when the second control signal Vc2 is the first logic level signal, the switch Q1 is not turned on and the switch Q2 is turned on; when the second control signal Vc2 is the second logic level signal, the switch Q1 is turned on. is turned on and switch Q2 is not turned on.
在一些實施例中,所述第一邏輯位準訊號為代表1之一高邏輯位準訊號(例如為3.3伏特,也可以是5伏特或12伏特等其他電壓位準,不以此為限),且所述第二邏輯位準訊號為代表0之一低邏輯位準訊號(例如為0伏特,也可以是0.1伏特或0.5伏特等其他電壓位準,不以此為限)。在另一些實施例中,所述第一邏輯位準訊號為所述低邏輯位準訊號,且所述第二邏輯位準訊號為所述高邏輯位準訊號。In some embodiments, the first logic level signal is a high logic level signal representing 1 (for example, 3.3 volts, or other voltage levels such as 5 volts or 12 volts, but is not limited thereto) , and the second logic level signal is a low logic level signal representing 0 (for example, 0 volts, or other voltage levels such as 0.1 volts or 0.5 volts, but is not limited to this). In other embodiments, the first logic level signal is the low logic level signal, and the second logic level signal is the high logic level signal.
偵測模組140用以偵測第一應答訊號Van1以判斷所述外部電子裝置是否存在,也就是偵測判斷是否有所述外部電子裝置經由傳輸介面100電性連接於通用介面系統10。此外,偵測模組140更用以偵測第二應答訊號Van2及第三應答訊號Van3以更進一步的判斷經由傳輸介面100電性連接於通用介面系統10的所述外部電子裝置是否為固態硬碟,其中所述固態硬碟係選自NF1固態硬碟或M.2固態硬碟。請參照圖4,圖4是本發明之一實施例中,偵測模組140的電路示意圖。如圖4所示,在一些實施例中,偵測模組140包含複數電阻器R1、R2、R3及一邏輯模組141。其中,電阻器R1係設置於引腳105與第一控制模組130之間,電阻器R2係設置於引腳106與邏輯模組141之間,電阻器R3係設置於引腳107與邏輯模組141之間,邏輯模組141係設置於電阻器R2、R3與第一控制模組130之間。在一些實施例中,邏輯模組141例如為但不限於及閘、反及閘、比較器、其他邏輯元件或是以上邏輯元件之其中至少二者之組合。The
在一些實施例中,偵測模組140透過電阻器R1偵測第一應答訊號Van1以判斷所述外部電子裝置是否存在,透過電阻器R2、R3以分別拉引第二應答訊號Van2及第三應答訊號Van3,並透過邏輯模組141偵測第二應答訊號Van2及第三應答訊號Van3以判斷所述外部電子裝置是否為M.2固態硬碟或NF1固態硬碟。在一些實施例中,邏輯模組141具有二個輸入端及一個輸出端,其中邏輯模組141之一輸入端電性連接於電阻器R2,邏輯模組141之另一輸入端電性連接於電阻器R3,邏輯模組141之輸出端電性連接於第一控制模組130。當所述二個輸入端所接收之訊號皆為一第三邏輯位準訊號時,所述輸出端係輸出一第四邏輯位準訊號(對應偵測訊號Vd);當所述二個輸入端所接收之訊號中至少有一個為一第五邏輯位準訊號時,所述輸出端係輸出一第六邏輯位準訊號(對應偵測訊號Vd)。In some embodiments, the
在一些實施例中,當邏輯模組141例如為及閘時,所述第三邏輯位準訊號為代表1之高邏輯位準訊號,所述第四邏輯位準訊號為代表1之高邏輯位準訊號,所述第五邏輯位準訊號為代表0之低邏輯位準訊號,所述第六邏輯位準訊號為所述低邏輯位準訊號。也就是說,當所述二個輸入端所接收之訊號皆為所述高邏輯位準訊號時,所述輸出端係輸出所述高邏輯位準訊號;當所述二個輸入端所接收之訊號中至少有一個為所述低邏輯位準訊號時,所述輸出端係輸出所述低邏輯位準訊號。In some embodiments, when the
在一些實施例中,當邏輯模組141例如為反及閘時,所述第三邏輯位準訊號為所述高邏輯位準訊號,所述第四邏輯位準訊號為所述低邏輯位準訊號,所述第五邏輯位準訊號為所述低邏輯位準訊號,所述第六邏輯位準訊號為所述高邏輯位準訊號。也就是說,當所述二個輸入端所接收之訊號皆為所述高邏輯位準訊號時,所述輸出端係輸出所述低邏輯位準訊號;當所述二個輸入端所接收之訊號中至少有一個為所述低邏輯位準訊號時,所述輸出端係輸出所述高邏輯位準訊號。In some embodiments, when the
需注意的是,以下係以及閘為例來說明邏輯模組141之功能,進而解釋偵測模組140之運作。It should be noted that the following is a AND gate as an example to illustrate the function of the
在一些實施例中,引腳105係為傳輸介面100之第五十二個引腳(PIN52),其中第一應答訊號Van1係為圖2B中傳輸介面100之PIN52所傳輸之訊號。請參照表1,表1是本發明之一實施例中,M.2固態硬碟及NF1固態硬碟中PIN52、PIN26、PIN6的定義表(對應圖2B)。如表1所示,M.2固態硬碟之PIN52用以傳輸一高邏輯位準訊號,而NF1固態硬碟之PIN52亦用以傳輸一高邏輯位準訊號。因此,在一些實施例中,當偵測模組140偵測到傳輸介面100之PIN52所傳輸之訊號(即第一應答訊號Van1)為一高邏輯位準訊號時,代表所述外部電子裝置對於通用介面系統10而言係存在。也就是說,所述外部電子裝置係電性連接於通用介面系統10,例如插設於通用介面系統10上,或透過電纜線電性連接該傳輸介面100,進而電性連接該通用介面系統10。當偵測模組140並未偵測到傳輸介面100之PIN52所傳輸之任何訊號時,代表所述外部電子裝置對於通用介面系統10而言係不存在。也就是說,所述外部電子裝置係未直接或間接的電性連接於通用介面系統10,例如未電性連接於/插設於通用介面系統10上。
[表1]
在一些實施例中,引腳106係為傳輸介面100之第二十六個引腳(PIN26),引腳107係為傳輸介面100之第六個引腳(PIN6),其中第二應答訊號Van2係為圖2B中傳輸介面100之PIN26所傳輸之訊號,第三應答訊號Van3係為圖2B中傳輸介面100之PIN6所傳輸之訊號。如表1所示,NF1固態硬碟之PIN26用以傳輸一低邏輯位準訊號,而M.2固態硬碟之PIN26用以傳輸一高邏輯位準訊號;NF1固態硬碟之PIN6用以傳輸一低邏輯位準訊號,而M.2固態硬碟之PIN6用以傳輸一高邏輯位準訊號。因此,在一些實施例中,當所述外部電子裝置為NF1固態硬碟時,第二應答訊號Van2為一低邏輯位準訊號且第三應答訊號Van3亦為一低邏輯位準訊號,此時邏輯模組141係根據第二應答訊號Van2及第三應答訊號Van3而輸出一低邏輯位準之偵測訊號Vd;當所述外部電子裝置為M.2固態硬碟時,第二應答訊號Van2為一高邏輯位準訊號且第三應答訊號Van3亦為一高邏輯位準訊號,此時邏輯模組141係根據第二應答訊號Van2及第三應答訊號Van3而輸出一高邏輯位準之偵測訊號Vd。換句話說,當邏輯模組141所輸出之偵測訊號Vd為一低邏輯位準訊號時,代表所述外部電子裝置為NF1固態硬碟;當邏輯模組141所輸出之偵測訊號Vd為一高邏輯位準訊號時,代表所述外部電子裝置為M.2固態硬碟。In some embodiments,
第二控制模組150用以儲存所述外部電子裝置之韌體。如前所述,具有相對應之M.2固態硬碟之連接器結構的所述外部電子裝置(例如M.2固態硬碟或NF1固態硬碟)係可插設於具有M.2固態硬碟之連接器結構的通用介面系統10之傳輸介面100上。然而,通用介面系統10中必須存有所述外部電子裝置之韌體,方能支援所述外部電子裝置之功能。以M.2固態硬碟為例,由於M.2固態硬碟具有第二代通用序列匯流排(USB 2.0)之功能,通用介面系統10中必須存有USB 2.0之韌體方能支援M.2固態硬碟。又以NF1固態硬碟為例,由於NF1固態硬碟具有雙通道選項之功能,通用介面系統10中必須存有雙通道選項之韌體方能支援NF1固態硬碟。因此,在一些實施例中,當所述外部電子裝置電性連接於通用介面系統10時,第一控制模組130係執行儲存於第二控制模組150中所述外部電子裝置之韌體,使得通用介面系統10支援所述外部電子裝置之功能。The
請參照圖1至圖5,圖5是本發明之一實施例中,通用介面系統10的運作流程圖。如圖5所示,當通用介面系統10開始運作時,通用介面系統10之供電模組110係透過傳輸介面100之電源引腳組Spp發送一第一電源V1(步驟S100)。接著,通用介面系統10之偵測模組140係偵測傳輸介面100之引腳105所傳輸之訊號(即第一應答訊號Van1)以判斷所述外部電子裝置是否存在(步驟S110)。若所述外部電子裝置不存在,通用介面系統10係關閉供電模組110之電源(步驟S120)以節省電源;若所述外部電子裝置存在,偵測模組140係偵測傳輸介面100之引腳106所傳輸之第二應答訊號Van2及傳輸介面100之引腳107所傳輸之第三應答訊號Van3以判斷所述外部電子裝置是否為一固態硬碟(步驟S130),其中所述固態硬碟係選自NF1固態硬碟或M.2固態硬碟。若所述外部電子裝置不是固態硬碟,通用介面系統10係關閉供電模組110之電源(步驟S120),以避免產生不相容問題而導致所述外部電子裝置或通用介面系統10損壞;若所述外部電子裝置是固態硬碟,通用介面系統10之第一控制模組130係執行所述外部電子裝置之韌體並控制通用介面系統10之電源開關模組120導通,使得第一電源V1或第二電源V2發送至所述外部電子裝置(步驟S140),其中所述外部電子裝置之韌體係儲存於第二控制模組150中。Please refer to FIGS. 1 to 5 . FIG. 5 is an operation flow chart of the
在一些實施例中,當偵測模組140偵測所述外部電子裝置為NF1固態硬碟時,第二電源V2係透過傳輸介面100之一第三十個引腳(PIN30)、一第三十二個引腳(PIN32)、一第三十四個引腳(PIN34)及一第三十六個引腳(PIN36)發送至所述外部電子裝置,其中引腳101係為傳輸介面100之PIN30,引腳102係為傳輸介面100之PIN32,引腳103係為傳輸介面100之PIN34,引腳104係為傳輸介面100之PIN36。如圖2B所示,NF1固態硬碟之PIN30、PIN32、PIN34、PIN36用以傳輸12伏特之訊號。因此,當NF1固態硬碟插設於通用介面系統10上時,通用介面系統10係發送12伏特之第二電源V2至NF1固態硬碟之PIN30、PIN32、PIN34、PIN36,使得NF1固態硬碟可以正常運作。In some embodiments, when the
在一些實施例中,當偵測模組140偵測所述外部電子裝置為M.2固態硬碟時,第一電源V1係透過傳輸介面100之電源引腳組Spp傳輸至所述外部電子裝置。如圖2B所示,M.2固態硬碟之PIN2、PIN4、PIN12、PIN14、PIN16、PIN18、PIN70、PIN72、PIN74用以傳輸3.3伏特之訊號。因此,當M.2固態硬碟插設於通用介面系統10上時,通用介面系統10係發送3.3伏特之第一電源V1至M.2固態硬碟之PIN2、PIN4、PIN12、PIN14、PIN16、PIN18、PIN70、PIN72、PIN74,使得M.2固態硬碟可以正常運作。In some embodiments, when the
請參照圖6,圖6是本發明之另一實施例中,通用介面系統10’的模組方塊圖。如圖6所示,在一些實施例中,通用介面系統10’之架構與圖1所示之通用介面系統10之架構大致相同,其二者之間的差別在於通用介面系統10’係將通用介面系統10之第一控制模組130及偵測模組140整合為一第一控制模組130’。在一些實施例中,第一控制模組130及第一控制模組130’為複雜可程式化邏輯裝置(Complex Programmable Logic Device,CPLD)、可程式化邏輯裝置(Programmable Logic Device,PLD)、場式可程式閘陣列(Field Programmable Gate Array,FPGA)或微控制器單元(Microcontroller Unit,MCU)等可執行編程程式的元件,不以此為限。因此,通用介面系統10’係可透過第一控制模組130’以實現圖1中第一控制模組130及偵測模組140之功能。Please refer to Figure 6, which is a module block diagram of the universal interface system 10' in another embodiment of the present invention. As shown in Figure 6, in some embodiments, the architecture of the universal interface system 10' is substantially the same as the architecture of the
綜上所述,根據通用介面系統10之一些實施例,當一外部電子裝置插設於通用介面系統10上時,通用介面系統10係透過偵測傳輸介面100之特定引腳所傳輸之訊號,以判斷所述外部電子裝置是否為NF1固態硬碟或M.2固態硬碟,進而避免通用介面系統10提供錯誤的電源而導致所述外部電子裝置損壞。To sum up, according to some embodiments of the
雖然本發明已以實施例揭露如上,然其並非用以限定本發明之創作,任何所屬技術領域中具有通常知識者,在不脫離本揭露內容之精神和範圍內,當可作些許之修改與變化,惟該些許之修改與變化仍然在本發明之申請專利範圍內。Although the present invention has been disclosed in the above embodiments, they are not intended to limit the creation of the present invention. Anyone with ordinary skill in the art may make slight modifications and modifications without departing from the spirit and scope of the disclosure. changes, but these slight modifications and changes are still within the patentable scope of the present invention.
10:通用介面系統
10’:通用介面系統
100:傳輸介面
101~107:引腳
110:供電模組
120:電源開關模組
130:第一控制模組
130’:第一控制模組
140:偵測模組
141:邏輯模組
150:第二控制模組
Q1:開關
Q2:開關
R1~R3:電阻器
S100~S140:步驟
Spp:電源引腳組
V1:第一電源
V2:第二電源
Van1:第一應答訊號
Van2:第二應答訊號
Van3:第三應答訊號
Vc:控制訊號
Vc1:第一控制訊號
Vc2:第二控制訊號
Vd:偵測訊號10: Universal interface system
10’: Universal interface system
100:
圖1是本發明之一實施例中,通用介面系統的模組方塊圖。 圖2A是本發明之一實施例中,M.2固態硬碟及NF1固態硬碟的引腳定義圖(一)。 圖2B是本發明之一實施例中,M.2固態硬碟及NF1固態硬碟的引腳定義圖(二)。 圖3是本發明之一實施例中,電源開關模組的電路示意圖。 圖4是本發明之一實施例中,偵測模組的電路示意圖。 圖5是本發明之一實施例中,通用介面系統的運作流程圖。 圖6是本發明之另一實施例中,通用介面系統的模組方塊圖。 Figure 1 is a module block diagram of a universal interface system in one embodiment of the present invention. FIG. 2A is a pin definition diagram (1) of an M.2 solid-state drive and an NF1 solid-state drive in an embodiment of the present invention. Figure 2B is a pin definition diagram (2) of the M.2 solid state drive and the NF1 solid state drive in one embodiment of the present invention. FIG. 3 is a schematic circuit diagram of a power switch module in one embodiment of the present invention. FIG. 4 is a schematic circuit diagram of a detection module in an embodiment of the present invention. Figure 5 is an operation flow chart of the universal interface system in one embodiment of the present invention. FIG. 6 is a module block diagram of a universal interface system in another embodiment of the present invention.
10:通用介面系統 10: Universal interface system
100:傳輸介面 100:Transmission interface
101~107:引腳 101~107: Pin
110:供電模組 110:Power supply module
120:電源開關模組 120:Power switch module
130:第一控制模組 130:First control module
140:偵測模組 140:Detection module
150:第二控制模組 150: Second control module
V1:第一電源 V1: first power supply
V2:第二電源 V2: Second power supply
Van1:第一應答訊號 Van1: first response signal
Van2:第二應答訊號 Van2: second response signal
Van3:第三應答訊號 Van3: The third response signal
Vc:控制訊號 Vc: control signal
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112106555A TWI830608B (en) | 2023-02-22 | 2023-02-22 | Generic interface system and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112106555A TWI830608B (en) | 2023-02-22 | 2023-02-22 | Generic interface system and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
TWI830608B true TWI830608B (en) | 2024-01-21 |
Family
ID=90459305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW112106555A TWI830608B (en) | 2023-02-22 | 2023-02-22 | Generic interface system and control method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI830608B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932108A (en) * | 2017-05-26 | 2018-12-04 | 慧荣科技股份有限公司 | Method for scheduling and executing commands of flash memory and device using the same |
TW201901432A (en) * | 2017-05-11 | 2019-01-01 | 慧榮科技股份有限公司 | Data storage device and method of operation thereof |
TWM577532U (en) * | 2019-01-09 | 2019-05-01 | 美商美超微電腦股份有限公司 | Data storage module and system host having the same |
CN110221769A (en) * | 2018-03-01 | 2019-09-10 | 三星电子株式会社 | Storage system, storage device and the method for controlling storage device |
-
2023
- 2023-02-22 TW TW112106555A patent/TWI830608B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201901432A (en) * | 2017-05-11 | 2019-01-01 | 慧榮科技股份有限公司 | Data storage device and method of operation thereof |
CN108932108A (en) * | 2017-05-26 | 2018-12-04 | 慧荣科技股份有限公司 | Method for scheduling and executing commands of flash memory and device using the same |
CN110221769A (en) * | 2018-03-01 | 2019-09-10 | 三星电子株式会社 | Storage system, storage device and the method for controlling storage device |
TWM577532U (en) * | 2019-01-09 | 2019-05-01 | 美商美超微電腦股份有限公司 | Data storage module and system host having the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7490176B2 (en) | Serial attached SCSI backplane and detection system thereof | |
US8886513B2 (en) | Embedded bus emulation | |
US7949886B2 (en) | Power supply system for motherboard | |
WO2021051445A1 (en) | Ncsi network card power supply system | |
CA2367892A1 (en) | Add-on card with automatic bus power line selection circuit | |
TWI754183B (en) | Hdd backplane management device | |
US10140235B2 (en) | Server | |
CN109583032B (en) | Back plate end VPP address configuration circuit and design method thereof | |
TW201423760A (en) | Solid state drive and motherboard for supporting the solid state drive | |
US7113003B2 (en) | Presence indication signal associated with an attachment | |
CN111781545B (en) | Port state management circuit, method, device and readable storage medium | |
CN112486305B (en) | External equipment time sequence control method, computer, mainboard and host thereof | |
TWI830608B (en) | Generic interface system and control method thereof | |
CN218824636U (en) | Power supply detection device for server hard disk backboard | |
CN111538641B (en) | Hard disk state detection circuit of disk array | |
US11341013B2 (en) | Electronic device having a debugging device | |
US7259591B1 (en) | Multi-bit configuration pins | |
US8713392B2 (en) | Circuitry testing module and circuitry testing device | |
US7307456B2 (en) | Automatic status assignment logic circuit apparatus for bay devices | |
US20220405225A1 (en) | Devices to select storage device protocols | |
CN215867834U (en) | M.2B KEY interface, computer mainboard and computer equipment | |
CN103795583A (en) | Testing device | |
CN114461027B (en) | Hard disk connecting device and server | |
CN109344016B (en) | USB device capable of switching between host and device modes and switching method | |
TWI768769B (en) | Server motherboard for single-processor system |