KR20180036370A - An electronic device and method for maintaining stability of power - Google Patents

An electronic device and method for maintaining stability of power Download PDF

Info

Publication number
KR20180036370A
KR20180036370A KR1020160126903A KR20160126903A KR20180036370A KR 20180036370 A KR20180036370 A KR 20180036370A KR 1020160126903 A KR1020160126903 A KR 1020160126903A KR 20160126903 A KR20160126903 A KR 20160126903A KR 20180036370 A KR20180036370 A KR 20180036370A
Authority
KR
South Korea
Prior art keywords
power state
power
parameter
state variable
value
Prior art date
Application number
KR1020160126903A
Other languages
Korean (ko)
Inventor
김창수
김태후
노현욱
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020160126903A priority Critical patent/KR20180036370A/en
Publication of KR20180036370A publication Critical patent/KR20180036370A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Abstract

Various embodiments of the present invention relate to an apparatus for maintaining a stable state of power inputted to an SOC and a method thereof. According to an embodiment of the present invention, a method for operating an SOC for maintaining a stable state of power inputted to the SOC includes the operations of: measuring a value of a power state variable inputted to the SOC; determining a state of the power inputted to the SOC based on the measured value of the power state variable; and controlling a parameter related to the operation of the SOC based on the determined state of the power. Accordingly, the present invention can prevent a data loss due to the instability of a system.

Description

전자 장치 및 전력의 안정성을 유지하기 위한 방법{AN ELECTRONIC DEVICE AND METHOD FOR MAINTAINING STABILITY OF POWER}ELECTRONIC APPARATUS AND METHOD FOR MAINTAINING STABILITY OF POWER [0002]

다양한 실시 예들은 전자 장치에 포함되는 시스템온칩(System on Chip, 이하 "SOC"라 칭함)의 각 내부의 전력의 안정성을 유지하기 위한 전자 장치 및 방법에 대한 것으로서, 특히 SOC 형태로 구성된 전자 장치 내부 각각에서 구동 전원의 상태를 모니터링하고, 안정을 요하는 관련 파라미터를 제어하여 전자 장치의 전원 불안정 상태를 방지하기 위한 것이다.Various embodiments are directed to an electronic device and method for maintaining the stability of power in each of system-on-a-chip (SOC) included in an electronic device, and more particularly, Each of which monitors the state of the driving power source and controls related parameters requiring stability, thereby preventing the power source unstable state of the electronic device.

오늘날 첨단 모바일 기기인 전자 장치는 갈수록 소형화를 요구하고 있으며, 성능 및 기능성 향상에 대한 요구는 끊임없이 더 높아지고 있다. 그 결과, 전자 장치에 핵심적으로 사용되는 마이크로프로세서와 같은 정교한 디지털IC들은 낮은 전력 소모와 높은 프로세싱 성능을 계속 요구하고 있다. 따라서 이들 마이크로프로세서의 전력을 적절히 제어하고, 모니터링하기 위해서, 고도로 전문화된 고성능 전력 관리시스템이 사용되어 왔다. 상기 전력 관리시스템인 PMIC (Power Management IC)는 스마트폰을 비롯한 전자 장치에 흔히 장착되어 있으며, 전자 장치에서 요구하는 전원을 안정되게 공급하기 위해 입력 전원을 변환, 관리 및 배분하는 역할을 수행하는 것으로 널리 알려져 있다.Today, electronic devices, advanced mobile devices, are becoming increasingly demanding, and the demand for increased performance and functionality is constantly increasing. As a result, sophisticated digital ICs such as microprocessors, which are critical for electronic devices, continue to demand low power consumption and high processing performance. Therefore, highly specialized and high performance power management systems have been used to properly control and monitor the power of these microprocessors. The PMIC (Power Management IC), which is a power management system, is often installed in electronic devices including a smart phone and performs a function of converting, managing, and distributing input power to stably supply power required by an electronic device It is widely known.

전자 장치에 사용되는 SOC의 경우, 전원과 IP (Intellectual Property) 사이에 별도의 측정 시스템 및 디스플레이를 구현하여 전원의 상태를 확인하였고, 전원의 문제점을 확인 한 경우, 다수의 전원 통로(power path)들 중에서 문제되지 않는 다른 통로(path)로 연결해주는 방식으로 전원의 문제점을 극복하였다. 그러나 이 방식은 전원 통로를 복잡하게 설계해야 하며, 별도의 전원 측정 시스템이 SOC의 외부에 위치하였다. 이와 같은 구성은, SOC를 구성하는 각각의 IP의 측정 전압과, SOC를 구성하는 각 IP의 실제 구동 전압간 차이가 일어나게 된다. 그 이유는, 측정 시스템에서 측정되는 각 IP의 전압의 값이, 실제 전압 값을 정확하게 검침하여 표시하지 못하기 때문이다. 따라서 전자 장치는, 각 IP의 전압의 값이 실제로 동작 범위 내의 값이라고 하더라도 임계 값을 넘었다고 판단하여 IP의 동작 클럭 등을 조절하게 된다. 또한, 실제로 각 IP의 전압의 값이 임계 값을 넘더라도 동작 범위 내의 값이라고 판단하여 사용자가 예측하지 못하는 타이밍에 오동작을 초래할 수도 있다. In case of the SOC used in the electronic device, a separate measurement system and display are implemented between the power source and the intellectual property (IP) to check the state of the power source. When a problem of the power source is identified, To the other path that does not matter. However, this approach requires complicated design of the power path, and a separate power measurement system is located outside the SOC. Such a configuration causes a difference between the measured voltage of each IP constituting the SOC and the actual driving voltage of each IP constituting the SOC. The reason for this is that the value of each IP voltage measured in the measurement system can not accurately display the actual voltage value and display it. Therefore, the electronic device judges that the voltage value of each IP exceeds the threshold value even if the value of the voltage of the IP is actually within the operation range, and controls the operation clock of IP and the like. Further, even if the value of the voltage of each IP actually exceeds the threshold value, it is judged that the value is within the operation range, and it may cause a malfunction at a timing that the user can not predict.

일 실시예에 따른 전자 장치는, 적어도 하나의 시스템온칩을 포함하고, 상기 시스템온칩은 프로세서를 비롯한 적어도 하나의 IP(Intellectual Property)를 포함하고, 상기 IP는, 상기 IP에 입력되는 전원 상태 변수의 값을 측정하는 전원 상태 검출부를 포함하고, 상기 프로세서는, 상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 전원의 상태를 판단하는 전원 상태 판단부, 및 상기 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 파라미터 제어부를 더 포함할 수 있다.An electronic device according to an embodiment includes at least one system-on-chip, the system-on-chip comprising at least one intellectual property (IP) including a processor, the IP comprising: Wherein the processor comprises: a power state determiner for determining a state of a power source input to the IP based on the measured value of the power state variable; And a parameter control unit for controlling a parameter related to the operation of the IP based on the parameter.

다양한 실시예에 따른 적어도 하나의 시스템온칩을 포함하는 전자 장치의 전력의 안정성을 유지하기 위한 방법은, 상기 시스템온칩에 포함되는 적어도 하나의 IP(Intellectual Property)에 각 입력되는 전원 상태 변수의 값을 상기 IP 내부에 배치된 전원 상태 검출부를 통하여 측정하는 동작, 상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 전원의 상태를 판단하는 동작 및 상기 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 동작을 포함할 수 있다.A method for maintaining power stability of an electronic device comprising at least one system-on-chip according to various embodiments includes the steps of: determining a value of each input power state variable in at least one intellectual property (IP) Determining an operation state of the power source to be input to the IP based on the measured value of the power state variable, and determining an operation state of the IP signal based on the determined state of the power source, Lt; RTI ID = 0.0 > a < / RTI >

일 실시예에 따르면, SOC 내부적으로, SOC를 구성하는 각 IP에 입력되는 전원 상태 변수의 값을 상기 IP 내부에 배치된 전원 상태 검출부를 통하여 측정함으로써 전원의 상태를 SOC 자체적으로 결정할 수 있다. 또한, 관련 파라미터를 제어함으로써 전원의 상태를 안정 상태로 유지할 수 있다. 이에 따라, SOC의 설계 시, 예기치 못하게 발생하는 시스템 불안정(예 : kernel panic, lockup)을 사전에 차단함으로써, SOC의 개발 기간을 단축할 수 있다. 또한, 상기 SOC가 내장된 전자 장치(예 : 휴대용 단말기)를 사용할 때, 시스템 불안정으로 인한 데이터의 손실을 미리 방지하고, 전원 안정성에 대한 정보를 모니터링함으로써, 불안정을 야기할 수 있는 상황을 미리 회피할 수 있는 효과가 있다. According to an embodiment, the state of the power source can be determined by the SOC itself by measuring the value of the power state variable input to each IP configuring the SOC internally through the power state detector disposed in the IP. In addition, the state of the power source can be maintained in a stable state by controlling the related parameters. Accordingly, it is possible to shorten the development period of the SOC by blocking system unstable (e.g., kernel panic, lockup) that occurs unexpectedly in the design of the SOC in advance. Further, when using an electronic device (e.g., a portable terminal) having the built-in SOC, data loss due to system instability is prevented in advance, and information on power stability is monitored, thereby avoiding situations that may cause instability. There is an effect that can be done.

도 1은 다양한 실시예에 따른 네트워크 환경 시스템을 도시한다.
도 2는 다양한 실시예에 따른 전자 장치의 블록도를 도시한다.
도 3은 다양한 실시예에 따른 프로그래밍 모듈의 블록도를 도시한다.
도 4는 다양한 실시예에 따른 적어도 하나의 IP가 내장된 SOC의 블록도이다.
도 5은 다양한 실시예에 따른 적어도 하나의 IP가 내장된 SOC의 상세 블록도이다.
도 6는 다양한 실시예에 따른 프로세서가 현재 전원 상태를 판단하고, 판단된 전원 상태를 바탕으로 관련 파라미터를 제어하는 동작 순서를 도시한 순서도이다.
도 7는 다양한 실시예에 따른 프로세서가 사용자의 모드 입력에 따라서 프로세서가 알림 메시지를 출력하는 동작 순서를 도시한 순서도이다.
도 8은 다양한 실시예에 따른 SOC의 전원 상태의 안정성을 유지를 위한 관련 파라미터 제어에서, 오동작을 방지하기 위한 동작 순서를 도시한 순서도이다.
도 9는 다양한 실시예에 따른 프로세서가 SOC의 전원 상태에 대한 정보를 출력하기 위한 순서를 도시한 순서도이다.
도 10은 다양한 실시예에 따른 프로세서가 주변 환경 조건에 따라 사용자에게 알림 메시지를 출력하기 위한 순서를 도시한 순서도이다.
도 11은 다양한 실시예에 따른 프로세서에서 주변 환경 조건에 따라 사용자에게 출력하는 알림 메시지를 도시한 도면이다.
도 12은 다양한 실시예에 따른 프로세서가 관련 파라미터를 제어한 후, 관련 파라미터 값의 복구 여부를 결정하는 동작 순서를 도시한 순서도이다.
1 shows a network environment system according to various embodiments.
Figure 2 shows a block diagram of an electronic device according to various embodiments.
3 shows a block diagram of a programming module according to various embodiments.
4 is a block diagram of an SOC with at least one IP embedded in accordance with various embodiments.
5 is a detailed block diagram of an SOC with at least one IP embedded in accordance with various embodiments.
6 is a flowchart illustrating an operation procedure for a processor according to various embodiments to determine a current power state and to control related parameters based on the determined power state.
7 is a flowchart showing an operation sequence in which a processor according to various embodiments outputs a notification message according to a mode input of a user.
8 is a flowchart illustrating an operation procedure for preventing malfunction in the related parameter control for maintaining the stability of the power state of the SOC according to various embodiments.
FIG. 9 is a flowchart illustrating a procedure for a processor according to various embodiments to output information on a power state of an SOC.
FIG. 10 is a flowchart illustrating a procedure for a processor according to various embodiments to output a notification message to a user according to environmental conditions.
11 is a diagram illustrating a notification message output by a processor according to various embodiments to a user according to an environmental condition.
FIG. 12 is a flow chart illustrating an operational sequence for determining whether a processor in accordance with various embodiments, after controlling an associated parameter, will recover the associated parameter value.

이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B" 또는 "A 및/또는 B 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.Hereinafter, various embodiments of the present document will be described with reference to the accompanying drawings. It is to be understood that the embodiments and terminologies used herein are not intended to limit the invention to the particular embodiments described, but to include various modifications, equivalents, and / or alternatives of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar components. The singular expressions may include plural expressions unless the context clearly dictates otherwise. In this document, the expressions "A or B" or "at least one of A and / or B" and the like may include all possible combinations of the items listed together. Expressions such as " first, "" second," " first, "or" second, " But is not limited to those components. When it is mentioned that some (e.g., first) component is "(functionally or communicatively) connected" or "connected" to another (second) component, May be connected directly to the component, or may be connected through another component (e.g., a third component).

본 문서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 application processor)를 의미할 수 있다. In this document, the term " configured to (or configured) to "as used herein is intended to encompass all types of hardware, software, Quot ;, "made to do "," made to do ", or "designed to" In some situations, the expression "a device configured to" may mean that the device can "do " with other devices or components. For example, a processor configured (or configured) to perform the phrases "A, B, and C" may be implemented by executing one or more software programs stored in a memory device or a dedicated processor (e.g., an embedded processor) , And a general purpose processor (e.g., a CPU or an application processor) capable of performing the corresponding operations.

본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 이동 전화기, 영상 전화기, 전자책 리더기, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버, PDA, PMP(portable multimedia player), MP3 플레이어, 의료기기, 카메라, 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드 또는 문신), 또는 생체 이식형 회로 중 적어도 하나를 포함할 수 있다. 어떤 실시예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.Electronic devices in accordance with various embodiments of the present document may be used in various applications such as, for example, smart phones, tablet PCs, mobile phones, videophones, electronic book readers, desktop PCs, laptop PCs, netbook computers, workstations, a portable multimedia player, an MP3 player, a medical device, a camera, or a wearable device. Wearable devices may be of the type of accessories (eg, watches, rings, bracelets, braces, necklaces, glasses, contact lenses or head-mounted-devices (HMD) (E.g., a skin pad or tattoo), or a bio-implantable circuit. In some embodiments, the electronic device may be, for example, a television, a digital video disk (Such as Samsung HomeSync TM , Apple TV TM , or Google TV TM ), which are used in home appliances such as home appliances, audio, refrigerators, air conditioners, vacuum cleaners, ovens, microwave ovens, washing machines, air cleaners, set top boxes, home automation control panels, , A game console (e.g., Xbox TM , PlayStation TM ), an electronic dictionary, an electronic key, a camcorder, or an electronic photo frame.

다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM, 상점의 POS(point of sales), 또는 사물 인터넷 장치 (예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다. 어떤 실시예에 따르면, 전자 장치는 가구, 건물/구조물 또는 자동차의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터, 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 플렉서블하거나, 또는 전술한 다양한 장치들 중 둘 이상의 조합일 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.In an alternative embodiment, the electronic device may be any of a variety of medical devices (e.g., various portable medical measurement devices such as a blood glucose meter, a heart rate meter, a blood pressure meter, or a body temperature meter), magnetic resonance angiography (MRA) A navigation system, a global navigation satellite system (GNSS), an event data recorder (EDR), a flight data recorder (FDR), an automobile infotainment device, a marine electronic equipment (For example, marine navigation systems, gyro compasses, etc.), avionics, security devices, head units for vehicles, industrial or domestic robots, drones, ATMs at financial institutions, of at least one of the following types of devices: a light bulb, a fire detector, a fire alarm, a thermostat, a streetlight, a toaster, a fitness device, a hot water tank, a heater, a boiler, . According to some embodiments, the electronic device may be a piece of furniture, a building / structure or part of an automobile, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (e.g., Gas, or radio wave measuring instruments, etc.). In various embodiments, the electronic device is flexible or may be a combination of two or more of the various devices described above. The electronic device according to the embodiment of the present document is not limited to the above-described devices. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).

도 1을 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. 버스(110)는 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 또는 데이터)을 전달하는 회로를 포함할 수 있다. 프로세서(120)는, 중앙처리장치, 어플리케이션 프로세서, 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. Referring to Figure 1, in various embodiments, an electronic device 101 in a network environment 100 is described. The electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or additionally include other components. The bus 110 may include circuitry to connect the components 110-170 to one another and to communicate communications (e.g., control messages or data) between the components. Processor 120 may include one or more of a central processing unit, an application processor, or a communications processor (CP). The processor 120 may perform computations or data processing related to, for example, control and / or communication of at least one other component of the electronic device 101.

메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(API)(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템으로 지칭될 수 있다. 커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. Memory 130 may include volatile and / or non-volatile memory. Memory 130 may store instructions or data related to at least one other component of electronic device 101, for example. According to one embodiment, the memory 130 may store software and / or programs 140. The program 140 may include, for example, a kernel 141, a middleware 143, an application programming interface (API) 145, and / or an application program . At least some of the kernel 141, middleware 143, or API 145 may be referred to as an operating system. The kernel 141 may include system resources used to execute an operation or function implemented in other programs (e.g., middleware 143, API 145, or application program 147) (E.g., bus 110, processor 120, or memory 130). The kernel 141 also provides an interface to control or manage system resources by accessing individual components of the electronic device 101 in the middleware 143, API 145, or application program 147 .

미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다. API(145)는 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. 입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달하거나, 또는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다. The middleware 143 can perform an intermediary role such that the API 145 or the application program 147 can communicate with the kernel 141 to exchange data. In addition, the middleware 143 may process one or more task requests received from the application program 147 according to the priority order. For example, middleware 143 may use system resources (e.g., bus 110, processor 120, or memory 130, etc.) of electronic device 101 in at least one of application programs 147 Prioritize, and process the one or more task requests. The API 145 is an interface for the application 147 to control the functions provided by the kernel 141 or the middleware 143. The API 145 is an interface for controlling the functions provided by the application 141. For example, An interface or a function (e.g., a command). Output interface 150 may be configured to communicate commands or data entered from a user or other external device to another component (s) of the electronic device 101, or to another component (s) of the electronic device 101 ) To the user or other external device.

디스플레이(160)는, 예를 들면, 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 마이크로 전자기계 시스템 (MEMS) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다. 통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.The display 160 may include a display such as, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, or a microelectromechanical system (MEMS) display, or an electronic paper display . Display 160 may display various content (e.g., text, images, video, icons, and / or symbols, etc.) to a user, for example. Display 160 may include a touch screen and may receive a touch, gesture, proximity, or hovering input using, for example, an electronic pen or a portion of the user's body. The communication interface 170 establishes communication between the electronic device 101 and an external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106) . For example, communication interface 170 may be connected to network 162 via wireless or wired communication to communicate with an external device (e.g., second external electronic device 104 or server 106).

