TW200901174A - Logic circuit and method for controlling display lights of hard disk - Google Patents

Logic circuit and method for controlling display lights of hard disk Download PDF

Info

Publication number
TW200901174A
TW200901174A TW96123139A TW96123139A TW200901174A TW 200901174 A TW200901174 A TW 200901174A TW 96123139 A TW96123139 A TW 96123139A TW 96123139 A TW96123139 A TW 96123139A TW 200901174 A TW200901174 A TW 200901174A
Authority
TW
Taiwan
Prior art keywords
signal
hard disk
logic
data
state
Prior art date
Application number
TW96123139A
Other languages
Chinese (zh)
Other versions
TWI342554B (en
Inventor
Chun-Yi Wu
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to TW96123139A priority Critical patent/TWI342554B/en
Publication of TW200901174A publication Critical patent/TW200901174A/en
Application granted granted Critical
Publication of TWI342554B publication Critical patent/TWI342554B/en

Links

Abstract

A logic circuit, which makes single one display light of the hard disk drive when the hard disk is normal and in failure or rebuilding state, respectively, includes a flip flop, a logic gate and a buffer. The flip flop receives a clock signal, a reset signal and a data signal, and generates an output signal. The logic gate generates a logic signal according to the data signal and the output signal. The buffer receives the logic signal and an action signal representing the normal state of the hard disk. When the hard disk is normal, the logic signal starts the buffer so that the action signal passes through the buffer and drives a normal light. When the hard disk is in the failure or rebuilding state, the data signal drives a fault light. A method controlling the display lights of the hard disk is also disclosed.

Description

200901174 九、發明說明: 【發明所屬之技術領域】 本發明是有關於—種邏蛆 # 邏輯控制之電路及方法,且特別 疋有關於一種控制硬碟顯 且K邏輯電路及方法。 【先前技術】 H冑用者在利用硬碟進行存取資料的動作 :! ’若是當硬碟處Μ常操作的狀態,其U正《作狀 悲、的正常燈號會因而動作,若是當硬碟處於故障(fan则)或 建㈣uild)的狀態,則其表示故障或資料重建狀態 的故p早燈號亦會因而動作。然而,由於當硬碟的故障燈號 啟動時’其正常燈號的動作_般並不會因此停止;亦即, 當硬碟處於故障或是資料重建的狀態時,其正常燈號以及 故障燈號可能會同時動作’導致使用者無法分辨硬碟者前 的操作狀態,不利使用者㈣對於硬碟進行存取:工 作。 、 因此,有必要S出-種控制電路,解決硬碟的正常燈 號及故障燈號同時動作的問題’讓操作者不會因為硬碟二 顯示燈號不明確而受到混淆,以致影響後續存取資料的工 作。 【發明内容】 種控制硬碟顯示燈號之 硬碟在正常操作以及在 依照本發明一實施例,提出— 邏輯電路。此邏輯電路係用以使— 200901174 故障或資料重建時,分別僅顯示單一燈號以供判別,並包 含一正反器、一邏輯閘以及一緩衝器。正反器接收一時序 號 重置彳5號以及用以表示硬碟狀態之—資料信藥,200901174 IX. Description of the Invention: [Technical Field] The present invention relates to a circuit and method for logic control, and in particular to a control and hard disk display and K logic circuit and method. [Prior Art] H user is using the hard disk to access data: ! 'If the hard disk is in a state of normal operation, its U is "sorry, the normal light will act, if it is If the hard disk is in the state of failure (fan) or construction (four) uild, then the indicator light indicating the fault or data reconstruction status will also act accordingly. However, since the operation of the normal light signal is not stopped when the faulty light of the hard disk is activated; that is, when the hard disk is in a fault or data reconstruction state, its normal light and fault light The number may act at the same time', causing the user to be unable to distinguish the operating state before the hard disk player, and the unfavorable user (4) accessing the hard disk: work. Therefore, it is necessary to take out a kind of control circuit to solve the problem that the normal light number and the fault light number of the hard disk move at the same time. 'The operator will not be confused because the hard disk 2 display light is not clear, so as to affect the subsequent storage. The work of taking information. SUMMARY OF THE INVENTION A hard disk for controlling a hard disk display light is proposed in a normal operation and in accordance with an embodiment of the present invention. This logic circuit is used to make -200901174 fault or data reconstruction, only display a single signal for identification, and include a flip-flop, a logic gate and a buffer. The flip-flop receives a timing number, resets the number 5, and is used to indicate the status of the hard disk.

並根據時序信號、重置信號以及資料信號產生一輸出°作 號。邏輯閘電性_接於正反器,並根據資料信號及輸出^ 號^生一邏輯信號。緩衝器電性耦接於邏輯閘,並接收邏 輯l號以及用以表示硬碟正常操作之一動作信號。其中", 當硬碟在正常操作狀態時,邏輯信號啟動緩衝器以使動作 信號通過緩衝器而驅動一正常燈號’當硬碟在故障或資料 重建狀態時,資料信號驅動一故障燈號。 、 依照本發明另一實施例’提出一種控制硬碟顯示燈號 ^方法。此方法係用以使一硬碟在正常操作以及在故障或° 資料重建時,分別僅顯示單—燈號以供判別,纟包含藉由 一正反器根據一時序信號、一重置信號以及用以表示^碟 狀態之-資料信號產生一輸出信號;將輸出信號以及資料 信號作邏輯運算處理,讀得—邏輯信號;判別邏輯信號 之位準;以及根據邏輯信號之位準驅動一正常燈號或一故u 障燈號,以表示硬碟在正常操作狀態,抑或在故障或資料 藉由本發明上述之實施例,可讓使用者不會在操作時 對於硬碟的顯7F燈號感到混淆,能清楚且明白地判別硬碟 的燈號,瞭解硬碟目前的操作狀態,以利工作的進行。 【實施方式】 7 200901174 睛參照第1圖,係繪示依照本發明一實施例之邏輯電 路的不忍圖。此邏輯電& 1GG係用以控制—硬碟的顯示燈 號,並使得硬碟能夠在正常操作狀態以及在故障(㈣或資 料重建(rebuild)狀怨,分別僅顯示正常燈號以及故障燈號來 告知操作者。邏輯電路100中包含一 D型正反器ι〇2、—And generating an output ° according to the timing signal, the reset signal, and the data signal. The logic gate is connected to the flip-flop and generates a logic signal according to the data signal and the output ^. The buffer is electrically coupled to the logic gate and receives the logic number 1 and an action signal for indicating normal operation of the hard disk. Where ", when the hard disk is in the normal operating state, the logic signal activates the buffer to cause the action signal to drive a normal light through the buffer. 'When the hard disk is in a fault or data reconstruction state, the data signal drives a fault light. . According to another embodiment of the present invention, a method of controlling a hard disk display lamp number is proposed. The method is for causing a hard disk to display only a single-light number for discriminating during normal operation and during fault or data reconstruction, and includes a timing signal, a reset signal, and a flip-flop according to a flip-flop. The data signal used to represent the state of the disc produces an output signal; the output signal and the data signal are logically processed, the logic signal is read; the level of the logic signal is discriminated; and a normal lamp is driven according to the level of the logic signal. No. or a faulty light signal to indicate that the hard disk is in a normal operating state, or in a fault or data by the above-described embodiments of the present invention, so that the user does not be confused with the hard disk display of the hard disk. , can clearly and clearly identify the hard disk light number, understand the current operating state of the hard disk, in order to facilitate the work. [Embodiment] 7 200901174 Referring to Fig. 1, there is shown a diagram of a logic circuit in accordance with an embodiment of the present invention. This logical power & 1GG is used to control the display light of the hard disk, and enables the hard disk to be in the normal operating state and in the fault ((4) or rebuild), only the normal light and the fault light are displayed respectively. The number informs the operator that the logic circuit 100 includes a D-type flip-flop ι〇2,

NAND邏輯閘1Q4以及—緩衝器1Q6〇d型正反器ι〇2電性 耦接於硬碟(未繪示),並分別由時脈輸入端c、重置信號輸 入端HS以及資料輸入端D接收一時序信號clk、一重°置 信號RS以及-資料信號⑽,且根據時序信號clk、重置 信號RS以及資料信㈣之運作由輪出端輸出一輸出信號 ㈨。其中’時序信號CLK以及重置信號Rs係藉由將資料 信號DS進行一時序處理之後而得,而〇型正反請係 為一正緣觸發的正反器。 上此外,資料信號D S係表示目前硬碟的操作狀態,而時 序仏號CLK以及重置信號RS則分別藉由延遲資料信號的 而獲得。其中’當硬碟在正常操作狀態時,資料信號的 係為高位準狀態’ #硬碟在故障狀態時,資料信號⑽係為 低位準狀態,而當硬碟在資料重建狀態時,資料信號Ds 則係為一方波信號。 NAND邏㈣104具有兩輸入端與一輸出端,而以勒 ^閑丨〇4之兩輸入端均電性㈣於D型正反器脱,並 接收及根據資料信號DS及輸出信冑〇s產生—邏輯信號 LS。然後’财_邏_ 1〇4即透過輸出端輪出邏輯信號匕 200901174 緩衝器106則是電性轉赫NAND邏_ 1〇4之輸出 端’並接收NAND邏輯閘1〇4所產生的邏輯信號ls。此外, 緩衝器⑽更電性輕接至硬碟,且接收硬碟於正常操作時 職生之-動作信號ACTd其中,#硬碟在正常操作狀離 % ’邏輯㈣LS會致能缓衝器1〇6,使得動作信號ACT 通過緩衝盜106而驅動一正常燈號,如藍色咖燈⑽; ^之,當硬碟在故障或資料重建狀態時,資料信號恥則係 直接驅動一故障燈號,如紅色lED燈】1 〇。 “ 圖,係緣示如第丨圖所示之邏輯 碟- 貝料重建時動作的時序圖。當硬碟在資料重建時,資料 ==料一時序週期為τ的方波信號,且在該時序處 重置QRS係藉由將此方波信號延遲〇 25至⑽ 2時序週期τ而得;時序信號CLK則是藉由將方波产 遲(_)個時序週期τ而得,其中n係為—正整數 以本實施例為例,重置 延八,7 士里置WRS係错由對資料信號DS ^遲^刀之三個時序週期τ而得到。時序信號咖則 對:枓信號DS延遲四分之三個時序週期丁而得到。: 時序广Si型正反器1〇2係為正緣觸發的正反器,因此當 ,序L就C L K由低位準狀態轉換成 為高位準狀態時,0型正反器 /狀態且重㈣The NAND logic gate 1Q4 and the buffer 1Q6〇d type flip-flop ι〇2 are electrically coupled to the hard disk (not shown), and are respectively connected to the clock input terminal c, the reset signal input terminal HS, and the data input terminal. D receives a timing signal clk, a weight signal RS, and a data signal (10), and outputs an output signal (9) from the wheel terminal according to the operation of the timing signal clk, the reset signal RS, and the data signal (4). The 'timing signal CLK and the reset signal Rs are obtained by performing a timing processing on the data signal DS, and the positive and negative 〇 type is a positive-edge triggered flip-flop. In addition, the data signal D S indicates the current operating state of the hard disk, and the timing signal CLK and the reset signal RS are respectively obtained by delaying the data signal. Where 'when the hard disk is in the normal operating state, the data signal is in the high level state' #hard disk in the fault state, the data signal (10) is in the low level state, and when the hard disk is in the data reconstruction state, the data signal Ds It is a square wave signal. The NAND logic (four) 104 has two input terminals and one output terminal, and the two input terminals of the Le 丨〇 丨〇 4 are electrically connected to the D-type flip-flop, and are received and generated according to the data signal DS and the output signal s. - Logic signal LS. Then, '财_逻辑_1〇4 is the logical signal transmitted through the output terminal 01200901174. The buffer 106 is the output of the electrical turn NAND logic _1〇4 and receives the logic generated by the NAND logic gate 1〇4. Signal ls. In addition, the buffer (10) is more electrically connected to the hard disk, and receives the hard disk in the normal operation - the action signal ACTd, where the # hard disk is in the normal operation from the % 'logic (four) LS will enable the buffer 1 〇6, so that the action signal ACT drives a normal light signal through the buffer thief 106, such as a blue coffee light (10); ^, when the hard disk is in a fault or data reconstruction state, the data signal shame is directly driven by a fault light. , such as red lED light] 1 〇. "Figure, the edge shows the logic diagram as shown in the figure - the timing diagram of the action when the material is reconstructed. When the hard disk is reconstructed, the data == a square wave signal with a time period of τ, and The QRS is reset by delaying the square wave signal by 〇25 to (10) 2 timing period τ; the timing signal CLK is obtained by delaying the square wave by (_) timing period τ, where n is For the positive integer, this example is taken as an example. The reset delay is eight, and the 7-segment WRS system error is obtained by the three timing periods τ of the data signal DS ^ ^ ^ knife. The timing signal is correct: 枓 signal DS The delay of three quarters of the timing period is obtained.: The timing-wide Si-type flip-flop 1〇2 is a positive-edge triggered flip-flop, so when the sequence L is converted from the low-level state to the high-level state. , type 0 flip-flop / state and heavy (four)

作為輸出信號os。 才會操取資料信號DS 時動= _於硬碟資料重建As the output signal os. Will only take the data signal DS when moving = _ hard disk data reconstruction

料信號照第1圖及第2圖,在時間”時,資 ^间位#狀態轉換成低位準狀態,時序信號CLK 200901174 以及重置信號RS尚鉦任 位準狀態。其次,輸出;X 因此輸“ US仍為高 邏輯閑HM處理後,财m㈣信號ds在經由na_ LS係由低位準狀態轉㈣閘1〇4所產生的邏輯信號 〜轉換成鬲位準狀態。 RS由在時,資料信號DS在低位準狀態,重置信泸 任何變I t換成低位準狀態,時序㈣似& =成:::::號:r著重置信…高位準 邏輯信號以仍=:準所產生的 在時間t3時,資祖# & ^ 在低位準狀態,C在高位準狀態,重置信號 位準狀態。由於D型正= CLK由高位準狀態轉換成低 因此輸出信號。s仍為 為高位準狀態。 丰狀'4,且使得邏輯信號LS仍 ^ Ds 位準狀態,因^’2信號CLK由低位準狀態轉換成高 輪出信號⑽。此時1〇2會掘取資料信號DS作為 位準狀態,使得邏輯=號〇1與資料信號DS同為低 中,邏輯俨號 h 仍為咼位準狀態。在本實施例According to the first picture and the second picture, at time "time", the state of the bit # is converted to the low level state, the timing signal CLK 200901174 and the reset signal RS are still in the level state. Secondly, the output; X After the input "US is still high logic idle HM processing, the m (four) signal ds is converted into a 鬲 level state by the logic signal ~ generated by the low level state (4) gate 1 〇 4 via the na_ LS system. When the RS is at the time, the data signal DS is in the low level state, the reset signal is changed to the low level state by any change, and the timing (4) is like & =::::::: r is the reset signal...the high level logic signal is Still =: Quasi-generated at time t3, Zizu # & ^ In the low level state, C is in the high level state, reset signal level state. Since the D type positive = CLK is converted from the high level state to low, the signal is output. s is still in a high level state. The abundance is '4' and the logic signal LS is still in the Ds level state because the ^'2 signal CLK is converted from the low level state to the high wheel out signal (10). At this time, 1〇2 will dig the data signal DS as the level state, so that the logic=number 〇1 and the data signal DS are both low, and the logical 俨# is still in the 咼 level state. In this embodiment

高位準狀動/硬碟處於資料重建狀態時…直保持在 色咖燈108,而 =ACT無法通過緩衝器⑽而驅動藍 燈110。 I直接藉由資料信號DS驅動紅色LED I α第3圖’係綠示如第^圖所示之邏輯電路於硬 200901174 碟故障時動作的時序圖。當硬碟在 係為低位準狀態,且重置信…藉; 遲TR時間而得到,而時序信號咖則是藉貝如延 DS延遲TC時間而得到,其曰,貝^號 時間。 殊町k b間係大於Tr 以下將以—實施例說明邏輯電路 作的情形。請同時參照^圖及第3圖、時動 料信號DS由高位準& 1 時間U扦,資 以及重置成低位準狀態,時序信號财 ° 尚無任何變化,因此輸出 位準狀態。輪出信號OS及資料信號= 閘104處理後,NANn 由NAND邏軏 ^ 邏輯閉104所產生的邏輯 由低位準狀態轉換成高位準狀態。 Μ號LS係 在^間t2時’ f料信號Ds在低位準狀態 RS由咼位準狀離轅垃 里置彳s唬 任何變化,因此;出=位準狀態’時序… u此輸出k#u 〇s便隨著重 狀態轉換成低位準狀離。“ 置URS由南位準 的漏心缺τ 時,驗〇邏_ 104所產生 的邏軏錢LS仍為高位準狀態。 所屋生 在時間叫,㈣錢^及重 狀態,時序信號cr K Λ 岣在低位準 κ由尚位準狀態轉換成低 於D型正反器102係為正 ,低位丰狀態。由 〇s保持在低位準狀態,且使得因此輸出信號 態。在本實施例中,邏輯信^硬^仍為高位準狀 -直保持在高位準狀態,動作==故障狀態時’ 而驅動藍色LED燈108, β …、、過緩衝态10ό 而是直接藉由資料信號DS驅動 200901174 紅色LED燈11 〇。 請再參照第1圖,當硬碟在正常操作狀態時,資料信 號DS係保持在高位準狀態,因此輸出信號〇s亦會在高位 準狀態。輪出信號os及資料信號DS在經由NAND邏輯閘 1〇4處理後,NAND邏輯閘1〇4所產生的邏輯信號係為 低位準狀態。此時,可藉由邏輯信號LS啟動緩衝器1〇6, 使得動作彳§號ACT通過緩衝器ι〇6而驅動藍色LED燈 108 ’且由於資料信號Ds在高位準狀態,所以紅色led燈 110不會動作。 請參照第4圖,係繪示依照本發明一實施例之控制硬 碟顯示燈號之方法的流程圖。此方法係用以使硬碟在正常 操作以及在故障或資料重建時,分別僅顯示單一燈號以供 判別。首先,將用以表示硬碟狀態的資料信號D s延遲,並 將所延遲的資料信號DS分別作為時序信號CLK以及重置 信號RS(步驟400)。 接著,藉由正緣觸發的D型正反器1〇2根據時序信號 CLK、重置信號以以及資料信號加產生輸出信號〇3(步 驟402)。再者,將輸出信號0S與資料信號Ds作nand 邏輯之運算處理,以獲得邏輯信號Ls(步驟4〇4)。然後, 判別邏輯運算之後所得到的邏輯信號LS的位準(步驟 406)。最後,再根據邏輯信號LS的位準驅動正常燈號或故 障燈號,以表示硬碟在正常操作狀態,抑或在故障或資料 重建狀態。 在本實施例中,當邏輯信號Ls為低位準狀態時,驅動 12 200901174 故障燈號(步驟408),而當邏 田这铒1口唬LS為南位準狀態時 則驅動正常燈號(步驟41〇)。 此外,當硬碟在正常操作狀態時,時序信號clk、重 置信號RS以及資料信號Ds會使得D型正反器1〇2所產生 的輸出信號OS’在經由與資料信號⑽作财仙邏輯之運 算處理後所獲得的賴錢LS為低位準狀態。而當硬碟在 故障或資料重建狀態時,時序信號CLK、重置俨When the high level dynamic/hard disk is in the data reconstruction state... it is held directly at the color light lamp 108, and =ACT cannot drive the blue light 110 through the buffer (10). I directly drives the red LED I α by the data signal DS. Fig. 3 is a timing chart showing the operation of the logic circuit shown in Fig. 2 in the case of a hard 200901174 disc failure. When the hard disk is in the low level state, and the reset signal is borrowed; it is obtained by delaying the TR time, and the timing signal is obtained by delaying the TC time by the delay of the DS, and then the time of the time. The difference between the k and the b b is greater than Tr. The embodiment will explain the case of the logic circuit. Please refer to the ^ diagram and the third diagram at the same time. The timing signal DS is from the high level & 1 time U扦, and is reset to the low level state. The timing signal has no change, so the level status is output. The round-out signal OS and the data signal = after the gate 104 is processed, the logic generated by the NANn by the NAND logic ^ logic close 104 is converted from the low level state to the high level state. When the LS is in the interval t2, the material signal Ds is in the low level state. The RS is set by the 咼 position. 出 里 唬 唬 唬 唬 唬 唬 , , , , , 出 出 出 位 位 u u u u u u u u u u u u u u u u u u u 〇s will be converted to a low level with the heavy state. “When the URS is missing from the south, the logic LS generated by the 〇 _ _ 104 is still in a high level state. The house is called at time, (4) money ^ and heavy state, timing signal cr K Λ 岣 is converted to a lower level than the D-type flip-flop 102 in the lower level κ, and is lower than the D-type flip-flop 102. The 〇s remain in the low level state, and thus the signal state is output. In this embodiment , the logic letter ^ hard ^ is still high level - directly maintained in the high level state, the action = = fault state ' while driving the blue LED light 108, β ...,, over the buffer state 10 ό but directly by the data signal DS Drive 200901174 Red LED light 11 〇. Please refer to Figure 1 again, when the hard disk is in normal operation state, the data signal DS is kept in the high level state, so the output signal 〇s will also be in the high level state. After the data signal DS is processed by the NAND logic gate 1〇4, the logic signal generated by the NAND logic gate 1〇4 is in a low level state. At this time, the buffer 1〇6 can be activated by the logic signal LS, so that the action彳§ ACT drives the blue LED light 108 through the buffer ι〇6 'Because the data signal Ds is in the high level state, the red LED lamp 110 does not operate. Referring to FIG. 4, a flow chart of a method for controlling the hard disk display signal according to an embodiment of the present invention is shown. It is used to make the hard disk display only a single light number for normal operation and when the fault or data is reconstructed. First, the data signal D s used to indicate the state of the hard disk is delayed, and the delayed data signal is DS is respectively used as the timing signal CLK and the reset signal RS (step 400). Next, the D-type flip-flop 1〇2 triggered by the positive edge generates an output signal according to the timing signal CLK, the reset signal, and the data signal. (Step 402) Further, the output signal OS and the data signal Ds are subjected to nand logic processing to obtain a logic signal Ls (step 4〇4). Then, the level of the logic signal LS obtained after the logic operation is discriminated (Step 406) Finally, the normal light or fault light is driven according to the level of the logic signal LS to indicate that the hard disk is in a normal operating state, or in a fault or data reconstruction state. In this embodiment, When the logic signal Ls is in the low level state, the 12200901174 fault light number is driven (step 408), and when the 田1 port LS is in the south level state, the normal light signal is driven (step 41〇). When the hard disk is in the normal operating state, the timing signal clk, the reset signal RS, and the data signal Ds cause the output signal OS' generated by the D-type flip-flop 1〇2 to be processed by the logic signal (10). The obtained LS is the low level state, and when the hard disk is in the fault or data reconstruction state, the timing signal CLK, reset 俨

及資料信號DS則是會使得〇型正反器1〇2所產生的輸出 信號OS’在經由與資料信號仍作从_邏輯之運算處理 後所獲得的邏輯信號LS為高位準狀態。 其中,由於硬碟在資料重建狀態時’資料信號係為_ 方波信號,因此便將此方波信號延遲〇_25至〇 75個時序週 期以獲得重置信號RS,並且延遲方波信號的(Ν+〇·75)個時 序週期以獲得時序信號CLK。其中Ν係為一正整數,並使 得邏輯信冑LS在硬碟處於資料重建狀態時保持在高 狀態。 由上述本發明之實施例可知,應用此控制硬碟顯示燈 號之邏輯電路及方法’可讓使用者不會在操作時對於硬^ 的顯示燈號感到混淆,能清楚且明白地判別硬碟的燈费Υ 瞭解硬碟目前的操作狀態,以利資料存取工作的進行。 雖然本發明已以實施例揭露如上’然其並非用以限定 本發明,任何所屬技術領域中具有通常知識者,在不脫離 本發明之精神和範圍内,當可作各種之更動與潤飾,因此 本發明之保護範圍當視後附之申請專利範圍所界定者為 13 200901174 準。 【圖式簡單說明】 為讓本發明之上述和其他目的、特徵、優點與實施例 能更明顯易懂,所附圖式之詳細說明如下: 第1圖係繪示依照本發明一實施例之邏輯電路的示意 圖。 第2圖係繪示如第1圖所示之邏輯電路於硬碟資料重 建時動作的時序圖。 第3圖係繪示如第1圖所示之邏輯電路於硬碟故障時 動作的時序圖。 第4圖係繪示依照本發明一實施例之控制硬碟顯示燈 號之方法的流程圖。 【主要元件符號說明】 1〇〇 :邏輯電路 102 : D型正反器 104 : NAND邏輯閘 106 :緩衝器 108 :藍色LED燈 11 0 :紅色LED燈 400〜410 :步驟 14And the data signal DS is such that the output signal OS' generated by the 正-type flip-flop 1 〇 2 is in a high level state after the logic signal LS obtained by the _ logic operation processing with the data signal. Wherein, since the hard disk is in the state of data reconstruction, the data signal is _ square wave signal, so the square wave signal is delayed by 〇25 to 个75 timing cycles to obtain the reset signal RS, and the square wave signal is delayed. (Ν+〇·75) timing cycles to obtain the timing signal CLK. The Ν is a positive integer, and the logical LS is kept high when the hard disk is in the data reconstruction state. It can be seen from the above embodiments of the present invention that the logic circuit and method for controlling the display of the hard disk display can prevent the user from being confused with the hard display signal during operation, and can clearly and clearly distinguish the hard disk. The cost of the lamp Υ Understand the current operating state of the hard disk to facilitate data access work. Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and it is possible to make various changes and modifications without departing from the spirit and scope of the invention. The scope of protection of the present invention is defined by the scope of the appended patent application, which is 13 200901174. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; Schematic diagram of a logic circuit. Fig. 2 is a timing chart showing the operation of the logic circuit shown in Fig. 1 when the hard disk data is reconstructed. Fig. 3 is a timing chart showing the operation of the logic circuit shown in Fig. 1 in the event of a hard disk failure. Figure 4 is a flow chart showing a method of controlling a hard disk display light according to an embodiment of the present invention. [Main component symbol description] 1〇〇: Logic circuit 102: D-type flip-flop 104: NAND logic gate 106: Buffer 108: Blue LED lamp 11 0: Red LED lamp 400~410: Step 14

Claims (1)

200901174 申請專利範圍 l —種控制硬碟顯示燈 在正常操作以及在故障或資料重路’用以使-硬碟 號以供判別,該邏輯電路包含:…刀別僅顯示單’燈 -重置信號以及接硬碟’並接收-時序信銳、 站 表不該硬碟狀態之一眘粗产哚 據該時序信號、該重置信號以及該資料且根 號,其令該時序信號以及該重置^產生:輪出信 進行-時序處理而得; …精由將該資料信號 邏輯閘’電性純於該正反_,並 及該輸出信號產生一邏輯信號;以及簡該貝心號 以及用電性-接於該邏輯閘’並接收該邏輯信號 乂及用以表不該硬碟正常操作之—動作信號; 緩衝ί =該硬碟在正常操作狀態時,該邏輯信號啟動該 ”二15亥動作信號通過該緩衝器而驅動一正常燈號, =號碟在故障或資料重建狀態時,該資料信號驅動—故 丄2_如申請專利範圍第1項所述之邏輯電路,其中該時 序信號以及該重置信號係分別藉由延遲該資料信號而得。 3_如申請專利範圍第2項所述之邏輯電路,其中當該 硬碟在正常操作狀態時,該資料信號、該時序信號以及該 15 200901174 重置信號使得該正反器所產生之該 閘作處理後,該邏輯閘 ^ §號在經由該邏輯 態 閘所產生之該邏輯錢係為低位準狀 4‘如申請專利範圍第2項所述之 硬碑在故陪十次上 ^輯電路’其中當古女 更磲在故障或資料重建狀態時, 、甲田.亥 以及該重置信號使得 D,b、該時序信號 息L現使仔该正反器所產生 f 該邏輯閘作處㈣,該邏輯騎㈣在經由 位準狀態。 生之該邏軏信號係為高 硬碟 5.如申請專利範圍第 在資料重建狀態時, 4項所述之邏輯電 該資料信號係為一 路’其中當該 方波信號。 時序處理:二=第5項所述之邏輯電路,其中在該 個時序週期而得:中=將該方波信號延一5) 具中N係為一正整數。 時序處理中二專:竓圍第5項所述之邏輯電路,其中在該 Ο5個時序週號係藉由將該方波信號延遲θα至 r 硬碟在正常操 第1項所述之邏輯電路,其中當該 ’該資料信號係為高位準狀態。 16 200901174 9. 如申請專利範圍第1項所述之邏輯電路,其中當該 硬碟在故障狀態時,該資料信號係為低位準狀態。 10. 如申請專利範圍第1項所述之邏輯電路,其中該 正反器係為一正緣觸發之D型正反器。 11. 如申請專利範圍第1項所述之邏輯電路,其中該 邏輯閘係為一 NAND邏輯閘。 12. —種硬碟顯示燈號控制方法,用以使一硬碟在正 常操作以及在故障或資料重建時,分別僅顯示單一燈號以 供判別’該硬碟顯示燈號控制方法包含: 根據一時序信號、一重置信號以及用以表示該硬碟狀 態之一資料信號產生一輸出信號; 將該輪出信號以及該資料信號作邏輯運算處理,以獲 得一邏輯信號; 判別該邏輯信號之位準;以及 根據該邏輯信號之位準驅動一正常燈號或一故障燈 號,以表示該硬碟在正常操作狀態,抑或在故障或資料重 建狀態。 13·如申請專利範圍第12項所述之硬碟顯示燈號控制 方法,更包含: 延遲該資料信號以分別獲得該時序信號以及該重置信 17 200901174 號。 T明号刊乾圍第 1 -r ·戈 u —一〜,丨-〜翔不燈號控制 硬碟在正常操作㈣時,該資料信號、該 ^ ^及該重置錢使得駐^所產生之該輸出户 盼==與該#料信號作邏輯運算處理後所獲得之該邏 輯L就係為低位準狀態。 15.如巾請相範㈣14項所述之硬錢示燈號 万去,更包含: 正常燈號 當該邏輯信號為低位準狀態時,驅動該 16·如中睛專利範圍第13項所述之硬碟顯示燈號控制 ,,、巾當該硬碟在故障或倾重建狀態時,該資料传 序信號以及該重置信號使得該正反器所產生之該 夕_ 纟㉟由與⑦賁料信號作邏輯運算處理後所獲得 &lt;該邏輯信號係為高位準狀態。 17.如中請專利範_ 16項所述之硬碟顯示燈號控制 方法,更包含: 當該邏輯信號為高位準狀態時,驅動該故障燈號。 18.如申請專利範„16項所述之硬碟顯示燈號控制 方法,其中當該硬碟在資料重建狀態時,該資料信號係為 18 200901174 一方波信號。 19·如申請專利範圍第18項所述之硬碟顯示燈號控制 方法,更包含: 延遲該方波信號(N+0.75)個時序週期以獲得該時序信 號,其中N係為一正整數。 2〇·如申請專利範圍第18項所述之硬碟顯示燈號控制 方法,更包含: 延遲該方波信號0.25至0.75個時序週期以獲得該 信號。 、、21.如申請專利範圍項所述之硬碟顯示燈號控制 '^中D亥輸出k號以及該資料信號係被進行NAND 輯之運算處理。 方法1如申叫專利範圍第12項所述之硬碟顯示燈號控制 _ '' ’、田°亥硬碟在正常操作狀態時,該資料信號係為 两位準狀態。 方法23·如申請專利範圍第12項所述之硬碟顯示燈號控制 ’其中當該硬碟在故障狀態時,該資料信號係為低位 19200901174 Patent application scope l - Control the hard disk display light in normal operation and in the fault or data re-route 'to make - hard disk number for discriminating, the logic circuit contains: ... knife only shows a single 'light-reset The signal and the hard disk 'and receive-time timing letter sharp, the station table does not have one of the hard disk states, the caution signal is based on the timing signal, the reset signal, and the data and the root number, which makes the timing signal and the weight Set ^ generation: round-out letter--sequence processing; ... fine-grained by the data signal logic gate 'electrical pure to the positive and negative _, and the output signal generates a logic signal; and Jane's heart number and Electrically connected to the logic gate and receiving the logic signal and an action signal for indicating normal operation of the hard disk; buffer ί = the logic signal is activated when the hard disk is in a normal operating state The 15 Hz motion signal drives a normal light signal through the buffer, and the data signal is driven when the = disk is in a fault or data reconstruction state - therefore, the logic circuit described in claim 1 of the patent scope, wherein Timing signal The reset signal is obtained by delaying the data signal. The logic circuit of claim 2, wherein the data signal, the timing signal, and the hard disk are in a normal operating state. 15 200901174 After the reset signal causes the gate generated by the flip-flop to be processed, the logic gate generated by the logic gate is generated as a low level 4' as claimed in the patent scope 2 The hard monument mentioned in the article is accompanied by ten times on the circuit. When the ancient woman is in the state of failure or data reconstruction, the Jiatian. Hai and the reset signal make D, b, the timing signal The logic gate is generated by the flip-flop (4), and the logic ride (four) is in the pass state. The logic signal is high-hard disk 5. If the patent application scope is in the data reconstruction state, The logic signal of the four items is a way of 'where the square wave signal. Timing processing: two = the logic circuit described in item 5, wherein in the timing cycle: medium = the square wave Signal delay one 5) with medium N series A logical integer circuit according to item 5 of the time series processing, wherein the square clock number is delayed by θα to r in the 5th cycle number of the hard disk in the normal operation. The logic circuit, wherein the data signal is in a high level state. 16 200901174 9. The logic circuit of claim 1, wherein the data signal is when the hard disk is in a fault state. 10. The logic circuit of claim 1, wherein the flip-flop is a positive-trigger D-type flip-flop. 11. As described in claim 1 A logic circuit, wherein the logic gate is a NAND logic gate. 12. A hard disk display light number control method for causing a hard disk to display only a single light number for normal operation and in case of failure or data reconstruction, respectively, the method for controlling the hard disk display light number includes: a timing signal, a reset signal, and a data signal for indicating one of the hard disk states to generate an output signal; the round-off signal and the data signal are logically processed to obtain a logic signal; and the logic signal is discriminated Level; and driving a normal light or a fault light according to the level of the logic signal to indicate that the hard disk is in a normal operating state, or in a fault or data reconstruction state. 13. The hard disk display signal control method of claim 12, further comprising: delaying the data signal to obtain the timing signal and the reset signal 17 200901174, respectively. T Minghao dry circumference 1 -r · Ge u - one ~, 丨 - ~ Xiang no lights control the hard disk in normal operation (four), the information signal, the ^ ^ and the replacement money make the station The output L is expected to be === the logic L obtained after the logic signal processing is the low level state. 15. For the towel, please refer to the hard money indicator number shown in item 14 (4), which also includes: Normal lamp number. When the logic signal is in the low level state, drive the 16th as described in item 13 of the patent scope. The hard disk displays the light control, and the towel, when the hard disk is in a faulty or rebuilt state, the data sequence signal and the reset signal cause the flip-flop to generate the eve _ 纟 35 by 7 贲The logical signal obtained after the logical signal processing is &lt;the logic signal is in a high level state. 17. The method for controlling a hard disk display light number according to the method of Patent Application No. 16, further comprising: driving the fault light signal when the logic signal is in a high level state. 18. The hard disk display light number control method according to claim 16, wherein when the hard disk is in a data reconstruction state, the data signal is a 18 200901174 square wave signal. 19 · If the patent application scope is 18 The method for controlling the display of the hard disk according to the item further comprises: delaying the square wave signal (N+0.75) timing cycles to obtain the timing signal, wherein N is a positive integer. 2〇·If the patent application scope is The method for controlling the hard disk display signal number of the 18th item further comprises: delaying the square wave signal by 0.25 to 0.75 timing cycles to obtain the signal. , 21. The hard disk display signal control as described in the patent application scope. '^中DH output k number and the data signal are processed by NAND. Method 1 is called hard disk display light control _ '' ', Tian Hehai hard disk as described in claim 12 In the normal operating state, the data signal is in a two-level state. Method 23: The hard disk display light number control as described in claim 12, wherein the data signal system is when the hard disk is in a fault state For low 19
TW96123139A 2007-06-26 2007-06-26 Logic circuit and method for controlling display lights of hard disk TWI342554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96123139A TWI342554B (en) 2007-06-26 2007-06-26 Logic circuit and method for controlling display lights of hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96123139A TWI342554B (en) 2007-06-26 2007-06-26 Logic circuit and method for controlling display lights of hard disk

