KR20230023439A - Electronic device including camera - Google Patents

Electronic device including camera Download PDF

Info

Publication number
KR20230023439A
KR20230023439A KR1020210105573A KR20210105573A KR20230023439A KR 20230023439 A KR20230023439 A KR 20230023439A KR 1020210105573 A KR1020210105573 A KR 1020210105573A KR 20210105573 A KR20210105573 A KR 20210105573A KR 20230023439 A KR20230023439 A KR 20230023439A
Authority
KR
South Korea
Prior art keywords
regulator
processor
electronic device
camera module
pin
Prior art date
Application number
KR1020210105573A
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 KR1020210105573A priority Critical patent/KR20230023439A/en
Publication of KR20230023439A publication Critical patent/KR20230023439A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • G05F1/56Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices
    • G05F1/565Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices sensing a condition of the system or its load in addition to means responsive to deviations in the output of the system, e.g. current, voltage, power factor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils

Abstract

An electronic device according to an embodiment disclosed in this document comprises: a first camera module including a plurality of image sensors; a regulator which supplies power to the first camera module; a processor which controls the regulator; a first resistor connected between an output terminal of the regulator and a status check pin of the regulator; a second resistor connected between the status check pin and the ground; and a third resistor connected between the status check pin and a first control pin which controls the regulator of the processor. The processor receives identification information corresponding to one of the image sensors from a storage element of the first camera module, and changes the state of the first control pin to correspond to the identification information. Corresponding to the state of the first control pin, a voltage value of the output terminal of the regulator may be changed. In addition, various embodiments identified through the specification are possible. The present invention is to operate a camera module with various driving voltages.

Description

카메라를 포함하는 전자 장치{ELECTRONIC DEVICE INCLUDING CAMERA}Electronic device including a camera {ELECTRONIC DEVICE INCLUDING CAMERA}

본 문서에서 개시되는 다양한 실시예들은, 카메라를 포함하는 전자 장치와 관련된다. Various embodiments disclosed in this document relate to an electronic device including a camera.

스마트폰, 태블릿 PC 등과 같은 전자 장치는 카메라(또는 카메라 모듈, 촬상 장치)를 포함할 수 있다. 카메라 모듈은 이미지 센서를 통해 이미지 데이터를 획득할 수 있다. 카메라 모듈을 통해 획득한 이미지 데이터는 전자 장치 내부의 메모리에 저장되거나, 디스플레이를 통해 프리뷰 이미지로 출력될 수 있다. An electronic device such as a smart phone or a tablet PC may include a camera (or a camera module or an imaging device). The camera module may acquire image data through an image sensor. Image data obtained through the camera module may be stored in a memory inside the electronic device or output as a preview image through a display.

최근에는 서로 다른 특성을 가지는 복수의 이미지 센서들을 포함하는 전자 장치가 출시되고 있다. 복수의 이미지 센서들은 서로 다른 전원(또는 전압값)을 공급받을 수 있다. Recently, electronic devices including a plurality of image sensors having different characteristics are being released. A plurality of image sensors may be supplied with different powers (or voltage values).

전자 장치는 복수의 이미지 센서들에 전원을 공급하는 방식으로, 각 센서의 전원에 대응하는 독립된 레귤레이터(예: LDO(low dropout))들을 이용하거나, 소프트웨어적으로 전압값의 가변이 가능한 전력 관리 모듈(예: PMIC)을 이용할 수 있다.The electronic device is a method of supplying power to a plurality of image sensors, using independent regulators (e.g., low dropout (LDO)) corresponding to the power of each sensor, or a power management module capable of changing the voltage value through software. (e.g. PMIC) can be used.

독립된 레귤레이터(예: LDO)들을 이용하는 방식의 경우, 구별된 PBA(printed board assembly)가 필요하고, PBA와 이미지 센서 사이의 전원 출력의 동기화가 필요하다.In the case of a method using independent regulators (eg, LDOs), a separate printed board assembly (PBA) is required, and synchronization of power outputs between the PBA and the image sensor is required.

소프트웨어적으로 전압값의 가변이 가능한 전력 관리 모듈(예: PMIC)를 이용하는 경우, 동일한 PBA로 복수의 이미지 센서들에 대한 전력 공급이 가능하지만, 제조 비용이 상승하고, 실장 공간이 커질 수 있다.In the case of using a power management module (eg, PMIC) capable of varying a voltage value in software, power can be supplied to a plurality of image sensors with the same PBA, but manufacturing cost and mounting space may increase.

다양한 실시예는 카메라 모듈을 다양한 구동 전압으로 동작시키는 하나의 레귤레이터를 포함하는 전자 장치를 제공할 수 있다.Various embodiments may provide an electronic device including one regulator for operating the camera module at various driving voltages.

다양한 실시예에 따른 전자 장치는, 복수의 이미지 센서들을 포함하는 제1 카메라 모듈, 상기 제1 카메라 모듈에 전원을 공급하는 레귤레이터, 상기 레귤레이터를 제어하는 프로세서, 상기 레귤레이터의 출력단과, 상기 레귤레이터의 상태 확인핀 사이에 연결되는 제1 저항, 상기 상태 확인핀과 접지 사이에 연결되는 제2 저항, 상기 상태 확인핀과, 상기 프로세서의 상기 레귤레이터를 제어하는 제1 제어핀 사이에 연결되는 제3 저항을 포함하고, 상기 프로세서는 상기 제1 카메라 모듈의 저장 소자로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고, 상기 식별 정보에 대응하도록 상기 제1 제어핀의 상태를 변경하고, 상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 전압값이 변경될 수 있다.An electronic device according to various embodiments includes a first camera module including a plurality of image sensors, a regulator supplying power to the first camera module, a processor controlling the regulator, an output terminal of the regulator, and a state of the regulator. A first resistor connected between the check pin, a second resistor connected between the status check pin and ground, and a third resistor connected between the check pin and the first control pin controlling the regulator of the processor. wherein the processor receives identification information corresponding to one of the image sensors from a storage element of the first camera module, changes a state of the first control pin to correspond to the identification information, and Corresponding to the state of the control pin, the voltage value of the output terminal of the regulator may be changed.

본 문서에 개시되는 다양한 실시예들에 따른 전자 장치는 하나의 레귤레이터를 이용하여 카메라 모듈을 다양한 구동 전압으로 동작시킬 수 있다. 이를 통해 복수의 카메라에 대한 전원 설계를 낮은 가격으로 동일 PBA에서 제공할 수 있다.An electronic device according to various embodiments disclosed in this document may operate a camera module with various driving voltages using one regulator. This makes it possible to provide power supply designs for multiple cameras from the same PBA at a low cost.

본 문서에 개시되는 다양한 실시예들에 따른 전자 장치는 카메라 모듈에서 프로세서로 전송되는 이미지 센서의 식별 정보에 대응하여, 카메라 모듈을 구동하는 레귤레이터의 출력 전압값을 변경할 수 있다.An electronic device according to various embodiments disclosed in this document may change an output voltage value of a regulator driving a camera module in response to identification information of an image sensor transmitted from a camera module to a processor.

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도 이다.
도 2는, 다양한 실시예들에 따른, 카메라 모듈을 예시하는 블록도이다.
도 3은 다양한 실시예에 따른 카메라 모듈을 포함하는 전자 장치를 나타낸다.
도 4는 다양한 실시예에 따른 카메라 구동 방법을 나타내는 순서도이다.
도 5은 다양한 실시 예에 따른 레귤레이터 제어핀에 보호 회로가 연결되는 전자 장치를 나타낸다.
도 6은 다양한 실시 예에 따른 복수의 레귤레이터 제어핀들을 포함하는 전자 장치를 나타낸다.
도 7은 다양한 실시예에 따른 스위칭을 통한 피드백 저항값의 변경을 나타낸다.
도 8은 다양한 실시예에 따른 동일한 구동 전압으로 동작하는 복수의 카메라 모듈들을 포함하는 전자 장치를 나타낸다.
도 9는 다양한 실시예에 따른 서로 다른 전압값으로 동작하는 복수의 카메라 모듈들을 포함하는 전자 장치를 나타낸다.
도 10은 다양한 실시예에 따른 복수의 카메라 모듈들을 포함하는 전자 장치의 카메라 구동 방법을 나타내는 순서도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a block diagram illustrating a camera module, in accordance with various embodiments.
3 illustrates an electronic device including a camera module according to various embodiments.
4 is a flowchart illustrating a camera driving method according to various embodiments.
5 illustrates an electronic device in which a protection circuit is connected to a regulator control pin according to various embodiments of the present disclosure.
6 illustrates an electronic device including a plurality of regulator control pins according to various embodiments.
7 illustrates a change in a feedback resistance value through switching according to various embodiments.
8 illustrates an electronic device including a plurality of camera modules operating with the same driving voltage according to various embodiments.
9 illustrates an electronic device including a plurality of camera modules operating at different voltage values according to various embodiments.
10 is a flowchart illustrating a method of driving a camera of an electronic device including a plurality of camera modules according to various embodiments.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar elements.

이하, 본 문서의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of this document will be described with reference to the accompanying drawings. However, this is not intended to limit the technology described in this document to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of this document. . In connection with the description of the drawings, like reference numerals may be used for like elements.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user). The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor set to detect a touch or a pressure sensor set to measure the intensity of force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal or vice versa. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported. The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199). According to one embodiment, the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197 in addition to the radiator.

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2는, 다양한 실시예들에 따른, 카메라 모듈(180)을 예시하는 블록도(200)이다.2 is a block diagram 200 illustrating a camera module 180, in accordance with various embodiments.

도 2를 참조하면, 카메라 모듈 (180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서 (230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다. Referring to FIG. 2, the camera module 180 includes a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (eg, a buffer memory), or an image signal processor. (260). The lens assembly 210 may collect light emitted from a subject that is an image capturing target. The lens assembly 210 may include one or more lenses. According to one embodiment, the camera module 180 may include a plurality of lens assemblies 210 . In this case, the camera module 180 may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies 210 may have the same lens properties (eg, angle of view, focal length, auto focus, f number, or optical zoom), or at least one lens assembly may have the same lens properties as other lens assemblies. may have one or more lens properties different from the lens properties of . The lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.

플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일실시예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210)를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일실시예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.The flash 220 may emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash 220 may include one or more light emitting diodes (eg, a red-green-blue (RGB) LED, a white LED, an infrared LED, or an ultraviolet LED), or a xenon lamp. The image sensor 230 may acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly 210 into an electrical signal. According to one embodiment, the image sensor 230 is, for example, an image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, It may include a plurality of image sensors having a property, or a plurality of image sensors having other properties. Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일실시예에 따르면, 이미지 스태빌라이저(240)은 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 움직임을 감지할 수 있다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. The image stabilizer 240 moves at least one lens or image sensor 230 included in the lens assembly 210 in a specific direction in response to movement of the camera module 180 or the electronic device 101 including the same. Operation characteristics of the image sensor 230 may be controlled (eg, read-out timing is adjusted, etc.). This makes it possible to compensate at least part of the negative effect of the movement on the image being taken. According to an embodiment, the image stabilizer 240 uses a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180 to control the camera module 180 or the electronic device 101 . ) can be detected. According to one embodiment, the image stabilizer 240 may be implemented as, for example, an optical image stabilizer.

