KR20100065999A - User device comprising auxiliary power supply - Google Patents
User device comprising auxiliary power supply Download PDFInfo
- Publication number
- KR20100065999A KR20100065999A KR1020080124615A KR20080124615A KR20100065999A KR 20100065999 A KR20100065999 A KR 20100065999A KR 1020080124615 A KR1020080124615 A KR 1020080124615A KR 20080124615 A KR20080124615 A KR 20080124615A KR 20100065999 A KR20100065999 A KR 20100065999A
- Authority
- KR
- South Korea
- Prior art keywords
- power supply
- auxiliary power
- mode
- power
- user device
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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
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)는 퍼스널 컴퓨터, 디지털 카메라, 캠코더, 휴대 전화 등과 같은 전자 장치들뿐만 아니라, 메모리 카드 등과 같은 저장 장치를 포함한다. 이들 사용자 장치는 대부분 내부적으로 데이터를 저장하기 위한 메모리 장치를 가지고 있다. User devices include electronic devices such as personal computers, digital cameras, camcorders, mobile phones, etc., as well as storage devices such as memory cards. Most of these user devices have memory devices for internally storing data.
메모리 장치에는 DRAM, SRAM 등과 같은 휘발성 메모리와 EEPROM, FRAM, PRAM, MRAM, Flash Memory 등과 같은 불휘발성 메모리 등이 있다. 휘발성 메모리는 전원이 차단될 때 저장된 데이터를 잃지만, 불휘발성 메모리는 전원이 차단되더라도 저장된 데이터를 보존한다. Memory devices include volatile memory such as DRAM and SRAM, and nonvolatile memory such as EEPROM, FRAM, PRAM, MRAM, and Flash Memory. Volatile memory loses its stored data when power is lost, while nonvolatile memory preserves its stored data even when power is lost.
사용자 장치는 전원 장치(power supply)로부터 전원을 공급받는다. 여기에서, 전원 장치는 110V, 220V 등과 같은 가정용 또는 사업용 전원일 수도 있고, 사용자 장치 내부에 있는 어댑터나 충전 장치일 수도 있다. 사용자 장치는 전 원 장치의 갑작스런 파워 오프(이하, 서든 파워 오프라 함)로 인해, 데이터 손실 등과 같은 치명적인 손상을 입을 수 있다.The user device is powered from a power supply. Here, the power supply device may be a home or business power supply such as 110V, 220V, or the like, or may be an adapter or a charging device inside the user device. The user device may be fatally damaged such as data loss due to sudden power off (hereinafter, referred to as sudden power off) of the power device.
예를 들면, 플래시 메모리 기반의 SSD 저장 장치에서는 메타 데이터나 캐시 데이터 등을 안전하게 보호해야 하는데, 서든 파워 오프로 인해 이들 데이터를 잃을 수 있다. 이러한 문제점을 해결하기 위해 전원 장치의 서든 파워 오프를 대비하기 위한 여러 기술이 개발되고 있다.For example, flash memory-based SSD storage devices need to secure metadata or cache data, which can be lost due to sudden power off. In order to solve this problem, various technologies have been developed to prepare for a sudden power off of a power supply.
본 발명의 목적은 전원 장치의 서든 파워 오프(SPO; sudden power off) 시에, 데이터를 효율적으로 관리할 수 있는 사용자 장치를 제공하는 데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a user device capable of efficiently managing data during sudden power off (SPO) of a power supply device.
본 발명의 실시 예에 따른 사용자 장치는 상기 사용자 장치에 전원을 공급하기 위한 메인 전원 장치; 및 상기 메인 전원 장치의 서든 파워 오프 시에, 상기 사용자 장치에 전원을 공급하기 위한 보조 전원 장치를 포함하되, 상기 보조 전원 장치는 전원 공급 양에 따라 모드 설정을 하는 것을 특징으로 한다.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 at the time of sudden power off of the main power supply, wherein the auxiliary power supply is configured to set a mode according to the amount of power supply.
실시 예로서, 상기 보조 전원 장치는 상기 메인 전원 장치의 전원 레벨을 검출하기 위한 전원 검출기; 보조 전원을 저장하기 위한 슈퍼 캐패시터; 상기 보조 전원의 양을 측정하기 위한 감지기; 및 상기 전원 검출기의 검출 결과에 응답하여 동작하며, 상기 감지기에서 측정한 보조 전원의 양에 따라 모드 설정을 하는 제어기를 포함한다. 상기 제어기는 모드 설정을 위한 모드 레지스터를 포함한다.In example embodiments, the auxiliary power supply may include: a power detector for detecting a power level of the main power supply; A super capacitor for storing auxiliary power; A detector for measuring the amount of the auxiliary power source; And a controller which operates in response to a detection result of the power detector and sets a mode according to the amount of 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 include 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 according to a mode setting. The auxiliary power supply sets a mode according to the amount of the auxiliary power and the size of the data to be backed up. For example, the first memory device may be a volatile memory, and the second memory device may be a nonvolatile memory.
실시 예로서, 상기 보조 전원 장치는 모드 설정에 따라 캐시 데이터를 백업하는 페일 모드; 및 메타 데이터 및 캐시 데이터를 백업하는 성공 모드를 갖는다. 상기 보조 전원 장치는 상기 성공 모드로 설정되는 경우에, 상기 보조 전원의 양과 상기 백업할 데이터의 크기에 따라, 추가적인 메타 동작을 수행하기 위한 전원을 공급한다.The auxiliary power supply may include a fail mode for backing up cache data according to a mode setting; And a success mode of backing up metadata and cache data. When the auxiliary power supply is set to the success mode, the auxiliary power supply supplies power for performing an additional meta operation according to the amount of the auxiliary power supply and the size of the data to be backed up.
실시 예로서, 상기 보조 전원 장치가 상기 페일 모드로 설정되어 있는 경우에, 상기 메인 전원 장치가 동작하는 동안에 주기적으로 메타 데이터를 백업한다. 또는, 상기 보조 전원 장치가 상기 페일 모드로 설정되어 있는 경우에, 상기 보조 전원의 양과 상기 백업할 데이터의 크기에 따라, 상기 메인 전원 장치가 동작하는 동안에 주기적으로 메타 데이터를 백업함과 아울러 백업할 캐시 데이터의 크기를 조절할 수 있다. In an embodiment, when the auxiliary power supply is set to the fail mode, metadata is periodically backed up while the main power supply is operating. Alternatively, when the auxiliary power supply is set to the fail mode, the metadata may be periodically backed up and backed up while the main power supply is operating according to the amount of the auxiliary power supply and the size of the data to be backed up. You can adjust the size of the cache data.
본 발명은 슈퍼 캐패시터의 전원 공급 양에 따라 모드 설정을 하고, 모드 설정에 따라 데이터 관리를 수행함으로, 서든 파워 오프 시에 데이터 손실을 방지할 수 있을 뿐만 아니라, 보조 전원을 최대한 활용할 수 있다. 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 data loss can be prevented at the time of sudden power-off, and the auxiliary power can be fully utilized.
이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 실시 예를 첨부된 도면을 참조하여 설명한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement 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 exemplary embodiment of the present invention. Referring to FIG. 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)에 알려준다. 2 is a timing diagram exemplarily illustrating 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 back 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, lines A and B show the results of predicting 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)로 구분될 수 있다.4 is a diagram for exemplarily illustrating a mode setting method of the
도 4를 참조하면, 모드 레지스터(155)가 성공 모드로 설정되고, 서든 파워 오프가 발생한 경우에, SPO 검출 상태에서 메타 데이터와 캐시 데이터를 백업하는 동작이 수행된다. 메타 데이터 및 캐시 데이터는 휘발성 메모리(도 1 참조, 110)로부터 불휘발성 메모리(도 1 참조, 120)로 백업된다. Referring to FIG. 4, when the
모드 레지스터(155)는 성공 모드와 더불어 추가 지원 모드(extra support mode)를 가질 수 있다. 추가 지원 모드는 보조 전원으로 메타 데이터와 캐시 데이터를 백업하더라도, 보조 전원이 추가적으로 남은 경우에 수행될 수 있다. 추가 지원 모드에서는 메타 동작(예를 들면, garbage collection) 등이 추가적으로 수행될 수 있다. 사용자 장치(도 1 참조, 100)는 추가 지원 모드를 이용함으로, 전원이 다시 공급되는 경우에 수행되는 초기화 동작 등을 줄일 수 있다.The
모드 레지스터(155)가 페일 모드로 설정되고, 서든 파워 오프가 발생한 경우에, SPO 검출 상태에서 캐시 데이터를 백업하는 동작이 수행된다. 그리고 노말 전원 상태에서는 주기적으로 메타 데이터를 백업하는 동작이 수행된다. 여기에서 페일 모드는 보조 전원의 양이 메타 데이터와 캐시 데이터를 모두 백업하기에 충분하지 않은 경우에 설정된다. When 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 back to FIG. 1, the
도 5는 도 1에 도시된 사용자 장치의 동작을 설명하기 위한 순서도이다. 이하에서는 도 1 내지 도 5를 참조하여, 도 1에 도시된 사용자 장치의 동작이 상세하게 설명된다.FIG. 5 is a flowchart for describing an operation of the user device illustrated in FIG. 1. Hereinafter, the operation of the user device illustrated in FIG. 1 will be described in detail with reference to FIGS. 1 to 5.
S110 단계에서, 사용자 장치(100)는 파워 온 되고, 메인 전원 장치(140)를 통해 전원이 공급된다. S120 단계에서, 슈퍼 캐패시터(152)는 충전된다. 슈퍼 캐패시터(152)는 파워 업 동작 시에 충전될 수도 있고, 노말 전원 상태에서 충전될 수도 있다.In operation S110, the
S130 단계에서, 전하 감지기(153)는 슈퍼 캐패시터(152)에 충전된 전하량(Q; electric charge)을 측정한다. 전하 감지기(153)는 제어기(154)의 요구 신호(ASK)에 응답하여 충전된 전하량(Q) 또는 보조 전원의 양을 제어기(154)로 제공한다.In operation S130, the
S140 단계에서, 제어기(154)는 휘발성 메모리(VM, 110)로부터 불휘발성 메모 리(NVM, 120)로 백업될 데이터의 크기(S)를 검출한다. 여기에서, 백업될 데이터는 메터 데이터 또는 캐시 데이터를 포함한다. 여기에서, S130 단계와 S140 단계는 동시에 수행되거나, 또는 순서가 바뀔 수도 있다.In operation 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 operation S170, the
S175 단계에서, 사용자 장치(100)는 모드 레지스터(155)에 설정된 SPOR 모드에 따라 SPO 검출 상태에서의 동작을 수행한다. 성공 모드인 경우에는 메타 및 캐시 데이터 백업 동작이 수행된다. 추가 지원 모드인 경우에는 메타 및 캐시 데이터 백업 동작 이외에 추가적인 메타 동작이 수행된다. 페일 모드 또는 익스트림 페일 모드인 경우에는 캐시 데이터 백업 동작이 수행된다. In operation S175, the
S180 단계에서, 전원 검출기(151)는 정상적인 파워 오프 동작인지를 판단한다. 정상적인 파워 오프이면 종료된다. 파워 오프가 없으면, S130 단계 내지 S170 단계가 반복적으로 수행된다.In step S180, the
다시 도 1을 참조하면, 본 발명의 실시 예에 따른 사용자 장치(100)는 슈퍼 캐패시터(152)에 저장된 보조 전원의 양 및 백업할 데이터의 크기에 따라 모드 설정을 하고, 모드 설정에 따라 데이터 관리를 수행한다. 본 발명에 의하면, 서든 파워 오프 시에 데이터 손실을 방지할 수 있을 뿐만 아니라, 보조 전원을 최대한 활용함으로, 사용자 장치(100)의 성능을 향상시킬 수 있다. Referring back to FIG. 1, the
도 6은 본 발명에 따른 사용자 장치의 다른 실시 예를 보여주는 블록도이다. 도 6을 참조하면, 사용자 장치(200)는 SSD 컨트롤러(210)와 불휘발성 메모리(220~223)를 포함한다. SSD 컨트롤러(210)는 CPU(211), ATA 인터페이스(212), SRAM 캐쉬(213), 플래시 인터페이스(214), 그리고 보조 전원 장치(215)를 포함한다.6 is a block diagram illustrating another embodiment of a user device according to the present invention. Referring to FIG. 6, the
도 6에서는 사용자 장치(200) 중에서, 예로서 SSD(Solid State Drive)를 보여주고 있다. 최근 하드디스크 드라이브(HDD)를 교체해 나갈 것으로 예상되는 SSD 제품이 차세대 메모리 시장에서 각광을 받고 있다. SSD는 일반적인 하드 디스크 드라이브에서 사용되는 회전 접시 대신에 데이터를 저장하는데 플래시 메모리와 같은 메모리 칩들을 사용한 데이터 저장 장치이다. SSD는 기계적으로 움직이는 하드디스크 드라이브에 비해 속도가 빠르고 외부 충격에 강하며, 소비전력도 낮다는 장점을 가진다. FIG. 6 illustrates a solid state drive (SSD) as an example of 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 according to the present invention.
도 2는 도 1에 도시된 전원 검출기의 검출 결과를 예시적으로 보여주는 타이밍도이다.FIG. 2 is a timing diagram exemplarily illustrating a detection result of the power detector illustrated in FIG. 1.
도 3은 도 1에 도시된 슈퍼 캐패시터의 전기 용량 변화를 보여주는 그래프이다.FIG. 3 is a graph showing a change in capacitance of the supercapacitor shown in FIG. 1.
도 4는 도 1에 도시된 제어기의 모드 설정 방법을 예시적으로 보여주는 도표이다.4 is a diagram exemplarily illustrating a mode setting method of the controller shown in FIG. 1.
도 5는 도 1에 도시된 사용자 장치의 동작을 설명하기 위한 순서도이다.FIG. 5 is a flowchart for describing an operation of the user device illustrated in FIG. 1.
도 6은 본 발명에 따른 사용자 장치의 다른 실시 예를 보여주는 블록도이다.6 is a block diagram illustrating another embodiment of a user device according to 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 comprising 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 comprising auxiliary power supply |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100065999A true KR20100065999A (en) | 2010-06-17 |
KR101506675B1 KR101506675B1 (en) | 2015-03-30 |
Family
ID=42365149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080124615A KR101506675B1 (en) | 2008-12-09 | 2008-12-09 | User device comprising auxiliary power supply |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101506675B1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101231389B1 (en) * | 2009-04-06 | 2013-02-07 | 인텔 코오퍼레이션 | Efficient systems and methods for consuming and providing power |
US9024592B2 (en) | 2011-04-25 | 2015-05-05 | Samsung Electronics Co., Ltd. | Auxiliary power supply and user device including the auxiliary power supply |
KR20150141239A (en) * | 2014-06-09 | 2015-12-18 | 삼성전자주식회사 | Auxiliary power supply device and nonvolatile memory system including the same |
US10044219B2 (en) | 2015-06-02 | 2018-08-07 | Lsis Co., Ltd. | Power supply apparatus |
US10545555B2 (en) | 2015-09-09 | 2020-01-28 | Samsung Electronics Co., Ltd | Electronic device for managing power and method of controlling same |
Families Citing this family (8)
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 |
US10503241B2 (en) * | 2017-05-16 | 2019-12-10 | Micron Technology, Inc. | Providing energy information to memory |
KR20210076497A (en) | 2019-12-16 | 2021-06-24 | 에스케이하이닉스 주식회사 | Storage device and operating method thereof |
US11734175B2 (en) | 2019-08-22 | 2023-08-22 | SK Hynix Inc. | Storage device and method of operating the same |
KR20210023203A (en) | 2019-08-22 | 2021-03-04 | 에스케이하이닉스 주식회사 | Data storage device and operating method thereof |
KR20210034378A (en) | 2019-09-20 | 2021-03-30 | 에스케이하이닉스 주식회사 | Memory controller and operating method thereof |
US11762769B2 (en) | 2019-09-20 | 2023-09-19 | SK Hynix Inc. | Memory controller based on flush operation and method of operating the same |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07160375A (en) * | 1993-12-08 | 1995-06-23 | Casio Comput Co Ltd | Data processor |
US5710931A (en) | 1994-09-07 | 1998-01-20 | Canon Kabushiki Kaisha | Suspension state control for information processing devices such as battery powered computers |
KR100426694B1 (en) * | 2001-07-26 | 2004-04-17 | 삼성전자주식회사 | portable computer and control method therof |
-
2008
- 2008-12-09 KR KR1020080124615A patent/KR101506675B1/en active IP Right Grant
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101231389B1 (en) * | 2009-04-06 | 2013-02-07 | 인텔 코오퍼레이션 | Efficient systems and methods for consuming and providing power |
US9024592B2 (en) | 2011-04-25 | 2015-05-05 | Samsung Electronics Co., Ltd. | Auxiliary power supply and user device including the auxiliary power supply |
KR20150141239A (en) * | 2014-06-09 | 2015-12-18 | 삼성전자주식회사 | Auxiliary power supply device and nonvolatile memory system including the same |
US10044219B2 (en) | 2015-06-02 | 2018-08-07 | Lsis Co., Ltd. | Power supply apparatus |
US10545555B2 (en) | 2015-09-09 | 2020-01-28 | Samsung Electronics Co., Ltd | Electronic device for managing power and method of controlling same |
US11733756B2 (en) | 2015-09-09 | 2023-08-22 | Samsung Electronics Co., Ltd | Electronic device for managing power and method of controlling same |
Also Published As
Publication number | Publication date |
---|---|
KR101506675B1 (en) | 2015-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101506675B1 (en) | User device comprising auxiliary power supply | |
TWI665558B (en) | Memory devices and electronic systems having a hybrid cache with static and dynamic cells, and related methods | |
US9841911B2 (en) | Green NAND device (GND) driver with DRAM data persistence for enhanced flash endurance and performance | |
US9916087B2 (en) | Method and system for throttling bandwidth based on temperature | |
TWI597605B (en) | Method of wear leveling for data storage device | |
TWI519956B (en) | Nonvolatile memory system and related method of preserving stored data during power interruption | |
US9824777B2 (en) | Storage system managing run-time bad cells | |
US10061694B2 (en) | Memory system and method for controlling non-volatile memory | |
US9436267B2 (en) | Data storage device | |
US20130346676A1 (en) | Operating method of data storage device | |
US9443591B2 (en) | Storage device out-of-space handling | |
KR101678911B1 (en) | Data storage device and computing system including the same | |
US20150052415A1 (en) | Data storage device, operating method thereof and data processing system including the same | |
US11288157B2 (en) | Controller and operation method thereof | |
KR20110015273A (en) | User device including auxiliary power supply | |
US9785550B1 (en) | Data storage device and operating method thereof | |
US20210132817A1 (en) | Relocation of Data in Memory At Different Transfer Rates Based on Temperature | |
US11069398B2 (en) | Controller and operating method thereof | |
US10558562B2 (en) | Data storage device and operating method thereof | |
CN105404468B (en) | Green and non-solid state disk applications and drives therefor | |
CN106055488B (en) | Data storage device and operation method thereof | |
KR101503873B1 (en) | Auxiliary power supply and user device including the same | |
KR101777810B1 (en) | Auxiliary power supply and user device including the same | |
US9122615B1 (en) | Data cache egress for a data storage system | |
KR20150044654A (en) | Nonvolatile memory device and data storage device including the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
FPAY | Annual fee payment |
Payment date: 20180228 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20190228 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20200228 Year of fee payment: 6 |