무선 통신은, 예를 들면, LTE, LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시예에 따르면, 무선 통신은, 예를 들면, WiFi(wireless fidelity), 블루투스, 블루투스 저전력(BLE), 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(Magnetic Secure Transmission), 라디오 프리퀀시(RF), 또는 보디 에어리어 네트워크(BAN) 중 적어도 하나를 포함할 수 있다. 한실시예에 따르면, 무선 통신은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 상호 호환적으로 사용될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 텔레커뮤니케이션 네트워크, 예를 들면, 컴퓨터 네트워크(예: LAN 또는 WAN), 인터넷, 또는 텔레폰 네트워크 중 적어도 하나를 포함할 수 있다.The wireless communication may include, for example, LTE, LTE-A (LTE Advance), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro) System for Mobile Communications), and the like. According to one embodiment, the wireless communication may be wireless communication, such as wireless fidelity (WiFi), Bluetooth, Bluetooth low power (BLE), Zigbee, NFC, Magnetic Secure Transmission, Frequency (RF), or body area network (BAN). According to one example, wireless communication may include GNSS. GNSS may be, for example, Global Positioning System (GPS), Global Navigation Satellite System (Glonass), Beidou Navigation Satellite System (Beidou) or Galileo, the European global satellite-based navigation system. Hereinafter, in this document, "GPS" can be used interchangeably with "GNSS ". The wired communication may include, for example, at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), a power line communication or a plain old telephone service have. Network 162 may include at least one of a telecommunications network, e.g., a computer network (e.g., LAN or WAN), the Internet, or a telephone network.

제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the first and second external electronic devices 102, 104 may be the same or a different kind of device as the electronic device 101. According to various embodiments, all or a portion of the operations performed in the electronic device 101 may be performed in one or more other electronic devices (e.g., electronic devices 102, 104, or server 106). According to the present invention, when electronic device 101 is to perform a function or service automatically or on demand, electronic device 101 may perform at least some functions associated therewith instead of, or in addition to, (E.g., electronic device 102, 104, or server 106) may request the other device (e.g., electronic device 102, 104, or server 106) Perform additional functions, and forward the results to the electronic device 101. The electronic device 101 may process the received results as is or additionally to provide the requested functionality or services. For example, Cloud computing, distributed computing, or client-server computing techniques can be used.

도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP)(210), 통신 모듈(220), (가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다. 프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드)하여 처리하고, 결과 데이터를 비휘발성 메모리에 저장할 수 있다.2 is a block diagram of an electronic device 201 according to various embodiments. The electronic device 201 may include all or part of the electronic device 101 shown in Fig. 1, for example. The electronic device 201 may include one or more processors (e.g., AP) 210, a communications module 220, a subscriber identification module 224, a memory 230, a sensor module 240, an input device 250, An interface 270, an audio module 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298. The processor 290, The processor 210 may be, for example, an operating system or an application program to control a plurality of hardware or software components coupled to the processor 210, and to perform various data processing and operations. ) May be implemented, for example, as a system on chip (SoC). According to one embodiment, the processor 210 may further include a graphics processing unit (GPU) and / or an image signal processor. The cellular module 210 may include at least some of the components shown in Figure 2 (e.g., the cellular module 221) The processor 210 other components: processing by loading the command or data received from at least one (e.g., non-volatile memory) in the volatile memory) and can store the result data into the nonvolatile memory.

통신 모듈(220)(예: 통신 인터페이스(170))와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227), NFC 모듈(228) 및 RF 모듈(229)를 포함할 수 있다. 셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버, PAM(power amp module), 주파수 필터, LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. 가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 또는 임베디드 SIM을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. May have the same or similar configuration as communication module 220 (e.g., communication interface 170). The communication module 220 may include, for example, a cellular module 221, a WiFi module 223, a Bluetooth module 225, a GNSS module 227, an NFC module 228 and an RF module 229 have. The cellular module 221 can provide voice calls, video calls, text services, or Internet services, for example, over a communication network. According to one embodiment, the cellular module 221 may utilize a subscriber identity module (e.g., a SIM card) 224 to perform the identification and authentication of the electronic device 201 within the communication network. According to one embodiment, the cellular module 221 may perform at least some of the functions that the processor 210 may provide. According to one embodiment, the cellular module 221 may comprise a communications processor (CP). At least some (e.g., two or more) of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228, according to some embodiments, (IC) or an IC package. The RF module 229 can, for example, send and receive communication signals (e.g., RF signals). The RF module 229 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 transmits / receives an RF signal through a separate RF module . The subscriber identification module 224 may include, for example, a card or an embedded SIM containing a subscriber identity module, and may include unique identification information (e.g., ICCID) or subscriber information (e.g., IMSI (international mobile subscriber identity).

메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM, SRAM, 또는 SDRAM 등), 비휘발성 메모리(예: OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 또는 물리적으로 연결될 수 있다.Memory 230 (e.g., memory 130) may include, for example, internal memory 232 or external memory 234. Volatile memory (e.g., a DRAM, an SRAM, or an SDRAM), a non-volatile memory (e.g., an OTPROM, a PROM, an EPROM, an EEPROM, a mask ROM, a flash ROM , A flash memory, a hard drive, or a solid state drive (SSD). The external memory 234 may be a flash drive, for example, a compact flash (CF) ), Micro-SD, Mini-SD, extreme digital (xD), multi-media card (MMC), or memory stick, etc. External memory 234 may communicate with electronic device 201, Or may be physically connected.

센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(240A), 자이로 센서(240B), 기압 센서(240C), 마그네틱 센서(240D), 가속도 센서(240E), 그립 센서(240F), 근접 센서(240G), 컬러(color) 센서(240H)(예: RGB(red, green, blue) 센서), 생체 센서(240I), 온/습도 센서(240J), 조도 센서(240K), 또는 UV(ultra violet) 센서(240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 센서 모듈(240)은, 예를 들면, 후각(e-nose) 센서, 일렉트로마이오그라피(EMG) 센서, 일렉트로엔씨팔로그램(EEG) 센서, 일렉트로카디오그램(ECG) 센서, IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다.The sensor module 240 may, for example, measure a physical quantity or sense the operating state of the electronic device 201 to convert the measured or sensed information into an electrical signal. The sensor module 240 includes a gesture sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, A temperature sensor 240G, a UV sensor 240G, a color sensor 240H (e.g., an RGB (red, green, blue) sensor), a living body sensor 240I, And a sensor 240M. Additionally or alternatively, the sensor module 240 may be configured to perform various functions such as, for example, an e-nose sensor, an electromyography (EMG) sensor, an electroencephalograph (EEG) sensor, an electrocardiogram An infrared (IR) sensor, an iris sensor, and / or a fingerprint sensor. The sensor module 240 may further include a control circuit for controlling at least one or more sensors belonging to the sensor module 240. In some embodiments, the electronic device 201 further includes a processor configured to control the sensor module 240, either as part of the processor 210 or separately, so that while the processor 210 is in a sleep state, The sensor module 240 can be controlled.

입력 장치(250)는, 예를 들면, 터치 패널(252), (디지털) 펜 센서(254), 키(256), 또는 초음파 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. (디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device 258. As the touch panel 252, for example, at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type can be used. Further, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user. (Digital) pen sensor 254 may be part of, for example, a touch panel or may include a separate recognition sheet. Key 256 may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device 258 can sense the ultrasonic wave generated by the input tool through the microphone (e.g., the microphone 288) and confirm the data corresponding to the ultrasonic wave detected.

디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 프로젝터(266), 및/또는 이들을 제어하기 위한 제어 회로를 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나 이상의 모듈로 구성될 수 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 인터페이스(270)는, 예를 들면, HDMI(272), USB(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. Display 260 (e.g., display 160) may include panel 262, hologram device 264, projector 266, and / or control circuitry for controlling them. The panel 262 may be embodied, for example, flexibly, transparently, or wearably. The panel 262 may comprise a touch panel 252 and one or more modules. The hologram device 264 can display a stereoscopic image in the air using interference of light. The projector 266 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 201. The interface 270 may include, for example, an HDMI 272, a USB 274, an optical interface 276, or a D-sub (D-subminiature) 278. The interface 270 may, for example, be included in the communication interface 170 shown in FIG. Additionally or alternatively, the interface 270 may include, for example, a mobile high-definition link (MHL) interface, an SD card / multi-media card (MMC) interface, or an infrared data association have.

오디오 모듈(280)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. 카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, 이미지 시그널 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp 등)를 포함할 수 있다. 전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC, 또는 배터리 또는 연료 게이지를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지 및/또는 태양 전지를 포함할 수 있다. The audio module 280 can, for example, convert sound and electrical signals in both directions. At least some of the components of the audio module 280 may be included, for example, in the input / output interface 145 shown in FIG. The audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, or the like. The camera module 291 is, for example, a device capable of capturing still images and moving images, and according to one embodiment, one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP) , Or flash (e.g., an LED or xenon lamp, etc.). The power management module 295 can, for example, manage the power of the electronic device 201. [ According to one embodiment, the power management module 295 may include a power management integrated circuit (PMIC), a charging IC, or a battery or fuel gauge. The PMIC may have a wired and / or wireless charging scheme. The wireless charging scheme may include, for example, a magnetic resonance scheme, a magnetic induction scheme, or an electromagnetic wave scheme, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, have. The battery gauge can measure, for example, the remaining amount of the battery 296, the voltage during charging, the current, or the temperature. The battery 296 may include, for example, a rechargeable battery and / or a solar cell.

인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동, 또는 햅틱 효과 등을 발생시킬 수 있다. 전자 장치(201)는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있는 모바일 TV 지원 장치(예: GPU)를 포함할 수 있다. 본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치(예: 전자 장치(201))는 일부 구성요소가 생략되거나, 추가적인 구성요소를 더 포함하거나, 또는, 구성요소들 중 일부가 결합되어 하나의 개체로 구성되되, 결합 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.The indicator 297 may indicate a particular state of the electronic device 201 or a portion thereof (e.g., processor 210), e.g., a boot state, a message state, or a state of charge. The motor 298 can convert the electrical signal to mechanical vibration, and can generate vibration, haptic effects, and the like. Electronic device 201 is, for example, DMB Mobile TV-enabled devices capable of handling media data in accordance with standards such as (digital multimedia broadcasting), DVB (digital video broadcasting), or MediaFLO (mediaFlo TM) (for example, : GPU). Each of the components described in this document may be composed of one or more components, and the name of the component may be changed according to the type of the electronic device. In various embodiments, an electronic device (e. G., Electronic device 201) may have some components omitted, further include additional components, or some of the components may be combined into one entity, The functions of the preceding components can be performed in the same manner.

도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(510)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 도 3을 참조하면, 프로그램 모듈(510)은 커널(520)(예: 커널(141)), 미들웨어(330)(예: 미들웨어(143)), (API(360)(예: API(145)), 및/또는 어플리케이션(370)(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 프로그램 모듈(510)의 적어도 일부는 전자 장치 상에 프리로드 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드 가능하다.3 is a block diagram of a program module according to various embodiments. According to one embodiment, program module 510 (e.g., program 140) includes an operating system that controls resources associated with an electronic device (e.g., electronic device 101) and / E.g., an application program 147). The operating system may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM . 3, program module 510 includes a kernel 520 (e.g., kernel 141), middleware 330 (e.g., middleware 143), API 360 (e.g., API 145) ), And / or an application 370 (e.g., an application program 147). At least a portion of the program module 510 may be preloaded on an electronic device, 102 and 104, a server 106, and the like).

커널(520)은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수를 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부를 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. 미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330) 는 런타임 라이브러리(335), 어플리케이션 매니저(341), 윈도우 매니저(342), 멀티미디어 매니저(343), 리소스 매니저(344), 파워 매니저(345), 데이터베이스 매니저(346), 패키지 매니저(347), 커넥티비티 매니저(348), 노티피케이션 매니저(349), 로케이션 매니저(550), 그래픽 매니저(351), 또는 시큐리티 매니저(352) 중 적어도 하나를 포함할 수 있다.The kernel 520 may include, for example, a system resource manager 321 and / or a device driver 323. The system resource manager 321 can perform control, allocation, or recovery of system resources. According to one embodiment, the system resource manager 321 may include a process manager, a memory manager, or a file system manager. The device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication . The middleware 330 may provide various functions through the API 360, for example, to provide functions that are commonly needed by the application 370 or allow the application 370 to use limited system resources within the electronic device. Application 370 as shown in FIG. According to one embodiment, the middleware 330 includes a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, a power manager 345, a database manager And may include at least one of a package manager 346, a package manager 347, a connectivity manager 348, a notification manager 349, a location manager 550, a graphic manager 351, or a security manager 352.

런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수 처리를 수행할 수 있다. 어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370)의 생명 주기를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용되는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(345)는, 예를 들면, 배터리의 용량 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보를 제공할 수 있다. 한 실시예에 따르면, 파워 매니저(345)는 바이오스(BIOS: basic input/output system)와 연동할 수 있다. 데이터베이스 매니저(346)는, 예를 들면, 어플리케이션(370)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. The runtime library 335 may include, for example, a library module that the compiler uses to add new functionality via a programming language while the application 370 is executing. The runtime library 335 may perform input / output management, memory management, or arithmetic function processing. The application manager 341 can manage the life cycle of the application 370, for example. The window manager 342 can manage GUI resources used in the screen. The multimedia manager 343 can recognize the format required for reproducing the media files and can perform encoding or decoding of the media file using a codec according to the format. The resource manager 344 can manage the source code of the application 370 or the space of the memory. The power manager 345 may, for example, manage the capacity or power of the battery and provide the power information necessary for operation of the electronic device. According to one embodiment, the power manager 345 may interoperate with a basic input / output system (BIOS). The database manager 346 may create, retrieve, or modify the database to be used in the application 370, for example. The package manager 347 can manage installation or update of an application distributed in the form of a package file.

커넥티비티 매니저(348)는, 예를 들면, 무선 연결을 관리할 수 있다. 노티피케이션 매니저(349)는, 예를 들면, 도착 메시지, 약속, 근접성 알림 등의 이벤트를 사용자에게 제공할 수 있다. 로케이션 매니저(550)는, 예를 들면, 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화(telephony) 매니저 또는 전술된 구성요소들의 기능들의 조합을 형성할 수 있는 하는 미들웨어 모듈을 포함할 수 있다. 한 실시예에 따르면, 미들웨어(330)는 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. API(360)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The connectivity manager 348 may, for example, manage the wireless connection. The notification manager 349 may provide the user with an event such as, for example, an arrival message, an appointment, a proximity notification, and the like. The location manager 550 can manage the location information of the electronic device, for example. The graphic manager 351 may, for example, manage the graphical effects to be presented to the user or a user interface associated therewith. Security manager 352 may provide, for example, system security or user authentication. According to one embodiment, the middleware 330 may include a telephony manager for managing the voice or video call function of the electronic device, or a middleware module capable of forming a combination of the functions of the above-described components . According to one embodiment, the middleware 330 may provide a module specialized for each type of operating system. Middleware 330 may dynamically delete some existing components or add new ones. The API 360 may be provided in a different configuration depending on the operating system, for example, as a set of API programming functions. For example, for Android or iOS, you can provide a single API set for each platform, and for Tizen, you can provide two or more API sets for each platform.

어플리케이션(370)은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 와치(384), 헬스 케어(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(예: 기압, 습도, 또는 온도 정보) 제공 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 전자 장치와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리 어플리케이션을 포함할 수 있다. 예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션에서 발생된 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 또는 외부 전자 장치에서 동작하는 어플리케이션을 설치, 삭제, 또는 갱신할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치의 속성에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다. 프로그램 모듈(510)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어(예: 프로세서(210)), 또는 이들 중 적어도 둘 이상의 조합으로 구현(예: 실행)될 수 있으며, 하나 이상의 기능을 수행하기 위한 모듈, 프로그램, 루틴, 명령어 세트 또는 프로세스를 포함할 수 있다.The application 370 may include a home 371, a dialer 372, an SMS / MMS 373, an instant message 374, a browser 375, a camera 376, an alarm 377, Contact 378, voice dial 379, email 380, calendar 381, media player 382, album 383, watch 384, healthcare (e.g., measuring exercise or blood glucose) , Or environmental information (e.g., air pressure, humidity, or temperature information) application. According to one embodiment, the application 370 may include an information exchange application capable of supporting the exchange of information between the electronic device and the external electronic device. The information exchange application may include, for example, a notification relay application for communicating specific information to an external electronic device, or a device management application for managing an external electronic device. For example, the notification delivery application can transmit notification information generated in another application of the electronic device to the external electronic device, or receive notification information from the external electronic device and provide the notification information to the user. The device management application may, for example, control the turn-on / turn-off or brightness (or resolution) of an external electronic device in communication with the electronic device (e.g., the external electronic device itself Control), or install, delete, or update an application running on an external electronic device. According to one embodiment, the application 370 may include an application (e.g., a healthcare application of a mobile medical device) designated according to the attributes of the external electronic device. According to one embodiment, the application 370 may include an application received from an external electronic device. At least some of the program modules 510 may be implemented (e.g., executed) in software, firmware, hardware (e.g., processor 210), or a combination of at least two of the same, Program, routine, instruction set or process.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다. 다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예:메모리(130))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체 (예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.As used herein, the term "module " includes units comprised of hardware, software, or firmware and may be used interchangeably with terms such as, for example, logic, logic blocks, components, or circuits. A "module" may be an integrally constructed component or a minimum unit or part thereof that performs one or more functions. "Module" may be implemented either mechanically or electronically, for example, by application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs) And may include programmable logic devices. At least some of the devices (e.g., modules or functions thereof) or methods (e.g., operations) according to various embodiments may be stored in a computer readable storage medium (e.g., memory 130) . ≪ / RTI > When the instruction is executed by a processor (e.g., processor 120), the processor may perform a function corresponding to the instruction. The computer-readable recording medium may be a hard disk, a floppy disk, a magnetic medium such as a magnetic tape, an optical recording medium such as a CD-ROM, a DVD, a magnetic-optical medium such as a floppy disk, The instructions may include code that is generated by the compiler or code that may be executed by the interpreter. Modules or program modules according to various embodiments may include at least one or more of the components described above Operations that are performed by modules, program modules, or other components, in accordance with various embodiments, may be performed in a sequential, parallel, iterative, or heuristic manner, or at least in part Some operations may be executed in a different order, omitted, or other operations may be added.

도 4는 다양한 실시예에 따른 적어도 하나의 IP가 내장된 SOC의 블록도이다.4 is a block diagram of an SOC with at least one IP embedded in accordance with various embodiments.

도 4를 참조하면, 상기 SOC(400)는 한 개 이상의 IP(Intellectual Property) 및 버스(BUS)를 포함할 수 있다. Referring to FIG. 4, the SOC 400 may include one or more intellectual property (IP) and a bus (BUS).

IP는 SOC에 실장되어, 특정 기능을 수행하는 기능 블록일 수 있다. 예를 들어, 상기 IP는 프로세서(410), 메모리(420), 네트워크, DSP와 같은 특정 기능을 수행하는 기능 블록일 수 있다. 한 개 이상의 IP는 또한, 각각 전원 상태 검출부(415, 425, 435)를 포함할 수 있다. 도시되지는 않았으나, 전자 장치는 적어도 하나의 SOC(400) 및 전원부(450)를 포함할 수 있다. 일 실시예에 따르면, 상기 전자 장치는 휴대용 단말기 또는 태블릿 PC일 수 있다.The IP may be a functional block implemented in the SOC and performing a specific function. For example, the IP may be a functional block that performs a specific function, such as processor 410, memory 420, network, or DSP. The one or more IPs may also include power state detectors 415, 425, and 435, respectively. Although not shown, the electronic device may include at least one SOC 400 and a power supply 450. According to one embodiment, the electronic device may be a portable terminal or a tablet PC.

