KR101506675B1 - User device with auxiliary power supply - Google Patents
User device with auxiliary power supply Download PDFInfo
- Publication number
- KR101506675B1 KR101506675B1 KR1020080124615A KR20080124615A KR101506675B1 KR 101506675 B1 KR101506675 B1 KR 101506675B1 KR 1020080124615 A KR1020080124615 A KR 1020080124615A KR 20080124615 A KR20080124615 A KR 20080124615A KR 101506675 B1 KR101506675 B1 KR 101506675B1
- Authority
- KR
- South Korea
- Prior art keywords
- auxiliary power
- mode
- power supply
- power
- data
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2015—Redundant power supplies
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
- G06F1/305—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/85—Active fault masking without idle spares
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Power Sources (AREA)
Abstract
본 발명에 따른 사용자 장치는 상기 사용자 장치에 전원을 공급하기 위한 메인 전원 장치 및 상기 메인 전원 장치의 서든 파워 오프 시에, 상기 사용자 장치에 전원을 공급하기 위한 보조 전원 장치를 포함한다. 여기에서 상기 보조 전원 장치는 전원 공급 양에 따라 모드 설정을 하는 것을 특징으로 한다. 본 발명은 슈퍼 캐패시터의 전원 공급 양에 따라 모드 설정을 하고, 모드 설정에 따라 데이터 관리를 수행함으로, 서든 파워 오프 시에 데이터 손실을 방지할 수 있을 뿐만 아니라, 보조 전원을 최대한 활용할 수 있다. The user equipment according to the present invention includes a main power unit for supplying power to the user equipment and an auxiliary power unit for supplying power to the user equipment when the main power unit is powered off. Here, the auxiliary power unit is configured to set a mode according to the amount of power supplied. According to the present invention, the mode is set according to the power supply amount of the supercapacitor and the data management is performed according to the mode setting, so that it is possible not only to prevent data loss at power-off, but also to utilize the auxiliary power as much as possible.
Description
본 발명은 사용자 장치(user device)에 관한 것으로, 좀 더 구체적으로는 보조 전원 장치를 갖는 사용자 장치에 관한 것이다.The present invention relates to a user device, and more particularly to a user device having an auxiliary power supply.
사용자 장치(user device)는 퍼스널 컴퓨터, 디지털 카메라, 캠코더, 휴대 전화 등과 같은 전자 장치들뿐만 아니라, 메모리 카드 등과 같은 저장 장치를 포함한다. 이들 사용자 장치는 대부분 내부적으로 데이터를 저장하기 위한 메모리 장치를 가지고 있다. A user device includes storage devices such as memory cards as well as electronic devices such as personal computers, digital cameras, camcorders, cellular phones and the like. Most of these user devices have a memory device for internally storing data.
메모리 장치에는 DRAM, SRAM 등과 같은 휘발성 메모리와 EEPROM, FRAM, PRAM, MRAM, Flash Memory 등과 같은 불휘발성 메모리 등이 있다. 휘발성 메모리는 전원이 차단될 때 저장된 데이터를 잃지만, 불휘발성 메모리는 전원이 차단되더라도 저장된 데이터를 보존한다. The memory devices include volatile memories such as DRAM and SRAM, and nonvolatile memories such as EEPROM, FRAM, PRAM, MRAM, and Flash Memory. The volatile memory loses the stored data when the power is turned off, but the nonvolatile memory preserves the stored data even when the power is turned off.
사용자 장치는 전원 장치(power supply)로부터 전원을 공급받는다. 여기에서, 전원 장치는 110V, 220V 등과 같은 가정용 또는 사업용 전원일 수도 있고, 사용자 장치 내부에 있는 어댑터나 충전 장치일 수도 있다. 사용자 장치는 전 원 장치의 갑작스런 파워 오프(이하, 서든 파워 오프라 함)로 인해, 데이터 손실 등과 같은 치명적인 손상을 입을 수 있다.The user device is powered from a power supply. Here, the power source device may be a domestic or business power source such as 110V, 220V, etc., or may be an adapter or a charging device inside the user device. The user equipment may suffer catastrophic damage, such as data loss, due to sudden power-off of the power supply (hereinafter referred to as Sudden Power-Off).
예를 들면, 플래시 메모리 기반의 SSD 저장 장치에서는 메타 데이터나 캐시 데이터 등을 안전하게 보호해야 하는데, 서든 파워 오프로 인해 이들 데이터를 잃을 수 있다. 이러한 문제점을 해결하기 위해 전원 장치의 서든 파워 오프를 대비하기 위한 여러 기술이 개발되고 있다.For example, Flash memory-based SSD storage devices need to safeguard metadata and cache data, which can be lost due to power off. To solve these problems, various techniques have been developed to prepare for power-off of a power supply device.
본 발명의 목적은 전원 장치의 서든 파워 오프(SPO; sudden power off) 시에, 데이터를 효율적으로 관리할 수 있는 사용자 장치를 제공하는 데 있다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a user apparatus capable of efficiently managing data at a sudden power off (SPO) of a power supply apparatus.
본 발명의 실시 예에 따른 사용자 장치는 상기 사용자 장치에 전원을 공급하기 위한 메인 전원 장치; 및 상기 메인 전원 장치의 서든 파워 오프 시에, 상기 사용자 장치에 전원을 공급하기 위한 보조 전원 장치를 포함하되, 상기 보조 전원 장치는 전원 공급 양에 따라 모드 설정을 하는 것을 특징으로 한다.A user device according to an embodiment of the present invention includes a main power supply for supplying power to the user device; And an auxiliary power supply for supplying power to the user device when the main power supply is turned off, wherein the auxiliary power supply sets a mode according to an amount of power supply.
실시 예로서, 상기 보조 전원 장치는 상기 메인 전원 장치의 전원 레벨을 검출하기 위한 전원 검출기; 보조 전원을 저장하기 위한 슈퍼 캐패시터; 상기 보조 전원의 양을 측정하기 위한 감지기; 및 상기 전원 검출기의 검출 결과에 응답하여 동작하며, 상기 감지기에서 측정한 보조 전원의 양에 따라 모드 설정을 하는 제어기를 포함한다. 상기 제어기는 모드 설정을 위한 모드 레지스터를 포함한다.In an embodiment, the auxiliary power unit includes a power detector for detecting a power level of the main power unit; A supercapacitor for storing auxiliary power; A sensor for measuring the amount of the auxiliary power; And a controller operating in response to the detection result of the power detector and setting a mode according to the amount of the auxiliary power measured by the detector. The controller includes a mode register for mode setting.
실시 예로서, 상기 사용자 장치는 제 1 및 제 2 메모리 장치를 더 포함할 수 있다. 상기 보조 전원 장치는 모드 설정에 따라 상기 제 1 메모리 장치로부터 상기 제 2 메모리 장치로 데이터를 백업하기 위한 전원을 제공한다. 상기 보조 전원 장치는 상기 보조 전원의 양과 상기 백업할 데이터의 크기에 따라 모드 설정을 한다. 예로서, 상기 제 1 메모리 장치는 휘발성 메모리이고, 상기 제 2 메모리 장치는 불휘발성 메모리일 수 있다. In an embodiment, the user device may further comprise first and second memory devices. The auxiliary power supply provides power for backing up data from the first memory device to the second memory device in accordance with the mode setting. The auxiliary power unit sets a mode according to the amount of the auxiliary power and the size of data to be backed up. By way of example, the first memory device may be a volatile memory and the second memory device may be a non-volatile memory.
실시 예로서, 상기 보조 전원 장치는 모드 설정에 따라 캐시 데이터를 백업하는 페일 모드; 및 메타 데이터 및 캐시 데이터를 백업하는 성공 모드를 갖는다. 상기 보조 전원 장치는 상기 성공 모드로 설정되는 경우에, 상기 보조 전원의 양과 상기 백업할 데이터의 크기에 따라, 추가적인 메타 동작을 수행하기 위한 전원을 공급한다.In an embodiment, the auxiliary power unit includes a fail mode for backing up cache data according to a mode setting; And a success mode for backing up metadata and cache data. When the auxiliary power unit is set to the success mode, the auxiliary power unit supplies a power for performing an additional meta operation according to the amount of the auxiliary power and the size of the data to be backed up.
실시 예로서, 상기 보조 전원 장치가 상기 페일 모드로 설정되어 있는 경우에, 상기 메인 전원 장치가 동작하는 동안에 주기적으로 메타 데이터를 백업한다. 또는, 상기 보조 전원 장치가 상기 페일 모드로 설정되어 있는 경우에, 상기 보조 전원의 양과 상기 백업할 데이터의 크기에 따라, 상기 메인 전원 장치가 동작하는 동안에 주기적으로 메타 데이터를 백업함과 아울러 백업할 캐시 데이터의 크기를 조절할 수 있다. In an embodiment, when the auxiliary power unit is set to the fail mode, the main power unit periodically backs up metadata while the main power unit operates. Alternatively, when the auxiliary power unit is set to the fail mode, the main power unit periodically backs up and backs up the metadata according to the amount of the auxiliary power and the size of the data to be backed up The size of the cache data can be adjusted.
본 발명은 슈퍼 캐패시터의 전원 공급 양에 따라 모드 설정을 하고, 모드 설정에 따라 데이터 관리를 수행함으로, 서든 파워 오프 시에 데이터 손실을 방지할 수 있을 뿐만 아니라, 보조 전원을 최대한 활용할 수 있다. According to the present invention, the mode is set according to the power supply amount of the supercapacitor and the data management is performed according to the mode setting, so that it is possible not only to prevent data loss at power-off, but also to utilize the auxiliary power as much as possible.
이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 실시 예를 첨부된 도면을 참조하여 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, so that those skilled in the art can easily carry out the technical idea of the present invention.
도 1은 본 발명의 실시 예에 따른 사용자 장치(user device)를 보여주는 블록도이다. 도 1을 참조하면, 사용자 장치(100)는 데이터 버스 및 전원 라인(105), 휘발성 메모리(VM, 110), 불휘발성 메모리(NVM, 120), 중앙 처리 장치(CPU, 130), 메인 전원 장치(140), 그리고 보조 전원 장치(150)를 포함한다. 1 is a block diagram illustrating a user device according to an embodiment of the present invention. 1, a
사용자 장치(100)는 PC(Personal Computer), 노트북 컴퓨터, 휴대폰, PDA(Personal Digital Assistant), 그리고 카메라 등과 같은 전자 장치를 포함한다. 휘발성 메모리(VM, 110)는 전원이 차단될 때 데이터를 잃을 수 있는 메모리로, DRAM이나 SRAM 등이 있다. 불휘발성 메모리(NVM, 120)는 전원이 차단되더라도 데이터 보존할 수 있는 메모리로, EEPROM, FRAM, PRAM, MRAM, Flash Memory 등이 있다.The
사용자 장치(100)는 메인 전원 장치(140)의 서든 파워 오프(SPO; Sudden Power Off) 시에, 보조 전원 장치(150)를 사용하여 전원을 공급받는다. 사용자 장치(100)는 보조 전원 장치(150)를 사용함으로 서든 파워 오프(SPO; Sudden Power Off)로 인한 데이터 손실을 줄일 수 있다. The
도 1을 참조하면, 보조 전원 장치(150)는 전원 검출기(151), 슈퍼 캐패시터(152), 전하 감지기(153), 그리고 제어기(154)를 포함한다. 보조 전원 장치(150)는 전원 공급 양에 따라 모드 설정을 하기 위한 모드 레지스터(155)를 포함한다. 도 1에서, 모드 레지스터(155)는 제어기(154)에 포함되어 있으나, 제어기(154) 밖에 위치할 수도 있다.Referring to FIG. 1, the
전원 검출기(151)는 메인 전원 장치(140)의 전원 레벨을 검출한다. 전원 검출기(151)는 전원 레벨의 검출을 통해, 메인 전원 장치(140)가 노말 전원 상태(normal power status)인지 또는 SPO 검출 상태(SPO detect status)인지 등을 알아낸다. 전원 검출기(151)는 검출 결과를 제어기(154)로 제공한다. The
도 2는 도 1에 도시된 전원 검출기(151)의 검출 결과를 예시적으로 보여주는 타이밍도이다. 도 2를 참조하면, 사용자 장치(100)가 파워 온 되면, 전원 검출기(151)는 메인 전원 장치(140)가 노말 전원 상태에 있음을 제어기(154)에 알려준다. 메인 전원 장치(140)가 예기치 못한 사정으로 갑자기 파워 오프되면, 전원 검출기(151)는 메인 전원 장치(140)가 SPO 검출 상태에 있음을 제어기(154)에 알려준다. FIG. 2 is a timing diagram exemplarily showing a detection result of the
사용자 장치(100)는 노말 전원 상태에서는 슈퍼 캐패시터(152)를 충전하는 동작 등을 수행하고, SPO 검출 상태에서는 SPO 회복 동작 등을 수행한다. 노말 전원 상태 또는 SPO 검출 상태에서 수행되는 사용자 장치(100)의 동작은 도 4에서 상세하게 설명된다.The
다시 도 1을 참조하면, 보조 전원 장치(150)는 슈퍼 캐패시터(152)를 포함한다. 슈퍼 캐패시터(152)는 고용량의 전하를 보유할 수 있는 장치로서, 보조 전원을 저장하는데 사용된다. 슈퍼 캐패시터(152)는 메인 전원 장치(140)의 전원이 차단된 경우에, 보유 전하를 이용하여 일정 시간 동안, 사용자 장치(100)에 보조 전원을 제공한다. 슈퍼 캐패시터(152)는 사용자 장치(100)의 파워 업(power up) 시에 전하를 충전할 수 있을 뿐만 아니라, 메인 전원 장치(140)의 노말 동작 시에도 전하를 충전할 수 있다.Referring again to FIG. 1, the
슈퍼 캐패시터(152)의 전기 용량(capacitance)은 시간이 흐를수록 줄어드는 성질을 갖는다. 도 3은 슈퍼 캐패시터(152)의 사용 시간에 따른 전기 용량의 변화를 예시적으로 보여주는 그래프이다. 도 3에서, 가로축은 슈퍼 캐패시터(152)의 사용 시간을 나타내고, 세로축은 전기 용량을 나타낸다. 한편, 슈퍼 캐패시터(152)는 온도에 따라 전기 용량의 변화율이 달라지는 성질을 갖는다.The capacitance of the
도 3을 참조하면, A선과 B선은 각각 30℃와 70℃에서 슈퍼 캐패시터(152)의 전기 용량 변화를 예측한 결과를 보여준다. A선에 의하면, 슈퍼 캐패시터(152)의 전기 용량은 20년이 경과한 후에 약 10% 정도 줄어든다. B선에 의하면, 슈퍼 캐패시터(152)의 전기 용량은 10000시간이 경과한 후에 약 15% 정도 줄어든다.Referring to FIG. 3, the line A and the line B show the results of estimating the capacitance change of the
한편, C선은 70℃에서 1000시간 동안 슈퍼 캐패시터(152)의 전기 용량 변화를 측정한 결과를 보여준다. B선과 C선을 비교해 보면, 70℃에서 전기 용량 변화의 측정 결과와 예측 결과는 거의 비슷하다. C선에 의하면, 슈퍼 캐패시터(152)의 전기 용량은 1000시간이 경과한 후에 약 11% 정도 줄어든다.On the other hand, the C line shows the result of measuring the capacitance change of the
도 3에서 보는 바와 같이, 슈퍼 캐패시터(152)는 사용 시간 또는 온도에 따라 전기 용량(capacitance)이 줄어드는 성질을 갖는다. 보조 전원 장치(150)는 전 기 용량의 변화에 따라 보조 전원의 양이 줄어들거나, 전원 공급 시간이 줄어들 수 있다. 본 발명은 슈퍼 캐패시터(152)의 전원 공급 양에 따라 모드 설정을 하고, 모드 설정에 따라 데이터 관리를 수행함으로, 서든 파워 오프 시에 데이터 손실을 방지할 수 있을 뿐만 아니라, 보조 전원을 최대한 활용할 수 있다. As shown in FIG. 3, the
다시 도 1을 참조하면, 전하 감지기(153)는 슈퍼 캐패시터(152)의 보조 전원의 양을 측정한다. 전하 감지기(153)는 슈퍼 캐패시터(153)의 전기 용량 및 전압을 측정함으로, 슈퍼 캐패시터(153)에 저장된 전하의 양을 구할 수 있다. 슈퍼 캐패시터(152)의 보조 전원의 양은 전하 감지기(153) 이외의 다른 감지 수단을 이용해서 구할 수도 있다.Referring again to FIG. 1, the
제어기(154)는 전원 검출기(151)의 검출 결과에 응답하여 동작한다. 여기에서, 전원 검출기(151)의 검출 결과에는 노말 전원 상태(normal power status) 또는 서든 파워 오프 검출 상태(SPO detect status)가 포함된다. 한편, 제어기(154)는 전하 감지기(153)에서 측정한 보조 전원의 양에 따라 모드 설정을 한다. The
도 4는 도 1에 도시된 제어기(154)의 모드 설정 방법을 예시적으로 보여주기 위한 도표이다. 도 4를 참조하면, SPOR 모드는 전원 검출기(151)의 검출 결과에 따라 노말 전원 상태와 SPO 검출 상태로 구분될 수 있다. 그리고 SPOR 모드는 보조 전원의 양에 따라 크게 성공 모드(success mode)와 페일 모드(fail mode)로 구분될 수 있다.FIG. 4 is a diagram illustrating an exemplary mode setting method of the
도 4를 참조하면, 모드 레지스터(155)가 성공 모드로 설정되고, 서든 파워 오프가 발생한 경우에, SPO 검출 상태에서 메타 데이터와 캐시 데이터를 백업하는 동작이 수행된다. 메타 데이터 및 캐시 데이터는 휘발성 메모리(도 1 참조, 110)로부터 불휘발성 메모리(도 1 참조, 120)로 백업된다. Referring to FIG. 4, in the case where the
모드 레지스터(155)는 성공 모드와 더불어 추가 지원 모드(extra support mode)를 가질 수 있다. 추가 지원 모드는 보조 전원으로 메타 데이터와 캐시 데이터를 백업하더라도, 보조 전원이 추가적으로 남은 경우에 수행될 수 있다. 추가 지원 모드에서는 메타 동작(예를 들면, garbage collection) 등이 추가적으로 수행될 수 있다. 사용자 장치(도 1 참조, 100)는 추가 지원 모드를 이용함으로, 전원이 다시 공급되는 경우에 수행되는 초기화 동작 등을 줄일 수 있다.The
모드 레지스터(155)가 페일 모드로 설정되고, 서든 파워 오프가 발생한 경우에, SPO 검출 상태에서 캐시 데이터를 백업하는 동작이 수행된다. 그리고 노말 전원 상태에서는 주기적으로 메타 데이터를 백업하는 동작이 수행된다. 여기에서 페일 모드는 보조 전원의 양이 메타 데이터와 캐시 데이터를 모두 백업하기에 충분하지 않은 경우에 설정된다. The
사용자 장치(100)는 페일 모드로 설정된 경우에 노말 전원 상태에서 주기적으로 메타 데이터를 백업함으로 메타 데이터의 안정성을 최대한 확보할 수 있다. 그리고 사용자 장치(100)는 SPO 검출 상태에서 캐시 데이터를 백업함으로 캐시 데이터의 안정성을 우선적으로 확보할 수 있다. When the
모드 레지스터(155)는 페일 모드와 더불어 익스트림 페일 모드(extreme fail mode)를 가질 수 있다. 익스트림 페일 모드는 보조 전원으로 캐시 데이터를 백업하기에 충분하지 않은 경우에 수행될 수 있다. The
모드 레지스터(155)가 익스트림 페일 모드로 설정된 경우에, 노말 전원 상태에서는 주기적으로 메타 데이터를 백업하는 동작이 수행된다. 또한, 사용자 장치(100)는 노말 전원 상태에서 백업할 캐시 데이터의 크기를 조절함으로, SPO 검출 상태에서 캐시 데이터의 백업 실패를 방지할 수 있다.When the
다시 도 1을 참조하면, 제어기(154)는 보조 전원의 양을 알기 위하여 요구 신호(ASK)를 전하 감지기(153)로 보낸다. 전하 감지기(153)는 요구 신호(ASK)에 응답하여 슈퍼 캐패시터(152)에 저장된 보조 전원의 양을 나타내는 정보(INF)를 제어기(154)로 보낸다. 제어기(154)는 보조 전원의 양과 백업할 데이터의 크기에 따라 모드 설정을 할 수 있다. 모드 설정 결과는 모드 레지스터(155)에 저장된다.Referring again to FIG. 1, the
도 5는 도 1에 도시된 사용자 장치의 동작을 설명하기 위한 순서도이다. 이하에서는 도 1 내지 도 5를 참조하여, 도 1에 도시된 사용자 장치의 동작이 상세하게 설명된다.5 is a flowchart for explaining the operation of the user apparatus shown in FIG. Hereinafter, with reference to FIGS. 1 to 5, the operation of the user apparatus shown in FIG. 1 will be described in detail.
S110 단계에서, 사용자 장치(100)는 파워 온 되고, 메인 전원 장치(140)를 통해 전원이 공급된다. S120 단계에서, 슈퍼 캐패시터(152)는 충전된다. 슈퍼 캐패시터(152)는 파워 업 동작 시에 충전될 수도 있고, 노말 전원 상태에서 충전될 수도 있다.In step S110, the
S130 단계에서, 전하 감지기(153)는 슈퍼 캐패시터(152)에 충전된 전하량(Q; electric charge)을 측정한다. 전하 감지기(153)는 제어기(154)의 요구 신호(ASK)에 응답하여 충전된 전하량(Q) 또는 보조 전원의 양을 제어기(154)로 제공한다.In step S130, the
S140 단계에서, 제어기(154)는 휘발성 메모리(VM, 110)로부터 불휘발성 메모 리(NVM, 120)로 백업될 데이터의 크기(S)를 검출한다. 여기에서, 백업될 데이터는 메터 데이터 또는 캐시 데이터를 포함한다. 여기에서, S130 단계와 S140 단계는 동시에 수행되거나, 또는 순서가 바뀔 수도 있다.In step S140, the
S150 단계에서, 제어기(154)는 전하량(Q)과 데이터 크기(S)를 비교하고, 모드 설정을 한다. 모드 레지스터(155)는 전하량(Q)과 데이터 크기(S)에 따라, 메타 데이터 및 캐시 데이터를 백업할 수 있는 성공 모드와 캐시 데이터를 백업할 수 있는 페일 모드를 가질 수 있다. In step S150, the
모드 레지스터(155)는 성공 모드와 더불어 추가적인 메타 동작을 수행할 수 있는 추가 지원 모드를 더 가질 수 있다. 그리고 모드 레지스터(155)는 페일 모드와 더불어 캐시 데이터의 크기를 조절할 수 있는 익스트림 페일 모드를 더 가질 수 있다.The
S160 단계에서, 전원 검출기(151)는 메인 전원 장치(140)의 전원 레벨을 통해, 서든 파워 오프가 발생했는지를 판단한다. 서든 파워 오프가 발생하지 않았으면 노말 파워 상태에 따른 동작이 수행되고(S170), 서든 파워 오프가 발행한 경우라면 SPO 검출 상태에 따른 동작이 수행된다(S175).In step S160, the
S170 단계에서, 사용자 장치(100)는 모드 레지스터(155)에 설정된 SPOR 모드에 따라 노말 전원 상태에서의 동작을 수행한다. 즉, SPOR 모드가 페일 모드인 경우에는 주기적인 메타 데이터 백업 동작이 수행된다. 그리고 익스트림 페일 모드인 경우에는 주기적인 메타 데이터 백업 동작 이외에 캐시 데이터 크기 조절 동작이 수행된다.In step S170, the
S175 단계에서, 사용자 장치(100)는 모드 레지스터(155)에 설정된 SPOR 모드에 따라 SPO 검출 상태에서의 동작을 수행한다. 성공 모드인 경우에는 메타 및 캐시 데이터 백업 동작이 수행된다. 추가 지원 모드인 경우에는 메타 및 캐시 데이터 백업 동작 이외에 추가적인 메타 동작이 수행된다. 페일 모드 또는 익스트림 페일 모드인 경우에는 캐시 데이터 백업 동작이 수행된다. In step S175, the
S180 단계에서, 전원 검출기(151)는 정상적인 파워 오프 동작인지를 판단한다. 정상적인 파워 오프이면 종료된다. 파워 오프가 없으면, S130 단계 내지 S170 단계가 반복적으로 수행된다.In step S180, the
다시 도 1을 참조하면, 본 발명의 실시 예에 따른 사용자 장치(100)는 슈퍼 캐패시터(152)에 저장된 보조 전원의 양 및 백업할 데이터의 크기에 따라 모드 설정을 하고, 모드 설정에 따라 데이터 관리를 수행한다. 본 발명에 의하면, 서든 파워 오프 시에 데이터 손실을 방지할 수 있을 뿐만 아니라, 보조 전원을 최대한 활용함으로, 사용자 장치(100)의 성능을 향상시킬 수 있다. 1, the
도 6은 본 발명에 따른 사용자 장치의 다른 실시 예를 보여주는 블록도이다. 도 6을 참조하면, 사용자 장치(200)는 SSD 컨트롤러(210)와 불휘발성 메모리(220~223)를 포함한다. SSD 컨트롤러(210)는 CPU(211), ATA 인터페이스(212), SRAM 캐쉬(213), 플래시 인터페이스(214), 그리고 보조 전원 장치(215)를 포함한다.Figure 6 is a block diagram illustrating another embodiment of a user device in accordance with the present invention. Referring to FIG. 6, the
도 6에서는 사용자 장치(200) 중에서, 예로서 SSD(Solid State Drive)를 보여주고 있다. 최근 하드디스크 드라이브(HDD)를 교체해 나갈 것으로 예상되는 SSD 제품이 차세대 메모리 시장에서 각광을 받고 있다. SSD는 일반적인 하드 디스크 드라이브에서 사용되는 회전 접시 대신에 데이터를 저장하는데 플래시 메모리와 같은 메모리 칩들을 사용한 데이터 저장 장치이다. SSD는 기계적으로 움직이는 하드디스크 드라이브에 비해 속도가 빠르고 외부 충격에 강하며, 소비전력도 낮다는 장점을 가진다. FIG. 6 shows, for example, an SSD (Solid State Drive) among the
중앙처리장치(211)는 호스트(도시되지 않음)로부터 명령어를 전달받아 호스트로부터의 데이터를 플래시 메모리에 저장할지 혹은 플래시 메모리의 저장 데이터를 독출하여 호스트로 전송할 지의 여부를 결정하고 제어한다. The
ATA 인터페이스(212)는 상술한 중앙처리장치(211)의 제어에 따라 호스트 측과 데이터를 교환한다. ATA 인터페이스(212)는 호스트 측으로부터 명령어 및 어드레스를 패치하여 CPU 버스를 통해서 중앙처리장치(211)로 전달한다. ATA 인터페이스(212)를 통해 호스트로부터 입력되는 데이터나 호스트로 전송되어야 할 데이터는 중앙처리장치(211)의 제어에 따라 CPU 버스를 경유하지 않고 SRAM 캐시(213)를 통해 전달된다. 여기에서, ATA 인터페이스(212)는 SATA 또는 PATA 인터페이스로 구현할 수 있다.The
SRAM 캐시(213)는 호스트와 플래시 메모리들(220~223) 간의 캐시 데이터 (또는 메타 데이터)를 일시 저장한다. 또한, SRAM 캐시(213)는 중앙처리장치(211)에 의해서 운용될 프로그램을 저장하는 데에도 사용된다. SRAM 캐시(213)는 일종의 버퍼 메모리로 간주할 수 있으며, 반드시 SRAM으로 구성할 필요는 없다. The
플래시 인터페이스(214)는 불휘발성 메모리(220~223)와 데이터를 주고받는 다. 플래시 인터페이스(214)는 낸드 플래시 메모리, One-NAND 플래시 메모리, 혹은 멀티-레벨 플래시 메모리를 지원하도록 구성될 수 있다. 플래시 인터페이스(214)와 불휘발성 메모리는 제어 신호들(CE, CLE, ALE, WE, RE, RB) 및 데이터(DQ)를 주고 받는다.The
보조 전원 장치(215)는 SSD 컨트롤러(210) 내에 위치할 수도 있고, 밖에 위치할 수도 있다. 도 6에서는, 보조 전원 장치(215)가 SSD 컨트롤러(210) 내에 위치한 것을 보여주고 있다. 보조 전원 장치(215)는 도 1에 도시된 구성을 가지며, 그것과 동일한 방법으로 SPO 회복 동작 등을 수행한다. The
즉, 도 6에 도시된 사용자 장치(200)는 슈퍼 캐패시터에 저장된 보조 전원의 양 및 SRAM 캐쉬 (또는 버퍼 메모리)로부터 플래시 메모리로 백업할 데이터의 크기에 따라 모드 설정을 한다. 사용자 장치(200)는 모드 설정에 따라 데이터 관리를 수행함으로, 서든 파워 오프 시에 데이터 손실을 방지할 수 있다. 사용자 장치(200)는 슈퍼 캐패시터에 저장된 보조 전원을 최대한 활용함으로, 사용자 장치(200)의 성능을 향상시킬 수 있다. That is, the
본 발명의 범위 또는 기술적 사상을 벗어나지 않고 본 발명의 구조가 다양하게 수정되거나 변경될 수 있음은 이 분야에 숙련된 자들에게 자명하다. 상술한 내용을 고려하여 볼 때, 만약 본 발명의 수정 및 변경이 아래의 청구항들 및 동등물의 범주 내에 속한다면, 본 발명이 이 발명의 변경 및 수정을 포함하는 것으로 여겨진다.It will be apparent to those skilled in the art that the structure of the present invention can be variously modified or changed without departing from the scope or spirit of the present invention. In view of the foregoing, it is intended that the present invention cover the modifications and variations of this invention provided they fall within the scope of the following claims and equivalents.
도 1은 본 발명에 따른 사용자 장치를 예시적으로 보여주는 블록도이다.1 is a block diagram illustrating an exemplary user device in accordance with the present invention.
도 2는 도 1에 도시된 전원 검출기의 검출 결과를 예시적으로 보여주는 타이밍도이다.FIG. 2 is a timing diagram exemplarily showing the detection result of the power detector shown in FIG. 1; FIG.
도 3은 도 1에 도시된 슈퍼 캐패시터의 전기 용량 변화를 보여주는 그래프이다.3 is a graph showing a change in capacitance of the supercapacitor shown in FIG.
도 4는 도 1에 도시된 제어기의 모드 설정 방법을 예시적으로 보여주는 도표이다.4 is a diagram exemplarily showing a mode setting method of the controller shown in FIG.
도 5는 도 1에 도시된 사용자 장치의 동작을 설명하기 위한 순서도이다.5 is a flowchart for explaining the operation of the user apparatus shown in FIG.
도 6은 본 발명에 따른 사용자 장치의 다른 실시 예를 보여주는 블록도이다.Figure 6 is a block diagram illustrating another embodiment of a user device in accordance with the present invention.
Claims (10)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020080124615A KR101506675B1 (en) | 2008-12-09 | 2008-12-09 | User device with auxiliary power supply |
| US12/654,035 US8806271B2 (en) | 2008-12-09 | 2009-12-08 | Auxiliary power supply and user device including the same |
| US14/337,882 US9626259B2 (en) | 2008-12-09 | 2014-07-22 | Auxiliary power supply and user device including the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020080124615A KR101506675B1 (en) | 2008-12-09 | 2008-12-09 | User device with auxiliary power supply |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20100065999A KR20100065999A (en) | 2010-06-17 |
| KR101506675B1 true KR101506675B1 (en) | 2015-03-30 |
Family
ID=42365149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020080124615A Active KR101506675B1 (en) | 2008-12-09 | 2008-12-09 | User device with auxiliary power supply |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR101506675B1 (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018213103A1 (en) * | 2017-05-16 | 2018-11-22 | Micron Technology, Inc. | Providing energy information to memory |
| US10528264B2 (en) | 2016-11-04 | 2020-01-07 | Samsung Electronics Co., Ltd. | Storage device and data processing system including the same |
| US10649896B2 (en) | 2016-11-04 | 2020-05-12 | Samsung Electronics Co., Ltd. | Storage device and data processing system including the same |
| US11243709B2 (en) | 2019-08-22 | 2022-02-08 | SK Hynix Inc. | Data storage apparatus and operating method thereof |
| US11288189B2 (en) | 2019-09-20 | 2022-03-29 | SK Hynix Inc. | Memory controller and method of operating the same |
| US11487627B2 (en) | 2019-12-16 | 2022-11-01 | SK Hynix Inc. | Storage device and method of operating the same |
| US11734175B2 (en) | 2019-08-22 | 2023-08-22 | SK Hynix Inc. | Storage device and method of operating the same |
| US11762769B2 (en) | 2019-09-20 | 2023-09-19 | SK Hynix Inc. | Memory controller based on flush operation and method of operating the same |
| US12181983B2 (en) | 2022-12-13 | 2024-12-31 | SK Hynix Inc. | Data storage device, memory controller and method of operating the same |
| US12287979B2 (en) | 2023-07-31 | 2025-04-29 | SK Hynix Inc. | Data storage apparatus and operating method thereof |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100257529A1 (en) * | 2009-04-06 | 2010-10-07 | Christopher Wilkerson | Efficient systems and methods for consuming and providing power |
| KR20120120706A (en) | 2011-04-25 | 2012-11-02 | 삼성전자주식회사 | Auxiliary power supply and user device including auxiliary power supply |
| KR102211867B1 (en) * | 2014-06-09 | 2021-02-04 | 삼성전자주식회사 | Auxiliary power supply device and nonvolatile memory system including the same |
| KR102189479B1 (en) | 2015-06-02 | 2020-12-11 | 엘에스일렉트릭(주) | A power supply apparatus |
| KR102523859B1 (en) | 2015-09-09 | 2023-04-21 | 삼성전자주식회사 | Electronic device for managing power and method for controlling thereof |
| KR102835726B1 (en) * | 2020-09-11 | 2025-07-18 | 에스케이하이닉스 주식회사 | Memory system and method for operating the same |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07160375A (en) * | 1993-12-08 | 1995-06-23 | Casio Comput Co Ltd | Data processing device |
| KR100235567B1 (en) | 1994-09-07 | 1999-12-15 | 미다라이 후지오 | Computer device |
| KR20030010282A (en) * | 2001-07-26 | 2003-02-05 | 삼성전자주식회사 | portable computer and control method therof |
-
2008
- 2008-12-09 KR KR1020080124615A patent/KR101506675B1/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07160375A (en) * | 1993-12-08 | 1995-06-23 | Casio Comput Co Ltd | Data processing device |
| KR100235567B1 (en) | 1994-09-07 | 1999-12-15 | 미다라이 후지오 | Computer device |
| KR20030010282A (en) * | 2001-07-26 | 2003-02-05 | 삼성전자주식회사 | portable computer and control method therof |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10528264B2 (en) | 2016-11-04 | 2020-01-07 | Samsung Electronics Co., Ltd. | Storage device and data processing system including the same |
| US10649896B2 (en) | 2016-11-04 | 2020-05-12 | Samsung Electronics Co., Ltd. | Storage device and data processing system including the same |
| US11397461B2 (en) | 2017-05-16 | 2022-07-26 | Micron Technology, Inc. | Providing energy information to memory |
| US10503241B2 (en) | 2017-05-16 | 2019-12-10 | Micron Technology, Inc. | Providing energy information to memory |
| WO2018213103A1 (en) * | 2017-05-16 | 2018-11-22 | Micron Technology, Inc. | Providing energy information to memory |
| US11720163B2 (en) | 2017-05-16 | 2023-08-08 | Micron Technology, Inc. | Providing energy information to memory |
| US12147287B2 (en) | 2017-05-16 | 2024-11-19 | Lodestar Licensing Group, Llc | Providing energy information to memory |
| US11243709B2 (en) | 2019-08-22 | 2022-02-08 | SK Hynix Inc. | Data storage apparatus and operating method thereof |
| US11734175B2 (en) | 2019-08-22 | 2023-08-22 | SK Hynix Inc. | Storage device and method of operating the same |
| US12158843B2 (en) | 2019-08-22 | 2024-12-03 | SK Hynix Inc. | Storage device and method of operating the same |
| US11288189B2 (en) | 2019-09-20 | 2022-03-29 | SK Hynix Inc. | Memory controller and method of operating the same |
| US11762769B2 (en) | 2019-09-20 | 2023-09-19 | SK Hynix Inc. | Memory controller based on flush operation and method of operating the same |
| US11487627B2 (en) | 2019-12-16 | 2022-11-01 | SK Hynix Inc. | Storage device and method of operating the same |
| US12181983B2 (en) | 2022-12-13 | 2024-12-31 | SK Hynix Inc. | Data storage device, memory controller and method of operating the same |
| US12287979B2 (en) | 2023-07-31 | 2025-04-29 | SK Hynix Inc. | Data storage apparatus and operating method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20100065999A (en) | 2010-06-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101506675B1 (en) | User device with auxiliary power supply | |
| US11216323B2 (en) | Solid state memory system with low power error correction mechanism and method of operation thereof | |
| US9841911B2 (en) | Green NAND device (GND) driver with DRAM data persistence for enhanced flash endurance and performance | |
| TWI519956B (en) | Nonvolatile memory system and related method of preserving stored data during power interruption | |
| CN107608908B (en) | Wear leveling method for data storage devices | |
| EP3872641B1 (en) | Storage device and method of operating the storage device | |
| US9164833B2 (en) | Data storage device, operating method thereof and data processing system including the same | |
| CN113196252B (en) | Repositioning data in memory at different transfer rates based on temperature | |
| US9824777B2 (en) | Storage system managing run-time bad cells | |
| US20090172255A1 (en) | Wear leveling method and controller using the same | |
| KR20110015273A (en) | User device with auxiliary power supply | |
| CN107544919B (en) | Data storage method of data storage device | |
| US9436267B2 (en) | Data storage device | |
| KR101678911B1 (en) | Data storage device and computing system including the same | |
| US20080235441A1 (en) | Reducing power dissipation for solid state disks | |
| US9443591B2 (en) | Storage device out-of-space handling | |
| CN104571933B (en) | Electronic device with solid-state storage element and related control method thereof | |
| US10489227B2 (en) | Memory system | |
| KR101503873B1 (en) | Auxiliary power supply and user equipment containing it | |
| JP5795758B2 (en) | Method for protecting data in non-volatile storage device | |
| KR101777810B1 (en) | Auxiliary power supply and user device including the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20081209 |
|
| PG1501 | Laying open of application | ||
| A201 | Request for examination | ||
| PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20131205 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 20081209 Comment text: Patent Application |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20140919 Patent event code: PE09021S01D |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20141224 |
|
| PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20150323 Patent event code: PR07011E01D |
|
| PR1002 | Payment of registration fee |
Payment date: 20150324 End annual number: 3 Start annual number: 1 |
|
| PG1601 | Publication of registration | ||
| FPAY | Annual fee payment |
Payment date: 20180228 Year of fee payment: 4 |
|
| PR1001 | Payment of annual fee |
Payment date: 20180228 Start annual number: 4 End annual number: 4 |
|
| FPAY | Annual fee payment |
Payment date: 20190228 Year of fee payment: 5 |
|
| PR1001 | Payment of annual fee |
Payment date: 20190228 Start annual number: 5 End annual number: 5 |
|
| FPAY | Annual fee payment |
Payment date: 20200228 Year of fee payment: 6 |
|
| PR1001 | Payment of annual fee |
Payment date: 20200228 Start annual number: 6 End annual number: 6 |
|
| PR1001 | Payment of annual fee |
Payment date: 20210225 Start annual number: 7 End annual number: 7 |
|
| PR1001 | Payment of annual fee |
Payment date: 20220223 Start annual number: 8 End annual number: 8 |
|
| PR1001 | Payment of annual fee |
Payment date: 20230222 Start annual number: 9 End annual number: 9 |
|
| PR1001 | Payment of annual fee |
Payment date: 20240227 Start annual number: 10 End annual number: 10 |
|
| PR1001 | Payment of annual fee |
Payment date: 20250225 Start annual number: 11 End annual number: 11 |