TW201528261A - Hard disk drive having using time indication function - Google Patents

Hard disk drive having using time indication function Download PDF

Info

Publication number
TW201528261A
TW201528261A TW102146316A TW102146316A TW201528261A TW 201528261 A TW201528261 A TW 201528261A TW 102146316 A TW102146316 A TW 102146316A TW 102146316 A TW102146316 A TW 102146316A TW 201528261 A TW201528261 A TW 201528261A
Authority
TW
Taiwan
Prior art keywords
pin
hard disk
chip
time
single chip
Prior art date
Application number
TW102146316A
Other languages
Chinese (zh)
Inventor
Kang Wu
Bo Tian
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102146316A priority Critical patent/TW201528261A/en
Publication of TW201528261A publication Critical patent/TW201528261A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

A hard disk drive (HHD) includes a control chip, a storage chip connected to the control chip, a microprocessor, a nixie tube, and first to twelfth resistors. First to third input output (I/O) pins of the control chip are connected to first to third input pins of the microprocessor through the first to third resistors, respectively. A first voltage pin of the microprocessor is connected to a first power source and also connected to a second power source through the fourth resistor. A second voltage pin of the microprocessor is connected to the second power source. First to eighth output pins of the microprocessor are respectively connected to tenth pin, ninth pin, eighth pin, fifth pin, fourth pin, second pin, third pin, and seventh pin of the nixie tube through the fifth to twelfth resistors. First and sixth pins of the nixie tube are connected to the second power source.

Description

具有使用時間指示功能的硬碟Hard disk with time indication function

本發明係關於一種具有使用時間指示功能的硬碟。The present invention relates to a hard disk having a time indication function.

目前,硬碟已經被廣泛的使用在電腦系統中用以擴展電腦系統的存儲容量,然而,當硬碟的使用時間到達一定程度時可能造成工作不穩定,甚至引起電腦系統資料無法存儲而丟失,因此,使用者需要及時瞭解硬碟的使用時間,以此防止硬碟使用時間過長而引起電腦系統故障。At present, hard disks have been widely used in computer systems to expand the storage capacity of computer systems. However, when the usage time of the hard disk reaches a certain level, the operation may be unstable, and even the computer system data may not be stored and lost. Therefore, the user needs to know the usage time of the hard disk in time to prevent the hard disk from being used for a long time and causing the computer system to malfunction.

鑒於上述內容,有必要提供一種具有使用時間指示功能的硬碟,可以將硬碟的使用時間進行顯示。In view of the above, it is necessary to provide a hard disk having a time indication function, which can display the usage time of the hard disk.

