A storage device includes a control unit, a first voltage supply unit for supplying a first working voltage to the control unit, n memory units, a second voltage supply unit for supplying a second working voltage to each memory unit, a logic gate, a first voltage detecting unit and a second voltage detecting unit. Once the first voltage detecting unit detects that the first working voltage of the control unit is abnormal, the logic gate outputs a first write protect signal to notify the control unit and control the memory units to enter a write protect mode. Once the second voltage detecting unit detects that the second working voltage of one or more memory units is abnormal, the logic gate outputs a second write protect signal to notify the control unit and control the one or more memory units to enter the write protect mode.
|
12. A storage device comprising:
a first voltage supply unit for supplying a first working voltage to a control unit through a logic gate; and
a second voltage supply unit for supplying a second working voltage to each of n memory units through the logic gate, wherein n is a positive integer;
wherein once the first working voltage is abnormal, the logic gate outputs a first write protect signal to notify the control unit and control the n memory units to enter a write protect mode; once the second working voltage is abnormal, the logic gate outputs a second write protect signal to notify the control unit and control at least a part of the n memory units to enter the write protect mode.
7. A method for operating a storage device comprising:
utilizing a first voltage supply unit to supply a first working voltage to a control unit via a logic gate; and
utilizing a second voltage supply unit to supply a second working voltage to n memory units via the logic gate;
wherein once the first working voltage is abnormal, the logic gate outputs a first write protect signal to notify the control unit and control the n memory units to enter a write protect mode; once the second working voltage is abnormal, the logic gate outputs a second write protect signal to notify the control unit and control M memory units to enter the write protect mode, M is a positive integer less than or equal to n.
1. A storage device comprising:
a first voltage supply unit for supplying a first working voltage to a control unit through a logic gate;
a second voltage supply unit for supplying a second working voltage to each of n memory units through the logic gate, wherein n is a positive integer;
a first voltage detecting unit, electrically connected to the first voltage supply unit, for detecting whether the first working voltage is normal; and
a second voltage detecting unit, electrically connected to the second voltage supply unit, for detecting whether the second working voltage is normal;
wherein once the first working voltage is abnormal, the logic gate outputs a first write protect signal to notify the control unit and control the n memory units to enter a write protect mode; once the second working voltage is abnormal, the logic gate outputs a second write protect signal to notify the control unit and control at least a part of the n memory units to enter the write protect mode.
2. The storage device of
3. The storage device of
5. The storage device of
8. The method of
utilizing a first voltage detecting unit to detect whether the first working voltage is abnormal.
9. The method of
utilizing a second voltage detecting unit to detect whether the second working voltage is abnormal.
10. The method of
utilizing a second voltage detecting unit to detect whether the second working voltage is abnormal.
11. The method of
13. The storage device of
14. The storage device of
15. The storage device of
16. The storage device of
|
1. Field of the Invention
The application relates to a storage device and a method for operating the storage device and, more particularly, to a storage device capable of detecting whether a working voltage of a control unit and a working voltage of a memory unit are normal. Once the working voltage of the control unit and/or the working voltage of the memory unit are abnormal, a logic gate is utilized to notify the control unit to take related measures and control the memory unit to enter a write protect mode.
2. Description of the Prior Art
A solid state drive (i.e. solid state disk, SSD) is a new generation storage device based on a non-volatile memory, such as a standard NAND flash memory, for replacing a conventional hard disk device. There are no rotatable disk-shaped structures, read/write heads, step motors and soon in the solid state drive. The solid state drive has advantages of low power consumption, no noise, vibration-resistant, and low heat generation. Furthermore, the solid state drive can be used to simulate a conventional hard disk device through a control chip and an IDE interface.
With the development of manufacturing technology, power consumption of the NAND flash memory is getting larger with larger capacity of the NAND flash memory. Since the conventional solid state drive utilizes one single voltage supply unit to supply working voltage to the controller and NAND flash memory, it may cause an abnormal working voltage in the controller, especially for the solid state drive with high capacity, so as to lead an error in accessing data.
Therefore, an objective of the application is to provide a storage device and a method for operating the storage device. The storage device utilizes different voltage supply units to supply working voltages to a control unit and a memory unit respectively in operation. Furthermore, the storage device is capable of detecting whether the working voltage of the control unit and the working voltage of the memory unit are normal.
According to one embodiment, a storage device of the application comprises a control unit, a first voltage supply unit, N memory units, a second voltage supply unit, a logic gate, a first voltage detecting unit and a second voltage detecting unit, wherein N is a positive integer. The first voltage supply unit is electrically connected to the control unit and used for supplying a first working voltage to the control unit. The second voltage supply unit is electrically connected to the N memory units and used for supplying a second working voltage to each memory unit. The logic gate is electrically connected to the control unit and the N memory units. The first voltage detecting unit is electrically connected to the control unit and the logic gate and used for detecting whether the first working voltage of the control unit is normal. The second voltage detecting unit is electrically connected to the N memory units and the logic gate and used for detecting whether the second working voltage of each memory unit is normal.
Once the first working voltage of the control unit is abnormal, the logic gate outputs a first write protect signal to notify the control unit and control the N memory units to enter a write protect mode. Once the second working voltage of M memory units of the N memory units is abnormal, the logic gate outputs a second write protect signal to notify the control unit and control at least a part of the N memory units to enter the write protect mode.
According to another embodiment, a method of the application for operating a storage device comprises: utilizing a first voltage supply unit to supply a first working voltage to a control unit via a logic gate; and utilizing a second voltage supply unit to supply a second working voltage to N memory units via the logic gate. Once the first working voltage is abnormal, the logic gate outputs a first write protect signal to notify the control unit and control the N memory units to enter a write protect mode. Once the second working voltage is abnormal, the logic gate outputs a second write protect signal to notify the control unit and control M memory units to enter the write protect mode, wherein M is a positive integer less than or equal to N.
As mentioned in the above, the storage device and the method for operating the storage device of the application utilize two voltage supply units to respectively supply the working voltages to the control unit and the memory units in operation and utilize two voltage detecting units to respectively detect whether the working voltage of the control unit and the working voltage of the memory units are normal. Once the working voltage of the control unit and/or the working voltage of the memory units are abnormal, the logic gate is utilized to notify the control unit to take related measures and control the memory units to entire the write protect mode.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Referring to
The logic gate 18 is electrically connected to the control unit 10 and each memory unit 14. The first voltage detecting unit 20 is electrically connected to the control unit 10 and the logic gate 18. The second voltage detecting unit 22 is electrically connected to each memory unit 14 and the logic gate 18. The first voltage supply unit 12 is electrically connected to the first voltage detecting unit 20, so as to be electrically connected to the control unit 10. The second voltage supply unit 16 is electrically connected to the second voltage detecting unit 22, so as to be electrically connected to each memory unit 14.
In this embodiment, the first voltage supply unit 12 is used to supply a first working voltage V1 to the control unit 10, and the second voltage supply unit 16 is used to supply a second working voltage V2 to each memory unit 14. The first voltage detecting unit 20 is used to detect whether the first working voltage V1 of the control unit 10 is normal, and the second voltage detecting unit 22 is used to detect whether the second working voltage V2 of each memory unit 14 is normal. Once the first working voltage V1 of the control unit 10 is abnormal, the logic gate 18 outputs a first write protect signal WP1 to notify the control unit 10 and control each memory unit 14 to enter a write protect mode. Once the second working voltage V2 of one or more memory units 14 is abnormal, the logic gate 18 outputs a second write protect signal WP2 to notify the control unit 10 and control the one or more memory units 14 to enter the write protect mode.
As shown in
During time t1 to t2, the first working voltage V1 is lower than the first threshold voltage Vth1, and the second working voltage V2 is higher than the second threshold voltage Vth2. At this time, the first working voltage detecting unit 20 detects that the first working voltage V1 of the control unit 10 is abnormal and then outputs a low voltage signal to the logic gate 18. At the same time, the second voltage detecting unit 22 detects that the second working voltage V2 of each memory unit 14 is normal and then outputs a high voltage signal to the logic gate 18. Since the voltage signal outputted by the first voltage detecting unit 20 is low, and the voltage signal outputted by the second voltage detecting unit 22 is high, the logic gate 18 outputs a low voltage signal to the control unit 10 and each memory unit 14 (the logic gate 18 is an AND gate in this embodiment). At this time, the logic gate 18 outputs a first write protect signal WP1 (i.e. low voltage signal) to notify the control unit 10 to temporarily stop accessing each memory unit 14 and control each memory unit 14 to enter the write protect mode.
During time t3 to t4, the first working voltage V1 is higher than the first threshold voltage Vth1, and the second working voltage V2 is lower than the second threshold voltage Vth2. At this time, the first voltage detecting unit 20 detects that the first working voltage V1 of the control 10 is normal and then outputs a high voltage signal to the logic gate 18. At the same time, the second voltage detecting unit 22 detects that the second working voltage V2 of one or more memory units 14 is abnormal and then outputs a low voltage signal to the logic gate 18. Since the voltage signal outputted by the first voltage detecting unit 20 is high, and the voltage signal outputted by the second voltage detecting unit 22 is low, the logic gate 18 outputs a low voltage signal to the control unit 10 and the one or more abnormal memory units 14 (the logic gate 18 is an AND gate in this embodiment). At this time, the logic gate 18 outputs a second write protect signal WP2 (i.e. low voltage signal) to notify the control unit 10 to temporarily stop accessing the one or more abnormal memory units 14 and control the one or more abnormal memory units 14 to enter the write protect mode.
It should be noted that if the first working voltage V1 is lower than the first threshold voltage Vth1 and the second working voltage V2 is also lower than the second threshold voltage Vth2, the first voltage detecting unit 20 detects that the first working voltage V1 of the control unit 10 is abnormal, and the second voltage detecting unit 22 also detects that the second working voltage V2 of one or more memory units 14 is abnormal. At this time, the first voltage detecting unit 20 outputs a low voltage signal to the logic gate 18, and the second voltage detecting unit 22 also outputs a low voltage signal to the logic gate 18. Since the voltage signal outputted by the first voltage detecting unit 20 is low, and the voltage signal outputted by the second voltage detecting unit 22 is also low, the logic gate 18 outputs a low voltage signal to the control unit 10 and the one or more abnormal memory units 14 (the logic gate 18 is an AND gate in this embodiment). At this time, the logic gate 18 outputs a write protect signal (i.e. low voltage signal) to notify the control unit 10 to temporarily stop accessing each memory unit 14 and control each memory unit 14 to enter the write protect mode.
When the first working voltage and/or the second working voltage recover from abnormal to normal, the first voltage detecting unit 20 and the second voltage detecting unit 22 will output high voltage signals to the logic gate 18, such that the control unit 10 and each memory unit 14 work normally.
Referring to
It should be noted that the circuit design of the storage device 1 of the application can be determined based on practical application, and it is not limited to the circuit design shown in
Referring to
Compared to the conventional art, the storage device and the method for operating the storage device of the application utilize two voltage supply units to respectively supply the working voltages to the control unit and the memory units in operation and utilize two voltage detecting units to respectively detect whether the working voltage of the control unit and the working voltage of the memory units are normal. Once the working voltage of the control unit and/or the working voltage of the memory units are abnormal, the logic gate is utilized to notify the control unit to take related measures and control the memory units to entire the write protect mode. Accordingly, the application can effectively prevent errors in accessing data.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Chen, Tsang-Yi, Chiu, Chih-Heng, Shu, Chung-Won, Huang, Fu-Yin, Chen, Chung-Jwu
Patent | Priority | Assignee | Title |
9819223, | Nov 11 2013 | Samsung Electronics Co., Ltd. | Power supply device and power supply method using the same |
Patent | Priority | Assignee | Title |
5586077, | Dec 31 1993 | Micron Technology, Inc | Circuit device and corresponding method for resetting non-volatile and electrically programmable memory devices |
6160431, | Jan 06 1998 | XILINX, Inc. | Power-on reset circuit for dual supply voltages |
6335877, | Feb 16 2000 | Hyundai Electronics Industries Co., Ltd. | Driving circuit of nonvolatile ferroelectric memory device and method for driving the same |
6879193, | Feb 28 2002 | PANASONIC SEMICONDUCTOR SOLUTIONS CO , LTD | Semiconductor integrated circuit and its reset method |
7019417, | Jul 22 2002 | Hynix Semiconductor Inc | Power-on reset circuit with current detection |
7408475, | Mar 27 2006 | Fujitsu Limited | Power supply monitoring device |
7439782, | Jun 29 2005 | Kabushiki Kaisha Toshiba | Semiconductor integrated circuit device with power-on reset circuit for detecting the operating state of an analog circuit |
7570091, | Nov 20 2006 | LAPIS SEMICONDUCTOR CO , LTD | Power-on reset circuit |
7696795, | Oct 31 2006 | Hynix Semiconductor Inc. | Power-on reset circuit |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Aug 22 2010 | HUANG, FU-YIN | TRANSCEND INFORMATION, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 024888 | /0256 | |
Aug 22 2010 | CHEN, CHUNG-JWU | TRANSCEND INFORMATION, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 024888 | /0256 | |
Aug 22 2010 | CHEN, TSANG-YI | TRANSCEND INFORMATION, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 024888 | /0256 | |
Aug 22 2010 | CHIU, CHIH-HENG | TRANSCEND INFORMATION, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 024888 | /0256 | |
Aug 22 2010 | SHU, CHUNG-WON | TRANSCEND INFORMATION, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 024888 | /0256 | |
Aug 25 2010 | Transcend Information, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jun 03 2015 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 29 2019 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
May 31 2023 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
May 29 2015 | 4 years fee payment window open |
Nov 29 2015 | 6 months grace period start (w surcharge) |
May 29 2016 | patent expiry (for year 4) |
May 29 2018 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 29 2019 | 8 years fee payment window open |
Nov 29 2019 | 6 months grace period start (w surcharge) |
May 29 2020 | patent expiry (for year 8) |
May 29 2022 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 29 2023 | 12 years fee payment window open |
Nov 29 2023 | 6 months grace period start (w surcharge) |
May 29 2024 | patent expiry (for year 12) |
May 29 2026 | 2 years to revive unintentionally abandoned end. (for year 12) |