Electronic device comprising camera, and operating method therefor

The dual-camera system in electronic devices uses PWM and linear driving methods to stabilize images and manage power, addressing the issue of hand tremors and improving image quality and efficiency.

WO2025028969A1PCT designated stage expired Publication Date: 2025-02-06SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/011004
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-11
Filing Date
2024-07-29
Publication Date
2025-02-06

AI Technical Summary

Technical Problem

Electronic devices with cameras face challenges in image stabilization due to user-induced hand tremors, leading to blurred images and videos, and existing solutions like electromagnetic force-based lens movement are not optimally efficient in power consumption and image quality.

Method used

The electronic device employs a dual-camera system with distinct driving methods - Pulse Width Modulation (PWM) for one camera and linear driving for the other, allowing for efficient image stabilization and power management by dynamically switching between these methods based on image display and camera operation.

Benefits of technology

This approach effectively reduces power consumption and maintains image quality by using PWM for non-displayed cameras and linear driving for displayed cameras, ensuring clear images while minimizing excessive power usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024011004_06022025_PF_FP_ABST
    Figure KR2024011004_06022025_PF_FP_ABST
Patent Text Reader

Abstract

According to one embodiment, an electronic device comprises: a display; a first camera including a first lens assembly and a first driving unit; a second camera including a second lens assembly and a second driving unit; and a processor, wherein the processor may be configured to: display a preview image acquired by using the second camera by means of the display, on the basis of a request for execution of a camera function; drive the first driving unit by using a pulse width modulation (PWM) driving method such that the first camera moves during at least a partial time interval in which the preview image is acquired by means of the second camera; and drive the second driving unit by using a linear driving method such that the second camera moves. Various other embodiments are possible.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device including a camera, and method of operating the same

[0001] Embodiments of the present disclosure relate to an electronic device including a camera, and a method of operating the same.

[0002] As digital camera technology developed, electronic devices equipped with compact, lightweight cameras became commercially available. With cameras integrated into electronic devices, users could easily take photos and videos, as well as utilize various features like video calls and augmented reality.

[0003] A camera can perform an image stabilization function to compensate for image disturbances. Here, disturbances can be artifacts, such as blurring of images captured by a camera module due to slight hand tremors when a user takes a photo or records a video. An image stabilization function, such as a shake (or hand shake) correction function, can prevent or mitigate shake in captured images or videos by moving a lens assembly included in a camera module along a plane perpendicular to the optical axis to compensate for limited movement of electronic devices due to a fixed device or the user's grip. To this end, the camera can include a coil and a magnet. An energized coil can generate an electromagnetic force through electromagnetic interaction with a magnet, and the camera can perform a shake correction function using the generated electromagnetic force. There are various methods that can be applied to correct shake using electromagnetic force, such as lens shift, which moves the lens assembly, prism shift, which moves the prism, and module tilt, which tilts the camera.

[0004] The above information may be provided as background information to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.

[0005] According to one embodiment, an electronic device may include a display, a first camera including a first lens assembly and a first actuator, a second camera including a second lens assembly and a second actuator, at least one processor, and a memory storing instructions.

[0006] According to one embodiment, the electronic device may display a preview image acquired using the second camera through the display based on a request for execution of a camera function.

[0007] According to one embodiment, the electronic device can drive the first driving unit using a pulse width modulation (PWM) driving method during at least a portion of the time period during which the preview image is acquired through the second camera.

[0008] According to one embodiment, the electronic device may drive the second driving unit using a linear driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0009] According to one embodiment, a method of operating an electronic device may include an operation of displaying a preview image acquired using a second camera included in the electronic device through a display included in the electronic device based on a request for execution of a camera function.

[0010] According to one embodiment, a method of operating an electronic device may include driving a first driving unit included in the electronic device using a pulse width modulation (PWM) driving method during at least a portion of a time period during which the preview image is acquired through the second camera.

[0011] According to one embodiment, a method of operating an electronic device may include driving a second driving unit included in the electronic device using a linear driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0012] According to one embodiment, a non-transitory recording medium may store instructions that, based on a request for execution of a camera function, may execute an operation of displaying a preview image acquired using a second camera included in an electronic device through a display included in the electronic device.

[0013] According to one embodiment, the non-transitory recording medium can store instructions that can execute an operation of driving a first driving unit included in the electronic device using a pulse width modulation (PWM) driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0014] According to one embodiment, the non-transitory recording medium may store instructions that can execute an operation of driving a second driving unit included in the electronic device using a linear driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0015] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.

[0016] FIG. 2 is a block diagram illustrating a camera module according to one embodiment.

[0017] FIG. 3A is a schematic block diagram of an electronic device according to one embodiment.

[0018] FIG. 3b is a drawing showing the rear side of an electronic device according to one embodiment.

[0019] FIG. 4A is a diagram illustrating a first camera according to one embodiment.

[0020] FIG. 4b is a drawing showing a driving circuit representing a portion of a first driving unit according to one embodiment and a current consumption value by the first driving unit.

[0021] FIG. 4c is a drawing showing a driving circuit representing a portion of a first driving unit according to one embodiment and a current consumption value by the first driving unit.

[0022] FIG. 5A is a diagram showing an electronic device displaying an image on a display according to one embodiment.

[0023] FIG. 5b is a diagram showing an electronic device displaying an image on a display according to one embodiment.

[0024] FIG. 6 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a first camera and a second camera.

[0025] FIG. 7 is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on current consumed by a first driving unit.

[0026] FIG. 8 is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on current consumed by a first driving unit.

[0027] FIG. 9A is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on an angle formed with the ground.

[0028] FIG. 9b is a drawing for explaining the angle between an electronic device and the ground according to one embodiment.

[0029] FIG. 9c is a diagram showing a graph of the position of the first magnet and the current consumption value by the first driving unit corresponding to the position of the first magnet according to one embodiment.

[0030] FIG. 10 is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on a position of a first magnet confirmed in a state of no movement with respect to the first camera.

[0031] FIG. 11 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to drive a first camera when a magnification for the first camera is adjusted.

[0032] FIG. 12 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to drive a second camera.

[0033] FIG. 13 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a third camera.

[0034] FIG. 14 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a first camera, a second camera, and a third camera.

[0035] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.

[0036] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include 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), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0037] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0038] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, in the electronic device (101) itself where artificial intelligence is performed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0039] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).

[0040] 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).

[0041] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0042] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0043] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic 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 configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0044] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0045] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0046] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In 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.

[0047] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., 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 (e.g., a headphone connector).

[0048] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0049] The camera module (180) can 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.

[0050] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0051] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0052] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., 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) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0053] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0054] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In 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 (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., 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), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

[0055] In one embodiment, the antenna module (197) may generate a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.

[0056] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0057] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0058] FIG. 2 is a block diagram (200) illustrating a camera module (180) according to one embodiment.

[0059] Referring to FIG. 2, the camera module (180) may include a lens assembly (210), a flash (220), an image sensor (230), an image stabilizer (240), a memory (250) (e.g., a buffer memory), or an image signal processor (260). The lens assembly (210) may collect light emitted from a subject that is a target of image capturing. 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 (e.g., angle of view, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have one or more lens properties that are different from the lens properties of the other lens assemblies. A lens assembly (210) may include, for example, a wide-angle lens or a telephoto lens.

[0060] The flash (220) can emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (220) can include one or more light-emitting diodes (e.g., red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp. The image sensor (230) can 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) can include one image sensor selected from among image sensors having different properties, such as, for example, an RGB sensor, a black and white (BW) sensor, an IR sensor, or an ultraviolet (UV) sensor, a plurality of image sensors having the same property, or a plurality of image sensors having different properties. Each image sensor included in the image sensor (230) can be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.

[0061] The image stabilizer (240) can move at least one lens or image sensor (230) included in the lens assembly (210) in a specific direction or control the operating characteristics of the image sensor (230) (e.g., adjust the read-out timing) in response to the movement of the camera module (180) or the electronic device (101) including the same. This allows compensating for at least some of the negative effects of the movement on the captured image. In one embodiment, the image stabilizer (240) can detect such movement of the camera module (180) or the electronic device (101) using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module (180). In one embodiment, the image stabilizer (240) can be implemented as, for example, an optical image stabilizer. The memory (250) can temporarily store at least some of the images acquired through the image sensor (230) for the next image processing task. For example, when image acquisition is delayed due to a shutter, or when multiple images are acquired at high speed, the acquired original image (e.g., a Bayer-patterned image or a high-resolution image) is stored in the memory (250), and a corresponding copy image (e.g., a low-resolution image) can be previewed through the display module (160). Thereafter, when a specified condition is satisfied (e.g., a user input or a system command), at least a portion of the original image stored in the memory (250) can be acquired and processed, for example, by the image signal processor (260). According to one embodiment, the memory (250) may be configured as at least a portion of the memory (130) of FIG. 1, or as a separate memory that operates independently therefrom.

[0062] The image signal processor (260) can perform one or more image processing operations on an image acquired through an image sensor (230) or an image stored in a memory (250). The one or more image processing operations may include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor (260) may perform control (e.g., exposure time control, or read-out timing control) on at least one of the components included in the camera module (180) (e.g., image sensor (230)). An image processed by the image signal processor (260) may be stored back in the memory (250) for further processing or provided to an external component of the camera module (180) (e.g., memory (130), display module (160), electronic device (102), electronic device (104), or server (108) of FIG. 1). According to one embodiment, the image signal processor (260) may be configured to perform a control operation (e.g., control) on at least one of the components included in the camera module (180) (e.g., image sensor (230)). It 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). If the image signal processor (260) is configured as a separate processor from the processor (120), at least one image processed by the image signal processor (260) may be displayed through the display module (160) as is or after undergoing additional image processing by the processor (120).

[0063] According to one embodiment, the electronic device (101) may include a plurality of camera modules (180), each having different properties or functions. In this case, for example, at least one of the plurality of camera modules (180) may be a wide-angle camera, and at least another 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 may be a rear camera.

[0064] FIG. 3A is a schematic block diagram of an electronic device according to one embodiment.

[0065] Referring to FIG. 3A, according to one embodiment, an electronic device (301) may include a first camera (310), a second camera (330), a processor (320), a memory (350), and a display (360).

[0066] According to one embodiment, the processor (320) can control the overall operation of the electronic device (301). For example, the processor (320) can be implemented identically or similarly to the processor (120) of FIG. 1.

[0067] According to one embodiment, the electronic device (301) may include a plurality of cameras. For example, the plurality of cameras may include a first camera (310) and a second camera (330). According to one embodiment, the first camera (310) and the second camera (330) may be implemented in the same or similar manner as the camera module (180) of FIG. 2. According to one embodiment, the angle of view of the first camera (310) may be different from the angle of view of the second camera (330). According to one embodiment, the first camera (310) and the second camera (330) may be disposed on the rear of the electronic device (301).

[0068] According to one embodiment, the first camera (310) may include a first lens assembly (311), a first driving unit (312), a first sensor (313), and a first image sensor (316). According to one embodiment, the second camera (330) may include a second lens assembly (331), a second driving unit (332), a second sensor (333), and a second image sensor (336).

[0069] According to one embodiment, the first driving unit (312) may include a first coil (314) and a first magnet (315). According to one embodiment, the second driving unit (332) may include a second coil (334) and a second magnet (335).

[0070] According to one embodiment, the driving methods of the first camera (310) and the second camera (330) may be set differently. According to one embodiment, the processor (320) may drive the first camera (310) or the second camera (330) using a pulse width modulation (PWM) driving method or a linear driving method. According to one embodiment, the operation of driving the first camera (310) or the second camera (330) may include the operation of driving the first driving unit (312) or the second driving unit (332). According to one embodiment, the operation of driving the first driving unit (312) or the second driving unit (332) may include the operation of moving the position of the first driving unit (312) or the second driving unit (332).