一種具有使用時間指示功能的硬碟,包括一主控晶片、一存儲晶片、一單片機、一數碼管及第一至第十二電阻,該主控晶片連接該存儲晶片,用於控制該存儲晶片進行資料讀寫,該主控晶片的第一輸入輸出引腳經該第一電阻連接該單片機的第一輸入引腳,該主控晶片的第二輸入輸出引腳經該第二電阻連接該單片機的第二輸入引腳,該主控晶片的第三輸入輸出引腳經該第三電阻連接該單片機的第三輸入引腳,該單片機的第一電壓引腳連接一第一電壓源及經該第四電阻連接一第二電壓源,該單片機的第二電壓引腳連接該第二電壓源,該單片機的第一至第八輸出引腳分別經該第五至第十二電阻連接該數碼管的第十引腳、第九引腳、第八引腳、第五引腳、第四引腳、第二引腳、第三引腳及第七引腳,該數碼管的第一及第六引腳均連接該第二電壓源;工作時,該主控晶片讀取內部記憶體中存儲的該硬碟的上電時間並以存儲的上電時間為基礎對該硬碟此次的上電時間進行記錄並將其存儲在內部記憶體中,同時該主控晶片根據記錄的上電時間透過該第一至第三輸入輸出引腳輸出一控制訊號給該單片機,該單片機將接收到的控制訊號解析後控制該數碼管將該硬碟的使用時間進行顯示。A hard disk having a time indication function includes a master chip, a memory chip, a single chip microcomputer, a digital tube and first to twelfth resistors, and the master wafer is connected to the memory chip for controlling the memory chip Performing data reading and writing, the first input/output pin of the main control chip is connected to the first input pin of the single chip via the first resistor, and the second input/output pin of the main control chip is connected to the single chip via the second resistor a second input pin, the third input/output pin of the main control chip is connected to the third input pin of the single chip via the third resistor, and the first voltage pin of the single chip is connected to a first voltage source and The fourth resistor is connected to a second voltage source, and the second voltage pin of the single chip is connected to the second voltage source, and the first to eighth output pins of the single chip are connected to the digital tube via the fifth to twelfth resistors respectively The tenth pin, the ninth pin, the eighth pin, the fifth pin, the fourth pin, the second pin, the third pin, and the seventh pin, the first and sixth of the digital tube Pins are connected to the second voltage source; The master control chip reads the power-on time of the hard disk stored in the internal memory and records the power-on time of the hard disk on the basis of the stored power-on time and stores it in the internal memory. At the same time, the main control chip outputs a control signal to the single chip through the first to third input and output pins according to the recorded power-on time, and the single chip microcomputer controls the received control signal to control the use of the hard disk by the digital tube. Time is displayed.

該具有使用時間指示功能的硬碟透過該主控晶片計算該硬碟的使用時間並將其存儲在內部記憶體中,同時透過該單片機及該數碼管將該硬碟的使用時間進行顯示,以方便使用者觀察。The hard disk having the use time indication function calculates the use time of the hard disk through the master control chip and stores it in the internal memory, and displays the use time of the hard disk through the single chip microcomputer and the digital tube to Convenient for the user to observe.

圖1是本發明具有使用時間指示功能的硬碟的較佳實施方式的電路圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a circuit diagram of a preferred embodiment of a hard disk having a time indication function of the present invention.

請參考圖1,本發明具有時間指示功能的硬碟1的較佳實施方式包括一主控晶片10、一存儲晶片11、一單片機12、一數碼管13及電阻R1-R12。該硬碟1上的其他電子元件與通常硬碟相同,在此不再贅述。Referring to FIG. 1, a preferred embodiment of the hard disk 1 with time indication function of the present invention includes a master wafer 10, a memory chip 11, a single chip microcomputer 12, a digital tube 13 and resistors R1-R12. The other electronic components on the hard disk 1 are the same as those of the conventional hard disk, and will not be described herein.

該主控晶片10連接該存儲晶片11,用於控制該存儲晶片11進行資料讀寫。該主控晶片10的輸入輸出引腳GPIO1經該電阻R1連接該單片機12的輸入引腳RC0。該主控晶片10的輸入輸出引腳GPIO2經該電阻R2連接該單片機12的輸入引腳RC1。該主控晶片10的輸入輸出引腳GPIO3經該電阻R3連接該單片機12的輸入引腳RC2。該單片機12的電壓引腳RE3連接一電壓源P5V_R及經該電阻R4連接一電壓源P5V。該單片機12的電壓引腳VDD連接該電壓源P5V。該單片機12的接地引腳VSS1及VSS2均接地。該單片機12的輸出引腳RA0-RA7分別經該電阻R5-R12連接該數碼管13的引腳10、9、8、5、4、2、3及7。該數碼管13的引腳1及2均連接該電壓源P5V。The master wafer 10 is connected to the memory wafer 11 for controlling the memory wafer 11 for reading and writing data. The input/output pin GPIO1 of the master wafer 10 is connected to the input pin RC0 of the microcontroller 12 via the resistor R1. The input/output pin GPIO2 of the master wafer 10 is connected to the input pin RC1 of the microcontroller 12 via the resistor R2. The input/output pin GPIO3 of the master wafer 10 is connected to the input pin RC2 of the microcontroller 12 via the resistor R3. The voltage pin RE3 of the single chip microcomputer 12 is connected to a voltage source P5V_R and connected to a voltage source P5V via the resistor R4. The voltage pin VDD of the microcontroller 12 is connected to the voltage source P5V. The ground pins VSS1 and VSS2 of the microcontroller 12 are both grounded. The output pins RA0-RA7 of the single chip microcomputer 12 are connected to the pins 10, 9, 8, 5, 4, 2, 3 and 7 of the digital tube 13 via the resistors R5-R12, respectively. Pins 1 and 2 of the digital tube 13 are connected to the voltage source P5V.

