KR101371319B1 - Apparatus and method for power management using micom and system-on-chip - Google Patents
Apparatus and method for power management using micom and system-on-chip Download PDFInfo
- Publication number
- KR101371319B1 KR101371319B1 KR1020120037934A KR20120037934A KR101371319B1 KR 101371319 B1 KR101371319 B1 KR 101371319B1 KR 1020120037934 A KR1020120037934 A KR 1020120037934A KR 20120037934 A KR20120037934 A KR 20120037934A KR 101371319 B1 KR101371319 B1 KR 101371319B1
- Authority
- KR
- South Korea
- Prior art keywords
- mode
- electronic device
- service
- soc
- microcomputer
- Prior art date
Links
Images
Classifications
-
- 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/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3243—Power saving in microcontroller unit
-
- 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/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4436—Power management, e.g. shutting down unused components of the receiver
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
마이컴 및 시스템-온-칩을 이용하여 전력을 관리하는 장치 및 방법이 제공된다. 시스템-온-칩이 비활성 상태에 있을 때, 마이컴은 전자 장치의 전력 관리를 수행할 수 있고, 마이컴의 기능을 사용하는 서비스를 사용자에게 제공할 수 있다. SOC가 슬립된 동안에 마이컴이 전력 관리를 수행함으로써, SOC가 웨이크-업될 때에도 전력 관리가 연속되고, 마이컴이 복수 개의 GPIO 인터럽트들 중 콘텍스트에 맞는 GPIO 인터럽트를 사용하여 SOC를 웨이크-업시킴으로써 전력 관리의 콘텍스트가 SOC에게 전달된다.An apparatus and method are provided for managing power using a microcomputer and a system-on-chip. When the system-on-chip is in an inactive state, the microcomputer may perform power management of the electronic device and provide a user with a service using the microcomputer's functions. The microcomputer performs power management while the SOC sleeps, so that the power management continues even when the SOC wakes up, and the microcomputer wakes up the SOC using a context-sensitive GPIO interrupt among the plurality of GPIO interrupts. The context is passed to the SOC.
Description
전력을 관리하는 장치 및 방법에 관한 것으로, 보다 상세하게는 마이컴 및 시스템-온-칩을 이용하여 전력을 관리하는 장치 및 방법이 개시된다.An apparatus and method for managing power, and more particularly, an apparatus and method for managing power using a microcomputer and a system-on-chip are disclosed.
셋탑 박스는 시스템-온-칩(System-On-Chip; SOC)을 사용하여 구현될 수 있다. SOC을 사용한 구현은 한 개의 메인 칩 상에 완전한 구동 가능한 제품, 즉 시스템이 탑제되어 있는 것을 의미한다. 일반적으로, 컴퓨터가 사용하는 메인 칩(즉, 중앙 처리 장치(Central Processing Unit; CPU)은 명령어를 처리하기 위해 요구되는 하드웨어(hardware) 컴포넌트(component)들을 포함하는 것에 비해, SOC는 명령어를 처리하기 위해 요구되는 하드웨어 컴포넌트들뿐만 아니라, 기타 부수적인 전자 부품들을 포함한다. 예를 들면, 통신에 사용되는 셋탑 박스의 SOC는 디지털 신호 처리 장치(Digital Signal Processor; DSP), 롬(Read Only Memory; ROM) 및 램(Random Access Memory; RAM) 등을 함께 포함할 수 있다.Set-top boxes can be implemented using a system-on-chip (SOC). Implementation using an SOC means that a fully operational product, or system, is built on one main chip. In general, the main chip used by a computer (ie, a Central Processing Unit (CPU)) contains hardware components required to process the instructions, whereas an SOC processes the instructions. In addition to the hardware components required for this purpose, as well as other ancillary electronic components, for example, the SOC of a set-top box used for communication may be a digital signal processor (DSP), a read only memory (ROM) ) And RAM (Random Access Memory; RAM) and the like.
미디어(media)를 재생하는 셋탑 박스의 미디어 SOC는 미디어를 재생하기 위한 전자 부품들(예컨대, 디코더(decoder) 및 영상 출력 신호 생성 장치 등)을 포함할 수 있다. 따라서, SOC가 사용될 경우, 셋탑 박스의 크기가 작아질 수 있고, 셋탑 박스의 조립 과정이 단순해질 수 있다.The media SOC of the set-top box for playing media may include electronic components (eg, a decoder and an image output signal generator, etc.) for playing media. Therefore, when SOC is used, the size of the set-top box can be reduced, and the assembly process of the set-top box can be simplified.
SOC와는 별개로, 셋탑 박스는 마이컴(microcontroller; MICOM)를 별도로 구비할 수 있다. 예컨대, 마이컴은 리모콘으로부터 수신한 적외선 신호로부터 입력 값을 알아낼 수 있고, 상기의 입력 값을 SOC로 전송할 수 있다. 다양한 제조사에 의해 상이한 종류의 리모콘들을 사용될 수 있기 때문에, 리모콘으로부터 IR 신호를 수신하는 것과 같은 특수한 기능은 SOC 내에서 구현되기 어려울 수 있다. 따라서, 셋탑 박스의 제품, 제조사, 버전 등에 따라 상이할 수 있는 특별한 기능을 위해 별도의 마이컴이 사용될 수 있다. 마이컴과 SOC는 각각 범용 비동기화 송수신기(Universal Asynchronous Receiver/Transmitter; UART) 등을 포함할 수 있고, UART 등을 사용하여 서로 간에 통신할 수 있다.Apart from the SOC, the set top box may have a microcontroller (MICOM) separately. For example, the microcomputer can find the input value from the infrared signal received from the remote controller, and can transmit the input value to the SOC. Because different kinds of remote controls may be used by various manufacturers, special functions such as receiving IR signals from the remote control may be difficult to implement within the SOC. Therefore, a separate micom may be used for a special function that may vary depending on the product, manufacturer, version, etc. of the set-top box. The microcomputer and the SOC may each include a universal asynchronous receiver / transmitter (UART) and the like, and may communicate with each other using the UART.
사용자는 셋탑 박스를 사용하지 않는 때에는 셋탑 박스의 전원을 OFF 시킨다. 사용자에 의해 전원이 OFF됨으로써 셋탑 박스의 모드는 동작 모드에서 대기 모드로 변경된다.The user turns off the set-top box when not using the set-top box. When the power is turned off by the user, the mode of the set-top box is changed from the operation mode to the standby mode.
대기 전력은 셋탑 박스가 대기 모드에서 소비하는 전력을 의미한다. 셋탑 박스는 대기 모드에서도, 예컨대 리모콘으로부터 전송되는 전원 ON 신호를 수신하고 상기의 신호에 따라 셋탑 박스의 전원을 ON하기 위해, 지속적으로 전력을 소비할 수 있다. 또한, 기술의 발달에 따라 1) 펌웨어(firmware), 운영 체제(operating system) 또는 부가 서비스를 제공하는 응용 프로그램(application)의 업그레이드 및 2) 전자 프로그램 가이드(Electronic Program Guide; EPG) 정보의 수신 등와 같은 특정한 서비스를 지원하기 위해 더 많은 대기 전력이 셋탑 박스에 의해 소비된다. 즉, 셋탑 박스에 의한 대기 전력의 낭비가 점점 심각해지고 있다.Standby power refers to the power consumed by the set-top box in standby mode. The set top box may continuously consume power even in the standby mode, for example, in order to receive a power ON signal transmitted from the remote controller and to turn on the power of the set top box according to the above signal. In addition, according to the development of the technology, 1) upgrading the application that provides firmware, operating system or additional service, and 2) receiving Electronic Program Guide (EPG) information. More standby power is consumed by the set-top box to support such specific services. In other words, the waste of standby power by the set-top box is getting serious.
일 실시예는 시스템-온-칩이 비활성 상태에 있을 때, 마이컴이 전자 장치의 전력 관리를 수행하는 방법 및 장치를 제공할 수 있다.One embodiment may provide a method and apparatus for a microcomputer to perform power management of an electronic device when the system-on-chip is in an inactive state.
일 실시예는 SOC가 슬립된 동안에 마이컴이 전력 관리를 수행함으로써, SOC가 웨이크-업될 때에도 전력 관리가 연속되는 장치 및 방법을 제공할 수 있다.One embodiment may provide an apparatus and method in which power management is continuous even when the SOC wakes up by performing a power management by the microcomputer while the SOC is asleep.
일 실시예는 마이컴이 복수 개의 GPIO 인터럽트들 중 콘텍스트에 맞는 GPIO 인터럽트를 사용하여 SOC를 웨이크-업시킴으로써 전력 관리의 콘텍스트를 SOC에게 전달하는 방법 및 장치를 제공할 수 있다.One embodiment may provide a method and apparatus for delivering a context of power management to an SOC by allowing the microcomputer to wake up the SOC using a context-sensitive GPIO interrupt of the plurality of GPIO interrupts.
일 측에 따르면, 전자 장치가 전력 관리를 수행하는 방법에 있어서, 상기 전자 장치가 제1 모드로부터 제2 모드로 변환하는 단계 및 상기 전자 장치가 상기 제2 모드로부터 상기 제1 모드로 변환하는 단계를 포함하고, 상기 제2 모드는 상기 전자 장치의 시스템-온-칩 및 상기 전자 장치의 마이컴 중 상기 마이컴 만에 의해 제공되는 제1 서비스 만이 활성화된 모드고, 상기 제1 모드는 상기 시스템-온-칩에 의해 제공되는 제2 서비스가 활성화된 모드고, 상기 전자 장치가 상기 제2 모드로 변환할 때 상기 시스템-온-칩은 비활성 상태로 변환되고, 상기 전자 장치가 상기 제1 모드로 변환할 때 상기 시스템-온-칩은 활성 상태로 변환되는, 전자 장치가 전력 관리를 수행하는 방법이 제공된다.According to one side, a method in which an electronic device performs power management, the electronic device to convert from the first mode to the second mode and the electronic device from the second mode to the first mode Wherein the second mode is a system-on-chip of the electronic device and a mode in which only a first service provided by only the microcomputer of the microcomputer of the electronic device is activated, and the first mode is the system-on. The second service provided by the chip is in an activated mode, and when the electronic device switches to the second mode, the system-on-chip is converted into an inactive state and the electronic device is converted into the first mode. The system-on-chip is converted into an active state when the electronic device performs power management.
상기 전자 장치가 상기 제2 모드로 변환할 때 상기 시스템-온-칩으로의 전력 공급은 차단될 수 있다.The power supply to the system-on-chip may be cut off when the electronic device switches to the second mode.
상기 제2 모드에서, 상기 전자 장치의 전력 관리는 상기 마이컴에 의해 수행될 수 있다.In the second mode, power management of the electronic device may be performed by the microcomputer.
상기 마이컴이 범용 입출력(General Purpose Input Output; GPIO) 인터럽트(interrupt)를 사용하여 상기 시스템-온-칩을 웨이크-업(wake-up) 시킴으로써 상기 시스템 온 칩은 상기 활성 상태로 변환될 수 있다.The system-on-chip can be converted to the active state by the microcomputer by waking up the system-on-chip using a General Purpose Input Output (GPIO) interrupt.
상기 전자 장치가 전력 관리를 수행하는 방법은 상기 제1 서비스가 활성화됨에 따라 상기 전자 장치가 제3 모드로부터 상기 제1 모드로 변환하는 단계 및 상기 제1 서비스가 비활성화됨에 따라 상기 전자 장치가 상기 제1 모드로부터 상기 제3 모드로 변환하는 단계를 더 포함할 수 있다.The electronic device may perform power management by converting from the third mode to the first mode by the electronic device as the first service is activated, and by the electronic device as the first service is deactivated. The method may further include converting from one mode to the third mode.
상기 제3 모드는 상기 제1 서비스는 비활성화되고, 상기 제2 서비스는 활성화된 모드일 수 있다.In the third mode, the first service may be deactivated, and the second service may be an activated mode.
상기 제1 모드는 상기 제1 서비스 및 상기 제2 서비스가 각각 활성화된 모드일 수 있다.The first mode may be a mode in which the first service and the second service are respectively activated.
상기 전자 장치가 전력 관리를 수행하는 방법은, 상기 제2 서비스가 비활성화됨에 따라 상기 전자 장치가 상기 제3 모드로부터 제4 모드로 변환하는 단계 및 상기 제2 서비스가 활성화됨에 따라 상기 전자 장치가 상기 제4 모드로부터 상기 제3 모드로 변환하는 단계를 더 포함할 수 있다.The electronic device may perform power management by converting the electronic device from the third mode to the fourth mode as the second service is deactivated and by the electronic device as the second service is activated. The method may further include converting from a fourth mode to the third mode.
상기 제4 모드는 상기 제1 서비스 및 상기 제2 서비스가 각각 비활성화된 모드일 수 있다.The fourth mode may be a mode in which the first service and the second service are deactivated, respectively.
상기 전자 장치가 상기 제3 모드로 변환할 때 상기 시스템-온-칩은 상기 활성 상태로 변환될 수 있다.The system-on-chip may be converted into the active state when the electronic device switches to the third mode.
상기 전자 장치가 상기 제4 모드로 변환할 때 상기 시스템-온-칩은 상기 비활성 상태로 변환될 수 있다.The system-on-chip may be converted to the inactive state when the electronic device switches to the fourth mode.
상기 마이컴이 복수 개의 GPIO 인터럽트들 중 하나의 GPIO 언터럽트를 사용하여 상기 시스템-온-칩을 웨이크-업 시킴으로써 상기 시스템 온 칩은 상기 활성 상태로 변환될 수 있다.The system-on-chip can be converted to the active state by the microcomputer wake-up of the system-on-chip using one of the GPIO interrupts of a plurality of GPIO interrupts.
상기 전자 장치가 상기 제2 모드 및 상기 제4 모드 중 어떤 모드인가에 따라 상기 복수 개의 GPIO 인터럽트들 중 상기 시스템-온-칩을 웨이크-업시키기 위해 사용될 GPIO 인터럽트가 결정될 수 있다.The GPIO interrupt to be used to wake up the system-on-chip among the plurality of GPIO interrupts may be determined according to which of the second mode and the fourth mode is the electronic device.
상기 제1 모드 및 상기 제3 모드에서 상기 전자 장치에서의 전력 관리는 상기 시스템-온-칩에 의해 수행될 수 있다.Power management in the electronic device in the first mode and the third mode may be performed by the system-on-chip.
상기 제2 모드 및 상기 제4 모드에서의 상기 전자 장치에서의 전력 관리는 상기 마이컴에 의해 수행될 수 있다.Power management in the electronic device in the second mode and the fourth mode may be performed by the microcomputer.
상기 전자 장치가 전력 관리를 수행하는 방법은, 상기 제1 서비스가 비활성화됨에 따라 상기 전자 장치가 상기 제2 모드로부터 제4 모드로 변환하는 단계를 더 포함할 수 있다.The method of performing power management by the electronic device may further include converting the electronic device from the second mode to the fourth mode as the first service is deactivated.
상기 전력 관리는 상기 전자 장치의 모드가 변환함에 따라 상기 전자 장치의 하나 이상의 모듈들 각각으로의 전력 공급 여부를 제어하는 것일 수 있다.The power management may control whether power is supplied to each of one or more modules of the electronic device as the mode of the electronic device changes.
상기 마이컴은 상기 제1 서비스를 위한 기능을 제공할 수 있다.The microcomputer may provide a function for the first service.
상기 시스템-온-칩은 상기 제1 서비스의 설정을 위한 사용자 인터페이스를 제공할 수 있다.The system-on-chip may provide a user interface for setting up the first service.
다른 일 측에 따르면, 전자 장치에 있어서, 시스템-온-칩 및 마이컴According to another aspect, in an electronic device, a system-on-chip and a microcomputer
을 포함하고, 상기 전자 장치는 제1 모드 및 제2 모드를 가지며, 상기 전자 장치는 상기 제1 모드로부터 상기 제2 모드로 변환하고, 상기 전자 장치는 상기 제2 모드로부터 상기 제1 모드로 변환하고, 상기 제2 모드는 상기 시스템-온-칩 및 상기 마이컴 중 상기 마이컴 만에 의해 제공되는 제1 서비스 만이 활성화된 모드고, 상기 제1 모드는 상기 시스템-온-칩에 의해 제공되는 제2 서비스가 활성화된 모드고, 상기 전자 장치가 상기 제2 모드로 변환할 때 상기 시스템-온-칩은 대기 모드로 변환되고, 상기 전자 장치가 상기 제1 모드로 변환할 때 상기 시스템-온-칩은 활성 모드로 변환되는, 전자 장치가 제공된다.Wherein the electronic device has a first mode and a second mode, the electronic device converts from the first mode to the second mode, and the electronic device converts from the second mode to the first mode. The second mode is a mode in which only a first service provided by only the microcomputer among the system-on-chip and the microcomputer is activated, and the first mode is a second mode provided by the system-on-chip. The system-on-chip is in a service-enabled mode and the system-on-chip is switched to standby mode when the electronic device switches to the second mode, and the system-on-chip when the electronic device switches to the first mode. Is converted to the active mode.
시스템-온-칩이 비활성 상태에 있을 때, 마이컴이 전자 장치의 전력 관리를 수행하는 방법 및 장치가 제공된다.A method and apparatus are provided for a microcomputer to perform power management of an electronic device when the system-on-chip is in an inactive state.
SOC가 슬립된 동안에 마이컴이 전력 관리를 수행함으로써, SOC가 웨이크-업될 때에도 전력 관리가 연속되는 방법 및 장치가 제공된다.By providing a power management by the microcomputer while the SOC is in sleep, a method and apparatus are provided that continues power management even when the SOC wakes up.
마이컴이 복수 개의 GPIO 인터럽트들 중 콘텍스트에 맞는 GPIO 인터럽트를 사용하여 SOC를 웨이크-업시킴으로써 전력 관리의 콘텍스트를 SOC에게 전달하는 방법 및 장치가 제공된다.A method and apparatus are provided for a microcomputer to convey a context of power management to an SOC by waking up the SOC using a context-sensitive GPIO interrupt among a plurality of GPIO interrupts.
도 1은 일 실시예에 따른 전자 장치의 블록도이다.
도 2는 일 예에 따른 하나 이상의 모드들 및 모듈의 동작 여부 간의 관계를 도시한다.
도 3은 일 실시예에 따른 전자 장치가 전력 관리를 수행하는 방법을 상태 전이 다이어그램을 사용하여 나타낸다.1 is a block diagram of an electronic device according to one embodiment.
2 illustrates a relationship between one or more modes and whether a module operates according to an example.
3 illustrates a method of performing power management by an electronic device according to an embodiment using a state transition diagram.
이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.In the following, embodiments will be described in detail with reference to the accompanying drawings. Like reference symbols in the drawings denote like elements.
하기에서, SOC는 일반적인 프로세서(process), CPU 또는 호스트 CPU로 대체될 수 있다. SOC는 전자 장치(100) 내에서 마이컴에 비교하였을 때 주요한 처리 기능을 수행하는 프로세서를 나타낼 수 있다.In the following, the SOC may be replaced with a general process, CPU or host CPU. The SOC may represent a processor that performs a main processing function when compared to the microcomputer in the
하기에서, 전력 공급은 전원 공급과 동일한 의미로 사용될 수 있다.
In the following, power supply may be used in the same sense as power supply.
도 1은 일 실시예에 따른 전자 장치의 블록도이다.1 is a block diagram of an electronic device according to one embodiment.
전자 장치(100)는 SOC(110), 마이컴(120) 및 하나 이상의 모듈들(130)을 포함할 수 있다.The
전자 장치(100)의 하나 이상의 모듈들(130)은 외부의 주변 기기와의 통신을 위한 인터페이스(interface) 또는 상기의 인터페이스를 제공하는 칩(chip)일 수 있다.One or
하나 이상의 모듈들의 일 예로서, 랜(Local Area Network; LAN)(132), 플래시(flash)(134) 및 버저(buzzer)(136)가 도시되었다. 또한, 하나 이상의 모듈들(132)은 전자 장치(100) 내의 일체의 주변 장치를 의미할 수 있다. 예컨대, 하나 이상의 모듈들(132)은 범용 직렬 버스(Universal Serial Bus; USB), 이더넷(Ethernet), 오디오(audio) 및 에이치디엠아이(High-Definition Multimedia Interface; HDMI) 등을 더 포함할 수 있다. SOC(110) 및 마이컴(120)도 각각 하나 이상의 모듈들 중 하나의 모듈로서 간주될 수 있다.As an example of one or more modules, a local area network (LAN) 132, a
SOC(110) 및 마이컴(120)은 각각 하나 이상의 모듈들(130) 각각의 전력의 공급을 제어할 수 있다.The
전자 장치(100)는 하나 이상의 모드들을 가질 수 있다. 즉, 전자 장치(100)는 한 순간에 하나 이상의 모드들 중 하나의 모드에 있을 수 있다. 여기서, 하나 이상의 모드들은 하나 이상의 전력 관리 모드들을 의미할 수 있다. 즉, 하나 이상의 모드들 각각은 전자 장치(100)의 전력 관리에 관련된 전력 관리 모드일 수 있다.The
SOC(110) 및 마이컴(120)은 각각 하나 이상의 상태들을 가질 수 있다. SOC(110)의 상태는 전자 장치(100)의 모드에 대응할 수 있다. 예컨대, 전자 장치(100)의 모드가 제1 모드 또는 제4 모드일 때, SOC(110)의 상태는 비활성 (inactivated) 상태일 수 있다. 또는, 전자 장치(100)의 모드가 제2 모드 또는 제3 모드일 때, SOC(110)의 모드는 활성(activated) 상태일 수 있다. 또한, 마이컴(120)의 상태는 전자 장치(100)의 모드에 대응할 수 있다. 즉, 전자 장치(100)의 모드는 SOC(110)의 상태 및 마이컴(120)의 상태를 의미할 수 있다. 또한, 전자 장치(100)의 모드는 SOC(110)의 상태 및 마이컴(120)의 상태의 특정한 조합을 나타낼 수 있으며, SOC(110)의 상태 및 마이컴(120)의 상태의 조합에 의해 결정될 수 있다.The
여기서, 비활성 상태는 대기 상태와 동일한 의미로 사용될 수 있으며, 활성 상태는 동작 상태와 동일한 의미로 사용될 수 있다. 전자 장치(100)의 모드에 따른 하나 이상의 모듈들(130) 각각 및 SOC(110)의 동작 여부가 정의될 수 있다.Here, the inactive state may be used in the same sense as the standby state, and the active state may be used in the same sense as the operating state. Each of the one or
전자 장치(100)의 모드에 따라, SOC(110) 및 마이컴(120)은 각각 하나 이상의 모듈들(130) 중 특정한 모듈의 전력의 공급을 제어할 수 있다. 즉, 하나 이상의 모듈들(130) 각각의 동작 여부는 전자 장치(100)의 모드, SOC(110)의 상태 및 마이컴(120)의 상태 중 하나 이상에 의해 정의될 수 있다. 또한, 하나 이상의 모듈들(130) 각각으로의 전력 공급의 여부는 전자 장치(100)의 모드, SOC(110)의 상태 및 마이컴(120)의 상태 중 하나 이상에 의해 정의될 수 있다.According to the mode of the
전자 장치(100)의 모드는 상기의 하나 이상의 모드들 중 하나의 모드로부터 다른 하나의 모드로 천이될 수 있다. 상기의 천이는 전자 장치(100)의 동작의 시나리오에 의해 정의될 수 있다.
The mode of the
도 2는 일 예에 따른 하나 이상의 모드들 및 모듈의 동작 여부 간의 관계를 도시한다.2 illustrates a relationship between one or more modes and whether a module operates according to an example.
예컨대, 전자 장치(100)는 알람(alarm) 시계의 기능이 내장된 인터넷 프로토콜 텔레비전(Internet Protocol TeleVision; IPTV)일 수 있다. 즉, 전자 장치(100)는 알람 서비스 및 IPTV 서비스를 제공할 수 있다. 전자 장치(100)는 IPTV 콘텐츠를 수신하여, 수신된 IPTV 콘텐츠를 전자 장치(100)의 사용자에게 제공할 수 있다. 사용자는 전자 장치(100)를 조작하여 알람 시계를 설정할 수 있고, 알람을 위해 사용될 음원을 지정할 수 있다.For example, the
알람 서비스를 제공하기 위해, 하나 이상의 모듈들(130) 중 플래시(134) 및 버저(136)가 사용될 수 있다. IPTV 서비스를 제공하기 위해, 하나 이상의 모듈들(130) 중 LAN(132) 및 플래시(134)가 사용될 수 있다.To provide an alarm service,
IPTV 서비스는 SOC(110)에 의해 제공될 수 있으며, 마이컴(120) 및 SOC(110)에 의해 제공될 수 있다. IPTV 서비스와 같은, SOC(110)에 의해 제공되는 서비스를 이하 제1 서비스로 명명한다. 즉, 제1 서비스는 서비스를 제공함에 있어서 SOC(110) 또는 SOC(110)의 기능이 요구되는 서비스일 수 있다. 제1 서비스는 하나 이상의 서비스들을 포함할 수 있다.The IPTV service may be provided by the
알람 서비스는 마이컴(120)에 의해 제공될 수 있다. SOC(110) 및 마이컴(120) 중 마이컴(120) 만에 의해 제공되는 서비스를 이하 제2 서비스로 명명한다. 즉, 제2 서비스는 SOC(110)의 관여 없이 또는 SOC(110)에 의해 제공되는 기능 없이 전자 장치(100)에 의해 제공될 수 있는 서비스일 수 있다. 제2 서비스는 하나 이상의 서비스들을 포함할 수 있다.The alarm service may be provided by the
모드에 따라, LAN(132)의 상태, 플래시(134)의 상태, 버저(136)의 상태, SOC(110)의 상태 및 마이컴(120)의 상태는 각각 온(ON) 또는 오프(OFF)가 될 수 있다. 여기서, 온은 LAN(132), 플래시(134), 버저(136), SOC(110) 또는 마이컴(120)으로 전력이 공급되는 상태를 나타낼 수 있다. 또는, 온은 LAN(132), 플래시(134), 버저(136), SOC(110) 또는 마이컴(120)이 활성화된 상태 또는 동작하는 상태를 나타낼 수 있다. 오프(OFF)는 LAN(132), 플래시(134), 버저(136), SOC(110) 또는 마이컴(120)으로 전력이 공급되지 않는 상태를 나타낼 수 있다. 또는, 오프는 LAN(132), 플래시(134), 버저(136), SOC(110) 또는 마이컴(120)이 비활성화된 상태 또는 동작하지 않는 상태를 나타낼 수 있다.Depending on the mode, the state of the
제1 모드는 제1 서비스 및 제2 서비스가 활성화된 모드일 수 있다. 예컨대, 제1 모드에서는 IPTV 서비스 및 알람 서비스가 활성화될 수 있다. IPTV 서비스 및 알람 서비스를 제공하기 위해, 제1 모드에서 LAN(132)의 상태, 플래시(134)의 상태, 버저(136)의 상태, SOC(110)의 상태 및 마이컴(120)의 상태는 모두 온 또는 활성 상태일 수 있다.The first mode may be a mode in which the first service and the second service are activated. For example, the IPTV service and the alarm service may be activated in the first mode. In order to provide IPTV service and alarm service, in the first mode, the state of the
제1 모드에서, 마이컴(120)은 제1 서비스 중 하나인 알람 서비스를 제공하기 위해 플래시(134) 및 버저(136)와 함께 활성화될 수 있고, SOC(110)는 제2 서비스 중 하나인 IPTV 서비스를 제공하기 위해 LAN(132) 및 플래시(134)와 함께 활성화될 수 있다.In the first mode, the
제2 모드는 제1 서비스 및 제2 서비스 중 제1 서비스 만이 활성화된 모드일 수 있다. 예컨대, 제2 모드에서는 알람 서비스가 활성화될 수 있다. 알람 서비스를 제공하기 위해, 제2 모드에서 플래시(134)의 상태, 버저(136)의 상태 및 마이컴(120)의 상태는 온일 수 있으며, LAN(132)의 상태 및 SOC(110)의 상태는 오프 또는 비활성 상태일 수 있다.The second mode may be a mode in which only the first service of the first service and the second service is activated. For example, the alarm service may be activated in the second mode. In order to provide an alarm service, the state of the
제2 모드에서, 마이컴(120)은 제1 서비스 중 하나인 알람 서비스를 제공하기 위해 플래시(134) 및 버저(136)와 함께 활성화될 수 있다. 알람 서비스를 제공하기 위해 사용되지 않는 SOC(110)는 LAN(132) 및 플래시(134)와 함께 비활성화될 수 있다.In the second mode, the
제3 모드는 제1 서비스 및 제2 서비스 중 제2 서비스 만이 활성화된 모드일 수 있다. 예컨대, 제3 모드에서는 IPTV 서비스가 활성화될 수 있다. IPTV 서비스를 제공하기 위해, 제3 모드에서 LAN(132)의 상태, 플래시(134)의 상태, SOC(110)의 상태 및 마이컴(120)의 상태는 온 또는 활성 상태일 수 있으며, 버저(136)의 상태는 오프 또는 비활성 상태일 수 있다.The third mode may be a mode in which only a second service of the first service and the second service is activated. For example, the IPTV service may be activated in the third mode. In order to provide the IPTV service, in the third mode, the state of the
제3 모드에서, SOC(110)는 제2 서비스 중 하나인 IPTV 서비스를 제공하기 위해 LAN(132), 플래시(134) 및 마이컴(120)과 함께 활성화될 수 있다. IPTV 서비스를 제공하기 위해 사용되지 않는 버저(136)는 비활성화될 수 있다.In the third mode,
제4 모드는 어떤 서비스도 활성화되지 않은 모드일 수 있다. 제4 모드에서 LAN(132)의 상태, 플래시(134)의 상태, 버저(136)의 상태 및 SOC(110)의 상태는 오프 또는 비활성 상태일 수 있으며, 마이컴(120)의 상태는 온 또는 활성 상태일 수 있다.The fourth mode may be a mode in which no service is activated. In the fourth mode, the state of the
전자 장치(100)의 모드가 변경되면, 모드의 변경에 따라 LAN(132)의 상태, 플래시(134)의 상태, 버저(136)의 상태, SOC(110)의 상태 또는 마이컴(120)의 상태가 변경될 수 있다. 예컨대, 전자 장치(100)의 모드가 제1 모드로부터 제2 모드로 변경되면 LAN(132) 및 SOC(110) 각각으로의 전력 공급이 중단됨으로써, LAN(132) 및 SOC(110)가 오프될 수 있다.
When the mode of the
하나 이상의 모듈들(130) 각각은 동작을 위해 서로 상이한 자원을 요구할 수 있다. 따라서, 특정한 모듈은 SOC(110) 또는 SOC(110)에 의해 제공되는 자원을 이용하지 않은 채, 마이컴(120) 또는 마이컴(120)에 의해 제공되는 자원만을 사용하여 동작할 수 있다. 상기의 특정한 모듈을 위한 기능이 SOC(110)가 아닌 마이컴(120)에 의해 제공된다면, 상기의 특정한 모듈은 SOC(110)가 웨이크-업되지 않더라도 상기의 기능을 사용 또는 처리할 수 있다. 마이컴(120) 또는 마이컴(120)에 의해 제공되는 자원만을 사용하는 모듈은 플래시(134) 및 버저(136)일 수 있다. SOC(110) 또는 SOC(120)에 의해 제공되는 자원을 사용하는 모듈은 LAN(132)일 수 있다.Each of the one or
전자 장치(100)가 마이컴(120)에 의해 제공될 수 있는 자원 또는 기능을 사용하는 서비스가 수행되는 특정한 전력 관리 모드를 제공한다면 전력이 절감될 수 있다. 마이컴(120)에 의해 제공될 수 있는 자원 또는 기능을 사용하는 서비스는 전술된 제1 서비스를 의미할 수 있다. 또한, 제2 서비스는 SOC(110)에 의해 제공될 수 있는 자원 또는 기능을 사용하는 서비스를 의미할 수 있으며, SOC(110) 및 마이컴(120)에 의해 제공될 수 있는 자원 또는 기능을 사용하는 서비스를 의미할 수 있다. 여기서, 전력의 절감은 SOC(110)를 비활성 모드로 전환함으로써 이루어질 수 있으며, 하나 이상의 모듈들(130) 중 서비스 제공을 위해 필요한 모듈들 외의 다른 모듈들 각각으로의 전력 공급을 차단함으로써 이루어질 수 있다.If the
특정한 서비스는 SOC(110) 및 마이컴(120)으로 분할되어 구현될 수 있다. 예컨대, 마이컴(120)은 제1 서비스를 위한 기능을 제공할 수 있고, SOC(110)는 제1 서비스의 설정을 위한 사용자 인터페이스를 제공할 수 있다. 알람 서비스에 있어서, 마이컴(120)은 알람 서비스를 위한 기능을 플래시(134) 및 버저(136)에게 제공할 수 있다. 또한, SOC(110)는 알람 서비스의 알람을 설정하기 위한 사용자 인터페이스를 사용자에게 제공할 수 있다.
The specific service may be implemented by being divided into the
하기에서, 도 3을 참조하여 전술된 모드들 간의 천이를 나타내는 상태 전이 다이어그램이 설명된다.In the following, a state transition diagram illustrating the transition between the modes described above with reference to FIG. 3 is described.
도 3은 일 실시예에 따른 전자 장치가 전력 관리를 수행하는 방법을 상태 전이 다이어그램을 사용하여 나타낸다.3 illustrates a method of performing power management by an electronic device according to an embodiment using a state transition diagram.
도 3에서, 도 2를 참조하여 전술된 제1 모드(310), 제2 모드(320), 제3 모드(330) 및 제4 모드(340)가 각각 상태 전이 다이어그램의 상태(state)로서 도시되었다. 또한, 각 상태에서, 제공되는 서비스 또는 기능이 상태를 나타내는 원 내에 도시되었다. "알람"은 알람 서비스 또는 제1 서비스가 제공되는 것을 나타낼 수 있다. "IPTV"는 IPTV 서비스 또는 제2 서비스가 제공되는 것을 나타낼 수 있다. 알람 또는 알람 서비스는 제1 서비스에 대응할 수 있다. IPTV 또는 IPTV 서비스는 제2 서비스에 대응할 수 있다.In FIG. 3, the
제1 모드(310), 제2 모드(320), 제3 모드(330) 및 제4 모드(340)는 전자 장치(100)의 전력 관리의 컨텍스트(context)를 나타낼 수 있다.The
후술될 전자 장치(100)의 모드의 변환는 전력 관리 모드의 천이를 나타낼 수 있다.Conversion of the mode of the
단계(352)에서, 전자 장치(100)는 제1 모드(310)로부터 제2 모드(320)로 변환할 수 있다.In
여기서, 제1 모드(310)는 제2 서비스가 활성화되거나, 제1 서비스 및 제2 서비스가 각각 활성화된 모드일 수 있다. 즉, 제1 모드(310)는 제2 서비스가 활성화된 모드일 수 있다. 제2 모드(320)는 제2 서비스는 비활성화되고, 제1 서비스는 활성화된 모드일 수 있다. 즉, 제2 모드(320)는 제1 서비스 만이 활성화된 모드일 수 있다.In this case, the
제1 서비스는 SOC(110) 및 마이컴(120) 중 마이컴(120) 만에 의해 제공되는 서비스일 수 있다. 제2 서비스는 SOC(110)에 의해 제공되는 서비스일 수 있다.The first service may be a service provided by only the
예컨대, 전자 장치(100)가 IPTV를 제공하고 전자 장치(100)의 알람이 세트된 상태에서, IPTV를 시청하던 사용자가 전자 장치(100)의 IPTV 기능을 중지시키면, IPTV 서비스가 오프됨에 따라 전자 장치(100)는 제1 모드(310)로부터 제2 모드(320)로 변환할 수 있다.For example, when the
전자 장치(100)가 제2 모드(320)로 변환하면, SOC(110)에 의해 제공되는 제2 서비스는 실행되지 않을 수 있다. 따라서, 전자 장치(100)가 제2 모드(320)로 변환할 때 SOC(110)는 비활성 상태로 변환될 수 있다. SOC(110)가 비활성 상태로 변환됨에 따라, SOC(110)로의 전력 공급은 차단될 수 있다. SOC(110)가 비활성 상태로 변환된 제2 모드(320)에서, 전자 장치(100)의 전력 관리는 마이컴(120)에 의해 수행될 수 있다. 즉, 전자 장치(100)의 제2 모드(320)로부터 다른 모드로의 변환은 마이컴(120)에 의해 수행될 수 있다.When the
단계(354)에서, 전자 장치(100)는 제2 모드(320)로부터 제1 모드(310)로 변환할 수 있다.In
예컨대, 전자 장치(100)가 IPTV를 제공하지 않고 전자 장치(100)의 알람이 세트된 상태에서, 사용자가 전자 장치(100)의 IPTV 기능을 시작시키거나 재개시키면, IPTV 서비스가 온됨에 따라 전자 장치(100)는 제2 모드(320)로부터 제1 모드(310)로 변환할 수 있다.For example, when the user starts or resumes the IPTV function of the
전자 장치(100)가 제1 모드(310)로 변환하면, SOC(110)에 의해 제공되는 제2 서비스가 실행될 수 있다. 따라서, 전자 장치(100)가 제1 모드(310)로 변환할 때 SOC(110)는 활성 상태로 변환될 수 있다. SOC(110)가 활성 상태로 변환됨에 따라, SOC(110)로 전력이 공급될 수 있다. SOC(110)가 활성 상태로 변환된 제1 모드(310)에서, 전자 장치(100)의 전력 관리는 SOC(110)에 의해 수행될 수 있다. 즉, 전자 장치(100)의 제1 모드(310)로부터 다른 모드로의 변환은 SOC(110)에 의해 수행될 수 있다.When the
단계(362)에서, 제1 서비스가 활성화됨에 따라 전자 장치(100)는 제3 모드(330)로부터 제1 모드(310)로 변환할 수 있다.In
여기서, 제3 모드(330)는 제1 서비스는 비활성화되고, 제2 서비스는 활성화된 모드일 수 있다. 즉, 제3 모드(330)는 제2 서비스 만이 활성화된 모드일 수 있다.Here, in the
예컨대, 전자 장치(100)가 IPTV를 제공하고, 전자 장치(100)의 알람이 세트되지 않은 상태에서, IPTV를 시청하던 사용자가 알람 서비스를 사용하면, 알람이 세트됨에 따라 전자 장치(100)는 제3 모드(330)로부터 제1 모드(310)로 변환할 수 있다.For example, when the
단계(364)에서, 제1 서비스가 비활성화됨에 따라 전자 장치(100)는 제1 모드(310)로부터 제3 모드(330)로 변환할 수 있다.In
예컨대, 전자 장치(100)가 IPTV를 제공하고 전자 장치(100)의 알람이 세트된 상태에서, 사용자가 알람이 사용되지 않도록 전자 장치(100)를 조작하면 알람이 언세트됨에 따라 전자 장치(100)는 제1 모드(310)로부터 제3 모드(330)로 변환할 수 있다.For example, when the
제1 모드(310) 및 제3 모드(330)에서, SOC(110)의 모드는 활성 상태일 수 있다. 따라서, 전자 장치(100)가 제1 모드(310)로부터 제3 모드(330)로 변환할 때 또는 전자 장치(100)가 제3 모드(330)로부터 제1 모드(310)로 변환할 때에는 SOC(110)의 상태는 변경되지 않을 수 있다.In the
단계(372)에서, 제2 서비스가 비활성화됨에 따라 전자 장치(100)가 제3 모드(330)로부터 제4 모드(340)로 변환할 수 있다.In
여기서, 제4 모드(340)는 제1 서비스 및 제2 서비스가 각각 비활성화된 모드일 수 있다.Here, the
예컨대, 전자 장치(100)가 IPTV를 제공하고 전자 장치(100)의 알람이 세트되지 않은 상태에서, IPTV를 시청하던 사용자가 전자 장치(100)의 IPTV 기능을 중지시키면, IPTV 서비스가 오프됨에 따라 전자 장치(100)는 제3 모드(330)로부터 제4 모드(340)로 변환할 수 있다.For example, when the
전자 장치(100)가 제4 모드(340)로 변환하면, SOC(110)에 의해 제공되는 제2 서비스는 실행되지 않을 수 있다. 따라서, 전자 장치(100)가 제4 모드(340)로 변환할 때 SOC(110)는 비활성 상태로 변환될 수 있다. SOC(110)가 비활성 상태로 변환됨에 따라, SOC(110)로의 전력 공급은 차단될 수 있다. SOC(110)가 비활성 상태로 변환된 제4 모드(340)에서, 전자 장치(100)의 전력 관리는 마이컴(120)에 의해 수행될 수 있다. 즉, 전자 장치(100)의 제4 모드(340)로부터 다른 모드로의 변환은 마이컴(120)에 의해 수행될 수 있다.When the
단계(374)에서, 제2 서비스가 활성화됨에 따라 전자 장치(100)가 제4 모드(340)로부터 제3 모드(330)로 변환할 수 있다.In
예컨대, 전자 장치(100)가 IPTV를 제공하지 않고 전자 장치(100)의 알람이 세트되지 않은 상태에서, 사용자가 전자 장치(100)의 IPTV 기능을 시작시키거나 재개시키면, IPTV 서비스가 온됨에 따라 전자 장치(100)는 제4 모드(340)로부터 제3 모드(330)로 변환할 수 있다.For example, if the user starts or resumes the IPTV function of the
단계(382)에서, 제1 서비스가 비활성화됨에 따라 전자 장치(100)가 제2 모드(320)로부터 제4 모드(340)로 변환할 수 있다.In
예컨대, 전자 장치(100)가 IPTV를 제공하지 않고 전자 장치(100)의 알람이 세트된 상태에서, 사용자가 알람이 사용되지 않도록 전자 장치(100)를 조작하면 알람이 언세트됨에 따라 전자 장치(100)는 제2 모드(320)로부터 제4 모드(340)로 변환할 수 있다.
For example, when the
도 2 및 도 3을 참조하여 전술된 것처럼, 전자 장치(100)의 모드가 변환될 때, SOC(110) 및 하나 이상의 모듈들(130) 각각으로의 전원 공급이 변환된 모드에 따라 하드웨어적으로 제어될 수 있다. 여기서, 전원 공급이 하드웨어적으로 제어된다는 것은 상기의 전원 공급이 하드웨어적으로 구성된 회로, 하드웨어에 내장된 로직(logic), 하드웨어에 내장된 코드(code) 또는 스위치(switch) 등과 같은 물리적 부품 등에 의해 제어된다는 것을 의미할 수 있다. 또한, 변환된 모드에 따라 SOC(110) 및 하나 이상의 모듈들(130) 각각으로 전원이 소프트웨어적으로 재 인가될 수 있다. 여기서, 전원이 소프트웨어적으로 재 인가된다는 것은, 상기의 재 인가가 SOC(110) 또는 마이컴(120)에 의해 실행되는 소프트웨어의 코드, 전자 장치(100)의 운영 체제(operating system)의 코드 등과 같은 SOC(110) 및 하나 이상의 모듈들(130)의 정상적인 동작을 보장하기 위해 요구되는 코드에 의해 수행된다는 것을 의미할 수 있다.As described above with reference to FIGS. 2 and 3, when the mode of the
전자 장치(100)에서, 상술된 전력 관리의 주체는 일반적으로 SOC(110)이다. 그러나, SOC(110)가 비활성 상태로 동작하지 않는 모드에서는 마이컴(120)이 전력 관리의 주체가 될 수 있다. 즉, 제1 모드(310) 및 제3 모드(330)에서 전자 장치(100)에서의 전력 관리는 SOC(110)에 의해 수행될 수 있고, 제2 모드(320) 및 제4 모드(340)에서의 전자 장치(100)에서의 전력 관리는 마이컴(120)에 의해 수행될 수 있다.In the
활성 상태의 SOC(110)는 슬립(sleep)함으로써 비활성 상태가 될 수 있다. 또한, 비활성 상태의 SOC(110)는 웨이크-업(wake-up)됨으로써 활성 상태가 될 수 있다. SOC(110)가 슬립한 후 상술된 전력 관리의 수행 주체는 SOC(110)로부터 마이컴(120)으로 변경될 수 있다.The
전자 장치(100)의 모드가 제2 모드(320)로 변경되면, SOC(110)로의 전력의 공급이 차단될 수 있다. 상기의 차단 후, 마이컴(120)에 의해 전력 관리가 수행됨으로써, 전자 장치(100)의 모드는 제4 모드(340)로 재변경될 수 있다. 상기의 재변경으로 인해, 추가적으로 전력의 소모가 절감될 수 있다. 즉, SOC(110)로의 전력의 공급이 차단된 이후에도 전자 장치(100)의 모드가 변경됨으로써 전력 관리의 영역이 확장될 수 있다.
When the mode of the
하기에서, SOC(110) 및 마이컴(120)가의 전력 관리에 관련된 정보를 주고 받는 방법을 설명한다.Hereinafter, a method of transmitting and receiving information related to power management of the
일반적으로, SOC(110) 및 마이컴(120)은 시리얼(serial) 통신 등 다양한 방법을 사용하여 전력 관리에 관련된 정보를 서로 간에 송수신할 수 있다. SOC(110)의 상태가 비활성 상태인 동안에는, 상기의 방법이 사용되지 못할 수 있다.In general, the
상기의 방법에 대한 대안으로서, 전력 관리를 수행하는 마이컴(120)은 SOC(110)를 웨이크-업할 때 상기의 전력 관리의 결과를 전송할 수 있다. 마이컴(120)은 범용 입출력(General Purpose Input Output; GPIO)에 의해 특정된 SOC(110)의 핀(pin)을 통해 GPIO 인터럽트(interrupt)를 SOC(110)로 전송할 수 있다. 즉, 마이컴(120)이 GPIO 인터럽트를 사용하여 SOC(110)를 웨이크-업시킴으로써 SOC(110)는 활성 상태로 변환될 수 있다.As an alternative to the method above, the
또한, 마이컴(120)은 전자 장치(100)의 모드 또는 다른 상황에 따라 복수 개의 GPIO 인터럽트들 중 하나의 인터럽트를 지정함으로써 SOC(110)에게 변경될 모드에 대한 정보를 전달할 수 있다. 즉, 마이컴(120)이 복수 개의 GPIO 인터럽트들 중 하나의 인터럽트를 사용하여 SOC(110)를 웨이크-업 시킴으로써 SOC(110)는 활성 상태로 변환될 수 있고, 전자 장치(100)가 어떤 모드인가에 따라 복수 개의 GPIO 인터럽트들 중 SOC(110)를 웨이크-업시키기 위해 사용될 GPIO 인터럽트가 결정될 수 있다. SOC(110)는 복수 개의 GPIO 인터럽트들 중 수신한 GPIO 인터럽트에 따라 전자 장치(100)가 변환될 모드를 결정할 수 있다.In addition, the
예컨대, 복수 개의 GPIO 인터럽트들이 GPIO A3 및 GPIO A4이면, 전자 장치(100)가 전술된 제2 모드(320) 및 제4 모드(340) 중 어떤 모드인가에 따라 복수 개의 GPIO 인터럽트들인 GPIO A3 및 GPIO A4 중 SOC(110)를 웨이크-업시키기 위해 사용될 GPIO 인터럽트가 결정될 수 있다. 전자 장치(100)의 모드가 제2 모드(320)인 경우, 마이컴(120)은 GPIO A4을 사용하여 SOC(110)를 웨이크-업시킬 수 있다. 전자 장치(100)의 모드가 제3 모드(330)인 경우, 마이컴(120)은 GPIO A4을 사용하여 SOC(110)를 웨이크-업시킬 수 있다. SOC(110)가 GPIO A3을 수신하여 SOC(110)의 상태가 활성 상태로 전환되면, SOC(110)는 전자 장치(100)의 모드를 제1 모드로 변환시킬 수 있다. SOC(110)가 GPIO A4를 수신하여 SOC(110)의 상태가 활성 상태로 전환되면, SOC(110)는 전자 장치(100)의 모드를 제3 모드로 변환시킬 수 있다.For example, if the plurality of GPIO interrupts are GPIO A3 and GPIO A4, the plurality of GPIO interrupts GPIO A3 and GPIO depending on whether the
또한, SOC(110)는 복수 개의 GPIO 인터럽트들 중 수신한 GPIO에 기반하여 하나 이상의 모듈들(130) 각각으로의 전력 공급 여부를 결정할 수 있다. 예컨대, SOC(110)가 GPIO A3을 수신하여 SOC(110)의 상태가 활성 상태로 전환되면, SOC(110)는 전자 장치(100)의 모드가 제2 모드로부터 제1 모드로 변환된 것을 알 수 있고, 제2 서비스를 위해 LAN(132)으로 전력을 공급할 수 있다. 또한, SOC(110)가 GPIO A4을 수신하여 SOC(110)의 상태가 활성 상태로 전환되면, SOC(110)는 전자 장치(100)의 모드가 제4 모드(340)로부터 제3 모드(330)로 변환된 것을 알 수 있고, 제2 서비스를 위해 LAN(132) 및 플래시(134) 각각으로 전력을 공급할 수 있다.In addition, the
상술된 것처럼, 마이컴(120)은 SOC(110)가 슬립하여 비활성 상태에 있는 동안 전자 장치(100)의 전력 관리를 수행할 수 있고, 상기의 전력 관리의 결과로서 변경된 콘텍스트를 미리 약속된 GPIO 인터럽트를 사용하여 SOC(110)로 전달할 수 있다. 따라서, SOC(110)가 비활성 상태에 있는 동안에서의 전력 관리의 공백이 사라지고, 연속적인 전력 관리가 수행될 수 있다.
As described above, the
앞서 설명한 기술적 내용들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예들을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 하드웨어 장치는 실시예들의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.
The above-described technical features may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.
이상과 같이 실시예를 통해 설명된 기술적 내용은 다양한 수정 및 변형이 가능하다. 그러므로, 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.As described above, the technical details described in the embodiments can be variously modified and modified. Therefore, the scope of the invention should not be limited to the described embodiments, but should be determined by the equivalents of the appended claims, as well as the appended claims.
100: 전자 장치
110: SOC
120: 마이컴
130: 하나 이상의 모듈들100: electronic device
110: SOC
120: micom
130: one or more modules
Claims (11)
상기 전자 장치가 제1 모드로부터 제2 모드로 변환하는 단계; 및
상기 전자 장치가 상기 제2 모드로부터 상기 제1 모드로 변환하는 단계
제1 서비스가 비활성화됨에 따라 상기 전자 장치가 상기 제1 모드로부터 제3 모드로 변환하는 단계; 및
상기 제1 서비스가 활성화됨에 따라 상기 전자 장치가 상기 제3 모드로부터 상기 제1 모드로 변환하는 단계
를 포함하고,
상기 제1 서비스는 상기 전자 장치의 시스템 온 칩 및 상기 전자 장치의 마이컴 중 상기 마이컴 만에 의해 제공되는 서비스고,
상기 제1 모드는 상기 제1 서비스 및 상기 시스템-온-칩에 의해 제공되는 제2 서비스가 각각 활성화된 모드고,
상기 제2 모드는 상기 제2 서비스 및 상기 제1 서비스 중 상기 제1 서비스 만이 활성화된 모드고,
상기 제3 모드는 상기 제1 서비스는 비활성화되고, 상기 제2 서비스는 활성화된 모드고,
상기 전자 장치가 상기 제2 모드로 변환할 때 상기 시스템-온-칩은 비활성 상태로 변환되고,
상기 전자 장치가 상기 제1 모드로 변환할 때 상기 시스템-온-칩은 활성 상태로 변환되는, 전자 장치가 전력 관리를 수행하는 방법.In the method for the electronic device to perform power management,
Converting, by the electronic device, from a first mode to a second mode; And
The electronic device converting from the second mode to the first mode
Changing, by the electronic device, from the first mode to a third mode as a first service is deactivated; And
Converting from the third mode to the first mode by the electronic device as the first service is activated
Lt; / RTI >
The first service is a service provided by only the microcomputer among the system on chip of the electronic device and the microcomputer of the electronic device.
The first mode is a mode in which the first service and the second service provided by the system-on-chip are activated, respectively.
The second mode is a mode in which only the first service of the second service and the first service is activated.
In the third mode, the first service is deactivated, and the second service is activated mode.
The system-on-chip is converted to an inactive state when the electronic device switches to the second mode,
And the system-on-chip transitions to an active state when the electronic device transitions to the first mode.
상기 전자 장치가 상기 제2 모드로 변환할 때 상기 시스템-온-칩으로의 전력 공급은 차단되고,
상기 제2 모드에서, 상기 전자 장치의 전력 관리는 상기 마이컴에 의해 수행되는, 전자 장치가 전력 관리를 수행하는 방법.The method of claim 1,
The power supply to the system-on-chip is cut off when the electronic device switches to the second mode,
In the second mode, power management of the electronic device is performed by the microcomputer.
상기 마이컴이 범용 입출력(General Purpose Input Output; GPIO) 인터럽트(interrupt)를 사용하여 상기 시스템-온-칩을 웨이크-업(wake-up) 시킴으로써 상기 시스템 온 칩은 상기 활성 상태로 변환되는, 전자 장치가 전력 관리를 수행하는 방법.The method of claim 1,
Wherein the microcomputer wakes up the system-on-chip using a General Purpose Input Output (GPIO) interrupt so that the system on chip is converted to the active state. How to do power management.
상기 제2 서비스가 비활성화됨에 따라 상기 전자 장치가 상기 제3 모드로부터 제4 모드로 변환하는 단계; 및
상기 제2 서비스가 활성화됨에 따라 상기 전자 장치가 상기 제4 모드로부터 상기 제3 모드로 변환하는 단계
를 더 포함하고,
상기 제4 모드는 상기 제1 서비스 및 상기 제2 서비스가 각각 비활성화된 모드이고
상기 전자 장치가 상기 제3 모드로 변환할 때 상기 시스템-온-칩은 상기 활성 상태로 변환되고,
상기 전자 장치가 상기 제4 모드로 변환할 때 상기 시스템-온-칩은 상기 비활성 상태로 변환되는, 전자 장치가 전력 관리를 수행하는 방법.The method of claim 1,
Changing, by the electronic device, from the third mode to a fourth mode as the second service is deactivated; And
Converting, by the electronic device, from the fourth mode to the third mode as the second service is activated
Further comprising:
The fourth mode is a mode in which the first service and the second service are deactivated, respectively.
When the electronic device transitions to the third mode, the system-on-chip transitions to the active state,
And the system-on-chip is converted to the inactive state when the electronic device transitions to the fourth mode.
상기 마이컴이 복수 개의 GPIO 인터럽트들 중 하나의 GPIO 언터럽트를 사용하여 상기 시스템-온-칩을 웨이크-업 시킴으로써 상기 시스템 온 칩은 상기 활성 상태로 변환되고,
상기 전자 장치가 상기 제2 모드 및 상기 제4 모드 중 어떤 모드인가에 따라 상기 복수 개의 GPIO 인터럽트들 중 상기 시스템-온-칩을 웨이크-업시키기 위해 사용될 GPIO 인터럽트가 결정되는, 전자 장치가 전력 관리를 수행하는 방법.6. The method of claim 5,
The microcomputer wakes up the system-on-chip using a GPIO interrupt of one of a plurality of GPIO interrupts so that the system on chip is converted into the active state,
The power management of the electronic device determines which GPIO interrupt to be used to wake up the system-on-chip among the plurality of GPIO interrupts depending on which of the second mode and the fourth mode the electronic device is. How to do it.
상기 제1 모드 및 상기 제3 모드에서 상기 전자 장치에서의 전력 관리는 상기 시스템-온-칩에 의해 수행되고,
상기 제2 모드 및 상기 제4 모드에서의 상기 전자 장치에서의 전력 관리는 상기 마이컴에 의해 수행되는, 전자 장치가 전력 관리를 수행하는 방법.6. The method of claim 5,
Power management in the electronic device in the first mode and the third mode is performed by the system-on-chip,
The power management in the electronic device in the second mode and the fourth mode is performed by the microcomputer.
상기 제1 서비스가 비활성화됨에 따라 상기 전자 장치가 상기 제2 모드로부터 제4 모드로 변환하는 단계
를 더 포함하고,
상기 제4 모드는 상기 제1 서비스 및 상기 제2 서비스가 각각 비활성화된 모드인, 전자 장치가 전력 관리를 수행하는 방법.The method of claim 1,
The electronic device converting from the second mode to a fourth mode as the first service is deactivated
Further comprising:
And wherein the fourth mode is a mode in which the first service and the second service are deactivated, respectively.
상기 전력 관리는 상기 전자 장치의 모드가 변환함에 따라 상기 전자 장치의 하나 이상의 모듈들 각각으로의 전력 공급 여부를 제어하는 것인, 전자 장치가 전력 관리를 수행하는 방법.The method of claim 1,
Wherein the power management controls whether power is supplied to each of one or more modules of the electronic device as the mode of the electronic device changes.
상기 마이컴은 상기 제1 서비스를 위한 기능을 제공하고,
상기 시스템-온-칩은 상기 제1 서비스의 설정을 위한 사용자 인터페이스를 제공하는, 전자 장치가 전력 관리를 수행하는 방법.The method of claim 1,
The microcomputer provides a function for the first service,
And the system-on-chip provides a user interface for setting up the first service.
시스템-온-칩; 및
마이컴
을 포함하고,
상기 전자 장치는 제1 모드, 제2 모드 및 제3 모드를 가지며,
상기 전자 장치는 상기 제1 모드로부터 상기 제2 모드로 변환하고,
상기 전자 장치는 상기 제2 모드로부터 상기 제1 모드로 변환하고,
상기 전자 장치는 제1 서비스가 비활성화됨에 따라 상기 제1 모드로부터 상기 제3 모드로 변환하고,
상기 전자 장치는 상기 제1 서비스가 활성화됨에 따라 상기 제3 모드로부터 상기 제1 모드로 변환하고,
상기 제1 서비스는 상기 시스템-온-칩 및 상기 마이컴 중 상기 마이컴 만에 의해 제공되는 서비스이고,
상기 제1 모드는 상기 제1 서비스 및 상기 시스템-온-칩에 의해 제공되는 제2 서비스가 각각 활성화된 모드고,
상기 제2 모드는 상기 제1 서비스 및 상기 제2 서비스 중 상기 제1 서비스 만이 활성화된 모드고,
상기 제3 모드는 상기 제1 서비스는 비활성화되고, 상기 제2 서비스는 활성화된 모드고,
상기 전자 장치가 상기 제2 모드로 변환할 때 상기 시스템-온-칩은 대기 모드로 변환되고,
상기 전자 장치가 상기 제1 모드로 변환할 때 상기 시스템-온-칩은 활성 모드로 변환되는, 전자 장치.In an electronic device,
System-on-chip; And
Microcomputer
/ RTI >
The electronic device has a first mode, a second mode, and a third mode,
The electronic device converts from the first mode to the second mode,
The electronic device converts from the second mode to the first mode,
The electronic device converts from the first mode to the third mode as the first service is deactivated.
The electronic device converts from the third mode to the first mode as the first service is activated,
The first service is a service provided by the microcomputer only of the system-on-chip and the microcomputer,
The first mode is a mode in which the first service and the second service provided by the system-on-chip are activated, respectively.
The second mode is a mode in which only the first service of the first service and the second service is activated.
In the third mode, the first service is deactivated, and the second service is activated mode.
When the electronic device switches to the second mode, the system-on-chip is converted to a standby mode,
And the system-on-chip is converted to an active mode when the electronic device transitions to the first mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120037934A KR101371319B1 (en) | 2012-04-12 | 2012-04-12 | Apparatus and method for power management using micom and system-on-chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120037934A KR101371319B1 (en) | 2012-04-12 | 2012-04-12 | Apparatus and method for power management using micom and system-on-chip |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20130115551A KR20130115551A (en) | 2013-10-22 |
KR101371319B1 true KR101371319B1 (en) | 2014-03-10 |
Family
ID=49634991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120037934A KR101371319B1 (en) | 2012-04-12 | 2012-04-12 | Apparatus and method for power management using micom and system-on-chip |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101371319B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070055207A (en) * | 2005-11-25 | 2007-05-30 | 삼성전자주식회사 | Methods for controlling power of system with serial interface manner |
KR20100026715A (en) * | 2008-09-01 | 2010-03-10 | 삼성전자주식회사 | Apparatus and method for replying to the external interface host to control the interface power in system on a chip |
-
2012
- 2012-04-12 KR KR1020120037934A patent/KR101371319B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070055207A (en) * | 2005-11-25 | 2007-05-30 | 삼성전자주식회사 | Methods for controlling power of system with serial interface manner |
KR20100026715A (en) * | 2008-09-01 | 2010-03-10 | 삼성전자주식회사 | Apparatus and method for replying to the external interface host to control the interface power in system on a chip |
Also Published As
Publication number | Publication date |
---|---|
KR20130115551A (en) | 2013-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4018533B2 (en) | Low power broadcast receiver | |
JP3126130U (en) | Power saving AV system and power control system | |
US7574615B2 (en) | Method of managing power consumption of a network interface | |
US9110646B2 (en) | Computer system, method for programming a real-time clock and a computer program product | |
TWI324295B (en) | A method for providing seamless transition among different operating environments, and computer system | |
CN101282431B (en) | Set-top box and standby, awakening method thereof | |
KR101324604B1 (en) | Multiple standby state management method and broadcast receiving apparatus using the same | |
US7738792B2 (en) | Multi-protocol infrared receiver | |
US8463970B2 (en) | Method and system for managing sleep states of interrupt controllers in a portable computing device | |
KR101330212B1 (en) | Control device of electric power for monitor and computer system and the method thereof | |
JP2005062955A (en) | Electronic apparatus and power source control method | |
JP2007035044A (en) | Apparatus and method for controlling power supply to storage device | |
TWI358635B (en) | Power managing method for a multi-microprocessor s | |
WO2016029717A1 (en) | Set top box and power consumption reduction method therefor and computer storage medium | |
JP4856232B2 (en) | Wireless communication apparatus and wireless communication method | |
TW200836054A (en) | Wireless power state control | |
US9729335B2 (en) | Method for remotely accessing data and local apparatus using the method | |
US9672048B2 (en) | Electronic device and method for waking up operating system thereof | |
CN103024543A (en) | Implementation method and implementation device for low power consumption of set top box | |
US20130159751A1 (en) | Installation or device with a high-definition multimedia interface | |
KR101371319B1 (en) | Apparatus and method for power management using micom and system-on-chip | |
CN105653297A (en) | Electronic device and control method thereof | |
JP6245056B2 (en) | Information processing apparatus, power supply control program, and USB device | |
US7428646B2 (en) | Wireless control system and method thereof | |
KR101290435B1 (en) | Apparatus and method for reducing power consumption using communication between micom and system-on-chip |
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 | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20170302 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180219 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20190226 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20200217 Year of fee payment: 7 |