[0071] According to one embodiment, the operation of moving the position of the first driving unit (312) may include an operation of moving the position of the first coil (314) or the first magnet (315). According to one embodiment, the position of the first lens assembly (311) may be moved based on the movement of the position of the first coil (314) or the first magnet (315). According to one embodiment, the operation of moving the position of the second driving unit (332) may include an operation of moving the position of the second coil (334) or the second magnet (335). According to one embodiment, the position of the second lens assembly (331) may be moved based on the movement of the position of the second coil (334) or the second magnet (335).

[0072] According to one embodiment, the first coil (314) and the first image sensor (316) may be implemented as one module. According to one embodiment, the operation of moving the position of the first driving unit (312) may include the operation of moving the positions of the first coil (314) and the first image sensor (316). According to one embodiment, the first magnet (315) and the first image sensor (316) may be implemented as one module. According to one embodiment, the operation of moving the position of the first driving unit (312) may include the operation of moving the position of a module including the first magnet (315) and the first image sensor (316).

[0073] According to one embodiment, the second coil (334) and the second image sensor (336) may be implemented as one module. According to one embodiment, the operation of moving the position of the second driving unit (332) may include the operation of moving the positions of the second coil (334) and the second image sensor (336). According to one embodiment, the second magnet (335) and the second image sensor (336) may be implemented as one module. According to one embodiment, the operation of moving the position of the second driving unit (332) may include the operation of moving the position of a module including the second magnet (335) and the second image sensor (336). For example, the processor (320) may perform a sensor shift operation.

[0074] According to one embodiment, the first coil (314), the first image sensor (316), and the first lens assembly (311) may be implemented as one module. According to one embodiment, the operation of moving the position of the first driving unit (312) may include the operation of moving the position of a module including the first coil (314), the first image sensor (316), and the first lens assembly (311). According to one embodiment, the second magnet (335), the second image sensor (336), and the second lens assembly (331) may be implemented as one module. According to one embodiment, the operation of moving the position of the second driving unit (332) may include the operation of moving the position of a module including the second magnet (335), the second image sensor (336), and the second lens assembly (331). For example, the processor (320) may perform a module shift operation.

[0075] According to one embodiment, the PWM driving method may include a method in which the processor (320) controls the duty ratio for turning the driving power on and off and applies the voltage or current output by the driving power to the driving unit (e.g., coil). For example, the current applied to the driving unit by the PWM driving method may include a pulse wave. According to one embodiment, the linear driving method may include a method in which the processor (320) adjusts the amplitude of the voltage or current output by the driving power and applies it to the driving unit.

[0076] In one embodiment, the processor (320) may confirm a request for execution of a camera function. In one embodiment, the request for execution of the camera function may include a request to display an image acquired using the first camera (310) or the second camera (330) through the display (360). In one embodiment, the processor (320) may confirm that there is a request for execution of the camera function when an image is acquired based on the execution of a camera-related application.

[0077] According to one embodiment, the processor (320) may display an image acquired using the first camera (310) or the second camera (330) on the display (360) based on a request for execution of a camera function. According to one embodiment, the image may include a preview image.

[0078] According to one embodiment, when the processor (320) determines that the image displayed on the display (360) is not acquired through the first camera (310), the processor (320) may apply a first current to the first driving unit (312) to drive the first camera (310) using a pulse width modulation (PWM) driving method while the image is displayed on the display (360). According to one embodiment, the processor (320) may drive the first camera (310) using a pulse width modulation (PWM) driving method when the image is acquired using the first camera (310) and the image is not displayed on the display (360). According to one embodiment, the processor (320) may generate a depth map for the image or perform an image processing operation, such as HDR (high dynamic range) processing. According to one embodiment, the processor (320) may drive the first camera (310) using a pulse width modulation (PWM) driving method when the first camera (310) is in an inactive state and not operating.

[0079] According to one embodiment, when the processor (320) determines that the image has been acquired through the second camera (330), the processor (320) may apply a second current to the second driving unit (332) to drive the second camera (330) using a linear driving method while the image is displayed on the display (360).

[0080] According to one embodiment, the processor (320) may perform an optical image stabilization (OIS) function to move the first camera (310) in a direction perpendicular to the optical axis by applying a first current to the first driving unit (312). According to one embodiment, the processor (320) may perform an optical image stabilization (OIS) function to move the second camera (330) in a direction perpendicular to the optical axis by applying a second current to the second driving unit (332). For example, the processor (320) may apply a second current to the second coil (334) to move the second coil (334) or the second magnet (335) in a direction perpendicular to the optical axis. For example, the processor (320) may move the second lens assembly (331) in a direction perpendicular to the optical axis based on the movement of the second coil (334) or the second magnet (335). According to one embodiment, the OIS function may include operations performed by the image stabilizer (240) of FIG. 2. According to one embodiment, the OIS function may include a function of moving the first lens assembly (311) or controlling an operating characteristic of the first image sensor (316) of the first camera (310) (e.g., adjusting a read-out timing). According to one embodiment, the OIS function may include a function of moving the second lens assembly (331) or controlling an operating characteristic of the second image sensor (336) of the second camera (330) (e.g., adjusting a read-out timing).

[0081] According to one embodiment, the processor (320) may perform an AF (auto focus) function to move the first camera (310) in the optical axis direction by applying a first current to the first driving unit (312). According to one embodiment, the processor (320) may apply a first current to the first coil (314) to move the first coil (314) or the first magnet (315) in the optical axis direction. For example, the processor (320) may move the first lens assembly (311) in the optical axis direction based on the movement of the first coil (314) or the first magnet (315). According to one embodiment, the processor (320) may perform an AF (auto focus) function to move the first camera (310) and the second camera (330) in the optical axis direction by applying a second current to the second driving unit (332). For example, the processor (320) can apply a second current to the second coil (334) to move the second coil (334) or the second magnet (335) in the optical axis direction. For example, the processor (320) can move the second lens assembly (331) in the optical axis direction based on the movement of the second coil (334) or the second magnet (335).

[0082] According to one embodiment, the first driving unit (312) may include a driving unit for performing an optical image stabilization (OIS) function. According to one embodiment, the first driving unit (312) may include a driving unit for performing an auto focus (AF) function.

[0083] In one embodiment, the first magnet (315) may include a plurality of magnets. In one embodiment, the first magnet (315) may include a first x-axis magnet (315a) (e.g., the first x-axis magnet (315a) of FIG. 4A) that moves in a direction perpendicular to the optical axis direction, and a first y-axis magnet (315b) (e.g., the first y-axis magnet (315b) of FIG. 4A). In one embodiment, the first magnet (315) may include a first z-axis magnet (315c) (e.g., the first z-axis magnet (315c) of FIG. 4A) that moves in the optical axis direction. In one embodiment, the first coil (314) may include a plurality of coils. According to one embodiment, the first coil (314) may include a first x-axis coil (314a) that electromagnetically interacts with a first x-axis magnet (315a) (e.g., the first x-axis coil (314a) of FIG. 4A), a first y-axis coil (314b) that electromagnetically interacts with a first y-axis magnet (315b) (e.g., the first y-axis coil (314b) of FIG. 4A), and a first z-axis coil (314c) that electromagnetically interacts with a first z-axis magnet (315c) (e.g., the first z-axis coil (314c) of FIG. 4A). According to one embodiment, the processor (320) may apply a first current to the first coil (314) so ​​that the first magnet (315) moves to a first designated position. According to one embodiment, the processor (320) may move the first magnet (315) to a first designated position based on applying a first current to the first coil (314). According to one embodiment, the processor (320) may identify a plurality of positions corresponding to a range in which the first magnet (315) can move through the first sensor (313). According to one embodiment, the first sensor (313) may be implemented as a hall sensor. According to one embodiment, the first designated position may include a center position among the plurality of positions.According to one embodiment, the processor (320) may move the first magnet (315) to a central position among the plurality of positions corresponding to the range within which the first magnet (315) can move. According to one embodiment, the plurality of positions corresponding to the range within which the first magnet (315) can move, and the central position among the plurality of positions corresponding to the range within which the first magnet (315) can move, may be stored in advance in the memory (350).

[0084] According to one embodiment, the processor (320) may check the current values ​​consumed by the first driving unit (312) when the first magnet (315) moves between a plurality of positions. According to one embodiment, the processor (320) may determine the position based on the current values ​​consumed by the first driving unit (312) (e.g., the first magnet (315) or the first coil (314)). According to one embodiment, the processor (320) may move the first magnet (315) based on the determined position. According to one embodiment, the processor (320) may check the position at which the current value consumed by the first driving unit (312) is minimum among the plurality of positions. According to one embodiment, the first designated position may include the position of the first magnet (315) at which the current value consumed is a specific value. According to one embodiment, the first designated position may include the position of the first magnet (315) at which the current value consumed is minimum among the current values ​​consumed. In one embodiment, the processor (320) can move the first magnet (315) to a position where the consumed current value is minimized. In one embodiment, the processor (320) can move the first magnet (315) to a specific position where the consumed current value has a specific value.

[0085] According to one embodiment, a lookup table indicating a relationship between a plurality of positions corresponding to a movable range of the first magnet (315) and the consumed current values ​​may be stored in the memory (350). According to one embodiment, the processor (320) may use the lookup table to identify the position of the first magnet (315) based on the plurality of consumed current values. According to one embodiment, the processor (320) may use the lookup table to identify the position of the first magnet (315) at which the consumed current value is the minimum among the consumed current values. According to one embodiment, the processor (320) may move the first magnet (315) to the identified position. According to one embodiment, the processor (320) may identify the angle formed between the electronic device (301) and the ground through a sensor (not shown). For example, the sensor may be implemented as an inertial sensor. However, this is an example and may not be limited thereto.

[0086] According to one embodiment, a lookup table representing a relationship between an angle formed between the electronic device (301) and the ground, current consumption values ​​consumed by the first driving unit (312), and a plurality of positions may be stored in advance in the memory (350). For example, the plurality of positions may include positions of the first magnet (315). According to one embodiment, the first designated position may include a position of the first magnet (315) at which the current consumption value is minimum among the plurality of positions at an angle formed between the electronic device (301) and the ground. According to one embodiment, the first designated position may include a position of the first magnet (315) at which the current consumption value is a specific value among the plurality of positions at an angle formed between the electronic device (301) and the ground. According to one embodiment, the processor (320) may use the lookup table to move the first magnet (315) to a position determined based on the current consumption value at an angle formed between the electronic device (301) and the ground identified through a sensor. According to one embodiment, the processor (320) may use a lookup table to move the first magnet (315) to a position where the current consumption value of the first current is minimized at an angle formed by the electronic device (301) with the ground as determined by the sensor.

[0087] According to one embodiment, the processor (320) can check whether the angle formed by the electronic device (301) with the ground is about 45 degrees or more. According to one embodiment, when it is confirmed that the angle formed by the electronic device (301) with the ground is about 45 degrees or more, the processor (320) can check a plurality of current consumption values ​​by the first driving unit (312) that are confirmed when the angle formed by the electronic device (301) with the ground is about 90 degrees. According to one embodiment, the processor (320) can move the first magnet (315) based on the plurality of current consumption values. According to one embodiment, when the angle formed by the electronic device (301) with the ground is about 90 degrees, the first magnet (315) can be moved to a position where the current consumption value among the plurality of current consumption values ​​that are confirmed is the minimum. According to one embodiment, when the processor (320) determines that the angle between the electronic device (301) and the ground is less than about 45 degrees, the processor (320) may check a plurality of current consumption values ​​by the first driving unit (312) that are determined when the angle between the electronic device (301) and the ground is about 0 degrees. According to one embodiment, the processor (320) may move the first magnet (315) based on the plurality of current consumption values. According to one embodiment, when the angle between the electronic device (301) and the ground is about 0 degrees, the processor may move the first magnet (315) to a position where the current consumption value among the plurality of current consumption values ​​that are determined when the angle between the electronic device (301) and the ground is about 0 degrees is the minimum. 45 degrees, 90 degrees, and 0 degrees are examples, and embodiments of the present invention may not be limited to the numerical values ​​of the above angles.