메모리(250)는 이미지 센서(230)을 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 표시 장치(160)을 통하여 프리뷰(pre-view)될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일실시예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.The memory 250 may at least temporarily store at least a portion of an image acquired through the image sensor 230 for a next image processing task. For example, when image acquisition is delayed according to the shutter, or a plurality of images are acquired at high speed, the acquired original image (eg, a bayer-patterned image or a high-resolution image) is stored in the memory 250 and , a copy image (eg, a low resolution image) corresponding thereto may be previewed through the display device 160 . Thereafter, when a specified condition is satisfied (eg, a user input or a system command), at least a part of the original image stored in the memory 250 may be obtained and processed by the image signal processor 260 , for example. According to one embodiment, the memory 250 may be configured as at least a part of the memory 130 or as a separate memory operated independently of the memory 130 .

이미지 시그널 프로세서(260)는 이미지 센서(230)을 통하여 획득된 이미지 또는 메모리(250)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(260)는 카메라 모듈(180)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(230))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(260)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(250)에 다시 저장 되거나 카메라 모듈(180)의 외부 구성 요소(예: 메모리(130), 표시 장치(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일실시예에 따르면, 이미지 시그널 프로세서(260)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(260)이 프로세서(120)과 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(260)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 표시 장치(160)를 통해 표시될 수 있다. The image signal processor 260 may perform one or more image processes on an image obtained through the image sensor 230 or an image stored in the memory 250 . The one or more image processes, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (eg, noise reduction, resolution adjustment, brightness adjustment, blurring ( blurring, sharpening, or softening. Additionally or alternatively, the image signal processor 260 may include at least one of the components included in the camera module 180 (eg, an image sensor). 230) may be controlled (eg, exposure time control, read-out timing control, etc.) The image processed by the image signal processor 260 is stored again in the memory 250 for further processing. or may be provided as an external component of the camera module 180 (eg, the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108). According to an example, the image signal processor 260 may be configured as at least a part of the processor 120 or may be configured as a separate processor that operates independently of the processor 120. The image signal processor 260 may be configured as a processor 120 When configured as a separate processor, at least one image processed by the image signal processor 260 may be displayed through the display device 160 as it is or after additional image processing by the processor 120 .

일실시예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 예를 들면, 서로 다른 화각을 갖는 렌즈(예: 렌즈 어셈블리(210))를 포함하는 카메라 모듈(180)이 복수로 구성될 수 있고, 전자 장치(101)는 사용자의 선택에 기반하여, 전자 장치(101)에서 수행되는 카메라 모듈(180)의 화각을 변경하도록 제어할 수 있다. 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다. 또한, 복수의 카메라 모듈(180)들은, 광각 카메라, 망원 카메라, 컬러 카메라, 흑백(monochrome) 카메라, 또는 IR(infrared) 카메라(예: TOF(time of flight) camera, structured light camera) 중 적어도 하나를 포함할 수 있다. 일 실시 예에 따르면, IR 카메라는 센서 모듈(예: 도 1의 센서 모듈(176))의 적어도 일부로 동작될 수 있다. 예를 들어, TOF 카메라는 피사체와의 거리를 감지하기 위한 센서 모듈(예: 도 1의 센서 모듈(176))의 적어도 일부로 동작될 수 있다.According to an embodiment, the electronic device 101 may include a plurality of camera modules 180 each having different properties or functions. For example, a plurality of camera modules 180 including lenses (eg, the lens assembly 210) having different angles of view may be configured, and the electronic device 101 may be configured based on a user's selection. The angle of view of the camera module 180 performed in step 101 may be controlled to be changed. For example, at least one of the plurality of camera modules 180 may be a wide-angle camera and at least one other may be a telephoto camera. Similarly, at least one of the plurality of camera modules 180 may be a front camera, and at least another one may be a rear camera. In addition, the plurality of camera modules 180 may include at least one of a wide-angle camera, a telephoto camera, a color camera, a monochrome camera, or an IR (infrared) camera (eg, a time of flight (TOF) camera or a structured light camera). can include According to one embodiment, the IR camera may operate as at least a part of a sensor module (eg, the sensor module 176 of FIG. 1 ). For example, the TOF camera may operate as at least a part of a sensor module (eg, the sensor module 176 of FIG. 1 ) for detecting a distance to a subject.

도 3은 다양한 실시예에 따른 카메라 모듈을 포함하는 전자 장치를 나타낸다.3 illustrates an electronic device including a camera module according to various embodiments.

도 3을 참고하면, 전자 장치(301)(예: 도 1의 전자 장치(101))은 프로세서(310), 카메라 모듈(320), 레귤레이터(330), 제1 저항(R1), 제2 저항(R2) 및 제3 저항(R3)을 포함할 수 있다. 도 3은 카메라 모듈(320)을 구동하기 위한 구성을 중심으로 도시한 것으로 이에 한정되는 것은 아니다.Referring to FIG. 3 , an electronic device 301 (eg, the electronic device 101 of FIG. 1 ) includes a processor 310, a camera module 320, a regulator 330, a first resistor R1, and a second resistor. (R2) and a third resistor (R3). FIG. 3 shows a configuration for driving the camera module 320, but is not limited thereto.

다양한 실시예에 따르면, 프로세서(310)(예: 도 1의 프로세서(120))는 전자 장치(301)의 구동에 필요한 다양한 연산을 수행하고, 전자 장치(301) 내부의 다양한 구성을 제어할 수 있다. 예를 들어, 프로세서(310)는 카메라 모듈(320) 또는 레귤레이터(330)의 제어에 필요한 연산을 수행할 수 있다. 프로세서(310)는 카메라 모듈(320) 또는 레귤레이터(330)와 다양한 정보를 송수신할 수 있다.According to various embodiments, the processor 310 (eg, the processor 120 of FIG. 1 ) may perform various operations required to drive the electronic device 301 and control various internal components of the electronic device 301. there is. For example, the processor 310 may perform an operation necessary for controlling the camera module 320 or the regulator 330 . The processor 310 may transmit and receive various information to and from the camera module 320 or the regulator 330 .

다양한 실시예에 따르면, 프로세서(310)는 부팅과 같은 지정된 조건(또는 이벤트)에 따라, 카메라 모듈(320)로부터 구동 중이거나, 구동 예정인 이미지 센서에 관한 식별 정보를 수신할 수 있다. 식별 정보는 이미지 센서의 고유한 이름이거나, 이미지 센서 마다 할당된 코드값일 수 있다. According to various embodiments, the processor 310 may receive identification information about an image sensor that is being driven or is scheduled to be driven from the camera module 320 according to a specified condition (or event) such as booting. The identification information may be a unique name of an image sensor or a code value assigned to each image sensor.

프로세서(310)는 카메라 모듈(320)의 저장 소자(321)와 통신 채널(311)을 형성할 수 있다. 통신 채널(311)은 지정된 통신 방식(예: I2C(inter-integrated circuit), I3C(improved inter-integrated circuit), 또는 SPI(serial peripheral interface))에 의해 신호를 송수신할 수 있다. 프로세서(310)는 카메라 모듈(320)로부터 구동 중이거나, 구동 예정인 이미지 센서에 대한 식별 정보를 수신하고, 수신한 식별 정보에 대응하는 전압값이 레귤레이터(330)의 출력단(335)을 통해 출력되도록 할 수 있다.The processor 310 may form a communication channel 311 with the storage element 321 of the camera module 320 . The communication channel 311 may transmit and receive signals through a designated communication method (eg, inter-integrated circuit (I2C), improved inter-integrated circuit (I3C), or serial peripheral interface (SPI)). The processor 310 receives identification information about an image sensor that is being driven or is scheduled to be driven from the camera module 320, and outputs a voltage value corresponding to the received identification information through the output terminal 335 of the regulator 330. can do.

다양한 실시예에 따르면, 프로세서(310)는 레귤레이터 제어핀(PWR_SEL)(315)을 포함할 수 있다. 레귤레이터 제어핀(315)은 제3 저항(353)을 통해, 레귤레이터(330)의 상태 확인핀(333)에 연결될 수 있다. 프로세서(310)는 카메라 모듈(320)로부터 수신한 이미지 센서의 식별 정보에 대응하여, 레귤레이터 제어핀(315)의 상태를 변경할 수 있다. According to various embodiments, the processor 310 may include a regulator control pin (PWR_SEL) 315 . The regulator control pin 315 may be connected to the state checking pin 333 of the regulator 330 through a third resistor 353 . The processor 310 may change the state of the regulator control pin 315 in response to identification information of the image sensor received from the camera module 320 .

예를 들어, 카메라 모듈(320)로부터 수신한 이미지 센서의 식별 정보가 제1 코드값인 경우, 프로세서(310)는 레귤레이터 제어핀(315)을 제1 상태(예: 오픈 상태)로 설정할 수 있다. 다른 예를 들어. 카메라 모듈(320)로부터 수신한 이미지 센서의 식별 정보가 제2 코드값인 경우, 레귤레이터 제어핀(315)을 제2 상태(예: 접지 상태)로 설정할 수 있다.For example, when the identification information of the image sensor received from the camera module 320 is a first code value, the processor 310 may set the regulator control pin 315 to a first state (eg, an open state). . Another example. When the identification information of the image sensor received from the camera module 320 is the second code value, the regulator control pin 315 may be set to a second state (eg, a ground state).

일 실시예에 따르면, 레귤레이터 제어핀(315)은 GPIO(Gernel Purpose I/O)에 의한 통신을 지원할 수 있다.According to one embodiment, the regulator control pin 315 may support communication by GPIO (Gernel Purpose I/O).

다양한 실시예에 따르면, 프로세서(310)는 레귤레이터 활성화 핀(또는 카메라 모듈 활성화 핀)(CAM_EN)(318)을 포함할 수 있다. 레귤레이터 활성화 핀(318)은 레귤레이터(330)의 활성화 핀(EN)(332)에 연결될 수 있다. 예를 들어, 레귤레이터 활성화 핀(318)이 제1 값인 경우, 레귤레이터(330)의 출력단(335)이 지정된 전압값들 중 하나를 출력할 수 있다. 레귤레이터 활성화 핀(318)이 제2 값인 경우, 레귤레이터(330)의 출력이 제한될 수 있다.According to various embodiments, the processor 310 may include a regulator enable pin (or camera module enable pin) (CAM_EN) 318 . Regulator enable pin 318 may be coupled to enable pin (EN) 332 of regulator 330 . For example, when the regulator enable pin 318 has a first value, the output terminal 335 of the regulator 330 may output one of designated voltage values. When the regulator enable pin 318 is at the second value, the output of the regulator 330 may be limited.

일 실시예에 따르면, 레귤레이터 활성화 핀(318)은 GPIO(Gernel Purpose I/O) 의한 통신을 지원할 수 있다.According to one embodiment, the regulator enable pin 318 may support communication by GPIO (Gernel Purpose I/O).

카메라 모듈(320)(예: 도 1 또는 도 2의 카메라 모듈(180))은 이미지 데이터를 획득할 수 있다. 예를 들어, 카메라 모듈(320)은 렌즈 어셈블리(예: 도 2의 렌즈 어셈블리(210)), 플래쉬(예: 도 2의 플래쉬(220)), 복수의 이미지 센서들(예: 도 2의 이미지 센서(230)), 이미지 스태빌라이저(예: 도 2의 이미지 스태빌라이저(240)), 저장 소자(321)(예: 도 2의 메모리(250)), 또는 이미지 시그널 프로세서(예: 도 2의 이미지 시그널 프로세서(260))와 같은 구성을 포함할 수 있다. 일 실시예에 따르면, 카메라 모듈(320)은 서로 다른 전압값(또는 전력)으로 구동되는 복수의 이미지 센서들(미도시)을 포함할 수 있다. The camera module 320 (eg, the camera module 180 of FIG. 1 or 2) may acquire image data. For example, the camera module 320 may include a lens assembly (eg, the lens assembly 210 of FIG. 2 ), a flash (eg, the flash 220 of FIG. 2 ), and a plurality of image sensors (eg, the image of FIG. 2 ). sensor 230), an image stabilizer (eg, image stabilizer 240 in FIG. 2), a storage element 321 (eg, memory 250 in FIG. 2), or an image signal processor (eg, image signal processor in FIG. 2). The processor 260) may include the same configuration. According to an embodiment, the camera module 320 may include a plurality of image sensors (not shown) driven by different voltage values (or power).

다양한 실시예에 따르면, 카메라 모듈(320)은 저장 소자(또는 저장부)(321)(예: EEPROM(electrically erasable programmable read-only memory))를 포함할 수 있다. 카메라 모듈(320)은 구동 중이거나, 구동 예정인 이미지 센서에 대응하는 식별 정보를 저장 소자(321)에 저장할 수 있다. 예를 들어, 카메라 모듈(320)은 부팅, 줌 배율 변경, 촬영 모드 변경과 같은 이벤트에 따라 대응하는 이미지 센서의 식별 정보를 저장 소자(321)에 저장할 수 있다.According to various embodiments, the camera module 320 may include a storage element (or storage unit) 321 (eg, electrically erasable programmable read-only memory (EEPROM)). The camera module 320 may store identification information corresponding to an image sensor that is being driven or is to be driven in the storage element 321 . For example, the camera module 320 may store identification information of a corresponding image sensor in the storage element 321 according to events such as booting, changing zoom magnification, and changing a photographing mode.

카메라 모듈(320)은 저장 소자(321)에 저장된 식별 정보를 통신 채널(311)을 통해 프로세서(310)에 전달할 수 있다. 예를 들어, 카메라 모듈(320)은 I2C 통신을 통해 식별 정보를 프로세서(310)에 전달할 수 있다.The camera module 320 may transfer the identification information stored in the storage element 321 to the processor 310 through the communication channel 311 . For example, the camera module 320 may transmit identification information to the processor 310 through I2C communication.

카메라 모듈(320)는 레귤레이터(330)에서 제공되는 전력에 의해 적어도 하나의 이미지 센서를 구동할 수 있다. 카메라 모듈(320)의 전원핀(DVDD)(325)은, 레귤레이터(330)의 출력단(335)에 연결될 수 있다. 레귤레이터(330)의 출력단(335)을 통해 프로세서(310)에 전달된 식별 정보에 대응하는 전압이 인가될 수 있다. 카메라 모듈(320)은 레귤레이터(330)의 출력단(335)에 인가되는 복수의 전압값 중 하나에 의해 구동될 수 있다.The camera module 320 may drive at least one image sensor by power provided from the regulator 330 . The power supply pin (DVDD) 325 of the camera module 320 may be connected to the output terminal 335 of the regulator 330 . A voltage corresponding to the identification information transmitted to the processor 310 through the output terminal 335 of the regulator 330 may be applied. The camera module 320 may be driven by one of a plurality of voltage values applied to the output terminal 335 of the regulator 330 .

레귤레이터(330)는 카메라 모듈(320)의 구동에 필요한 전력을 공급할 수 있다. 레귤레이터(330)는 입력단(IN)(331)을 통해 전력 관리 모듈(예: 도 1의 전력 관리 모듈(188)로부터 전력을 공급받아, 출력단(OUT)(335)를 통해 복수의 전압값들 중 하나를 출력할 수 있다. 예를 들어, 레귤레이터(330)는 LDO(Low Dropout Regulator)일 수 있다.The regulator 330 may supply power necessary for driving the camera module 320 . The regulator 330 receives power from a power management module (e.g., the power management module 188 of FIG. 1) through an input terminal (IN) 331, and receives power from a plurality of voltage values through an output terminal (OUT) 335. One may be output, for example, the regulator 330 may be a low dropout regulator (LDO).

다양한 실시예에 따르면, 레귤레이터(330)의 출력단(335)의 전압값은 상태 확인핀(또는 조절핀, 피드백핀)(ADJ)(333)에 연결된 저항의 조합에 의해 조절될 수 있다. 레귤레이터(330)의 상태 확인핀(333)은 제3 저항(R3)을 통해 프로세서(310)의 레귤레이터 제어핀(315)에 연결될 수 있다. 프로세서(310)의 레귤레이터 제어핀(315)의 상태가 변경되는 경우, 레귤레이터(330)의 상태 확인핀(333)에 연결되는 저항의 조합(이하, 피드백 저항값)이 변경될 수 있다. According to various embodiments, the voltage value of the output terminal 335 of the regulator 330 may be adjusted by a combination of resistors connected to the status check pin (or control pin, feedback pin) (ADJ) 333. The state checking pin 333 of the regulator 330 may be connected to the regulator control pin 315 of the processor 310 through a third resistor R3. When the state of the regulator control pin 315 of the processor 310 is changed, a combination of resistors (hereinafter referred to as feedback resistor values) connected to the state check pin 333 of the regulator 330 may be changed.

예를 들어, 레귤레이터 제어핀(315)이 제1 상태(예: 오픈 상태)인 경우, 피드백 저항값은 제1 저항(R1) 및 제2 저항(R2)의 조합에 의해 결정되고, 제3 저항(R3)에 의해 영향을 받지 않을 수 있다. 이 경우, 레귤레이터(330)의 출력단(335)은 제1 전압값일 수 있다.For example, when the regulator control pin 315 is in a first state (eg, an open state), the feedback resistance value is determined by a combination of the first resistor R1 and the second resistor R2, and the third resistor may not be affected by (R3). In this case, the output terminal 335 of the regulator 330 may be the first voltage value.

다른 예를 들어, 레귤레이터 제어핀(315)이 제2 상태(예: 접지 상태)인 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2) 및 제3 저항(R3) 모두의 조합에 의해 결정될 수 있다. 이 경우, 레귤레이터(330)의 출력단(335)은 제2 전압값일 수 있다.For another example, when the regulator control pin 315 is in the second state (eg, a ground state), the feedback resistance value is a value of all of the first resistor R1, the second resistor R2, and the third resistor R3. can be determined by combination. In this case, the output terminal 335 of the regulator 330 may be the second voltage value.

제1 저항(R1)은, 레귤레이터(330)의 출력단(335)과 상태 확인핀(333) 사이에 연결될 수 있다. 제2 저항(R2)은 레귤레이터(330)의 상태 확인핀(333)과 접지 사이에 연결될 수 있다. 제3 저항(R3)은 레귤레이터(330)의 상태 확인핀(333)과 프로세서(120)의 레귤레이터 제어핀(315) 사이에 연결될 수 있다.The first resistor R1 may be connected between the output terminal 335 of the regulator 330 and the status check pin 333. The second resistor R2 may be connected between the state check pin 333 of the regulator 330 and the ground. The third resistor R3 may be connected between the state check pin 333 of the regulator 330 and the regulator control pin 315 of the processor 120 .

다양한 실시예에 따르면, 프로세서(120)의 레귤레이터 제어핀(315)의 상태에 따라 레귤레이터(330)의 상태 확인핀(333)에 연결되는 저항의 조합이 달라질 수 있다. According to various embodiments, a combination of resistors connected to the state check pin 333 of the regulator 330 may vary according to the state of the regulator control pin 315 of the processor 120 .

예를 들어, 레귤레이터 제어핀(315)이 제1 상태(예: 오픈 상태)인 경우, 피드백 저항값은 제1 저항(R1) 및 제2 저항(R2)의 조합에 의해 결정되고, 제3 저항(R3)에 의해 영향을 받지 않을 수 있다. 다른 예를 들어, 레귤레이터 제어핀(315)이 제2 상태(예: 접지 상태)인 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2) 및 제3 저항(R3) 모두의 조합에 의해 결정될 수 있다.For example, when the regulator control pin 315 is in a first state (eg, an open state), the feedback resistance value is determined by a combination of the first resistor R1 and the second resistor R2, and the third resistor may not be affected by (R3). For another example, when the regulator control pin 315 is in the second state (eg, a ground state), the feedback resistance value is a value of all of the first resistor R1, the second resistor R2, and the third resistor R3. can be determined by combination.