버스는 SOC(400)의 IP간 데이터 전송의 통로가 된다. 예를 들어, 프로세서(410)는 메모리(420), 또는 주변 장치 모듈(430)을 구성하는 한 개 이상의 IP로부터, 상기 버스를 통해 전원 상태 정보를 제공받을 수 있다. 또한 프로세서(410)는 상기 버스를 통해, 메모리(420), 또는 주변 장치 모듈(430)을 구성하는 한 개 이상의 IP에 적용되는 파라미터의 값을 변경할 수 있다.The bus is a path for data transfer between the IPs of the SOC 400. For example, the processor 410 may be provided with power status information from the memory 420, or from one or more IPs that make up the peripheral module 430, via the bus. The processor 410 may also change the values of parameters applied to one or more IPs constituting the memory 420, or the peripheral module 430, via the bus.

전원부(450)는 각각의 IP로 전력을 공급하며, 일 실시예에 따르면 전원부(450)는 휴대용 단말기의 배터리일 수 있다. 또한, 전원부(450)는 PMIC(Power management integrated circuit)을 포함할 수 있으며, 전원부(450)는 각각의 IP에 기 설정된 적정 전압을 인가할 수 있다. The power supply unit 450 supplies power to each IP, and according to an embodiment, the power supply unit 450 may be a battery of the portable terminal. In addition, the power supply unit 450 may include a power management integrated circuit (PMIC), and the power supply unit 450 may apply a predetermined voltage to each IP.

전원 상태 검출부(415, 425, 435)는 각각의 IP의 내부에 배치되며, 전원부(450)와 연결될 수 있다. 전원 상태 검출부(415, 425, 435)는 각각의 전원 상태 검출부(415, 425, 435)가 포함되는 IP에 입력되는 전원의 상태를 확인하기 위하여, IP에 입력되는 전원에 대한 1개 이상의 전원 상태 변수를 측정할 수 있다. 일 실시예에 따르면, 상기 전원 상태 변수는 전압, 전류, 전압의 변화율, 전류의 변화율, 전압의 슬루 레이트(slew rate) 등을 포함할 수 있다.The power state detectors 415, 425, and 435 are disposed inside the respective IPs, and may be connected to the power source unit 450. The power state detection units 415, 425 and 435 are connected to one or more power state detection units 415, 425, and 435 for the power input to the IP, Variables can be measured. According to one embodiment, the power state variable may include a voltage, a current, a rate of change of a voltage, a rate of change of a current, a slew rate of a voltage, and the like.

일 실시예에 따르면, 전원 상태 검출부(415, 425, 435)는 한 개 이상의 전원 상태 변수에 대한 측정값, 전원 상태 변수가 측정된 IP, 측정 시간 등을 포함하는 정보(이하 전원 상태 정보라 함)를 프로세서(410)에 송신할 수 있다. 다른 실시예에 따르면, 전원 상태 검출부(415, 425, 435)는 측정된 전원 상태 변수가 기 설정된 기준 조건에 대응하는 경우, 전원 상태 정보를 프로세서(410)에 송신할 수도 있다.According to one embodiment, the power state detection units 415, 425, and 435 may include information on one or more of power state variables, power state variables, measured IP, measurement time, To processor 410. < / RTI > According to another embodiment, the power state detectors 415, 425, and 435 may transmit power state information to the processor 410 when the measured power state variables correspond to preset reference conditions.

일 실시예에 따르면, 전원 상태 검출부(415, 425, 435)의 전원 상태 변수 측정은 주기적으로 이루어질 수 있다. 상기 주기는 IP의 특성에 따라 달리 설정될 수 있다. 예를 들어, 다른 IP들에 비해서 높은 전압을 요구하는 프로세서(410)에 대한 전원 상태 검출부(415)의 전원 상태 변수 측정은 다른 IP들에 비해 더 짧게 설정될 수 있다.According to one embodiment, the power state variable measurement of the power state detection units 415, 425, and 435 may be periodically performed. The period may be set differently according to the characteristics of the IP. For example, the power state variable measurement of power state detector 415 for processor 410 that requires a higher voltage than other IPs may be set to be shorter than for other IPs.

일 실시예에 따르면, 전원 상태 검출부(415, 425, 435)가 전원의 상태 변수를 측정함에 있어서, 프로세서(410)는 사용자의 입력에 따라 검출 주기를 조절할 수 있다. 예를 들어, 사용자는 평소보다 안정성이 요구되는 작업을 수행하는 경우, 전원 상태 검출부(415, 425, 435)의 검출 주기를 평소보다 더 빠르게 설정할 수 있다. 또한 프로세서(410)는 사용자의 입력에 따라 검출 주기를 조절함으로써, 안정성을 도모할 수 있다.According to one embodiment, when the power state detector 415, 425, 435 measures the state variable of the power source, the processor 410 may adjust the detection period according to the input of the user. For example, when the user performs a task requiring stability more than usual, the user can set the detection period of the power state detection units 415, 425, and 435 faster than usual. In addition, the processor 410 can adjust the detection period in accordance with the user's input, thereby achieving stability.

일 실시예에 따르면, 전원 상태 변수 중에서, 전압은 일정한 주기로 진동하는 리플 전압(ripple voltage)일 수 있다. 다른 실시예에 따르면, 전압을 제외한 나머지 전원 상태 변수들은 전압의 측정 값에서 도출되는 2차적 변수일 수 있다.According to one embodiment, among the power state variables, the voltage may be a ripple voltage that oscillates at a constant period. According to another embodiment, the remaining power state variables other than the voltage may be a secondary variable derived from the measured value of the voltage.

프로세서(410)는 전원 상태 검출부(415, 425, 435)로부터, 전원 상태 정보를 수신하고, 수신한 전원 상태 정보를 기반으로, 각 IP에 입력되는 전원의 안정 상태를 측정 시간에 따라서 판단할 수 있다. 프로세서(410)가 결정하는 전원의 안정 상태는 안정 또는 불안정의 2가지 상태로 표현될 수도 있고, 측정된 전원 상태 변수의 값에 기반하여 구체적으로 표현될 수도 있다. 예를 들어, IP에 입력되는 전원의 상태는, 측정된 전원 상태 변수의 값과, 기 설정된 임계 값과의 차이에 따라, 다소 불안정, 매우 불안정 등으로 구체적으로 표현될 수 있다. 상기 임계 값은 하한 임계 값(lower threshold) 및 상한 임계 값(high threshold)를 포함할 수 있다.The processor 410 receives the power status information from the power status detection units 415, 425, and 435, and determines the stable status of the power input to each IP based on the received power status information according to the measurement time have. The steady state of the power supply determined by the processor 410 may be represented by two states of stable or unstable and may be expressed specifically based on the value of the measured power state variable. For example, the state of the power source input to the IP may be expressed in a somewhat unstable state, a very unstable state, or the like, depending on the difference between the measured power state variable value and a preset threshold value. The threshold may include a lower threshold and a high threshold.

프로세서(410)는, SOC(400)를 구성하는 모든 IP를 대상으로 측정된 모든 전원 상태 변수에 기반하여 전원의 상태를 결정한다. 예를 들어, 프로세서(410)에 입력되는 전원에 대한 복수의 전원 상태 변수 중에서, 전압이 동작 범위 이외의 값이고 나머지 전원 상태 변수가 동작 범위 이내의 값인 경우, 프로세서(410)는 프로세서(410)에 입력되는 전원의 상태가 불안정 상태로 판단할 수 있다. 다른 예를 들어, 주변 장치 모듈(430) 중에서 카메라 모듈에 입력되는 전원의 상태가 불안정 상태이고, 나머지 모듈에 입력되는 전원의 상태가 안정 상태인 경우, 프로세서(410)는 주변 장치 모듈(430)에 입력되는 전원의 상태가 불안정 상태로 판단할 수 있다.The processor 410 determines the state of the power supply based on all power state variables measured for all IPs that make up the SOC 400. For example, if the voltage is outside the operating range and the remaining power state variable is within the operating range, then the processor 410 may determine that the processor 410 is in the power state, It is possible to determine that the state of the power source inputted to the power source is an unstable state. If the state of the power source input to the camera module in the peripheral device module 430 is unstable and the power source input to the remaining module is in a stable state, It is possible to determine that the state of the power source inputted to the power source is an unstable state.

프로세서(410)는 프로세서(410)로 공급되는 전원의 안정 상태를 판단한 후, 판단된 결과에 따라 특정 동작을 수행할 수 있다. 프로세서(410)는 각각의 IP에 입력되는 전원 상태를 안정으로 판단한 경우, 기존 오퍼레이션을 그대로 진행할 수 있다. 다만, 프로세서(410)가, SOC(400)를 구성하는 적어도 하나 이상의 IP에 입력되는 전원 상태가 불안정하다고 판단한 경우, 대상 IP (혹은 대상 모듈) 및 관련 파라미터를 결정하고, 결정된 관련 파라미터를 제어함으로써, SOC(400)에 공급되는 전력의 안정성을 유지할 수 있다.The processor 410 may determine a stable state of the power supplied to the processor 410, and then perform a specific operation according to the determined result. When the processor 410 determines that the power state inputted to each IP is stable, the processor 410 can continue the existing operation as it is. However, when the processor 410 determines that the power state inputted to at least one IP constituting the SOC 400 is unstable, it determines the target IP (or the target module) and the related parameters, and controls the determined related parameters The stability of the power supplied to the SOC 400 can be maintained.