[0088] According to one embodiment, the first designated position may include the position of the first magnet (315) confirmed in a state of no movement with respect to the first camera (310). According to one embodiment, when the movement of the first camera (310) according to the movement of the electronic device (301) is confirmed, the processor (320) may confirm the first position of the first magnet (315) through the first sensor (313). According to one embodiment, the processor (320) may determine the movement of the electronic device (301) obtained through a sensor (not shown) (e.g., a gyro sensor, an acceleration sensor) as the movement of the first camera (310) included in the electronic device (301). According to one embodiment, the processor (320) may confirm the second position of the first magnet (315) confirmed in a state of no movement with respect to the first camera (310). According to one embodiment, the processor (320) may move the first magnet (315) from the first position to the second position. For example, the second location may include a pre-specified location. For example, the second location may include a location acquired through the first sensor (313) before the first camera (310) begins to move.

[0089] According to one embodiment, the processor (320) may verify a user input for adjusting a magnification for the first camera (310). According to one embodiment, the processor (320) may change a method of driving the first camera (310) based on the user input for adjusting the magnification for the first camera (310). According to one embodiment, the processor (320) may change the driving method of the first camera (310) from a PWM driving method to a linear driving method. According to one embodiment, the processor (320) may drive the first camera (310) using the linear driving method. According to one embodiment, the processor (320) may apply a second current to the second coil (334) so ​​that the second magnet (335) moves to a second designated position. According to one embodiment, the processor (320) may move the second magnet (335) to the second designated position based on the application of the second current to the second coil (334). According to one embodiment, the second designated location may include a location of the second magnet (335) confirmed in a state of no movement with respect to the second camera (330). According to one embodiment, when movement with respect to the second camera (330) is confirmed, the processor (320) may move the second magnet (335) to the location of the second magnet (335) confirmed in a state of no movement with respect to the second camera (330). For example, the location of the second magnet (335) confirmed in a state of no movement with respect to the second camera (330) may include a pre-designated location. For example, the location of the second magnet (335) confirmed in a state of no movement with respect to the second camera (330) may include a location acquired through the second sensor (333) before the second camera (330) starts to move.

[0090] According to an implementation, in one embodiment, the second designated position may include a central position among a plurality of positions corresponding to a range in which the second magnet (335) can move. In one embodiment, the second designated position may include a position determined based on a current consumption value by the second driving unit (332). In one embodiment, the second designated position may include a position at which the current consumption value by the second driving unit (332) is minimum. In one embodiment, the second designated position may include a position at which the current consumption value by the second driving circuit (332) is minimum at an angle between the electronic device (301) and the ground using a lookup table. The second designated position may include a current consumption value of the second current identified when the angle between the electronic device (301) and the ground is about 90 degrees or a current consumption value of the second current identified when the angle between the electronic device (301) and the ground is about 0 degrees. According to one embodiment, the second designated position may include a position where the current consumption value of the second current, which is confirmed when the angle between the electronic device (301) and the ground is about 90 degrees, is minimum, or a position where the current consumption value of the second current, which is confirmed when the angle between the electronic device (301) and the ground is about 0 degrees, is minimum. According to one embodiment, when the angle between the electronic device (301) and the ground is about 45 degrees or more, the processor (320) may move the second magnet (335) to a position where the current consumption value of the second current, which is confirmed when the angle between the electronic device (301) and the ground is about 90 degrees, is minimum. According to one embodiment, when the angle between the electronic device (301) and the ground is less than about 45 degrees, the processor (320) may move the second magnet (335) to a position where the current consumption value of the second current, which is confirmed when the angle between the electronic device (301) and the ground is about 0 degrees, is minimum. However, this is an example, and embodiments of the present invention may not be limited to the above angle values.

[0091] According to one embodiment, the electronic device (301) may further include a third camera (340). According to one embodiment, the third camera (340) may be disposed on the rear of the electronic device (301). According to one embodiment, the third camera (340) may include a third lens assembly (341), a third driving unit (342), a third sensor (343), and a third image sensor (346). According to one embodiment, the third camera (340) may have a different angle of view from the angle of view of the first camera (310) and the angle of view of the second camera (330). According to one embodiment, the third driving unit (342) may include a third magnet (345) and a third coil (344). According to one embodiment, the third sensor (343) may include a Hall sensor. According to one embodiment, the third camera (340) may be implemented in the same or similar manner as the camera module (180) of FIG. 2.

[0092] According to one embodiment, when the processor (320) determines that the image is not acquired through the third camera (340), the processor (320) may apply a third current to the third driving unit (342) to drive the third camera (340) using a PWM driving method while the image is displayed on the display (360). According to one embodiment, when the processor (320) acquires an image using the third camera (340) and does not display the image on the display (360), the processor (320) may drive the third camera (340) using a PWM (pulse width modulation) driving method. According to one embodiment, when the third camera (340) is in an inactive state and is not operating, the processor (320) may also drive the third camera (340) using a PWM (pulse width modulation) driving method. According to one embodiment, the operation of driving the third camera (340) may include an operation of applying a third current to the third driving unit (342) to move the third magnet (345) or the third coil (344).

[0093] According to one embodiment, the processor (320) may perform an optical image stabilization (OIS) function to move the third camera (340) in a direction perpendicular to the optical axis by applying a third current to the third driving unit (342). According to one embodiment, the OIS function may include an operation performed by the image stabilizer (240) of FIG. 2. According to one embodiment, the OIS function may include a function to move the third lens assembly (341) or control an operating characteristic of the third image sensor (346) of the third camera (340) (e.g., adjust a read-out timing). According to one embodiment, the processor (320) may perform an auto focus (AF) function to move the third camera (340) in the direction of the optical axis by applying a third current to the third driving unit (342).

[0094] According to one embodiment, the processor (320) may apply current to the third coil (344) to move the third magnet (345) to a third designated position. According to one embodiment, the processor (320) may move the third magnet (345) to a third designated position based on the application of the third current to the third coil (344). According to one embodiment, the third designated position may include a central position among a plurality of positions corresponding to a range in which the third magnet (345) can move. According to one embodiment, the third designated position may include a specific position determined based on values ​​of current consumed by the third driving unit (342). According to one embodiment, the third designated position may include a position at which a current consumption value of the third current by the third driving unit (342) is minimized. According to one embodiment, the third designated position may include a position determined using a lookup table representing a relationship between angles formed between the electronic device (301) and the ground (e.g., about 0 degrees, about 90 degrees), a plurality of positions, and a plurality of current consumption values ​​by the third driving unit (342). According to one embodiment, the third designated position may include a position at which the current consumption value of the third current by the third driving unit (342) is minimum when the angle formed between the electronic device (301) and the ground is about 90 degrees, or a position at which the current consumption value of the third current by the third driving unit (342) is minimum when the angle formed between the electronic device (301) and the ground is about 0 degrees.

[0095] In one embodiment, the description of the first camera (310) can be equally applied to the third camera (340).

[0096] According to one embodiment, the processor (320) may set the method of moving the first driving unit (312) and the method of moving the third driving unit (342) differently.

[0097] For example, the processor (320) may move the first magnet (315) to a position of the first magnet (315) that is confirmed to be in a state of no movement with respect to the electronic device (301). At this time, the processor (320) may move the third magnet (345) to a position of the third magnet (345) where the current consumption of the third current by the third driving unit (342) is minimized. However, this is an example, and embodiments of the present invention may not be limited thereto.

[0098] According to one embodiment, when the processor (320) confirms a user input for a function of switching the shooting mode, a function of applying a filter, or a function of adjusting a timer for shooting, the processor (320) may not drive the first camera (310) or the third camera (340) driven using the PWM driving method. For example, the function of switching the shooting mode may include a function of switching from a front camera shooting mode to a rear camera shooting mode, or a function of switching from a rear camera shooting mode to a front camera shooting mode. For example, the function of switching the shooting mode may include a function of switching from an image shooting mode to a video shooting mode, or a function of switching from a video shooting mode to an image shooting mode. According to one embodiment, when the first camera (310) is not driven, the processor (320) may not move the first magnet (315) to the first designated position. According to one embodiment, when the third camera (340) is not driven, the processor (320) may not move the third magnet (345) to the third designated position. According to one embodiment, the information regarding the first designated position of the first magnet (315) may be equally applied to the first coil (314). According to one embodiment, the information regarding the second designated position of the second magnet (335) may be equally applied to the second coil (334). According to one embodiment, the information regarding the third designated position of the third magnet (345) may be equally applied to the third coil (344).

[0099] FIG. 3b is a drawing showing the rear side of an electronic device according to one embodiment.

[0100] Referring to FIG. 3B, an electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may include a plurality of cameras. The electronic device (301) may include a first camera (310) and a second camera (330). Depending on the implementation, the electronic device (301) may further include a third camera (340). However, this is merely an example, and the number of the plurality of cameras may not be limited thereto. According to one embodiment, the first camera (310), the second camera (330), and the third camera (340) may be arranged on the rear of the electronic device (301).

[0101] In one embodiment, the angle of view of the first camera (310), the angle of view of the second camera (330), and the angle of view of the third camera (340) may be different from each other. For example, the first camera (310) may be a tele camera. For example, the second camera (330) may be a wide camera. For example, the third camera (340) may be an ultra-wide camera. However, in embodiments of the present invention, the angles of view of the first camera (310), the second camera (330), and the third camera (340) may not be limited to the above examples.

[0102] FIG. 4A is a diagram illustrating a first camera according to one embodiment.

[0103] Referring to FIG. 4A, according to one embodiment, the first camera (310) may include a first lens assembly (311), a first sensor (313), and a first driving unit (312). According to one embodiment, the first driving unit (312) may include a first magnet (315) and a first coil (314).

[0104] According to one embodiment, the first driving unit (312) may include a driving unit for performing an optical image stabilization (OIS) function to move the first camera (310) in a direction perpendicular to the optical axis. According to one embodiment, the first driving unit (312) may include a driving unit for performing an auto focus (AF) function to move the first camera (310) in the direction of the optical axis.

[0105] In one embodiment, the optical axis direction may mean the z-axis direction. In one embodiment, the direction perpendicular to the optical axis may mean the x-axis and y-axis directions.

[0106] According to one embodiment, the first magnet (315) may include at least one of a first x-axis magnet (315a), a first y-axis magnet (315b), or a first z-axis magnet (315c). According to one embodiment, the first x-axis magnet (315a) may refer to a magnet that moves in the x-axis direction, the first y-axis magnet (315b) may refer to a magnet that moves in the y-axis direction, and the first z-axis magnet (315c) may refer to a magnet that moves in the z-axis direction.

[0107] According to one embodiment, the first coil (314) may include at least one of a first x-axis coil (314a), a first y-axis coil (314b), or a first z-axis coil (314c). According to one embodiment, the first x-axis coil (314a) may refer to a coil to which a current is applied to provide a driving force for moving the first x-axis magnet (315a), the first y-axis coil (314b) may refer to a coil to which a current is applied to provide a driving force for moving the first y-axis magnet (315b), and the first z-axis coil (314c) may refer to a coil to which a current is applied to provide a driving force for moving the first z-axis magnet (315c) to the first z-axis magnet (315c). For example, the processor (320) (e.g., the processor (320) of FIG. 3A) can move the first x-axis magnet (315a) based on the electromagnetic force generated through the electromagnetic interaction between the first x-axis coil (314a) and the first x-axis magnet (315a). For example, the processor (320) (e.g., the processor (320) of FIG. 3A) can move the first y-axis magnet (315b) based on the electromagnetic force generated through the electromagnetic interaction between the first y-axis coil (314b) and the first y-axis magnet (315b). For example, the processor (320) (e.g., the processor (320) of FIG. 3A) can move the first z-axis magnet (315c) based on the electromagnetic force generated through the electromagnetic interaction between the first z-axis coil (314c) and the first z-axis magnet (315c).