도 4는 다양한 실시예에 따른 카메라 구동 방법을 나타내는 순서도이다.4 is a flowchart illustrating a camera driving method according to various embodiments.

도 3 및 4를 참조하면, 동작 410에서, 프로세서(310)는 카메라 모듈(320)로부터 구동 중이거나, 구동 예정인 이미지 센서의 식별 정보를 수신할 수 있다. 이미지 센서의 식별 정보는 카메라 모듈(320)의 저장 소자(321)에 저장된 정보일 수 있다. 프로세서(310)는 지정된 통신 방식(예: I2C)의 통신을 통해 식별 정보를 수신할 수 있다. 식별 정보는 이미지 센서의 고유한 이름이거나, 이미지 센서 마다 할당된 코드값일 수 있다.Referring to FIGS. 3 and 4 , in operation 410 , the processor 310 may receive identification information of an image sensor being driven or scheduled to be driven from the camera module 320 . Identification information of the image sensor may be information stored in the storage element 321 of the camera module 320 . The processor 310 may receive identification information through communication of a designated communication method (eg, I2C). The identification information may be a unique name of an image sensor or a code value assigned to each image sensor.

예를 들어, 카메라 모듈(320)은 제1 이미지 센서 및 제2 이미지 센서를 포함하고, 제1 이미지 센서 및 제2 이미지 센서가 각각 제1 전압값(예: 1.05V) 및 제2 전압값(예: 1.206V)으로 동작할 수 있다. 카메라 모듈(320)에서 제1 이미지 센서가 구동 예정인 경우, 저장 소자(321)는 제1 이미지 센서에 대응하는 제1 코드값을 저장할 수 있다. 이 경우, 프로세서(310)는 제1 코드값을 수신할 수 있다. 카메라 모듈(320)에서 제2 이미지 센서가 구동 예정인 경우, 저장 소자(321)는 제2 이미지 센서에 대응하는 제2 코드값을 저장할 수 있다. 이 경우, 프로세서(310)는 제2 코드값을 수신할 수 있다.For example, the camera module 320 includes a first image sensor and a second image sensor, and the first image sensor and the second image sensor have a first voltage value (eg, 1.05V) and a second voltage value ( Example: 1.206V). When the first image sensor in the camera module 320 is scheduled to be driven, the storage element 321 may store a first code value corresponding to the first image sensor. In this case, the processor 310 may receive the first code value. When the second image sensor in the camera module 320 is scheduled to be driven, the storage element 321 may store a second code value corresponding to the second image sensor. In this case, the processor 310 may receive the second code value.

