[go: up one dir, main page]

TWI325538B - Storage enclosure control system and chip thereof - Google Patents

Storage enclosure control system and chip thereof Download PDF

Info

Publication number
TWI325538B
TWI325538B TW95148189A TW95148189A TWI325538B TW I325538 B TWI325538 B TW I325538B TW 95148189 A TW95148189 A TW 95148189A TW 95148189 A TW95148189 A TW 95148189A TW I325538 B TWI325538 B TW I325538B
Authority
TW
Taiwan
Prior art keywords
storage box
signal
hard disk
pin
box control
Prior art date
Application number
TW95148189A
Other languages
Chinese (zh)
Other versions
TW200828024A (en
Inventor
Tso Chi Yao
Original Assignee
Mitac Int Corp
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 Mitac Int Corp filed Critical Mitac Int Corp
Priority to TW95148189A priority Critical patent/TWI325538B/en
Publication of TW200828024A publication Critical patent/TW200828024A/en
Application granted granted Critical
Publication of TWI325538B publication Critical patent/TWI325538B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

1325538 MIC2006-231 21969twf.doc/006 九、發明說明: 【發明所屬之技術領域】 本發明是關於一種儲存箱體控制系統,且特別是關 於一種顯示硬碟狀態之健存箱體控制系統與其储存箱體控 制晶片。 【先前技術】1325538 MIC2006-231 21969twf.doc/006 IX. Description of the Invention: [Technical Field] The present invention relates to a storage box control system, and more particularly to a storage box control system for displaying a hard disk state and its storage The cabinet controls the wafer. [Prior Art]

序列連接 SCCI( serial attached SCCI)是下一代的 SCSISerial Connection SCCI (serial attached SCCI) is the next generation of SCSI

(Small Computer System Interface)介面,簡稱 SAS,目的 在提升儲存系統的性能、延展性及可靠度,同時提供與大 容量SATA硬碟和雙埠、高性能SAS硬碟的相容性,主要 鎖定=伺服器和工作站市場。隨著對大儲存容量的需求, 伺服器上必須設置多顆硬碟來滿足使用者的需求,因此, ^ It ^ ^ ^ (storage enclosure processor, ® n SEP)-th 就需要更多的I/O接腳來負責顯示硬碟狀態。(Small Computer System Interface) interface, referred to as SAS, aims to improve the performance, scalability and reliability of the storage system, while providing compatibility with large-capacity SATA hard drives and dual-port, high-performance SAS hard drives, mainly locked = Server and workstation market. With the demand for large storage capacity, multiple hard disks must be set on the server to meet the needs of users. Therefore, ^ It ^ ^ ^ (storage enclosure processor, ® n SEP)-th requires more I/ The O pin is responsible for displaying the status of the hard disk.

在傳統技術中,通常使用"〇擴展晶片, VSC055 . VSC056 (Vitesse Semic〇nductor C〇rp〇ration „ =)等來增加可支援的硬碟個數。因此,SEp可經由ι/〇 ,展晶片來顯示更多硬碟的運作狀態 ==為昂貴,且無法依使用者需求=能 箱趙提:二:趙=晶片’可用於儲存 碟的運作狀態。、存相體處理器可顯示更多硬 本發明是在提供-種儲存箱體控制晶片之介面,可利 1325538 MIC2006-231 21969twf.doc/006 用複雜可程式邏輯元件來實_存贿控制晶片之 以降低儲存箱體控制系統的設計成本。 程气提供一種儲存箱體控制系統,利用複雜可 多個硬碟的運作狀態。 刀月匕以顯不 ㈣^達成上述與其他目的,本糾提出—雜存箱體控 = 箱體控制系統包括處理器(例如儲存箱In the conventional technology, the number of hard disks that can be supported is usually increased by using the "〇 expansion chip, VSC055. VSC056 (Vitesse Semic〇nductor C〇rp〇ration „ =). Therefore, SEp can be displayed via ι/〇 The chip to display the operating status of more hard disks == is expensive, and can not be based on user needs = energy box Zhao: two: Zhao = chip 'can be used to store the operating state of the disk., the memory processor can display more More Hard The present invention provides an interface for a storage box control chip, which can be used to reduce the storage box control system by using a complex programmable logic element. Design cost. Chengqi provides a storage box control system, which utilizes the operation status of complex multiple hard disks. The knives and months are not (4) ^ to achieve the above and other purposes, this correction - miscellaneous storage box control = box The control system includes a processor (eg, a storage box)

Si儲存箱體控制晶片,其中處_心_| ,碟之運作狀態,上述多個硬碟置於背板上。儲 π耗接於處理器與背板之間,用以控制背板上: t其中,處理驗域存箱體㈣W調 燈逮’以齡硬碟之運作狀態。在本發明另— 之 成树箱體控制晶片可由一複雜可程式邏二牛所構 晶片為制存箱體控制 =確副吕遽,以回傳多個硬碟之設置狀離 制晶片寫=判別外界裝置對儲存箱體控 個第三接腳’:二接收為儲存箱體處理器;多 其中之-:標號,以選擇上述多個硬碟 制信號,儲存箱體㈣s ^㈣四接腳’帛以接收燈號控 調整多個燈Ϊ = 目標信號與燈號控制信號 本發月另,施财,上述儲存箱體控制晶 6 MIC2006-231 21969twf.doc/006 接收—預置信號’上述儲存箱體控制晶 信號,依序致能硬碟之馬達;多個致能接腳, 致能上述多個硬碟之馬達;第六接腳,用以輸出 硬二=f:片之狀態資料;多個第七接腳,用以谓測 :=又置狀祕碟為-對-;以及多個第八接腳,用以 =夕固燈號之顯示狀態來表示硬碟的設置狀熊。 利用相訂定—種儲存箱體控制晶片之介面,因此可The Si storage box controls the wafer, wherein the _ heart_|, the operating state of the disc, the plurality of hard disks are placed on the backboard. The storage π is used between the processor and the backplane to control the backplane: t where the processing buffer (4) is used to detect the operating state of the hard disk. In the invention, the tree-box control wafer can be controlled by a complex programmable logic two-banked wafer for the storage box======================================================== Judging that the external device controls the storage box body to control a third pin': two receiving is a storage box processor; and one of them:: a label to select the plurality of hard disk signals, the storage box (four) s ^ (four) four pins '帛Adjust the lamp number to adjust multiple lampsΪ=Target signal and lamp number control signal. This month, another, the above storage box control crystal 6 MIC2006-231 21969twf.doc/006 Receive-Preset signal' The storage box controls the crystal signal, and sequentially drives the motor of the hard disk; the plurality of enabling pins enable the motor of the plurality of hard disks; and the sixth pin outputs the data of the hard 2=f: piece state a plurality of seventh pins for predicating: = another shape-shaped secret disc is ---; and a plurality of eighth pins for indicating the display state of the hard disk . Control the interface of the wafer with a set of storage boxes, so

At ^可孝壬式邏輯元件來擴充健存箱體處理器的I/O功 存箱體處理器可顯示更多硬碟的運作狀態,同時 降低儲存㈣控制純的設計成本。 為,發明之上述和其他目的、舰和優點能更明顯 作詳細說本發明之較佳實施例,並配合所附圖式, 【實施方式】 圖。月一實施之儲存箱體控制系統之方塊 制曰m體控制系.统100包括處理器u〇、儲存箱體控 處ΐ器二以f背板130 ’其中處理器n〇可為儲存箱體 以执^疋負責儲存箱體控制的處理器,而背板130則用 夕個硬碟。儲存箱體控制晶片120祕在處理器110 130之間’用以控制背板130上的燈號131〜139 二ίϋΓ^41〜149 ’以顯示背板13G上之硬碟的運作狀態或 =八^、,而背板13()上的燈號131〜139燈號i4i〜149 LE“由—個或多個發光二極體⑴凼Emitting Diode, 所構成。硬碟控制器14〇耦接於處理器lio與背板 1325538 MIC2006-231 21969twf.doc/006 的硬碟之間’處理器110可經由硬碟控制器刚控 ,例如讀寫資料,亦可直接經由硬碟控制器 ,系請可支援SAS介面,因此背板= 裝夕個SAS硬碟,而硬碟控制_ 14〇則可控制sas硬碟。 關树碟運作狀態的判斷,處理器ιι〇可以 ==f統得知,然後再經由儲存箱體控制晶片 調整燈號131〜139的顯示狀態,例如閃燦、亮、不哀 的組合等。使用者便可經由燈號131〜二 的』不狀‘%去判斷目前各個硬碟的運作狀 =:硬碟是否設置於背板13。上後,然二關 的心傳至儲存箱體控制晶片120,儲存箱體抑制曰片 狀心。在本只知例中,每一個硬碟對應於兩個燈號,分 表不硬碟的設置狀態與運作狀態,例如以 對=:r。而在本發明另-實施例中,亦可以同 :置狀態與運作狀態,此皆為本發明之二= 面二=:===的相關介 ™。其中,處理器 之間可_丨丨根接_為信制溝通,而倾丨3g與健存 8 1325538 MIC2006-231 21969twf.doc/006 ‘ 相體控制晶片12G之間所利用的接腳數則根據硬碟數目與 所顯不的燈號數目而有所調整。 β處理益110與儲存箱體控制晶片120之間所傳遞的信 #u包括確認信號STRB、讀寫信號娜、目標信號tar、 燈號控制信號MODE、預置信號PRE以及狀態資料SDa。 其,,由處理器110輸出讀寫信號r/w、目標信號TAR、 燈號控制信號LC、預置信號PRE至儲存箱體控制晶片 籲 12G’而確認信號STR_由處理器UG與儲存箱體控制晶 片120雙方依時間區隔而共用,狀態資料則由儲存箱 體控制晶片120輸出至處理器H〇。 二上在本實施例中’接腳Ρι負責傳輸確認信號STRB,確 認信號STRB則用來確認硬碟是否設置於背板13〇上。當 1理器110輸出讀認信號STRB至儲存箱體控制晶片 ^處理器以負緣觸發(falling edge trigger)的方式 ,發儲存箱體控制晶片,此時,其確認信號STRB的致能 _ 期間大約在14〇ns至350ns之間。當儲存箱體控制晶片120 輸出確認信號STRB至處理器110時,儲存箱體控制晶片 120以控制負緣期間長短的方式來觸發處理器110,此時, 其確認信號STRB的致能期間大約在700ns〜3500ns之間。 接腳h則負責接收讀寫信號R/W,儲存箱體控制晶 1 120經由讀寫信號Ryw的邏輯狀態來判斷處理器11()目 前對儲存箱體控制晶片120是在進行讀取動作或是寫入動 作(例如高邏輯準位表示讀取,低邏輯準位表示寫入)。 接腳P3〜P7則用以接收目標信號TAR,以選擇硬碟 9 1325538 MIC2006-231 21969twf.doc/006 其中之一目標硬碟,處理器110會經由目標信號丁 ίί存ΐΓί制晶#目前所處理的目標硬碟為^ 32稽t貝,施例:由於接料〜P7的邏輯狀態組合有 P的5次方,因此最高可支援32個硬碟。At ^ 壬 壬 logic elements to expand the I / O memory of the health box processor The processor can display more hard disk operating status, while reducing storage (4) control pure design costs. The above and other objects, advantages, and advantages of the invention will become more apparent from the detailed description of the invention. The system of the storage box control system implemented in the first month comprises a processor u〇, a storage box body control device 2, and a f back plate 130 'where the processor n〇 can be a storage box The processor responsible for storing the cabinet is controlled, and the back panel 130 is used for a hard disk. The storage box control chip 120 is secreted between the processors 110 130 to control the lights 131 to 139 on the backplane 130 to display the operating state of the hard disk on the backplane 13G or = eight ^,, and the lights 131 to 139 on the backplane 13 () i4i~149 LE "consisting of one or more light emitting diodes (1) 凼 Emitting Diode. The hard disk controller 14 〇 is coupled to Between the processor lio and the backplane 1325538 MIC2006-231 21969twf.doc/006 hard disk 'processor 110 can be controlled by the hard disk controller, such as reading and writing data, or directly through the hard disk controller, please Support SAS interface, so the backplane = installed a SAS hard drive, while the hard drive control _ 14 〇 can control the sas hard drive. The judgment of the operating state of the tree, the processor ιι〇 can ==f know, then Then, the display state of the lamps 131 to 139 is adjusted via the storage box, for example, a combination of flashing, bright, and no sorrow, etc. The user can judge the current hard by the "No" of the lights 131 to 2 The operation of the disc =: Whether the hard disc is set on the backboard 13. After the upper, the heart of the second pass is passed to the storage box control crystal 120, the storage box suppresses the flaky heart. In the present example, each hard disk corresponds to two lights, and the table does not set the state and operation state of the hard disk, for example, by ==r. In another embodiment of the present invention, the same state and the operating state may be used, which are the related media of the second=face===== of the invention, wherein the processors may be connected to each other. _For communication, and 3g and health 8 1325538 MIC2006-231 21969twf.doc/006 'The number of pins used between phase control chip 12G is based on the number of hard disks and the number of displayed lights The signal #u transmitted between the β process benefit 110 and the storage box control chip 120 includes the confirmation signal STRB, the read/write signal Na, the target signal tar, the signal control signal MODE, the preset signal PRE, and the status. The data SDa. The processor 110 outputs the read/write signal r/w, the target signal TAR, the signal control signal LC, the preset signal PRE to the storage box control chip call 12G' and the acknowledge signal STR_ by the processor UG Both the storage box control wafer 120 and the storage box control wafer 120 are shared by time, and the status data is stored. The body control chip 120 is output to the processor H. In the present embodiment, the 'pin Ρ is responsible for transmitting the confirmation signal STRB, and the confirmation signal STRB is for confirming whether the hard disk is disposed on the backplane 13 。. 110 output read signal STRB to the storage box control chip ^ processor in a negative edge trigger (falling edge trigger), the storage box control wafer, at this time, the confirmation signal STRB enable _ period is about 14 〇 Between ns and 350 ns. When the storage box control chip 120 outputs the confirmation signal STRB to the processor 110, the storage box control wafer 120 triggers the processor 110 in a manner to control the length of the negative edge period. At this time, the enable period of the confirmation signal STRB is approximately Between 700ns and 3500ns. The pin h is responsible for receiving the read/write signal R/W, and the storage box control crystal 1 120 determines, by the logic state of the read/write signal Ryw, that the processor 11 () is currently performing a read operation on the storage box control wafer 120 or It is a write action (for example, high logic level means read, low logic level means write). Pins P3 to P7 are used to receive the target signal TAR to select one of the target hard disks of the hard disk 9 1325538 MIC2006-231 21969twf.doc/006, and the processor 110 transmits the target signal via the target signal. The target hard disk to be processed is ^32 db, and the example: since the logical state of the receiving ~P7 combination has the 5th power of P, it can support up to 32 hard disks.

之’儲存箱體控制晶>} 12G可根據該目標信號TA'Storage box control crystal> 12G can be based on the target signal TA