[0108] According to one embodiment, the first sensor (313) may include at least one of a first x-axis sensor (313a), a first y-axis sensor (313b), or a first z-axis sensor (313c). According to one embodiment, the first x-axis sensor (313a) may sense a position of the first x-axis magnet (315a). According to one embodiment, the first y-axis sensor (313b) may sense a position of the first y-axis magnet (315b). According to one embodiment, the z-axis sensor (313c) may sense a position of the z-axis magnet (315c).

[0109] Although not shown, in one embodiment, the second camera (330) (e.g., the second camera (330) of FIG. 3A) may include at least one of a second x-axis magnet, a second y-axis magnet, or a second z-axis magnet. In one embodiment, the second camera (330) (e.g., the second camera (330) of FIG. 3A) may include at least one of a second x-axis coil, a second y-axis coil, or a second z-axis coil. In one embodiment, the second x-axis magnet may refer to a magnet that moves in the x-axis direction, the second y-axis magnet may refer to a magnet that moves in the y-axis direction, and the second z-axis magnet may refer to a magnet that moves in the z-axis direction. According to one embodiment, the second x-axis coil may mean a coil to which a current is applied to provide a driving force for moving the second x-axis magnet, the second y-axis coil may mean a coil to which a current is applied to provide a driving force for moving the second y-axis magnet, and the second z-axis coil may mean a coil to which a current is applied to provide a driving force for moving the second z-axis magnet to the second z-axis magnet.

[0110] According to one embodiment, the third camera (340) (e.g., the third camera (340) of FIG. 3A) may include at least one of a third x-axis magnet, a third y-axis magnet, or a third z-axis magnet. According to one embodiment, the third camera (340) (e.g., the third camera (340) of FIG. 3A) may include at least one of a third x-axis coil, a third y-axis coil, or a third z-axis coil. According to one embodiment, the third x-axis magnet may refer to a magnet that moves in the x-axis direction, the third y-axis magnet may refer to a magnet that moves in the y-axis direction, and the third z-axis magnet may refer to a magnet that moves in the z-axis direction. According to one embodiment, the third x-axis coil may mean a coil to which a current is applied to provide a driving force for moving the third x-axis magnet, the third y-axis coil may mean a coil to which a current is applied to provide a driving force for moving the third y-axis magnet, and the third z-axis coil may mean a coil to which a current is applied to provide a driving force for moving the third z-axis magnet to the third z-axis magnet.

[0111] FIG. 4b is a drawing showing a driving circuit representing a portion of a first driving unit according to one embodiment and a current consumption value by the first driving unit.

[0112] Referring to (a) of FIG. 4B, according to one embodiment, the first driving unit (312) (e.g., the first driving unit (312) of FIG. 3A) may include a driving circuit, a first coil (314), and a first magnet (315). According to one embodiment, the driving circuit may include a plurality of first p-channel metal oxide semiconductor (PMOS) transistors (P1), a plurality of second PMOS transistors (P2), a plurality of first n-channel metal oxide semiconductor (NMOS) transistors (N1), and a plurality of second NMOS transistors (N2).

[0113] According to one embodiment, the first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) may be implemented as field effect transistor (FET) elements or bipolar junction transistor (BJT) elements. According to one embodiment, the first driver (312) may be implemented only with a plurality of NMOS transistors instead of a plurality of PMOS transistors. However, this is an example, and embodiments of the present invention may not be limited thereto.

[0114] According to one embodiment, the first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) may be elements for controlling the direction of a current applied to the first x-axis coil (314a). The first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) may be elements for controlling the direction of a current applied to the first y-axis coil (314b). According to one embodiment, the first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) may be elements for controlling the direction of a current applied to the first z-axis coil (314c).

[0115] According to one embodiment, the first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) can form an H-bridge.

[0116] According to one embodiment, the first PMOS transistor (P1) may be disposed between the driving power source (Vm) and one end of the first x-axis coil (314a). According to one embodiment, the second NMOS transistor (N2) may be disposed between one end of the first x-axis coil (314a) (e.g., the first x-axis coil (314a) of FIG. 4A) and ground.

[0117] According to one embodiment, the second PMOS transistor (P2) may be disposed between the driving power source (Vm) and the other end of the first x-axis coil (314a). According to one embodiment, the first NMOS transistor (N1) may be disposed between the other end of the first x-axis coil (314a) and ground. According to one embodiment, the processor (320) may turn on the first PMOS transistor (P1) and the first NMOS transistor (N1), and turn off the second PMOS transistor (P2) and the second NMOS transistor (N2).

[0118] According to one embodiment, the current applied to the first coil (314) can flow in a first direction.

[0119] According to one embodiment, the processor (320) can turn on the second PMOS transistor (P2) and the second NMOS transistor (N2), and turn off the first PMOS transistor (P1) and the first NMOS transistor (N1). According to one embodiment, the current applied to the first coil (314) can flow in a second direction, which is opposite to the first direction.

[0120] According to one embodiment, the processor (320) can control the direction in which the first x-axis magnet (315a) moves based on controlling the direction in which the current flows.

[0121] According to one embodiment, the processor (320) may apply a voltage (470) to the driving circuit. The voltage (470) may represent a voltage output by the driving power source (Vm). According to one embodiment, based on the application of the voltage (470) to the driving circuit, a current or voltage may be applied to the first x-axis coil (314a). According to one embodiment, the processor (320) may apply the current or voltage to the first x-axis coil (314a) using a linear driving method. For example, the linear driving method may include a method in which the processor (320) adjusts the amplitude of the voltage or current output by the driving power source (Vm) and applies it to a driving unit (e.g., a coil).

[0122] Although not shown, according to one embodiment, the first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) may be disposed in an area where the first y-axis coil (314b) is disposed. According to one embodiment, the first PMOS transistor (P1), the second PMOS transistor (P2), the first NMOS transistor (N1), and the second NMOS transistor (N2) may be disposed in an area where the first z-axis coil (314c) is disposed.

[0123] According to one embodiment, the above descriptions can be equally applied to the second driving unit (332) and the third driving unit (342).

[0124] Referring to (b) of FIG. 4B, according to one embodiment, the processor (320) can detect the movement of the first x-axis magnet (315a) according to the movement of the first camera (310). According to one embodiment, the processor (320) can drive the first x-axis coil (314a) so that the first x-axis magnet (315a) moves to a designated position.

[0125] According to one embodiment, the first x-axis magnet (315a) can move to a position corresponding to a designated position based on the current or voltage applied to the first x-axis coil (314a). According to one embodiment, the processor (320) can check the current value (471) (I1) consumed by the first driving unit (312) to move the first x-axis magnet (315a) to a position corresponding to the designated position.

[0126] According to an implementation, according to one embodiment, the processor (320) can check the movement of the first x-axis coil (314a) (e.g., the first x-axis coil (314a) of FIG. 3A) according to the movement of the first camera (310). According to one embodiment, the processor (320) can drive the first x-axis coil (314a) so that the first x-axis coil (314a) moves to a designated position. According to one embodiment, the first x-axis coil (314a) can move to a position corresponding to the designated position based on a current or voltage applied to the first x-axis coil (314a). According to one embodiment, the processor (320) can check the current value (471) (I1) consumed by the first driving unit (312) in order for the first x-axis coil (314a) to move to a position corresponding to the designated position.

[0127] FIG. 4c is a circuit diagram showing a portion of a first driving unit according to one embodiment and a drawing showing a current consumption value by the first driving unit.

[0128] Referring to (a) of FIG. 4c, according to one embodiment, the processor (320) (e.g., the processor (320) of FIG. 3a) may apply a voltage (480) to the driving circuit. The voltage (480) may represent a voltage output by the driving power source (Vm). According to one embodiment, based on the application of the voltage (480) to the driving circuit, a current or voltage may be applied to the first x-axis coil (314a) (e.g., the first x-axis coil (314a) of FIG. 4a).

[0129] According to one embodiment, the processor (320) may apply current or voltage to the first x-axis coil (314a) using a pulse width modulation (PWM) driving method. For example, the PWM driving method may include a method in which the processor (320) controls to adjust a duty ratio for turning on and off the driving power (Vm) and applies a voltage or current output by the driving power (Vm) to a driving unit (e.g., a coil). For example, the voltage applied to the driving unit by the PWM driving method may include a pulse wave.

[0130] Referring to (b) of FIG. 4c, according to one embodiment, the processor (320) can check the value (481) (I2) of the current consumed by the first driving unit (312) to move the first x-axis magnet (315a) to a position corresponding to a designated position.

[0131] According to one embodiment, the processor (320) can check the consumed current value (481) (I2) when the first driving unit (312) is driven using a PWM (pulse width modulation) driving method.

[0132] According to one embodiment, when the first driving unit (312) is driven using a PWM driving method, the consumed current value (481) may be smaller than the consumed current value (471) when the first driving unit (312) is driven using a linear driving method.

[0133] According to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may execute an OIS function or an AF function to move the position of the first magnet (315) when there is movement of the first camera (310) that is not acquiring an image. According to one embodiment, the electronic device (301) may execute an OIS function or an AF function to move the position of the first magnet (315) when there is movement of the first camera (310) that is acquiring an image and not displaying it on the display (360).

[0134] Depending on the implementation, in one embodiment, the electronic device (301) may execute an OIS function or an AF function to move the position of the first coil (314) (e.g., the first coil (314) of FIG. 3A) when there is movement of the first camera (310) that is not acquiring an image. In one embodiment, the electronic device (301) may execute an OIS function or an AF function to move the position of the first coil (314) when there is movement of the first camera (310) that is acquiring an image and not displaying it on the display (360).

[0135] In one embodiment, when a camera is driven using a PMW driving method, a large amount of noise may be present in the image acquired through the camera. Therefore, the electronic device (301) may drive the camera, which acquires the image displayed on the display (360), using a linear driving method to acquire a clear image.

[0136] Conventional electronic devices comprising multiple cameras can drive both the camera that captures the image displayed on the display and the other cameras that do not capture the image displayed on the display using a linear driving method. This is because, for the OIS (or AF) function of the multiple cameras, all cameras must be kept in a standby state. However, driving the other cameras that do not capture the image displayed on the display using a linear driving method may result in excessive power consumption.

[0137] According to one embodiment, the electronic device (301) can reduce the current consumed by the camera by driving the first camera (310) that is not acquiring an image using a PWM driving method that consumes less power than a linear driving method.

[0138] The operations of the electronic device (301) described in the drawings below may be performed by the processor (320). However, for convenience of explanation, the operations performed by the processor (320) will be described as being performed by the electronic device (301).

[0139] FIG. 5A is a diagram showing an electronic device displaying an image on a display according to one embodiment.

[0140] Referring to FIG. 5A, according to one embodiment, an electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may provide a live preview mode to acquire a preview image of a subject in real time using at least one of a first camera (310) (e.g., the first camera (310) of FIG. 3A) or a second camera (330) (e.g., the second camera (330) of FIG. 3A) and display the preview image through a display (360) (e.g., the display (360) of FIG. 3A).