다양한 실시예에 따르면, 프로세서(310)는 지정된 조건이 만족되는 경우, 카메라 모듈(320)의 저장 소자(321)에 저장된 식별 정보를 수신할 수 있다. 예를 들어, 상기 조건은 전자 장치(301)가 부팅되거나 슬립 상태가 해제되는 조건일 수 있다.According to various embodiments, the processor 310 may receive identification information stored in the storage element 321 of the camera module 320 when a specified condition is satisfied. For example, the condition may be a condition in which the electronic device 301 is booted or the sleep state is released.

동작 420에서, 프로세서(310)는 레귤레이터 제어핀(315)을 카메라 모듈(320)으로부터 수신한 식별 정보에 대응하는 상태로 설정할 수 있다. In operation 420 , the processor 310 may set the regulator control pin 315 to a state corresponding to the identification information received from the camera module 320 .

예를 들어, 카메라 모듈(320)로부터 수신한 이미지 센서의 식별 정보가 제1 코드값인 경우, 프로세서(310)는 레귤레이터 제어핀(315)을 제1 상태(예: 오픈 상태)로 설정할 수 있다. 다른 예를 들어. 카메라 모듈(320)로부터 수신한 이미지 센서의 식별 정보가 제2 코드값인 경우, 레귤레이터 제어핀(315)을 제2 상태(예: 접지 상태)로 설정할 수 있다.For example, when the identification information of the image sensor received from the camera module 320 is a first code value, the processor 310 may set the regulator control pin 315 to a first state (eg, an open state). . Another example. When the identification information of the image sensor received from the camera module 320 is the second code value, the regulator control pin 315 may be set to a second state (eg, a ground state).

동작 430에서, 프로세서(310)는 카메라 어플리케이션이 실행되는지를 확인할 수 있다. 카메라 어플리케이션은 카메라 모듈(320)을 통해 이미지 데이터를 획득하고, 촬영된 이미지를 저장하는 어플리케이션일 수 있다.In operation 430, the processor 310 may check whether the camera application is running. The camera application may be an application that obtains image data through the camera module 320 and stores a captured image.

동작 440에서, 카메라 어플리케이션이 실행되는 경우, 프로세서(310)는 레귤레이터(330)을 활성화할 수 있다. 예를 들어, 프로세서(310)는 레귤레이터 활성화 핀(318)의 상태를 변경하여, 레귤레이터(330)가 지정된 전압값들 중 하나를 출력하도록 할 수 있다.In operation 440, when the camera application is executed, the processor 310 may activate the regulator 330. For example, processor 310 may change the state of regulator enable pin 318 to cause regulator 330 to output one of the specified voltage values.

동작 450에서, 프로세서(310)는 레귤레이터 제어핀(315)의 상태에 대응하는 전압으로 카메라 모듈(320)을 구동할 수 있다. 카메라 모듈(320)은 레귤레이터(330)의 출력단(335)에 인가되는 전압값에 의해 구동될 수 있다. 레귤레이터(330)의 출력단(335)의 전압값은, 프로세서(310)의 레귤레이터 제어핀(315)의 상태에 따라 달라질 수 있다. 레귤레이터 제어핀(315)의 상태가 변경되는 경우, 상태 확인핀(333)에 연결된 저항의 조합(피드백 저항값)이 변경될 수 있고, 레귤레이터(330)의 출력단(335)의 전압값이 변경될 수 있다.In operation 450, the processor 310 may drive the camera module 320 with a voltage corresponding to the state of the regulator control pin 315. The camera module 320 may be driven by a voltage value applied to the output terminal 335 of the regulator 330 . The voltage value of the output terminal 335 of the regulator 330 may vary according to the state of the regulator control pin 315 of the processor 310 . When the state of the regulator control pin 315 is changed, the combination of resistors (feedback resistance value) connected to the state check pin 333 may change, and the voltage value of the output terminal 335 of the regulator 330 may change. can

예를 들어, 레귤레이터 제어핀(315)이 제1 상태(예: 오픈 상태)인 경우, 피드백 저항값은 제1 저항(R1) 및 제2 저항(R2)의 조합에 의해 결정될 수 있고, 피드백 저항값은 제3 저항(R3)에 의해 영향을 받지 않을 수 있다. 피드백 저항값은 R1/R2 로 결정될 수 있고, 레귤레이터(330)의 출력단(335)은 제1 전압값일 수 있다.For example, when the regulator control pin 315 is in a first state (eg, an open state), the feedback resistance value may be determined by a combination of the first resistor R1 and the second resistor R2, and the feedback resistor The value may not be affected by the third resistor R3. The feedback resistance value may be determined by R1/R2, and the output terminal 335 of the regulator 330 may be the first voltage value.

다른 예를 들어, 레귤레이터 제어핀(315)이 제2 상태(예: 접지 상태)인 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2) 및 제3 저항(R3) 모두의 조합에 의해 결정될 수 있다. 제2 저항(R2) 및 제3 저항(R3)은 병렬 연결 상태일 수 있고, 피드백 저항값은 R1/((R2*R3)/(R2+R3))으로 결정될 수 있다. 이 경우, 레귤레이터(330)의 출력단(335)은 제2 전압값일 수 있다.For another example, when the regulator control pin 315 is in the second state (eg, a ground state), the feedback resistance value is a value of all of the first resistor R1, the second resistor R2, and the third resistor R3. can be determined by combination. The second resistor R2 and the third resistor R3 may be connected in parallel, and the feedback resistance value may be determined as R1/((R2*R3)/(R2+R3)). In this case, the output terminal 335 of the regulator 330 may be the second voltage value.

일 실시예에 따르면, 레귤레이터(330)의 출력단(335)의 전압(Vout)은 하기의 [수학식]으로 결정될 수 있다.According to an embodiment, the voltage Vout of the output terminal 335 of the regulator 330 may be determined by the following [Equation Equation].

[수학식][mathematical expression]

Vout = Vref + (1+ Rp)Vout = Vref + (1+ Rp)

Vout: 레귤레이터(330)의 출력단(335)의 전압Vout: voltage of the output terminal 335 of the regulator 330

Vref: 레귤레이터(330)의 기준 전압Vref: reference voltage of regulator 330

Rp: 피드백 저항값Rp: feedback resistance value

예를 들어, 레귤레이터(330)의 기준 전압(Vref)= 0.4(V), 제1 저항(R1)= 3.9(kΩ), 제2 저항(R2)= 2.4(kΩ), 제3 저항(R3)= 10.0(kΩ)이고, 레귤레이터 제어핀(315)이 제1 상태(예: 오픈 상태)인 경우, 레귤레이터(330)의 출력단(335)은 1.05(V)일 수 있다.For example, the reference voltage (Vref) of the regulator 330 = 0.4 (V), the first resistance (R1) = 3.9 (kΩ), the second resistance (R2) = 2.4 (kΩ), the third resistance (R3) = 10.0 (kΩ), and when the regulator control pin 315 is in the first state (eg, open state), the output terminal 335 of the regulator 330 may be 1.05 (V).

다른 예를 들어, 레귤레이터(330)의 기준 전압(Vref)= 0.4(V), 제1 저항(R1)= 3.9(kΩ), 제2 저항(R2)= 2.4(kΩ), 제3 저항(R3)= 10.0(kΩ)이고, 레귤레이터 제어핀(315)이 제2 상태(예: 접지 상태)인 경우, 레귤레이터(330)의 출력단(335)은 1.206(V)일 수 있다.For another example, the reference voltage (Vref) of the regulator 330 = 0.4 (V), the first resistance (R1) = 3.9 (kΩ), the second resistance (R2) = 2.4 (kΩ), the third resistance (R3) ) = 10.0 (kΩ), and when the regulator control pin 315 is in the second state (eg, a ground state), the output terminal 335 of the regulator 330 may be 1.206 (V).

다양한 실시예에 따르면, 레귤레이터(330)의 기준 전압(Vref)은 레귤레이터(330)의 칩 특성에 따라 달라질 수 있다.According to various embodiments, the reference voltage Vref of the regulator 330 may vary according to characteristics of a chip of the regulator 330 .

다양한 실시예에 따르면, 프로세서(310)는 카메라 모듈(320)로부터 구동 중이거나, 구동 예정인 이미지 센서의 펌웨어 정보를 수신할 수 있다. 프로세서(310)는 레귤레이터 제어핀(315)을 카메라 모듈(320)으로부터 수신한 펌웨어에 대응하는 상태로 설정할 수 있다. 프로세서(310)는 레귤레이터 제어핀(315)의 상태에 대응하는 전압으로 카메라 모듈(320)을 구동할 수 있다.According to various embodiments, the processor 310 may receive firmware information of an image sensor being driven or scheduled to be driven from the camera module 320 . The processor 310 may set the regulator control pin 315 to a state corresponding to the firmware received from the camera module 320 . The processor 310 may drive the camera module 320 with a voltage corresponding to the state of the regulator control pin 315 .

도 5은 다양한 실시 예에 따른 레귤레이터 제어핀에 보호 회로가 연결되는 전자 장치를 나타낸다. 5 illustrates an electronic device in which a protection circuit is connected to a regulator control pin according to various embodiments of the present disclosure.

도 5를 참조하면, 전자 장치(501)은, 도 3의 전자 장치(301)과 달리, 보호 회로(510)을 더 포함할 수 있다. 보호 회로(510)는 전원 유기 및 누설 전류(leakage current), 외부 ESD(electrostatic discharge)로부터 프로세서(310)의 레귤레이터 제어핀(315)을 보호할 수 있다.Referring to FIG. 5 , unlike the electronic device 301 of FIG. 3 , the electronic device 501 may further include a protection circuit 510 . The protection circuit 510 may protect the regulator control pin 315 of the processor 310 from power induction, leakage current, and external electrostatic discharge (ESD).

전자 장치(501)에서, 보호 회로(510)는 제3 저항(R3)의 양단에 연결된 스위치(예: FET)일 수 있다. 보호 회로(510)는 프로세서(310)의 레귤레이터 제어핀(315)에 의해 제어될 수 있다. In the electronic device 501, the protection circuit 510 may be a switch (eg, FET) connected to both ends of the third resistor R3. The protection circuit 510 may be controlled by the regulator control pin 315 of the processor 310 .