當該硬碟1上電時,該主控晶片10首先讀取其內部記憶體中存儲的上電時間,如0天(即該硬碟1之前沒有被使用過),並以該存儲的上電時間,如0天為基礎對該硬碟1此次的上電時間,如5天進行記錄並將記錄後的5天存儲在內部記憶體中,當該硬碟1再次上電時,該主控晶片10讀取其內部記憶體中存儲的上電時間,如5天(即該硬碟1之前被使用過的使用時間為5天),並以存儲的上電時間,如5天為基礎對該硬碟1此次的上電時間,如8天進行記錄並將記錄後的13天存儲在內部記憶體中,以此類推,以此獲得該硬碟1的使用時間。為了便於顯示,以滿1年為期限將該硬碟1的使用時間進行顯示。其中當該硬碟1的上電時間小於1年時,該主控晶片10判斷該硬碟1的使用時間為0年,當該硬碟1的上電時間大於1年而小於2年時,該主控晶片10判斷該硬碟1的使用時間為1年,當該硬碟1的上電時間大於2年而小於3年時,該主控晶片10判斷該硬碟1的使用時間為2年,當該硬碟1的上電時間大於3年而小於4年時,該主控晶片10判斷該硬碟1的使用時間為3年,當該硬碟1的上電時間大於4年而小於5年時,該主控晶片10判斷該硬碟1的使用時間為4年。同時該主控晶片10根據計算的上電時間輸出控制訊號給該單片機12,該單片機12將接收到的控制訊號解析後控制該數碼管13將該硬碟1的使用時間進行顯示。在其他實施方式中,透過設置該主控晶片10的連接該單片機12的輸入輸出引腳的數量來設置需要顯示的該硬碟1的使用時間。When the hard disk 1 is powered on, the master wafer 10 first reads the power-on time stored in its internal memory, such as 0 days (ie, the hard disk 1 has not been used before), and uses the stored The power time, such as 0 days, is based on the power-on time of the hard disk 1, such as 5 days, and the 5 days after the recording is stored in the internal memory, when the hard disk 1 is powered on again, The master wafer 10 reads the power-on time stored in its internal memory, such as 5 days (that is, the usage time used before the hard disk 1 is 5 days), and the stored power-on time, such as 5 days. Basically, the power-on time of the hard disk 1 is recorded, such as 8 days, and the 13 days after the recording is stored in the internal memory, and so on, thereby obtaining the usage time of the hard disk 1. In order to facilitate display, the use time of the hard disk 1 is displayed for a period of one year. When the power-on time of the hard disk 1 is less than 1 year, the master wafer 10 determines that the hard disk 1 is used for 0 years, and when the power-on time of the hard disk 1 is greater than 1 year and less than 2 years, The master wafer 10 determines that the hard disk 1 is used for one year. When the power-on time of the hard disk 1 is greater than two years and less than three years, the master wafer 10 determines that the hard disk 1 is used for two years. In the year, when the power-on time of the hard disk 1 is greater than 3 years and less than 4 years, the master wafer 10 determines that the hard disk 1 is used for 3 years, and when the hard disk 1 is powered on for more than 4 years. When less than 5 years, the master wafer 10 judges that the hard disk 1 is used for 4 years. At the same time, the main control chip 10 outputs a control signal to the single chip microcomputer 12 according to the calculated power-on time. The single chip microcomputer 12 controls the digital control unit 13 to display the used time of the hard disk 1 after the received control signal is parsed. In other embodiments, the usage time of the hard disk 1 to be displayed is set by setting the number of input and output pins of the main control chip 10 connected to the single chip microcomputer 12.