Publications (2)

Publication Number Publication Date
TW200901174A true TW200901174A (en) 2009-01-01
TWI342554B TWI342554B (en) 2011-05-21

Family

ID=44721612

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96123139A TWI342554B (en) 2007-06-26 2007-06-26 Logic circuit and method for controlling display lights of hard disk

Country Status (1)

Country Link
TW (1) TWI342554B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823733A (en) * 2012-11-16 2014-05-28 英业达科技有限公司 Hard disk status display device
TWI482017B (en) * 2012-12-14 2015-04-21 Inventec Corp Apparatus for displaying hard disc state
TWI556111B (en) * 2015-06-11 2016-11-01 神雲科技股份有限公司 Logic circuit and method for controlling indicator light
TWI621020B (en) * 2016-04-18 2018-04-11 美超微電腦股份有限公司 Storage enclosure, storage system, and method for changing operating state of hard drive

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI567549B (en) * 2014-09-10 2017-01-21 英業達股份有限公司 Server and method of detecting the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823733A (en) * 2012-11-16 2014-05-28 英业达科技有限公司 Hard disk status display device
CN103823733B (en) * 2012-11-16 2016-08-24 英业达科技有限公司 Disk state display device
TWI482017B (en) * 2012-12-14 2015-04-21 Inventec Corp Apparatus for displaying hard disc state
TWI556111B (en) * 2015-06-11 2016-11-01 神雲科技股份有限公司 Logic circuit and method for controlling indicator light
TWI621020B (en) * 2016-04-18 2018-04-11 美超微電腦股份有限公司 Storage enclosure, storage system, and method for changing operating state of hard drive