보호 회로(510)가 턴온되는 경우, 피드백 저항값은 제1 저항(R1) 및 제2 저항(R2)의 조합에 의해 결정되고, 제3 저항(R30)에 의해 영향을 받지 않을 수 있다(Rp=R1/R2)When the protection circuit 510 is turned on, the feedback resistance value is determined by a combination of the first resistor R1 and the second resistor R2 and may not be affected by the third resistor R30 (Rp =R1/R2)

보호 회로(510)가 턴오프되는 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2) 및 제3 저항(R3) 모두의 조합에 의해 결정될 수 있다(Rp= R1/(R2+R3))When the protection circuit 510 is turned off, the feedback resistance value may be determined by a combination of all of the first resistor R1, the second resistor R2, and the third resistor R3 (Rp = R1/(R2 +R3))

도 6은 다양한 실시 예에 따른 복수의 레귤레이터 제어핀들을 포함하는 전자 장치를 나타낸다. 6 illustrates an electronic device including a plurality of regulator control pins according to various embodiments.

도 6을 참조하면, 전자 장치(601)는, 도 3의 전자 장치(301)과 달리, 복수의 레귤레이터 제어핀들(315_1, 315_2)을 포함할 수 있다. 예를 들어, 프로세서(310)는 제1 레귤레이터 제어핀(315_1) 및 제2 레귤레이터 제어핀(315_2)을 포함할 수 있다. Referring to FIG. 6 , unlike the electronic device 301 of FIG. 3 , the electronic device 601 may include a plurality of regulator control pins 315_1 and 315_2 . For example, the processor 310 may include a first regulator control pin 315_1 and a second regulator control pin 315_2.

제1 레귤레이터 제어핀(315_1)은 제3 저항(R3)를 통해 레귤레이터(330)의 상태 확인핀(333)에 연결될 수 있다. 제2 레귤레이터 제어핀(315_2)은 제4 저항(R4)를 통해 레귤레이터(330)의 상태 확인핀(333)에 연결될 수 있다.The first regulator control pin 315_1 may be connected to the state checking pin 333 of the regulator 330 through the third resistor R3. The second regulator control pin 315_2 may be connected to the state checking pin 333 of the regulator 330 through the fourth resistor R4.

제1 레귤레이터 제어핀(315_1) 및 제2 레귤레이터 제어핀(315_2)의 상태 변경에 따라 피드백 저항값이 달라질 수 있다. 예를 들어, 제1 레귤레이터 제어핀(315_1)이 접지 상태이고, 제2 레귤레이터 제어핀(315_2)이 오픈 상태인 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2) 및 제3 저항(R30)의 조합에 의해 결정되고, 제4 저항(R4)에 의해 영향을 받지 않을 수 있다(Rp=R1/(R2||R3)). 다른 예를 들어, 제1 레귤레이터 제어핀(315_1)이 오픈 상태이고, 제2 레귤레이터 제어핀(315_2)이 접지 상태인 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2) 및 제4 저항(R4)의 조합에 의해 결정되고, 제3 저항(R3)에 의해 영향을 받지 않을 수 있다(Rp=R1/(R2||R4)).The feedback resistance value may vary according to the state change of the first regulator control pin 315_1 and the second regulator control pin 315_2. For example, when the first regulator control pin 315_1 is in a ground state and the second regulator control pin 315_2 is in an open state, the feedback resistance values are the first resistor R1, the second resistor R2 and the second resistor R2. It is determined by the combination of the three resistors R30 and may not be affected by the fourth resistor R4 (Rp=R1/(R2||R3)). For another example, when the first regulator control pin 315_1 is in an open state and the second regulator control pin 315_2 is in a ground state, the feedback resistance values are the first resistor R1, the second resistor R2 and It is determined by the combination of the fourth resistor R4 and may not be affected by the third resistor R3 (Rp=R1/(R2||R4)).

도 7은 다양한 실시예에 따른 스위칭을 통한 피드백 저항값의 변경을 나타낸다.7 illustrates a change in a feedback resistance value through switching according to various embodiments.

도 7을 참조하면, 전자 장치(701)는, 도 3의 전자 장치(301)과 달리, 레귤레이터 제어핀(315)이 스위치(710)를 제어하여, 레귤레이터(330)의 상태 확인핀(333)에 연결되는 피드백 저항값을 변경할 수 있다. Referring to FIG. 7 , the electronic device 701, unlike the electronic device 301 of FIG. You can change the value of the feedback resistor connected to .

레귤레이터 제어핀(315)의 제어에 의해 스위치(710)가 제2 저항(R2)을 레귤레이터(330)의 상태 확인핀(333)에 연결하는 경우, 피드백 저항값은 제1 저항(R1), 제2 저항(R2)의 조합에 의해 결정되고, 제3 저항(R3)에 의해 영향을 받지 않을 수 있다(Rp=R1/R2).When the switch 710 connects the second resistor R2 to the state check pin 333 of the regulator 330 under the control of the regulator control pin 315, the feedback resistance value is the first resistor R1, It is determined by the combination of the two resistors R2 and may not be affected by the third resistor R3 (Rp=R1/R2).

레귤레이터 제어핀(315)의 제어에 의해 스위치(710)가 제3 저항(R3)을 레귤레이터(330)의 상태 확인핀(333)에 연결하는 경우, 피드백 저항값은 제1 저항(R1), 제3 저항(R3)의 조합에 의해 결정되고, 제2 저항(R2)에 의해 영향을 받지 않을 수 있다(Rp=R1/R3).When the switch 710 connects the third resistor R3 to the state checking pin 333 of the regulator 330 under the control of the regulator control pin 315, the feedback resistance value is the first resistor R1, It is determined by the combination of the three resistors R3 and may not be affected by the second resistor R2 (Rp=R1/R3).

도 8은 다양한 실시예에 따른 동일한 구동 전압으로 동작하는 복수의 카메라 모듈들을 포함하는 전자 장치를 나타낸다. 8 illustrates an electronic device including a plurality of camera modules operating with the same driving voltage according to various embodiments.

도 8을 참조하면, 전자 장치(801)는, 도 3의 전자 장치(301)과 달리, 제1 카메라 모듈(320a) 및 제2 카메라 모듈(320b)을 포함할 수 있다. 제1 카메라 모듈(320a) 및 제2 카메라 모듈(320b)은 각각 레귤레이터(330)에서 공급되는 동일한 전압값에 의해 구동될 수 있다. 제1 카메라 모듈(320a)의 전원핀(325a) 및 제2 카메라 모듈(320b)의 전원핀(325b)는 각각 레귤레이터(330)의 출력단(335)에 연결될 수 있다.Referring to FIG. 8 , an electronic device 801, unlike the electronic device 301 of FIG. 3 , may include a first camera module 320a and a second camera module 320b. The first camera module 320a and the second camera module 320b may be driven by the same voltage value supplied from the regulator 330 . The power pin 325a of the first camera module 320a and the power pin 325b of the second camera module 320b may be respectively connected to the output terminal 335 of the regulator 330 .

제1 카메라 모듈(320a)은 제1 저장 소자(321a)를 포함할 수 있다. 프로세서(310)는 제1 통신 채널(311a)를 통해 제1 저장 소자(321a)에 저장된 식별 정보를 획득할 수 있다. 제2 카메라 모듈(320b)은 제2 저장 소자(321b)를 포함할 수 있다. 프로세서(310)는 제2 통신 채널(311b)를 통해 제2 저장 소자(321b)에 저장된 식별 정보를 획득할 수 있다. The first camera module 320a may include a first storage element 321a. The processor 310 may obtain identification information stored in the first storage element 321a through the first communication channel 311a. The second camera module 320b may include a second storage element 321b. The processor 310 may obtain the identification information stored in the second storage element 321b through the second communication channel 311b.

다양한 실시예에 따르면, 프로세서(310)는 제1 카메라 모듈(320a) 또는 제2 카메라 모듈(320b) 중 하나로부터 이미지 센서의 식별 정보를 수신하는 경우, 수신한 식별 정보에 대응하도록 레귤레이터 제어핀(315)의 상태를 변경할 수 있다. 이에 따라, 레귤레이터(330)의 출력단(335)의 전압값이 변경될 수 있고, 제1 카메라 모듈(320a) 및 제2 카메라 모듈(320b)가 동일한 전압값에 의해 구동될 수 있다.According to various embodiments, when receiving identification information of an image sensor from one of the first camera module 320a or the second camera module 320b, the processor 310 controls the regulator control pin ( 315) can change the state. Accordingly, the voltage value of the output terminal 335 of the regulator 330 may be changed, and the first camera module 320a and the second camera module 320b may be driven by the same voltage value.

도 9는 다양한 실시예에 따른 서로 다른 전압값으로 동작하는 복수의 카메라 모듈들을 포함하는 전자 장치를 나타낸다. 9 illustrates an electronic device including a plurality of camera modules operating at different voltage values according to various embodiments.

도 9를 참조하면, 전자 장치(901)는, 도 8의 전자 장치(801)과 달리, 제1 카메라 모듈(320a) 및 제2 카메라 모듈(320b)은 서로 다른 전압값으로 동작할 수 있다. 전자 장치(901)는 카메라 모듈의 선택을 위한 스위치(910)을 포함할 수 있다. 프로세서(310)는 카메라 선택핀(313)을 포함할 수 있고, 카메라 선택핀(313)은 스위치(910)을 제어할 수 있다.Referring to FIG. 9 , unlike the electronic device 801 of FIG. 8 , in the electronic device 901 , the first camera module 320a and the second camera module 320b may operate at different voltage values. The electronic device 901 may include a switch 910 for selecting a camera module. The processor 310 may include a camera selection pin 313 , and the camera selection pin 313 may control the switch 910 .

제1 카메라 모듈(320a)의 전원핀(325a) 및 제2 카메라 모듈(320b)의 전원핀(325b)는 각각 스위치(910)을 통해 레귤레이터(330)의 출력단(335)에 연결될 수 있다.The power pin 325a of the first camera module 320a and the power pin 325b of the second camera module 320b may be connected to the output terminal 335 of the regulator 330 through the switch 910, respectively.

예를 들어, 프로세서(310)가 제1 카메라 모듈(320a)로부터 이미지 센서의 식별 정보를 수신하는 경우, 수신한 식별 정보에 대응하도록 레귤레이터 제어핀(315)의 상태를 변경할 수 있다. 프로세서(310)는 카메라 선택핀(313)의 상태를 변경하여, 스위치(910)가 제1 카메라 모듈(320a)의 전원핀(325a)과 레귤레이터(330)의 출력단(335)을 연결하도록 할 수 있다. 이 경우, 제2 카메라 모듈(320b)은 레귤레이터(330)의 출력단(335)에 연결되지 않을 수 있다. For example, when the processor 310 receives identification information of the image sensor from the first camera module 320a, the state of the regulator control pin 315 may be changed to correspond to the received identification information. The processor 310 may change the state of the camera select pin 313 so that the switch 910 connects the power pin 325a of the first camera module 320a and the output terminal 335 of the regulator 330. there is. In this case, the second camera module 320b may not be connected to the output terminal 335 of the regulator 330.