當該硬碟1的上電時間小於1年時,該主控晶片10的輸入輸出引腳GPIO1、GPIO2及GPIO3均輸出低電平訊號,即輸出的控制訊號為“000”,該控制訊號提供給該單片機12,該單片機12將接收到的控制訊號解析後控制該數碼管13顯示數位“0”,以指示該硬碟1的使用時間為0年。When the power-on time of the hard disk 1 is less than one year, the input and output pins GPIO1, GPIO2, and GPIO3 of the main control chip 10 output a low level signal, that is, the output control signal is "000", and the control signal is provided. The microcontroller 12 controls the digital tube 13 to display the digit “0” after the received control signal is parsed to indicate that the hard disk 1 is used for 0 years.

當該硬碟1的上電時間大於1年而小於2年時,該主控晶片10的輸入輸出引腳GPIO1及GPIO2均輸出低電平訊號、輸入輸出引腳GPIO3輸出一高電平訊號,即輸出的控制訊號為“001”,該控制訊號提供給該單片機12,該單片機12將接收到的控制訊號解析後控制該數碼管13顯示“1”,以指示該硬碟1的使用時間為1年。When the power-on time of the hard disk 1 is greater than 1 year and less than 2 years, the input and output pins GPIO1 and GPIO2 of the main control chip 10 output a low level signal, and the input and output pins GPIO3 output a high level signal. That is, the output control signal is "001", and the control signal is provided to the single chip microcomputer 12. The single chip microcomputer 12 controls the received digital control signal to display "1" to indicate that the hard disk 1 is used. 1 year.

當該硬碟1的上電時間大於2年而小於3年時,該主控晶片10的輸入輸出引腳GPIO1及GPIO3均輸出低電平訊號、輸入輸出引腳GPIO2輸出一高電平訊號,即輸出的控制訊號為“010”,該控制訊號提供給該單片機12,該單片機12將接收到的控制訊號解析後控制該數碼管13顯示“2”,以指示該硬碟1的使用時間為2年。When the power-on time of the hard disk 1 is greater than 2 years and less than 3 years, the input and output pins GPIO1 and GPIO3 of the main control chip 10 output a low level signal, and the input and output pins GPIO2 output a high level signal. That is, the output control signal is "010", and the control signal is provided to the single chip microcomputer 12. The single chip microcomputer 12 controls the digital control unit 13 to display "2" after the received control signal is parsed to indicate that the hard disk 1 is used. 2 years.

當該硬碟1的上電時間大於3年而小於4年時,該主控晶片10的輸入輸出引腳GPIO1輸出一低電平訊號、輸入輸出引腳GPIO2及GPIO3均輸出高電平訊號,即輸出的控制訊號為“011”,該控制訊號提供給該單片機12,該單片機12將接收到的控制訊號解析後控制該數碼管13顯示“3”,以指示該硬碟1的使用時間為3年。When the power-on time of the hard disk 1 is greater than 3 years and less than 4 years, the input and output pins GPIO1 of the main control chip 10 output a low level signal, and the input and output pins GPIO2 and GPIO3 both output a high level signal. That is, the output control signal is “011”, and the control signal is provided to the single-chip microcomputer 12. The single-chip microcomputer 12 controls the digital control unit 13 to display “3” after the received control signal is parsed to indicate that the hard disk 1 is used. 3 years.