[0141] According to one embodiment, the electronic device (301) may display a user interface that provides at least one of a function for adjusting the magnification of the first camera (310) or the second camera (330), a function for adjusting the focus, or a function for selecting a subject or background included in the preview image to be focused on, while displaying a preview image through the display (360). For example, the user interface may be displayed in an area of ​​the display (360) where the preview image is displayed, or may be displayed in a remaining area of ​​the display (360). For example, the electronic device (301) may obtain a first image using the first camera (310). For example, the electronic device (301) may obtain a second image using the second camera (330). According to one embodiment, the first image and the second image may include a preview image. According to one embodiment, the electronic device (301) may display a second image acquired through the second camera (330) in the first area (510) through the display (360). For example, the electronic device (301) may not display the first image (e.g., an image captured through the first camera (310)) through the display (360). In this case, the electronic device (301) may not capture an image through the first camera (310) or may discard (or not display on the display (360)) an image captured through the first camera (310).

[0142] According to one embodiment, the electronic device (301) may drive the first camera (310) using a pulse width modulation (PWM) driving method while the second image is displayed on the display (360). For example, the electronic device (301) may apply a first current to the first driving unit (312) (e.g., the first driving unit (312) of FIG. 3A) using a pulse width modulation (PWM) driving method so that the first magnet (315) moves to a designated position for the OIS function (or AF function) of the first camera (310).

[0143] According to one embodiment, the electronic device (301) may drive the second camera (330) using a linear driving method while the second image is displayed on the display (360). For example, the electronic device (301) may apply a second current to the second driving unit (332) using a linear driving method so that the second driving unit (332) (e.g., the second driving unit (332) of FIG. 3A) moves for the OIS function (or AF function) of the second camera (330).

[0144] FIG. 5b is a diagram showing an electronic device displaying an image on a display according to one embodiment.

[0145] Referring to FIG. 5B, according to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may obtain a third image using the first camera (310) (e.g., the first camera (310) of FIG. 3A). According to one embodiment, the electronic device (301) may obtain a fourth image using the second camera (330) (e.g., the second camera (330) of FIG. 3A). According to one embodiment, the electronic device (301) may obtain a fifth image using the third camera (340) (e.g., the third camera (340) of FIG. 3A). According to one embodiment, the angle of view of the first camera (310), the angle of view of the second camera (330), and the angle of view of the third camera (340) may be different from each other. According to one embodiment, the third image, the fourth image, and the fifth image may include a preview image.

[0146] According to one embodiment, the electronic device (301) may display a plurality of images acquired through the first camera (310), the second camera (330), and the third camera (340) in a plurality of areas (520, 530, 540) of the display (360) (e.g., the display (360) of FIG. 3A). According to one embodiment, the electronic device (301) may display at least a portion of the third image in the second area (520). According to one embodiment, the electronic device (301) may display at least a portion of the fourth image in the third area (530). According to one embodiment, the electronic device (301) may display at least a portion of the fifth image in the fourth area (540). For example, the second area (520) may include an upper area among the plurality of areas. For example, the fourth area (540) may include a lower area among the plurality of areas. For example, the third region (530) may include a central region among the plurality of regions.

[0147] According to one embodiment, the electronic device (301) may apply a first current to the first driving unit (312) (e.g., the first driving unit (312) of FIG. 3A) using a pulse width modulation (PWM) driving method to move the first camera (310) while at least a portion of the third image is displayed in the second area (520) of the display (360).

[0148] According to one embodiment, the electronic device (301) may apply a second current to the second driving unit (332) (e.g., the second driving unit (332) of FIG. 3A) using a linear driving method to move the second camera (330) while at least a portion of the fourth image is displayed in the third area (530) of the display (360).

[0149] According to one embodiment, the electronic device (301) may apply a third current to a third driving unit (342) (e.g., the third driving unit (342) of FIG. 3A) using a pulse width modulation (PWM) driving method to move the third camera (340) while at least a portion of the fifth image is displayed in the fourth area (540) of the display (360).

[0150] According to one embodiment, the electronic device (301) may display at least a portion of the fourth image in the third area (530) and at least a portion of the third image in the second area (520) and the fourth area (540). According to one embodiment, the electronic device (301) may display at least a portion of the fourth image in the third area (530) and at least a portion of the fifth image in the second area (520) and the fourth area (540).

[0151] FIG. 6 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a first camera and a second camera.

[0152] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0153] According to one embodiment, operations 611 to 621 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0154] Referring to FIG. 6, according to one embodiment, in operation 611, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may confirm a request for execution of a camera function. According to one embodiment, the request for execution of the camera function may include a request to acquire an image using the first camera (310) (e.g., the first camera (310) of FIG. 3A) or the second camera (330) (e.g., the second camera (330) of FIG. 3A) and display the image through the display (360) (e.g., the display (360) of FIG. 3A). According to one embodiment, the electronic device (301) may confirm that there is a request for execution of the camera function when an application related to the camera is executed and an image is captured.

[0155] According to one embodiment, in operation 613, the electronic device (301) may obtain an image. For example, the image may include a preview image.

[0156] According to one embodiment, in operation 615, the electronic device (301) may display an image via a display (360) (e.g., the display (360) of FIG. 3A).

[0157] According to one embodiment, in operation 617, the electronic device (301) may determine whether the image was acquired through the first camera (310) (e.g., the first camera (310) of FIG. 3A).

[0158] According to one embodiment, when the electronic device (301) determines that the image is acquired through the first camera (310) (operation 617 - Yes), in operation 619, the electronic device (301) may drive the first camera (310) using a linear driving method and drive the second camera (330) (e.g., the second camera (330) of FIG. 3A) using a pulse width modulation (PWM) driving method. According to one embodiment, the operation of the electronic device (301) driving the first camera (310) may include the operation of the electronic device (301) moving the position of the first driving unit (312) (e.g., the first driving unit (312) of FIG. 3A). For example, the electronic device (301) may move the position of the first magnet (315) (e.g., the first magnet (315) of FIG. 3A) or the first coil (314) (e.g., the first coil (314) of FIG. 3A). According to one embodiment, the operation of the electronic device (301) driving the second camera (330) may include an operation of the electronic device (301) moving the position of the second driving unit (332) (e.g., the second driving unit (332) of FIG. 3A). For example, the electronic device (301) may move the position of the second magnet (335) (e.g., the second magnet (335) of FIG. 3A) or the second coil (334). For example, the PWM driving method may include a method of controlling the electronic device (301) to adjust the duty ratio of turning the driving power on and off and applying the voltage or current output by the driving power to the driving unit (e.g., the coil). For example, the current applied to the driving unit by the PWM driving method may include a pulse wave. For example, the linear driving method may include a method of controlling the amplitude of the voltage or current output by the driving power and applying it to the driving unit.

[0159] According to one embodiment, if the electronic device (301) determines that the image is acquired through the second camera (330) (operation 617-No), in operation 621, the electronic device (301) may drive the first camera (310) using a PWM driving method and drive the second camera (330) using a linear driving method.

[0160] According to one embodiment, the electronic device (301) may drive the first camera (310) by applying a first current to the first driving unit (312) included in the first camera (310) (e.g., the first driving unit (312) of FIG. 3A). According to one embodiment, the electronic device (301) may drive the second camera (330) by applying a second current to the second driving unit (332) included in the second camera (330) (e.g., the second driving unit (332) of FIG. 3A). According to one embodiment, the electronic device (301) may perform an optical image stabilization (OIS) function of moving the first camera (310) in a direction perpendicular to the optical axis by applying the first current to the first driving unit (312). According to one embodiment, the electronic device (301) may perform an optical image stabilization (OIS) function to move the second camera (330) in a direction perpendicular to the optical axis by applying a second current to the second driving unit (332). According to one embodiment, the electronic device (301) may perform an auto focus (AF) function to move the first lens assembly (311) (e.g., the first lens assembly (311) of FIG. 3A) in the optical axis direction by applying a first current to the first driving unit (312). According to one embodiment, the electronic device (301) may perform an auto focus (AF) function to move the second lens assembly (331) (e.g., the second lens assembly (331) of FIG. 3A) in the optical axis direction by applying a second current to the second driving unit (332).

[0161] FIG. 7 is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on current consumed by a first driving unit.

[0162] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0163] According to one embodiment, operations 711 to 715 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0164] Referring to FIG. 7, according to one embodiment, in operation 711, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive the first camera (310) (e.g., the first camera (310) of FIG. 3A) using a pulse width modulation (PWM) driving method. According to one embodiment, the electronic device (301) may drive the first camera (310) by applying a first current to the first coil (314) (e.g., the first coil (314) of FIG. 3A).

[0165] According to one embodiment, in operation 713, the electronic device (301) may use the first sensor (313) (e.g., the first sensor (313) of FIG. 3A) to identify a plurality of positions corresponding to a range in which the first magnet (315) (e.g., the first magnet (315) of FIG. 3A) can move. According to one embodiment, the electronic device (301) may also identify a plurality of positions corresponding to a range in which the first magnet (315) can move, which are pre-stored in the memory (350) (e.g., the memory (350) of FIG. 3A). Depending on the implementation, the electronic device (301) may use the first sensor (313) to identify a plurality of positions corresponding to a range in which the first coil (314) can move. According to one embodiment, the electronic device (301) may also identify a plurality of positions corresponding to a range in which the first coil (314) can move, which are pre-stored.

[0166] According to one embodiment, in operation 715, the electronic device (301) may move the first magnet (315) based on information about a center position among a plurality of positions corresponding to a range in which the first magnet (315) can move. According to one embodiment, the electronic device (301) may move the first magnet (315) to a center position among the plurality of positions. According to one embodiment, the electronic device (301) may move the first lens assembly (311) (e.g., the first lens assembly (311) of FIG. 3A) based on the movement of the first magnet (315). Depending on the implementation, the electronic device (301) may move the first coil (314) based on information about a center position among a plurality of positions corresponding to a range in which the first coil (314) can move. According to one embodiment, the electronic device (301) may move the first coil (314) to a center position among the plurality of positions.

[0167] FIG. 8 is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on current consumed by a first driving unit.

[0168] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0169] According to one embodiment, operations 811 to 819 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0170] Referring to FIG. 8, according to one embodiment, in operation 811, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive the first camera (310) (e.g., the first camera (310) of FIG. 3A) using a pulse width modulation (PWM) driving method. According to one embodiment, the electronic device (301) may drive the first camera (310) by applying a first current to the first coil (314) (e.g., the first coil (314) of FIG. 3A).

[0171] According to one embodiment, in operation 813, the electronic device (301) can use the first sensor (313) (e.g., the first sensor (313) of FIG. 3A) to determine a plurality of positions corresponding to a range in which the first magnet (315) (e.g., the first magnet (315) of FIG. 3A) can move. According to one embodiment, the electronic device (301) can also use the first sensor (313) to determine a plurality of positions corresponding to a range in which the first coil (314) can move.

[0172] According to one embodiment, in operation 815, the electronic device (301) can check a plurality of consumption current values ​​consumed by the first driving unit (312) when the first magnet (315) moves between a plurality of positions. According to one embodiment, the electronic device (301) can check a plurality of consumption current values ​​consumed by the first driving unit (312) when the first coil (314) moves between a plurality of positions.

[0173] According to one embodiment, in operation 817, the electronic device (301) may determine a location to which the first magnet (315) is to move based on the consumed current values. For example, the electronic device (301) may determine a location of the first magnet (315) at which the consumed current value is the minimum among a plurality of consumed current values ​​among a plurality of locations, as a location to which the first magnet (315) is to move. For example, the electronic device (301) may determine a location corresponding to a specific consumed current value among a plurality of consumed current values, as a location to which the first magnet (315) is to move.

[0174] According to one embodiment, the electronic device (301) may determine the location at which the first coil (314) moves based on the consumed current values. For example, the electronic device (301) may determine the location at which the consumed current value is minimum as the location at which the first coil (314) moves. For example, the electronic device (301) may determine the location corresponding to a specific consumed current value among a plurality of consumed current values ​​as the location at which the first coil (314) moves.