다른 예를 들어, 프로세서(310)가 제2 카메라 모듈(320b)로부터 이미지 센서의 식별 정보를 수신하는 경우, 수신한 식별 정보에 대응하도록 레귤레이터 제어핀(315)의 상태를 변경할 수 있다. 프로세서(310)는 카메라 선택핀(313)의 상태를 변경하여, 스위치(910)가 제2 카메라 모듈(320b)의 전원핀(325b)과 레귤레이터(330)의 출력단(335)을 연결하도록 할 수 있다. 이 경우, 제1 카메라 모듈(320a)은 레귤레이터(330)의 출력단(335)에 연결되지 않을 수 있다. For another example, when the processor 310 receives identification information of the image sensor from the second camera module 320b, the state of the regulator control pin 315 may be changed to correspond to the received identification information. The processor 310 may change the state of the camera selection pin 313 so that the switch 910 connects the power pin 325b of the second camera module 320b and the output terminal 335 of the regulator 330. there is. In this case, the first camera module 320a may not be connected to the output terminal 335 of the regulator 330 .

도 10은 다양한 실시예에 따른 복수의 카메라 모듈들을 포함하는 전자 장치의 카메라 구동 방법을 나타내는 순서도이다.10 is a flowchart illustrating a method of driving a camera of an electronic device including a plurality of camera modules according to various embodiments.

도 10을 참조하면, 동작 1010에서, 프로세서(310)는 복수의 카메라 모듈들(320a, 320b) 중 적어도 하나로부터 구동 중이거나, 구동 예정인 이미지 센서의 식별 정보를 수신할 수 있다. 이미지 센서의 식별 정보는 카메라 모듈(320)의 저장 소자(321)에 저장된 정보일 수 있다. 프로세서(310)는 지정된 통신 방식(예: I2C)의 통신을 통해 식별 정보를 수신할 수 있다. 식별 정보는 이미지 센서의 고유한 이름이거나, 이미지 센서 마다 할당된 코드값일 수 있다.Referring to FIG. 10 , in operation 1010, the processor 310 may receive identification information of an image sensor being driven or scheduled to be driven from at least one of the plurality of camera modules 320a and 320b. Identification information of the image sensor may be information stored in the storage element 321 of the camera module 320 . The processor 310 may receive identification information through communication of a designated communication method (eg, I2C). The identification information may be a unique name of an image sensor or a code value assigned to each image sensor.

동작 1020에서, 프로세서(310)는 카메라 어플리케이션이 실행되는지를 확인할 수 있다. 카메라 어플리케이션은 카메라 모듈(320)을 통해 이미지 데이터를 획득하고, 촬영된 이미지를 저장하는 어플리케이션일 수 있다. 도 4와 달리, 프로세서(310)는 레귤레이터 제어핀(315)의 설정 이전에 카메라 어플리케이션이 실행되는지를 확인할 수 있다.In operation 1020, the processor 310 may check whether the camera application is running. The camera application may be an application that obtains image data through the camera module 320 and stores a captured image. Unlike FIG. 4 , the processor 310 may check whether the camera application is executed before setting the regulator control pin 315 .

동작 1030에서, 카메라 어플리케이션이 실행되는 경우, 프로세서(310)는 레귤레이터 제어핀(315)을 복수의 카메라 모듈들(320a, 320b) 중 적어도 하나로부터 수신한 식별 정보에 대응하는 상태로 설정할 수 있다. In operation 1030, when the camera application is executed, the processor 310 may set the regulator control pin 315 to a state corresponding to identification information received from at least one of the plurality of camera modules 320a and 320b.

예를 들어, 복수의 카메라 모듈들(320a, 320b) 중 적어도 하나로부터 수신한 이미지 센서의 식별 정보가 제1 코드값인 경우, 프로세서(310)는 레귤레이터 제어핀(315)을 제1 상태(예: 오픈 상태)로 설정할 수 있다. 다른 예를 들어. 카메라 모듈(320)로부터 수신한 이미지 센서의 식별 정보가 제2 코드값인 경우, 레귤레이터 제어핀(315)을 제2 상태(예: 접지 상태)로 설정할 수 있다.For example, when the identification information of the image sensor received from at least one of the plurality of camera modules 320a and 320b is a first code value, the processor 310 sets the regulator control pin 315 to a first state (eg : open state). Another example. When the identification information of the image sensor received from the camera module 320 is the second code value, the regulator control pin 315 may be set to a second state (eg, a ground state).

동작 1040에서, 프로세서(310)는 레귤레이터(330)을 활성화할 수 있다. 예를 들어, 프로세서(310)는 레귤레이터 활성화 핀(318)의 상태를 변경하여, 레귤레이터(330)가 지정된 전압값들 중 하나를 출력하도록 할 수 있다.At operation 1040 , processor 310 may activate regulator 330 . For example, processor 310 may change the state of regulator enable pin 318 to cause regulator 330 to output one of the specified voltage values.

동작 1050에서, 프로세서(310)는 레귤레이터 제어핀(315)의 상태에 대응하는 전압으로 복수의 카메라 모듈들(320a, 320b) 중 적어도 하나를 구동할 수 있다. 복수의 카메라 모듈들(320a, 320b)은 레귤레이터(330)의 출력단(335)에 인가되는 전압값에 의해 구동될 수 있다. 레귤레이터(330)의 출력단(335)의 전압값은, 프로세서(310)의 레귤레이터 제어핀(315)의 상태에 따라 달라질 수 있다. 레귤레이터 제어핀(315)의 상태가 변경되는 경우, 상태 확인핀(333)에 연결된 저항의 조합(피드백 저항값)이 변경될 수 있고, 레귤레이터(330)의 출력단(335)의 전압값이 변경될 수 있다.In operation 1050, the processor 310 may drive at least one of the plurality of camera modules 320a and 320b with a voltage corresponding to the state of the regulator control pin 315. The plurality of camera modules 320a and 320b may be driven by a voltage value applied to the output terminal 335 of the regulator 330 . The voltage value of the output terminal 335 of the regulator 330 may vary according to the state of the regulator control pin 315 of the processor 310 . When the state of the regulator control pin 315 is changed, the combination of resistors (feedback resistance value) connected to the state check pin 333 may change, and the voltage value of the output terminal 335 of the regulator 330 may change. can

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

다양한 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(301))는, 복수의 이미지 센서들을 포함하는 제1 카메라 모듈(예: 도 1 및 도 2의 카메라 모듈(180), 도 3의 카메라 모듈(320)), 상기 제1 카메라 모듈(예: 도 1 및 도 2의 카메라 모듈(180), 도 3의 카메라 모듈(320))에 전원을 공급하는 레귤레이터(예: 도 3의 레귤레이터(330)), 상기 레귤레이터(예: 도 3의 레귤레이터(330))를 제어하는 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310)), 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 출력단과, 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 상태 확인핀 사이에 연결되는 제1 저항, 상기 상태 확인핀과 접지 사이에 연결되는 제2 저항, 상기 상태 확인핀과, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))의 상기 레귤레이터(예: 도 3의 레귤레이터(330))를 제어하는 제1 제어핀 사이에 연결되는 제3 저항을 포함하고, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 상기 제1 카메라 모듈(예: 도 1 및 도 2의 카메라 모듈(180), 도 3의 카메라 모듈(320))의 저장 소자(예: 도 3의 저장 소자(321))로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고, 상기 식별 정보에 대응하도록 상기 제1 제어핀의 상태를 변경하고, 상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 상기 출력단의 전압값이 변경될 수 있다.An electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3 ) according to various embodiments includes a first camera module including a plurality of image sensors (eg, the electronic device 101 of FIGS. 1 and 2 ). supplying power to the camera module 180, the camera module 320 of FIG. 3), and the first camera module (eg, the camera module 180 of FIGS. 1 and 2, the camera module 320 of FIG. 3) A regulator (eg, the regulator 330 of FIG. 3 ), a processor (eg, the processor 120 of FIG. 1 , the processor 310 of FIG. 3 ) controlling the regulator (eg, the regulator 330 of FIG. 3 ), A first resistor connected between an output terminal of the regulator (eg, the regulator 330 of FIG. 3 ) and a state check pin of the regulator (eg, the regulator 330 of FIG. 3 ), and between the state check pin and the ground. Controlling the connected second resistor, the status check pin, and the regulator (eg, the regulator 330 of FIG. 3) of the processor (eg, the processor 120 of FIG. 1 and the processor 310 of FIG. 3) A third resistor is connected between the first control pins, and the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) is connected to the first camera module (eg, the processor 120 of FIG. 1 and the processor 310 of FIG. 2 ). Receiving identification information corresponding to one of the image sensors from a storage element (eg, storage element 321 of FIG. 3) of the camera module 180 of FIG. 3 and the camera module 320 of FIG. 3, and receiving the identification information The state of the first control pin may be changed to correspond to , and the voltage value of the output terminal of the regulator (eg, the regulator 330 of FIG. 3 ) may be changed in response to the state of the first control pin.

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 상기 식별 정보가 제1 코드값인 경우, 상기 제1 제어핀을 오픈시킬 수 있다.According to various embodiments, the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) may open the first control pin when the identification information is a first code value.

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 상기 식별 정보가 제2 코드값인 경우, 상기 제1 제어핀을 상기 접지에 연결시킬 수 있다.According to various embodiments, the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) connects the first control pin to the ground when the identification information is a second code value. can

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 카메라 어플리케이션이 실행되는 경우, 상기 레귤레이터(예: 도 3의 레귤레이터(330))를 활성화시키고, 상기 레귤레이터(예: 도 3의 레귤레이터(330))가 활성화되는 경우, 상기 출력단에 상기 전압값이 인가될 수 있다.According to various embodiments, the processor (eg, processor 120 of FIG. 1 or processor 310 of FIG. 3 ) activates the regulator (eg, regulator 330 of FIG. 3 ) when a camera application is executed. and when the regulator (eg, the regulator 330 of FIG. 3) is activated, the voltage value may be applied to the output terminal.

다양한 실시예에 따르면, 상기 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(301))는 상기 상태 확인핀과, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))의 상기 레귤레이터(예: 도 3의 레귤레이터(330))를 제어하는 제2 제어핀 사이에 연결되는 제4 저항을 더 포함할 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3 ) includes the status check pin, the processor (eg, the processor 120 of FIG. 1 , A fourth resistor connected between second control pins controlling the regulator (eg, the regulator 330 of FIG. 3 ) of the processor 310 of FIG. 3 may be further included.

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 상기 식별 정보에 대응하도록 상기 제2 제어핀의 상태를 변경하고, 상기 제1 제어핀 및 상기 제2 제어핀의 상태에 대응하여, 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 상기 출력단의 상기 전압값이 변경될 수 있다.According to various embodiments, the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) changes the state of the second control pin to correspond to the identification information, and the first control pin And corresponding to the state of the second control pin, the voltage value of the output terminal of the regulator (eg, the regulator 330 of FIG. 3 ) may be changed.