Also Published As

Publication number Publication date
TWI342554B (en) 2011-05-21

Similar Documents

Publication Publication Date Title
US10846160B2 (en) System and method for remote system recovery
TWI344087B (en) Serial ata port addressing
TW200901174A (en) Logic circuit and method for controlling display lights of hard disk
TWI480734B (en) Method and recognition apparatus for use in a plurality of memory devices in a serial interconnection configuration and system comprising serially interconnected devices
JP2021145338A (en) Enhanced virtual gpio with multi-mode modulation
TW201222246A (en) Computer chassis system and hard disk status display method thereof
TW200819986A (en) Multi-input/output serial peripheral interface and method for data transmission
TW201037702A (en) Non-volatile state retention latches
CN109189621A (en) A kind of test method and system of NVMe SSD hot plug
JPS62188446A (en) Synchronizing detection circuit
TW201028845A (en) RAID testing method and testing system
TWI230941B (en) Circuit and method for generating mode register set code
CN106033383A (en) Hard disk lamp signal control circuit
CN102298955B (en) Alarm sound chip, internal circuit and application circuit thereof
CN103853312A (en) Static frame display from memory associated with processor of data processing device
TWI283861B (en) Disc interface, disc interface system having the same, and disc interfacing method
TW200838045A (en) Expandable solid state memory module
CN205028659U (en) Solid state hard drives with life -span alarm function
CN109491604A (en) A kind of processing method of disk identifier of hard disk replication problem, apparatus and system
CN206451008U (en) A kind of MCU driving LCD display module circuits
CN101609405A (en) Computer starting-up selection device, computer starting-up selection method and computer system
TWI226995B (en) Data transfer device of portable storage medium and operation method thereof
CN219016998U (en) USB flash disk capable of circularly lighting LED lamp
TWI818546B (en) Driving device
CN209842686U (en) Novel USB flash disk without energy storage module for keeping display information

Legal Events

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