[0175] In one embodiment, at operation 819, the electronic device (301) may move the first magnet (315) to the determined position to move the first lens assembly (311) (e.g., the first lens assembly (311) of FIG. 3A). In one embodiment, the electronic device (301) may move the first coil (314) to the determined position to move the first lens assembly (311).

[0176] Depending on the implementation, according to one embodiment, a lookup table indicating a relationship between a plurality of positions of the first magnet (315) and the consumed current values ​​may be pre-stored in the memory (350) (e.g., the memory (350) of FIG. 3A). According to one embodiment, the electronic device (301) may use the lookup table to move the first magnet (315) to a position corresponding to a specific consumed current value among the plurality of consumed current values. According to one embodiment, the electronic device (301) may use the lookup table to move the first magnet (315) to a position where the consumed current value is minimized. According to one embodiment, a lookup table indicating a relationship between a plurality of positions of the first coil (314) and the consumed current values ​​may be pre-stored in the memory (350) (e.g., the memory (350) of FIG. 3A). According to one embodiment, the electronic device (301) may use a lookup table to move the first coil (314) to a position corresponding to a specific consumed current value among a plurality of consumed current values. According to one embodiment, the electronic device (301) may also use the lookup table to move the first coil (314) to a position where the consumed current value is minimized.

[0177] FIG. 9A is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on an angle formed with the ground.

[0178] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0179] According to one embodiment, operations 913 to 923 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0180] Referring to FIG. 9A, according to one embodiment, in operation 913, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive the first camera (310) (e.g., the first camera (310) of FIG. 3A) using a pulse width modulation (PWM) driving method. According to one embodiment, the electronic device (301) may drive the first camera (310) by applying a first current to the first coil (314) (e.g., the first coil (314) of FIG. 3A).

[0181] According to one embodiment, in operation 915, the electronic device (301) can check the angle between the electronic device (301) and the ground, and check whether the angle between the electronic device (301) and the ground is greater than or equal to about 45 degrees. For example, the electronic device (301) can check the angle between the electronic device (301) and the ground through a sensor (not shown). For example, the sensor may include an inertial sensor.

[0182] According to one embodiment, when the electronic device (301) determines that the angle between the electronic device (301) and the ground is about 45 degrees or more (operation 915 - Yes), in operation 917, the electronic device (301) can determine the position of the first magnet (315) at which the current consumption value by the first driving unit (312) (e.g., the first driving unit (312) of FIG. 3A) is minimized when the angle between the electronic device (301) and the ground is about 90 degrees. According to one embodiment, a lookup table indicating the relationship between the angle between the electronic device (301) and the ground, the current consumption values, and the plurality of positions of the first magnet (315) may be stored in advance in a memory (e.g., the memory (350) of FIG. 3A). According to one embodiment, the electronic device (301) can use a lookup table to determine the position of the first magnet (315) at which the current consumed by the first driving unit (312) is minimized when the angle between the electronic device (301) and the ground is approximately 90 degrees.

[0183] According to one embodiment, the electronic device (301) may also identify the position of the first coil (314) at which the current consumption value by the first driving unit (312) is minimized.

[0184] According to one embodiment, in operation 919, the electronic device (301) may move the first magnet (315) based on the identified position. According to one embodiment, the electronic device (301) may move the first magnet (315) to a position where the current consumption is minimized when the angle between the electronic device (301) and the ground is about 90 degrees. According to one embodiment, the electronic device (301) may move the first lens assembly (311) based on the movement of the first magnet (315). According to one embodiment, the electronic device (301) may also move the first coil (314) to a position where the current consumption is minimized when the angle between the electronic device (301) and the ground is about 90 degrees. According to one embodiment, the electronic device (301) may move the first lens assembly (311) based on the movement of the first coil (314).

[0185] According to one embodiment, if the electronic device (301) determines that the angle between the electronic device (301) and the ground is not greater than about 45 degrees (operation 915-No), in operation 921, the electronic device (301) can determine the position of the first magnet (315) at which the current consumption by the first driving unit (312) is minimized when the angle between the electronic device (301) and the ground is about 0 degrees. According to one embodiment, the electronic device (301) can use a lookup table to determine the position of the first magnet (315) at which the current consumption is minimized when the angle between the electronic device (301) and the ground is 0 degrees. According to one embodiment, the electronic device (301) can determine the position of the first coil (314) at which the current consumption by the first driving unit (312) is minimized when the angle between the electronic device (301) and the ground is about 0 degrees. According to one embodiment, the electronic device (301) can use a lookup table to determine the position of the first coil (314) at which the current consumption is minimized when the angle between the electronic device (301) and the ground is 0 degrees.

[0186] According to one embodiment, in operation 923, the electronic device (301) may move the first magnet (315) based on the identified position. According to one embodiment, the electronic device (301) may move the first magnet (315) to a position where the current consumption of the first current is minimized when the angle between the electronic device (301) and the ground is about 0 degrees. According to one embodiment, the electronic device (301) may move the first lens assembly (311) based on the movement of the first magnet (315). According to one embodiment, the electronic device (301) may move the first coil (314) to a position where the current consumption of the first current is minimized when the angle between the electronic device (301) and the ground is about 0 degrees. According to one embodiment, the electronic device (301) may move the first lens assembly (311) based on the movement of the first coil (314).

[0187] FIG. 9b is a drawing for explaining the angle between an electronic device and the ground according to one embodiment.

[0188] Referring to (a) of FIG. 9B, according to one embodiment, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) can determine the angle formed between the ground (900) and the electronic device (301). According to one embodiment, the electronic device (301) can determine that the angle formed between the ground (900) and the electronic device (301) is approximately 0 degrees.

[0189] Referring to (b) of FIG. 9B, according to one embodiment, the electronic device (301) can confirm that the angle formed by the ground (900) and the electronic device (301) is approximately 90 degrees.

[0190] FIG. 9c is a diagram showing a graph of the position of the first magnet and the current consumption value by the first driving unit corresponding to the position of the first magnet according to one embodiment.

[0191] Referring to FIG. 9c, according to one embodiment, the x-axis of the graph may mean the position of the first magnet (315) (e.g., the first magnet (315) of FIG. 3a), and the y-axis of the graph may mean the current value consumed by the first driving unit (312) (e.g., the first driving unit (312) of FIG. 3a).

[0192] According to one embodiment, the electronic device (301) can move the position of the first magnet (315) and check the current consumption values ​​(940) according to the movement of the position of the first magnet (315). According to one embodiment, the current consumption values ​​(940) according to the movement of the first magnet (315) may be stored in advance in the memory (350) (e.g., the memory (350) of FIG. 3A). For example, the current consumption values ​​(940) according to the movement of the first magnet (315) may represent current consumption values ​​when the angle formed by the electronic device (301) and the ground (900 of FIG. 9B) is approximately 90 degrees.

[0193] According to one embodiment, when the first camera (310) (e.g., the first camera (310) of FIG. 3A) is driven in a PWM driving manner, the electronic device (301) may move the first magnet (315) to a position corresponding to a specific value among the current consumption values ​​(940) according to the movement of the first magnet (315). For example, the electronic device (301) may move the first magnet (315) to a position (P1) at which the current consumption value among the current consumption values ​​(940) according to the movement of the first magnet (315) becomes minimum (I1).

[0194] For example, the current consumption values ​​(950) according to the movement of the first magnet (315) may represent current consumption values ​​when the angle formed between the electronic device (301) and the ground (900) is approximately 0 degrees.

[0195] According to one embodiment, when the first camera (310) is driven in a PWM driving manner, the electronic device (301) may move the first magnet (315) to a position corresponding to a specific value among the current consumption values ​​(950) according to the movement of the first magnet (315). For example, the electronic device (301) may move the first magnet (315) to a position (P2) at which the current consumption value among the current consumption values ​​(950) according to the movement of the first magnet (315) becomes minimum (I2).

[0196] However, this is an example, and the electronic device (301) may also identify the consumption current values ​​according to the movement of the first coil (314) (e.g., the first coil (314) of FIG. 3A) and the position of the first coil (314) based on the consumption current values. According to one embodiment, the electronic device (301) may move the first coil (314) based on the identified first coil (314).

[0197] FIG. 10 is a flowchart illustrating an operation of an electronic device according to one embodiment to move a first camera based on a position of a first magnet confirmed in a state of no movement with respect to the first camera.

[0198] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0199] According to one embodiment, operations 1011 to 1017 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0200] Referring to FIG. 10, in operation 1011, an electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive a first camera (310) (e.g., the first camera (310) of FIG. 3A) using a PWM (pulse width modulation) driving method.

[0201] According to one embodiment, in operation 1013, the electronic device (301) can use the first sensor (313) (e.g., the first sensor (313) of FIG. 3A) to determine a first position of the first magnet (315) (e.g., the first magnet (315) of FIG. 3A) according to the movement of the electronic device (301). According to one embodiment, the electronic device (301) can also determine a second position of the first coil (314).

[0202] According to one embodiment, in operation 1015, the electronic device (301) may determine a reference position of the first magnet (315). For example, the reference position may include a pre-specified position. For example, the reference position of the first magnet (315) may include a position of the first magnet (315) determined when there is no movement of the electronic device (301).

[0203] For example, the reference position of the first magnet (315) may include the position of the first magnet (315) that is confirmed when the first lens assembly (311) and the first image sensor (316) (e.g., the first image sensor (316) of FIG. 3A) are aligned around the optical axis (e.g., the z-axis of FIG. 4A) representing the central axis of the first lens assembly (311) (e.g., the first lens assembly (311) of FIG. 3A). According to one embodiment, the electronic device (301) may perform an OIS function of moving the first camera (310) in a direction perpendicular to the optical axis. However, this is an example, and the function of the first camera (310) may not be limited thereto.

[0204] For example, the reference position of the first magnet (315) may include a position determined based on the focal length (e.g., about 2 m or more) of the first lens assembly (311). According to one embodiment, the electronic device (301) may perform an AF function that moves the first camera (310) in the optical axis direction. However, this is an example, and the function of the first camera (310) may not be limited thereto.

[0205] According to one embodiment, the electronic device (301) may also determine the reference position of the first coil (314). For example, the reference position of the first coil (314) may include a position of the first coil (314) determined when there is no movement of the electronic device (301). For example, the reference position of the first coil (314) may include a position of the first coil (314) determined when the first lens assembly (311) and the first image sensor (316) (e.g., the first image sensor (316) of FIG. 3A) are aligned around an optical axis (e.g., the z-axis of FIG. 4A) representing the central axis of the first lens assembly (311). For example, the reference position of the first coil (314) may include a position determined based on a focal length (e.g., about 2 m or more) of the first lens assembly (311).

[0206] According to one embodiment, in operation 1017, the electronic device (301) can move the first magnet (315) to a reference position. According to one embodiment, the electronic device (301) can move the first magnet (315) from a first position to a reference position of the first magnet (315). According to one embodiment, the electronic device (301) can move the first coil (314) from a second position to a reference position of the first coil (314). FIG. 11 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a first camera when a magnification for the first camera is adjusted.

[0207] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0208] According to one embodiment, operations 1111 to 1115 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0209] Referring to FIG. 11, according to one embodiment, in operation 1111, an electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive a first camera (310) (e.g., the first camera (310) of FIG. 3A) using a pulse width modulation (PWM) driving method.

[0210] In one embodiment, at operation 1113, the electronic device (301) may identify a user input for adjusting a magnification for the first camera (310). In one embodiment, the electronic device (301) may identify a user input for increasing or decreasing a magnification for the first camera (310).

[0211] According to one embodiment, in operation 1115, the electronic device (301) may drive the first camera (310) using a linear driving method. According to one embodiment, the electronic device (301) may change the driving method of the first camera (310) from a PWM (pulse width modulation) driving method to a linear driving method based on the input of the user.