다양한 실시예에 따르면, 상기 복수의 이미지 센서들은 서로 다른 전압값에 의해 구동될 수 있다.According to various embodiments, the plurality of image sensors may be driven by different voltage values.

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 상기 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(301))가 부팅되거나, 슬립 상태가 해제되는 경우, 상기 제1 카메라 모듈(예: 도 1 및 도 2의 카메라 모듈(180), 도 3의 카메라 모듈(320))의 상기 저장 소자(예: 도 3의 저장 소자(321))로부터 상기 식별 정보를 수신할 수 있다.According to various embodiments, the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) may be the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3 ). )) is booted or the sleep state is released, the storage element of the first camera module (eg, the camera module 180 of FIGS. 1 and 2, the camera module 320 of FIG. 3) (eg, FIG. The identification information may be received from the storage element 321 of No. 3.

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 I2C(inter-integrated circuit), I3C(improved inter-integrated circuit), 또는 SPI(serial peripheral interface) 프로토콜 중 적어도 하나에 의해 상기 식별 정보를 수신할 수 있다.According to various embodiments, the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) may be an inter-integrated circuit (I2C), an improved inter-integrated circuit (I3C), or a serial peripheral (SPI). The identification information may be received by at least one of interface) protocols.

다양한 실시예에 따르면, 상기 상태 확인핀은 GPIO(general purpose input and output)에 의해 통신을 지원할 수 있다.According to various embodiments, the status check pin may support communication through a general purpose input and output (GPIO).

다양한 실시예에 따르면, 상기 레귤레이터(예: 도 3의 레귤레이터(330))는 LDO(Low Dropout Regulator)일 수 있다.According to various embodiments, the regulator (eg, the regulator 330 of FIG. 3 ) may be a Low Dropout Regulator (LDO).

다양한 실시예에 따르면, 상기 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(301))는 제2 카메라 모듈을 더 포함하고, 상기 1 카메라 모듈과 상기 제2 카메라 모듈은 각각 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 상기 출력단에 연결되어 상기 전압값에 의해 구동될 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3 ) further includes a second camera module, and the first camera module and the second camera module Each may be connected to the output terminal of the regulator (eg, the regulator 330 of FIG. 3 ) and driven by the voltage value.

다양한 실시예에 따르면, 상기 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(301))는 제2 카메라 모듈을 더 포함하고, 상기 1 카메라 모듈과 상기 제2 카메라 모듈은 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))에 의해 제어되는 스위치를 통해 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 상기 출력단에 연결되거나 분리될 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3 ) further includes a second camera module, and the first camera module and the second camera module is connected to or disconnected from the output terminal of the regulator (eg, the regulator 330 of FIG. 3) through a switch controlled by the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3). can

다양한 실시예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310))는 상기 1 카메라 모듈의 상기 저장 소자(예: 도 3의 저장 소자(321))로부터 상기 식별 정보를 수신하는 경우, 상기 스위치를 통해 상기 제1 카메라 모듈(예: 도 1 및 도 2의 카메라 모듈(180), 도 3의 카메라 모듈(320))을 상기 레귤레이터(예: 도 3의 레귤레이터(330))의 상기 출력단에 연결할 수 있다.According to various embodiments, the processor (eg, the processor 120 of FIG. 1 or the processor 310 of FIG. 3 ) is configured to store the data from the storage element (eg, the storage element 321 of FIG. 3 ) of the first camera module. When identification information is received, the first camera module (eg, the camera module 180 of FIGS. 1 and 2, the camera module 320 of FIG. 3) is connected to the regulator (eg, the regulator of FIG. 3) through the switch. (330)) can be connected to the output terminal.

다양한 실시예에 따른 전자 장치(예: 도 5의 전자 장치(501))는 복수의 이미지 센서들을 포함하는 제1 카메라 모듈, 상기 제1 카메라 모듈에 전원을 공급하는 레귤레이터, 상기 레귤레이터를 제어하는 프로세서, 상기 레귤레이터의 출력단과, 상기 레귤레이터의 상태 확인핀 사이에 연결되는 제1 저항, 상기 상태 확인핀과 접지 사이에 직렬로 연결되는 제2 저항 및 제3 저항, 상기 제3 저항의 양단에 연결되는 스위치를 포함하고, 상기 프로세서는 상기 제1 카메라 모듈의 저장 소자로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고, 상기 식별 정보에 대응하도록 상기 스위치를 제어하는 제1 제어핀의 상태를 변경하고, 상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 전압값이 변경될 수 있다.An electronic device (eg, the electronic device 501 of FIG. 5 ) according to various embodiments includes a first camera module including a plurality of image sensors, a regulator supplying power to the first camera module, and a processor controlling the regulator. , a first resistor connected between the output terminal of the regulator and the state check pin of the regulator, a second resistor and a third resistor connected in series between the state check pin and the ground, and connected to both ends of the third resistor and a switch, wherein the processor receives identification information corresponding to one of the image sensors from a storage element of the first camera module, and determines a state of a first control pin controlling the switch to correspond to the identification information. and, corresponding to the state of the first control pin, the voltage value of the output terminal of the regulator may be changed.

다양한 실시예에 따르면, 상기 프로세서는 상기 식별 정보가 제1 코드값인 경우, 상기 스위치를 턴온하여 상기 제2 저항을 상기 상태 확인핀과 상기 접지 사이에 연결할 수 있다.According to various embodiments, when the identification information is a first code value, the processor may turn on the switch to connect the second resistor between the state check pin and the ground.

다양한 실시예에 따르면, 상기 프로세서는 상기 식별 정보가 제2 코드값인 경우, 상기 스위치를 턴오프할 수 있다.According to various embodiments, the processor may turn off the switch when the identification information is a second code value.

다양한 실시예에 따른 전자 장치(예: 도 7의 전자 장치(701))는 복수의 이미지 센서들을 포함하는 제1 카메라 모듈, 상기 제1 카메라 모듈에 전원을 공급하는 레귤레이터, 상기 레귤레이터를 제어하는 프로세서, 상기 레귤레이터의 출력단과, 상기 레귤레이터의 상태 확인핀 사이에 연결되는 제1 저항, 상기 상태 확인핀에 연결되는 스위치, 상기 스위치를 통해 상기 상태 확인핀에 연결되거나 분리되는 제2 저항, 상기 스위치를 통해 상기 상태 확인핀에 연결되거나 분리되는 제3 저항을 포함하고, 상기 프로세서는 상기 제1 카메라 모듈의 저장 소자로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고, 상기 식별 정보에 대응하도록 상기 스위치를 제어하는 제1 제어핀의 상태를 변경하고, 상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 전압값이 변경될 수 있다. An electronic device (eg, the electronic device 701 of FIG. 7 ) according to various embodiments includes a first camera module including a plurality of image sensors, a regulator supplying power to the first camera module, and a processor controlling the regulator. , a first resistor connected between the output terminal of the regulator and the status check pin of the regulator, a switch connected to the status check pin, a second resistor connected to or disconnected from the status check pin through the switch, the switch and a third resistor connected to or disconnected from the status checking pin through a third resistor, wherein the processor receives identification information corresponding to one of the image sensors from a storage element of the first camera module, and corresponds to the identification information. A state of a first control pin controlling the switch may be changed, and a voltage value of the output terminal of the regulator may be changed in response to the state of the first control pin.

다양한 실시예에 따르면, 상기 프로세서는 상기 식별 정보가 제1 코드값인 경우, 상기 스위치를 통해 상기 제2 저항을 상기 상태 확인핀에 연결하고, 상기 스위치를 통해 상기 제3 저항을 상기 상태 확인핀에서 분리하할 수 있다.According to various embodiments, when the identification information is a first code value, the processor connects the second resistor to the status check pin through the switch, and connects the third resistor to the status check pin through the switch. can be separated from

다양한 실시예에 따르면, 상기 프로세서는 상기 식별 정보가 제2 코드값인 경우, 상기 스위치를 통해 상기 제3 저항을 상기 상태 확인핀에 연결하고, 상기 스위치를 통해 상기 제2 저항을 상기 상태 확인핀에서 분리할 수 있다.According to various embodiments, when the identification information is a second code value, the processor connects the third resistor to the status check pin through the switch, and connects the second resistor to the status check pin through the switch. can be separated from

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g. first) component is said to be "coupled" or "connected" to another (e.g. second) component, with or without the terms "functionally" or "communicatively". When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(10))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document provide one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (eg, program 10) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

Claims (20)