當該硬碟1的上電時間大於4年而小於5年時,該主控晶片10的輸入輸出引腳GPIO1輸出一高電平訊號、輸入輸出引腳GPIO2 及GPIO3均輸出低電平訊號,即輸出的控制訊號為“100”,該控制訊號提供給該單片機12,該單片機12將接收到的控制訊號解析後控制該數碼管13顯示“4”,以指示該硬碟1的使用時間為4年。When the power-on time of the hard disk 1 is greater than 4 years and less than 5 years, the input and output pins GPIO1 of the main control chip 10 output a high level signal, and the input and output pins GPIO2 and GPIO3 both output a low level signal. That is, the output control signal is "100", and the control signal is provided to the single chip microcomputer 12. The single chip microcomputer 12 controls the digital tube 13 to display "4" after the received control signal is parsed to indicate that the hard disk 1 is used. 4 years.

該具有使用時間指示功能的硬碟1透過該主控晶片10計算該硬碟1的上電時間並將其存儲在內部記憶體中,同時透過該單片機12及該數碼管13將該硬碟1的使用時間進行顯示,以方便使用者觀察。The hard disk 1 having the use time indication function calculates the power-on time of the hard disk 1 through the master control chip 10 and stores it in the internal memory, and simultaneously drives the hard disk 1 through the single chip microcomputer 12 and the digital tube 13 The usage time is displayed for the convenience of the user.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本發明精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.

10‧‧‧主控晶片10‧‧‧Master chip

11‧‧‧存儲晶片11‧‧‧ memory chip

12‧‧‧單片機12‧‧‧MCU

13‧‧‧數碼管13‧‧‧ Digital Tube

R1-R12‧‧‧電阻R1-R12‧‧‧ resistance

P5V_R、P5V‧‧‧電壓源P5V_R, P5V‧‧‧ voltage source

no

10‧‧‧主控晶片 10‧‧‧Master chip

11‧‧‧存儲晶片 11‧‧‧ memory chip

12‧‧‧單片機 12‧‧‧MCU

13‧‧‧數碼管 13‧‧‧ Digital Tube

R1-R12‧‧‧電阻 R1-R12‧‧‧ resistance

P5V_R、P5V‧‧‧電壓源 P5V_R, P5V‧‧‧ voltage source

Claims (2)

一種具有使用時間指示功能的硬碟,包括一主控晶片、一存儲晶片、一單片機、一數碼管及第一至第十二電阻,該主控晶片連接該存儲晶片,用於控制該存儲晶片進行資料讀寫,該主控晶片的第一輸入輸出引腳經該第一電阻連接該單片機的第一輸入引腳,該主控晶片的第二輸入輸出引腳經該第二電阻連接該單片機的第二輸入引腳,該主控晶片的第三輸入輸出引腳經該第三電阻連接該單片機的第三輸入引腳,該單片機的第一電壓引腳連接一第一電壓源及經該第四電阻連接一第二電壓源,該單片機的第二電壓引腳連接該第二電壓源,該單片機的第一至第八輸出引腳分別經該第五至第十二電阻連接該數碼管的第十引腳、第九引腳、第八引腳、第五引腳、第四引腳、第二引腳、第三引腳及第七引腳,該數碼管的第一及第六引腳均連接該第二電壓源;工作時,該主控晶片讀取內部記憶體中存儲的該硬碟的上電時間並以存儲的上電時間為基礎對該硬碟此次的上電時間進行記錄並將其存儲在內部記憶體中,同時該主控晶片根據記錄的上電時間透過該第一至第三輸入輸出引腳輸出一控制訊號給該單片機,該單片機將接收到的控制訊號解析後控制該數碼管將該硬碟的使用時間進行顯示。A hard disk having a time indication function includes a master chip, a memory chip, a single chip microcomputer, a digital tube and first to twelfth resistors, and the master wafer is connected to the memory chip for controlling the memory chip Performing data reading and writing, the first input/output pin of the main control chip is connected to the first input pin of the single chip via the first resistor, and the second input/output pin of the main control chip is connected to the single chip via the second resistor a second input pin, the third input/output pin of the main control chip is connected to the third input pin of the single chip via the third resistor, and the first voltage pin of the single chip is connected to a first voltage source and The fourth resistor is connected to a second voltage source, and the second voltage pin of the single chip is connected to the second voltage source, and the first to eighth output pins of the single chip are connected to the digital tube via the fifth to twelfth resistors respectively The tenth pin, the ninth pin, the eighth pin, the fifth pin, the fourth pin, the second pin, the third pin, and the seventh pin, the first and sixth of the digital tube Pins are connected to the second voltage source; The master control chip reads the power-on time of the hard disk stored in the internal memory and records the power-on time of the hard disk on the basis of the stored power-on time and stores it in the internal memory. At the same time, the main control chip outputs a control signal to the single chip through the first to third input and output pins according to the recorded power-on time, and the single chip microcomputer controls the received control signal to control the use of the hard disk by the digital tube. Time is displayed. 如申請專利範圍第1項所述之具有使用時間指示功能的硬碟,其中該主控晶片、該存儲晶片、該單片機及該第一至第十二電阻均設置在該硬碟內的電路板上,該數碼管設置在該硬碟的殼體上。The hard disk having the use time indicating function according to claim 1, wherein the master chip, the memory chip, the single chip, and the first to twelfth resistors are disposed on a circuit board of the hard disk. The digital tube is disposed on the casing of the hard disk.
TW102146316A 2013-12-16 2013-12-16 Hard disk drive having using time indication function TW201528261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102146316A TW201528261A (en) 2013-12-16 2013-12-16 Hard disk drive having using time indication function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102146316A TW201528261A (en) 2013-12-16 2013-12-16 Hard disk drive having using time indication function