프로세서(410)는, 전원 상태 검출부(415, 425, 435)로부터 수신한 각 IP들의 전원 상태 정보를 메모리(420)에 테이블 형식으로 저장할 수 있다. 메모리(420)에 저장되는 전원 상태 정보에는 프로세서(410)에 의해 판단된 각 IP들의 전원 안정 상태에 대한 정보가 포함될 수 있다. 전원 상태 정보는 시간에 대한 함수로 저장될 수 있다. 전원 상태 정보에는 측정 시간, 전원 상태 변수, 전원 상태 변수가 측정된 대상 IP 등의 정보가 포함될 수 있다.The processor 410 may store power state information of each IPs received from the power state detecting units 415, 425, and 435 in a memory in a table format. The power state information stored in the memory 420 may include information on the power stability state of each of the IPs determined by the processor 410. [ The power state information can be stored as a function of time. The power state information may include information such as measurement time, power state variables, and target IP where power state variables are measured.

메모리(420)는 전원부(450)와 프로세서(410)와 연결된다. 메모리(420)에는 각각의 IP에 입력되는, 전력의 안정성을 유지하는데 필요한 데이터가 저장될 수 있다. 상기 전력의 안정성을 유지하는데 필요한 데이터에는, SOC(400)의 안정성을 저해하는 것으로 설정된 기준 조건, 전원 상태 변수에 따라 결정되는, SOC(400)를 구성하는 IP와 관련 파라미터, 전원 상태 변수의 동작 범위 에 대한 정보 중 적어도 어느 하나가 포함될 수 있다.The memory 420 is connected to the power source unit 450 and the processor 410. The memory 420 may store data required to maintain power stability, which is input to each IP. The data required to maintain the stability of the electric power includes an IP related to the SOC 400 and a parameter related to the SOC 400, which are determined according to a reference condition and a power state variable set to inhibit the stability of the SOC 400, And information on the range may be included.

주변 장치 모듈(430)는 전원부(450)와 프로세서(410)와 연결된다. 주변 장치 모듈(430)를 구성하는 다양한 모듈(예 : 카메라 모듈, 입력 모듈 등)은 사용자의 입력에 따라, 프로세서(410)의 제어를 통해서 구동될 수 있다. 상기 모듈과 대응하는 전자 장치의 물리적 하드웨어(예 : 카메라, 터치스크린 등)를 실행시키는 것은, 상기 구동의 한가지 예가 될 수 있다.The peripheral device module 430 is connected to the power source unit 450 and the processor 410. Various modules (e.g., a camera module, an input module, etc.) constituting the peripheral device module 430 may be driven through the control of the processor 410 according to a user's input. Executing the physical hardware (e.g., camera, touch screen, etc.) of the electronic device corresponding to the module may be an example of the driving.

도 5은 다양한 실시예에 따른 적어도 하나의 IP가 내장된 SOC의 상세 블록도이다.5 is a detailed block diagram of an SOC with at least one IP embedded in accordance with various embodiments.

도 5를 참조하면, 프로세서(510)는 SOC(500)를 구성하는 IP 중 하나로서, 전원 상태 검출부(590), 전원 상태 판단부(520), 인터럽트 처리부(525), 파라미터 결정부(530), 파라미터 제어부(540)를 포함할 수 있다.5, the processor 510 is one of the IPs constituting the SOC 500 and includes a power state detector 590, a power state determiner 520, an interrupt processor 525, a parameter determiner 530, And a parameter control unit 540.

전원 상태 검출부(590, 593, 596)에서는, 전원 상태 검출부(590, 593, 596)가 위치하는 SOC(500)의 IP에 공급되는 전원의 상태를 확인하기 위하여, 전원 상태 변수를 측정할 수 있다. 또한, 전원 상태 검출부(590, 593, 596)는 전원 상태 정보를 전원 상태 판단부(520)에 송신할 수 있다.The power state detection unit 590, 593 and 596 can measure the power state variable in order to check the state of the power source supplied to the IP of the SOC 500 where the power state detection units 590, 593 and 596 are located . Also, the power state detection units 590, 593, and 596 can transmit the power state information to the power state determination unit 520. [

전원 상태 판단부(520)에서는 전원 상태 검출부(590, 593, 596)로부터 전원 상태 정보를 수신하고, 수신한 전원 상태 정보를 기반으로, 현재 각각의 IP에 공급되는 전원의 안정성을 판단한다. 전원의 안정성의 판단은 각각의 IP, 또는 SOC(500)를 대상으로 이루어질 수 있다. 예를 들어, 전원 상태 판단부(520)는 주변 장치 모듈(560)을 구성하는 IP인 카메라 모듈(580)에 입력되는 전원의 상태가 불안정 상태임을 판단할 수도 있고, 주변 장치 모듈(560)에 입력되는 전원의 상태가 불안정 상태임을 판단할 수도 있다.The power state determination unit 520 receives the power state information from the power state detection units 590, 593, and 596 and determines the stability of the power supplied to each IP based on the received power state information. The determination of the stability of the power supply can be made for each IP or SOC 500. For example, the power state determination unit 520 may determine that the state of the power source input to the camera module 580, which is an IP constituting the peripheral device module 560, is unstable, It may be determined that the input power source is in an unstable state.

전원 상태 판단부(520)가 전원의 안정성을 결정하는 판단 기준은, 측정된 전원 상태 변수와 기 설정된 기준 조건과 대응되는지 여부를 포함할 수 있다. 기준 조건이란, SOC(500)를 구성하는 IP (또는 SOC) 에 입력되는 전원 상태의 안정성 여부를 판단하기 위하여 기 설정된 일정한 수치 범위를 의미한다. 예를 들어, 기 설정된 기준 조건은 측정된 전원 상태 변수(예 : 전압)의 값이, 한 개 이상의 임계 값(예 : 상한 임계 값 또는 하한 임계 값)을 경계로 하는 일정한 범위 (예 : 전압 < 3V or 전압 > 5V) 에 위치하는 조건일 수 있다. 일 실시예에 따라, 통신 모듈(575)에 대해 측정된 전압 값이 기 설정된 상한 임계 값보다 높아지거나, 기 설정된 하한 임계 값보다 낮아지는 경우, 전원 상태 판단부(520)는 통신 모듈(575)에서 측정된 전원 상태 변수가 기 설정된 기준 조건에 대응한다고 판단할 수 있다. 또한, 전원 상태 판단부(520)는 통신 모듈(575)에 입력되는 전원 상태가 현재 불안정하다고 판단할 수 있고, 또는 주변 장치 모듈(560)에 입력되는 전원 상태가 현재 불안정하다고 판단할 수도 있다. 또 다른 실시예에 따라, SOC(500)가 내장된 전자 장치가, 인증되지 않거나 불량인 충전기를 통하여 충전되는 경우, 전원 상태 판단부(520)는 SOC(500) 및 SOC(500)를 구성하는 IP에 과전압이 흘러, 현재 SOC(500)에 입력되는 전원의 상태가 불안정 상태라고 판단할 수 있다.The determination criterion by which the power state determiner 520 determines the stability of the power source may include whether the measured power state variable corresponds to a preset reference condition. The reference condition means a predetermined constant value range for judging whether or not the power state input to the IP (or SOC) constituting the SOC 500 is stable. For example, the predetermined reference condition may be such that the value of the measured power state variable (e.g., voltage) is within a certain range bounded by one or more thresholds (e.g., upper threshold or lower threshold) 3V or a voltage &gt; 5V). According to one embodiment, when the measured voltage value for the communication module 575 becomes higher than a preset upper limit threshold or becomes lower than a predetermined lower limit threshold value, the power supply state determination unit 520 determines that the communication module 575 It can be determined that the measured power state variable corresponds to a preset reference condition. The power state determination unit 520 may determine that the power state input to the communication module 575 is currently unstable or that the power state input to the peripheral device module 560 is currently unstable. According to another embodiment, when the electronic device in which the SOC 500 is embedded is charged through an unauthorized or defective charger, the power state determination unit 520 determines the SOC 500 and the SOC 500 It can be determined that the overvoltage flows to the IP so that the state of the power source input to the SOC 500 at present is in an unstable state.

SOC(500)를 구성하는 IP는 IP의 특성에 따라서 요구되는 적정 전압이 달라지므로, 상기 기준 조건은 대응되는 IP 및 대응되는 전원 상태 변수에 따라서 달라질 수 있다. 예를 들어, 프로세서(510)에 입력되는 전압에 대한 기준 조건은 3V보다 작거나, 5V보다 큰 범위인 반면, 메모리(550)에 입력되는 전압에 대한 기준 조건은 2.8V보다 작거나, 4.5V보다 큰 범위 일 수 있다.Since the required voltage required for the IP constituting the SOC 500 varies according to the characteristics of the IP, the reference condition may be changed according to the corresponding IP and the corresponding power state variable. For example, the reference condition for the voltage input to the processor 510 is less than 3V or greater than 5V, while the reference condition for the voltage input to the memory 550 is less than 2.8V, or 4.5V May be a larger range.

전원 상태 판단부(520)는 SOC(500)를 구성하는 각각의 IP에 입력되는 전원의 상태가 안정 상태라고 판단한 경우, 기존 오퍼레이션을 그대로 진행할 수 있다. 다만, 전원 상태 판단부(520)가 SOC(500)에 입력되는 현재 전원 상태를 불안정 상태로 판단한 경우, 인터럽트 처리부(525)로 현재 전원 상태에 관련된 신호를 전송할 수 있다. 즉, 전원 상태 판단부(520)는 측정된 전원 상태 변수 중에서 적어도 하나의 전원 상태 변수의 값이, 전원의 안정성을 저해하는 조건임을 감지하고, 감지했음을 알리는 신호를 전송할 수 있다. 상기 신호에는 현재 전원 상태, 근거가 된 전원 상태 변수 및 전원 상태 변수의 측정 값 등이 포함될 수 있다.If the power state determining unit 520 determines that the state of the power source input to each IP configuring the SOC 500 is in a stable state, the power state determining unit 520 can continue the existing operation as it is. However, if the power state determination unit 520 determines that the current power state input to the SOC 500 is an unstable state, it may transmit a signal related to the current power state to the interrupt processing unit 525. That is, the power state determination unit 520 may detect that the value of at least one power state variable among the measured power state variables is a condition that hinders the stability of the power source, and may transmit a signal indicating that the value is detected. The signal may include a current power state, a grounded power state variable, and a measured value of the power state variable.

인터럽트 처리부(525)는 전원 상태 판단부(520)로부터 현재 전원 상태에 관련된 신호를 수신할 수 있다. 전원 상태 판단부(520)는 SOC(500)를 구성하는 적어도 하나의 IP에 현재 입력되는 전원 상태가 불안정 상태라고 판단한 경우에만 인터럽트 처리부(525)에 신호를 전송하므로, 인터럽트 처리부(525)는 관련 신호를 수신한 경우 바로 인터럽트 신호를 발생시킬 수 있다. 상기 인터럽트 신호는 펄스 신호일 수 있다. 상기 인터럽트 신호는, SOC(500)의 전원 불안정을 야기하는 IP, 근거가 된 전원 상태 변수 및 전원 상태 변수의 측정 값 등을 포함할 수 있으며, 상기 인터럽트 신호는 파라미터 결정부(530)로 전송될 수 있다.The interrupt processing unit 525 can receive a signal related to the current power state from the power state determining unit 520. [ The power supply state determination unit 520 transmits a signal to the interrupt processing unit 525 only when it determines that the power state currently input to at least one IP constituting the SOC 500 is unstable, An interrupt signal can be generated immediately when a signal is received. The interrupt signal may be a pulse signal. The interrupt signal may include an IP causing power source instability of the SOC 500, a power state variable based on the value, and a measured value of a power state variable, and the interrupt signal is transmitted to the parameter determination unit 530 .

파라미터 결정부(530)는 인터럽트 처리부(525)로부터 수신한 인터럽트 신호와 메모리(550)에 저장된 데이터에 기반하여, 제어할 관련 파라미터를 결정할 수 있다. 즉, 파라미터 결정부(530)는 인터럽트 처리부(525)로부터 수신한 인터럽트 신호로부터, SOC(500)의 전원 불안정 상태를 야기하는 대상 IP를 결정하고, 문제된 대상 IP를 메모리(550)에 저장된 데이터에서 검색함으로써, 제어할 관련 파라미터를 결정할 수 있다. 예를 들어, SOC(500)의 전원 불안정 상태를 야기하는 대상 IP가 디스플레이 모듈(585) 인 경우, 파라미터 결정부(530)는 전원 안정성을 유지하기 위해 제어할 관련 파라미터를 클럭(clock)으로 판단할 수 있다.The parameter determination unit 530 can determine an associated parameter to be controlled based on the interrupt signal received from the interrupt processing unit 525 and the data stored in the memory 550. [ That is, the parameter determining unit 530 determines an object IP causing the power unstable state of the SOC 500 from the interrupt signal received from the interrupt processing unit 525, and stores the object IP in question as the data stored in the memory 550 The related parameter to be controlled can be determined. For example, when the target IP causing the power unstable state of the SOC 500 is the display module 585, the parameter determination unit 530 determines a related parameter to be controlled as a clock to maintain power stability can do.

관련 파라미터는 SOC(500)의 전원 불안정 상태를 야기하는 IP에 대한 동작 클럭(Clock), 대역폭(Bandwidth), 딜레이(Delay), 주파수(Frequency) 중 적어도 어느 하나일 수 있다. 클럭(Clock)은 대상 IP의 동작 클럭을 의미하며, 대역폭(Bandwidth)는 SOC(500)가 내장된 전자 장치와 다른 전자 장치와의 통신 대역폭을 의미한다. 딜레이(Delay)는 상황의 일시적 회피를 위해, IP (또는 모듈) 가 수행해야 하는 동작을 일시적으로 미루는 것을 의미하며, 딜레이(Delay)의 값은 미루는 시간의 간격을 의미한다.The related parameter may be at least one of an operation clock (Clock), a bandwidth, a delay, and a frequency for the IP causing the power unstable state of the SOC 500. The clock means an operation clock of the target IP, and the bandwidth means a communication bandwidth between the electronic device in which the SOC 500 is embedded and another electronic device. Delay means to temporarily suspend the operation that IP (or module) should perform for temporary avoidance of the situation, and delay value means the time interval of delay.

일 실시예에 따르면, 관련 파라미터는 전원 상태 변수의 특성, 전원 상태 변수의 측정 값, 전원 상태 변수가 측정된 IP, 전원 상태 변수에 대응하는 임계 값에 기반하여 결정될 수 있다. 예를 들어, 동일한 전압이 전원 상태 변수라 하더라도, 프로세서(510)에 입력되는 전압에 대한 관련 파라미터는 프로세서(510)의 동작 클럭일 수 있고, 통신 모듈(575)에 입력되는 전압에 대한 관련 파라미터는 대역폭일 수 있다. According to one embodiment, the relevant parameters may be determined based on a property of the power state variable, a measure of the power state variable, a power state variable based on the measured IP, a threshold corresponding to the power state variable. For example, although the same voltage is a power state variable, the associated parameter for the voltage input to the processor 510 may be the operating clock of the processor 510, and the associated parameter for the voltage input to the communication module 575 May be bandwidth.

일반적으로 문제되는 IP가 결정되면 제어할 관련 파라미터가 메모리에 저장된 데이터에서 결정될 수 있지만, 특정한 IP에 대해서 관련 파라미터가 2개 이상인 경우도 존재할 수 있다. 이 경우, 파라미터 결정부(530)는 미리 관련 파라미터의 우선 순위를 결정하고, 결정된 우선 순위에 따라 관련 파라미터를 제어할 수도 있고, 전원 불안정 상태를 야기하는 IP, 전원 상태 변수의 측정 값 및 대응되는 임계 값에 기반하여, 복수 개의 관련 파라미터 중에서 실제로 제어할 파라미터를 결정할 수도 있다. 즉, 파라미터 결정부(530)는 제어할 파라미터를, 미리 정해진 기준에 의하여 정할 수도 있고, 각 상황을 고려하여 유동적으로 정할 수도 있다. 예를 들어, 프로세서(510)에 대한 전압이 하한 값을 넘어 기준 조건에 해당되는 경우, 측정된 전압 값과 하한 값과의 차이가 미리 정해진 값보다 크다면, 파라미터 결정부(530)는 관련 파라미터를 클럭(clock)으로 결정하고, 미리 결정된 값보다 작다면 관련 파라미터를 딜레이(delay)로 결정할 수도 있다.In general, when a problematic IP is determined, related parameters to be controlled can be determined from data stored in the memory, but there may be cases where there are two or more related parameters for a specific IP. In this case, the parameter determination unit 530 may determine the priorities of the related parameters in advance, control the related parameters according to the determined priorities, and may determine the IPs causing the power unstable state, the measured values of the power state variables, Based on the threshold value, a parameter to be actually controlled among a plurality of related parameters may be determined. That is, the parameter determining unit 530 may determine the parameter to be controlled by a predetermined criterion, or it may be determined in a fluid manner in consideration of each situation. For example, if the voltage to the processor 510 exceeds the lower limit value and corresponds to the reference condition, if the difference between the measured voltage value and the lower limit value is larger than a predetermined value, the parameter determination unit 530 determines And determines a delay as a related parameter if the predetermined value is smaller than the predetermined value.

문제가 된 IP가 2개 이상인 경우, 관련 파라미터는 2개 이상일 수있다. 이 때, 관련 파라미터의 결정은, 문제가 된 IP 각각 독립적으로 이루어질 수 있다. 예를 들어, 프로세서(510)의 전압과 메모리(550)의 전압의 값을 측정한 결과, 프로세서(510)와 메모리(550)의 전원 상태가 불안정 상태로 판단된 경우, 파라미터 결정부(530)는 관련 파라미터를, 프로세서(510)의 동작 클럭과 메모리(550)의 동작 클럭의 2개로 결정될 수 있다. If there are two or more IPs in question, there may be more than one related parameter. At this time, the determination of the related parameters can be made independently of each of the IPs in question. For example, when it is determined that the processor 510 and the memory 550 are in an unstable state as a result of measuring the voltage of the processor 510 and the voltage of the memory 550, May be determined as two of the operating parameters of the processor 510 and the operating clock of the memory 550. [

파라미터 제어부(540)는 파라미터 결정부(530)에서 결정된 관련 파라미터를 제어할 수 있다. 파라미터 제어부(540)가 관련 파라미터를 제어하는 방법은 관련 파라미터의 값을 변경하는 방법일 수 있다. 예를 들어, 파라미터 결정부(530)가 관련 파라미터를 메모리(550)의 동작 클럭으로 결정하였다면, 파라미터 제어부(540)는 메모리의 동작 클럭의 값을 변경할 수 있다. 파라미터 제어부(540)가 관련 파라미터의 값을 변경함으로써, SOC(500)에 입력되고 있는 불안정한 전원 상태를 개선할 수 있다.The parameter control unit 540 can control the related parameter determined by the parameter determination unit 530. [ The method by which the parameter control unit 540 controls the related parameter may be a method of changing the value of the related parameter. For example, if the parameter determination unit 530 determines the related parameter as the operation clock of the memory 550, the parameter control unit 540 can change the value of the operation clock of the memory. The parameter control unit 540 can change the value of the related parameter to improve the unstable power state input to the SOC 500. [

파라미터 제어부(540)는 관련 파라미터의 값을 변경시킬 방향을 결정할 수 있다. 관련 파라미터의 값을 변경시키는 방향은, 전원 상태 변수의 측정 값에 따라 결정될 수 있다. 예를 들어, 프로세서(510)의 전압이 하한 값을 넘는 경우, 관련 파라미터인 프로세서(510)의 동작 클럭을 증가시킬 수 있다.The parameter control unit 540 can determine the direction to change the value of the related parameter. The direction of changing the value of the related parameter can be determined according to the measured value of the power state variable. For example, if the voltage of the processor 510 exceeds the lower limit value, the operating clock of the processor 510, which is an associated parameter, may be increased.

파라미터 제어부(540)가 관련 파라미터의 값을 제어하는 방법은, 일정한비율, 또는 차이만큼 관련 파라미터의 값을 변경하는 방법일 수 있다. 여기서, 상기 일정한 비율 또는 차이는, 미리 정해질 수도 있고, 전원 불안정 상태를 야기하는 IP, 전원 상태 변수의 측정 값 및 대응되는 임계 값에 따라서, 유동적으로 정해질 수 있다. 예를 들어, 문제되는 IP 및 전원 상태 변수가 메모리(550)의 전압인 경우, 관련 파라미터가 메모리(550)의 동작 클럭으로 결정되고, 메모리(550)의 동작 클럭을 10%의 비율로 증가 혹은 감소시킴으로써 관련 파라미터의 값을 제어할 수 있다. 관련 파라미터가 같다고 하더라도, 문제되는 IP가 다르다면 상기 비율 또는 차이는 달라질 수 있다. 예를 들어 관련 파라미터가 프로세서(510)의 동작 클럭으로 결정되면, 파라미터 제어부(540)는 프로세서(510)의 동작 클럭을 8%의 비율로 증가 혹은 감소시킴으로써 관련 파라미터의 값을 변경할 수 있다.The method by which the parameter control unit 540 controls the value of the related parameter may be a method of changing the value of the related parameter by a predetermined ratio or difference. Here, the predetermined ratio or difference may be determined in advance or may be determined in accordance with IP, power state variable measurement values corresponding to a power source instability state, and corresponding threshold values. For example, if the problematic IP and power state variables are the voltage of the memory 550, the associated parameter is determined to be the operating clock of the memory 550, and the operating clock of the memory 550 may be increased or decreased by 10% The value of the relevant parameter can be controlled. Even if the related parameters are the same, the above ratio or difference may be different if the problematic IP is different. For example, if the related parameter is determined as the operation clock of the processor 510, the parameter control unit 540 may change the value of the related parameter by increasing or decreasing the operation clock of the processor 510 by 8%.

파라미터 제어부(540)가 관련 파라미터를 제어하는 경우, 디스플레이 모듈(585)는 SOC(500)가 내장된 전자 장치의 화면에 관련 메시지를 출력할 수 있다. 예를 들어, 디스플레이 모듈(585)는 "현재 전원 상태가 불안정하여 관련 장치의 상태를 파악 및 조절 중입니다"와 같은 상태 메시지를 출력할 수 있다.When the parameter control unit 540 controls the related parameter, the display module 585 may output the related message on the screen of the electronic device in which the SOC 500 is embedded. For example, the display module 585 may output a status message such as "the current power state is unstable and the state of the associated device is being grasped and adjusted ".

파라미터 제어부(540)는, 파라미터 결정부(530)에서 결정된 관련 파라미터를 제어하고, 관련 파라미터의 제어 후 확인된 전원 상태에 기반하여, 파라미터를 반복하여 제어할 수 있다. 파라미터 제어부(540)가, 관련 파라미터를 반복하여 제어할 대상은, 관련 파라미터의 제어 전 전원의 불안정 상태를 야기했던 IP에 국한 될 수 있다. 또한, 파라미터 제어부(540)는, 전원의 불안정 상태를 야기했던 IP에 국한되지 않고, SOC(500)를 구성하는 모든 IP에 대한 전원 상태를 전반적으로 다시 확인한 후, 관련 파라미터를 제어할 수도 있다. 여기서 전원 상태를 확인하는 과정은, 전원 상태 판단부(520)에서 이루어질 수 있으며, SOC(500)를 구성하는 모든 IP에 대해 측정된 전원 상태 변수가 기 설정된 기준 조건과 대응하는지 확인하는 과정일 수 있다.The parameter control unit 540 controls the related parameters determined by the parameter determination unit 530 and can repeatedly control the parameters based on the checked power state after the control of the related parameters. The object to be repeatedly controlled by the parameter control unit 540 may be limited to the IP which caused the unstable state of the power source before control of the related parameter. In addition, the parameter control unit 540 may not only control the IP which caused the unstable state of the power source, but may also check the power state of all the IPs constituting the SOC 500, and then control related parameters. Here, the process of checking the power state may be performed by the power state determiner 520, and it may be a process of checking whether the power state variable measured for all the IPs constituting the SOC 500 corresponds to a predetermined reference condition have.

만약 관련 파라미터의 제어 이후의 시각에, 제어 전과 동일한 IP가 여전히 기준 조건에 대응한다면, 파라미터 제어부(540)는 관련 파라미터의 값을 더 증가시키거나 혹은 감소시킬 수 있다. 다만, 전원 불안정 상태를 야기하는 IP가 달라지면, 관련 파라미터도 그에 대응하여 달라질 수 있다.If the same IP as before the control still corresponds to the reference condition at the time after the control of the related parameter, the parameter control unit 540 can further increase or decrease the value of the related parameter. However, if the IP causing the power unstable state changes, the related parameters may also be correspondingly changed.

파라미터 제어부(540)는, 제어할 관련 파라미터가 복수 개인 경우, 복수 개의 관련 파라미터를 각각 독립적으로 제어할 수 있다. 예를 들어, 제어할 관련 파라미터가 프로세서(510)의 동작 클럭 및 메모리(550)의 동작 클럭인 경우, 파라미터 제어부(540)는 프로세서(510)의 동작 클럭 및 메모리(550)의 동작 클럭의 값을 각각 정해진 비율 혹은 차이만큼 변경시킴으로써, 관련 파라미터를 각각 독립적으로 제어할 수 있다.The parameter control unit 540 can independently control a plurality of related parameters when there are a plurality of related parameters to be controlled. For example, when the related parameter to be controlled is the operation clock of the processor 510 and the operation clock of the memory 550, the parameter control unit 540 controls the operation clock of the processor 510 and the value of the operation clock of the memory 550 By a predetermined ratio or difference, respectively, so that the related parameters can be independently controlled.

즉, 프로세서(510)는 전원 상태 검출부(590, 593, 596)에서 측정된, SOC(500)를 구성하는 적어도 하나 이상의 IP에 입력되는 적어도 하나 이상의 전원 상태 변수의 값이 기 설정된 기준 조건에 대응하는지를 판단함으로써, SOC(500)에 입력되는 전원 상태가 불안정 상태인지를 판단하고, 불안정 상태라면 관련 파라미터를 제어함으로써 전원 상태를 개선할 수 있다. That is, the processor 510 determines whether the value of at least one or more power state variables input to at least one or more IPs constituting the SOC 500 measured by the power state detectors 590, 593, and 596 corresponds to a preset reference condition It is determined whether the power state input to the SOC 500 is unstable. If the power state is unstable, the power state can be improved by controlling the related parameters.

주변 장치 모듈(560)는 디스플레이 모듈(585), 카메라 모듈(580), 통신모듈(575), 오디오 모듈(570), 입력 모듈(565) 등을 포함할 수 있으며, 주변 장치 모듈(560)를 구성하는 각각의 IP에 각각의 전원이 인가될 수 있다. 또한, 각각 인가되는 전원에 대한 상태 정보는 전원 상태 검출부(593)에 측정되고, 측정된 전원 상태 정보는 프로세서(510)의 전원 상태 판단부(520)로 전송될 수 있다. 입력 모듈(565)는 출력 모듈(미도시)과 함께 하나의 입출력 모듈을 구성할 수도 있다.The peripheral module 560 may include a display module 585, a camera module 580, a communication module 575, an audio module 570, an input module 565, Each of the constituent IPs can be supplied with respective power. Status information on each power source to be applied may be measured by the power status detector 593 and the measured power status information may be transmitted to the power status determiner 520 of the processor 510. [ The input module 565 may constitute one input / output module together with an output module (not shown).

메모리(550)에는 SOC(500)를 구성하는 각각의 IP에 입력되는 전원 상태 변수(예 : 전압)에 대응하는 임계 값, 동작 범위 및 기 설정된 기준 조건이 저장될 수 있다. 또한 메모리(550)는 전원 상태 검출부(596)를 포함할 수 있다. 전원 상태 검출부(596)는 메모리(550)에 입력되는 전원의 전원 상태 변수를 측정하고, 측정된 전원 상태 변수를 포함하는 전원 상태 정보를 프로세서(510)의 전원 상태 판단부(520)에 전송할 수 있다. 따라서 전원 상태 판단부(520)는 메모리(550)에 입력되는 전원의 안정 상태를 판단할 수 있다. The memory 550 may store a threshold value, an operation range, and a predetermined reference condition corresponding to power state variables (e.g., voltages) input to the respective IPs constituting the SOC 500. The memory 550 may also include a power state detector 596. The power state detection unit 596 measures the power state variable of the power source input to the memory 550 and transmits the power state information including the measured power state variable to the power state determination unit 520 of the processor 510 have. Therefore, the power state determination unit 520 can determine the stable state of the power input to the memory 550.

전원 상태 변수Power state variable 기준 조건Reference condition 프로세서Processor 전압Voltage 전압 < 3V or 전압 > 5VVoltage <3V or voltage> 5V 전류electric current 전류 < 0.2mA or 전류 > 0.4mA Current <0.2mA or current> 0.4mA Drop slew rateDrop slew rate Drop slew rate < 0.8V/μsDrop slew rate <0.8V / μs 전류의 변화율(di/dt)The rate of change of current (di / dt) di/dt < 2.5mA/sdi / dt < 2.5 mA / s ...... ...... 메모리Memory 전압Voltage 전압 < 2.8V or 전압 > 4.5VVoltage <2.8V or Voltage> 4.5V 전류electric current 전류 < 0.18mA or 전류 > 0.34mACurrent <0.18mA or current> 0.34mA ...... ......

표 1은 메모리(550)에 저장되는 데이터베이스의 일부를 도시한 것이다. 상기 데이터베이스에는 기준 조건의 일부가 도시되어 있다. 기준 조건은 SOC(500)를 구성하는 각 IP에 입력되는 전원 상태의 안정성 여부를 판단하기 위하여 설정된 일정한 수치 범위를 의미한다. Table 1 shows a portion of the database stored in the memory 550. Some of the reference conditions are shown in the database. The reference condition means a constant numerical range set for judging whether or not the power state inputted to each IP constituting the SOC 500 is stable.

표 1에서 도시된 바와 같이, 기준 조건은 IP 및 전원 상태 변수에 따라 결정될 수 있다. 전원 상태 판단부(520)는, 전원 상태 검출부(590, 593, 596)에 의해서 측정된 적어도 하나의 전원 상태 변수가, 상기 기준 조건에 대응하는지를 결정할 수 있다. 또한, 전원 상태 판단부(520)는, SOC(500)를 구성하는 모든 IP에 입력되는 전원에 대한 모든 상태 변수가 기준 조건에 대응하지 않는다면, SOC(500)에 대한 전원 상태가 안정 상태라고 판단할 수 있다. 또한, 전원 상태 판단부(520)는, SOC(500)를 구성하는 적어도 하나의 IP에 대한 적어도 하나의 전원 상태 변수가 기준 조건에 대응한다면, SOC(500)에 입력되는 전원 상태가 불안정 상태로 판단할 수 있다. 예를 들어, 전원 상태 판단부(520)는, 프로세서(510)에 입력되는 전압이 2.8V인 경우, 프로세서(510)의 전압이 상기 기준 조건에 대응하지 않다고 판단할 수 있다. 따라서 전원 상태 판단부(520)는, 프로세서(510)에 대한 전원 상태가 안정 상태로 판단하고, 프로세서에 대한 기존 오퍼레이션을 그대로 진행할 수 있다.As shown in Table 1, the reference condition can be determined according to the IP and power state variables. The power state determination unit 520 may determine whether at least one power state variable measured by the power state detection units 590, 593, and 596 corresponds to the reference condition. If all the state variables for the power input to all the IPs constituting the SOC 500 do not correspond to the reference condition, the power state determination unit 520 determines that the power state for the SOC 500 is stable can do. In addition, if at least one power state variable for at least one IP constituting the SOC 500 corresponds to a reference condition, the power state determination unit 520 determines that the power state input to the SOC 500 is in an unstable state It can be judged. For example, when the voltage input to the processor 510 is 2.8 V, the power supply state determination unit 520 can determine that the voltage of the processor 510 does not correspond to the reference condition. Therefore, the power state determination unit 520 may determine that the power state of the processor 510 is stable, and proceed with the existing operation on the processor.

전원 상태 변수Power state variable IPIP 동작 범위Operating range 관련 파라미터Related parameters V1V1 프로세서Processor 3[V] < V1 < 5[V]3 [V] < V1 < 5 [V] Clock, Delay, FrequencyClock, Delay, Frequency V2V2 메모리Memory 2.8[V] < V2 < 4.5[V]2.8 [V] < V2 < 4.5 [V] ClockClock V3V3 통신부Communication section 2.5[V] < V3 < 4.5[V]2.5 [V] < V3 < 4.5 [V] BandwidthBandwidth ...... ...... ...... ...... Drop slew rate1Drop slew rate1 프로세서Processor Drop slew rate1 < 0.8[V/ μs]Drop slew rate 1 <0.8 [V / μs] Clock, Delay, FrequencyClock, Delay, Frequency Drop slew rate2Drop slew rate2 메모리Memory Drop slew rate2 < 0.6[V/ μs]Drop slew rate 2 <0.6 [V / μs] ClockClock ...... ...... ...... ......

표 2는 메모리(550)에 저장되는 데이터베이스의 일부를 도시한 것이다. 표 2는 IP 및 전원 상태 변수에 대응하는 동작 범위와, 대응하는 관련 파라미터에 대한 정보를 표 형식으로 나타낸 것이다. 다만 전원 상태 변수와 관련 파라미터에 대한 연관 관계가 나타나 있다면 형식과 무관하다.Table 2 shows a portion of the database stored in memory 550. Table 2 shows in tabular form the operation range corresponding to the IP and power state variables and the corresponding related parameter information. However, if the relationship between the power status variable and the related parameter is shown, it is irrelevant to the format.

상기 표의 첫 번째 열은 전원 상태 검출부(590, 593, 596)에서 측정되는 여러 가지 전원 상태 변수들 중에서, 전압 및 Drop slew rate를 예시하고 있으며, 두 번째 열은 각각의 전원 상태 변수가 측정된 IP를 나타낸다. 세 번째 열은 각각의 전원 상태 변수들의 적정한 동작 범위를 나타내며, 네 번째 열은 각각의 전원 상태 변수의 값이 동작 범위 이외의 값인 경우(혹은, 기 설정된 기준 조건에 대응하는 경우), 제어할 관련 파라미터를 나타낸다. 상기 표에서 전원 상태 변수 중 전압 및 Drop slew rate가 사용된 것은 예시적인 것이며, 이에 따라 본 발명의 권리범위를 제한하는 것은 아니다.In the first column of the table, voltage and drop slew rate are illustrated among various power state variables measured by the power state detectors 590, 593, and 596, and the second column shows the state of each power state variable . The third column shows the appropriate operating range for each of the power state variables. The fourth column shows the relationship between the power state variable and the associated power state variable, if the value of each power state variable is outside the operating range (or corresponds to a predetermined reference condition) Parameter. The use of the voltage and drop slew rate among the power state variables in the above table is illustrative, and thus does not limit the scope of the present invention.

표 2는, SOC(500)를 구성하는 IP (또는 SOC) 에 입력되는 전원의 상태가 불안정 상태로 판단된 경우, 각 IP (또는 SOC)에 입력되는 전원의 상태를 안정 상태로 유지하기 위하여 제어할 관련 파라미터를 결정하는데 기준 데이터베이스로서 역할을 수행할 수 있다. 예를 들어, 상기 표 2에는 프로세서(510)에 입력되는 전압(V1)의 동작 범위와, 상기 전압이 기준 조건에 대응한다고 판단된 경우 제어할 관련 파라미터(clock, bandwidth, delay 등)가 기재될 수 있다. 제어할 관련 파라미터는 1개 이상일 수 있다. 제어할 관련 파라미터가 복수 개인 경우, 복수 개 중에서 1개의 관련 파라미터를 결정하여, 결정된 1개의 관련 파라미터의 값을 변경할 수도 있고, 복수 개의 관련 파라미터의 값을 각각 변경할 수도 있다. 관련 파라미터가 1개 이상일 경우, 제어할 관련 파라미터는 동일한 IP의 동일한 전원 상태 변수라 하더라도, 측정된 값에 따라 다르게 결정될 수 있다. 예를 들어, 프로세서(510)에 입력되는 전압(V1)이 하한 값보다 낮은 경우, 제어할 파라미터는 동작 클럭(Clock)으로 결정될 수 있지만, 상한 값보다 높은 경우, 제어할 파라미터는 제어할 파라미터는 딜레이(Delay)로 결정될 수 있다.Table 2 shows that when the state of the power input to the IP (or SOC) constituting the SOC 500 is determined to be unstable, control is performed in order to maintain the state of the power input to each IP (or SOC) It can serve as a reference database to determine the relevant parameters to do. For example, in Table 2, the operation range of the voltage V1 input to the processor 510 and related parameters (clock, bandwidth, delay, etc.) to be controlled when the voltage is determined to correspond to the reference condition are described . There may be more than one related parameter to control. When there are a plurality of related parameters to be controlled, one of the plurality of related parameters may be determined and the value of one determined related parameter may be changed or the values of the plurality of related parameters may be respectively changed. If there is more than one related parameter, the related parameter to be controlled can be determined differently depending on the measured value, even if it is the same power status variable of the same IP. For example, when the voltage V1 input to the processor 510 is lower than the lower limit value, the parameter to be controlled can be determined as the operation clock (Clock). However, if the voltage V1 is higher than the upper limit value, It can be determined as a delay.

본 발명의 다양한 실시예에 따른 전자 장치는, 적어도 하나의 시스템온칩을 포함하고, 상기 시스템온칩은 프로세서를 비롯한 적어도 하나의 IP를 포함하며, 상기 IP는, 상기 IP에 입력되는 전원 상태 변수의 값을 측정하는 전원 상태 검출부를 포함하고, 상기 프로세서는, 상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 전원의 상태를 판단하는 전원 상태 판단부 및 상기 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 파라미터 제어부를 더 포함할 수 있다.An electronic device according to various embodiments of the present invention includes at least one system-on-chip, wherein the system-on-chip includes at least one IP, including a processor, wherein the IP includes a value of a power state variable Wherein the processor comprises: a power state determiner for determining a state of a power source input to the IP based on the measured value of the power state variable; and a controller for determining, based on the determined power state, And a parameter control unit for controlling parameters related to the operation of the IP.

다양한 실시예에 따르면, 상기 전원 상태 변수는, 전압, 전류, 전압의 변화율, 전류의 변화율, 전압의 슬루 레이트 중 적어도 하나일 수 있다.According to various embodiments, the power state variable may be at least one of a voltage, a current, a rate of change of a voltage, a rate of change of a current, and a slew rate of a voltage.

다양한 실시예에 따르면, 상기 전원 상태 판단부는, 상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이내의 값인 경우, 상기 전원 상태를 안정 상태로 판단하고, 상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이외의 값인 경우, 상기 전원 상태를 불안정 상태로 판단할 수 있다.According to various embodiments, the power state determining unit may determine that the power state is a stable state when the measured power state variable is a value within a predetermined operation range, If it is a value other than the set operation range, the power supply state can be determined as an unstable state.

다양한 실시예에 따르면, 상기 파라미터는 상기 IP의 동작 클럭, 대역폭, 딜레이 중 적어도 하나일 수 있다.According to various embodiments, the parameter may be at least one of the operating clock, bandwidth, and delay of the IP.

다양한 실시예에 따르면, 상기 전원 상태 판단부는, 상기 파라미터를 제어한 후, 상기 IP에 입력되는 전원의 상태를 다시 판단하고, 상기 파라미터 제어부는, 상기 파라미터를 제어한 후, 상기 다시 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어할 수 있다.According to various embodiments, the power state determining unit may determine the state of the power source to be input to the IP after controlling the parameter, and the parameter controlling unit may control the parameter, Lt; RTI ID = 0.0 &gt; IP &lt; / RTI &gt;

다양한 실시예에 따르면, 상기 파라미터 제어부는, 상기 파라미터의 제어한 후, 상기 다시 판단된 전원 상태가 불안정 상태인 경우, 상기 파라미터의 값이 임계 값을 넘지 않는다면, 상기 전원 상태가 안정 상태로 판단될 때까지 상기 파라미터를 반복적으로 제어할 수 있다.According to various embodiments, the parameter control unit controls the parameter so that if the determined power state is unstable, if the value of the parameter does not exceed the threshold, the power state is determined to be stable The above parameters can be repeatedly controlled.

다양한 실시예에 따르면, 입출력 모듈을 더 포함하고, 상기 입출력 모듈은 상기 시스템온칩의 구동 모드의 조절과 관련된 신호를 수신하고, 상기 전원 상태 판단부는 상기 측정된 전원 상태 변수 및 상기 신호에 기반하여 상기 IP의 전원의 상태를 판단할 수 있다.According to various embodiments, the apparatus further includes an input / output module, wherein the input / output module receives a signal related to the adjustment of the drive mode of the system-on-chip, and the power state determination unit determines, based on the measured power state variable and the signal, It is possible to determine the state of power supply of IP.

다양한 실시예에 따르면, 센서부를 더 포함하고, 상기 전원 상태 판단부는, 상기 측정된 전원 상태 변수 및 상기 센서부로부터 수신한 주변 환경 정보에 기반하여 상기 IP에 입력되는 상기 전원 상태를 판단할 수 있다.According to various exemplary embodiments, the power status determination unit may determine the power status input to the IP based on the measured power status variable and the peripheral environment information received from the sensor unit .

다양한 실시예에 따르면, 상기 파라미터는, 상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값, 상기 전원 상태 변수가 측정된 상기 IP, 상기 전원 상태 변수에 대응하는 임계 값 중 적어도 어느 하나에 기반하여 결정될 수 있다.According to various embodiments, the parameter is based on at least one of a property of the power state variable, a measured value of the power state variable, a power state variable of the measured IP, and a threshold value corresponding to the power state variable &Lt; / RTI &gt;

다양한 실시예에 따르면, 상기 전원 상태가 불안정 상태로 판단된 경우 상기 파라미터를 제어하는 상기 파라미터 제어부는, 상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값 및 상기 전원 상태 변수에 대응하는 임계 값에 기반하여 정해지는 비율 혹은 차이만큼 상기 파라미터의 값을 변화시킴으로써, 상기 파라미터를 제어할 수 있다.According to various embodiments, when the power state is determined to be unstable, the parameter control unit for controlling the parameter may be configured to control the characteristics of the power state variable, the measured value of the power state variable, and the threshold value The parameter can be controlled by changing the value of the parameter by a ratio or difference determined based on the parameter.

도 6는 다양한 실시예에 따른 프로세서가 현재 전원 상태를 판단하고, 판단된 전원 상태를 바탕으로 관련 파라미터를 제어하는 동작 순서를 도시한 순서도이다.6 is a flowchart illustrating an operation procedure for a processor according to various embodiments to determine a current power state and to control related parameters based on the determined power state.

프로세서(510)는 동작610에서, 기준 조건이 설정되어 있는지 판단할 수 있다. 여기서 기준 조건은 SOC(500)를 구성하는 IP (또는 SOC) 에 입력되는 전원의 상태의 안정성을 저해하는 조건을 의미할 수 있다. 프로세서(510)가 기준 조건이 이미 설정되어 있는지 판단하는 기준은 메모리(550)에 상기 기준 조건에 해당하는 데이터가 저장되어 있는지 여부일 수 있다. 프로세서(510)가, 상기 조건이 설정되어 있지 않다고 판단한 경우, 동작620에서, 새로운 기준 조건을 설정하여 메모리(550)에 저장할 수 있다. 또한, 프로세서(510)가, 상기 조건이 설정되어있다고 판단한 경우, 동작630을 수행할 수 있다. 상기 조건은 한 개 이상의 조건일 수 있으므로, 프로세서는 상기 조건이 설정되어있다고 하더라도, 별도의 조건을 더 추가할 수도 있다. 조건의 설정(또는, 추가)은 사용자의 입력에 따라 이루어질 수 있다. 예를 들어, 휴대용 단말 장치를 사용하는 사용자가 시스템 불안정으로 불편을 느끼는 경우, 동일한 상황이 반복되지 않도록, 사용자는 현재의 상황을 새로운 조건으로 설정하는 명령에 해당하는 입력을 할 수 있다.At operation 610, the processor 510 may determine whether a reference condition is set. Here, the reference condition may mean a condition that hinders the stability of the power state input to the IP (or SOC) constituting the SOC 500. The criterion for determining whether the processor 510 has already set the reference condition may be whether or not the memory 550 stores data corresponding to the reference condition. If the processor 510 determines that the condition is not set, then at operation 620, a new reference condition may be set and stored in the memory 550. [ In addition, if the processor 510 determines that the condition is set, the processor 510 may perform an operation 630. Since the condition may be one or more conditions, the processor may add another condition even if the condition is set. The setting (or addition) of the condition can be made according to the input of the user. For example, when a user using the portable terminal device feels uncomfortable due to system instability, the user can input an instruction corresponding to a command to set the current situation to a new condition so that the same situation is not repeated.

전원 상태의 안정성을 저해하는 기준 조건은, 예를 들어 전압의 최대값(Voltage max level), 전압의 최소값(Voltage min level), 전류의 최대 변화율, 출력 전압의 최대 변화율(Voltage drop slew rate) 중에서 적어도 하나일 수 있다.The reference conditions for hindering the stability of the power state include, for example, a voltage maximum level, a voltage minimum level, a maximum change rate of the current, and a voltage drop slew rate At least one.

이후, 프로세서(510)는 동작630에서, 전원 상태 검출부(590, 593, 596)에서 측정한 현재 전원 상태 변수를 수신할 수 있다. 전원 상태 변수는 한 개 이상일 수 있으며, SOC(500)를 구성하는 한 개 이상의 IP를 대상으로 측정될 수 있다. 전원 상태 변수는 전압, 전류, 전압의 변화율, 전류의 변화율 등을 포함할 수 있다.The processor 510 may then receive the current power state variables measured at the power state detectors 590, 593, and 596, at operation 630. The power state variable may be one or more and may be measured for one or more IPs comprising the SOC 500. The power state variable may include voltage, current, rate of change of voltage, rate of change of current, and the like.

이후, 프로세서(510)는 동작 640에서, 측정된 전원 상태 변수의 값이, 기 설정된 기준 조건에 대응하는지 판단할 수 있다. 프로세서(510)는 적어도 하나의 전원 상태 변수가 기 설정된 기준 조건에 대응하는 경우, SOC(500)에 입력되는 전원 상태가 불안정 상태라고 판단할 수 있다. 또한, 모든 전원 상태 변수가 기 설정된 기준 조건에 대응하지 않는 경우, SOC(500)에 입력되는 전원 상태가 안정 상태라고 판단할 수 있다. Thereafter, the processor 510 may, at operation 640, determine whether the value of the measured power state variable corresponds to a predetermined reference condition. The processor 510 may determine that the power state input to the SOC 500 is unstable if at least one power state variable corresponds to a predetermined reference condition. In addition, if all of the power state variables do not correspond to the predetermined reference condition, it can be determined that the power state input to the SOC 500 is in a stable state.

프로세서(510)는 SOC(500)에 입력되는 전원 상태가 불안정 상태로 판단한 경우(즉, 기준 조건에 대응하는 경우), 동작550에서, 불안정 상태를 야기하는 IP 및 관련 파라미터를 결정할 수 있다. 즉, 프로세서(510)는 동작650에서, 불안정한 전원 상태를 야기하는 IP와, 전원 상태를 안정 상태로 변화시키기 위하여 제어할 관련 파라미터를 결정할 수 있다. 구체적으로, 프로세서(510)는 기준 조건에 대응하는 전원 상태 변수를 확인하고, 메모리(550)에 저장된 데이터베이스를 검색함으로써, 상기 전원 상태 변수에 대응하는 IP 및 관련 파라미터를 결정할 수 있다. 예를 들어, V3 전압이 기 설정된 기준 조건에 대응하는 것으로 판단한 경우, 프로세서(510)는 V3에 대응하는 IP 및 관련 파라미터를 메모리(550)에서 검색함으로써, IP가 디스플레이 모듈(585)이고, 관련 파라미터가 클럭임을 결정할 수 있다.The processor 510 may determine, at operation 550, the IP and related parameters that cause the instability state if the power state input to the SOC 500 determines that it is in an unstable state (i.e., corresponds to a reference condition). That is, at operation 650, the processor 510 may determine an IP causing an unstable power state and associated parameters to control to change the power state to a steady state. Specifically, the processor 510 may determine the IP and associated parameters corresponding to the power state variable by identifying a power state variable corresponding to the reference condition and retrieving the database stored in the memory 550. For example, if it is determined that the voltage V3 corresponds to a preset reference condition, the processor 510 retrieves the IP and associated parameters corresponding to V3 from the memory 550 so that IP is the display module 585, It can be determined that the parameter is a clock.

프로세서(510)는 동작 660에서, 결정된 파라미터를 제어할 수 있다. 파라미터를 제어하는 방법은 파라미터의 값을 변경하는 방법일 수 있다. 즉, 프로세서(510)는 결정된 파라미터의 값을 변경함으로써, 현재 전원 상태의 불안정 상태를 해소할 수 있다. 파라미터의 값을 변경하는 정도에 대해서, 프로세서(510)는 관련 파라미터의 값을 미리 정해진 비율, 또는 차이에 기반하여 변경할 수 있다. 예를 들어, 프로세서(510)는 통신 모듈(575)의 전원에 해당하는 V4 전압이 기준 조건에 대응하여, 전원 상태가 불안정하다고 판단한 경우, bandwidth를 관련 파라미터로 결정하고, 기존 bandwidth를 미리 정해진 비율 (예 : 80%) 로 감소시킬 수 있다. 또한 상기 비율은 사용자에 의하여 변경될 수 있다. At operation 660, the processor 510 may control the determined parameters. The method of controlling the parameter may be a method of changing the value of the parameter. That is, the processor 510 may resolve the unstable state of the current power state by changing the value of the determined parameter. For a degree of changing the value of the parameter, the processor 510 may change the value of the relevant parameter based on a predetermined ratio, or difference. For example, when the voltage V4 corresponding to the power source of the communication module 575 corresponds to a reference condition and the power source state is determined to be unstable, the processor 510 determines the bandwidth as an associated parameter, and sets the existing bandwidth to a predetermined ratio (E.g., 80%). The ratio can also be changed by the user.

또한, 프로세서(510)가 동작660에서 결정된 관련 파라미터를 제어하는 경우, 관련 정보를 메모리(550)에 저장할 수 있다. 예를 들어, V1전압이 기준 조건에 대응하여, 프로세서(510)가 프로세서(510)의 동작 클럭의 값을 변경한 경우에, 프로세서(510)는 관련 파라미터, 변경 시각, 변경 전후의 관련 파라미터의 값, 변경 비율 등의 정보를 메모리(550)에 저장할 수 있다.In addition, when the processor 510 controls the relevant parameters determined in operation 660, the associated information may be stored in the memory 550. [ For example, when the V1 voltage corresponds to a reference condition, and the processor 510 changes the value of the operating clock of the processor 510, the processor 510 sets the related parameter, the modification time, Values, change ratios, and the like in the memory 550.

프로세서(510)가 동작660에서 결정된 관련 파라미터를 제어함에 있어서, 관련 파라미터가 복수 개인 경우, 프로세서는 미리 정해진 알고리즘을 통하여 복수 개의 관련 파라미터 중 하나를 결정할 수 있다. 또한, 복수 개의 관련 파라미터의 값을 각각 변경할 수도 있다. When the processor 510 controls a related parameter determined in operation 660, if there are a plurality of related parameters, the processor may determine one of the plurality of related parameters through a predetermined algorithm. The values of the plurality of related parameters may also be changed, respectively.

또한, 프로세서(510)가 동작660에서 결정된 파라미터를 제어함에 있어서, 기준 조건에 해당하는 전원 상태 변수가 복수 개인 경우, 각각의 전원 상태 변수에 해당하는 관련 파라미터의 값을 각각 변경할 수 있다. 즉, 문제되는 전원 상태 변수가 복수인 경우, 프로세서(510)는 독립적으로 관련 파라미터의 값을 각각 변경할 수 있다.In addition, when the processor 510 controls the parameters determined in operation 660, when there are a plurality of power state variables corresponding to the reference conditions, the values of the related parameters corresponding to the respective power state variables can be changed, respectively. That is, if there are a plurality of power state variables in question, the processor 510 may independently change the values of the respective parameters independently.

상기 도시한 순서도에 의하여, 프로세서(510)는 SOC(500)에 입력되는 전원 상태를 판단하고, 전원 상태가 불안정 상태로 판단된 경우, 관련 파라미터를 제어함으로써, 전원 상태를 개선할 수 있다.According to the flowchart shown in FIG. 5, the processor 510 determines the power state input to the SOC 500, and when the power state is determined to be unstable, the power state can be improved by controlling the related parameter.

도 7는 다양한 실시예에 따른 프로세서가 사용자의 모드 입력에 따라서 프로세서가 알림 메시지를 출력하는 동작 순서를 도시한 순서도이다.7 is a flowchart showing an operation sequence in which a processor according to various embodiments outputs a notification message according to a mode input of a user.

이후, 프로세서(510)는 동작710에서, 전원 상태 검출부(590, 593, 596)를 통하여 현재 전원 상태 변수를 수신할 수 있다. The processor 510 may then receive current power state variables via the power state detectors 590, 593, and 596, at operation 710.

프로세서(510)는 동작720에서, 입력 모듈(565)를 통하여 사용자로부터의 SOC(500)의 구동 모드를 조절하는 입력을 수신할 수 있다. 상기 구동 모드를 조절하는 입력은 저전력 모드 / 고전력 모드 중 어느 하나일 수 있다. 본 발명의 일 실시예에 따라, 특정한 모드가 지정되어 있지 않더라도, SOC(500)가 내장된 전자 장치에 동시에 실행되는 프로그램이 많은 경우, 혹은 동시에 다수의 명령이 입력되는 경우에는, 구동 모드를 조절하는 입력의 일종이 될 수 있다. 예를 들어, SOC(500)가 내장된 휴대용 단말기에 대한 고사양 게임의 실행에 대한 입력은, 고전력 모드의 일종이 될 수 있다. At operation 720, the processor 510 may receive input to adjust the drive mode of the SOC 500 from the user via the input module 565. [ The input for adjusting the driving mode may be one of a low power mode and a high power mode. According to an embodiment of the present invention, even when a specific mode is not designated, when there are many programs to be simultaneously executed in the electronic device in which the SOC 500 is embedded, or when a plurality of commands are input at the same time, Can be a kind of input. For example, the input to the execution of the high-grade game on the portable terminal with the built-in SOC 500 may be a kind of high power mode.

프로세서(510)는 동작730에서, 측정된 전원 상태 변수를 고려하여, 상기 입력에 따라 구동 모드를 조절할 경우, 전원 상태의 불안정 상태를 야기할 수 있는지 판단할 수 있다. 전원 상태의 불안정 상태를 야기할 수 있는지 판단은 메모리(550)에 저장된 데이터베이스에 기반하여 이루어질 수 있다. 즉, 프로세서(510)는 데이터베이스를 기반으로, 구동 모드를 조절할 때, 전원 상태 변수에 미치는 영향을 판단할 수 있다. 예를 들어, 프로세서(510)는 고전력 모드를 수행할 때, 프로세서(510)의 전압이 0.2V ~ 0.3V 감소한다는 것을 판단할 수 있다. 프로세서(510)는 측정된 전원 상태 변수 및 구동 모드 조절 시, 전원 상태 변수에 미치는 영향을 고려하여, 전원 상태의 불안정 상태를 야기할 수 있는지 판단할 수 있다. 여기서 불안정 상태를 야기하는지 여부는, 전원 상태 변수가 기준 조건에 대응하는지 여부로 판단될 수 있다. 예를 들어, 측정된 프로세서(510)의 전압이 3.1V이고, 기준 조건이 전압 < 3V or 전압 > 5V 이며, 고전력 모드를 수행할 때 프로세서(510)의 전압이 0.2V ~ 0.3V 감소하는 경우, 프로세서(510)는 고전력 모드를 수행할 때, 전원 상태의 불안정을 야기할 수 있다고 판단할 수 있다.The processor 510 may determine at operation 730 if it is possible to cause an unstable state of the power state when adjusting the drive mode according to the input, taking into account the measured power state variable. Whether the unstable state of the power state can be caused can be determined based on the database stored in the memory 550. That is, the processor 510 can determine the influence on the power state variable when adjusting the driving mode based on the database. For example, processor 510 may determine that when the high power mode is performed, the voltage of processor 510 decreases by 0.2V to 0.3V. The processor 510 may determine whether it may cause an unstable state of the power supply state in consideration of the measured power supply state variable and the influence on the power supply state variable at the time of the drive mode adjustment. Whether or not the unstable state occurs here can be determined by whether or not the power state variable corresponds to the reference condition. For example, when the measured voltage of the processor 510 is 3.1 V, the reference condition is voltage <3 V or 5 V, and the voltage of the processor 510 is reduced by 0.2 V to 0.3 V when the high power mode is performed , The processor 510 may determine that it may cause instability of the power state when performing the high power mode.

프로세서(510)가 동작 730에서, 전원 상태의 불안정을 야기할 수 없다고 판단한 경우, 동작 550에서, 수신한 입력에 따라서 구동 모드를 조절할 수 있다.If the processor 510 determines at operation 730 that it can not cause instability of the power state, at operation 550, the drive mode may be adjusted according to the received input.

프로세서(510)가 동작 730에서, 전원 상태의 불안정을 야기할 수 있다고 판단한 경우, 동작 740에서, 프로세서(510)는 디스플레이 모듈(585)를 통해 사용자에게 알림 메시지를 출력할 수 있다. 예를 들어, 프로세서는 "그대로 진행할 경우 시스템 오류가 생길 수 있습니다. 그래도 진행하시겠습니까"라는 메시지를 출력할 수 있다. 이후, 프로세서는 동작750으로 진행하여, 수신한 입력에 따라 구동 모드를 조절할 수 있다. 알림 메시지 출력 후, 사용자의 추가 입력을 위한 인터페이스가 출력될 수 있으며, 사용자의 반응과 무관하게 프로세서(510)는 수신한 입력에 따라 구동 모드를 조절할 수도 있다.If the processor 510 determines at operation 730 that it may cause instability of the power state, at operation 740, the processor 510 may output a notification message to the user via the display module 585. [ For example, a processor might display a message that says, "If you proceed, you might get a system error, but you still want to proceed." The processor may then proceed to operation 750 to adjust the drive mode according to the received input. After the notification message is output, an interface for additional input of the user may be output, and the processor 510 may adjust the driving mode according to the received input regardless of the user's response.

상기 도시된 순서를 통하여, 프로세서(510)는 사용자의 입력에 따른 전원 상태를 판단하고, 전원 상태의 불안정을 야기할 수 있는 사용자의 입력에 대해서는 미리 알림으로써, 사용자가 예상치 못하게 시스템 오류를 겪을 수 있는 상황을 미리 방지하는 효과가 있다.Through the above-described procedure, the processor 510 determines the power state according to the user's input and reminds the user about the input of the power state that may cause instability, so that the user may unexpectedly experience a system error There is an effect of preventing the situation in advance.

도 8은 다양한 실시예에 따른 SOC의 전원 상태의 안정성을 유지를 위한 관련 파라미터 제어에서, 오동작을 방지하기 위한 동작 순서를 도시한 순서도이다. 8 is a flowchart illustrating an operation procedure for preventing malfunction in the related parameter control for maintaining the stability of the power state of the SOC according to various embodiments.

프로세서(510)는 동작810에서, SOC(500)에 입력되는 전원 상태가 불안정 상태임을 판단할 수 있다. 예를 들어, 프로세서(510)는 프로세서(510)의 전압 측정 값이 기준 조건에 대응하여, 프로세서(510)에 입력되는 전원 상태가 불안정 상태임을 판단할 수 있다.The processor 510 may determine at operation 810 that the power state input to the SOC 500 is unstable. For example, the processor 510 can determine that the power state input to the processor 510 is unstable, in response to the voltage condition of the processor 510 corresponding to the reference condition.

프로세서(510)는 동작 820에서, 관련 파라미터를 제어할 수 있다. 관련 파라미터는 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값 및 상기 전원 상태 변수에 대응하는 임계 값(또는 동작 범위)에 기반하여 결정될 수 있다. 또한 관련 파라미터를 제어하는 방법은 관련 파라미터의 값을 변경하는 방법일 수 있다.Processor 510 may, at operation 820, control the associated parameters. The relevant parameters may be determined based on characteristics of the power state variables, measurements of the power state variables, and thresholds (or operating ranges) corresponding to the power state variables. The method of controlling the related parameter may also be a method of changing the value of the relevant parameter.

프로세서(510)는 동작 830에서, 제어된 관련 파라미터의 값이 기 설정된 범위에 포함되는지 여부를 결정할 수 있다. 관련 파라미터의 기 설정된 범위는 관련 파라미터의 특성 및 대상 IP의 물리적 특성에 따라 결정될 수 있다. 예를 들어, 대상 IP가 프로세서(510)이고 관련 파라미터가 프로세서(510)의 동작 클럭인 경우, 관련 파라미터의 기 설정된 범위는 상기 프로세서(510)가 지원할 수 있는 최대 동작 클럭, 즉, 프로세서(510)의 물리적 특성에 따라 결정될 수 있다. At operation 830, the processor 510 may determine whether the value of the controlled associated parameter is included in the predetermined range. The predetermined range of the relevant parameters can be determined according to the characteristics of the relevant parameters and the physical characteristics of the target IP. For example, if the target IP is the processor 510 and the associated parameter is the operating clock of the processor 510, then the predetermined range of related parameters may be the maximum operating clock that the processor 510 can support, ) &Lt; / RTI &gt;

프로세서(510)는, 동작830에서 관련 파라미터의 값이 기 설정된 범위에 포함된다고 판단하면, 동작840에서, 관련 파라미터 제어 후, 전원 상태 검출부(590, 593, 596)에 의해 다시 측정된 전원 상태 변수의 값이 기준 조건에 대응하는지(혹은, 기 설정된 동작 범위 이외의 값인지) 판단할 수 있다.The processor 510 determines at operation 830 that the value of the associated parameter is included in the predetermined range and at operation 840, after the associated parameter control, the power state variable measured again by the power state detector 590, 593, (Or a value other than the predetermined operation range) can be determined.

파라미터 제어부(540)에 의해서 파라미터를 제어한 후, 전원 상태 검출부(590, 593, 596)는 상기 IP에 입력되는 전원의 상태를 다시 판단할 수 있다. 상기 전원 상태 검출부(590, 593, 596)가 전원의 상태를 다시 판단하는 과정은, 파라미터 제어부(540)에 의해서 파라미터를 제어한 후, 일정 시간이 경과한 후에 수행될 수 있다.After the parameters are controlled by the parameter control unit 540, the power state detection units 590, 593, and 596 can again determine the state of the power input to the IP. The process of determining the state of the power source by the power state detection units 590, 593, and 596 may be performed after a predetermined time elapses after the parameters are controlled by the parameter control unit 540.

프로세서(510)는, 동작840에서, 제어 후 새롭게 측정된 전원 상태 변수의 값이 기준 조건에 대응한다고 판단되면, 여전히 전원 상태가 불안정 상태로 판단하고, 동작820단계를 수행할 수 있다. 프로세서(510)는 파라미터 제어 후, 전원 상태를 판단함에 있어서, 일정한 시간적 범위를 두고 판단할 수도 있고, 파라미터 제어 후 임의의 시각에서 측정된 전원 상태 변수의 값을 기준으로 판단할 수도 있다. 즉, 프로세서(510)는 전원 상태가 안정 상태로 변화할 때까지, 동작820 내지 동작840을 반복할 수 있다. 프로세서(510)는 제어 후 새롭게 측정된 전원 상태 변수의 값이 기준 조건에 대응하지 않다고 판단된 경우, 전원 상태가 안정 상태로 변화하였다고 판단하고, 당해 알고리즘을 종료할 수 있다. The processor 510 may determine that the power state is still unstable and perform operation 820 if it is determined at operation 840 that the value of the power state variable newly measured after the control corresponds to the reference condition. The processor 510 may determine the power state after the parameter control based on a predetermined time range or the power state variable measured at an arbitrary time after the parameter control. That is, the processor 510 may repeat operations 820 through 840 until the power state changes to a steady state. The processor 510 may determine that the power state has changed to a stable state and terminate the algorithm if it is determined that the value of the newly measured power state variable does not correspond to the reference condition after the control.

프로세서(510)는, 동작830에서 관련 파라미터의 값이 기 설정된 범위에 포함되지 않는다고 판단하면, 동작850에서, 시스템 구성 요소 중 적어도 하나가 오류가 있다고 판단할 수 있다. 즉, 관련 파라미터의 제어 회로 및 전원 상태 변수의 측정 회로에 오류가 있다면, 관련 파라미터를 반복적으로 제어하더라도, 전원 상태를 개선할 수 없다. 오히려, 반복적으로 변화된 관련 파라미터에 의하여 시스템 오동작이 야기될 수 있는바, 동작850은 이를 방지하기 위한 동작이다.If the processor 510 determines at operation 830 that the value of the associated parameter is not included in the predetermined range, then at operation 850, at least one of the system components may determine that there is an error. That is, if there is an error in the control circuit of the related parameter and the measurement circuit of the power state variable, the power state can not be improved even if the related parameter is repeatedly controlled. Rather, the operation 850 is an operation for preventing the system malfunction due to repeatedly changed related parameters.

프로세서(510)는 동작850에서 시스템을 구성하는 구성 요소 중 적어도 하나가 오류가 있다고 판단한 경우, 당해 알고리즘을 종료한다. 이 때, 프로세서(510)는 디스플레이 모듈(585)를 통하여, 당해 시스템에 오류가 포함되어 있을 수 있다는 알림 메시지를 출력할 수 있다.The processor 510 terminates the algorithm if at least one of the components that make up the system at operation 850 determines that there is an error. At this time, the processor 510 may output a notification message via the display module 585 that the system may include an error.

즉, 프로세서(510)는 현재 불안정한 전원 상태를 안정한 전원 상태로 회복할 때까지 관련 파라미터를 반복적으로 변경할 수 있지만, 관련 파라미터의 값이 정해진 임계 값(상한 임계 값 또는 하한 임계 값)을 넘는 경우 변경을 중단함으로써, 2차적 시스템 오류 및 오동작을 방지할 수 있다. That is, the processor 510 may repeatedly change the associated parameters until the current unstable power state is restored to a stable power state, but when the value of the associated parameter exceeds a predetermined threshold (upper threshold or lower threshold) It is possible to prevent a secondary system error and malfunction.

도 9는 다양한 실시예에 따른 프로세서가 SOC의 전원 상태에 대한 정보를 출력하기 위한 순서를 도시한 순서도이다.FIG. 9 is a flowchart illustrating a procedure for a processor according to various embodiments to output information on a power state of an SOC.

프로세서(510)는 동작 910에서, 전원 상태 검출부(590, 593, 596)에 의해 측정된 전원 상태 변수의 값을 수신할 수 있다. 구체적으로, 전원 상태 검출부(590, 593, 596)는 SOC를 구성하는 적어도 하나 이상의 IP에 입력되는 적어도 하나 이상의 전원 상태 변수의 값을 측정할 수 있다. 또한, 전원 상태 검출부(590, 593, 596)는 측정된 값을 포함하는 정보를 프로세서(510)에 전송할 수 있으며, 프로세서(510)는 상기 정보를 수신할 수 있다. Processor 510 may receive the value of the power state variable measured by power state detector 590, 593, 596, at operation 910. [ Specifically, the power state detection units 590, 593, and 596 may measure the values of at least one power state variable input to at least one or more IPs constituting the SOC. In addition, the power state detectors 590, 593, and 596 may transmit information including the measured values to the processor 510, and the processor 510 may receive the information.

프로세서(510)는 동작 920에서, 상기 측정된 값을 포함하는, 전원 상태 정보를 메모리(550)에 데이터베이스로 저장할 수 있다. 전원 상태 정보에는 전원 상태 변수의 측정된 값, 전원 상태 변수의 대상 IP, 측정 시각, 측정 시각에서의 주변 환경 정보 등이 포함될 수 있다.At operation 920, the processor 510 may store power state information, including the measured values, in a memory 550 in a database. The power status information may include the measured value of the power state variable, the target IP of the power state variable, the measurement time, and the surrounding environment information at the measurement time.

프로세서(510)는 동작 930에서, 입력 모듈(565)을 통하여, 전원 안정성에 관한 정보의 출력 명령을 수신할 수 있다. 상기 출력 명령은 특정한 시각(예 : 현재)에서 전원의 안정성에 대한 정보의 출력 명령일 수 있으며, 일정한 시간 범위(예 : 어제)에서 전원의 안정성에 관한 정보의 출력 명령일 수도 있다.Processor 510 may receive an output command of information about power stability via input module 565 at operation 930. [ The output command may be an output command of information about the stability of the power source at a specific time (for example, the current time), or may be an output command of information about the stability of the power source in a constant time range (e.g., yesterday).

프로세서(510)는 동작 940에서, 데이터베이스에 저장된 전원 상태 정보에 기반하여 전원의 안정성 여부를 출력할 수 있다. 출력된 데이터에는 전원의 안정 상태 및 측정 시간 등이 포함될 수 있다.At operation 940, the processor 510 may output whether or not the power supply is stable based on the power state information stored in the database. The output data may include the steady state of the power supply and the measurement time.

출력의 범위는 사용자의 입력에 따라 달라질 수 있다. 예를 들어, 일정한 시각(예 : 현재)에 대한 전원의 안정성에 관한 정보의 출력 명령인 경우, 해당 시각 (또는 가장 근접한 시각)에 대응하는 데이터를 데이터베이스에서 검색하여 출력할 수 있다. 다른 예를 들어, 일정한 시간 범위(예 : 현재로부터 1시간 이내)에 대한 전원의 안정성에 관한 정보의 출력 명령인 경우, 해당 시간 범위에 대응하는 데이터를 데이터베이스에서 검색하여 출력할 수 있다. 이 때, 해당 시간 범위에 대응하는 데이터는 시간의 함수로서, 그래프 형태로 출력될 수 있다.The range of the output depends on the user's input. For example, in the case of an output command of information on the stability of the power source at a certain time (for example, the current time), data corresponding to the time (or the closest time) can be retrieved from the database and output. For another example, if the command is an output command of information on the stability of the power source for a certain time range (e.g., within one hour from the current time), data corresponding to the time range can be retrieved from the database and output. At this time, data corresponding to the time range may be output as a graph as a function of time.

상기 도시된 순서를 통하여, 사용자는 현재 또는 현재를 포함하는 일정한 시간 범위 내, 전원의 안정성에 대한 정보를 실시간으로 모니터링할 수 있다.Through the above-described procedure, the user can monitor information on the stability of the power supply in real time within a certain time range including the current or the present time.

도 10은 다양한 실시예에 따른 프로세서가 주변 환경 조건에 따라 사용자에게 알림 메시지를 출력하기 위한 순서를 도시한 순서도이다.FIG. 10 is a flowchart illustrating a procedure for a processor according to various embodiments to output a notification message to a user according to environmental conditions.

프로세서(510)는 동작 1010에서, 현재의 주변 환경 조건이 전원 상태에 영향을 미칠 수 있는 조건임을 감지할 수 있다. 또한, 프로세서(510)는 주변 환경 조건을 감지하는 센서부(미도시)에서 센싱 정보를 수신할 수 있다. 주변 환경 조건은 예를 들어, SOC(500)가 내장된 전자 장치의 온도, 습도, 기압 중 적어도 어느 하나가 될 수 있다. 주변 환경 조건이 전원 상태에 영향을 미칠 수 있는 조건은, 주변 환경 조건의 측정 값 또는 일정 시간 동안 지속 여부 등이 될 수 있다. 예를 들어, SOC(500)가 내장된 전자 장치의 온도가 37도를 넘거나, 36.5도가 15분 이내 지속될 경우, 프로세서(510)는 현재의 주변 환경 조건이 전원 상태에 영향을 미칠 수 있는 조건이라고 판단할 수 있다.The processor 510 may sense at operation 1010 that the current ambient condition is a condition that may affect the power state. The processor 510 may also receive sensing information from a sensor unit (not shown) that senses ambient environmental conditions. The ambient conditions may be, for example, at least one of the temperature, humidity, and air pressure of the electronic device in which the SOC 500 is embedded. The conditions under which the environmental conditions may affect the power state may be measured values of the environmental conditions or whether they last for a predetermined time. For example, if the temperature of the electronic device in which the SOC 500 is embedded exceeds 37 degrees or 36.5 degrees lasts for 15 minutes, the processor 510 determines that the current ambient conditions may affect the power state .

프로세서(510)는 동작 1020에서, 현재 주변 환경 조건과 동일한 조건을 데이터베이스에서 검색하고, 검색된 자료에서, 문제된 환경 조건이 전원 상태에 미치는 영향을 판단할 수 있다. 여기서 데이터베이스는 메모리(550)에 저장된 전원 상태 정보일 수 있다. 예를 들어, 현재 온도가 37도를 넘는 경우, 프로세서(510)는 데이터베이스에서 온도가 37도를 넘는 자료를 검색하고, 검색된 자료에서 37도가 넘는 온도가 전원 상태에 미치는 영향을 결정할 수 있다.At operation 1020, the processor 510 may search the database for conditions that are the same as the current ambient conditions, and determine, from the retrieved data, the effect of the environmental condition at issue on the power state. Where the database may be power state information stored in memory 550. For example, if the current temperature is greater than 37 degrees Celsius, the processor 510 may retrieve data in the database above 37 degrees Celsius and determine the effect of temperatures above 37 degrees C on the power state in the retrieved data.

프로세서(510)는 동작 1030에서, 현재 전원 상태를 고려하여 주변 환경 조건이 SOC(500)에 입력되는 전원 상태의 불안정을 야기할 수 있는지를 판단할 수 있다. 여기서 현재 전원 상태는 전원 상태 검출부(590, 593, 596)에서 측정된 전원 상태 변수의 값과 기준 조건을 비교하여 안정 상태 또는 불안정 상태로 결정될 수 있다. 프로세서(510)는 동작1020에서 결정된, 문제된 환경 조건이 전원 상태에 미치는 영향에 기반하여, 시스템 불안정을 야기할 수 있는지를 판단할 수 있다. The processor 510 may determine at operation 1030 whether the ambient condition may cause instability of the power state input to the SOC 500 in consideration of the current power state. Here, the current power state may be determined as a stable state or an unstable state by comparing the value of the power state variable measured by the power state detection units 590, 593, and 596 with a reference condition. The processor 510 may determine whether it can cause system instability based on the impact of the problem environmental condition determined at operation 1020 on the power state.

즉, 프로세서(510)는 현재 전원 상태가 이미 불안정 상태로 판단된 경우, 주변 환경 조건에 따라 전원 상태의 불안정을 야기할 수 있다고 판단할 수 있으며, 현재 전원 상태가 안정 상태로 판단되더라도, 주변 환경 조건에 따라 전원 상태의 불안정을 야기할 수 있다고 판단할 수 있다.That is, if it is determined that the current power state is already unstable, the processor 510 may determine that the power state may be unstable according to the surrounding conditions. Even if the current power state is determined to be stable, It can be judged that the power state may be unstable depending on the condition.

프로세서(510)는 동작 1030에서 시스템의 불안정을 야기할 수 있다고 판단한 경우, 동작 1040에서, 관련 메시지를 출력할 수 있다. 관련 메시지는 현재 전원 상태, 문제되는 주변 환경 조건을 포함할 수 있다. 또한, 프로세서(510)는 동작 1040에서, 관련 파라미터를 제어할 수도 있다. 관련 파라미터는 전원 상태의 불안정을 야기하는 전원 상태 변수의 특성, 측정된 값, 임계 값 및 대상 IP에 따라 결정될 수 있으며, 추가적으로 주변 환경 조건에 따라 결정될 수도 있다. 또한, 프로세서는 관련 파라미터를 제어한 후, 관련 메시지를 출력할 수도 있다.If the processor 510 determines that it may cause instability of the system at operation 1030, then at operation 1040, it may output an associated message. The relevant message may include the current power state, and the surrounding environmental conditions at issue. In addition, the processor 510 may control the associated parameters, at operation 1040. The relevant parameters may be determined according to the characteristics of the power state variables, the measured values, the threshold values and the target IP, which cause instability of the power state, and may additionally be determined according to the environmental conditions. The processor may also control the relevant parameters and then output the relevant message.

상기 순서를 통하여, 사용자는 전원 상태에 영향을 미칠 수 있는 주변 환경 조건에 대한 정보를 미리 파악하고 불안정한 전원 상태가 야기할 수 있는 시스템 오류에 대한 상황을 미리 회피할 수 있다.Through the above procedure, the user can grasp the information on the environmental conditions that may affect the power state in advance and avoid the situation of the system error that may be caused by the unstable power state.

도 11은 다양한 실시예에 따른 프로세서에서 주변 환경 조건에 따라 사용자에게 출력하는 알림 메시지를 도시한 도면이다.11 is a diagram illustrating a notification message output by a processor according to various embodiments to a user according to an environmental condition.

도 8에서 언급한 순서에 따라, 프로세서(510)는 현재의 주변 환경 조건이 시스템의 불안정을 야기할 수 있음을 판단할 수 있고, 시스템의 불안정을 야기할 수 있다면, 디스플레이 모듈(585)를 통하여 알림 메시지를 출력할 수 있다. 8, the processor 510 may determine that the current ambient conditions may cause instability of the system and, if it can cause instability of the system, A notification message can be output.

예를 들어, 프로세서(510)는 SOC(500)가 내장된 전자 장치의 화면에, 현재 온도를 포함하는 알림 메세지(1110)를 출력할 수 있다. 알림 메시지(1110)는"현재 온도가 38°C로서 전원에 영향을 미칠 수 있는 조건임이 감지되었습니다. 검사를 진행하시겠습니까?"와 같은 내용의 메시지일 수 있으며, 사용자의 입력을 위한 별도의 인터페이스(1115)가 화면에 추가될 수 있다. For example, the processor 510 may output a notification message 1110 containing the current temperature on the screen of the electronic device in which the SOC 500 is embedded. The notification message 1110 may be a message such as "It is detected that the current temperature is 38 [deg.] C and a condition that may affect the power supply is going to be inspected? &Quot;, and a separate interface 1115) may be added to the screen.

사용자가 별도의 인터페이스(1115)를 통하여 시스템의 검사를 요청한 경우, 프로세서(510)는 디스플레이 모듈(585)를 통하여 검사가 진행중이라는 알림 메시지(1120)를 출력할 수 있다. 또한 전원 상태 검출부(590, 593, 596)에서 측정된, 적어도 하나의 IP에 대한 적어도 하나의 전원 상태 변수의 값이 기준 조건에 대응하는지 판단할 수 있다. 그리고, 프로세서(510)는 상기 측정된 전원 상태 변수의 값이 기준 조건에 대응할 때, 전원 상태가 불안정하다고 판단할 수 있다. 프로세서(510)는, 전원 상태가 불안정 상태라고 판단한 경우, 이제까지의 전원 상태 정보가 저장된 데이터베이스를 참고하여 시스템 오류에 관한 정보를 예측할 수 있다. 예를 들어, 프로세서(510)는 현재 불안정 상태의 일정 시간 지속 여부 및 현재 상황과 유사한 주변 환경 조건이 전원 상태에 미치는 영향 등을 고려할 수 있다.When the user requests the inspection of the system through the separate interface 1115, the processor 510 may output a notification message 1120 indicating that the inspection is in progress through the display module 585. Also, it is possible to determine whether the value of at least one power state variable for at least one IP measured by the power state detection unit 590, 593, and 596 corresponds to a reference condition. The processor 510 may determine that the power state is unstable when the measured power state variable corresponds to a reference condition. When it is determined that the power source state is unstable, the processor 510 can predict information on the system error by referring to the database storing the power source state information so far. For example, the processor 510 may consider whether the current unstable state lasts for a certain period of time, and the influence of environmental conditions similar to the current state on the power state.

프로세서(510)는 시스템 오류를 일으킬 수 있다고 판단한 경우, 관련 정보를 포함한 메시지(1130)를 출력할 수 있다. 예를 들어, 프로세서는, 디스플레이 모듈(585)를 통하여, 이대로 진행할 경우, 10분 이내에 시스템 오류가 생길 수 있으며, 이를 방지하기 위해서는 온도를 낮추거나, 저전력 모드로 변경할 것을 권장하는 메시지를 출력할 수 있다.When the processor 510 determines that it is possible to cause a system error, it may output a message 1130 including related information. For example, the processor may output a message that recommends lowering the temperature or changing to a lower power mode in order to prevent a system error within 10 minutes when proceeding through the display module 585 have.

도 12은 다양한 실시예에 따른 프로세서가 관련 파라미터를 제어한 후, 관련 파라미터 값의 복구 여부를 결정하는 동작 순서를 도시한 순서도이다.FIG. 12 is a flow chart illustrating an operational sequence for determining whether a processor in accordance with various embodiments, after controlling an associated parameter, will recover the associated parameter value.

프로세서(510)는 동작1210에서, SOC(500)에 입력되는 전원 상태가 불안정 상태임을 판단할 수 있다. 여기서 SOC(500)에 입력되는 전원 상태가 불안정 상태임을 판단하는 기준은, SOC를 구성하는 적어도 하나의 IP에서 측정되는 전원 상태 변수의 값이 기준 조건에 대응하는지 (혹은, 기 설정된 동작 범위 이외의 값인지) 여부일 수 있다.The processor 510 may determine at operation 1210 that the power state input to the SOC 500 is unstable. The criterion for determining that the power state input to the SOC 500 is an unstable state is that the value of the power state variable measured at at least one IP constituting the SOC corresponds to the reference condition (or, Value).

프로세서(510)는 동작1220에서, 관련 파라미터를 제어할 수 있다. 관련 파라미터는 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값 및 상기 전원 상태 변수에 대응하는 임계 값 (또는 동작 범위) 에 기반하여 결정될 수 있다. 또한 관련 파라미터를 제어하는 방법은 관련 파라미터의 값을 변경하는 방법일 수 있다.Processor 510 may, at operation 1220, control the associated parameters. The relevant parameters may be determined based on characteristics of the power state variables, measurements of the power state variables, and thresholds (or operating ranges) corresponding to the power state variables. The method of controlling the related parameter may also be a method of changing the value of the relevant parameter.

프로세서(510)는 동작1230에서, 관련 파라미터를 제어한 후, 새롭게 측정된 전원 상태 변수의 값이 기준 조건에 대응하는지 판단할 수 있다. 프로세서(510)는 관련 파라미터 제어 후, 기준 조건에 대응하는지 판단함에 있어서, 일정한 시간적 범위를 두고 판단할 수도 있고, 파라미터 제어 후 임의의 시각에서 측정된 전원 상태 변수의 값을 기준으로 판단할 수도 있다. 기준 조건에 대응한다면 프로세서(510)는 전원 상태가 불안정 상태로 판단하고, 동작1220을 반복할 수 있다. 즉, 프로세서(510)는 전원 상태가 안정 상태로 판단될 때까지 동작1220, 동작1230을 반복할 수 있다.At operation 1230, the processor 510 may control the associated parameters and then determine whether the value of the newly measured power state variable corresponds to a reference condition. The processor 510 may determine whether the reference parameter corresponds to a reference condition after controlling the related parameter or may determine the parameter based on the value of the power state variable measured at any time after the parameter control . If the reference condition is met, the processor 510 may determine that the power state is unstable and may repeat operation 1220. [ That is, the processor 510 may repeat operation 1220, operation 1230, until the power state is determined to be stable.

프로세서(510)는 동작1230에서, 새롭게 측정된 전원 상태 변수의 값이 기준 조건에 대응하지 않다고 판단한 경우, 전원 상태가 안정 상태로 판단하고, 동작1240을 수행할 수 있다. If the processor 510 determines at operation 1230 that the value of the newly measured power state variable does not correspond to the reference condition, the processor 510 may determine that the power state is stable and perform operation 1240.

프로세서(510)는 동작1240에서, 일정한 시간 범위 내 대상 IP의 불안정 상태의 출현 횟수가 정해진 값을 넘는지 판단할 수 있다. 불안정 상태의 출현 횟수는 메모리(550)에 저장된 데이터베이스를 검색함으로써 결정될 수 있다. 프로세서(510)는 일정한 시간 범위 내 대상 IP의 불안정 상태의 출현 횟수가 정해진 값을 넘지 않는다면, 동작1050에서 관련 파라미터의 값을 제어 전의 값으로 복구할 수 있다. 즉, 프로세서(510)는 프로세서(510)의 동작 클럭을 1GHz에서 1.1Ghz로 제어한 후 SOC(500)에 입력되는 전원 상태가 불안정 상태에서 안정 상태로 변화하였고, 일정 시간 범위 내 프로세서(510)의 불안정 상태의 출현 횟수가 정해진 값을 넘지 않았다면, 프로세서(510)의 동작 클럭을 1Ghz로 복구할 수 있다. The processor 510 may determine at operation 1240 whether the number of occurrences of the unstable state of the target IP within a certain time range exceeds a predetermined value. The frequency of occurrence of the unstable state can be determined by searching the database stored in the memory 550. [ The processor 510 may recover the value of the associated parameter to the value prior to the control at operation 1050 if the number of occurrences of the unstable state of the target IP within a certain time range does not exceed a predetermined value. That is, after the processor 510 controls the operation clock of the processor 510 to 1.1 GHz from 1 GHz, the power state input to the SOC 500 changes from an unstable state to a stable state, The operation clock of the processor 510 can be restored to 1 GHz.

다만, 일정한 시간 범위 내 대상 IP의 불안정 상태의 출현 횟수가 정해진 값을 넘는다면, 프로세서(510)는 관련 파라미터의 값을 제어 전의 값으로 복구하지 않을 수 있다. 예를 들어, 프로세서(510)의 동작 클럭을 1Ghz로 다시 복구하였지만 불안정 상태가 반복되어 불안정 상태의 출현 횟수가 정해진 값을 넘는다면, 프로세서(510)의 동작 클럭을 1.1Ghz로 제어한 후, 1Ghz로 다시 복구하지 않고, 당해 알고리즘을 종료한다.However, if the number of appearance of the unstable state of the target IP within a certain time range exceeds a predetermined value, the processor 510 may not restore the value of the related parameter to the value before the control. For example, if the operation clock of the processor 510 is restored to 1 GHz, but the unstable state is repeated and the number of occurrence of the unstable state exceeds the predetermined value, the operation clock of the processor 510 is controlled to 1.1 Ghz, And the algorithm is terminated.

본 발명의 다양한 실시예에 따른 적어도 하나의 시스템온칩을 포함하는 전자 장치의 전력의 안정성을 유지하기 위한 동작 방법은, 상기 시스템온칩에 포함되는 적어도 하나의 IP에 각 입력되는 전원 상태 변수의 값을 상기 IP 내부에 배치된 전원 상태 검출부를 통하여 측정하는 동작, 상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 전원의 상태를 판단하는 동작, 상기 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 동작을 포함할 수 있다. An operating method for maintaining power stability of an electronic device including at least one system-on-chip according to various embodiments of the present invention includes: providing a value of each input power state variable to at least one IP included in the system- Determining a state of a power source to be input to the IP based on the measured value of the power state variable based on the measured power state variable; Lt; RTI ID = 0.0 &gt; a &lt; / RTI &gt;

다양한 실시예에 따르면, 상기 전원 상태 변수는, 전압, 전류, 전압의 변화율, 전류의 변화율 또는 전압의 슬루 레이트 중 적어도 하나일 수 있다. According to various embodiments, the power state variable may be at least one of a voltage, a current, a rate of change of voltage, a rate of change of current, or a slew rate of voltage.

다양한 실시예에 따르면, 상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 상기 전원의 상태를 판단하는 동작은, 상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이내의 값인 경우, 상기 전원의 상태를 안정 상태로 판단하고, 상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이외의 값인 경우, 상기 전원의 상태를 불안정 상태로 판단하는 동작을 포함할 수 있다.According to various embodiments, the operation of determining the state of the power source input to the IP based on the measured value of the power state variable may include: when the value of the measured power state variable is within a predetermined operation range, Determining the state of the power source as a stable state and determining that the power state of the power source is unstable when the measured power state variable has a value other than a predetermined operation range.

다양한 실시예에 따르면, 상기 파라미터는 상기 IP에 대한 동작 클럭, 대역폭, 딜레이 중 적어도 하나일 수 있다.According to various embodiments, the parameter may be at least one of an operating clock, bandwidth, and delay for the IP.

다양한 실시예에 따르면, 상기 파라미터를 제어한 후, 상기 IP에 입력되는 전원의 상태를 다시 판단하는 동작, 상기 다시 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 동작을 더 포함할 수 있다.According to various embodiments, an operation of controlling the parameters and then re-determining the state of the power input to the IP, and controlling the parameters related to the operation of the IP based on the re-determined state of the power source .

다양한 실시예에 따르면, 상기 파라미터를 제어한 후, 상기 다시 판단된 전원 상태가 불안정 상태인 경우, 상기 파라미터의 값이 임계 값을 넘지 않는다면, 상기 전원 상태가 안정 상태로 판단될 때까지 상기 파라미터를 반복적으로 제어하는 동작을 더 포함할 수 있다.According to various embodiments, after controlling the parameter, if the determined power state is unstable, if the value of the parameter does not exceed the threshold value, the parameter is changed until the power state is determined to be stable And may further include an operation of repeatedly controlling.

다양한 실시예에 따르면, 상기 시스템온칩의 구동 모드의 조절과 관련된 신호를 수신하는 동작, 상기 측정된 전원 상태 변수 및 상기 신호에 기반하여 상기 IP의 전원의 상태를 판단하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include receiving a signal related to the adjustment of the drive mode of the system-on-chip, determining the power state of the IP based on the measured power state variable and the signal .

다양한 실시예에 따르면, 상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 상기 전원 상태를 판단하는 동작은, 주변 환경 정보를 수신하는 동작, 상기 측정된 전원 상태 변수 및 상기 주변 환경 정보에 기반하여 상기 IP에 입력되는 상기 전원 상태를 판단하는 동작을 포함할 수 있다.According to various embodiments, the act of determining the power state input to the IP based on the measured value of the power state variable may include receiving an ambient environment information, And determining the power state input to the IP based on the power state.

다양한 실시예에 따르면, 상기 파라미터는, 상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값, 상기 전원 상태 변수가 측정된 IP, 상기 전원 상태 변수에 대응하는 임계 값 중 적어도 하나에 기반하여 결정될 수 있다.According to various embodiments, the parameter is determined based on at least one of a property of the power state variable, a measure of the power state variable, a power state variable of the measured IP, and a threshold corresponding to the power state variable .

다양한 실시예에 따르면, 상기 전원 상태가 불안정 상태로 판단된 경우, 상기 파라미터를 제어하는 동작은, 상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값 및 상기 전원 상태 변수에 대응하는 임계 값에 기반하여 정해지는 비율 혹은 차이만큼 상기 관련 파라미터의 값을 변화시키는 동작을 포함할 수 있다.According to various embodiments, when the power state is determined to be in an unstable state, the controlling of the parameter may include determining a state of the power state by comparing a characteristic of the power state variable, a measured value of the power state variable, And changing the value of the related parameter by a ratio or difference determined based on the difference.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments, but is capable of various modifications within the scope of the invention. Therefore, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by the scope of the appended claims and equivalents thereof.

400: SOC 450: 전원부
415: 전원 상태 검출부 420: 메모리
410: 프로세서 430: 주변 장치 모듈
520: 전원 상태 판단부 525: 인터럽트 처리부
530: 파라미터 결정부 540: 파라미터 제어부
400: SOC 450:
415: power supply state detection unit 420: memory
410: Processor 430: Peripheral module
520: power supply state determination unit 525:
530: Parameter determination unit 540:

Claims (20)

적어도 하나의 시스템온칩(System on Chip)을 포함하는 전자 장치에 있어서,
상기 시스템온칩은 프로세서를 비롯한 적어도 하나의 IP(Intellectual Property)를 포함하고,
상기 IP는,
상기 IP에 입력되는 전원 상태 변수의 값을 측정하는 전원 상태 검출부를 포함하고,
상기 프로세서는,
상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 전원의 상태를 판단하는 전원 상태 판단부; 및
상기 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 파라미터 제어부를 더 포함하는 전자 장치.
1. An electronic device comprising at least one System on Chip,
The system-on-chip includes at least one intellectual property (IP), including a processor,
In the IP,
And a power state detector for measuring a value of a power state variable input to the IP,
The processor comprising:
A power state determiner for determining a state of a power source input to the IP based on the measured value of the power state variable; And
And a parameter control unit for controlling parameters related to the operation of the IP based on the determined state of the power supply.
제 1항에 있어서,
상기 전원 상태 변수는,
전압, 전류, 전압의 변화율, 전류의 변화율 또는 전압의 슬루 레이트(slew rate) 중 적어도 하나인 전자 장치.
The method according to claim 1,
The power state variable includes:
Wherein the electronic device is at least one of a voltage, a current, a rate of change of voltage, a rate of change of current, or a slew rate of voltage.
제 1항에 있어서,
상기 전원 상태 판단부는,
상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이내의 값인 경우, 상기 전원의 상태를 안정 상태로 판단하고,
상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이외의 값인 경우, 상기 전원의 상태를 불안정 상태로 판단하는 전자 장치.
The method according to claim 1,
The power-
If the value of the measured power state variable is a value within a predetermined operation range,
And determines the state of the power source as an unstable state when the measured power state variable has a value other than a predetermined operation range.
제 1항에 있어서,
상기 파라미터는 상기 IP의 동작 클럭, 대역폭, 딜레이 중 적어도 하나인 전자 장치.
The method according to claim 1,
Wherein the parameter is at least one of an operation clock, a bandwidth, and a delay of the IP.
제 1항에 있어서,
상기 전원 상태 판단부는,
상기 파라미터를 제어한 후, 상기 IP에 입력되는 전원의 상태를 다시 판단하고,
상기 파라미터 제어부는,
상기 파라미터를 제어한 후, 상기 다시 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 전자 장치.
The method according to claim 1,
The power-
After the parameter is controlled, the state of the power source input to the IP is determined again,
Wherein the parameter control unit comprises:
And controls parameters related to the operation of the IP based on the re-determined state of the power source after controlling the parameters.
제 5항에 있어서,
상기 파라미터 제어부는,
상기 파라미터를 제어한 후, 상기 다시 판단된 전원 상태가 불안정 상태인 경우, 상기 파라미터의 값이 임계 값을 넘지 않는다면, 상기 전원 상태가 안정 상태로 판단될 때까지 상기 파라미터를 반복적으로 제어하는 전자 장치.
6. The method of claim 5,
Wherein the parameter control unit comprises:
An electronic device that repeatedly controls the parameter until the power state is determined to be a stable state if the determined power state is unstable after the parameter is controlled and the value of the parameter does not exceed a threshold value, .
제 1항에 있어서,
입출력 모듈을 더 포함하고,
상기 입출력 모듈은, 상기 시스템온칩의 구동 모드의 조절과 관련된 신호를 수신하고;
상기 전원 상태 판단부는 상기 측정된 전원 상태 변수 및 상기 신호에 기반하여 상기 IP의 전원의 상태를 판단하는 전자 장치.
The method according to claim 1,
Further comprising an input / output module,
The input / output module receives a signal related to adjustment of a drive mode of the system-on-chip;
Wherein the power state determination unit determines the power state of the IP based on the measured power state variable and the signal.
제 1항에 있어서
센서부를 더 포함하고,
상기 전원 상태 판단부는,
상기 측정된 전원 상태 변수 및 상기 센서부로부터 수신한 주변 환경 정보에 기반하여 상기 IP에 입력되는 상기 전원 상태를 판단하는 전자 장치.
The method of claim 1, wherein
Further comprising a sensor section,
The power-
And determines the power state input to the IP based on the measured power state variable and surrounding environment information received from the sensor unit.
제 1항에 있어서,
상기 파라미터는, 상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값, 상기 전원 상태 변수가 측정된 상기 IP, 상기 전원 상태 변수에 대응하는 임계 값 중 적어도 하나에 기반하여 결정되는 전자 장치.
The method according to claim 1,
Wherein the parameter is determined based on at least one of a characteristic of the power state variable, a measured value of the power state variable, the power state variable measured, and a threshold corresponding to the power state variable.
제 1항에 있어서,
상기 전원 상태가 불안정 상태로 판단된 경우 상기 파라미터를 제어하는 상기 파라미터 제어부는,
상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값 및 상기 전원 상태 변수에 대응하는 임계 값에 기반하여 정해지는 비율 혹은 차이만큼 상기 관련 파라미터의 값을 변화시킴으로써, 상기 관련 파라미터를 제어하는 전자 장치.
The method according to claim 1,
And the parameter control unit for controlling the parameter when the power state is determined to be unstable,
An electronic device controlling the associated parameter by changing a value of the related parameter by a ratio or difference determined based on a characteristic of the power state variable, a measured value of the power state variable, and a threshold value corresponding to the power state variable. .
적어도 하나의 시스템온칩(System on Chip)을 포함하는 전자 장치의 전력의 안정성을 유지하기 위한 방법에 있어서,
상기 시스템온칩에 포함되는 적어도 하나의 IP(Intellectual Property)에 각 입력되는 전원 상태 변수의 값을, 상기 IP 내부에 배치된 전원 상태 검출부를 통하여 측정하는 동작;
상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 전원의 상태를 판단하는 동작; 및
상기 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 동작을 포함하는 방법.
A method for maintaining power stability of an electronic device including at least one System on Chip,
Measuring an input power state variable value input to at least one IP (Intellectual Property) included in the system-on-chip through a power state detector disposed in the IP;
Determining a state of a power source input to the IP based on the measured value of the power state variable; And
And controlling parameters related to the operation of the IP based on the determined power state.
제 11항에 있어서,
상기 전원 상태 변수는,
전압, 전류, 전압의 변화율, 전류의 변화율 또는 전압의 슬루 레이트(slew rate) 중 적어도 하나인 방법.
12. The method of claim 11,
The power state variable includes:
The rate of change of the current, the rate of change of the current, or the slew rate of the voltage.
제 11항에 있어서,
상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 상기 전원의 상태를 판단하는 동작은,
상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이내의 값인 경우, 상기 전원의 상태를 안정 상태로 판단하고,
상기 측정된 전원 상태 변수의 값이 기 설정된 동작 범위 이외의 값인 경우, 상기 전원의 상태를 불안정 상태로 판단하는 동작을 포함하는 방법.
12. The method of claim 11,
Wherein the step of determining the state of the power source input to the IP based on the measured value of the power state variable comprises:
If the value of the measured power state variable is a value within a predetermined operation range,
And determining the state of the power source to be unstable if the measured power state variable is a value other than a predetermined operating range.
제 11항에 있어서,
상기 파라미터는 상기 IP의 동작 클럭, 대역폭, 딜레이 중 적어도 하나인 방법.
12. The method of claim 11,
Wherein the parameter is at least one of an operating clock, bandwidth, and delay of the IP.
제 11항에 있어서,
상기 파라미터를 제어한 후, 상기 IP에 입력되는 전원의 상태를 다시 판단하는 동작; 및
상기 다시 판단된 전원의 상태에 기반하여 상기 IP의 동작과 관련된 파라미터를 제어하는 동작을 더 포함하는 방법.
12. The method of claim 11,
After the parameter is controlled, re-determining the state of the power input to the IP; And
And controlling a parameter associated with the operation of the IP based on the re-determined power state.
제 15항에 있어서,
상기 파라미터를 제어한 후, 상기 다시 판단된 전원 상태가 불안정 상태인 경우, 상기 파라미터의 값이 임계 값을 넘지 않는다면, 상기 전원 상태가 안정 상태로 판단될 때까지 상기 파라미터를 반복적으로 제어하는 동작을 더 포함하는 방법.
16. The method of claim 15,
If the determined power state is an unstable state after controlling the parameter, if the value of the parameter does not exceed the threshold value, repeatedly controlling the parameter until the power state is determined to be a stable state Further comprising:
제 11항에 있어서,
상기 시스템온칩의 구동 모드의 조절과 관련된 신호를 수신하는 동작; 및
상기 측정된 전원 상태 변수 및 상기 신호에 기반하여 상기 IP의 전원의 상태를 판단하는 동작을 더 포함하는 방법.
12. The method of claim 11,
Receiving a signal related to adjustment of the drive mode of the system-on-chip; And
Further comprising determining a state of the power of the IP based on the measured power state variable and the signal.
제 11항에 있어서,
상기 측정된 전원 상태 변수의 값에 기반하여 상기 IP에 입력되는 상기 전원 상태를 판단하는 동작은,
주변 환경 정보를 수신하는 동작; 및
상기 측정된 전원 상태 변수 및 상기 주변 환경 정보에 기반하여 상기 IP에 입력되는 상기 전원 상태를 판단하는 동작을 더 포함하는 방법.
12. The method of claim 11,
Wherein the determining of the power state input to the IP based on the measured value of the power state variable comprises:
Receiving ambient environment information; And
And determining the power state input to the IP based on the measured power state variable and the surrounding environment information.
제 11항에 있어서,
상기 파라미터는,
상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값, 상기 전원 상태 변수가 측정된 상기 IP, 상기 전원 상태 변수에 대응하는 임계 값 중 적어도 하나에 기반하여 결정되는 방법.
12. The method of claim 11,
Wherein the parameter comprises:
Wherein the power state variable is determined based on at least one of a property of the power state variable, a measured value of the power state variable, the power state variable measured, the measured IP, and a threshold corresponding to the power state variable.
제 11항에 있어서,
상기 전원 상태가 불안정 상태로 판단된 경우, 상기 파라미터를 제어하는 동작은,
상기 전원 상태 변수의 특성, 상기 전원 상태 변수의 측정 값 및 상기 전원 상태 변수에 대응하는 임계 값에 기반하여 정해지는 비율 혹은 차이만큼 상기 파라미터의 값을 변화시키는 동작을 포함하는 방법.

12. The method of claim 11,
Wherein when the power state is determined to be unstable,
And changing a value of the parameter by a ratio or difference determined based on a characteristic of the power state variable, a measured value of the power state variable, and a threshold value corresponding to the power state variable.

KR1020160126903A 2016-09-30 2016-09-30 An electronic device and method for maintaining stability of power KR20180036370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160126903A KR20180036370A (en) 2016-09-30 2016-09-30 An electronic device and method for maintaining stability of power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160126903A KR20180036370A (en) 2016-09-30 2016-09-30 An electronic device and method for maintaining stability of power

Publications (1)

Publication Number Publication Date
KR20180036370A true KR20180036370A (en) 2018-04-09

Family

ID=61977936

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160126903A KR20180036370A (en) 2016-09-30 2016-09-30 An electronic device and method for maintaining stability of power

Country Status (1)

Country Link
KR (1) KR20180036370A (en)

Similar Documents

Publication Publication Date Title
US11394217B2 (en) Method and apparatus for determining abnormal state of battery
EP2990907A2 (en) Device for controlling the performance level of the device based on fluctuations in internal temperature and method thereof
CN107085462B (en) Electronic device for managing power and method of controlling the same
KR20180074377A (en) Electronic device and method for controlling heat based on temperature of battery
US20170185134A1 (en) Electronic device for managing power and method for controlling thereof
KR102630526B1 (en) Electroic device for charging battery and method of operating thereof
KR20180104987A (en) Electronic apparatus and method for charging battery
KR20170121524A (en) Method for controlling chargering of battery and electronic device thereof
KR20180074050A (en) Electronic device and method for controlling charging of the electronic device
US20180052432A1 (en) Electronic device and method for operating the same
KR102657535B1 (en) Electronic apparatus and operating method thereof
KR20170116853A (en) Method for charging battery and electronic apparatus
KR20180038856A (en) Method for charging battery and electronic apparatus
KR20170071068A (en) Method for controlling path of charge and data communication and electronic device for the same
KR20170025484A (en) Method for charging battery and electronic device implementing the same
KR20160142052A (en) Method for dispaly control and an electronic dievice therefor
KR20180002462A (en) Method for determing role of electronic device and electronic device thereof
KR20180131900A (en) Electronic device and method for processing input of external input device
KR20180129188A (en) Electronic device measuring biometric information and method of operating the same
KR20170109401A (en) Electronic device and controlling method thereof
KR20170098119A (en) Electronic device and method for controlling brightness of display thereof
KR20180014569A (en) Scan method in wireless local area network and electronic device implementing the same
KR20180064934A (en) Electronic device and method for controlling surface heat in the electronic device
KR20170054072A (en) Electronic Apparatus and Operation Method for Detecting of Accessory Device Thereof
KR102126286B1 (en) Electronic Device for Controlling Transmission Power and Method Thereof