전자 장치에 있어서,
복수의 이미지 센서들을 포함하는 제1 카메라 모듈;
상기 제1 카메라 모듈에 전원을 공급하는 레귤레이터;
상기 레귤레이터를 제어하는 프로세서;
상기 레귤레이터의 출력단과, 상기 레귤레이터의 상태 확인핀 사이에 연결되는 제1 저항;
상기 상태 확인핀과 접지 사이에 연결되는 제2 저항;
상기 상태 확인핀과, 상기 프로세서의 상기 레귤레이터를 제어하는 제1 제어핀 사이에 연결되는 제3 저항을 포함하고,
상기 프로세서는
상기 제1 카메라 모듈의 저장 소자로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고,
상기 식별 정보에 대응하도록 상기 제1 제어핀의 상태를 변경하고,
상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 전압값이 변경되는 전자 장치.
In electronic devices,
A first camera module including a plurality of image sensors;
a regulator supplying power to the first camera module;
a processor controlling the regulator;
a first resistor connected between an output terminal of the regulator and a status checking pin of the regulator;
a second resistor connected between the status check pin and ground;
A third resistor connected between the status checking pin and a first control pin controlling the regulator of the processor;
The processor
receiving identification information corresponding to one of the image sensors from a storage element of the first camera module;
Changing the state of the first control pin to correspond to the identification information;
An electronic device in which a voltage value of the output terminal of the regulator is changed in response to a state of the first control pin.
제1항에 있어서, 상기 프로세서는
상기 식별 정보가 제1 코드값인 경우, 상기 제1 제어핀을 오픈시키는 전자 장치.
The method of claim 1, wherein the processor
An electronic device that opens the first control pin when the identification information is a first code value.
제1항에 있어서, 상기 프로세서는
상기 식별 정보가 제2 코드값인 경우, 상기 제1 제어핀을 상기 접지에 연결시키는 전자 장치.
The method of claim 1, wherein the processor
An electronic device that connects the first control pin to the ground when the identification information is a second code value.
제1항에 있어서, 상기 프로세서는
카메라 어플리케이션이 실행되는 경우, 상기 레귤레이터를 활성화시키고,
상기 레귤레이터가 활성화되는 경우, 상기 출력단에 상기 전압값이 인가되는 전자 장치.
The method of claim 1, wherein the processor
When the camera application is running, activate the regulator,
An electronic device in which the voltage value is applied to the output terminal when the regulator is activated.
제1항에 있어서,
상기 상태 확인핀과, 상기 프로세서의 상기 레귤레이터를 제어하는 제2 제어핀 사이에 연결되는 제4 저항을 더 포함하는 전자 장치.
According to claim 1,
The electronic device further includes a fourth resistor connected between the state checking pin and a second control pin controlling the regulator of the processor.
제5항에 있어서, 상기 프로세서는
상기 식별 정보에 대응하도록 상기 제2 제어핀의 상태를 변경하고,
상기 제1 제어핀 및 상기 제2 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 상기 전압값이 변경되는 전자 장치.
The method of claim 5, wherein the processor
Changing the state of the second control pin to correspond to the identification information;
An electronic device in which the voltage value of the output terminal of the regulator is changed in response to states of the first control pin and the second control pin.
제1항에 있어서, 상기 복수의 이미지 센서들은
서로 다른 전압값에 의해 구동되는 전자 장치.
The method of claim 1, wherein the plurality of image sensors
Electronic devices powered by different voltage values.
제1항에 있어서, 상기 프로세서는
상기 전자 장치가 부팅되거나, 슬립 상태가 해제되는 경우, 상기 제1 카메라 모듈의 상기 저장 소자로부터 상기 식별 정보를 수신하는 전자 장치.
The method of claim 1, wherein the processor
An electronic device that receives the identification information from the storage element of the first camera module when the electronic device is booted or a sleep state is released.
제1항에 있어서, 상기 프로세서는
I2C(inter-integrated circuit), I3C(improved inter-integrated circuit), 또는 SPI(serial peripheral interface) 프로토콜 중 적어도 하나에 의해 상기 식별 정보를 수신하는 전자 장치.
The method of claim 1, wherein the processor
An electronic device that receives the identification information through at least one of an inter-integrated circuit (I2C), an improved inter-integrated circuit (I3C), and a serial peripheral interface (SPI) protocol.
제1항에 있어서, 상기 상태 확인핀은
GPIO(general purpose input and output)에 의해 통신을 지원하는 전자 장치.
The method of claim 1, wherein the state check pin
An electronic device that supports communication by means of a general purpose input and output (GPIO).
제1항에 있어서, 상기 레귤레이터는
Low Dropout Regulator인 전자 장치.
The method of claim 1, wherein the regulator
An electronic device that is a Low Dropout Regulator.
제1항에 있어서,
제2 카메라 모듈을 더 포함하고,
상기 1 카메라 모듈과 상기 제2 카메라 모듈은 각각 상기 레귤레이터의 상기 출력단에 연결되어 상기 전압값에 의해 구동되는 전자 장치.
According to claim 1,
Further comprising a second camera module,
The first camera module and the second camera module are each connected to the output terminal of the regulator and driven by the voltage value.
제1항에 있어서,
제2 카메라 모듈을 더 포함하고,
상기 1 카메라 모듈과 상기 제2 카메라 모듈은 상기 프로세서에 의해 제어되는 스위치를 통해 상기 레귤레이터의 상기 출력단에 연결되거나 분리되는 전자 장치.
According to claim 1,
Further comprising a second camera module,
The first camera module and the second camera module are connected to or separated from the output terminal of the regulator through a switch controlled by the processor.
제13항에 있어서, 상기 프로세서는
상기 1 카메라 모듈의 상기 저장 소자로부터 상기 식별 정보를 수신하는 경우, 상기 스위치를 통해 상기 제1 카메라 모듈을 상기 레귤레이터의 상기 출력단에 연결하는 전자 장치.
14. The method of claim 13, wherein the processor
An electronic device that connects the first camera module to the output terminal of the regulator through the switch when the identification information is received from the storage element of the first camera module.
전자 장치에 있어서,
복수의 이미지 센서들을 포함하는 제1 카메라 모듈;
상기 제1 카메라 모듈에 전원을 공급하는 레귤레이터;
상기 레귤레이터를 제어하는 프로세서;
상기 레귤레이터의 출력단과, 상기 레귤레이터의 상태 확인핀 사이에 연결되는 제1 저항;
상기 상태 확인핀과 접지 사이에 직렬로 연결되는 제2 저항 및 제3 저항;
상기 제3 저항의 양단에 연결되는 스위치를 포함하고,
상기 프로세서는
상기 제1 카메라 모듈의 저장 소자로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고,
상기 식별 정보에 대응하도록 상기 스위치를 제어하는 제1 제어핀의 상태를 변경하고,
상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 전압값이 변경되는 전자 장치.
In electronic devices,
A first camera module including a plurality of image sensors;
a regulator supplying power to the first camera module;
a processor controlling the regulator;
a first resistor connected between an output terminal of the regulator and a status checking pin of the regulator;
a second resistor and a third resistor connected in series between the status check pin and ground;
A switch connected to both ends of the third resistor,
The processor
receiving identification information corresponding to one of the image sensors from a storage element of the first camera module;
Changing a state of a first control pin controlling the switch to correspond to the identification information;
An electronic device in which a voltage value of the output terminal of the regulator is changed in response to a state of the first control pin.
제15항에 있어서, 상기 프로세서는
상기 식별 정보가 제1 코드값인 경우, 상기 스위치를 턴온하여 상기 제2 저항을 상기 상태 확인핀과 상기 접지 사이에 연결하는 전자 장치.
16. The method of claim 15, wherein the processor
When the identification information is a first code value, turn on the switch to connect the second resistor between the status check pin and the ground.
제15항에 있어서, 상기 프로세서는
상기 식별 정보가 제2 코드값인 경우, 상기 스위치를 턴오프하는 전자 장치.
16. The method of claim 15, wherein the processor
An electronic device that turns off the switch when the identification information is a second code value.
전자 장치에 있어서,
복수의 이미지 센서들을 포함하는 제1 카메라 모듈;
상기 제1 카메라 모듈에 전원을 공급하는 레귤레이터;
상기 레귤레이터를 제어하는 프로세서;
상기 레귤레이터의 출력단과, 상기 레귤레이터의 상태 확인핀 사이에 연결되는 제1 저항;
상기 상태 확인핀에 연결되는 스위치;
상기 스위치를 통해 상기 상태 확인핀에 연결되거나 분리되는 제2 저항;
상기 스위치를 통해 상기 상태 확인핀에 연결되거나 분리되는 제3 저항;을 포함하고,
상기 프로세서는
상기 제1 카메라 모듈의 저장 소자로부터, 상기 이미지 센서 중 하나에 대응하는 식별 정보를 수신하고,
상기 식별 정보에 대응하도록 상기 스위치를 제어하는 제1 제어핀의 상태를 변경하고,
상기 제1 제어핀의 상태에 대응하여, 상기 레귤레이터의 상기 출력단의 전압값이 변경되는 전자 장치.
In electronic devices,
A first camera module including a plurality of image sensors;
a regulator supplying power to the first camera module;
a processor controlling the regulator;
a first resistor connected between an output terminal of the regulator and a status checking pin of the regulator;
a switch connected to the status check pin;
a second resistor connected to or disconnected from the status checking pin through the switch;
A third resistor connected to or separated from the status checking pin through the switch; includes,
The processor
receiving identification information corresponding to one of the image sensors from a storage element of the first camera module;
Changing a state of a first control pin controlling the switch to correspond to the identification information;
An electronic device in which a voltage value of the output terminal of the regulator is changed in response to a state of the first control pin.
제18항에 있어서, 상기 프로세서는
상기 식별 정보가 제1 코드값인 경우, 상기 스위치를 통해 상기 제2 저항을 상기 상태 확인핀에 연결하고,
상기 스위치를 통해 상기 제3 저항을 상기 상태 확인핀에서 분리하는 전자 장치.
19. The method of claim 18, wherein the processor
When the identification information is a first code value, connecting the second resistor to the status check pin through the switch;
An electronic device that separates the third resistor from the status check pin through the switch.
제18항에 있어서, 상기 프로세서는
상기 식별 정보가 제2 코드값인 경우, 상기 스위치를 통해 상기 제3 저항을 상기 상태 확인핀에 연결하고,
상기 스위치를 통해 상기 제2 저항을 상기 상태 확인핀에서 분리하는 전자 장치.
19. The method of claim 18, wherein the processor
When the identification information is a second code value, connecting the third resistor to the status check pin through the switch;
An electronic device that separates the second resistor from the status check pin through the switch.
KR1020210105573A 2021-08-10 2021-08-10 Electronic device including camera KR20230023439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210105573A KR20230023439A (en) 2021-08-10 2021-08-10 Electronic device including camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210105573A KR20230023439A (en) 2021-08-10 2021-08-10 Electronic device including camera

Publications (1)

Publication Number Publication Date
KR20230023439A true KR20230023439A (en) 2023-02-17

Family

ID=85327448

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210105573A KR20230023439A (en) 2021-08-10 2021-08-10 Electronic device including camera

Country Status (1)

Country Link
KR (1) KR20230023439A (en)

Similar Documents

Publication Publication Date Title
KR20220072616A (en) Electronic devices including multiple cameras and methods of controlling the electronic devices
KR20220151932A (en) Electronic device and operation method thereof
KR20230023439A (en) Electronic device including camera
KR20220099789A (en) Electronic device including camera module and method operating the electronic device
US20230046377A1 (en) Method for displaying preview image and electronic device supporting the same
US20230396885A1 (en) Electronic device including camera module and electronic device operating method
KR20230119570A (en) Electronic device for adjusting an image and method thereof
KR20220152819A (en) Electronic device including camera
KR20230023147A (en) Method for displaying preview image and electronic device supporting the same
KR20230062010A (en) Method for stabilization in shooting and electronic device thereof
KR20230007758A (en) Electronic device including camera module
KR20230053144A (en) Electronic device, and method for performing a image capturing function in electronic device
KR20230088196A (en) An electronic device that executes an application using different camera information according to a capturing environment, and a control method thereof
KR20230023498A (en) Electronic device includind under display camera and operating method thereof
KR20220124472A (en) Electronic device having a plurality of lens and controlling method thereof
KR20220153305A (en) Method for generating a file including image data and motion data, electronic device thereof
KR20220157196A (en) Method for processing image and electronic device thereof
KR20220157735A (en) Photographing method of electronic apparatus and electronic apparatus thereof
KR20220168006A (en) Electronic device and method for controlling output of sensor thereof
KR20220132889A (en) Electronic device including a plurality of cameras
KR20230018957A (en) An electronic device for improving image quality deterioration due to diffraction and control method thereof
KR20220159131A (en) Electronic device including image sensor and dynamic vision seneor, and operating method thereof
KR20230007133A (en) Apparatus for grounding a camera module in an electronic devices
KR20230039351A (en) Electronic device applying bokeh effect to image and operating method thereof
KR20230039039A (en) Electronic device including camera module