以,擇所設置的硬碟其巾之—並執行相對應的動作 燈號的顯稍_馬_啟動)。。當然,在本發明另一 =施=中’儲存箱體控制晶片12G可根據使用需^增加或 =接收目標信號TAR的腳數,以符合所需連接的硬碟個 數0In order to select the hard disk to be set - and perform the corresponding action light signal _ horse _ start). . Of course, in the other embodiment of the present invention, the storage box control wafer 12G can increase or decrease the number of pins of the target signal TAR according to the usage to match the number of hard disks to be connected.

。接腳h、P9則用以接收燈號控制信號m〇de,以 燈號之顯示狀態’不同的燈號狀騎應於不㈣硬碟狀 態。由於接腳p8、p9的邏輯狀態組合有4種,因此,可分 別表示四麵示狀態,例如亮、不亮、閃_。配合目標 信號TAR與㈣姉錢MQDE,齡碰㈣晶片^ 便可得知目前需要娜哪—個燈號的顯示狀態,不同的燈 號則為對應於不同的目標硬碟。若需表示更多的顯示狀 態,則可設置更多的接腳來接收燈號控制信^M〇DE。在 本實施例中,每—個硬碟對應於兩個燈號,其中一個燈號 根據燈號㈣錢M〇DE來齡硬碟的運作狀態,另一個 燈號則时顯示硬碟是否設置於背板13()上,此燈號可直 接根據背板13〇所贿的信號來齡㈣的設置狀態。 接腳P1G則用以接㈣置信號PRE,儲存箱體控制晶 片120根據預置信號PRE,依序致能硬碟之馬達。在本實 1325538 MIC2006-231 21969twf.doc/006 施例中,儲存箱體控制晶片㈣利用接腳pn〜pu輸出硬 碟預置信號HPRE來依序致能硬碟的馬達。若以連接24 ^硬碟為例,則每—個接腳負責6個馬達,當然、亦可依照 設計需求,適當調整各個接腳所負責的硬碟數目或是負責 致能硬碟的接腳數,而接腳P"〜P14致能的相隔時間則可 依不同系統而定。因此,處理器11〇只要致能預置信號 PRE,儲存箱體控制晶片120便會依序致能背板13〇上的 • 硬碟’以避免同時啟動硬碟馬達而造成系統電源負載過重。 此外接聊Pi5為測试接腳,處理器110可透過接腳pi5 取得儲存箱體控制晶片丨2〇的測試狀態資料p〇—12以確認 儲存箱體控制晶片12〇是否正常運作。 接腳PN+1〜?讯則用以偵測硬碟的設置狀態,N為正 整數,接腳Pn+i〜P2n與硬碟為一對一。背板130會根據 硬碟的設置與否,輸出偵測信號SAS_IN至接腳pN+1〜 P2Nj儲存箱體控制晶片120便根據接腳pN+1〜p2N所接收 . 的信號,以燈號顯示各個硬碟的設置狀態,例如燈號亮表 不^確設置,燈號不亮表示未正確設置或尚未設置,而儲 ,箱體控制晶片120可經由接腳P3N+i〜p4N來控制上述燈 5虎的顯不狀態,其輸出的控制信號則統稱為設置信號 SAS—ON,如圖2所示。接腳ρΝ+ι〜ρ2Ν與接腳丨〜p州 的數目則依照硬碟的數目而定,在本實施例中為一對一。 另外’接腳P2N+1〜則可用來控制其他的燈號,例 如表示硬碟運作狀態的燈號131〜139,在本實施例中調整 燈號131〜139顯示狀態的信號統稱為運作信號 11 1325538 MIC2006-231 21969twf.doc/006 ❹的接㈣目可依照財需求設 ΐ的^ = 制晶片12G其侧設計需求所需設 十7腳例如’電源接腳’接地接聊等則不在此 2。在本實施例中,儲存箱體控制晶片120以你個接 腳為例說明,但本發明並不限定其晶片上之接腳數目,上 述用以實施各魏介©之接腳數目紐置,均可作適當的. The pins h and P9 are used to receive the lamp number control signal m〇de, and the lamp number in the display state of the lamp number is not in the (four) hard disk state. Since there are four logical state combinations of the pins p8 and p9, the four-sided state can be indicated separately, for example, light, no light, and flash _. In conjunction with the target signal TAR and (4) money MQDE, age touch (four) wafer ^ can know the current display status of the Nana-light, the different lights correspond to different target hard drives. If you need to indicate more display status, you can set more pins to receive the signal control signal ^M〇DE. In this embodiment, each hard disk corresponds to two lights, one of which is based on the operating state of the light (4) money M〇DE ageing old disk, and the other light number indicates whether the hard disk is set to On the backboard 13 (), the light can be directly set according to the signal of the bribe of the backboard 13 (4). The pin P1G is used to connect (4) the signal PRE, and the storage box control chip 120 sequentially drives the motor of the hard disk according to the preset signal PRE. In the embodiment of the present invention, the storage box control chip (4) uses the pins pn~pu to output the hard disk preset signal HPRE to sequentially enable the motor of the hard disk. For example, if you connect a 24^ hard disk, each pin will be responsible for 6 motors. Of course, you can also adjust the number of hard disks that each pin is responsible for or the pin that is responsible for enabling the hard disk. The number of pins, and the interval between the P"~P14 enable can vary depending on the system. Therefore, as long as the processor 11 enables the preset signal PRE, the storage box control chip 120 sequentially enables the hard disk on the backplane 13 to prevent the hard disk motor from being activated at the same time, thereby causing the system power load to be excessive. In addition, the Pi5 is a test pin, and the processor 110 can obtain the test status data p〇-12 of the storage box control chip through the pin pi5 to confirm whether the storage box control chip 12 is operating normally. Pin PN+1~? The signal is used to detect the setting state of the hard disk, N is a positive integer, and the pins Pn+i~P2n are one-to-one with the hard disk. The backplane 130 outputs the detection signal SAS_IN to the pins pN+1~P2Nj according to the setting of the hard disk, and the storage box control chip 120 receives the signal according to the pin pN+1~p2N, and displays it by the light number. The setting status of each hard disk, for example, the light number is not set correctly, the light number is not bright, indicating that the light is not set correctly or has not been set, and the storage control chip 120 can control the light through the pins P3N+i~p4N. 5 tiger's display state, its output control signal is collectively referred to as the set signal SAS-ON, as shown in Figure 2. The number of pins ρΝ+ι~ρ2Ν and pin 丨p state is determined according to the number of hard disks, which is one-to-one in this embodiment. In addition, the 'pin P2N+1~ can be used to control other lights, for example, the lights 131 to 139 indicating the operating state of the hard disk. In the present embodiment, the signals for adjusting the display states of the lights 131 to 139 are collectively referred to as the operation signal 11 1325538 MIC2006-231 21969twf.doc/006 ❹ ( 四 四 四 四 四 四 四 四 四 四 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 12 = 12 12 12 12 12 . In this embodiment, the storage box control chip 120 is illustrated by taking one of the pins as an example, but the present invention does not limit the number of pins on the wafer, and the number of pins used to implement each of the Weishen® is set. Can be appropriate

調整,在本技術領域具有通常知識者,經由本發明之揭露 應可輕易推知,在此不加累述。 •在本發明另-實施例中,根據上述圖2之說明,可由 一複雜可程式邏輯元件(complex programmable logic device, CPLD)來實現本發明之儲存體控制晶#。圖3 為根據本發明另一實施例之複雜可程式邏輯元件之接腳 圖。在本實施例中以Xilinx XC128系列的CPLD為例說明 本發明如何以CPLD實現儲存箱體控制晶片之介面。圖3 (a)〜(c)分別標示CPLD的各接腳所負責的介面功能。 請同時參照圖3(a)〜(c)。接腳1/〇94〜98、1〇〇〜113、115 〜U5用以接收來至背板的偵測信號SAS1_IN〜 SAS24_IN’其中偵測信號SAS1一IN〜SAS24_IN分別於24 個硬碟的設置狀態’也就是反應出24個硬碟是否正確設置 於背板上。而CPLD根據偵測信號SAS1_IN〜SAS24 IN, 輸出設置信號SAS1 一ON〜SAS24一ON以將硬碟的設置狀 遙顯示於燈號上(例如亮表示正確設置,不亮表示未正破 設置),其中設置信號SAS1 一ON〜SAS24_ON則由接腳 1/02〜7、9〜21、22〜24、129〜130所負責輸出,每一個 12 1325538 MIC2006-231 21969twf.doc/006 接腳負責調整一個燈號,每一個燈號對應於一個硬碟的設 置狀態。 此外,接腳1/070則用以接收確認信號STRB,接腳 1/071則用以接收讀寫信號。接腳1/〇74、76則用以 接收燈號控制信號M0DE1、2,所以相對應的燈號可以有 四種顯示狀態的變化。接腳1/077〜81用以接收目標信號 TAR0〜4 ’利用目標信號TARO〜4的邏輯組合,例如其數 值,最多可標識32個硬碟,在本實施例中則僅使用其中 24個數值來標識24的硬碟,被選擇到的硬碟則可稱為目 才示硬碟。若需標識更多硬碟,可依設計需求增加目標信號 的位兀數以及所接收的接腳數目。預置信號pRE則由接腳 1/087所接收’當預置信號PRE致能時,CPLD則經由接 腳1/081〜83、85、86輪出硬碟預置信號HPRE1 〜HPRE4, 其中每一個硬碟預置信號負貴致能6個硬碟,並以時間間 隔方式依序致能硬碟的馬達。Adjustments, those of ordinary skill in the art, should be readily inferred by the disclosure of the invention, and are not described herein. In the other embodiment of the present invention, the memory control crystal of the present invention can be realized by a complex programmable logic device (CPLD) according to the description of Fig. 2 described above. 3 is a pin diagram of a complex programmable logic element in accordance with another embodiment of the present invention. In this embodiment, the CPLD of the Xilinx XC128 series is taken as an example to illustrate how the present invention implements the interface of the storage box control chip with the CPLD. Figure 3 (a) ~ (c) respectively indicate the interface function that the pins of the CPLD are responsible for. Please refer to FIG. 3(a) to (c) at the same time. Pins 1/〇94~98, 1〇〇~113, 115~U5 are used to receive the detection signals SAS1_IN~SAS24_IN' from the backplane. The detection signals SAS1_IN~SAS24_IN are respectively set on 24 hard disks. The status 'is to reflect whether 24 hard disks are correctly set on the backplane. The CPLD outputs a setting signal SAS1_ON~SAS24_ON according to the detection signals SAS1_IN~SAS24 IN to display the setting status of the hard disk on the light (for example, light indicates correct setting, and no light indicates no breaking setting), The setting signal SAS1-ON~SAS24_ON is output by the pins 1/02~7, 9~21, 22~24, 129~130, and each 12 1325538 MIC2006-231 21969twf.doc/006 pin is responsible for adjusting one. The lights, each of which corresponds to the setting state of a hard disk. In addition, pin 1/070 is used to receive the acknowledgment signal STRB, and pin 1/071 is used to receive the read and write signals. Pins 1/〇74, 76 are used to receive the lamp number control signals M0DE1, 2, so the corresponding lamp number can have four display state changes. The pins 1/077 to 81 are used to receive the target signals TAR0~4' with a logical combination of the target signals TARO~4, for example, their values, up to 32 hard disks can be identified, and in this embodiment only 24 of them are used. To identify the hard disk of 24, the hard disk selected is called the hard disk. If you need to identify more hard disks, you can increase the number of bits of the target signal and the number of pins received as required by the design. The preset signal pRE is received by the pin 1/087. When the preset signal PRE is enabled, the CPLD rotates the hard disk preset signals HPRE1 to HPRE4 via pins 1/081 to 83, 85, 86, each of which A hard disk preset signal is negatively capable of 6 hard disks, and the hard disk motor is sequentially enabled in time interval.

而關於顯示硬碟運作狀態的運作信號BAY1JFAULT 〜BAY24 FAULT 則由接腳 1/025、26、28、30、35、39、 4〇、41、43、45、49〜54、56〜61、68、69 所負責輸出。 CPLD根據目標信號TAR〇〜TAR4與燈號調整信號 Μ〇^、2依序雜24瓣號,每-健麟應於一個 目,硬碟’用以表示目標硬碟的運作狀態。接腳Ι/〇9ι為 測試接腳,用讀出儲存箱體控制晶片之職狀態資料 P0J2,其餘接腳分別為電源接腳、接地接腳或是程式寫 入接腳等,在此不加累述^另由於加㈣接腳功能可依 13 1325538 MIC2006-231 21969twf.doc/006 照設計需求而定,因此本發明並不以圖3實施例之接腳順 序限定本發明之技術手段。 至於背板上用來輔助偵測硬碟狀態與設置狀態的電 路則如圖4與圖5所示,圖4為根據本發明一實施例之硬 碟偵測電路圖,主要是利用硬碟所輸出的設置信號 HDOUT,將其與一預設電壓(電阻R3、R4的分壓)比較 後而輸出憤測#號SAS_IN。因此,比較器41〇的輸出會 著硬碟的⑨置正確與否而改變’儲存箱體控制晶片便可 根據偵測信號SAS—IN去調整燈號的顯示。當然,每一個 硬碟需要配置-組硬碟_電路,其實施細節在此不加累 述0 圖5為根據本發明另一實施例之硬碟馬達致能電路。 在圖五實施例中’發光二極體51〇會在硬碟預置信號hpre 致能時發光,因為當硬翻置錢HPRE致能時,馬達致 能信號SPIN便隨之致能,相對應的硬碟馬達㈣始運轉。The operation signals BAY1JFAULT to BAY24 FAULT for displaying the operating status of the hard disk are connected by pins 1/025, 26, 28, 30, 35, 39, 4〇, 41, 43, 45, 49 to 54, 56 to 61, 68. 69 is responsible for the output. According to the target signal TAR〇~TAR4 and the signal adjustment signal Μ〇^, 2, the CPLD is in accordance with the 24-valve number, and each-Jinlin should be in one item, and the hard disk is used to indicate the operating state of the target hard disk. The pin/〇9ι is the test pin, and the read storage box controls the job status data P0J2 of the chip. The other pins are the power pin, the ground pin or the program write pin, etc. The technical function of the present invention is not limited by the pin sequence of the embodiment of FIG. 3, since the function of the (4) pin can be determined according to the design requirements according to 13 1325538 MIC2006-231 21969 twf.doc/006. As shown in FIG. 4 and FIG. 5, the circuit for assisting in detecting the state of the hard disk and the setting state on the backplane is shown in FIG. 4 and FIG. 5. FIG. 4 is a circuit diagram of the hard disk detection according to an embodiment of the present invention, which mainly uses the output of the hard disk. The setting signal HDOUT is compared with a preset voltage (the voltage division of the resistors R3 and R4), and the flag #SAS_IN is outputted. Therefore, the output of the comparator 41〇 changes if the hard disk 9 is set correctly or not. The storage box control chip can adjust the display of the light according to the detection signal SAS-IN. Of course, each hard disk requires a configuration-group hard disk_circuit, and its implementation details are not described herein. FIG. 5 is a hard disk motor enabling circuit according to another embodiment of the present invention. In the fifth embodiment, the 'light emitting diode 51' will emit light when the hard disk preset signal hpre is enabled, because when the hard flip HPRE is enabled, the motor enable signal SPIN is enabled, correspondingly The hard disk motor (4) starts running.

^時’ PNP電晶體B51因馬達致能信號spiN而關閉,因 =發光二極體·與電阻R8、R9形成新的導通路徑而 ,光所需的電流。利關5之電路則可直接由背板產 =可供辨識的燈號,直接判斷硬碟的馬達 經開始運 轉。 利用ΐί明因訂定—麵存箱體控制晶片之介面,因此可 式邏輯元件來擴充儲存箱體處理_ ι/〇功 降低儲存箱齡賴設計成本碟的運作㈣’同時 1325538 MIC2006-231 21969twf.doc/006 雖然本發明已啸佳#施_露如上,财並非用以 限定本發明’任何所屬技_域具有通常知識者,在不脫 離本發明之精神和範_,當可作些許之更触潤飾因 此本發明之賴翻當視後附之申料職_界定者為 準。 【圖式簡單說明】 圖1為轉本發明-實施之齡紐控㈣統之方塊 圖。 圖2為根據本發明另一實施例之儲存箱體控制晶片之 接腳圖。 圖3為根據本發明另一實施例之複雜可程式邏輯元件 之接腳圖。 圖4為根據本發明一實施例之硬碟偵測電路圖 圖5為根據本發明另一實施例之硬碟馬達致能電路。 【主要元件符號說明】 100 :儲存箱體控制系統 11〇 :處理器 130 :背板 120 :儲存箱體控制晶片 130〜139、141 〜149 :燈號 140 :硬碟控制器 51〇 :發光二極體 410 :比較器 STRB :確認信號 15 1325538 MIC2006-231 21969twf.doc/006 R/W :讀寫信號、 TAR、TARO〜4 :目標信號 MODE、MODE1、2 :燈號控制信號 PRE :預置信號 HPRE、HPRE1〜HPRE4 :硬碟預置信號 P0_12 :測試狀態資料 BAY_FAULT :運作信號 BAY1_FAULT〜BAY24_FAULT :運作信號 SAS ON、SAS1 IN〜SAS24 IN :設置信號 — — SAS_IN、SAS1_IN〜SAS24JN :偵測信號 HDOUT :設置信號 SPIN :馬達致能信號When the PNP transistor B51 is turned off by the motor enable signal spiN, the current required for the light is formed by the light-emitting diode and the resistors R8 and R9 forming a new conduction path. The circuit of Leeguan 5 can be directly produced by the backplane = the number of lights that can be identified, and it is directly judged that the motor of the hard disk has started to operate. Using ΐ 明 因 订 订 — — — 面 面 面 面 面 面 面 面 面 面 面 面 面 13 13 13 13 13 13 13 13 13 13 13 13 13 面 面 面 面 面 面 面 面 面 面 面 面 面 面 面 面 面 13 13 13 13 13 13 13 13 13 13 .doc/006 Although the present invention has been exemplified above, it is not intended to limit the invention to any of the ordinary skill of the art, without departing from the spirit and scope of the present invention. Therefore, the subject matter of the invention is subject to the definition of the application. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the implementation of the present invention - the implementation of the age control (four) system. 2 is a pin diagram of a storage case control wafer in accordance with another embodiment of the present invention. 3 is a pin diagram of a complex programmable logic element in accordance with another embodiment of the present invention. 4 is a diagram showing a hard disk detecting circuit according to an embodiment of the present invention. FIG. 5 is a hard disk motor enabling circuit according to another embodiment of the present invention. [Main component symbol description] 100: Storage box control system 11: Processor 130: Backplane 120: Storage case control chip 130 to 139, 141 to 149: Light number 140: Hard disk controller 51: Light emitting two Polar body 410: Comparator STRB: Acknowledgement signal 15 1325538 MIC2006-231 21969twf.doc/006 R/W: Read/write signal, TAR, TARO~4: Target signal MODE, MODE1, 2: Signal control signal PRE: Preset Signal HPRE, HPRE1~HPRE4: Hard disk preset signal P0_12: Test status data BAY_FAULT: Operation signal BAY1_FAULT~BAY24_FAULT: Operation signal SAS ON, SAS1 IN~SAS24 IN: Set signal — SAS_IN, SAS1_IN~SAS24JN: Detection signal HDOUT : Set signal SPIN: motor enable signal

Pi〜P4N、I/O2-I/O140 :接腳 B51 : PNP電晶體 R1〜R9 :電阻 M51 : NMOS電晶體 C卜C2 :電容 VCC :工作電壓 GND :接地端 16Pi~P4N, I/O2-I/O140: Pin B51: PNP transistor R1~R9: Resistor M51: NMOS transistor CbC2: Capacitor VCC: Operating voltage GND: Ground terminal 16

Claims (1)

1325538 MIC2006-231 21969twf.doc/006 申請專利範園 1. 一種儲存箱體控制晶片,包括: 第一接腳,用以接收與輪出一確認信號,以 個硬碟之設置狀態; 傳夕 -第二接腳’用以接收—讀寫信號以判別 置對該儲存箱體控制晶片之讀寫命令; I裝 =第三接腳,用以接收—目標信號,以選擇該 碟,、中之一目標硬碟;以及 ''吏 多個第四接腳,用以接收一燈號控制信號,該 一控制晶腫據該目標錢與驗餘傭翻整多個^ 一燈號其中之-之顯示狀態,上述該些第 對應於該目標硬碟; 現/、中之一 制曰第一燈號對應於該些硬碟’該儲存箱體控 片U該些第—燈號之顯示狀態來表示該些硬碟之運作 2. 如申請專利範圍第1項所述之儲存箱體控制晶片, 第五接腳,用以接收一預置信號,該儲存箱體控制 s曰片根據該預置信號,依序致能該些硬碟之馬達。工 3. 如申請專利範圍第2項所述之儲存箱體控制晶片, 更包括: 虚甘ί個致能接腳’每―触致能㈣相對應於該些硬 部純碟,該些聽接腳根據辆置信號,依序 致月b該些硬碟之馬達。 17 1325538 MIC2006-231 21969twf.doc/006 資料 更包^如中請專利範圍第1項所述之儲存箱體控制晶片, 第六接腳,用以輸出該儲存箱體控制晶片之一狀態 生^如Μ專概圍第1項所述之儲存箱難制晶片, 其中該儲存箱體控制晶片更包括: =個第七獅,用則貞猶些硬碟的設置狀態該此 第七接腳與該些硬碟為一對一;以及 〜 制多接腳,根據該些第七接腳所接收的信號,控 -對j 號之顯示狀態,第二燈號與該些硬碟為 狀態來其表== = :利用該些第二燈號· 其二储存_制晶片, 該處理體"片搞接處理11與—背板之間, 該讀寫3 :'硬碟之運作狀態,並輸出該確認信號、 於該背=、目標㈣以及燈號控制信號,該些硬碟設置 該儲存第—職設置於該背板上,該處理器經由 示令目上控制晶片調整該背板上之該些第—燈號,以顯 不該目標硬碟之運作狀態。 更包括如中明專利範圍第1項所述之㈣箱體控制晶片’ 態資料 測試接腳’肋輸㈣儲存紐控制晶片之測試狀 18 1325538 MIC2006-231 21969twf.doc/〇〇6 8. 如申請專利範圍第w所述之儲存箱體控制晶片, 其中該些硬碟支援SAS介面。 9. 如申請專利範圍第丨項所述之儲存箱體控制晶片, 其中該儲存箱體控制晶片為一複雜可程式邏輯元件。 =如申請專利範㈣1項所述之儲存箱體控制晶 片,其中該些第-燈號的顯示狀態包括_、亮或不亮。 —種儲存箱體控制系統,包括: 一,理器’用以判斷多個硬碟之運作 置於一背板;以及 一f咮 Η,^儲Ϊ箱體㈣W,祕於該處理11與該背板之 礤用以控制該背板上之多個第一燈號; 板二Γ:Γ由Γ存箱體控制晶片’調整該背 二第燈唬,以顯示該些硬碟之運作狀熊。 輸出,信號(STRB), 署斜二,二接腳,用以接收一讀寫信號,以判別一外 置對,儲存箱體控制晶片之讀寫命令; 外界裝 磾個接腳’用以触_目標域,以選擇爷此廍 碟其:之-目標硬碟;以及 k擇硬 體^ 吨腳,用以接收—㈣控齡號,該健存γ 體控制晶片根據該目標信號與該 』储存相 -燈號其中之H业能、Λ燈就_5唬調整該些第 之之顯不狀態,上述該些第一燈號 19 1325538 MIC2006-231 21969tw£doc/〇〇6 對應於該目標硬碟,· 其中,該些第一燈號對應於該些硬碟,該儲存箱體控 制晶片以該些第一燈號之顯示狀態來表示該些硬碟之運作 狀態。1325538 MIC2006-231 21969twf.doc/006 Patent Application Park 1. A storage box control chip, comprising: a first pin for receiving a confirmation signal with the wheel, in a set state of a hard disk; The second pin 'is used for receiving-reading and writing signals to determine the read/write command for the storage box control chip; I==the third pin for receiving the target signal to select the disc, a target hard disk; and ''a plurality of fourth pins for receiving a signal control signal, the control crystallized according to the target money and the verification commission to rectify a plurality of lights Displaying the state, the above-mentioned first corresponds to the target hard disk; the first light number of the current /, one of the first light numbers corresponds to the display state of the hard disk 'the storage box control piece U of the first-light number The operation of the hard disk is as follows: 2. The storage box control chip according to the first aspect of the patent application, the fifth pin is configured to receive a preset signal, and the storage box controls the s chip according to the preset. The signal, the motors of the hard disks are sequentially enabled. 3. The storage box control chip described in claim 2, further comprising: a virtual enable pin "per touch" (four) corresponding to the hard disk, the listen According to the signal, the pin sequentially causes the motors of the hard disks. 17 1325538 MIC2006-231 21969twf.doc/006 The data package includes the storage box control chip described in item 1 of the patent scope, and the sixth pin for outputting the state of the storage box control chip. For example, the storage box difficult to manufacture the wafer according to the first item, wherein the storage box control chip further comprises: = a seventh lion, the use of the hard disk is set to the seventh pin and the The hard disks are one-to-one; and ~ are multi-pins, according to the signals received by the seventh pins, the display state of the control-to-j number, the second light number and the state of the hard disks are == = : using the second light number · the second storage _ system wafer, the processing body " film processing 11 and the backplane, the read and write 3: 'hard disk operating state, and output The confirmation signal, the back=, the target (4) and the signal control signal, the hard disk sets the storage first position on the backboard, and the processor adjusts the backplane by controlling the wafer The first number of lights to indicate the operating state of the target hard disk. Including, as described in item 1 of the patent scope of Zhongming, (4) box control wafer 'state data test pin' rib transfer (four) storage button control test pattern 18 1325538 MIC2006-231 21969twf.doc/〇〇6 8. The storage case control chip described in claim w, wherein the hard disks support a SAS interface. 9. The storage enclosure control wafer of claim 3, wherein the storage enclosure control wafer is a complex programmable logic component. = The storage box control wafer as described in claim 1 (4), wherein the display states of the first-numbers include _, bright or no light. a storage box control system, comprising: a processor for determining the operation of a plurality of hard disks on a backplane; and a storage tray (four) W, secretive to the processing 11 and the The backplane is used to control a plurality of first lights on the backboard; the second panel is: the buffer is controlled by the storage box to adjust the backlights to display the operating bears of the hard disks. . Output, signal (STRB), slanted two, two pins, used to receive a read and write signal to determine an external pair, the storage box controls the read and write commands of the chip; the external device is equipped with a pin 'to touch _ target domain, to select the singer: its - target hard disk; and k select the hardware ^ ton foot to receive - (four) control age number, the health gamma body control chip according to the target signal and the The storage phase-light number of which H industry can, the xenon lamp _5 唬 adjust the state of the first, the first light 19 1925538 MIC2006-231 21969tw£doc/〇〇6 corresponds to the target A hard disk, wherein the first light numbers correspond to the hard disks, and the storage box control chip indicates the operating states of the hard disks by the display states of the first lights. 13.如申請專利範圍第12項所述之儲存箱體控制系 統’其中該儲存箱體控制晶月更包括·· 曰一第五接腳,用以接收一預置信號,該儲存箱體控制 晶片根據該預置信號,依序致能該些硬碟之馬達。 14·如申請專利範圍第13項所述之儲存箱體控制系 統,其中該儲存箱體控制晶片更包括·· 、 :個致能接腳’每—該些致能接腳分別對應於該些硬 部分硬碟,該些致能接驗獅預置信號,依序 致月該些硬碟之馬達。 7 统,料利簡第12項所述讀存箱體控制系 、.先其中該儲存箱體控制晶片更包括:13. The storage box control system of claim 12, wherein the storage box control crystal moon further comprises a fifth pin for receiving a preset signal, the storage box control The chip sequentially enables the motors of the hard disks according to the preset signal. The storage box control system of claim 13, wherein the storage box control chip further comprises: · an enable pin 'each-these enable pins respectively correspond to the The hard part of the hard disk, these enable the lion preset signal, in order to order the hard drive motor. 7 system, the material storage control system described in Item 12, first of which the storage box control chip further includes: 資料。第六接腳,肋輸丨贿存箱體控制晶>5之-狀態 統制系 第七二碟rr該::碟的設置狀態,該些 ^ J ,Μ及 制多個第根$該些第七接腳所接收的信號,控 -對-第— 態,該㈣二缝與該些硬碟為 20 1325538 1325538 MIC2006-231 2l969twf.doc/〇〇6 狀態來表示該利用該些第二燈號的顯示 料。測4接nx輸出·存碰蝴w之狀態資 统,ir/板專包ΐ圍第π項所述之健存箱趙控制系 於背2硬:測電路’用以偵測該些硬碟是否正確設置 確 &,第11項所述之儲存箱體控制系 箱體_ 續==/專利範圍第11項所述之儲存箱體控制系 =其中贼理雜目齡賴—㈣二 ===據r號控制信號與該目標 應調整該些第一燈號之顯示狀態。 統如H專利範圍第11項所述之儲存箱體控制系 根據該碟箱體控制- 21 1325538 MIC2006-231 21969twf.doc/006 23.如_請專利範圍第項 a 統,其t該些硬碟域SAS介面。=子相體控制系 統,销収料箱體控制系 ^處理盗為儲存箱體處理器。 統,其中該第u項所述之儲存箱體控制系 存相體控制晶片為—複雜可程式邏輯元件。 mdata. The sixth pin, the ribs lose the bribe and save the box control crystal > 5 - the state control system is the seventh disc rr:: the setting state of the disc, the ^ J, Μ and the number of the first root $ these The signal received by the seventh pin, the control-to-the-state, the (four) two-slot and the hard disk are 20 1325538 1325538 MIC2006-231 2l969twf.doc/〇〇6 state to indicate that the second lamp is utilized The display material of the number. Measure 4 connected nx output · save the state of the butterfly w, ir / board special package 第 第 第 第 健 健 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制 控制Is it correct to set the storage box control system as described in Item 11? Continued ==/The storage box control system described in item 11 of the patent scope = where the thief is confusingly--(four) two = == According to the r number control signal and the target, the display state of the first lights should be adjusted. The storage box control system as described in item 11 of the H patent scope is controlled according to the disk box - 21 1325538 MIC2006-231 21969twf.doc/006 23. If the scope of the patent scope is a, it should be hard Disk domain SAS interface. = Sub-phase control system, sales receiving box control system ^ handling stolen storage box processor. The storage box control system control chip described in the item [u] is a complex programmable logic element. m 22twenty two
TW95148189A 2006-12-21 2006-12-21 Storage enclosure control system and chip thereof TWI325538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95148189A TWI325538B (en) 2006-12-21 2006-12-21 Storage enclosure control system and chip thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95148189A TWI325538B (en) 2006-12-21 2006-12-21 Storage enclosure control system and chip thereof

Publications (2)

Publication Number Publication Date
TW200828024A TW200828024A (en) 2008-07-01
TWI325538B true TWI325538B (en) 2010-06-01

Family

ID=44817504

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95148189A TWI325538B (en) 2006-12-21 2006-12-21 Storage enclosure control system and chip thereof

Country Status (1)

Country Link
TW (1) TWI325538B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI384361B (en) * 2008-11-21 2013-02-01 Inventec Corp Hard disk system state monitoring method
CN104112461B (en) * 2013-04-17 2017-01-18 鸿富锦精密电子(天津)有限公司 HDD detection circuit

Also Published As

Publication number Publication date
TW200828024A (en) 2008-07-01

Similar Documents

Publication Publication Date Title
US8412876B2 (en) Storage device with multiple storage units and control method thereof
CN101246390A (en) storage control device
TW201222246A (en) Computer chassis system and hard disk status display method thereof
CN105988966B (en) Electronic devices and their working methods
US20100283431A1 (en) Information processing apparatus and method for controlling battery charge
TWI553613B (en) Electronic apparatus and backlight control method of display
TWI325538B (en) Storage enclosure control system and chip thereof
CN103890686B (en) Drive bay substrate
CN103593319A (en) Serial port application method for supporting hot plugging and identifying external device automatically
US6922378B2 (en) Method and apparatus for controlling the disk tray by detecting the back emf force
US20110181432A1 (en) External device having low power detection and protection and method thereof
CN106649156B (en) Server
TW201040973A (en) Production tool for low-level format of a storage device
TW201435577A (en) Backup method and computer system thereof
US7641386B2 (en) Display device and method for starting up at a low temperature
JP2013045452A (en) Sata connector and computer equipped with sata connector
TWI458995B (en) Power failure detection system and method of a server
US20080012717A1 (en) Memory device capable of displaying available memory space thereof
TW201101020A (en) Data backup apparatus and data backup method
CN102290089B (en) Storage device with multiple storage units and control method thereof
TWI314314B (en) Signal processing system
TW201218202A (en) wherein the method includes setting a write-in prevention voltage and changing a system voltage to be higher or lower than the write-in prevention voltage
TW200820191A (en) Driving circuit for liquid crystal panel and liquid crystal display
US20120173863A1 (en) Electronic device
TWI334535B (en) Serial attached small computer system interface backboard detection system

Legal Events

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