[0212] FIG. 12 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to drive a second camera.

[0213] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0214] According to one embodiment, operations 1211 to 1217 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0215] Referring to FIG. 12, according to one embodiment, in operation 1211, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive the second camera (330) (e.g., the second camera (330) of FIG. 3A) using a linear driving method. According to one embodiment, the electronic device (301) may drive the second camera (330) by applying a second current to the second coil (334) (e.g., the second coil (334) of FIG. 3A).

[0216] According to one embodiment, in operation 1213, the electronic device (301) can detect movement of the electronic device (301) through a second sensor (333) (e.g., the second sensor (333) of FIG. 3A), and detect a third position of a second magnet (335) (e.g., the second magnet (335) of FIG. 3A) according to the movement of the electronic device (301).

[0217] According to one embodiment, in operation 1215, the electronic device (301) can determine the reference position of the second magnet (335). For example, the reference position of the second magnet (335) can include the position of the second magnet (335) determined through the second sensor (333) when there is no movement of the electronic device (301).

[0218] For example, the reference position of the second magnet (335) may include the position of the second magnet (335) that is confirmed when the second lens assembly (331) and the second image sensor (336) (e.g., the second image sensor (336) of FIG. 3A) are aligned around the optical axis (e.g., the z-axis of FIG. 4A) representing the central axis of the second lens assembly (331) (e.g., the second lens assembly (331) of FIG. 3A). According to one embodiment, the electronic device (301) may perform an OIS function of moving the second camera (330) in a direction perpendicular to the optical axis. However, this is an example, and the function of the second camera (330) may not be limited thereto.

[0219] For example, the reference position of the second magnet (335) may include a position determined based on the focal length (e.g., about 2 m or more) of the second lens assembly (331). According to one embodiment, the electronic device (301) may perform an AF function that moves the second camera (330) in the optical axis direction. However, this is an example, and the function of the second camera (330) may not be limited thereto.

[0220] According to one embodiment, in operation 1217, the electronic device (301) may move the second magnet (335) to a reference position.

[0221] However, this is an example, and in embodiments of the present invention, the electronic device (301) may move the second coil (334) (e.g., the second coil (334) of FIG. 3A) to a reference position of the second coil (334). The description of the reference position of the second coil (334) with respect to the first coil (314) described in FIG. 11 may be equally applied.

[0222] FIG. 13 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a third camera.

[0223] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0224] According to one embodiment, operations 1311 to 1317 may be understood to be performed in a processor (e.g., processor (320) of FIG. 3A) of an electronic device (e.g., electronic device (301) of FIG. 3A).

[0225] Referring to FIG. 13, according to one embodiment, in operation 1311, an electronic device (301) (e.g., the electronic device (301) of FIG. 3A) may drive a first camera (310) (e.g., the first camera (310) of FIG. 3A) using a pulse width modulation (PWM) driving method.

[0226] According to one embodiment, in operation 1313, the electronic device (301) may drive the third camera (340) (e.g., the third camera (340) of FIG. 3A) using a pulse width modulation (PWM) driving method. According to one embodiment, the angle of view of the first camera (310) may be different from the angle of view of the third camera (340). For example, the angle of view of the third camera (340) may be larger than the angle of view of the first camera (310).

[0227] According to one embodiment, in operation 1315, the electronic device (301) may move the first magnet (315) (e.g., the first magnet (315) of FIG. 3A) to a reference position of the first magnet (315). For example, the reference position may include a position of the first magnet (315) before the electronic device (301) begins to move. For example, the reference position may include a position acquired through the first sensor (313) (e.g., the first sensor (313) of FIG. 3A) before the electronic device (301) begins to move.

[0228] For example, the reference position of the first magnet (315) may include the position of the first magnet (315) that is confirmed when the first lens assembly (311) and the first image sensor (316) (e.g., the first image sensor (316) of FIG. 3A) are aligned around the optical axis (e.g., the z-axis of FIG. 4A) representing the central axis of the first lens assembly (311) (e.g., the first lens assembly (311) of FIG. 3A). According to one embodiment, the electronic device (301) may perform an OIS function of moving the first camera (310) in a direction perpendicular to the optical axis. However, this is an example, and the function of the first camera (310) may not be limited thereto.

[0229] For example, the reference position of the first magnet (315) may include a position determined based on the focal length (e.g., about 2 m or more) of the first lens assembly (311). According to one embodiment, the electronic device (301) may perform an AF function to move the first camera (310) in the optical axis direction. However, this is an example, and the function of the first camera (310) may not be limited thereto. According to one embodiment, in operation 1317, the electronic device (301) may move the third magnet (345) (e.g., the third magnet (345) of FIG. 3A) to a position determined based on current values ​​consumed by the third driving unit (342) (e.g., the third driving unit (342) of FIG. 3A). For example, the electronic device (301) can move the third magnet (345) to a position where the current consumed by the third driving unit (342) is minimized among a plurality of positions corresponding to the range in which the third magnet (345) can move. For example, the electronic device (301) can move the third magnet (345) to a position of the third magnet (345) where the current consumed by the third driving unit (342) is minimized at a specific angle (e.g., about 0 degrees or about 90 degrees) formed between the electronic device (301) and the ground.

[0230] However, this is an example, and in embodiments of the present invention, the electronic device (301) may move the first coil (314) (e.g., the first coil (314) of FIG. 3A) and the third coil (344) (e.g., the third coil (344) of FIG. 3A).

[0231] FIG. 14 is a flowchart illustrating an operation of an electronic device according to one embodiment to drive a first camera, a second camera, and a third camera.

[0232] Referring to FIG. 14, according to one embodiment, the angle of view of the first camera (310) (e.g., the first camera (310) of FIG. 3A), the angle of view of the second camera (330) (e.g., the second camera (330) of FIG. 3A), and the angle of view of the third camera (340) (e.g., the third camera (340) of FIG. 3A) may be different from each other. For example, the first camera (310) may be a tele camera. For example, the second camera (330) may be a wide camera. For example, the third camera (340) may be an ultra-wide camera. However, this is an example, and embodiments of the present invention may not be limited thereto.

[0233] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0234] According to one embodiment, in operation 1411, the electronic device (301) (e.g., the electronic device (301) of FIG. 3A) can confirm that the image displayed on the display (360) (e.g., the display (360) of FIG. 3A) is an image acquired through the first camera (310). According to one embodiment, the electronic device (301) can drive the first camera (310) using a linear driving method.

[0235] According to one embodiment, in operation 1413, the electronic device (301) may drive the second camera (330) using a PWM (pulse width modulation) driving method.

[0236] According to one embodiment, in operation 1415, the electronic device (301) may drive the third camera (340) using a pulse width modulation (PWM) driving method.

[0237] According to one embodiment, in operation 1417, the electronic device (301) may move the second magnet (335) based on the position of the second magnet (335) (e.g., the second magnet (335) of FIG. 3A) according to the movement of the electronic device (301).

[0238] According to one embodiment, the electronic device (301) can determine the position of the second magnet (335) according to the movement of the electronic device (301). According to one embodiment, the electronic device (301) can determine the position of the second coil (334) according to the movement of the electronic device (301).

[0239] According to one embodiment, the electronic device (301) can determine the reference position of the second magnet (335). According to one embodiment, the electronic device (301) can determine the position of the second coil (334).

[0240] For example, the reference position of the second magnet (335) may include the position of the second magnet (335) that is confirmed when there is no movement of the electronic device (301). For example, the reference position of the second coil (334) may include the position of the second coil (334) that is confirmed when there is no movement of the electronic device (301).

[0241] According to one embodiment, in operation 1419, the electronic device (301) may move a third magnet (345) (e.g., the third magnet (345) of FIG. 3A) from a current position identified through a third sensor (343) (e.g., the third sensor (343) of FIG. 3A) to a preset position.

[0242] According to one embodiment, the electronic device (301) can use the third sensor (343) to identify a plurality of positions corresponding to a range in which the third magnet (345) or the third coil (344) (e.g., the third coil (344) of FIG. 3A) can move. According to one embodiment, the electronic device (301) can identify a plurality of consumption current values ​​consumed by the third driving unit (342) (e.g., the third driving unit (342) of FIG. 3A) when the third magnet (345) or the third coil (344) moves between the plurality of positions. According to one embodiment, the electronic device (301) can move the third magnet (345) or the third coil (344) based on the plurality of consumption current values.

[0243] According to one embodiment, the electronic device (301) can determine the position where the consumption current value is minimum as the position where the third coil (344) or the third magnet (345) is to move.

[0244] According to one embodiment, the electronic device (301) can check information about a central position among a plurality of positions corresponding to a range in which the third magnet (345) can move. According to one embodiment, the electronic device (301) can move the third magnet (345) to the central position. According to one embodiment, the electronic device (301) can check information about a central position among a plurality of positions corresponding to a range in which the third coil (344) can move. According to one embodiment, the electronic device (301) can move the third coil (344) to the central position.

[0245] According to one embodiment, the electronic device (301) can identify the position of the third magnet (345) when the third image sensor (346) (e.g., the third image sensor (346) of FIG. 3A) and the third lens assembly (341) (e.g., the third lens assembly (341) of FIG. 3A) are aligned around the optical axis. According to one embodiment, the electronic device (301) can move the third magnet (345) to the position of the identified third magnet (345). According to one embodiment, the electronic device (301) can identify the position of the third coil (344) when the third image sensor (346) and the third lens assembly (341) are aligned around the optical axis. According to one embodiment, the electronic device (301) can move the third coil (344) to the position of the identified third coil (344).

[0246] According to one embodiment, the electronic device (301) may include a display (360), a first camera (310) including a first lens assembly (311) and a first driving unit (312), a second camera (330) including a second lens assembly (331) and a second driving unit (332), a processor (320), and a memory (350) storing instructions.

[0247] According to one embodiment, the electronic device (301) may display a preview image acquired using the second camera (330) through the display (360) based on a request for execution of a camera function.

[0248] According to one embodiment, the electronic device (301) can drive the first driving unit using a pulse width modulation (PWM) driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0249] According to one embodiment, the electronic device (301) may drive the second driving unit (332) using a linear driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0250] According to one embodiment, the electronic device (301) may include the first driving unit (312) including a first magnet (315) and a first coil (314).

[0251] According to one embodiment, the electronic device (301) may apply a first current to the first coil (314) to move the first lens assembly (311) to a first designated position, thereby moving either the first magnet (315) or the first coil (314) that is set to be movable to the first designated position.

[0252] According to one embodiment, the electronic device (301) can identify a plurality of positions corresponding to a movable range for either the first magnet (315) or the first coil (314) that is set to be movable.

[0253] According to one embodiment, the electronic device (301) can move any one of the plurality of positions to a central position.

[0254] According to one embodiment, the electronic device (301) can determine a plurality of consumption current values ​​consumed by the first driving unit (312) when either the first magnet (315) or the first coil (314) set to be movable moves between a plurality of positions.

[0255] According to one embodiment, the electronic device (301) can determine a location to which one of the plurality of consumption current values ​​will move based on the plurality of consumption current values.

[0256] According to one embodiment, the electronic device (301) can identify a first position where the current value consumed among the plurality of current consumption values ​​consumed by the first driving unit (312) is the minimum.

[0257] According to one embodiment, the electronic device (301) can move any one of the above to the first position.

[0258] According to one embodiment, the electronic device (301) can determine the angle that the electronic device (301) forms with the ground.

[0259] According to one embodiment, the electronic device (301) can determine, based on the angle, the location where either the first magnet (315) or the first coil (314) is set to move.

[0260] According to one embodiment, the electronic device (301) may drive the first driving unit using the linear driving method when a user input for adjusting the magnification of the first camera (310) is confirmed.

[0261] According to one embodiment, the electronic device (301) can determine a first position of either the first magnet (315) or the first coil (314) that is set to be movable based on determining movement of the electronic device (301).