Publications (1)

Publication Number Publication Date
TW201528261A true TW201528261A (en) 2015-07-16

Family

ID=54198364

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102146316A TW201528261A (en) 2013-12-16 2013-12-16 Hard disk drive having using time indication function

Country Status (1)

Country Link
TW (1) TW201528261A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI557734B (en) * 2015-11-20 2016-11-11 宇帷國際股份有限公司 Solid state disk
TWI607433B (en) * 2015-11-20 2017-12-01 英信科技有限公司 Solid State Disk

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI557734B (en) * 2015-11-20 2016-11-11 宇帷國際股份有限公司 Solid state disk
TWI607433B (en) * 2015-11-20 2017-12-01 英信科技有限公司 Solid State Disk

Similar Documents

Publication Publication Date Title
EP2137621B1 (en) Accessing metadata with an external host
US8582388B1 (en) Serial advanced technology attachment dual in-line memory module (SATA DIMM) capable of preventing data loss
US20120117429A1 (en) Baseboard management controller and memory error detection method of computing device utilized thereby
US20130166809A1 (en) Drive circuit for peripheral component interconnect-express (pcie) slots
TW201528261A (en) Hard disk drive having using time indication function
US8374046B2 (en) Computing device and method for clearing data stored in complementary metal-oxide semiconductor chip
TW201328096A (en) Power protection circuit
TW201207603A (en) Fan rotating speed control system
JP2010515953A (en) Information processing apparatus and nonvolatile semiconductor memory drive
CN104977041A (en) Air humidity and temperature alarm
TW201327130A (en) Hard disk
US20140313873A1 (en) Detecting apparatus for hard disk drive
TW201310215A (en) Computer
CN101710491B (en) Disc array system for long-term data storage
CN104731685B (en) Computer system with hard disk time state instruction function
TW201531851A (en) Light controlling system and electronic device having same
CN202205245U (en) Watchdog circuit for driving record
TWI448880B (en) Power-on selecting circuit
CN205028663U (en) Solid state hard drives with erase safely with wrong protect function
CN104700870B (en) The hard disk of function is indicated with use time
CN205594619U (en) Data protection system for computer
TWI556111B (en) Logic circuit and method for controlling indicator light
CN207731267U (en) A kind of Flash data protection circuit
CN219781977U (en) Code scanning type voice broadcasting medicine box
US20140078688A1 (en) Switch circuit for serial advanced technology attachment connector