[0262] According to one embodiment, the electronic device (301) can move any one of the above from the first location to any one of the second locations when there is no movement of the electronic device.

[0263] According to one embodiment, the electronic device (301) may include a third camera (330) including a third lens assembly (341) and a third driving unit (342).

[0264] According to one embodiment, the electronic device (301) may have a field of view of the third camera (330) that is different from the field of view of the first camera (310).

[0265] According to one embodiment, the electronic device (301) may include the third driving unit (342) including a third magnet (345) and a third coil (344).

[0266] According to one embodiment, the electronic device (301) may drive the third driving unit (342) using the PWM (pulse width modulation) driving method during at least a portion of the time period during which the image is displayed on the display (360) based on determining that the image has been acquired through the second camera (330).

[0267] According to one embodiment, the electronic device (301) can move the third magnet (345) so that the third lens assembly (341) moves to a third designated position.

[0268] According to one embodiment, the electronic device (301) can perform an optical image stabilization (OIS) function to move the first camera (310) and the second camera (320) in a direction perpendicular to the optical axis by applying the first current to the first driving unit (312) and the second current to the second driving unit (332).

[0269] According to one embodiment, the electronic device (301) can perform an AF (auto focus) function to move the first camera (310) and the second camera (320) in the optical axis direction by applying the first current to the first driving unit (312) and the second current to the second driving unit (332).

[0270] According to one embodiment, the electronic device (301) can display a first preview image acquired through the first camera (310) or a second preview image acquired using the second camera (330) through the display (360).

[0271] According to one embodiment, the electronic device (301) can drive the first driving unit (312) using a PWM (pulse width modulation) driving method during a first time period in which the first preview image is displayed on the display (360).

[0272] According to one embodiment, the electronic device (301) may drive the second driving unit (332) using a linear driving method during a second time period during which the second preview image is displayed on the display (360).

[0273] According to one embodiment, a method of operating an electronic device (301) may include an operation of displaying a preview image acquired using a second camera (330) included in the electronic device through a display (360) included in the electronic device (301) based on a request for execution of a camera function.

[0274] According to one embodiment, the operating method of the electronic device (301) may include an operation of driving a first driving unit (312) included in the electronic device using a PWM (pulse width modulation) driving method during at least a portion of a time period during which the preview image is acquired through the second camera.

[0275] According to one embodiment, the method of operating the electronic device may include driving a second driving unit (332) included in the electronic device using a linear driving method during at least a portion of a time period during which the preview image is acquired through the second camera.

[0276] According to one embodiment, a method of operating an electronic device may include applying a first current to the first coil (314) to move the first magnet (315) to a position corresponding to the first designated position, such that the first lens assembly (311) moves to a first designated position.

[0277] According to one embodiment, a method of operating an electronic device (301) may include an operation of identifying a plurality of positions corresponding to a movable range for either the first magnet (315) or the first coil (314) that is set to be movable.

[0278] According to one embodiment, a method of operating an electronic device (301) may include moving one of the first magnet (315) or the first coil (314) to a central position among the plurality of positions.

[0279] According to one embodiment, a method of operating an electronic device (301) may include an operation of checking current values ​​consumed by a first driving unit (312) when any one of the above moves between a plurality of positions.

[0280] According to one embodiment, the method of operating the electronic device (301) may include an operation of determining a location to which the first magnet is to move based on the plurality of consumption current values.

[0281] According to one embodiment, the method of operating the electronic device (301) may include an operation of identifying a first position where the current value consumed by the first driving unit (312) is minimized.

[0282] According to one embodiment, a method of operating an electronic device (301) may include moving one of the first magnet (315) or the first coil (314) to the first position.

[0283] According to one embodiment, a method of operating an electronic device (301) may include an operation of determining an angle formed by the electronic device with respect to the ground.

[0284] According to one embodiment, the method of operating the electronic device (301) may include an operation of determining a location to which one of the first magnet (315) or the first coil (314) set to be movable will move based on the angle.

[0285] According to one embodiment, the operating method of the electronic device (301) may include an operation of driving the first camera (310) using the linear driving method when a user's input for adjusting a magnification for the first camera (310) is confirmed.

[0286] According to one embodiment, a method of operating an electronic device (301) may include an operation of identifying a first position of one of the first magnet (315) or the first coil (314) that is set to be movable based on identifying movement of the electronic device (301).

[0287] According to one embodiment, the method of operating the electronic device (301) may include moving any one of the electronic devices from the first location to the second location, if no movement of the electronic device is detected.

[0288] According to one embodiment, the method of operating the electronic device (301) may include applying a third current to the third driving unit (342) to drive the third camera (340) using the PWM (pulse width modulation) driving method while the image is displayed on the display (360), based on determining that the image is acquired through the second camera (330).

[0289] According to one embodiment, the method of operating the electronic device (301) may include moving the third magnet (345) so that the third camera (340) moves to a third designated position.

[0290] According to one embodiment, the method of operating the electronic device (301) may be such that the third designated location may be different from the first designated location.

[0291] According to one embodiment, the method of operating the electronic device (301) may include a position in which any one of the first magnet or the first coil (314) is set to be movable, which is confirmed in a state of no movement with respect to the first camera (310).

[0292] According to one embodiment, the method of operating the electronic device (301) may include the third designated position including a position of any one of the third magnets or the third coils that is set to be movable so that the current consumption of the third current is minimized.

[0293] According to one embodiment, the operating method of the electronic device (301) may perform an optical image stabilization (OIS) function of moving the first camera (310) and the second camera (320) in a direction perpendicular to the optical axis by applying a first current to the first driving unit (312) and applying a second current to the second driving unit (332).

[0294] According to one embodiment, the operating method of the electronic device (301) may perform an AF (auto focus) function of moving the first camera (310) and the second camera (320) in the optical axis direction by applying a first current to the first driving unit (312) and applying a second current to the second driving unit (332).

[0295] According to one embodiment, a non-transitory recording medium may store instructions that, based on a request for execution of a camera function, may execute an operation of displaying a preview image acquired using a second camera included in an electronic device through a display included in the electronic device.

[0296] According to one embodiment, the non-transitory recording medium can store instructions that can execute an operation of driving a first driving unit included in the electronic device using a pulse width modulation (PWM) driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0297] According to one embodiment, the non-transitory recording medium may store instructions that can execute an operation of driving a second driving unit included in the electronic device using a linear driving method for at least a portion of the time during which the preview image is acquired through the second camera.

[0298] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0299] The various embodiments of this document and the terminology 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, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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 "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another component (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0300] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0301] Various embodiments of the present document may be implemented as software (e.g., program (140)) including one or more commands stored in a storage medium (e.g., built-in memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101, 301)). For example, a processor (e.g., processor (120, 320)) of a machine (e.g., electronic device (101, 301)) may call at least one command among the one or more commands stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the called at least one command. The one or more commands may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' means a device in which the storage medium is tangible, It simply means that it does not contain signals (e.g. electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on a storage medium.

[0302] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0303] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

1. In an electronic device (101; 301), display(160; 360); A first camera (310) including a first lens assembly (311) and a first driving unit (312); A second camera (330) including a second lens assembly (331) and a second driving unit (332); At least one processor (120; 320); and Contains a memory (130; 350) for storing instructions, The above instructions, when executed by the at least one processor, cause the electronic device to: Based on a request for execution of a camera function, a preview image acquired using the second camera is displayed through the display, An electronic device configured to drive the first driving unit using a PWM (pulse width modulation) driving method and to drive the second driving unit using a linear driving method during at least a portion of the time during which the preview image is acquired through the second camera.

2. In paragraph 1, The above first driving unit includes a first magnet (315) and a first coil (314), The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to apply a first current to the first coil to move either the first magnet or the first coil, the first magnet or one of the first coils being configured to be movable, to a first designated position.

3. In any one of paragraphs 1 and 2, The above instructions, when executed by the at least one processor, cause the electronic device to: Identifying a plurality of positions corresponding to a movable range for either the first magnet or the first coil, wherein the first magnet or the first coil is set to be movable; An electronic device configured to move either the first magnet or the first coil to a central position among the plurality of positions.

4. In any one of paragraphs 1 to 3, The above instructions, when executed by the at least one processor, cause the electronic device to: Identifying a plurality of positions corresponding to a movable range for either the first magnet or the first coil, An electronic device configured to determine a plurality of consumption current values ​​consumed by the first driving unit when either the first magnet or the first coil moves between the plurality of positions.

5. In any one of paragraphs 1 to 4, The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to determine a position where either the first magnet or the first coil will move based on the plurality of consumption current values.

6. In any one of paragraphs 1 to 5, The above instructions, when executed by the at least one processor, cause the electronic device to: Among the above multiple consumption current values, the first position where the consumed current value is minimum is identified, An electronic device configured to move either said first magnet or said first coil to said first position.

7. In any one of paragraphs 1 to 6, The above instructions, when executed by the at least one processor, cause the electronic device to: Check the angle that the above electronic device forms with the ground, An electronic device configured to determine a location where either the first magnet or the first coil, which is configured to be movable, will move based on the angle.

8. In any one of paragraphs 1 to 7, The above instructions, when executed by the at least one processor, cause the electronic device to: An electronic device configured to drive the first driving unit using the linear driving method based on an input from a user for adjusting a magnification of the first camera.

9. In any one of paragraphs 1 to 8, The above instructions, when executed by the at least one processor, cause the electronic device to: Based on the detection of the movement of the electronic device, the first position of either the first magnet or the first coil is detected, which is set to be movable; An electronic device configured to move either said first magnet or said first coil from said first position to said second position when no movement of the electronic device is detected.

10. In any one of paragraphs 1 to 9, The above instructions, when executed by the at least one processor, cause the electronic device to: Performing the OIS (optical image stabilization) function of the first camera by moving the first camera in a direction perpendicular to the optical axis, An electronic device configured to perform an optical image stabilization (OIS) function of the second camera, which moves the second camera in a direction perpendicular to the optical axis.

11. In any one of paragraphs 1 to 10, The above instructions, when executed by the at least one processor, cause the electronic device to: Performing the AF (auto focus) function of the first camera to move the first camera in the optical axis direction, An electronic device set to perform an AF (auto focus) function of the second camera to move the second camera in the direction of the optical axis.

12. In any one of paragraphs 1 to 11, An electronic device wherein the first angle of view of the first camera is different from the second angle of view of the second camera.

13. In any one of paragraphs 1 to 12, The above first camera further includes a first image sensor (316), The above instructions, when executed by the at least one processor, cause the electronic device to: Obtain a preview image through the first camera, An electronic device set to drive the first driving unit using the linear driving method when it is confirmed that the preview image acquired using the first camera is image processed through the first image sensor.

14. In the method of operating an electronic device, An operation of displaying a preview image acquired using a second camera included in the electronic device through a display included in the electronic device based on a request for execution of a camera function; and An operating method of an electronic device, comprising: driving a first driving unit included in the electronic device using a PWM (pulse width modulation) driving method and driving a second driving unit included in the electronic device using a linear driving method during at least a portion of the time during which the preview image is acquired through the second camera.

15. In paragraph 14, The above first driving unit includes a first magnet (315) and a first coil (314), A method of operating an electronic device further comprising an action of applying a first current to a first coil included in the electronic device to move either a first magnet included in the electronic device or one of the first coils, which is set to be movable, to a first designated position.

Citation Information

Patent Citations

  • Method for controlling a plurality of cameras and Electronic device

    KR1020180086942A

  • Actuator and drivng apparatus of camera module

    KR1020180109180A

  • Apparatus and method for uplink retransmission in a wireless communication system

    KR1020240172844A

  • Apparatus and method for multiplot processing of radar

    KR102471732B1

  • KR20220132889A