WO2018062894A1 - 전력을 제어하는 전자 장치 - Google Patents

전력을 제어하는 전자 장치 Download PDF

Info

Publication number
WO2018062894A1
WO2018062894A1 PCT/KR2017/010812 KR2017010812W WO2018062894A1 WO 2018062894 A1 WO2018062894 A1 WO 2018062894A1 KR 2017010812 W KR2017010812 W KR 2017010812W WO 2018062894 A1 WO2018062894 A1 WO 2018062894A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
power supply
port
battery
charging circuit
Prior art date
Application number
PCT/KR2017/010812
Other languages
English (en)
French (fr)
Inventor
장원석
차재덕
김상주
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to US16/337,796 priority Critical patent/US11190038B2/en
Publication of WO2018062894A1 publication Critical patent/WO2018062894A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J1/00Circuit arrangements for dc mains or dc distribution networks
    • H02J1/10Parallel operation of dc sources
    • H02J1/102Parallel operation of dc sources being switching converters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/90Circuit arrangements or systems for wireless supply or distribution of electric power involving detection or optimisation of position, e.g. alignment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • H02J7/342The other DC source being a battery actively interacting with the first one, i.e. battery to battery charging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/40Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries adapted for charging from various sources, e.g. AC, DC or multivoltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/10Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00304Overcurrent protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/005Detection of state of health [SOH]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • H02J7/35Parallel operation in networks using both storage and other dc sources, e.g. providing buffering with light sensitive cells

Definitions

  • Various embodiments of the present invention relate to an electronic device for controlling power.
  • USB Type-C interface capable of supplying 100 Watts (Watt) and a fast charging technology for supplying a large amount of power to an electronic device in a short time.
  • Watt 100 Watts
  • fast charging technology for supplying a large amount of power to an electronic device in a short time.
  • the electronic device receives power from a power supply (eg, a travel adapter) through a plurality of ports (or interfaces) or transmits power to an on-go (OTG) device connected to the electronic device.
  • a power supply eg, a travel adapter
  • OOG on-go
  • the electronic device may receive power from one of the plurality of power supplies, and simultaneously supply power from the plurality of power supplies. I can't get it.
  • Various embodiments of the present invention relate to an apparatus for controlling power that can be simultaneously supplied with power from a plurality of power supply devices, and an electronic device including the same.
  • An electronic device may include a first port and a second port; A first charging circuit electrically connected with a system, a battery, the first port, the system, and the battery, and a second charging electrically connected with the second port, the system, the battery, and the first charging circuit It may include a circuit.
  • An apparatus for controlling power and an electronic device including the same may be simultaneously supplied with power from a plurality of power supply devices through a simply implemented circuit. For example, if a power supply is connected to each of one configuration (such as a monitor) and one configuration (such as a keyboard) on a 2-in-1 PC, the travel adapter on the mobile terminal may When the mobile terminal is placed on the wireless charger pad in a connected state, or when a DC jack and a USB plug are connected to a notebook, the electronic device may receive power from a plurality of connected power supplies.
  • FIG. 1 illustrates an environment for a network including an electronic device according to various embodiments of the present disclosure.
  • FIG. 2 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • FIG. 3 is a block diagram of a program module according to various embodiments of the present disclosure.
  • FIG. 4 is a block diagram of an electronic device for controlling power according to an embodiment of the present invention.
  • FIG. 5 is an exemplary diagram of an electronic device for controlling power according to an embodiment of the present invention.
  • FIG. 6 is an exemplary diagram of an electronic device for controlling power according to another embodiment of the present invention.
  • FIG. 7 is a flowchart illustrating a method for controlling power according to various embodiments of the present disclosure.
  • FIG. 8 is a flowchart illustrating a method for controlling power in accordance with one embodiment of the present invention.
  • FIG. 9 is an exemplary view for explaining a method for controlling power according to an embodiment of the present invention.
  • FIG. 10 is an exemplary view for explaining a method for controlling power according to another embodiment of the present invention.
  • FIG. 11 is an exemplary diagram for describing a method for controlling power according to another embodiment of the present invention.
  • FIG. 12 is an exemplary view for explaining a method for controlling power according to another embodiment of the present invention.
  • FIG. 13 is a flowchart illustrating a method for controlling power according to another embodiment of the present invention.
  • FIG. 14 is an exemplary view for explaining a method for controlling power according to an embodiment of the present invention.
  • 15 is a flowchart illustrating a method for controlling power according to another embodiment of the present invention.
  • 16 is an exemplary diagram for describing a method for controlling power according to an embodiment of the present invention.
  • the expression “device configured to” may mean that the device “can” together with other devices or components.
  • processor configured (or configured to) perform A, B, and C may be implemented by executing a dedicated processor (eg, an embedded processor) to perform its operation, or one or more software programs stored in a memory device. It may mean a general purpose processor (eg, a CPU or an application processor) capable of performing the corresponding operations.
  • An electronic device may be, for example, a smartphone, a tablet PC, a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a PDA, a PMP. It may include at least one of a portable multimedia player, an MP3 player, a medical device, a camera, or a wearable device. Wearable devices may be accessory (e.g. watches, rings, bracelets, anklets, necklaces, eyeglasses, contact lenses, or head-mounted-devices (HMDs), textiles or clothing integrated (e.g.
  • HMDs head-mounted-devices
  • an electronic device may comprise, for example, a television, a digital video disk (DVD) player, Audio, Refrigerator, Air Conditioner, Cleaner, Oven, Microwave Oven, Washing Machine, Air Purifier, Set Top Box, Home Automation Control Panel, Security Control Panel, Media Box (e.g. Samsung HomeSync TM , Apple TV TM , or Google TV TM ) , A game console (eg, Xbox TM , PlayStation TM ), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.
  • DVD digital video disk
  • the electronic device may include a variety of medical devices (e.g., various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), Computed tomography (CT), cameras or ultrasounds), navigation devices, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), automotive infotainment devices, ship electronics (E.g., various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), Computed tomography (CT), cameras or ultrasounds), navigation devices, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), automotive infotainment devices, ship electronics (E.g.
  • various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters
  • MRA magnetic resonance angiography
  • an electronic device may be a part of a furniture, building / structure or automobile, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (eg, water, electricity, Gas, or a radio wave measuring instrument).
  • the electronic device may be flexible or a combination of two or more of the aforementioned various devices.
  • Electronic devices according to embodiments of the present disclosure are not limited to the above-described devices.
  • the term user may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) that uses an electronic device.
  • the electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and a communication interface 170.
  • the electronic device 101 may omit at least one of the components or additionally include other components.
  • the bus 110 may include circuitry that connects the components 110-170 to each other and transfers communication (eg, control messages or data) between the components.
  • the processor 120 may include one or more of a central processing unit, an application processor, or a communication processor (CP).
  • the processor 120 may execute, for example, an operation or data processing related to control and / or communication of at least one other component of the electronic device 101.
  • the memory 130 may include volatile and / or nonvolatile memory.
  • the memory 130 may store, for example, commands or data related to at least one other element of the electronic device 101.
  • the memory 130 may store software and / or a program 140.
  • the program 140 may include, for example, a kernel 141, middleware 143, an application programming interface (API) 145, an application program (or “application”) 147, or the like.
  • API application programming interface
  • application or “application”
  • At least a portion of kernel 141, middleware 143, or API 145 may be referred to as an operating system.
  • the kernel 141 may be a system resource (eg, used to execute an action or function implemented in, for example, other programs (eg, middleware 143, API 145, or application program 147).
  • the bus 110, the processor 120, or the memory 130 may be controlled or managed.
  • the kernel 141 may provide an interface for controlling or managing system resources by accessing individual components of the electronic device 101 from the middleware 143, the API 145, or the application program 147. Can be.
  • the middleware 143 may serve as an intermediary for allowing the API 145 or the application program 147 to communicate with the kernel 141 to exchange data.
  • the middleware 143 may process one or more work requests received from the application program 147 according to priority.
  • the middleware 143 may use system resources (eg, the bus 110, the processor 120, or the memory 130, etc.) of the electronic device 101 for at least one of the application programs 147. Prioritize and process the one or more work requests.
  • the API 145 is an interface for the application 147 to control functions provided by the kernel 141 or the middleware 143.
  • the API 145 may include at least the following: file control, window control, image processing, or character control. It can contain one interface or function (eg command).
  • the input / output interface 150 may transmit, for example, a command or data input from a user or another external device to other component (s) of the electronic device 101, or other components of the electronic device 101 ( Commands or data received from the device) can be output to the user or other external device.
  • Display 160 may be, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, or a microelectromechanical system (MEMS) display, or an electronic paper display. It may include.
  • the display 160 may display, for example, various types of content (eg, text, images, videos, icons, and / or symbols, etc.) to the user.
  • the display 160 may include a touch screen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of a user's body.
  • the communication interface 170 may establish communication between the electronic device 101 and an external device (eg, the first external electronic device 102, the second external electronic device 104, or the server 106). Can be.
  • the communication interface 170 may be connected to the network 162 through wireless or wired communication to communicate with an external device (eg, the second external electronic device 104 or the server 106).
  • the wireless communication may be, for example, LTE, LTE Advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro), or global network (GSM).
  • LTE Long Term Evolution
  • LTE-A LTE Advance
  • CDMA code division multiple access
  • WCDMA wideband CDMA
  • UMTS universal mobile telecommunications system
  • WiBro wireless broadband
  • GSM global network
  • the wireless communication may include, for example, wireless fidelity (WiFi), Bluetooth, Bluetooth low power (BLE), Zigbee, near field communication (NFC), magnetic secure transmission, and radio. It may include at least one of a frequency (RF) or a body area network (BAN).
  • GNSS GNSS.
  • the GNSS may be, for example, a Global Positioning System (GPS), a Global Navigation Satellite System (Glonass), a Beidou Navigation Satellite System (hereinafter referred to as "Beidou”), or a Galileo, the European global satellite-based navigation system.
  • GPS Global Positioning System
  • Glonass Global Navigation Satellite System
  • Beidou Beidou Navigation Satellite System
  • Galileo the European global satellite-based navigation system.
  • Wired communication may include, for example, at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), a standard standard232 (RS-232), a power line communication, a plain old telephone service (POTS), and the like.
  • the network 162 may comprise a telecommunications network, for example at least one of a computer network (eg, LAN or WAN), the Internet, or a telephone network.
  • Each of the first and second external electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101. According to various embodiments of the present disclosure, all or part of operations executed in the electronic device 101 may be executed in another or a plurality of electronic devices (for example, the electronic devices 102 and 104 or the server 106). According to this, when the electronic device 101 needs to perform a function or service automatically or by request, the electronic device 101 may instead execute or execute the function or service by itself, or at least some function associated therewith.
  • the other electronic device may request the requested function or The additional function may be executed and the result may be transmitted to the electronic device 101.
  • the electronic device 101 may provide the requested function or service by processing the received result as it is or additionally.
  • Cloud computing distributed computing, or client-server computing techniques can be used.
  • the electronic device 201 may include, for example, all or part of the electronic device 101 illustrated in FIG. 1.
  • the electronic device 201 may include one or more processors (eg, an AP) 210, a communication module 220, a subscriber identification module 224, a memory 230, a sensor module 240, an input device 250, and a display. 260, an interface 270, an audio module 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298.
  • the 210 may control a plurality of hardware or software components connected to the processor 210 by running an operating system or an application program, and may perform various data processing and operations.
  • the processor 210 may further include a graphic processing unit (GPU) and / or an image signal processor. 210 may include at least some of the components shown in FIG. 2 (eg, cellular module 221). The processor 210 other components: processing by loading the command or data received from at least one (e.g., non-volatile memory) in the volatile memory) and can store the result data into the nonvolatile memory.
  • the processor 120 may include a communication processor, a modem processor, or a baseband processor.
  • the communication module 220 may include, for example, a cellular module 221, a WiFi module 223, a Bluetooth module 225, a GNSS module 227, an NFC module 228, and an RF module 229. have.
  • the cellular module 221 may provide, for example, a voice call, a video call, a text service, or an internet service through a communication network.
  • the cellular module 221 may perform identification and authentication of the electronic device 201 in a communication network by using a subscriber identification module (eg, a SIM card) 224.
  • the cellular module 221 may perform at least some of the functions that the processor 210 may provide.
  • the cellular module 221 may include a communication processor (CP).
  • CP communication processor
  • at least some (eg, two or more) of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 may be one integrated chip. (IC) or in an IC package.
  • the RF module 229 may transmit / receive a communication signal (for example, an RF signal), for example.
  • the RF module 229 may include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), an antenna, or the like.
  • PAM power amp module
  • LNA low noise amplifier
  • At least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 may transmit and receive an RF signal through a separate RF module.
  • Subscriber identification module 224 may include, for example, a card or embedded SIM that includes a subscriber identification module, and may include unique identification information (eg, integrated circuit card identifier (ICCID)) or subscriber information (eg, IMSI). (international mobile subscriber identity)).
  • ICCID integrated circuit card identifier
  • IMSI international mobile subscriber identity
  • the memory 230 may include, for example, an internal memory 232 or an external memory 234.
  • the internal memory 232 may include, for example, volatile memory (for example, DRAM, SRAM, or SDRAM), nonvolatile memory (for example, one time programmable ROM (OTPROM), PROM, EPROM, EEPROM, mask ROM, flash ROM).
  • the flash memory may include at least one of a flash memory, a hard drive, or a solid state drive (SSD)
  • the external memory 234 may be a flash drive, for example, a compact flash (CF) or a secure digital (SD). ), Micro-SD, Mini-SD, extreme digital (xD), multi-media card (MMC), memory stick, etc.
  • the external memory 234 may be functionally connected to the electronic device 201 through various interfaces. Or physically connected.
  • the sensor module 240 may measure, for example, a physical quantity or detect an operation state of the electronic device 201 and convert the measured or detected information into an electrical signal.
  • the sensor module 240 includes, for example, a gesture sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, and a proximity sensor ( 240G), color sensor 240H (e.g., red (green, blue) sensor), biometric sensor 240I, temperature / humidity sensor 240J, illuminance sensor 240K, or UV (ultra violet) ) May include at least one of the sensors 240M.
  • sensor module 240 may include, for example, an e-nose sensor, an electromyography (EMG) sensor, an electrocardiogram (EEG) sensor, an electrocardiogram (ECG) sensor, Infrared (IR) sensors, iris sensors and / or fingerprint sensors.
  • the sensor module 240 may further include a control circuit for controlling at least one or more sensors belonging therein.
  • the electronic device 201 further includes a processor configured to control the sensor module 240 as part of or separately from the processor 210, while the processor 210 is in a sleep state. The sensor module 240 may be controlled.
  • the input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device 258.
  • the touch panel 252 may use at least one of capacitive, resistive, infrared, or ultrasonic methods, for example.
  • the touch panel 252 may further include a control circuit.
  • the touch panel 252 may further include a tactile layer to provide a tactile response to the user.
  • the (digital) pen sensor 254 may be, for example, part of a touch panel or may include a separate recognition sheet.
  • the key 256 may include, for example, a physical button, an optical key, or a keypad.
  • the ultrasonic input device 258 may detect ultrasonic waves generated by an input tool through a microphone (for example, the microphone 288) and check data corresponding to the detected ultrasonic waves.
  • Display 260 may include panel 262, hologram device 264, projector 266, and / or control circuitry to control them.
  • the panel 262 may be implemented to be, for example, flexible, transparent, or wearable.
  • the panel 262 may be configured with the touch panel 252 and one or more modules.
  • the hologram 264 may show a stereoscopic image in the air by using interference of light.
  • the projector 266 may display an image by projecting light onto a screen.
  • the screen may be located inside or outside the electronic device 201.
  • the interface 270 may include, for example, an HDMI 272, a USB 274, an optical interface 276, or a D-subminiature 278.
  • the interface 270 may be included in, for example, the communication interface 170 illustrated in FIG. 1. Additionally or alternatively, interface 270 may include, for example, a mobile high-definition link (MHL) interface, an SD card / multi-media card (MMC) interface, or an infrared data association (IrDA) compliant interface. have.
  • MHL mobile high-definition link
  • MMC multi-media card
  • IrDA infrared data association
  • the audio module 280 may bidirectionally convert, for example, a sound and an electrical signal. At least some components of the audio module 280 may be included in, for example, the input / output interface 145 illustrated in FIG. 1.
  • the audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, or the like.
  • the camera module 291 is, for example, a device capable of capturing still images and moving images. According to one embodiment, the camera module 291 is one or more image sensors (eg, a front sensor or a rear sensor), a lens, and an image signal processor (ISP). Or flash (eg, LED or xenon lamp, etc.).
  • the power management module 295 may manage power of the electronic device 201, for example.
  • the power management module 295 may include a power management integrated circuit (PMIC), a charger IC, or a battery or fuel gauge.
  • the PMIC may have a wired and / or wireless charging scheme.
  • the wireless charging method may include, for example, a magnetic resonance method, a magnetic induction method, an electromagnetic wave method, or the like, and may further include additional circuits for wireless charging, such as a coil loop, a resonance circuit, a rectifier, and the like. have.
  • the battery gauge may measure, for example, the remaining amount of the battery 296, the voltage, the current, or the temperature during charging.
  • the battery 296 may include, for example, a rechargeable cell and / or a solar cell.
  • the indicator 297 may display a specific state of the electronic device 201 or a part thereof (for example, the processor 210), for example, a booting state, a message state, or a charging state.
  • the motor 298 may convert electrical signals into mechanical vibrations, and may generate vibrations or haptic effects.
  • the electronic device 201 may be, for example, a mobile TV supporting device capable of processing media data according to a standard such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or mediaFlo TM . : GPU).
  • DMB digital multimedia broadcasting
  • DVD digital video broadcasting
  • mediaFlo TM . : GPU mediaFlo TM .
  • Each of the components described in this document may be composed of one or more components, and the names of the corresponding components may vary depending on the type of electronic device.
  • the electronic device eg, the electronic device 201) may include some components, omit additional components, or combine some of the components to form a single entity. It is possible to perform the same function of the previous corresponding
  • the program module 310 may include an operating system and / or various applications running on the operating system for controlling resources related to the electronic device (eg, the electronic device 101).
  • the application program 147 may be included.
  • the operating system may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .
  • the program module 310 may include the kernel 320 (eg, the kernel 141), the middleware 330 (eg, the middleware 143), and the API 360 (eg, the API 145).
  • At least a portion of the program module 310 may be preloaded on the electronic device or may be an external electronic device (eg, an electronic device ( 102, 104, server 106, etc.).
  • the kernel 320 may include, for example, a system resource manager 321 and / or a device driver 323.
  • the system resource manager 321 may perform control, allocation, or retrieval of system resources.
  • the system resource manager 321 may include a process manager, a memory manager, or a file system manager.
  • the device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication (IPC) driver.
  • the middleware 330 may provide various functions through the API 360, for example, to provide functions commonly required by the application 370, or to allow the application 370 to use limited system resources inside the electronic device.
  • the middleware 330 may include a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, a power manager 345, and a database manager ( 346, a package manager 347, a connectivity manager 348, a notification manager 349, a location manager 350, a graphic manager 351, or a security manager 352.
  • the runtime library 335 may include, for example, a library module that the compiler uses to add new functionality through the programming language while the application 370 is running.
  • the runtime library 335 may perform input / output management, memory management, or arithmetic function processing.
  • the application manager 341 may manage, for example, the life cycle of the application 370.
  • the window manager 342 may manage GUI resources used on the screen.
  • the multimedia manager 343 may identify a format necessary for playing the media files, and may encode or decode the media file using a codec suitable for the format.
  • the resource manager 344 may manage space of source code or memory of the application 370.
  • the power manager 345 may manage, for example, the capacity or power of the battery and provide power information necessary for the operation of the electronic device.
  • the power manager 345 may interwork with a basic input / output system (BIOS).
  • the database manager 346 may create, retrieve, or change a database to be used, for example, in the application 370.
  • the package manager 347 may manage installation or update of an application distributed in the form of a package file.
  • the connectivity manager 348 may manage, for example, a wireless connection.
  • the notification manager 349 may provide the user with events such as, for example, an arrival message, an appointment, a proximity notification, and the like.
  • the location manager 350 may manage location information of the electronic device, for example.
  • the graphic manager 351 may manage, for example, graphic effects to be provided to the user or a user interface related thereto.
  • the security manager 352 may provide system security or user authentication, for example.
  • the middleware 330 may include a telephony manager for managing a voice or video call function of the electronic device or a middleware module capable of forming a combination of functions of the above-described components. .
  • the middleware 330 may provide a module specialized for each type of operating system.
  • the middleware 330 may dynamically delete some of the existing components or add new components.
  • API 360 is, for example, a set of API programming functions, which may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one API set may be provided for each platform, and in Tizen, two or more API sets may be provided for each platform.
  • the application 370 is, for example, a home 371, a dialer 372, an SMS / MMS 373, an instant message (IM) 374, a browser 375, a camera 376, an alarm 377. , Contacts 378, voice dials 379, emails 380, calendars 381, media players 382, albums 383, watches 384, health care (e.g., measures exercise or blood sugar) Or an application for providing environmental information (eg, barometric pressure, humidity, or temperature information).
  • the application 370 may include an information exchange application capable of supporting information exchange between the electronic device and the external electronic device.
  • the information exchange application may include, for example, a notification relay application for delivering specific information to the external electronic device, or a device management application for managing the external electronic device.
  • the notification delivery application may deliver notification information generated by another application of the electronic device to the external electronic device, or receive notification information from the external electronic device and provide the notification information to the user.
  • the device management application may be, for example, the ability of an external electronic device to communicate with the electronic device (e.g. turn-on / turn-off of the external electronic device itself (or some component) or the brightness (or resolution) of the display). Control), or install, delete, or update an application running on the external electronic device.
  • the application 370 may include an application (eg, a health care application of a mobile medical device) designated according to an attribute of the external electronic device.
  • the application 370 may include an application received from an external electronic device.
  • At least a portion of the program module 310 may be implemented (eg, executed) in software, firmware, hardware (eg, the processor 210), or a combination of at least two or more thereof, and a module for performing one or more functions; It can include a program, routine, instruction set, or process.
  • module includes a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, components, or circuits.
  • the module may be an integrally formed part or a minimum unit or part of performing one or more functions.
  • Modules may be implemented mechanically or electronically, for example, application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), or known or future developments that perform certain operations. It can include a programmable logic device.
  • ASIC application-specific integrated circuit
  • FPGAs field-programmable gate arrays
  • At least a portion of an apparatus (eg, modules or functions thereof) or method (eg, operations) according to various embodiments may be stored on a computer-readable storage medium (eg, memory 130) in the form of a program module. It can be implemented as.
  • Computer-readable recording media include hard disks, floppy disks, magnetic media (e.g. magnetic tape), optical recording media (e.g. CD-ROM, DVD, magnetic-optical media (e.g. floppy disks), internal memory, etc.
  • Instructions may include code generated by a compiler or code executable by an interpreter Modules or program modules according to various embodiments may include at least one or more of the above-described components. In some embodiments, operations performed by a module, a program module, or another component may be executed sequentially, in parallel, repeatedly, or heuristically, or at least, or may include other components. Some operations may be executed in a different order, omitted, or other operations may be added.
  • FIG. 4 is a block diagram of an electronic device 101 for controlling power according to an embodiment of the present invention.
  • the electronic device 101 includes a first port 410-1, a second port 410-2, a first charging circuit 420-1, a second charging circuit 420-2, The first switch 430-1 and the second switch 430-2, the processor 440, the battery 450, and the system 460 may be included.
  • the first port 410-1 (or the first interface, or the first input / output device, etc.) is power supplied from an external device when an external device is connected to the first port 410-1. May be transferred into the electronic device 101.
  • a power supply or source device
  • the first port 410-1 is the power supplied from the power supply. May be transferred to the battery 450.
  • the first port 410-1 is connected to an on-go (OTG) device (or sink device) to the first port 410-1
  • the first port 410-1 is a battery. Power supplied from 450 may be delivered to the OTG device.
  • OTG on-go
  • the present invention is not limited thereto. However, the present invention is not limited thereto.
  • the second port 410-2 may transfer power supplied from the external device into the electronic device 101.
  • a power supply eg, a high-speed battery charger
  • the second port 410-2 is the power supplied from the power supply. May be transferred to the battery 450.
  • OOG on-go
  • the second port 410-2 receives the power supplied from the battery 450. Can be delivered to the device.
  • the present invention is not limited thereto.
  • the first port 410-1 and the second port 410-2 may receive power from various power supplies.
  • the first port 410-1 and the second port 410-2 may receive power from a portable charger, a quick charger, a wireless charger, a solar charger, or the like.
  • a power supply device capable of receiving power from the first port 410-1 and the second port 410-2 is not limited thereto.
  • the first port 410-1 and the second port 410-2 are a standard (eg, universal serial bus (UBS) type) capable of transmitting and receiving power or data supported by the electronic device 101. C, etc.) may be implemented in various forms.
  • UBS universal serial bus
  • the port to which the external device is connected is transferred to the processor 440. Information about the connected external device can be delivered.
  • the present invention is not limited thereto.
  • the first port 410-1 and the second port 410-2 may transfer power (or unidirectional power transfer) from the external device to the electronic device 101. In another embodiment, the first port 410-1 and the second port 410-2 transmit power in the direction from the external device to the electronic device 101 or the direction from the electronic device 101 to the external device ( Or bidirectional power transfer).
  • first port 410-1 and the second port 410-2 are illustrated in FIG. 4, but the present invention is not limited thereto, and the electronic device 101 may include three or more ports. .
  • the first charging circuit 420-1 may be electrically connected to the first port 410-1, the system 460, the battery 450, and the second charging circuit 420-2. .
  • the first charging circuit 420-1 may transfer power to at least one of an external device connected to the first port 410-1, the system 460, the battery 450, and the second port 410-2.
  • the first charging circuit 420-1 may output power input from the first port 410-1 to the system 460 and the battery ( 450).
  • the power supply device is connected to the first port 410-1 and the OTG device is connected to the second port 410-2
  • the first charging circuit 420-1 is connected to the first port 410-.
  • the power input from 1) may be transferred to at least one of an OTG device connected to the system 460, the battery 450, and the second port 410-2.
  • the first charging circuit 420-1 may include at least one of a power supply device connected to the battery 450 and the second port 410-2. Power input from one may be transferred to the first port 410-1.
  • the present invention is not limited thereto.
  • the first charging circuit 420-1 when a voltage is input to the first charging circuit 420-1, the first charging circuit 420-1 may provide information of the electronic device 101 and information of an external device connected to the electronic device 101.
  • the input voltage may be adjusted based on at least one of the input voltages, and output a voltage having the adjusted magnitude.
  • the first charging circuit 420-1 may reduce the input voltage based on at least a part of the charging state of the battery 450 (eg, A buck function or a boost (eg, a boost function) may be output or a voltage equal to the input voltage (buck boost function) may be output.
  • the first charging circuit 420-1 may charge the battery 450 when the battery 450 is fully charged. May output a voltage having the same magnitude as the output voltage (or a voltage when the battery 450 is fully charged).
  • the present invention is not limited thereto.
  • the first charging circuit 420-1 gradually increases the output voltage until the output voltage of the battery 450 becomes a specified voltage from the voltage in a completely discharged state. You can increase the size.
  • the present invention is not limited thereto.
  • the first charging circuit 420-1 may include a first converter 421-1, a first charger 421-2, and the like.
  • the first converter 421-1 may include a buck boost converter.
  • the buck boost converter may reduce or boost the input voltage under the control of the first charger 421-2, or output the same voltage as the input voltage.
  • the buck boost converter may be comprised of a plurality of switches and at least one device for storing power.
  • the plurality of switches consists of a field effect transistor (FET), a bipolar junction transistor (BJT), a diode, or a combination thereof, and the device for storing power is an inductor or a capacitor. ) And the like.
  • FET field effect transistor
  • BJT bipolar junction transistor
  • the device for storing power is an inductor or a capacitor.
  • the present invention is not limited thereto.
  • the first charger 421-2 may control the switches included in the first converter 421-1 and on / off of the first switch 430-1. have. For example, the first charger 421-2 detects the state of charge of the battery 450 and is output by the battery 450 when the battery 450 is fully charged based on at least a portion of the detected state of the battery 450. The first converter 421-1 may be controlled such that the first converter 421-1 outputs a voltage having the same magnitude as the voltage. In another example, when the processor 440 detects the state of charge of the battery 450, the first charger 421-2 receives a control signal from the processor 440 to thereby charge the battery 450 when the battery 450 is fully charged.
  • the first converter 421-1 may be controlled so that the first converter 421-1 outputs a voltage having the same magnitude as that of the output voltage.
  • the first charger 421-2 may output power input from the power supply when the power supply is connected to the first port 410-1 when the battery 450 is fully charged.
  • the first switch 430-1 may be turned off to cut off power supplied from the battery 450 to the system 460.
  • the present invention is not limited thereto.
  • the first charger 421-2 may be referred to variously, such as a charging circuit controller.
  • the second charging circuit 420-2 may be electrically connected to the second port 410-2, the system 460, the battery 450, and the first charging circuit 420-1. .
  • the second charging circuit 420-2 may transfer power to an external device connected to the second port 410-2, the system 460, the battery 450, and the first port 410-1.
  • the second charging circuit 420-2 may include a second converter 423-1 and a second charger 423-2. Since the configuration and function of the second charging circuit 420-2 are the same or similar to the configuration and function of the first charging circuit 420-1, detailed descriptions thereof will be omitted.
  • the second charging circuit 420-2 may output the same voltage as the first charging circuit 420-1.
  • the second charging circuit may output a voltage having the same magnitude as the voltage output from the battery 450 when the battery 450 is fully charged.
  • the output voltage of the first charging circuit 420-1 and the second charging circuit 420-are connected. The output voltage of 2) may be the same.
  • the first charging circuit 420-1 and the second charging circuit 420-2 are connected to each other.
  • the voltage at point A (or the voltage at a terminal electrically connected to the battery 450 of the first charging circuit 420-1) and the voltage at point C (or the battery 450 at the second charging circuit 420-2);
  • the voltage can be output so that the voltage of the electrically connected terminal) has the same magnitude within the error range.
  • the first charging circuit 420-1 and the second charging circuit 420-2 With the power supply connected to each of the first port 410-1 and the second port 410-2, the first charging circuit 420-1 and the second charging circuit 420-2. ) Outputs a voltage having the same magnitude, the power input from the first port 410-1 and the second port 410-2 may be summed at point C and transferred to the battery 450. In one embodiment, when a power supply is connected to each of the first port 410-1 and the second port 410-2 and the battery 450 is not in a fully charged state, the first charging circuit 420-1 And the second charging circuit 420-2 outputs a voltage having a magnitude higher than that of the current output voltage of the battery 450 and supplies the output voltage to the battery 450, thereby providing the first port 410-1.
  • Power supplied from the power supply is connected to the power supply connected to the second port 410-2 or power supplied from the second port 410-2 is transferred to the power supply connected to the first port 410-1.
  • Problems eg, shutdown of the electronic device 101, damage to a circuit of the electronic device 101 or an external device, etc. may be prevented.
  • a power supply is connected to each of the first port 410-1 and the second port 410-2, and the current voltage of the battery 450 that outputs 8.7 volts when fully charged is 8.2 V.
  • the first charging circuit 420-1 outputs 8.7 V
  • the second charging circuit 420-2 outputs 8.6 V corresponding to an error range from 8.7 V
  • the first port 410-1 may be added together at the point B to be supplied to the battery 450.
  • the battery 450 of the electronic device 101 may simultaneously receive power from power supplies connected to the first port 410-1 and the second port 410-2 to perform a charging operation. Can be.
  • the first switch 430-1 may be electrically connected to the first charging circuit 420-1, the system 460, the battery 450, and the second switch 430-2.
  • the first switch 430-1 is turned on under the control of the first charging circuit 420-1 (eg, the first charger 421-2) so that the first port 410 is turned on. Power input from -1) may be transferred to the battery 450. In another embodiment, the first switch 430-1 is turned on under control of the first charging circuit 420-1 so that the system 460 or first port 410-1 from the battery 450 is turned on. Power can be delivered to an OTG device connected to the. In another embodiment, when the power supply is connected to the first port 410-1 and the battery 450 is in a fully charged state, the first switch 430-1 may be configured to include the first charging circuit 420-1. Can be turned off under control.
  • the first charging circuit 420-1 eg, the first charger 421-2
  • Power input from -1 may be transferred to the battery 450.
  • the first switch 430-1 is turned on under control of the first charging circuit 420-1 so that the system 460 or first port 410-1 from the battery 450 is turned on. Power can be delivered to an OTG
  • the turn on or turn off operation of the first switch 430-1 may be controlled by the processor 440.
  • the processor 440 may generate a control signal for turning on or turning off the first switch 430-1 in consideration of the state of charge of the battery 450 and the required power of the system 460. It may be transferred to the charging circuit 420-1.
  • the first charging circuit 420-1 Based on the control signal for the turn on or turn off operation of the first switch 430-1 received from the processor 440, the first charging circuit 420-1 turns the first switch 430-1.
  • a signal for turning on or off may be transmitted to the first switch 430-1.
  • the present invention is not limited thereto.
  • the second switch 430-2 may be electrically connected to the second charging circuit 420-2, the battery 450, and the first switch 430-1.
  • the operation of the second switch 430-2 is the same or similar to at least a part of the operation of the first switch 430-1, a detailed description thereof will be omitted.
  • the second switch 430-2 and the first switch 430-1 when the second switch 430-2 and the first switch 430-1 are turned on, supply from at least one of the battery 450 and a power supply connected to the second port 410-2.
  • the power being delivered can be delivered to the system 460.
  • the first switch 430-1 and the second switch 430-2 may be configured of a field effect transistor (FET), a bipolar junction transistor (BJT), a diode, or a combination thereof.
  • FET field effect transistor
  • BJT bipolar junction transistor
  • diode diode
  • the present invention is not limited thereto.
  • the processor 440 may control an operation of supplying power to the electronic device 101 or supplying power from the electronic device 101 to an external device.
  • the processor 440 may detect that an external device is connected to at least one of the first port 410-1 and the second port 410-2.
  • the processor 440 may determine the type of the external device based at least in part on information received from the external device. You can check it.
  • the present invention is not limited thereto.
  • the processor 440 may control at least one of the first charging circuit 420-1 and the second charging circuit 420-2.
  • the processor 440 may include power that an external device (eg, a power supply) can supply, power required by the system 460, power required by an external device (eg, an OTG device, etc.), or a battery 450.
  • At least one of the first charging circuit 420-1 and the second charging circuit 420-2 may be controlled based on at least a part of the state (eg, the charging state of the battery 450).
  • the processor 440 may include power that an external device (eg, a power supply) can supply, power required by the system 460, power required by an external device (eg, an OTG device, etc.), or a battery 450. Size of the voltage and current to be output by at least one of the first charging circuit 420-1 and the second charging circuit 420-2, based at least in part on the state of the battery (eg, the charging state of the battery 450), and the like. And direction can be determined.
  • the processor 440 is configured to include at least one of the first charging circuit 420-1 and the second charging circuit 420-2 with at least one of the first charging circuit 420-1 and the second charging circuit 420-2.
  • a signal can be delivered that contains information about the magnitude and direction of the voltage and current to be output.
  • the present invention is not limited thereto.
  • the processor 440 may control at least one of the first switch 430-1 and the second switch 430-2.
  • the processor 440 may include power that an external device (eg, a power supply) can supply, power required by the system 460, power required by an external device (eg, an OTG device, etc.), or a battery 450.
  • 420-1 and the second charging circuit 420-2 may be transmitted to at least one.
  • the present invention is not limited thereto.
  • the processor 440 may be the same as or included in the processor 120 of FIG. 1. In another embodiment, the processor 440 may be an independent component of the processor 120 of FIG. 1 and may be configured to control power transmitted and received to the electronic device 101. In one embodiment, the processor 440 may include a microm or an embedded controller. In another embodiment, the processor 440 may include a USB controller (or a port controller or a channel configuration controller) when the electronic device 101 supports the USB Type C standard. . However, the present invention is not limited thereto.
  • the system 460 may include respective components of the electronic device 101.
  • the system 460 may include a component that consumes power for driving, such as the display 260, the communication module 220, the sensor module 240, or the like.
  • the present invention is not limited thereto.
  • the system 460 may be electrically connected to the first charging circuit 420-1 and to the first switch 430-1.
  • the present invention is not limited thereto.
  • the system 460 is connected to the terminals of the first charging circuit 420-1, and the second charging circuit 420-is connected through the first switch 430-1 and the second switch 430-2. 2) can be connected.
  • the system 460 is connected to the first charging circuit 420-1 so that the system 460 is configured to allow the first port 410-1 and the second port 410-even when the battery 450 is fully charged. Power may be supplied from a power supply device connected to at least one of 2).
  • the system 460 is connected to the first charging circuit 420-1, thereby connecting the battery 450 and at least one of the first port 410-1 and the second port 410-2.
  • power may be supplied from a power supply device connected to at least one of the first port 410-1 and the second port 410-2 in preference to the battery 450.
  • the system 460 can be connected to the first charging circuit 420-1 to protect the battery 450.
  • system 460 is directly connected to battery 450 (e.g., system 460 is connected to point B), depending on the load of system 460, for example, CV (constant voltage)
  • CV constant voltage
  • the degree of fluctuation of the charging current in the charging section may be increased, a fatal problem may occur in the battery 450 due to overheating or stress of the battery 450, and the system 460 may include a first charging circuit. By connecting to 420-1, such a problem can be prevented.
  • battery 450 may supply power to at least one of system 460, first port 410-1, and second port 410-2. In one embodiment, the battery 450 may be electrically connected to the system 460, the first charging circuit 420-1, and the second charging circuit 420-2. However, the present invention is not limited thereto. In one embodiment, when a power supply is connected to each of the first port 410-1 and the second port 410-2, the battery 450 is connected to the first port 410-1 and the second port 410. Power may be supplied from the power supply devices connected to the -2).
  • the electronic device 101 includes a first port 410-1 and a second port 410-2, a first charging circuit 420-1 and a second charging circuit 420-2, and a first switch. Although illustrated as including a 430-1 and a second switch 430-2, the electronic device 101 may include three or more ports, and charging circuits and switches corresponding to the three or more ports. have. For example, the electronic device 101 may include a number of charging circuits corresponding to the number of ports. In one embodiment, when the electronic device 101 includes three or more ports, and the power supply devices are connected to two or more ports, the voltage is equalized at the output terminal of the charging circuits corresponding to the two or more ports.
  • the output may stably supply power to the battery 450 from power supplies connected to two or more ports.
  • each of the plurality of ports and each of the plurality of charging circuits corresponding to the plurality of ports may be connected through one line (or line, or path). Power is supplied from the external device to the electronic device 101 or power is supplied from the external device to the electronic device 101 through one line connecting each of the plurality of ports and each of the plurality of charging circuits corresponding to the plurality of ports. Can be supplied. In this way, the electronic device 101 can be implemented using fewer components than the prior art.
  • FIG. 5 is an exemplary diagram of an electronic device for controlling power according to an embodiment of the present invention.
  • the electronic device 101 may include a first port 510-1, a second port 510-2, a first charging circuit 520-1, a second charging circuit 520-2, First switch 530-1 and second switch 530-2, processor 540, battery 550, system 560, and third switch 570-1 and fourth switch 570-2 ) May be included.
  • first port 510-1 and the second port 510-2 are at least partially identical or similar to the first port 510-1 and the second port 510-2 of FIG. 4. Therefore, detailed description will be omitted.
  • the first charging circuit 520-1 is at least partially identical to or similar to the first charging circuit 520-1 of FIG. 4, overlapping descriptions thereof will be omitted.
  • the first charging circuit 520-1 may be electrically connected to the third switch 570-1, the system 560, the battery 550, and the second charging circuit 520-2. . In one embodiment, the first charging circuit 520-1 may include a first converter 521-1 and a first charger 521-2.
  • the first converter 521-1 may include a buck boost converter.
  • the first converter 521-1 may include four n-channel metal oxide semiconductor field effect transistors (NMOS FETs) and an inductor.
  • NMOS FETs metal oxide semiconductor field effect transistors
  • the present invention is not limited thereto.
  • the first converter 521-1 may include a FET other than an NMOS FET, a bipolar junction transistor (BJT), a diode, a capacitor, and the like.
  • the first converter 521-1 may reduce or boost the input voltage or output the same voltage as the input voltage under the control of the first charger 521-2.
  • the input voltage may be reduced or boosted, or the same voltage as the input voltage may be output.
  • the present invention is not limited thereto.
  • the first charger 521-2 controls the four NMOS FETs included in the first converter 521-1 and on / off of the first switch 530-1. can do.
  • the first charger 521-2 may detect the output voltage of the battery 550.
  • the first charger 521-2 may determine the state of charge of the battery 550 based at least in part on the detected output voltage of the battery 550.
  • the first charger 521-2 may convert a voltage equal to a voltage output from the battery 550 when the battery 550 is fully charged based on at least a portion of the detected state of the battery 550.
  • the first converter 521-1 may be controlled to output 1).
  • the present invention is not limited thereto.
  • the first charger 521-2 may output power input from the power supply when the power supply is connected to the first port 510-1 when the battery 550 is fully charged.
  • the first switch 530-1 may be turned off to be supplied to the apparatus. If the power supply is connected to the first port 510-1 with the battery 550 fully charged and the first switch 530-1 is turned off, the battery 550 from the system 560 to the system 560. The power supply may be cut off and power may be supplied to the system 560 from a power supply connected to the first port 510-1.
  • the present invention is not limited thereto.
  • the second charging circuit 520-2 is the same or similar to at least a part of the second charging circuit 520-2 of FIG. 4, overlapping descriptions thereof will be omitted.
  • the second charging circuit 520-2 may be electrically connected to the fourth switch 570-2, the system 560, the battery 550, and the first charging circuit 520-1. .
  • the second charging circuit 520-2 may transfer power to an external device connected to the second port 510-2, the system 560, the battery 550, and the first port 510-1.
  • the second charging circuit 520-2 may include a second converter 523-1 and a second charger 523-2.
  • the second charging circuit 520-2 may output the same voltage as the first charging circuit 520-1.
  • the second charging circuit ( The battery 550-2 may output a voltage having the same magnitude as the voltage output from the battery 550 when the battery 550 is fully charged.
  • the output voltage of the first charging circuit 520-1 and the second charging circuit 520-are connected. The output voltage of 2) may be the same.
  • the first charging circuit 520-1 and the second charging circuit 520-2 Outputs a voltage having the same magnitude, power input from the first port 510-1 and the second port 510-2 may be summed at the P 0 SUM point and transferred to the battery 550.
  • the P 0 SUM point is a common output node (or reference) of the first charging circuit 520-1 and the second charging circuit 520-2 and the battery 550. May be).
  • the first charging circuit 520-1 and the second charging circuit 520-2 when a power supply is connected to each of the first port 510-1 and the second port 510-2 and the battery 550 is not fully charged, the first charging circuit 520-1 And the second charging circuit 520-2 outputs a voltage having a magnitude higher than that of the current output voltage of the battery 550 and supplies the output voltage to the battery 550, thereby providing the first port 510-1. Power supplied from the power supply is connected to the power supply connected to the second port 510-2, or power supplied from the second port 510-2 is transferred to the power supply connected to the first port 510-1. Problems (eg, shutdown of the electronic device 101, damage to a circuit of the electronic device 101 or an external device, etc.) may be prevented.
  • Problems eg, shutdown of the electronic device 101, damage to a circuit of the electronic device 101 or an external device, etc.
  • first switch 530-1 and the second switch 530-2 are at least partially identical or similar to the first switch 530-1 and the second switch 530-2 of FIG. 4. Therefore, duplicate descriptions will be omitted.
  • the first switch 530-1 and the second switch 530-2 are illustrated as including an NMOS FET, but are not limited thereto.
  • the first switch 530-1 and the second switch 530-2 may be configured of a FET, a bipolar junction transistor (BJT), a diode, or a combination thereof other than the NMOS FET.
  • BJT bipolar junction transistor
  • the present invention is not limited thereto.
  • the first switch 530-1 and the second switch 530-2 configured as the NMOS FET may include a body diode.
  • the body diode of the NMOS FET may deliver the required power to the system 560 or the like when the power required by the system 560 or the like momentarily increases while the NMOS FET is turned off.
  • the present invention is not limited thereto.
  • the processor 540 may control an operation of supplying power to the electronic device 101 or supplying power from the electronic device 101 to an external device. In one embodiment, since the processor 540 is the same or similar to at least a portion of the processor 440 of FIG. 4, redundant descriptions thereof will be omitted.
  • the processor 540 may control the operation of the third switch 570-1 and the fourth switch 570-2.
  • the processor 540 may include the third switch 570-1 and the third switch so that the first port 510-1 and the second port 510-2 do not suddenly (or momentarily) overvoltage or overcurrent occur.
  • the turn on or turn off operation of the four switches 570-2 may be controlled.
  • the processor 540 may include the third switch 570-1 or the fourth switch 570-. 2) can be turned off.
  • the third switch 570-1 and the fourth switch 570-2 may perform an over voltage protection (OVP) function or an over current protection (OCP) function.
  • OVP over voltage protection
  • OCP over current protection
  • the processor 540 may include the first port 510-1 or the second port 510-2.
  • the connection between the external device and the external device may be detected, and the third switch 570-1 or the fourth switch 570-2 may be turned off.
  • the present invention is not limited thereto.
  • battery 550 and system 560 are at least partially identical or similar to battery 550 and system 560 in FIG. 4, and thus detailed descriptions thereof will be omitted.
  • the third switch 570-1 and the fourth switch 570-2 may perform a turn on or turn off operation under the control of the processor 540.
  • the electronic device 101 may not include the third switch 570-1 and the fourth switch 570-2.
  • the present invention is not limited thereto.
  • FIG. 6 is an exemplary diagram of an electronic device for controlling power according to another embodiment of the present invention.
  • the electronic device 101 may include N ports, N charging circuits, and the like.
  • N may be a number greater than two.
  • the electronic device 101 includes an N-th charge including an N port 610-3, an L-th switch 670-3, an N-th converter 625-1, and an N-th charger 625-2.
  • the circuit 620-3 and the M-th switch 630-3 may be further included.
  • the description of the N port 610-3, the L-th switch 670-3, the N-th converter 625-1, the N-th charger 625-2, and the like may be described at least in FIG. 4 or 5. Since the same or similar to some, the detailed description will be omitted.
  • the Nth charging circuit 620-3 may be electrically connected to the battery 650, the system 660, the first charging circuit 620-1 to the N ⁇ 1th charging circuit (not shown). have. In an embodiment, the Nth charging circuit 620-3 may output the same voltage as the output voltages of the first to Nth charging circuits 620-1. In one embodiment, when power supplies are connected to at least two of the first port 610-1 to the Nth port 620 -N, the power supplied from the connected power supplies is at P 0 _SUM point. Can be summed and delivered to the battery.
  • FIG. 7 is a flowchart illustrating a method for controlling power according to various embodiments of the present disclosure.
  • the electronic device 101 may detect a connection of at least one external device.
  • the electronic device 101 may detect that an external device is connected to at least some of the plurality of ports.
  • the external device may include a power supply (or source device) or an on-go (OTG) device (or sink device) or the like.
  • the power supply may be a charger, a high-speed battery charger, a wireless charger, or a solar charger capable of supplying power to the electronic device 101. And the like.
  • the present invention is not limited thereto.
  • the OTG device may include a device that requires power from the electronic device 101, such as a USB memory, an accessory such as an ear phone, or the like.
  • the present invention is not limited thereto.
  • the electronic device 101 is external based on at least a part of information such as a voltage value supplied from the external device through a port to which the external device is connected, or an ID (or impedance value) received from the external device.
  • the connection of the device can be detected.
  • the electronic device 101 may detect the type of the external device based at least in part on information received from the external device. For example, when an external device supporting the USB Type C standard is connected to the electronic device 101, the type of the external device may be detected based at least in part on channel configuration (CC) information received from the external device.
  • CC channel configuration
  • the method of detecting the connection of the external device or the type of the external device is not limited thereto.
  • connection of the external device or the detection of the type of the external device may be performed by a port controller or an embedded controller according to an interface specification supported by the port of the electronic device 101 or the port of the external device. And the like.
  • the present invention is not limited thereto.
  • the electronic device 101 may control a charging circuit or the like according to the connected external device.
  • the electronic device 101 may control a charging circuit or the like depending on whether the connected external device is a power supply device or an OTG device.
  • the electronic device 101 may control the switch to turn on a switch connecting a port to which the power supply device is connected and a charging circuit.
  • the charger included in the charging circuit may operate when the switch is turned on. For example, the charger can operate automatically when the switch is turned on. In another example, the charger may operate under the control of the processor when the switch is turned on.
  • the electronic device 101 may check the battery charging state. For example, the charger may determine whether the battery is in a fully charged state or not fully charged. In another example, the embedded controller may check the state of charge of the battery. In an embodiment, the electronic device 101 may determine an output voltage and an output current of the charging circuit (or the converter).
  • the electronic device 101 may control the charging circuit so that the charging circuit outputs the output voltage in the fully charged state.
  • the electronic device 101 may control the charging circuit to output a current based on the power supplied from the power supply and the output voltage of the charging circuit.
  • the present invention is not limited thereto.
  • the electronic device 101 when the connected external device is a power supply device, the electronic device 101 may supply power to a battery or a system.
  • the electronic device 101 when a power supply device and an OTG device are connected to a plurality of ports of the electronic device 101, the electronic device 101 may transmit power supplied from the power supply device to at least one of a battery, a system, and an OTG device. I can deliver it.
  • the electronic device 101 may transfer power supplied from a battery or a power supply device connected to another port to the OTG device.
  • information may be received from the OTG device about the voltage and current required to drive the OTG device.
  • the electronic device 101 may include a CC signal or an SBU including information about voltage and current required to drive the OTG device from the OTG device. sideband use) signal, and the like.
  • the electronic device 101 may control the charging circuit to supply the OTG device with the voltage and current required by the OTG device based on the information received from the OTG device.
  • the embedded controller may transmit a signal to the charger to control the turn on or turn off operation of the switches included in the converter such that the converter outputs the voltage and current required by the OTG device.
  • the electronic device 101 may control the switch so that the switch connecting the port connected to the OTG device and the charging circuit is turned on. In one embodiment, when a switch connecting the charging circuit and the port connected with the OTG device is turned on, power supplied from a power supply connected to the battery or another port may be delivered to the OTG device.
  • FIG. 8 is a flowchart illustrating a method for controlling power in accordance with one embodiment of the present invention.
  • FIG. 8 is a diagram for describing a method of controlling power transferred between the electronic device 101 and the power supply device when at least one power supply device is connected to the electronic device 101 as an external device.
  • the electronic device 101 may detect a connection of at least one power supply device.
  • the electronic device 101 may detect that an external device is connected to at least some of the plurality of ports.
  • the power supply is a travel adapter, a high-speed battery charger, a wireless charger, or a solar charger capable of supplying power to the electronic device 101. ) And the like.
  • the present invention is not limited thereto.
  • the electronic device 101 is at least a part of information such as a voltage value supplied from the power supply through the port to which the power supply is connected, or an ID (or impedance value) received from the power supply. Based on the connection of the power supply can be detected. In an embodiment, the electronic device 101 may detect the type of the power supply device based at least in part on information received from the power supply device. For example, when the power supply device supporting the USB Type C standard is connected to the electronic device 101, the type of the power supply device may be detected based at least in part on channel configuration (CC) information received from the power supply device. have.
  • CC channel configuration
  • the method of detecting the connection of the power supply device or the type of the power supply device is not limited thereto.
  • connection of the power supply or the detection of the type of power supply is a port controller or an embedded controller, depending on the interface specification supported by the port of the electronic device 101 or the port of the external device. controller) or the like.
  • the present invention is not limited thereto.
  • the electronic device 101 may control the switch so that the switch connecting the port to which the power supply is connected and the charging circuit are turned on.
  • the charger included in the charging circuit may operate when the switch is turned on.
  • the charger can automatically operate when the switch is turned on.
  • the charger may operate under the control of the processor when the switch is turned on.
  • the electronic device 101 may check a battery state and power required by the system.
  • the electronic device 101 may receive information about a current output voltage value of the battery from the battery.
  • the electronic device 101 may check the charging degree (or the charging amount of the battery) of the battery based at least in part on the received current output voltage value of the battery.
  • the electronic device 101 may identify power required by the system by receiving information about power required to drive the system from the system.
  • the electronic device 101 may identify power that can be supplied to the electronic device 101 by at least one power supply device connected to the electronic device 101, in addition to a battery state and power required by the system. .
  • the electronic device 101 receives information about power that can be supplied to the electronic device 101 from each of the two power supply devices.
  • the sum of the powers that can be supplied from each power supply device may be confirmed as the power that can be supplied to the electronic device 101.
  • the present invention is not limited thereto.
  • the electronic device 101 may control a charging circuit or the like to supply power to at least one of a battery and a system.
  • the electronic device 101 may determine an output voltage and an output current of a charging circuit (or a converter) to supply power to at least one of a battery and a system. For example, when the battery voltage is not in the fully charged state, the electronic device 101 may control the charging circuit so that the charging circuit outputs the output voltage in the fully charged state. In one embodiment, the electronic device 101 may control the charging circuit to output a current based on the power supplied from the power supply and the output voltage of the charging circuit. However, the present invention is not limited thereto. In an embodiment, the electronic device 101 may supply power from a connected power supply device to a battery or a system.
  • FIG. 9 is an exemplary view for explaining a method for controlling power according to an embodiment of the present invention.
  • FIG. 9 is a diagram illustrating a method of supplying power to at least one of a battery and a system from two power supplies, assuming that a power supply is connected to both ports.
  • the electronic device 101 illustrated in FIG. 9 may include a configuration that is the same as or similar to that of the electronic device 101 illustrated in FIG. 5.
  • the electronic device 101 may include a first port 910-1, a second port 910-2, a first charging circuit 920-1, a second charging circuit 920-2, and switches. 930-1, 930-2, a processor 940, a battery 950, a system 960, switches 970-1, 970-2, and the like.
  • the system 960 may be directly connected with the first charging circuit 920-1.
  • the system 960 is connected to a terminal of the first charging circuit 920-1 and connected to the second charging circuit 920-2 through a switch 930-1 and a switch 930-2. Can be.
  • the electronic device 101 may add the power supplied from the first power supply device 980-1 and the power supplied from the second power supply device 980-2 to transfer the same to the battery 950. have.
  • the electronic device 101 adds the power supplied from the first power supply 980-1 and the power supplied from the second power supply 980-2 to the battery 950 at P0_SUM. I can deliver it.
  • the electronic device 101 is used. May control the first charging circuit 920-1 and the second charging circuit 920-2 so that the first charging circuit 920-1 and the second charging circuit 920-2 output the same voltage. .
  • the electronic device 101 may turn off the first power supply 980-1.
  • the power required by the system 960 may be transferred to the system 960, and the remaining power may be transferred to the battery 950.
  • the first power supply 980-1 through a path 990-1 to which the first port 910-1, the switch 970-1, and the first charging circuit 920-1 are connected.
  • 40W (Watt) is supplied from the second power supply (through the path 980-2 to which the second port 910-2, the switch 970-2, and the second charging circuit 920-2 are connected)
  • the electronic device 101 passes 30W out of the 40W supplied from the first power supply 980-1. -3) to the system 960 and the remaining 10W to the battery 950 via the path (990-4) (or charge the battery 950)
  • the second power supply (980-2) 25W may be delivered to battery 950 via path 990-5.
  • the electronic device 101 Power from the first power supply 980-1 supplied through the first charging circuit 920-1 directly connected to the system 960 may be preferentially delivered to the system 960.
  • the power supplied to the first power supply 980-1 is 40 W
  • the power supplied from the second power supply 980-2 is 40 W
  • the system 960 requires 30 W.
  • the electronic device 101 transmits 30W of the 40W supplied from the first power supply 980-1 to the system 960
  • the remaining 10W and 40W supplied from the second power supply 980-2 are It may be delivered to the battery 950.
  • the present invention is not limited thereto.
  • the power supplied to the first power supply 980-1 is 20W
  • the power supplied from the second power supply 980-2 is 40W
  • the system 960 requires 30W.
  • the electronic device 101 transmits 30W of the 40W supplied from the second power supply 980-2 to the system 960, and the remaining 10W and 20W supplied from the first power supply 980-1 It may be delivered to the battery 950.
  • the present invention is not limited thereto.
  • FIG. 10 is an exemplary view for explaining a method for controlling power according to another embodiment of the present invention.
  • FIG. 10 illustrates an electronic device 101 for controlling power when a power supply is connected to both ports and the system 960 requires more than the power supplied from one power supply. to be.
  • the electronic device 101 illustrated in FIG. 10 may include the same configuration as the electronic device 101 illustrated in FIG. 9.
  • the electronic device 101 may include a first port 1010-1, a second port 1010-2, a first charging circuit 1020-1, a second charging circuit 1020-2, and switches. 1070-1, 1070-2, a processor 1040, a battery 1050, a system 1060, switches 1030-1, 1030-2, and the like.
  • the system 1060 may be directly connected with the first charging circuit 1020-1.
  • the system 1060 may be connected to a terminal of the first charging circuit 1020-1 and connected to the second charging circuit 1020-2 through switches 1030-1 and 1030-2. .
  • the electronic device 101 Power supplied from the first power supply 1080-1 may be transmitted to the system 1060, and at least a portion of power supplied from the second power supply 1080-2 may be transmitted to the system 1060.
  • 40 Watts (Watt) is supplied from the first power supply 1080-1 through the path 1090-1 and 25 Watts from the second power supply 1080-2 through the path 1090-2.
  • the electronic device 101 passes all the 40W supplied from the first power supply 1080-1 through the path 1090-3. 1060 and 10W of the 25W supplied from the second power supply 1080-2 to the system 1060 via the path 1090-4, and the remaining 15W to the battery through the path (1090-5) 1050.
  • the electronic device. 101 transmits power supplied from the first power supply 1080-1 and power supplied from the second power supply 1080-2 to the system 1060, with the remaining power from the battery 1050. May be passed to system 1060.
  • 40W Watt
  • 25W is supplied from the second power supply 1080-2 through the path
  • the system 1060 is required.
  • the electronic device 101 delivers the 40W supplied from the first power supply 1080-1 and the 25W supplied from the second power supply 1080-2 to the system 1060. And 5W from the battery 1050 to the system 1060 via the path 1090-6.
  • 11 is an exemplary diagram for describing a method for controlling power according to another embodiment of the present invention. 11 illustrates an electronic device 101 for controlling power when a power supply is connected to a first port connected to (or corresponding) a first charging circuit to which a system is directly connected, and no external device is connected to a second port. ).
  • the electronic device 101 illustrated in FIG. 11 may include the same configuration as the electronic device 101 illustrated in FIG. 9.
  • the electronic device 111 may include a first port 1110-1, a second port 1110-2, a first charging circuit 1120-1, a second charging circuit 1120-2, and switches. 1170-1 and 1170-2, a processor 1140, a battery 1150, a system 1160, and switches 1130-1 and 1130-2.
  • the system 1160 may be directly connected with the first charging circuit 1120-1.
  • the system 1160 may be connected to the terminals of the first charging circuit 1120-1 and connected to the second charging circuit 1120-2 through the first switch and the second switch.
  • the electronic device 111 when the power required by the system 1160 is less than the power that the first power supply 1180 can supply, the electronic device 111 may be configured to control the power supply from the first power supply 1180.
  • the power required by the system 1160 may be transferred to the system 1160, and the remaining power may be transferred to the battery 1150.
  • the electronic device 111 may be configured as a first device. Of the 40W supplied from the power supply 1180, 30W may be supplied to the system 1160 through the path 1190-2, and the remaining 11W may be delivered to the battery 1150 through the path 1190-3.
  • the electronic device 111 may adjust the power supplied from the first power supply 1180. All can be delivered to the system 1160 and the remaining power shortages from the battery 1150 to the system 1160 via the path 1190-4. For example, when 40W (Watt) is supplied from the first power supply 1180 and the power required by the system 1160 is 50W, the electronic device 111 is supplied from the first power supply 1180. All 40W can be delivered to system 1160 and 10W from battery 1150 to system 1160.
  • 12 is an exemplary view for explaining a method for controlling power according to another embodiment of the present invention.
  • 12 illustrates an electronic device 101 for controlling power when no external device is connected to a first port connected to (or a corresponding) first charging circuit to which a system is directly connected, and a power supply is connected to a second port.
  • Figure is a diagram.
  • the electronic device 101 illustrated in FIG. 12 may include the same configuration as the electronic device 101 illustrated in FIG. 9.
  • the electronic device 101 may include a first port 1210-1, a second port 1210-2, a first charging circuit 1220-1, a second charging circuit 1220-2, and switches. 1270-1, 1270-2, a processor 1240, a battery 1250, a system 1260, switches 1230-1, 1230-2, and the like.
  • the system 1260 may be directly connected with the first charging circuit 1220-1.
  • the system 1260 may be connected to a terminal of the first charging circuit 1220-1 and connected to the second charging circuit 1220-2 through switches 1230-1 and 1230-2. .
  • the electronic device 101 when the power required by the system 1260 is less than the power that the second power supply 1280 can supply, the electronic device 101 is one of the power supplied from the second power supply 1280.
  • the power needed by the system 1260 may be delivered to the system 1260, and the remaining power may be delivered to the battery 1250.
  • the electronic device 101 if 40 Watts (Watt) is supplied from the second power supply 1280 through the path 1290-1, and the power required by the system 1260 is 30 Watts, the electronic device 101 generates a second power supply. Of the 40W supplied from the power supply 1280, 30W may be supplied to the system 1260 through the path 1290-2, and the remaining 10W may be delivered to the battery 1250 through the path 1290-3.
  • the electronic device 101 when the power required by the system 1260 is greater than the power that the second power supply 1280 can supply, the electronic device 101 receives the power supplied from the second power supply 1280. All to the system 1260, and the remaining power from the battery 1250 to the system 1260. For example, if 40W (Watt) is supplied from the second power supply 1280 through the path and the power required by the system 1260 is 50W, the electronic device 101 may supply the second power supply 1280. ) Can supply all of the 40W supplied from) to system 1260 and deliver 10W from battery 1150 to system 1260 via path 1290-4.
  • FIG. 13 is a flowchart illustrating a method for controlling power according to another embodiment of the present invention.
  • FIG. 13 is a diagram for describing a method of controlling power transmitted between the electronic device 101 and the OTG device when at least one OTG device is connected to the electronic device 101 as an external device.
  • the electronic device 101 may detect a connection of at least one OTG device.
  • the electronic device 101 may detect that the OTG device is connected to at least some of the plurality of ports.
  • the OTG device may include a device that requires power from the electronic device 101, such as a USB memory, an accessory such as an ear phone, or the like.
  • the present invention is not limited thereto.
  • the electronic device 101 is based on the OTG based at least in part on information such as a voltage value supplied from the OTG device through the port to which the OTG device is connected, or an ID (or impedance value) received from the OTG device.
  • the connection of the device can be detected.
  • the electronic device 101 may detect the type of the OTG device based at least in part on information received from the OTG device. For example, when the OTG device supporting the USB Type C standard is connected to the electronic device 101, the type of the OTG device may be detected based at least in part on channel configuration (CC) information received from the OTG device.
  • CC channel configuration
  • the method of detecting the connection of the OTG device or the type of the OTG device is not limited thereto.
  • connection of the OTG device or the detection of the type of the OTG device may be performed by a port controller or an embedded controller according to an interface specification supported by the port of the electronic device 101 or the port of the external device. And the like.
  • the present invention is not limited thereto.
  • the electronic device 101 may check power required by the OTG device, battery status, and power required by the system.
  • the electronic device 101 may receive information about a voltage and a current required to drive the OTG device from the OTG device.
  • the electronic device 101 may include a CC signal or an SBU including information about voltage and current required to drive the OTG device from the OTG device.
  • the power required by the OTG device can be checked.
  • the electronic device 101 may check a battery state and power required by the system.
  • the electronic device 101 may receive information about a current output voltage value of the battery from the battery.
  • the electronic device 101 may check the charging degree (or the charging amount of the battery) of the battery based at least in part on the received current output voltage value of the battery.
  • the electronic device 101 may identify power required by the system by receiving information about power required to drive the system from the system.
  • the electronic device 101 may control a charging circuit or the like to supply power to at least one of the OTG device and the system.
  • the electronic device 101 may control the charging circuit to supply the OTG device with the voltage and current required by the OTG device based on the information received from the OTG device.
  • the embedded controller may transmit a signal to the charger to control the turn on or turn off operation of the switches included in the converter such that the converter outputs the voltage and current required by the OTG device.
  • the electronic device 101 may control the switch so that the switch connecting the port connected to the OTG device and the charging circuit is turned on.
  • the electronic device 101 may control the plurality of charging circuits to transfer power from the battery to the plurality of OTG devices.
  • the electronic device 101 may transfer power to at least one OTG device and system.
  • the electronic device 101 may control the charging circuit to transfer power required by the system to the system and supply voltage and current required by the OTG device to the OTG device.
  • FIG. 14 is an exemplary view for explaining a method for controlling power according to an embodiment of the present invention.
  • FIG. 14 is a diagram illustrating an electronic device 101 that controls power transfer from a battery to OTG devices and a system when OTG devices are connected to both ports.
  • the electronic device 101 illustrated in FIG. 14 may include the same configuration as the electronic device 101 illustrated in FIG. 9.
  • the electronic device 101 may include a first port 1410-1, a second port 1410-2, a first charging circuit 1420-1, a second charging circuit 1420-2, and switches. 1470-1, 1470-2, a processor 1440, a battery 1450, a system 1460, switches 1430-1, 1430-2, and the like.
  • the system 1460 may be directly connected with the first charging circuit.
  • the system 1460 may be connected to a terminal of the first charging circuit and may be connected to the second charging circuit through the first switch and the second switch.
  • the electronic device 101 may transfer power from the battery 1450 to the system 1460, the first OTG device 1480-1, and the second OTG device 1480-2.
  • the electronic device 101 transfers power to the system 1460 via the path 1490-5, and via the path 1490-1 and the path 1490-2, the first OTG device 1590-1.
  • Power may be transmitted to 1) and power may be transmitted to the second OTG device 1480-2 through the path 1490-3 and the path 1490-4.
  • the electronic device. 101 may deliver 20W to system 1460, deliver 30W to first OTG device 1480-1, and deliver 40W to second OTG device 1480-2.
  • FIG. 14 illustrates a case in which an OTG device is connected to both the first port 1410-1 and the second port 1410-2, but among the first port 1410-1 and the second port 1410-2. Even if an OTG device is connected to one port and no external device is connected to another port, the same may be applied to or similar to that of FIG. 14, and a detailed description thereof will be omitted.
  • FIG. 15 is a flowchart illustrating a method for controlling power according to another embodiment of the present invention.
  • FIG. 15 is a diagram for describing a method of controlling power transferred between the electronic device 101 and the external device when the power supply device and the OTG device are connected to the electronic device 101 as an external device.
  • the electronic device 101 may detect a connection between the power supply device and the OTG device. For example, the electronic device 101 may detect that a power supply device is connected to at least one port of the plurality of ports, and that the OTG device is connected to at least one other port.
  • the electronic device 101 is at least a part of information such as a voltage value supplied from the power supply through the port to which the power supply is connected, or an ID (or impedance value) received from the power supply. Based on the connection of the power supply can be detected. In an embodiment, the electronic device 101 may detect the type of the power supply device based at least in part on information received from the power supply device. For example, when the power supply device supporting the USB Type C standard is connected to the electronic device 101, the type of the power supply device may be detected based at least in part on channel configuration (CC) information received from the power supply device. have.
  • CC channel configuration
  • the method of detecting the connection of the power supply device or the type of the power supply device is not limited thereto.
  • the electronic device 101 may control the switch so that the switch connecting the port to which the power supply device is connected and the charging circuit connected to the port are turned on.
  • the charger included in the charging circuit may operate when the switch is turned on.
  • the charger can automatically operate when the switch is turned on.
  • the charger may operate under the control of the processor when the switch is turned on.
  • the electronic device 101 is based on the OTG based at least in part on information such as a voltage value supplied from the OTG device through the port to which the OTG device is connected, or an ID (or impedance value) received from the OTG device.
  • the connection of the device can be detected.
  • the electronic device 101 may detect the type of the OTG device based at least in part on information received from the OTG device. For example, when the OTG device supporting the USB Type C standard is connected to the electronic device 101, the type of the OTG device may be detected based at least in part on channel configuration (CC) information received from the OTG device.
  • CC channel configuration
  • the method of detecting the connection of the OTG device or the type of the OTG device is not limited thereto.
  • connection of the power supply device and the OTG device, or the detection of the type of the power supply device and the OTG device is performed according to an interface specification supported by the port of the electronic device 101 or the port of the external device. It may be performed in a controller or an embedded controller. However, the present invention is not limited thereto.
  • the electronic device 101 may check the power required by the OTG device, the battery state, and the power required by the system.
  • the electronic device 101 may receive information about a voltage and a current required to drive the OTG device from the OTG device.
  • the electronic device 101 may include a CC signal or an SBU including information about voltage and current required to drive the OTG device from the OTG device.
  • the power required by the OTG device can be checked.
  • the electronic device 101 may check a battery state and power required by the system.
  • the electronic device 101 may receive information about a current output voltage value of the battery from the battery.
  • the electronic device 101 may check the charging degree (or the charging amount of the battery) of the battery based at least in part on the received current output voltage value of the battery.
  • the electronic device 101 may identify power required by the system by receiving information about power required to drive the system from the system.
  • At least one power supply device connected to the electronic device 101 may identify power that can be supplied to the electronic device 101.
  • the electronic device 101 may control a charging circuit or the like to supply power to at least one of a battery, an OTG device, and a system.
  • the electronic device 101 may determine an output voltage and an output current of a charging circuit (or a converter) to supply power to at least one of a battery and a system. For example, when the battery voltage is not in the fully charged state, the electronic device 101 may control the charging circuit so that the charging circuit outputs the output voltage in the fully charged state. In one embodiment, the electronic device 101 may control the charging circuit to output a current based on the power supplied from the power supply and the output voltage of the charging circuit.
  • the present invention is not limited thereto.
  • the electronic device 101 may control the charging circuit to supply the OTG device with the voltage and current required by the OTG device based on the information received from the OTG device.
  • the embedded controller may transmit a signal to the charger to control the turn on or turn off operation of the switches included in the converter such that the converter outputs the voltage and current required by the OTG device.
  • the electronic device 101 may control the switch so that the switch connecting the port connected to the OTG device and the charging circuit is turned on.
  • the electronic device 101 may simultaneously transmit power input from the connected power supply device to the battery, the OTG device, and the system.
  • the present invention is not limited thereto.
  • FIG. 16 is an exemplary diagram for describing a method for controlling power according to an embodiment of the present invention.
  • FIG. 16 is a diagram illustrating an electronic device 101 that controls power transfer between a power supply device, an OTG device, a battery, and a system when a power supply device is connected to one port and OTG devices are connected to another port.
  • the electronic device 101 illustrated in FIG. 16 may include the same configuration as the electronic device 101 illustrated in FIG. 9.
  • the electronic device 101 may include a first port 1610-1, a second port 1610-2, a first charging circuit 1620-1, a second charging circuit 1620-1, and switches ( 1670-1, 1670-2, a processor 1640, a battery 1650, a system 1660, switches 1630-1, 1630-2, and the like.
  • the system 1660 may be directly connected with the first charging circuit 1620-1.
  • the system 1660 may be connected to a terminal of the first charging circuit 1620-1 and may be connected to the second charging circuit 1620-1 through switches 1630-1 and 1630-2. .
  • the electronic device 101 receives power supplied from the power supply 1680-1 through the paths 1690-1 and 1690-2 through the system 1660, the path 1690-3. , And can be delivered to at least one of the OTG devices 1680-2 through paths 1690-4 and 1690-5.
  • the electronic device 101 provides the system 1660 when the power supplied from the power supply 1680-1 is greater than the power required by the system 1660 and the OTG device 1680-2.
  • Power required by the OTG device 1680-2 may be delivered to the system 1660 and the OTG device 1680-2, and the remaining power may be delivered to the battery 1650.
  • the electronic device 101 may execute the system 1660. 20W, 20W may be transmitted to the OTG device 1680-2, and the remaining 10W of the 50W may be delivered to the battery 1650.
  • electronic device 101 receives the power supplied from power supply 1680-1. And to the OTG device 1680-2 via the paths 1690-6 and 1690-5 from the battery 1650 to the OTG device 1680-2.
  • FIG. 16 illustrates an example in which the power supply device 1680-1 is connected to the first port 1610-1 and the OTG device 1680-2 is connected to the second port 1610-2. Since the OTG device 1680-2 is connected to the 1610-1 and the power supply device 1680-1 is connected to the second port 1610-2, the same or similar thereto can be applied. A detailed description of the case where the OTG device 1680-2 is connected to the 1610-1 and the power supply device 1680-1 to the second port 1610-2 is omitted.
  • An electronic device may include a first port and a second port; A first charging circuit electrically connected with a system, a battery, the first port, the system, and the battery, and a second charging electrically connected with the second port, the system, the battery, and the first charging circuit It may include a circuit.
  • the electronic device when an external device is connected to at least one of the first port and the second port, the electronic device may further include a processor that detects a connection of the external device.
  • the first charging circuit when the first power supply is connected to the first port and the second power supply is connected to the second port, the first charging circuit receives power input from the first power supply.
  • the battery may be transferred to a battery, and the second charging circuit may transfer power input from the second power supply device to the battery.
  • the first charging circuit delivers power input from the first power supply to the battery
  • the second charging circuit delivers power input from the second power supply to the battery.
  • the first charging circuit and the second charging circuit may output the same voltage.
  • the first charging circuit and the second charging circuit may output the same voltage as the voltage output by the battery in the fully charged state.
  • the processor may determine the power required by the system among the power input from the first power supply.
  • the first charging circuit and the second charging circuit may be controlled to transfer to the system, transfer remaining power to the battery, and transfer power input from the second power supply to the battery.
  • the power required by the system is greater than the power input from the first power supply and sums the power input from the first power supply and the power input from the second power supply. If less than one power, the processor delivers power input from the first power supply to the system and supplies the first power at the power required by the system among the power input from the second power supply.
  • the first charging circuit and the second charging circuit may be controlled to transmit power corresponding to the power subtracted from the device to the system, and to transfer remaining power to the battery.
  • the processor may generate the first power.
  • the power input from the supply and the power input from the second power supply are transmitted to the system, the power input from the first power supply and the second power from the battery require power from the system.
  • the first charging circuit and the second charging circuit may be controlled to transmit power corresponding to the power subtracted from the supply device to the system.
  • the processor when the power supply is connected to either one of the first port and the second port and no external device is connected to the other port, the processor receives power input from the power supply. And a charging circuit corresponding to a port to which the power supply device is connected to deliver the at least one of the battery and the system.
  • the first power supply or the second power supply is a travel adapter, a high-speed battery charger, a wireless charger, or a solar charger. May be).
  • the processor when an on-go (OTG) device is connected to at least one of the first port and the second port, the processor is configured to at least match the power required by the OTG device and the power required by the system.
  • a charging circuit electrically connected to a port to which the OTG device is connected may be controlled to transfer power from the battery to at least one of the OTG device and the system.
  • the processor may determine the power required by the system and the OTG. If the power required by the device is less than the power input from the power supply, the power required by the system to the system and the OTG device among the power input from the power supply and the OTG device requires The first charging circuit and the second charging circuit may be controlled to transfer power and supply remaining power to the battery.
  • the processor is configured to generate power input from the power supply device when the power required by the system and the power required by the OTG device are greater than the power input from the power supply device.
  • the power may be transferred to an OTG device, and the power corresponding to the power subtracted from the power input from the power supply device from the power required by the system and the power required by the OTG device may be transferred from the battery to the OTG device.
  • the processor may include an embedded controller or a port controller.
  • the first charging circuit comprises a first buck boost converter and a first charger
  • the second charging circuit comprises a second buck boost converter and a second charger. Can be.
  • the first buck boost converter and the second buck boost converter may include four field effect transistors (FETs) and inductors, respectively.
  • FETs field effect transistors
  • the electronic device comprises a first switch electrically connected with the first charging circuit, the battery, and the system and turned on or off by the first charging circuit, And a second switch electrically connected to the second charging circuit, the battery, and the first switch and turned on or off by the second charging circuit.
  • the first switch when power is input from a power supply connected to the first port and the battery is in a fully charged state, the first switch may be turned off by the first charging circuit.
  • the electronic device further comprises a third switch electrically connected with the first port and the first charging circuit, and a fourth switch electrically connected with the second port and the second charging circuit. can do.
  • the electronic device may further include a third port and a third charging circuit electrically connected to the third port, the battery, the first charging circuit, and the second charging circuit.
  • the computer readable recording medium may include a storage medium such as a magnetic storage medium (eg, a ROM, a floppy disk, a hard disk, etc.), an optical reading medium (eg, a CD-ROM, a DVD, etc.).
  • a magnetic storage medium eg, a ROM, a floppy disk, a hard disk, etc.
  • an optical reading medium eg, a CD-ROM, a DVD, etc.

Abstract

본 발명의 다양한 실시예들에 따른 전자 장치는, 제1 포트 및 제2 포트; 시스템, 배터리; 상기 제1 포트, 상기 시스템 및 상기 배터리와 전기적으로 연결된 제1 충전 회로, 및 상기 제2 포트, 상기 시스템, 상기 배터리 및 상기 제1 충전 회로와 전기적으로 연결되는 제2 충전 회로를 포함하여 간단하게 구현되는 회로를 통해 복수의 전력 공급 장치로부터 동시에 전력을 공급 받을 수 있다.

Description

전력을 제어하는 전자 장치
본 발명의 다양한 실시예들은 전력을 제어하는 전자 장치에 관한 것이다.
정보통신 기술과 반도체 기술 등의 눈부신 발전에 힘입어 다양한 전자장치의 보급과 이용이 급속도로 증가하고 있다. 전자장치가 광범위하게 보급됨에 따라, 전자장치는 다른 전자장치와 연계하여 다양한 기능을 지원하고 있다.
전자 장치는 다양한 기능을 지원하기 위하여 많은 전력을 필요로 하고 있다. 이에 따라, 전자 장치로 보다 많은 전력을 공급하기 위한 기술이 개발되고 있다. 예를 들어, 100W(Watt)의 전력 공급이 가능한 USB 3.1 타입 C(Type-C) 규격의 인터페이스(이하, USB 타입 C 인터페이스)와, 짧은 시간에 많은 전력을 전자 장치로 공급하기 위한 급속 충전 기술이 상용화되고 있다.
또한, 전자 장치는 복수의 포트들(또는, 인터페이스들)을 통해 전력 공급 장치(예: Travel adapter)로부터 전력을 공급 받거나, 전자 장치에 연결된 OTG(on the go) 장치로 전력을 전송하고 있다.
종래 기술에서, 전자 장치는 복수의 포트들에 복수의 전력 공급 장치가 연결된 경우, 복수의 전력 공급 장치 중 하나의 전력 공급 장치로부터 전력을 공급 받을 수 있으며, 복수의 전력 공급 장치로부터 동시에 전력을 공급 받을 수 없다.
본 발명의 다양한 실시예들은, 복수의 전력 공급 장치로부터 동시에 전력을 공급 받을 수 있는 전력을 제어하기 위한 장치 및 이를 포함하는 전자 장치에 관한 것이다.
본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 발명의 다양한 실시예들에 따른 전자 장치는, 제 1 포트 및 제 2 포트; 시스템, 배터리, 상기 제 1 포트, 상기 시스템, 및 상기 배터리와 전기적으로 연결된 제 1 충전 회로, 및 상기 제 2 포트, 상기 시스템, 상기 배터리, 및 상기 제 1 충전 회로와 전기적으로 연결되는 제 2 충전 회로를 포함할 수 있다.
본 발명의 다양한 실시예에 따른 전력을 제어하기 위한 장치 및 이를 포함하는 전자 장치는 간단하게 구현되는 회로를 통해 복수의 전력 공급 장치로부터 동시에 전력을 공급 받을 수 있다. 예를 들어, 2-in-1 PC에서 하나의 구성(예: 모니터) 및 다른 하나의 구성(예: 키보드) 각각에 전력 공급 장치가 연결된 경우, 모바일 단말기에서 휴대 충전기(travel adaptor)가 모바일 단말기가 연결된 상태에서 모바일 단말기가 무선 충전기 패드 상에 놓여진 경우, 또는 노트북(notebook)에 DC jack 및 USB 플러그가 연결된 경우 등에서, 전자 장치는 연결된 복수의 전력 공급 장치들로부터 전력을 공급받을 수 있다.
도 1은 본 발명의 다양한 실시예들에 따른 전자 장치를 포함하는 네트워크에 대한 환경을 도시한다.
도 2는 본 발명의 다양한 실시예들에 따른 전자 장치의 블록도를 도시한다.
도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
도 4는 본 발명의 일 실시예에 따라 전력을 제어하는 전자 장치의 블록도이다.
도 5는 본 발명의 일 실시예에 따라 전력을 제어하는 전자 장치의 예시도이다.
도 6은 본 발명의 다른 실시예에 따라 전력을 제어하는 전자 장치의 예시도이다.
도 7은 본 발명의 다양한 실시예들에 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다.
도 8은 본 발명의 일 실시예들 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다.
도 9는 본 발명의 일 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다.
도 10은 본 발명의 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다.
도 11은 본 발명의 또 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다.
도 12는 본 발명의 또 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다.
도 13은 본 발명의 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다.
도 14는 본 발명의 일 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다.
도 15는 본 발명의 또 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다.
도 16은 본 발명의 일 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다.
이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B" 또는 "A 및/또는 B 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.
본 문서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 application processor)를 의미할 수 있다.
본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 이동 전화기, 영상 전화기, 전자책 리더기, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버, PDA, PMP(portable multimedia player), MP3 플레이어, 의료기기, 카메라, 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드 또는 문신), 또는 생체 이식형 회로 중 적어도 하나를 포함할 수 있다. 어떤 실시예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.
다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM, 상점의 POS(point of sales), 또는 사물 인터넷 장치 (예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다. 어떤 실시예에 따르면, 전자 장치는 가구, 건물/구조물 또는 자동차의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터, 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 플렉서블하거나, 또는 전술한 다양한 장치들 중 둘 이상의 조합일 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.
도 1을 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. 버스(110)는 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 또는 데이터)을 전달하는 회로를 포함할 수 있다. 프로세서(120)는, 중앙처리장치, 어플리케이션 프로세서, 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.
메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(API)(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템으로 지칭될 수 있다. 커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.
미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다. API(145)는 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. 입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달하거나, 또는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.
디스플레이(160)는, 예를 들면, 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 마이크로 전자기계 시스템 (MEMS) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.
통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.
무선 통신은, 예를 들면, LTE, LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시예에 따르면, 무선 통신은, 예를 들면, WiFi(wireless fidelity), 블루투스, 블루투스 저전력(BLE), 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(Magnetic Secure Transmission), 라디오 프리퀀시(RF), 또는 보디 에어리어 네트워크(BAN) 중 적어도 하나를 포함할 수 있다. 한실시예에 따르면, 무선 통신은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 상호 호환적으로 사용될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 텔레커뮤니케이션 네트워크, 예를 들면, 컴퓨터 네트워크(예: LAN 또는 WAN), 인터넷, 또는 텔레폰 네트워크 중 적어도 하나를 포함할 수 있다.
제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP)(210), 통신 모듈(220), (가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다. 프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드)하여 처리하고, 결과 데이터를 비휘발성 메모리에 저장할 수 있다. 일 실시예에서, 프로세서(120)는 커뮤니케이션 프로세서(communication processor), 모뎀 프로세서(modem processor), 또는 베이스밴드 프로세서(baseband processor)를 포함할 수 있다.
통신 모듈(220)(예: 통신 인터페이스(170))와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227), NFC 모듈(228) 및 RF 모듈(229)를 포함할 수 있다. 셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버, PAM(power amp module), 주파수 필터, LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다.
다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. 가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 또는 임베디드 SIM을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다.
메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM, SRAM, 또는 SDRAM 등), 비휘발성 메모리(예: OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 또는 물리적으로 연결될 수 있다.
센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(240A), 자이로 센서(240B), 기압 센서(240C), 마그네틱 센서(240D), 가속도 센서(240E), 그립 센서(240F), 근접 센서(240G), 컬러(color) 센서(240H)(예: RGB(red, green, blue) 센서), 생체 센서(240I), 온/습도 센서(240J), 조도 센서(240K), 또는 UV(ultra violet) 센서(240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 센서 모듈(240)은, 예를 들면, 후각(e-nose) 센서, 일렉트로마이오그라피(EMG) 센서, 일렉트로엔씨팔로그램(EEG) 센서, 일렉트로카디오그램(ECG) 센서, IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다.
입력 장치(250)는, 예를 들면, 터치 패널(252), (디지털) 펜 센서(254), 키(256), 또는 초음파 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. (디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.
디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 프로젝터(266), 및/또는 이들을 제어하기 위한 제어 회로를 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나 이상의 모듈로 구성될 수 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 인터페이스(270)는, 예를 들면, HDMI(272), USB(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.
오디오 모듈(280)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. 카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, 이미지 시그널 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp 등)를 포함할 수 있다. 전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC, 또는 배터리 또는 연료 게이지를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지 및/또는 태양 전지를 포함할 수 있다.
인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동, 또는 햅틱 효과 등을 발생시킬 수 있다. 전자 장치(201)는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있는 모바일 TV 지원 장치(예: GPU)를 포함할 수 있다. 본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치(예: 전자 장치(201))는 일부 구성요소가 생략되거나, 추가적인 구성요소를 더 포함하거나, 또는, 구성요소들 중 일부가 결합되어 하나의 개체로 구성되되, 결합 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.
도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 도 3을 참조하면, 프로그램 모듈(310)은 커널(320)(예: 커널(141)), 미들웨어(330)(예: 미들웨어(143)), (API(360)(예: API(145)), 및/또는 어플리케이션(370)(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치 상에 프리로드 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드 가능하다.
커널(320)은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수를 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부를 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. 미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330) 는 런타임 라이브러리(335), 어플리케이션 매니저(341), 윈도우 매니저(342), 멀티미디어 매니저(343), 리소스 매니저(344), 파워 매니저(345), 데이터베이스 매니저(346), 패키지 매니저(347), 커넥티비티 매니저(348), 노티피케이션 매니저(349), 로케이션 매니저(350), 그래픽 매니저(351), 또는 시큐리티 매니저(352) 중 적어도 하나를 포함할 수 있다.
런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수 처리를 수행할 수 있다. 어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370)의 생명 주기를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용되는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(345)는, 예를 들면, 배터리의 용량 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보를 제공할 수 있다. 한 실시예에 따르면, 파워 매니저(345)는 바이오스(BIOS: basic input/output system)와 연동할 수 있다. 데이터베이스 매니저(346)는, 예를 들면, 어플리케이션(370)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다.
커넥티비티 매니저(348)는, 예를 들면, 무선 연결을 관리할 수 있다. 노티피케이션 매니저(349)는, 예를 들면, 도착 메시지, 약속, 근접성 알림 등의 이벤트를 사용자에게 제공할 수 있다. 로케이션 매니저(350)는, 예를 들면, 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화(telephony) 매니저 또는 전술된 구성요소들의 기능들의 조합을 형성할 수 있는 하는 미들웨어 모듈을 포함할 수 있다. 한 실시예에 따르면, 미들웨어(330)는 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. API(360)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.
어플리케이션(370)은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 와치(384), 헬스 케어(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(예: 기압, 습도, 또는 온도 정보) 제공 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 전자 장치와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리 어플리케이션을 포함할 수 있다. 예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션에서 발생된 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 또는 외부 전자 장치에서 동작하는 어플리케이션을 설치, 삭제, 또는 갱신할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치의 속성에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어(예: 프로세서(210)), 또는 이들 중 적어도 둘 이상의 조합으로 구현(예: 실행)될 수 있으며, 하나 이상의 기능을 수행하기 위한 모듈, 프로그램, 루틴, 명령어 세트 또는 프로세스를 포함할 수 있다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다. 다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(130))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체 (예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.
도 4는 본 발명의 일 실시예에 따라 전력을 제어하는 전자 장치(101)의 블록도이다.
도 4를 참조하면, 전자 장치(101)는 제 1 포트(410-1), 제 2 포트(410-2), 제 1 충전 회로(420-1), 제 2 충전 회로(420-2), 제 1 스위치(430-1) 및 제 2 스위치(430-2), 프로세서(440), 배터리(450), 및 시스템(460) 등을 포함할 수 있다.
일 실시예에서, 제 1 포트(410-1)(또는 제 1 인터페이스, 또는 제 1 입/출력 장치 등)는, 제 1 포트(410-1)에 외부 장치가 연결된 경우 외부 장치로부터 공급되는 전력을 전자 장치(101) 내부로 전달할 수 있다. 예를 들어, 제 1 포트(410-1)에 전력 공급 장치(또는 source device)(예: 충전기(travel adaptor))가 연결된 경우, 제 1 포트(410-1)는 전력 공급 장치로부터 공급되는 전력을 배터리(450)로 전달할 수 있다. 다른 실시예에서, 제 1 포트(410-1)는 제 1 포트(410-1)에 OTG(on the go) 장치(또는, sink device)가 연결된 경우, 제 1 포트(410-1)는 배터리(450)로부터 공급되는 전력을 OTG 장치로 전달할 수 있다. 다만, 이에 제한되지 않는다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 2 포트(410-2)는 제 2 포트(410-2)에 외부 장치가 연결된 경우 외부 장치로부터 공급되는 전력을 전자 장치(101) 내부로 전달할 수 있다. 예를 들어, 제 2 포트(410-2)에 전력 공급 장치(예: 급속 충전기(a high-speed battery charger))가 연결된 경우, 제 2 포트(410-2)는 전력 공급 장치로부터 공급되는 전력을 배터리(450)로 전달할 수 있다. 다른 실시예에서, 제 2 포트(410-2)에 OTG(on the go) 장치 (또는, sink device)가 연결된 경우, 제 2 포트(410-2)는 배터리(450)로부터 공급되는 전력을 OTG 장치로 전달할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2)는 다양한 전력 공급 장치로부터 전력을 공급 받을 수 있다. 예를 들어, 제 1 포트(410-1) 및 제 2 포트(410-2)는 휴대 충전기, 급속 충전기, 무선 충전기(wireless charger), 또는 태양열 충전기(solar charger) 등으로부터 전력을 공급받을 수 있다. 다만, 제 1 포트(410-1) 및 제 2 포트(410-2)가 전력을 공급받을 수 있는 전력 공급 장치는 이에 제한되지 않는다.
일 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2)는 전자 장치(101)가 지원하는 전력 또는 데이터를 송수신할 수 있는 규격(예: UBS(universal serial bus) 타입 C 등)에 따라 다양한 형태로 구현될 수 있다. 일 실시예에서, 도 4에서 도시하지는 않았지만, 제 1 포트(410-1) 및 제 2 포트(410-2) 중 적어도 하나에 외부 장치가 연결된 경우, 외부 장치가 연결된 포트는 프로세서(440)로 연결된 외부 장치에 대한 정보를 전달할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2)는 외부 장치로부터 전자 장치(101)로의 방향으로의 전력을 전달(또는 단 방향 전력 전송)할 수 있다. 다른 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2)는 외부 장치로부터 전자 장치(101)로의 방향 또는 전자 장치(101)로부터 외부 장치로의 방향으로 전력을 전달(또는 양 방향 전력 전송)할 수 있다.
일 실시예에서, 도 4에서는 제 1 포트(410-1) 및 제 2 포트(410-2)를 예시하고 있지만, 이에 제한되지 않으며, 전자 장치(101)는 3개 이상의 포트를 포함할 수도 있다.
일 실시예에서, 제 1 충전 회로(420-1)는 제 1 포트(410-1), 시스템(460), 배터리(450), 및 제 2 충전 회로(420-2)와 전기적으로 연결될 수 있다. 제 1 충전 회로(420-1)는 제 1 포트(410-1), 시스템(460), 배터리(450), 및 제 2 포트(410-2)에 연결된 외부 장치 중 적어도 하나로 전력을 전달할 수 있다. 예를 들어, 제 1 포트(410-1)에 전력 공급 장치가 연결된 경우, 제 1 충전 회로(420-1)는 제 1 포트(410-1)로부터 입력된 전력을 시스템(460) 및 배터리(450) 중 적어도 하나로 전달할 수 있다. 다른 예에서, 제 1 포트(410-1)에 전력 공급 장치가 연결되고 제 2 포트(410-2)에 OTG 장치가 연결된 경우, 제 1 충전 회로(420-1)는 제 1 포트(410-1)로부터 입력된 전력을 시스템(460), 배터리(450), 및 제 2 포트(410-2)에 연결된 OTG 장치 중 적어도 하나로 전달할 수 있다. 또 다른 예에서, 제 1 포트(410-1)에 OTG 장치가 연결된 경우, 제 1 충전 회로(420-1)는 배터리(450) 및 제 2 포트(410-2)에 연결된 전력 공급 장치 중 적어도 하나로부터 입력된 전력을 제 1 포트(410-1)로 전달할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 1 충전 회로(420-1)는, 제 1 충전 회로(420-1)로 전압이 입력되면, 전자 장치(101)의 정보 및 전자 장치(101)에 연결된 외부 장치의 정보 중 적어도 하나에 기반하여 입력된 전압의 크기를 조절하고, 조절된 크기를 가지는 전압을 출력할 수 있다. 예를 들어, 제 1 포트(410-1)에 전력 공급 장치가 연결된 경우, 제 1 충전 회로(420-1)는 배터리(450)의 충전 상태에 적어도 일부 기반하여 입력된 전압을 감압(예: 벅(buck) 기능) 또는 승압(예: 부스트(boost) 기능)하여 출력하거나, 또는 입력된 전압과 동일한 전압(벅 부스트 기능)을 출력할 수 있다. 예를 들어, 제 1 포트(410-1)에 전력 공급 장치가 연결되고 배터리(450)가 완충 상태가 아닌 경우, 제 1 충전 회로(420-1)는 배터리(450) 완충 시 배터리(450)가 출력하는 전압(또는 배터리(450) 완충 시 전압)과 동일한 크기를 가지는 전압을 출력할 수 있다. 다만, 이에 제한되지 않는다. 예를 들어, 배터리(450)가 완전히 방전된 경우, 제 1 충전 회로(420-1)는 배터리(450)의 출력 전압이 완전히 방전된 상태의 전압으로부터 지정된 전압이 될 때까지 점차적으로 출력 전압의 크기를 증가시킬 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 1 충전 회로(420-1)는 제 1 컨버터(converter)(421-1) 및 제 1 차저(charger)(421-2) 등을 포함할 수 있다.
일 실시예에서, 제 1 컨버터(421-1)는 벅 부스트 컨버터(buck boost converter)를 포함할 수 있다. 벅 부스트 컨버터는 제 1 차저(421-2)의 제어 하에 입력 전압을 감압 또는 승압하거나, 입력 전압과 동일한 전압을 출력할 수 있다. 일 실시예에서, 벅 부스트 컨버터는 복수의 스위치들과 전력을 저장하기 위한 적어도 하나의 소자로 구성될 수 있다. 일 실시예에서, 복수의 스위치들은 FET(field effect transistor), BJT(bipolar junction transistor), 다이오드(diode), 또는 그 조합으로 구성되고, 전력을 저장하기 위한 소자는 인덕터(inductor) 또는 커패시터(capacitor) 등으로 구성될 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 1 차저(421-2)는 제 1 컨버터(421-1)에 포함된 스위치들과, 제 1 스위치(430-1)의 온/오프(on/off)를 제어할 수 있다. 예를 들어, 제 1 차저(421-2)는 배터리(450)의 충전 상태를 검출하고, 검출된 배터리(450)의 충전 상태에 적어도 일부 기반하여 배터리(450) 완충 시 배터리(450)가 출력하는 전압과 동일한 크기를 가지는 전압을 제 1 컨버터(421-1)가 출력하도록 제 1 컨버터(421-1)를 제어할 수 있다. 다른 예에서, 프로세서(440)가 배터리(450)의 충전 상태를 검출하는 경우, 제 1 차저(421-2)는 프로세서(440)로부터 제어 신호를 수신함으로써, 배터리(450) 완충 시 배터리(450)가 출력하는 전압과 동일한 크기를 가지는 전압을 제 1 컨버터(421-1)가 출력하도록 제 1 컨버터(421-1)를 제어할 수 있다. 다만, 이에 제한되지 않는다. 또 다른 예에서, 제 1 차저(421-2)는 배터리(450)가 완충 상태에서 제 1 포트(410-1)에 전력 공급 장치가 연결된 경우, 전력 공급 장치로부터 입력되는 전력을 시스템(460)으로 공급하고 배터리(450)로부터 시스템(460)으로 공급되는 전력을 차단하기 위하여 제 1 스위치(430-1)를 턴-오프(turn-off)할 수 있다. 다만, 이에 제한되지 않는다. 일 실시예에서, 제 1 차저(421-2)는 충전 회로 제어부 등과 같이, 다양하게 지칭될 수 있다.
일 실시예에서, 제 2 충전 회로(420-2)는 제 2 포트(410-2), 시스템(460), 배터리(450), 및 제 1 충전 회로(420-1)와 전기적으로 연결될 수 있다. 제 2 충전 회로(420-2)는 제 2 포트(410-2), 시스템(460), 배터리(450), 및 제 1 포트(410-1)에 연결된 외부 장치로 전력을 전달할 수 있다. 제 2 충전 회로(420-2)는 제 2 컨버터(423-1) 및 제 2 차저(423-2)를 포함할 수 있다. 제 2 충전 회로(420-2)의 구성 및 기능 등은 제 1 충전 회로(420-1)의 구성 및 기능과 적어도 일부가 동일 또는 유사하므로 상세한 설명은 생략하도록 한다.
일 실시예에서, 제 2 충전 회로(420-2)는 제 1 충전 회로(420-1)와 동일한 전압을 출력할 수 있다. 예를 들어, 제 2 포트(410-2)에 전력 공급 장치가 연결되고 배터리(450)가 완충 상태가 아닌 경우, 제 1 충전 회로(420-1)와 동일 또는 유사하게, 제 2 충전 회로(420-2)는 배터리(450) 완충 시 배터리(450)가 출력하는 전압과 동일한 크기를 가지는 전압을 출력할 수 있다. 예를 들어, 제 1 포트(410-1) 및 제 2 포트(410-2) 각각에 전력 공급 장치가 연결된 경우, 제 1 충전 회로(420-1)의 출력 전압과 제 2 충전 회로(420-2)의 출력 전압은 동일할 수 있다. 예를 들어, 제 1 포트(410-1) 및 제 2 포트(410-2) 각각에 전력 공급 장치가 연결된 경우, 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2)는 A 지점의 전압(또는 제 1 충전 회로(420-1)의 배터리(450)와 전기적으로 연결된 단자의 전압)과 C 지점의 전압(또는 제 2 충전 회로(420-2)의 배터리(450)와 전기적으로 연결된 단자의 전압)이 오차 범위 이내에서 동일한 크기를 가지도록 전압을 출력할 수 있다.
일 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2) 각각에 전력 공급 장치가 연결된 상태에서, 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2)가 동일한 크기의 전압을 출력함으로써, 제 1 포트(410-1) 및 제 2 포트(410-2)로부터 입력되는 전력은 C 지점에서 합산되어 배터리(450)로 전달될 수 있다. 일 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2) 각각에 전력 공급 장치가 연결되고 배터리(450)가 완충 상태가 아닌 경우, 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2)가 배터리(450)의 현재 출력 전압의 크기보다 높은 크기를 가지는 전압을 출력하고 출력된 전압을 배터리(450)로 공급함으로써, 제 1 포트(410-1)로부터 공급되는 전력이 제 2 포트(410-2)에 연결된 전력 공급 장치로 전달되거나 제 2 포트(410-2)로부터 공급되는 전력이 제 1 포트(410-1)에 연결된 전력 공급 장치로 전달됨으로써 발생하는 문제(예: 전자 장치(101)의 셧 다운(shut down), 전자 장치(101) 또는 외부 장치의 회로 손상 등)를 방지할 수 있다.
예를 들어, 제 1 포트(410-1) 및 제 2 포트(410-2) 각각에 전력 공급 장치가 연결되고 완충 시 8.7 V(volt)를 출력하는 배터리(450)의 현재 전압이 8.2 V인 경우, 제 1 충전 회로(420-1)가 8.7 V를 출력하고 제 2 충전 회로(420-2)가 8.7 V로부터 오차 범위 내에 해당하는 8.6 V를 출력하는 경우, 제 1 포트(410-1)로부터 공급되는 전력 및 제 2 포트(410-2)로부터 공급되는 전력은 B 지점에서 합산되어 모두 배터리(450)로 공급될 수 있다. 일 실시예에서, 전자 장치(101)의 배터리(450)는 제 1 포트(410-1) 및 제 2 포트(410-2)에 연결된 전력 공급 장치들로부터 동시에 전력을 공급 받아 충전 동작을 수행할 수 있다.
일 실시예에서, 제 1 스위치(430-1)는 제 1 충전 회로(420-1), 시스템(460), 배터리(450), 및 제 2 스위치(430-2)와 전기적으로 연결될 수 있다.
일 실시예에서, 제 1 스위치(430-1)는 제 1 충전 회로(420-1)(예: 제 1 차저(421-2))의 제어 하에 턴 온(turn on)됨으로써 제 1 포트(410-1)로부터 입력되는 전력을 배터리(450)로 전달할 수 있다. 다른 실시예에서, 제 1 스위치(430-1)는 제 1 충전 회로(420-1)의 제어 하에 턴 온(turn on)됨으로써 배터리(450)로부터 시스템(460) 또는 제 1 포트(410-1)에 연결되는 OTG 장치로 전력을 전달할 수 있다. 또 다른 실시예에서, 제 1 포트(410-1)에 전력 공급 장치가 연결되고 배터리(450)가 완충 상태에 있는 경우, 제 1 스위치(430-1)는 제 1 충전 회로(420-1)의 제어 하에 턴 오프될 수 있다. 일 실시예에서, 제 1 스위치(430-1)의 턴 온 또는 턴 오프 동작은 프로세서(440)에 의해 제어될 수도 있다. 예를 들어, 프로세서(440)가 배터리(450)의 충전 상태 및 시스템(460)의 요구 전력 등을 고려하여 제 1 스위치(430-1)의 턴 온 또는 턴 오프 동작을 위한 제어 신호를 제 1 충전 회로(420-1)로 전달할 수 있다. 프로세서(440)로부터 수신된 제 1 스위치(430-1)의 턴 온 또는 턴 오프 동작을 위한 제어 신호에 기반하여, 제 1 충전 회로(420-1)는 제 1 스위치(430-1)를 턴 온 또는 턴 오프하기 위한 신호를 제 1 스위치(430-1)로 전달할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 2 스위치(430-2)는 제 2 충전 회로(420-2), 배터리(450), 및 제 1 스위치(430-1)와 전기적으로 연결될 수 있다.
일 실시에에서, 제 2 스위치(430-2)의 동작은 제 1 스위치(430-1)의 동작과 적어도 일부가 동일 또는 유사하므로 상세한 설명은 생략하도록 한다.
일 실시예에서, 제 2 스위치(430-2) 및 제 1 스위치(430-1)가 턴 온된 경우, 배터리(450) 및 제 2 포트(410-2)에 연결된 전력 공급 장치 중 적어도 하나로부터 공급되는 전력이 시스템(460)으로 전달될 수 있다.
일 실시예에서, 제 1 스위치(430-1) 및 제 2 스위치(430-2)는 FET(field effect transistor), BJT(bipolar junction transistor), 다이오드(diode), 또는 그 조합으로 구성될 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 프로세서(440)는 전자 장치(101)로 전력을 공급하거나 전자 장치(101)로부터 외부 장치로 공급하는 동작을 제어할 수 있다. 일 실시예에서, 프로세서(440)는 외부 장치가 제 1 포트(410-1) 및 제 2 포트(410-2) 중 적어도 하나에 연결됨을 검출할 수 있다. 다른 실시예에서, 프로세서(440)는 외부 장치가 제 1 포트(410-1) 및 제 2 포트(410-2)에 연결된 경우, 외부 장치로부터 수신되는 정보에 적어도 일부 기반하여 외부 장치의 종류를 확인할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 프로세서(440)는 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2) 중 적어도 하나를 제어할 수 있다. 예를 들어, 프로세서(440)는 외부 장치(예: 전력 공급 장치)가 공급 가능한 전력, 시스템(460)이 요구하는 전력, 외부 장치(예: OTG 장치 등)가 요구하는 전력, 또는 배터리(450)의 상태(예: 배터리(450)의 충전 상태) 등에 적어도 일부 기반하여, 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2) 중 적어도 하나를 제어할 수 있다. 예를 들어, 프로세서(440)는 외부 장치(예: 전력 공급 장치)가 공급 가능한 전력, 시스템(460)이 요구하는 전력, 외부 장치(예: OTG 장치 등)가 요구하는 전력, 또는 배터리(450)의 상태(예: 배터리(450)의 충전 상태) 등에 적어도 일부 기반하여, 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2) 중 적어도 하나가 출력할 전압 및 전류의 크기 및 방향을 결정할 수 있다. 프로세서(440)는 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2) 중 적어도 하나로 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2) 중 적어도 하나가 출력할 전압 및 전류의 크기 및 방향에 대한 정보를 포함하는 신호를 전달할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 프로세서(440)는 제 1 스위치(430-1) 및 제 2 스위치(430-2) 중 적어도 하나를 제어할 수 있다. 예를 들어, 프로세서(440)는 외부 장치(예: 전력 공급 장치)가 공급 가능한 전력, 시스템(460)이 요구하는 전력, 외부 장치(예: OTG 장치 등)가 요구하는 전력, 또는 배터리(450)의 상태(예: 배터리(450)의 충전 상태) 등에 적어도 일부 기반하여, 제 1 스위치(430-1) 및 제 2 스위치(430-2) 중 적어도 하나를 제어하기 위한 신호를 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2) 중 적어도 하나로 전송할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 프로세서(440)는 도 1의 프로세서(120)와 동일하거나 프로세서(120)에 포함되는 구성일 수 있다. 다른 실시예에서, 프로세서(440)는 도 1 의 프로세서(120)와 독립된 구성으로서, 전자 장치(101)로 송수신되는 전력을 제어하기 위한 구성일 수 있다. 일 실시예에서, 프로세서(440)는 마이콤(microm), 또는 임베디드 컨트롤러(embedded controller)를 포함할 수 있다. 다른 실시예에서, 프로세서(440)는 전자 장치(101)가 USB 타입 C 규격을 지원하는 경우, USB 컨트롤러(또는 포트 컨트롤러(port controller), 또는 CC(channel configuration) 컨트롤러 등)를 포함할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 시스템(460)은 전자 장치(101)의 각 구성을 포함할 수 있다. 예를 들어, 시스템(460)은 디스플레이(260), 통신 모듈(220), 또는 센서 모듈(240) 등과 같이 구동을 위하여 전력을 소모하는 구성을 포함할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 시스템(460)은 제 1 충전 회로(420-1)의 및 제 1 스위치(430-1)와 전기적으로 연결될 수 있다. 다만, 이에 제한되지 않는다. 예를 들어, 시스템(460)은 제 1 충전 회로(420-1)의 단자와 연결되고, 제 1 스위치(430-1) 및 제 2 스위치(430-2)를 통해 제 2 충전 회로(420-2)와 연결될 수 있다. 일 실시예에서, 시스템(460)이 제 1 충전 회로(420-1)에 연결됨으로써, 시스템(460)은 배터리(450) 완충 시에도 제 1 포트(410-1) 및 제 2 포트(410-2) 중 적어도 하나에 연결된 전력 공급 장치로부터 전력을 공급받을 수 있다. 다른 실시예에서, 시스템(460)이 제 1 충전 회로(420-1)에 연결됨으로써, 배터리(450) 및 제 1 포트(410-1) 및 제 2 포트(410-2) 중 적어도 하나에 연결된 전력 공급 장치로부터 전력을 공급받을 수 있는 경우, 배터리(450)에 우선하여 제 1 포트(410-1) 및 제 2 포트(410-2) 중 적어도 하나에 연결된 전력 공급 장치로부터 전력을 공급받을 수 있다. 또 다른 실시예에서, 시스템(460)이 제 1 충전 회로(420-1)에 연결됨으로서 배터리(450)를 보호할 수 있다. 예를 들어, 시스템(460)이 배터리(450)와 직접적으로 연결(예: B 지점에 시스템(460)이 연결)된 경우, 시스템(460)의 부하(load)에 따라, 예를 들어, CV(constant voltage) 충전 구간에 충전 전류가 변동되는 정도가 커질 수 있으며, 배터리(450)가 과열되거나 스트레스를 받음으로써 배터리(450)에 치명적인 문제가 발생할 수 있으며, 시스템(460)이 제 1 충전 회로(420-1)에 연결됨으로써 이러한 문제를 방지할 수 있다.
일 실시예에서, 배터리(450)는 시스템(460), 제 1 포트(410-1) 및 제 2 포트(410-2) 중 적어도 하나로 전력을 공급할 수 있다. 일 실시예에서, 배터리(450)는 시스템(460), 제 1 충전 회로(420-1), 및 제 2 충전 회로(420-2)와 전기적으로 연결될 수 있다. 다만, 이에 제한되지 않는다. 일 실시예에서, 제 1 포트(410-1) 및 제 2 포트(410-2) 각각에 전력 공급 장치가 연결된 경우, 배터리(450)는 제 1 포트(410-1) 및 제 2 포트(410-2)에 연결된 전력 공급 장치들로부터 전력을 공급받을 수 있다.
도 4에서 전자 장치(101)가 제 1 포트(410-1) 및 제 2 포트(410-2), 제 1 충전 회로(420-1) 및 제 2 충전 회로(420-2), 제 1 스위치(430-1) 및 제 2 스위치(430-2)를 포함하는 것으로 예시하고 있지만, 전자 장치(101)는 3개 이상의 포트들, 3개 이상의 포트들에 대응하는 충전 회로들와 스위치들을 포함할 수 있다. 예를 들어, 전자 장치(101)는 포트의 개수에 대응하는 개수의 충전 회로들을 포함할 수 있다. 일 실시예에서, 전자 장치(101)가 3개 이상의 포트를 포함하고, 2개 이상의 포트들에 전력 공급 장치들이 연결된 경우, 2개 이상의 포트들에 대응하는 충전 회로들의 출력 단자에서 전압을 동일하게 출력함으로써 2개 이상의 포트들에 연결된 전력 공급 장치들로부터 전력을 배터리(450)로 안정적으로 공급할 수 있다. 일 실시예에서, 복수의 포트들 각각과 복수의 포트들에 대응하는 복수의 충전 회로들 각각은 하나의 선로(또는 라인(line), 또는 패스(path))를 통해 연결될 수 있다. 복수의 포트들 각각과 복수의 포트들에 대응하는 복수의 충전 회로들 각각을 연결하는 하나의 선로를 통해 외부 장치로부터 전자 장치(101)로 전력이 공급되거나 외부 장치로부터 전자 장치(101)로 전력이 공급될 수 있다. 이를 통해, 전자 장치(101)는 종래 기술에 비하여 적은 구성 요소를 이용하여 구현될 수 있다.
도 5는 본 발명의 일 실시예에 따라 전력을 제어하는 전자 장치의 예시도이다.
도 5를 참조하면, 전자 장치(101)는 제 1 포트(510-1), 제 2 포트(510-2), 제 1 충전 회로(520-1), 제 2 충전 회로(520-2), 제 1 스위치(530-1) 및 제 2 스위치(530-2), 프로세서(540), 배터리(550), 시스템(560), 및 제 3 스위치(570-1) 및 제 4 스위치(570-2) 등을 포함할 수 있다.
일 실시예에서, 제 1 포트(510-1) 및 제 2 포트(510-2)는 도 4의 제 1 포트(510-1) 및 제 2 포트(510-2)와 적어도 일부가 동일 또는 유사하므로 상세한 설명은 생략하도록 한다.
일 실시예에서, 제 1 충전 회로(520-1)는 도 4의 제 1 충전 회로(520-1)와 적어도 일부가 동일 또는 유사하므로 중복되는 설명은 생략하도록 한다.
일 실시예에서, 제 1 충전 회로(520-1)는 제 3 스위치(570-1), 시스템(560), 배터리(550), 및 제 2 충전 회로(520-2)와 전기적으로 연결될 수 있다. 일 실시예에서, 제 1 충전 회로(520-1)는 제 1 컨버터(521-1) 및 제 1 차저(521-2) 등을 포함할 수 있다.
일 실시예에서, 제 1 컨버터(521-1)는 벅 부스트 컨버터(buck boost converter)를 포함할 수 있다. 예를 들어, 도 5에 도시된 바와 같이, 제 1 컨버터(521-1)는 4개의 NMOS FET(n-channel metal oxide semiconductor field effect transistor)와 인덕터를 포함할 수 있다. 다만, 이에 제한되지 않는다. 예를 들어, 제 1 컨버터(521-1)는 NMOS FET 외의 FET, BJT(bipolar junction transistor), 다이오드(diode) 등과, 인덕터 외 커패시터(capacitor) 등으로 구성될 수 있다. 일 실시예에서, 제 1 컨버터(521-1)는 제 1 차저(521-2)의 제어 하에 입력 전압을 감압 또는 승압하거나, 입력 전압과 동일한 전압을 출력할 수 있다. 예를 들어, 제 1 컨버터(521-1)에 포함된 4개의 NMOS FET 중 적어도 일부가 제 1 차저(521-2)에 의해 턴 온 또는 턴 오프됨으로써(또는 듀티 비(duty ratio)가 조절됨으로써) 인덕터에 전류(또는 에너지)를 저장하거나 인덕터에 저장된 전류를 출력함으로써, 입력 전압을 감압 또는 승압하거나, 입력 전압과 동일한 전압을 출력할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 1 차저(521-2)는 제 1 컨버터(521-1)에 포함된 4개의 NMOS FET과, 제 1 스위치(530-1)의 온/오프(on/off)를 제어할 수 있다. 예를 들어, 제 1 차저(521-2)는 배터리(550)의 출력 전압을 검출할 수 있다. 제 1 차저(521-2)는 검출된 배터리(550)의 출력 전압에 적어도 일부 기반하여 배터리(550)의 충전 상태를 결정할 수 있다. 제 1 차저(521-2)는 검출된 배터리(550)의 충전 상태에 적어도 일부 기반하여 배터리(550) 완충 시 배터리(550)가 출력하는 전압과 동일한 크기를 가지는 전압을 제 1 컨버터(521-1)가 출력하도록 제 1 컨버터(521-1)를 제어할 수 있다. 다만, 이에 제한되지 않는다.
다른 실시예에서, 제 1 차저(521-2)는 배터리(550)가 완충 상태에서 제 1 포트(510-1)에 전력 공급 장치가 연결된 경우, 전력 공급 장치로부터 입력되는 전력을 시스템(560)으로 공급하기 위하여 제 1 스위치(530-1)를 턴-오프(turn-off)할 수 있다. 배터리(550)가 완충 상태에서 제 1 포트(510-1)에 전력 공급 장치가 연결되고, 제 1 스위치(530-1)가 턴-오프된 경우, 배터리(550)로부터 시스템(560)으로의 전력 공급이 차단되고, 제 1 포트(510-1)에 연결된 전력 공급 장치로부터 시스템(560)으로 전력이 공급될 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 제 2 충전 회로(520-2)는 도 4의 제 2 충전 회로(520-2)와 적어도 일부가 동일 또는 유사하므로 중복되는 설명은 생략하도록 한다.
일 실시예에서, 제 2 충전 회로(520-2)는 제 4 스위치(570-2), 시스템(560), 배터리(550), 및 제 1 충전 회로(520-1)와 전기적으로 연결될 수 있다. 제 2 충전 회로(520-2)는 제 2 포트(510-2), 시스템(560), 배터리(550), 및 제 1 포트(510-1)에 연결된 외부 장치로 전력을 전달할 수 있다. 제 2 충전 회로(520-2)는 제 2 컨버터(523-1) 및 제 2 차저(523-2)를 포함할 수 있다.
일 실시예에서, 제 2 충전 회로(520-2)는 제 1 충전 회로(520-1)와 동일한 전압을 출력할 수 있다. 예를 들어, 제 2 포트(510-2)에 전력 공급 장치가 연결되고 배터리(550)가 완충 상태가 아닌 경우, 제 1 충전 회로(520-1)와 동일 또는 유사하게, 제 2 충전 회로(520-2)는 배터리(550) 완충 시 배터리(550)가 출력하는 전압과 동일한 크기를 가지는 전압을 출력할 수 있다. 예를 들어, 제 1 포트(510-1) 및 제 2 포트(510-2) 각각에 전력 공급 장치가 연결된 경우, 제 1 충전 회로(520-1)의 출력 전압과 제 2 충전 회로(520-2)의 출력 전압은 동일할 수 있다.
일 실시예에서, 제 1 포트(510-1) 및 제 2 포트(510-2) 각각에 전력 공급 장치가 연결된 상태에서, 제 1 충전 회로(520-1) 및 제 2 충전 회로(520-2)가 동일한 크기의 전압을 출력함으로써, 제 1 포트(510-1) 및 제 2 포트(510-2)로부터 입력되는 전력은 P0_SUM 지점에서 합산되어 배터리(550)로 전달될 수 있다. 일 실시예에서, P0_SUM 지점은 제 1 충전 회로(520-1) 및 제 2 충전 회로(520-2)와 배터리(550)의 공통(common) 출력 노드(node)(또는 기준(reference))일 수 있다.
일 실시예에서, 제 1 포트(510-1) 및 제 2 포트(510-2) 각각에 전력 공급 장치가 연결되고 배터리(550)가 완충 상태가 아닌 경우, 제 1 충전 회로(520-1) 및 제 2 충전 회로(520-2)가 배터리(550)의 현재 출력 전압의 크기보다 높은 크기를 가지는 전압을 출력하고 출력된 전압을 배터리(550)로 공급함으로써, 제 1 포트(510-1)로부터 공급되는 전력이 제 2 포트(510-2)에 연결된 전력 공급 장치로 전달되거나 제 2 포트(510-2)로부터 공급되는 전력이 제 1 포트(510-1)에 연결된 전력 공급 장치로 전달됨으로써 발생하는 문제(예: 전자 장치(101)의 셧 다운(shut down), 전자 장치(101) 또는 외부 장치의 회로 손상 등)를 방지할 수 있다.
일 실시예에서, 제 1 스위치(530-1) 및 제 2 스위치(530-2)는 도 4의 제 1 스위치(530-1) 및 제 2 스위치(530-2)와 적어도 일부가 동일 또는 유사하므로 중복되는 설명은 생략하도록 한다.
일 실시예에서, 도 5에서, 제 1 스위치(530-1) 및 제 2 스위치(530-2)는 NMOS FET을 포함하고 있는 것으로 도시하고 있으나, 이에 제한되지 않는다. 예를 들어, 제 1 스위치(530-1) 및 제 2 스위치(530-2)는 NMOS FET 외의 FET, BJT(bipolar junction transistor), 다이오드(diode), 또는 그 조합으로 구성될 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, NMOS FET으로 구성된 제 1 스위치(530-1) 및 제 2 스위치(530-2)는 바디 다이오드(body diode)를 포함할 수 있다. 일 실시예에서, NMOS FET의 바디 다이오드는 NMOS FET이 턴 오프 상태에서 시스템(560) 등이 필요로 하는 전력이 순간적으로 증가하는 경우, 시스템(560) 등으로 필요한 전력을 전달할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 프로세서(540)는 전자 장치(101)로 전력을 공급하거나 전자 장치(101)로부터 외부 장치로 전력을 공급하는 동작을 제어할 수 있다. 일 실시예에서, 프로세서(540)는 도 4의 프로세서(440)와 적어도 일부가 동일 또는 유사하므로 중복되는 설명은 생략하도록 한다.
일 실시예에서, 프로세서(540)는 제 3 스위치(570-1) 및 제 4 스위치(570-2)를 동작을 제어할 수 있다. 예를 들어, 프로세서(540)는 제 1 포트(510-1) 및 제 2 포트(510-2)에 갑작스럽게(또는 순간적으로) 과전압 또는 과전류이 발생하지 않도록 제 3 스위치(570-1) 및 제 4 스위치(570-2)의 턴 온 또는 턴 오프 동작을 제어할 수 있다. 예를 들어, 프로세서(540)는 제 1 포트(510-1) 또는 제 2 포트(510-2)에 외부 장치가 연결되지 않은 경우, 제 3 스위치(570-1) 또는 제 4 스위치(570-2)를 턴 오프할 수 있다. 이를 통해, 제 3 스위치(570-1) 및 제 4 스위치(570-2)는 OVP(over voltage protection) 기능 또는 OCP(over current protection) 기능을 수행할 수 있다. 다른 예에서, 프로세서(540)는 제 1 포트(510-1) 또는 제 2 포트(510-2)에 외부 장치가 연결된 경우, 제 1 포트(510-1) 또는 제 2 포트(510-2)와 외부 장치의 연결을 검출하고, 제 3 스위치(570-1) 또는 제 4 스위치(570-2)를 턴 오프할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 배터리(550) 및 시스템(560)은 도 4의 배터리(550) 및 시스템(560)과 적어도 일부가 동일 또는 유사하므로 상세한 설명은 생략하도록 한다.
일 실시예에서, 제 3 스위치(570-1) 및 제 4 스위치(570-2)는 프로세서(540)의 제어 하에 턴 온 또는 턴 오프 동작을 수행할 수 있다. 일 실시예에서, 전자 장치(101)는 제 3 스위치(570-1) 및 제 4 스위치(570-2)를 포함하지 않을 수 있다. 다만, 이에 제한되지 않는다.
도 6은 본 발명의 다른 실시예에 따라 전력을 제어하는 전자 장치의 예시도이다.
도 6을 참조하면, 전자 장치(101)는 N개의 포트, 및 N개의 충전 회로 등을 포함할 수 있다. 일 실시예에서 N은 2보다 큰 숫자일 수 있다. 예를 들어, 전자 장치(101)는 N 포트(610-3), 제 L 스위치(670-3), 제 N 컨버터(625-1) 및 제 N 차저(625-2)를 포함하는 제 N 충전 회로(620-3), 및 제 M 스위치(630-3) 등을 더 포함할 수 있다.
일 실시예에서, N 포트(610-3), 제 L 스위치(670-3), 제 N 컨버터(625-1) 및 제 N 차저(625-2) 등에 대한 설명은 도 4 또는 도 5의 적어도 일부와 동일 또는 유사하므로 상세한 설명은 생략하기로 한다.
일 실시예에서, 제 N 충전 회로(620-3)는 배터리(650), 시스템(660), 제 1 충전 회로(620-1) 내지 제 N-1 충전 회로(미도시)와 전기적으로 연결될 수 있다. 일 실시예에서, 제 N 충전 회로(620-3)는 제 1 충전 회로(620-1) 내지 제 N-1 충전 회로의 출력 전압과 동일한 전압을 출력할 수 있다. 일 실시예에서, 제 1 포트(610-1) 내지 제 N 포트(620-N) 중에서 적어도 2개의 포트에 전력 공급 장치들이 연결된 경우, 연결된 전력 공급 장치들로부터 공급되는 전력은 P0_SUM 지점에서 합산되어 배터리로 전달될 수 있다.
도 7은 본 발명의 다양한 실시예들에 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다.
도 7을 참조하면, 동작 701에서, 전자 장치(101)는 적어도 하나의 외부 장치의 연결을 검출할 수 있다. 예를 들어, 전자 장치(101)는 복수의 포트들 중 적어도 일부에 외부 장치가 연결됨을 검출할 수 있다. 일 실시예에서, 외부 장치는 전력 공급 장치(또는 source device) 또는 OTG(on the go) 장치(또는, sink device) 등을 포함할 수 있다. 예를 들어, 전력 공급 장치는 전자 장치(101)로 전력을 공급할 수 있는 충전기(travel adaptor), 급속 충전기(a high-speed battery charger), 무선 충전기(wireless charger), 또는 태양열 충전기(solar charger) 등일 수 있다. 다만, 이에 제한되지 않는다. 다른 예에서, OTG 장치는 USB 메모리, 이어 폰과 같은 액세서리 등과 같이 전자 장치(101)로부터 전력을 요구하는 장치를 포함할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 전자 장치(101)는 외부 장치가 연결된 포트를 통해 외부 장치로부터 공급되는 전압 값, 또는 외부 장치로부터 수신하는 아이디(ID)(또는 임피던스 값) 등의 정보에 적어도 일부 기반하여 외부 장치의 연결을 검출할 수 있다. 일 실시예에서, 전자 장치(101)는 외부 장치로부터 수신되는 정보 등에 적어도 일부 기반하여 외부 장치의 종류를 검출할 수 있다. 예를 들어, 전자 장치(101)에 USB 타입 C 규격을 지원하는 외부 장치가 연결된 경우, 외부 장치로부터 수신되는 CC(channel configuration) 정보 등에 적어도 일부 기반하여 외부 장치의 종류를 검출할 수 있다. 다만, 외부 장치의 연결 또는 외부 장치의 종류를 검출하는 방법은 이에 제한되지 않는다.
일 실시예에서, 외부 장치의 연결 또는 외부 장치의 종류의 검출은 전자 장치(101)의 포트 또는 외부 장치의 포트가 지원하는 인터페이스 규격에 따라, 포트 컨트롤러(port controller) 또는 임베디드 컨트롤러(embedded controller) 등에서 수행될 수 있다. 다만, 이에 제한되지 않는다.
동작 703에서, 전자 장치(101)는 연결된 외부 장치에 따라 충전 회로 등을 제어할 수 있다. 예를 들어, 전자 장치(101)는 연결된 외부 장치가 전력 공급 장치 또는 OTG 장치인지에 따라 충전 회로 등을 제어할 수 있다.
일 실시예에서, 전자 장치(101)는 연결된 외부 장치가 전력 공급 장치인 경우, 전력 공급 장치가 연결된 포트 및 충전 회로를 연결하는 스위치가 턴 온되도록 스위치를 제어할 수 있다. 일 실시예에서, 스위치가 턴 온된 경우 충전 회로에 포함된 차저가 동작할 수 있다. 예를 들어, 스위치가 턴 온되면 차저가 자동적으로 동작할 수 있다. 다른 예에서, 스위치가 턴 온되면 프로세서의 제어에 의해 차저가 동작할 수 있다. 일 실시예에서, 차저가 동작하는 경우, 전자 장치(101)는 배터리 충전 상태를 확인할 수 있다. 예를 들어, 차저는 배터리가 완충 상태에 있는지, 또는 완충되지 않은 상태에 있는지 여부 등을 확인할 수 있다. 다른 예에서, 임베디드 컨트롤러가 배터리의 충전 상태를 확인할 수도 있다. 일 실시예에서, 전자 장치(101)는 충전 회로(또는 컨버터)의 출력 전압 및 출력 전류를 결정할 수 있다. 예를 들어, 전자 장치(101)는 배터리 전압이 완충 상태가 아닌 경우, 충전 회로가 배터리 완충 상태의 출력 전압을 출력하도록 충전 회로를 제어할 수 있다. 일 실시예에서, 전자 장치(101)는 전력 공급 장치로부터 공급되는 전력 및 충전 회로의 출력 전압에 기반하는 전류를 출력하도록 충전 회로를 제어할 수 있다. 다만, 이에 제한되지 않는다. 일 실시예에서, 전자 장치(101)는 연결된 외부 장치가 전력 공급 장치인 경우, 배터리 또는 시스템으로 전력을 공급할 수 있다. 다른 실시예에서, 전자 장치(101)의 복수의 포트들에 전력 공급 장치 및 OTG 장치가 연결된 경우, 전자 장치(101)는 전력 공급 장치로부터 공급되는 전력을 배터리, 시스템, 및 OTG 장치 중 적어도 하나로 전달할 수 있다.
일 실시예에서, 전자 장치(101)는 전자 장치(101)의 포트에 연결된 외부 장치가 OTG 장치인 경우, 배터리 또는 다른 포트에 연결된 전력 공급 장치로부터 공급되는 전력을 OTG 장치로 전달할 수 있다.
일 실시예에서, OTG 장치로부터 OTG 장치를 구동하기 위하여 필요한 전압 및 전류에 대한 정보를 수신할 수 있다. 예를 들어, 전자 장치(101)는 연결된 외부 장치가 USB 타입 C 규격을 지원하는 OTG 장치인 경우, OTG 장치로부터 OTG 장치를 구동하기 위하여 필요한 전압 및 전류에 대한 정보를 포함하는 CC 신호 또는 SBU(sideband use) 신호 등을 수신할 수 있다.
일 실시예에서, 전자 장치(101)는 OTG 장치로부터 수신된 정보에 기반하여, OTG 장치가 필요로 하는 전압 및 전류를 OTG 장치로 공급하기 위하여 충전 회로를 제어할 수 있다. 예를 들어, 임베디드 컨트롤러는, OTG 장치가 필요로 하는 전압 및 전류를 컨버터가 출력하도록 컨버터에 포함된 스위치들의 턴 온 또는 턴 오프 동작을 제어하기 위한 신호를 차저로 전달할 수 있다. 일 실시예에서, 전자 장치(101)는 OTG 장치와 연결된 포트 및 충전 회로를 연결하는 스위치가 턴 온되도록 스위치를 제어할 수 있다. 일 실시예에서, OTG 장치와 연결된 포트 및 충전 회로를 연결하는 스위치가 턴 온되는 경우, 배터리 또는 다른 포트에 연결된 전력 공급 장치로부터 공급되는 전력이 OTG 장치로 전달될 수 있다.
이하, 도 8 내지 도 17을 참조하여, 전자 장치(101) 및 외부 장치 간 전력을 전달하는 방법에 대하여 상세히 설명하도록 한다.
도 8은 본 발명의 일 실시예들 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다. 도 8은 전자 장치(101)에 외부 장치로서 적어도 하나의 전력 공급 장치가 연결된 경우, 전자 장치(101) 및 전력 공급 장치 간 전달되는 전력을 제어하는 방법에 관하여 설명하기 위한 도면이다.
동작 801에서, 전자 장치(101)는 적어도 하나의 전력 공급 장치의 연결을 검출할 수 있다. 예를 들어, 전자 장치(101)는 복수의 포트들 중 적어도 일부에 외부 장치가 연결됨을 검출할 수 있다. 일 실시예에서, 전력 공급 장치는 전자 장치(101)로 전력을 공급할 수 있는 충전기(travel adaptor), 급속 충전기(a high-speed battery charger), 무선 충전기(wireless charger), 또는 태양열 충전기(solar charger) 등일 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 전자 장치(101)는 전력 공급 장치가 연결된 포트를 통해 전력 공급 장치로부터 공급되는 전압 값, 또는 전력 공급 장치로부터 수신하는 아이디(ID)(또는 임피던스 값) 등의 정보에 적어도 일부 기반하여 전력 공급 장치의 연결을 검출할 수 있다. 일 실시예에서, 전자 장치(101)는 전력 공급 장치로부터 수신되는 정보 등에 적어도 일부 기반하여 전력 공급 장치의 종류를 검출할 수 있다. 예를 들어, 전자 장치(101)에 USB 타입 C 규격을 지원하는 전력 공급 장치가 연결된 경우, 전력 공급 장치로부터 수신되는 CC(channel configuration) 정보 등에 적어도 일부 기반하여 전력 공급 장치의 종류를 검출할 수 있다. 다만, 전력 공급 장치의 연결 또는 전력 공급 장치의 종류를 검출하는 방법은 이에 제한되지 않는다.
일 실시예에서, 전력 공급 장치의 연결 또는 전력 공급 장치의 종류의 검출은 전자 장치(101)의 포트 또는 외부 장치의 포트가 지원하는 인터페이스 규격에 따라, 포트 컨트롤러(port controller) 또는 임베디드 컨트롤러(embedded controller) 등에서 수행될 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 전자 장치(101)는 전력 공급 장치가 연결된 포트 및 충전 회로를 연결하는 스위치가 턴 온되도록 스위치를 제어할 수 있다. 일 실시예에서, 스위치가 턴 온된 경우 충전 회로에 포함된 차저가 동작할 수 있다. 예를 들어, 스위치가 턴 온되면 자동적으로 차저가 동작할 수 있다. 다른 예에서, 스위치가 턴 온되면 프로세서의 제어에 의해 차저가 동작할 수 있다.
동작 803에서, 전자 장치(101)는 배터리 상태 및 시스템이 필요로 하는 전력을 확인할 수 있다. 일 실시예에서, 전자 장치(101)는 배터리로부터 배터리의 현재 출력 전압 값에 대한 정보를 수신할 수 있다. 전자 장치(101)는 수신된 배터리의 현재 출력 전압 값에 적어도 일부 기반하여 배터리의 충전 정도(또는 배터리의 충전량)를 확인할 수 있다. 다른 실시예에서, 전자 장치(101)는 시스템으로부터 시스템을 구동하기 위하여 필요한 전력에 대한 정보를 수신함으로써, 시스템이 필요로 하는 전력을 확인할 수 있다. 또 다른 실시예에서, 전자 장치(101)는 배터리 상태 및 시스템이 필요로 하는 전력 외에, 전자 장치(101)에 연결된 적어도 하나의 전력 공급 장치가 전자 장치(101)로 공급 가능한 전력을 확인할 수 있다. 예를 들어, 전자 장치(101)는 2개의 포트에 각각 전력 공급 장치가 연결된 경우, 전자 장치(101)는 2개의 전력 공급 장치 각각으로부터 전자 장치(101)로 공급 가능한 전력에 대한 정보를 수신하고, 전력 공급 장치 각각으로부터 공급 가능한 전력을 합산한 전력을 전자 장치(101)로 공급 가능한 전력으로 확인할 수 있다. 다만, 이에 제한되지 않는다.
동작 805에서, 전자 장치(101)는 배터리 및 시스템 중 적어도 하나로 전력을 공급하도록 충전 회로 등을 제어할 수 있다.
일 실시예에서, 전자 장치(101)는 배터리 및 시스템 중 적어도 하나로 전력을 공급하기 위하여 충전 회로(또는 컨버터)의 출력 전압 및 출력 전류를 결정할 수 있다. 예를 들어, 전자 장치(101)는 배터리 전압이 완충 상태가 아닌 경우, 충전 회로가 배터리 완충 상태의 출력 전압을 출력하도록 충전 회로를 제어할 수 있다. 일 실시예에서, 전자 장치(101)는 전력 공급 장치로부터 공급되는 전력 및 충전 회로의 출력 전압에 기반하는 전류를 출력하도록 충전 회로를 제어할 수 있다. 다만, 이에 제한되지 않는다. 일 실시예에서, 전자 장치(101)는 연결된 전력 공급 장치로부터, 배터리 또는 시스템으로 전력을 공급할 수 있다.
도 9는 본 발명의 일 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다. 도 9는 2개의 포트 모두에 전력 공급 장치가 연결된 경우를 가정하고, 2개의 전력 공급 장치로부터 배터리 및 시스템 중 적어도 하나로 전력을 공급하는 방법을 예시하는 도면이다.
도 9를 참조하면, 도 9에서 도시된 전자 장치(101)는 도 5에서 도시된 전자 장치(101)와 동일 또는 유사한 구성을 포함할 수 있다. 예를 들어, 전자 장치(101)는 제 1 포트(910-1), 제 2 포트(910-2), 제 1 충전 회로(920-1), 제 2 충전 회로(920-2), 스위치들(930-1, 930-2), 프로세서(940), 배터리(950), 시스템(960), 및 스위치들(970-1, 970-2) 등을 포함할 수 있다. 일 실시예에서, 시스템(960)은 제 1 충전 회로(920-1)와 직접적으로 연결될 수 있다. 예를 들어, 시스템(960)은 제 1 충전 회로(920-1)의 단자와 연결되고, 스위치(930-1) 및 스위치(930-2)를 통해 제 2 충전 회로(920-2)와 연결될 수 있다.
일 실시예에서, 전자 장치(101)는 제 1 전력 공급 장치(980-1)로부터 공급되는 전력 및 제 2 전력 공급 장치(980-2)로부터 공급되는 전력을 합산하여 배터리(950)로 전달할 수 있다. 예를 들어, 전자 장치(101)는 P0_SUM 지점에서 제 1 전력 공급 장치(980-1)로부터 공급되는 전력 및 제 2 전력 공급 장치(980-2)로부터 공급되는 전력을 합산하여 배터리(950)로 전달할 수 있다. 일 실시예에서, 제 1 전력 공급 장치(980-1)로부터 공급되는 전력 및 제 2 전력 공급 장치(980-2)로부터 공급되는 전력을 합산하여 배터리(950)로 전달할 때, 전자 장치(101)는 제 1 충전 회로(920-1) 및 제 2 충전 회로(920-2)가 동일한 전압을 출력하도록 제 1 충전 회로(920-1) 및 제 2 충전 회로(920-2)를 제어할 수 있다.
일 실시예에서, 제 1 전력 공급 장치(980-1)로부터 공급되는 전력이 시스템(960)이 필요로 하는 전력 보다 큰 경우, 전자 장치(101)는 제 1 전력 공급 장치(980-1)로부터 공급되는 전력 중 시스템(960)이 필요로 하는 전력은 시스템(960)으로 전달하고, 나머지 전력은 배터리(950)로 전달할 수 있다. 예를 들어, 제 1 포트(910-1), 스위치(970-1), 및 제 1 충전 회로(920-1)가 연결된 경로(990-1)를 통해 제 1 전력 공급 장치(980-1)로부터 40W(Watt)가 공급되고 제 2 포트(910-2), 스위치(970-2), 및 제 2 충전 회로(920-2)가 연결된 경로(980-2)를 통해 제 2 전력 공급 장치(980-2)로부터 25W가 공급되고, 시스템(960)이 필요로 하는 전력이 30W인 경우, 전자 장치(101)는 제 1 전력 공급 장치(980-1)로부터 공급된 40W 중 30W를 경로(990-3)를 통해 시스템(960)으로 전달하고 나머지 10W를 경로(990-4)를 통해 배터리(950)로 전달하고(또는 배터리(950)를 충전하고), 제 2 전력 공급 장치(980-2)로부터 공급된 25W를 경로(990-5)를 통해 배터리(950)로 전달할 수 있다.
일 실시예에서, 제 1 전력 공급 장치(980-1) 및 제 2 전력 공급 장치(980-2)로부터 전력이 동시에 공급되고 시스템(960)이 전력을 필요로 하는 경우, 전자 장치(101)는 시스템(960)과 직접적으로 연결된 제 1 충전 회로(920-1)를 통해 공급되는 제 1 전력 공급 장치(980-1)로부터의 전력을 우선적으로 시스템(960)으로 전달할 수 있다. 예를 들어, 제 1 전력 공급 장치(980-1)로 공급되는 전력이 40W이고, 제 2 전력 공급 장치(980-2)로부터 공급되는 전력이 40W이며, 시스템(960)이 30W를 필요로 하는 경우, 전자 장치(101)는 제 1 전력 공급 장치(980-1)로부터 공급되는 40W 중 30W를 시스템(960)으로 전달하고 나머지 10W 및 제 2 전력 공급 장치(980-2)로부터 공급되는 40W는 배터리(950)로 전달할 수 있다. 다만, 이에 제한되지 않는다. 예를 들어, 제 1 전력 공급 장치(980-1)로 공급되는 전력이 20W이고, 제 2 전력 공급 장치(980-2)로부터 공급되는 전력이 40W이며, 시스템(960)이 30W를 필요로 하는 경우, 전자 장치(101)는 제 2 전력 공급 장치(980-2)로부터 공급되는 40W 중 30W를 시스템(960)으로 전달하고 나머지 10W 및 제 1 전력 공급 장치(980-1)로부터 공급되는 20W는 배터리(950)로 전달할 수 있다. 다만, 이에 제한되지 않는다.
도 10은 본 발명의 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다. 도 10은 2개의 포트 모두에 전력 공급 장치가 연결되고 시스템(960)이 하나의 전력 공급 장치로부터 공급되는 전력 이상의 전력을 필요로 하는 경우, 전력을 제어하기 위한 전자 장치(101)를 도시한 도면이다.
도 10을 참조하면, 도 10에서 도시된 전자 장치(101)는 도 9에서 도시된 전자 장치(101)와 동일한 구성을 포함할 수 있다. 예를 들어, 전자 장치(101)는 제 1 포트(1010-1), 제 2 포트(1010-2), 제 1 충전 회로(1020-1), 제 2 충전 회로(1020-2), 스위치들(1070-1, 1070-2), 프로세서(1040), 배터리(1050), 시스템(1060), 및 스위치들(1030-1, 1030-2) 등을 포함할 수 있다. 일 실시예에서, 시스템(1060)은 제 1 충전 회로(1020-1)와 직접적으로 연결될 수 있다. 예를 들어, 시스템(1060)은 제 1 충전 회로(1020-1)의 단자와 연결되고, 스위치들(1030-1, 1030-2)을 통해 제 2 충전 회로(1020-2)와 연결될 수 있다.
일 실시예에서, 시스템(1060)이 필요로 하는 전력이 제 1 전력 공급 장치(1080-1) 또는 제 2 전력 공급 장치(1080-2)가 공급 가능한 전력 보다 큰 경우, 전자 장치(101)는 제 1 전력 공급 장치(1080-1)로부터 공급되는 전력을 시스템(1060)으로 전달하고, 제 2 전력 공급 장치(1080-2)로부터 공급되는 전력의 적어도 일부를 시스템(1060)으로 전달할 수 있다. 예를 들어, 경로(1090-1)를 통해 제 1 전력 공급 장치(1080-1)로부터 40W(Watt)가 공급되고 경로(1090-2)를 통해 제 2 전력 공급 장치(1080-2)로부터 25W가 공급되고, 시스템(1060)이 필요로 하는 전력이 50W인 경우, 전자 장치(101)는 제 1 전력 공급 장치(1080-1)로부터 공급된 40W 모두를 경로(1090-3)를 통해 시스템(1060)으로 전달하고 제 2 전력 공급 장치(1080-2)로부터 공급된 25W 중 10W를 경로(1090-4)를 통해 시스템(1060)으로 전달하고, 나머지 15W를 경로(1090-5)를 통해 배터리(1050)로 전달할 수 있다.
다른 실시예에서, 시스템(1060)이 필요로 하는 전력이 제 1 전력 공급 장치(1080-1) 및 제 2 전력 공급 장치(1080-2)로부터 공급되는 전력을 합산한 전력 보다 큰 경우, 전자 장치(101)는 제 1 전력 공급 장치(1080-1)로부터 공급되는 전력 및 제 2 전력 공급 장치(1080-2)로부터 공급되는 전력을 시스템(1060)으로 전달하고, 나머지 전력은 배터리(1050)로부터 시스템(1060)으로 전달할 수 있다. 예를 들어, 경로를 통해 제 1 전력 공급 장치(1080-1)로부터 40W(Watt)가 공급되고 경로를 통해 제 2 전력 공급 장치(1080-2)로부터 25W가 공급되고, 시스템(1060)이 필요로 하는 전력이 70W인 경우, 전자 장치(101)는 제 1 전력 공급 장치(1080-1)로부터 공급된 40W와 제 2 전력 공급 장치(1080-2)로부터 공급된 25W를 시스템(1060)으로 전달하고, 배터리(1050)로부터 5W를 경로(1090-6)를 통해 시스템(1060)으로 전달할 수 있다.
도 11은 본 발명의 또 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다. 도 11은 시스템이 직접적으로 연결된 제 1 충전 회로와 연결된(또는 대응하는) 제 1 포트에 전력 공급 장치가 연결되고 제 2 포트에는 외부 장치가 연결되지 않은 경우, 전력을 제어하기 위한 전자 장치(101)를 도시한 도면이다.
도 11을 참조하면, 도 11에 도시된 전자 장치(101)는 도 9에서 도시된 전자 장치(101)와 동일한 구성을 포함할 수 있다. 예를 들어, 전자 장치(111)는 제 1 포트(1110-1), 제 2 포트(1110-2), 제 1 충전 회로(1120-1), 제 2 충전 회로(1120-2), 스위치들(1170-1, 1170-2), 프로세서(1140), 배터리(1150), 시스템(1160), 및 스위치들(1130-1, 1130-2) 등을 포함할 수 있다. 일 실시예에서, 시스템(1160)은 제 1 충전 회로(1120-1)와 직접적으로 연결될 수 있다. 예를 들어, 시스템(1160)은 제 1 충전 회로(1120-1)의 단자와 연결되고, 제 1 스위치 및 제 2 스위치를 통해 제 2 충전 회로(1120-2)와 연결될 수 있다.
일 실시예에서, 시스템(1160)이 필요로 하는 전력이 제 1 전력 공급 장치(1180)가 공급 가능한 전력 보다 작은 경우, 전자 장치(111)는 제 1 전력 공급 장치(1180)로부터 공급되는 전력 중 시스템(1160)이 필요로 하는 전력을 시스템(1160)으로 전달하고, 나머지 전력을 배터리(1150)로 전달할 수 있다. 예를 들어, 경로(1190-1)를 통해 제 1 전력 공급 장치(1180)로부터 40W(Watt)가 공급되고 시스템(1160)이 필요로 하는 전력이 30W인 경우, 전자 장치(111)는 제 1 전력 공급 장치(1180)로부터 공급된 40W 중 경로(1190-2)를 통해 30W를 시스템(1160)으로 공급하고 경로(1190-3)를 통해 나머지 11W를 배터리(1150)로 전달할 수 있다.
다른 실시예에서, 시스템(1160)이 필요로 하는 전력이 제 1 전력 공급 장치(1180)가 공급 가능한 전력 보다 큰 경우, 전자 장치(111)는 제 1 전력 공급 장치(1180)로부터 공급되는 전력을 모두 시스템(1160)으로 전달하고, 배터리(1150)로부터 경로(1190-4)를 통해 시스템(1160)으로 부족한 나머지 전력을 전달할 수 있다. 예를 들어, 제 1 전력 공급 장치(1180)로부터 40W(Watt)가 공급되고 시스템(1160)이 필요로 하는 전력이 50W인 경우, 전자 장치(111)는 제 1 전력 공급 장치(1180)로부터 공급된 40W 모두를 시스템(1160)으로 전달하고 배터리(1150)로부터 10W를 시스템(1160)으로 전달할 수 있다.
도 12는 본 발명의 또 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다. 도 12는 시스템이 직접적으로 연결된 제 1 충전 회로와 연결된(또는 대응하는) 제 1 포트에 외부 장치가 연결되지 않고 제 2 포트에는 전력 공급 장치가 연결된 경우, 전력을 제어하기 위한 전자 장치(101)를 도시한 도면이다.
도 12를 참조하면, 도 12에서 도시된 전자 장치(101)는 도 9에서 도시된 전자 장치(101)와 동일한 구성을 포함할 수 있다. 예를 들어, 전자 장치(101)는 제 1 포트(1210-1), 제 2 포트(1210-2), 제 1 충전 회로(1220-1), 제 2 충전 회로(1220-2), 스위치들(1270-1, 1270-2), 프로세서(1240), 배터리(1250), 시스템(1260), 및 스위치들(1230-1, 1230-2) 등을 포함할 수 있다. 일 실시예에서, 시스템(1260)은 제 1 충전 회로(1220-1)와 직접적으로 연결될 수 있다. 예를 들어, 시스템(1260)은 제 1 충전 회로(1220-1)의 단자와 연결되고, 스위치들(1230-1, 1230-2)를 통해 제 2 충전 회로(1220-2)와 연결될 수 있다.
일 실시예에서, 시스템(1260)이 필요로 하는 전력이 제 2 전력 공급 장치(1280)가 공급 가능한 전력 보다 작은 경우, 전자 장치(101)는 제 2 전력 공급 장치(1280)로부터 공급되는 전력 중 시스템(1260)이 필요로 하는 전력을 시스템(1260)으로 전달하고, 나머지 전력을 배터리(1250)로 전달할 수 있다. 예를 들어, 경로(1290-1)를 통해 제 2 전력 공급 장치(1280)로부터 40W(Watt)가 공급되고 시스템(1260)이 필요로 하는 전력이 30W인 경우, 전자 장치(101)는 제 2 전력 공급 장치(1280)로부터 공급된 40W 중 경로(1290-2)를 통해 30W를 시스템(1260)으로 공급하고 경로(1290-3)를 통해 나머지 10W를 배터리(1250)로 전달할 수 있다.
다른 실시예에서, 시스템(1260)이 필요로 하는 전력이 제 2 전력 공급 장치(1280)가 공급 가능한 전력 보다 큰 경우, 전자 장치(101)는 제 2 전력 공급 장치(1280)로부터 공급되는 전력을 모두 시스템(1260)으로 전달하고, 배터리(1250)로부터 시스템(1260)으로 나머지 전력을 전달할 수 있다. 예를 들어, 경로를 통해 제 2 전력 공급 장치(1280)로부터 40W(Watt)가 공급되고 시스템(1260)이 필요로 하는 전력이 50W인 경우, 전자 장치(101)는 제 2 전력 공급 장치(1280)로부터 공급된 40W 모두를 시스템(1260)으로 공급하고 경로(1290-4)를 통해 배터리(1150)로부터 10W를 시스템(1260)으로 전달할 수 있다.
도 13은 본 발명의 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다. 도 13은 전자 장치(101)에 외부 장치로서 적어도 하나의 OTG 장치가 연결된 경우, 전자 장치(101) 및 OTG 장치 간 전달되는 전력을 제어하는 방법에 관하여 설명하기 위한 도면이다.
동작 1301에서, 전자 장치(101)는 적어도 하나의 OTG 장치의 연결을 검출할 수 있다. 예를 들어, 전자 장치(101)는 복수의 포트들 중 적어도 일부에 OTG 장치가 연결됨을 검출할 수 있다. 일 실시예에서, OTG 장치는 USB 메모리, 이어 폰과 같은 액세서리 등과 같이 전자 장치(101)로부터 전력을 요구하는 장치를 포함할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 전자 장치(101)는 OTG 장치가 연결된 포트를 통해 OTG 장치로부터 공급되는 전압 값, 또는 OTG 장치로부터 수신하는 아이디(ID)(또는 임피던스 값) 등의 정보에 적어도 일부 기반하여 OTG 장치의 연결을 검출할 수 있다. 일 실시예에서, 전자 장치(101)는 OTG 장치로부터 수신되는 정보 등에 적어도 일부 기반하여 OTG 장치의 종류를 검출할 수 있다. 예를 들어, 전자 장치(101)에 USB 타입 C 규격을 지원하는 OTG 장치가 연결된 경우, OTG 장치로부터 수신되는 CC(channel configuration) 정보 등에 적어도 일부 기반하여 OTG 장치의 종류를 검출할 수 있다. 다만, OTG 장치의 연결 또는 OTG 장치의 종류를 검출하는 방법은 이에 제한되지 않는다.
일 실시예에서, OTG 장치의 연결 또는 OTG 장치의 종류의 검출은 전자 장치(101)의 포트 또는 외부 장치의 포트가 지원하는 인터페이스 규격에 따라, 포트 컨트롤러(port controller) 또는 임베디드 컨트롤러(embedded controller) 등에서 수행될 수 있다. 다만, 이에 제한되지 않는다.
동작 1303에서, 전자 장치(101)는 OTG 장치가 필요로 하는 전력, 배터리 상태, 및 시스템이 필요로 하는 전력을 확인할 수 있다.
일 실시예에서, 전자 장치(101)는 OTG 장치로부터 OTG 장치를 구동하기 위하여 필요한 전압 및 전류에 대한 정보를 수신할 수 있다. 예를 들어, 전자 장치(101)는 연결된 외부 장치가 USB 타입 C 규격을 지원하는 OTG 장치인 경우, OTG 장치로부터 OTG 장치를 구동하기 위하여 필요한 전압 및 전류에 대한 정보를 포함하는 CC 신호 또는 SBU(sideband use) 신호 등을 수신함으로써, OTG 장치가 필요로 하는 전력을 확인할 수 있다.
일 실시예에서, 전자 장치(101)는 배터리 상태 및 시스템이 필요로 하는 전력을 확인할 수 있다. 일 실시예에서, 전자 장치(101)는 배터리로부터 배터리의 현재 출력 전압 값에 대한 정보를 수신할 수 있다. 전자 장치(101)는 수신된 배터리의 현재 출력 전압 값에 적어도 일부 기반하여 배터리의 충전 정도(또는 배터리의 충전량)를 확인할 수 있다. 다른 실시예에서, 전자 장치(101)는 시스템으로부터 시스템을 구동하기 위하여 필요한 전력에 대한 정보를 수신함으로써, 시스템이 필요로 하는 전력을 확인할 수 있다.
동작 1305에서, 전자 장치(101)는 OTG 장치 및 시스템 중 적어도 하나로 전력을 공급하도록 충전 회로 등을 제어할 수 있다.
일 실시예에서, 전자 장치(101)는 OTG 장치로부터 수신된 정보에 기반하여, OTG 장치가 필요로 하는 전압 및 전류를 OTG 장치로 공급하기 위하여 충전 회로를 제어할 수 있다. 예를 들어, 임베디드 컨트롤러는, OTG 장치가 필요로 하는 전압 및 전류를 컨버터가 출력하도록 컨버터에 포함된 스위치들의 턴 온 또는 턴 오프 동작을 제어하기 위한 신호를 차저로 전달할 수 있다. 일 실시예에서, 전자 장치(101)는 OTG 장치와 연결된 포트 및 충전 회로를 연결하는 스위치가 턴 온되도록 스위치를 제어할 수 있다.
다른 실시예에서, 복수의 포트에 복수의 OTG 장치가 연결된 경우, 전자 장치(101)는 배터리로부터 복수의 OTG 장치로 전력을 전달하기 위하여 복수의 충전 회로들을 제어할 수 있다.
또 다른 실시예에서, 전자 장치(101)는 적어도 하나의 OTG 장치 및 시스템으로 전력을 전달할 수 있다. 예를 들어, 전자 장치(101)는 시스템이 필요로 하는 전력을 시스템으로 전달하고 OTG 장치가 필요로 하는 전압 및 전류를 OTG 장치로 공급하기 위하여 충전 회로를 제어할 수 있다.
도 14는 본 발명의 일 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다. 도 14는 2개의 포트 모두에 OTG 장치들이 연결된 경우, 배터리로부터 OTG 장치들 및 시스템으로의 전력 전달을 제어하는 전자 장치(101)를 도시한 도면이다.
도 14를 참조하면, 도 14에 도시된 전자 장치(101)는 도 9에 도시된 전자 장치(101)와 동일한 구성을 포함할 수 있다. 예를 들어, 전자 장치(101)는 제 1 포트(1410-1), 제 2 포트(1410-2), 제 1 충전 회로(1420-1), 제 2 충전 회로(1420-2), 스위치들(1470-1, 1470-2), 프로세서(1440), 배터리(1450), 시스템(1460), 및 스위치들(1430-1, 1430-2) 등을 포함할 수 있다. 일 실시예에서, 시스템(1460)은 제 1 충전 회로와 직접적으로 연결될 수 있다. 예를 들어, 시스템(1460)은 제 1 충전 회로의 단자와 연결되고, 제 1 스위치 및 제 2 스위치를 통해 제 2 충전 회로와 연결될 수 있다.
일 실시예에서, 전자 장치(101)는 배터리(1450)로부터 시스템(1460), 제 1 OTG 장치(1480-1), 및 제 2 OTG 장치(1480-2)로 전력을 전달할 수 있다. 예를 들어, 전자 장치(101)는 경로(1490-5)를 통해 시스템(1460)으로 전력을 전달하고, 경로(1490-1) 및 경로(1490-2)를 통해 제 1 OTG 장치(1480-1)로 전력을 전달하고, 경로(1490-3) 및 경로(1490-4)를 통해 제 2 OTG 장치(1480-2)로 전력을 전달할 수 있다. 예를 들어, 시스템(1460)이 20W를 필요로 하고, 제 1 OTG 장치(1480-1)가 30W를 필요로 하고, 제 2 OTG 장치(1480-2)가 40W를 필요로 하는 경우, 전자 장치(101)는 시스템(1460)으로 20W를 전달하고, 제 1 OTG 장치(1480-1)로 30W를 전달하고, 제 2 OTG 장치(1480-2)로 40W를 전달할 수 있다.
도 14는 제 1 포트(1410-1) 및 제 2 포트(1410-2) 모두에 OTG 장치가 연결된 경우를 도시하고 있지만, 제 1 포트(1410-1) 및 제 2 포트(1410-2) 중 어느 하나의 포트에 OTG 장치가 연결되고, 다른 포트에 연결된 외부 장치가 없는 경우에도 도 14와 동일 또는 유사하게 적용될 수 있으며, 상세한 설명은 생략하도록 한다.
도 15는 본 발명의 또 다른 실시예에 따른 전력을 제어하기 위한 방법을 설명하는 흐름도이다. 도 15는 전자 장치(101)에 외부 장치로서 전력 공급 장치 및 OTG 장치가 연결된 경우, 전자 장치(101) 및 외부 장치 간 전달되는 전력을 제어하는 방법에 관하여 설명하기 위한 도면이다.
동작 1501에서, 전자 장치(101)는 전력 공급 장치 및 OTG 장치의 연결을 검출할 수 있다. 예를 들어, 전자 장치(101)는 복수의 포트들 중 적어도 하나의 포트에 전력 공급 장치가 연결되고, 다른 적어도 하나의 포트에 OTG 장치가 연결됨을 검출할 수 있다.
일 실시예에서, 전자 장치(101)는 전력 공급 장치가 연결된 포트를 통해 전력 공급 장치로부터 공급되는 전압 값, 또는 전력 공급 장치로부터 수신하는 아이디(ID)(또는 임피던스 값) 등의 정보에 적어도 일부 기반하여 전력 공급 장치의 연결을 검출할 수 있다. 일 실시예에서, 전자 장치(101)는 전력 공급 장치로부터 수신되는 정보 등에 적어도 일부 기반하여 전력 공급 장치의 종류를 검출할 수 있다. 예를 들어, 전자 장치(101)에 USB 타입 C 규격을 지원하는 전력 공급 장치가 연결된 경우, 전력 공급 장치로부터 수신되는 CC(channel configuration) 정보 등에 적어도 일부 기반하여 전력 공급 장치의 종류를 검출할 수 있다. 다만, 전력 공급 장치의 연결 또는 전력 공급 장치의 종류를 검출하는 방법은 이에 제한되지 않는다.
일 실시예에서, 전자 장치(101)는 전력 공급 장치가 연결된 포트 및 포트와 연결되는 충전 회로를 연결하는 스위치가 턴 온되도록 스위치를 제어할 수 있다. 일 실시예에서, 스위치가 턴 온된 경우 충전 회로에 포함된 차저가 동작할 수 있다. 예를 들어, 스위치가 턴 온되면 자동적으로 차저가 동작할 수 있다. 다른 예에서, 스위치가 턴 온되면 프로세서의 제어에 의해 차저가 동작할 수 있다.
일 실시예에서, 전자 장치(101)는 OTG 장치가 연결된 포트를 통해 OTG 장치로부터 공급되는 전압 값, 또는 OTG 장치로부터 수신하는 아이디(ID)(또는 임피던스 값) 등의 정보에 적어도 일부 기반하여 OTG 장치의 연결을 검출할 수 있다. 일 실시예에서, 전자 장치(101)는 OTG 장치로부터 수신되는 정보 등에 적어도 일부 기반하여 OTG 장치의 종류를 검출할 수 있다. 예를 들어, 전자 장치(101)에 USB 타입 C 규격을 지원하는 OTG 장치가 연결된 경우, OTG 장치로부터 수신되는 CC(channel configuration) 정보 등에 적어도 일부 기반하여 OTG 장치의 종류를 검출할 수 있다. 다만, OTG 장치의 연결 또는 OTG 장치의 종류를 검출하는 방법은 이에 제한되지 않는다.
일 실시예에서, 전력 공급 장치 및 OTG 장치의 연결, 또는 전력 공급 장치 및 OTG 장치의 종류의 검출은 전자 장치(101)의 포트 또는 외부 장치의 포트가 지원하는 인터페이스 규격에 따라, 포트 컨트롤러(port controller) 또는 임베디드 컨트롤러(embedded controller) 등에서 수행될 수 있다. 다만, 이에 제한되지 않는다.
동작 1503에서, 전자 장치(101)는 OTG 장치가 필요로 하는 전력, 배터리 상태, 및 시스템이 필요로 하는 전력을 확인할 수 있다.
일 실시예에서, 전자 장치(101)는 OTG 장치로부터 OTG 장치를 구동하기 위하여 필요한 전압 및 전류에 대한 정보를 수신할 수 있다. 예를 들어, 전자 장치(101)는 연결된 외부 장치가 USB 타입 C 규격을 지원하는 OTG 장치인 경우, OTG 장치로부터 OTG 장치를 구동하기 위하여 필요한 전압 및 전류에 대한 정보를 포함하는 CC 신호 또는 SBU(sideband use) 신호 등을 수신함으로써, OTG 장치가 필요로 하는 전력을 확인할 수 있다.
일 실시예에서, 전자 장치(101)는 배터리 상태 및 시스템이 필요로 하는 전력을 확인할 수 있다. 일 실시예에서, 전자 장치(101)는 배터리로부터 배터리의 현재 출력 전압 값에 대한 정보를 수신할 수 있다. 전자 장치(101)는 수신된 배터리의 현재 출력 전압 값에 적어도 일부 기반하여 배터리의 충전 정도(또는 배터리의 충전량)를 확인할 수 있다. 다른 실시예에서, 전자 장치(101)는 시스템으로부터 시스템을 구동하기 위하여 필요한 전력에 대한 정보를 수신함으로써, 시스템이 필요로 하는 전력을 확인할 수 있다.
도 15에 도시하지는 않았지만, 일 실시예에서, 전자 장치(101)에 연결된 적어도 하나의 전력 공급 장치가 전자 장치(101)로 공급 가능한 전력을 확인할 수 있다.
동작 1505에서, 전자 장치(101)는 배터리, OTG 장치, 및 시스템 중 적어도 하나로 전력을 공급하도록 충전 회로 등을 제어할 수 있다.
일 실시예에서, 전자 장치(101)는 배터리 및 시스템 중 적어도 하나로 전력을 공급하기 위하여 충전 회로(또는 컨버터)의 출력 전압 및 출력 전류를 결정할 수 있다. 예를 들어, 전자 장치(101)는 배터리 전압이 완충 상태가 아닌 경우, 충전 회로가 배터리 완충 상태의 출력 전압을 출력하도록 충전 회로를 제어할 수 있다. 일 실시예에서, 전자 장치(101)는 전력 공급 장치로부터 공급되는 전력 및 충전 회로의 출력 전압에 기반하는 전류를 출력하도록 충전 회로를 제어할 수 있다. 다만, 이에 제한되지 않는다.
일 실시예에서, 전자 장치(101)는 OTG 장치로부터 수신된 정보에 기반하여, OTG 장치가 필요로 하는 전압 및 전류를 OTG 장치로 공급하기 위하여 충전 회로를 제어할 수 있다. 예를 들어, 임베디드 컨트롤러는, OTG 장치가 필요로 하는 전압 및 전류를 컨버터가 출력하도록 컨버터에 포함된 스위치들의 턴 온 또는 턴 오프 동작을 제어하기 위한 신호를 차저로 전달할 수 있다. 일 실시예에서, 전자 장치(101)는 OTG 장치와 연결된 포트 및 충전 회로를 연결하는 스위치가 턴 온되도록 스위치를 제어할 수 있다.
일 실시예에서, 전자 장치(101)는 연결된 전력 공급 장치로부터 입력되는 전력을 배터리, OTG 장치, 및 시스템으로 동시에 전달할 수 있다. 다만, 이에 제한되지 않는다.
도 16은 본 발명의 일 실시예에 따른 전력을 제어하기 위한 방법을 설명하기 위한 예시도이다. 도 16는 포트 하나에 전력 공급 장치가 연결되고, 다른 포트에 OTG 장치들이 연결된 경우, 전력 공급 장치, OTG 장치, 배터리, 및 시스템 간 전력 전달을 제어하는 전자 장치(101)를 도시한 도면이다.
도 16을 참조하면, 도 16에 도시된 전자 장치(101)는 도 9에 도시된 전자 장치(101)와 동일한 구성을 포함할 수 있다. 예를 들어, 전자 장치(101)는 제 1 포트(1610-1), 제 2 포트1610-2), 제 1 충전 회로(1620-1), 제 2 충전 회로(1620-1), 스위치들(1670-1, 1670-2), 프로세서(1640), 배터리(1650), 시스템(1660), 및 스위치들(1630-1, 1630-2) 등을 포함할 수 있다. 일 실시예에서, 시스템(1660)은 제 1 충전 회로(1620-1)와 직접적으로 연결될 수 있다. 예를 들어, 시스템(1660)은 제 1 충전 회로(1620-1)의 단자와 연결되고, 스위치들(1630-1, 1630-2)를 통해 제 2 충전 회로(1620-1)와 연결될 수 있다.
일 실시예에서, 전자 장치(101)는 경로(1690-1, 1690-2)를 통해 전력 공급 장치(1680-1)로부터 공급된 전력을 시스템(1660), 경로(1690-3)를 통해 배터리, 및 경로(1690-4, 1690-5)를 통해 OTG 장치(1680-2) 중 적어도 하나로 전달할 수 있다.
일 실시예에서, 전자 장치(101)는 전력 공급 장치(1680-1)로부터 공급된 전력이 시스템(1660) 및 OTG 장치(1680-2)가 필요로 하는 전력보다 큰 경우, 시스템(1660) 및 OTG 장치(1680-2)가 필요로 하는 전력을 시스템(1660) 및 OTG 장치(1680-2)로 전달하고, 나머지 전력을 배터리(1650)로 전달할 수 있다. 예를 들어, 전력 공급 장치(1680-1)로부터 50W가 공급되고, 시스템(1660)이 20W, OTG 장치(1680-2)가 20W를 필요로 하는 경우, 전자 장치(101)는 시스템(1660)으로 20W, OTG 장치(1680-2)로 20W를 전달하고, 50W 중 남은 10W를 배터리(1650)로 전달할 수 있다.
일 실시예에서, 전력 공급 장치(1680-1)로부터 공급된 전력이 시스템(1660)이 필요로 하는 전력과 동일한 경우, 전자 장치(101)는 전력 공급 장치(1680-1)로부터 공급된 전력을 시스템(1660)으로 전달하고, 배터리(1650)로부터 경로(1690-6, 1690-5)를 통해 OTG 장치(1680-2)로 OTG 장치(1680-2)이 필요로 하는 전력을 전달할 수 있다.
도 16은 제 1 포트(1610-1)에 전력 공급 장치(1680-1)가 연결되고 제 2 포트(1610-2)에 OTG 장치(1680-2)가 연결된 경우를 예시하고 있지만, 제 1 포트(1610-1)에 OTG 장치(1680-2)가 연결되고 제 2 포트(1610-2)에 전력 공급 장치(1680-1)가 연결된 경우도 이와 동일 또는 유사하게 적용될 수 있으므로, 제 1 포트(1610-1)에 OTG 장치(1680-2)가 연결되고 제 2 포트(1610-2)에 전력 공급 장치(1680-1)가 연결된 경우에 대한 상세한 설명은 생략하도록 한다.
본 발명의 다양한 실시예들에 따른 전자 장치는, 제 1 포트 및 제 2 포트; 시스템, 배터리, 상기 제 1 포트, 상기 시스템, 및 상기 배터리와 전기적으로 연결된 제 1 충전 회로, 및 상기 제 2 포트, 상기 시스템, 상기 배터리, 및 상기 제 1 충전 회로와 전기적으로 연결되는 제 2 충전 회로를 포함할 수 있다.
일 실시예에서, 상기 제 1 포트 및 상기 제 2 포트 중 적어도 하나에 외부 장치가 연결된 경우, 전자 장치는 상기 외부 장치의 연결을 검출하는 프로세서를 더 포함할 수 있다.
일 실시예에서, 상기 제 1 포트에 제 1 전력 공급 장치가 연결되고 상기 제 2 포트에 제 2 전력 공급 장치가 연결된 경우, 상기 제 1 충전 회로가 상기 제 1 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하고, 상기 제 2 충전 회로가 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달할 수 있다.
일 실시예에서, 상기 제 1 충전 회로가 상기 제 1 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하고, 상기 제 2 충전 회로가 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하기 동안, 상기 제 1 충전 회로 및 상기 제 2 충전 회로가 동일한 전압을 출력할 수 있다.
일 실시예에서, 상기 배터리가 완충 상태에 있지 않은 경우, 상기 제 1 충전 회로 및 상기 제 2 충전 회로가 상기 배터리가 완충 상태에서 출력하는 전압과 동일한 전압을 출력할 수 있다.
일 실시예에서, 상기 시스템이 필요로 하는 전력이 상기 제 1 전력 공급 장치로부터 입력되는 전력 보다 작은 경우, 상기 프로세서가 상기 제 1 전력 공급 장치로부터 입력되는 전력 중 상기 시스템이 필요로 하는 전력을 상기 시스템으로 전달하고 나머지 전력을 상기 배터리로 전달하고 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어할 수 있다.
일 실시예에서, 상기 시스템이 필요로 하는 전력이, 상기 제 1 전력 공급 장치로부터 입력되는 전력 보다 크고, 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 합산한 전력 보다 작은 경우, 상기 프로세서가 상기 제 1 전력 공급 장치로부터 입력되는 전력을 상기 시스템으로 전달하고, 상기 제 2 전력 공급 장치로부터 입력되는 전력 중 상기 시스템이 필요로 하는 전력에서 상기 제 1 전력 공급 장치로부터 입력되는 전력을 감산한 전력에 해당하는 전력을 상기 시스템으로 전달하고, 나머지 전력을 상기 배터리로 전달하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어할 수 있다.
일 실시예에서, 상기 시스템이 필요로 하는 전력이, 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 합산한 전력 보다 큰 경우, 상기 프로세서가 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 시스템으로 전달하고, 상기 배터리로부터 상기 시스템이 필요로 하는 전력에서 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 감산한 전력에 해당하는 전력을 상기 시스템으로 전달하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어할 수 있다.
일 실시예에서, 상기 제 1 포트 및 상기 제 2 포트 중 어느 하나의 포트에 전력 공급 장치가 연결되고 다른 하나의 포트에 외부 장치가 연결되지 않은 경우, 상기 프로세서가 상기 전력 공급 장치로부터 입력되는 전력을 상기 배터리 및 상기 시스템 중 적어도 하나로 전달하도록 상기 전력 공급 장치가 연결된 포트에 대응하는 충전 회로를 제어할 수 있다.
일 실시예에서, 상기 제 1 전력 공급 장치 또는 상기 제 2 전력 공급 장치는 휴대 충전기(travel adaptor), 급속 충전기(a high-speed battery charger), 무선 충전기(wireless charger), 또는 태양열 충전기(solar charger)일 수 있다.
일 실시예에서, 상기 제 1 포트 및 상기 제 2 포트 중 적어도 하나에 OTG(on the go) 장치가 연결된 경우, 상기 프로세서는 상기 OTG 장치가 필요로 하는 전력 및 상기 시스템이 필요로 하는 전력에 적어도 일부 기반하여, 상기 배터리로부터 상기 OTG 장치 및 상기 시스템 중 적어도 하나로 전력을 전달하도록 상기 OTG 장치가 연결된 포트와 전기적으로 연결된 충전 회로를 제어할 수 있다.
일 실시예에서, 상기 제 1 포트 및 상기 제 2 포트 중 어느 하나의 포트에 전력 공급 장치가 연결되고 다른 하나의 포트에 OTG 장치가 연결된 경우, 상기 프로세서는 상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력이 상기 전력 공급 장치로부터 입력되는 전력보다 작은 경우, 상기 전력 공급 장치로부터 입력되는 전력 중 상기 시스템 및 상기 OTG 장치로 상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력을 전달하고, 나머지 전력을 상기 배터리로 공급하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어할 수 있다.
일 실시예에서, 상기 프로세서는 상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력이 상기 전력 공급 장치로부터 입력되는 전력보다 큰 경우, 상기 전력 공급 장치로부터 입력되는 전력을 상기 시스템 및 상기OTG 장치로 전달하고, 상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력에서 상기 전력 공급 장치로부터 입력되는 전력을 감산한 전력에 해당하는 전력을 상기 배터리로부터 상기 OTG 장치로 전달할 수 있다.
일 실시예에서, 상기 프로세서는 임베디드 컨트롤러(embedded controller) 또는 포트 컨트롤러(port controller)를 포함할 수 있다.
일 실시예에서, 상기 제 1 충전 회로가 제 1 벅 부스트 컨버터(buck boost converter) 및 제 1 차저(charger)를 포함하고, 상기 제 2 충전 회로가 제 2 벅 부스트 컨버터 및 제 2 차저를 포함할 수 있다.
일 실시예에서, 상기 제 1 벅 부스트 컨버터 및 상기 제 2 벅 부스트 컨버터는 각각 4개의 FET(field effect transistor) 및 인덕터(inductor)를 포함할 수 있다.
일 실시예에서, 상기 전자 장치는 상기 제 1 충전 회로, 상기 배터리, 및 상기 시스템과 전기적으로 연결되고 상기 제 1 충전 회로에 의해 턴 온(turn) 또는 턴 오프(turn off)되는 제 1 스위치, 및 상기 제 2 충전 회로, 상기 배터리, 및 상기 제 1 스위치와 전기적으로 연결되고 상기 제 2 충전 회로에 의해 턴 온 또는 턴 오프되는 제 2 스위치를 더 포함할 수 있다.
일 실시예에서, 상기 제 1 포트에 연결된 전력 공급 장치로부터 전력이 입력되고 상기 배터리가 완충 상태에 있는 경우, 상기 제 1 충전 회로에 의해 상기 제 1 스위치가 턴 오프될 수 있다.
일 실시예에서, 상기 전자 장치는 상기 제 1 포트 및 상기 제 1 충전 회로와 전기적으로 연결되는 제 3 스위치, 및 상기 제 2 포트 및 상기 제 2 충전 회로와 전기적으로 연결되는 제 4 스위치를 더 포함할 수 있다.
일 실시예에서, 상기 전자 장치는 제 3 포트 및 상기 제 3 포트, 상기 배터리, 상기 제 1 충전 회로, 및 상기 제 2 충전 회로와 전기적으로 연결된 제 3 충전 회로를 더 포함할 수 있다.
또한, 상술한 본 발명의 실시예에서 사용된 데이터의 구조는 컴퓨터로 읽을 수 있는 기록매체에 여러 수단을 통하여 기록될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드 디스크 등), 광학적 판독 매체(예를 들면, CD-ROM, DVD 등)와 같은 저장매체를 포함한다.
이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.

Claims (15)

  1. 전자 장치에 있어서,
    제 1 포트 및 제 2 포트;
    시스템;
    배터리;
    상기 제 1 포트, 상기 시스템, 및 상기 배터리와 전기적으로 연결된 제 1 충전 회로; 및
    상기 제 2 포트, 상기 시스템, 상기 배터리, 및 상기 제 1 충전 회로와 전기적으로 연결되는 제 2 충전 회로를 포함하는 전자 장치.
  2. 제 1 항에 있어서,
    상기 제 1 포트 및 상기 제 2 포트 중 적어도 하나에 외부 장치가 연결된 경우, 상기 외부 장치의 연결을 검출하는 프로세서를 더 포함하는 전자 장치.
  3. 제 2 항에 있어서,
    상기 제 1 포트에 제 1 전력 공급 장치가 연결되고 상기 제 2 포트에 제 2 전력 공급 장치가 연결된 경우,
    상기 제 1 충전 회로가 상기 제 1 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하고, 상기 제 2 충전 회로가 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하는 전자 장치.
  4. 제 3 항에 있어서,
    상기 제 1 충전 회로가 상기 제 1 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하고 상기 제 2 충전 회로가 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하기 동안, 상기 제 1 충전 회로 및 상기 제 2 충전 회로가 동일한 전압을 출력하는 전자 장치.
  5. 제 4 항에 있어서,
    상기 배터리가 완충 상태에 있지 않은 경우, 상기 제 1 충전 회로 및 상기 제 2 충전 회로가 상기 배터리가 완충 상태에서 출력하는 전압과 동일한 전압을 출력하는 전자 장치.
  6. 제 3 항에 있어서,
    상기 시스템이 필요로 하는 전력이 상기 제 1 전력 공급 장치로부터 입력되는 전력 보다 작은 경우,
    상기 프로세서가,
    상기 제 1 전력 공급 장치로부터 입력되는 전력 중 상기 시스템이 필요로 하는 전력을 상기 시스템으로 전달하고 나머지 전력을 상기 배터리로 전달하고 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 배터리로 전달하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어하는 전자 장치.
  7. 제 3 항에 있어서,
    상기 시스템이 필요로 하는 전력이, 상기 제 1 전력 공급 장치로부터 입력되는 전력보다 크고, 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 합산한 전력보다 작은 경우,
    상기 프로세서가,
    상기 제 1 전력 공급 장치로부터 입력되는 전력을 상기 시스템으로 전달하고, 상기 제 2 전력 공급 장치로부터 입력되는 전력 중 상기 시스템이 필요로 하는 전력에서 상기 제 1 전력 공급 장치로부터 입력되는 전력을 감산한 전력에 해당하는 전력을 상기 시스템으로 전달하고, 나머지 전력을 상기 배터리로 전달하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어하는 전자 장치.
  8. 제 3 항에 있어서,
    상기 시스템이 필요로 하는 전력이, 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 합산한 전력 보다 큰 경우,
    상기 프로세서가,
    상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 상기 시스템으로 전달하고,
    상기 배터리로부터 상기 시스템이 필요로 하는 전력에서 상기 제 1 전력 공급 장치로부터 입력되는 전력 및 상기 제 2 전력 공급 장치로부터 입력되는 전력을 감산한 전력에 해당하는 전력을 상기 시스템으로 전달하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어하는 전자 장치.
  9. 제 2 항에 있어서,
    상기 제 1 포트 및 상기 제 2 포트 중 어느 하나의 포트에 전력 공급 장치가 연결되고 다른 하나의 포트에 외부 장치가 연결되지 않은 경우,
    상기 프로세서가,
    상기 전력 공급 장치로부터 입력되는 전력을 상기 배터리 및 상기 시스템 중 적어도 하나로 전달하도록 상기 전력 공급 장치가 연결된 포트에 대응하는 충전 회로를 제어하는 전자 장치.
  10. 제 2 항에 있어서,
    상기 제 1 전력 공급 장치 또는 상기 제 2 전력 공급 장치는 휴대 충전기(travel adaptor), 급속 충전기(a high-speed battery charger), 무선 충전기(wireless charger), 또는 태양열 충전기(solar charger)인 전자 장치.
  11. 제 2 항에 있어서,
    상기 제 1 포트 및 상기 제 2 포트 중 적어도 하나에 OTG(on the go) 장치가 연결된 경우,
    상기 프로세서는,
    상기 OTG 장치가 필요로 하는 전력 및 상기 시스템이 필요로 하는 전력에 적어도 일부 기반하여, 상기 배터리로부터 상기 OTG 장치 및 상기 시스템 중 적어도 하나로 전력을 전달하도록 상기 OTG 장치가 연결된 포트와 전기적으로 연결된 충전 회로를 제어하는 전자 장치.
  12. 제 2 항에 있어서,
    상기 제 1 포트 및 상기 제 2 포트 중 어느 하나의 포트에 전력 공급 장치가 연결되고 다른 하나의 포트에 OTG 장치가 연결된 경우,
    상기 프로세서는,
    상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력이 상기 전력 공급 장치로부터 입력되는 전력보다 작은 경우,
    상기 전력 공급 장치로부터 입력되는 전력 중 상기 시스템 및 상기 OTG 장치로 상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력을 전달하고, 나머지 전력을 상기 배터리로 공급하도록 상기 제 1 충전 회로 및 상기 제 2 충전 회로를 제어하는 전자 장치.
  13. 제 12 항에 있어서,
    상기 프로세서는,
    상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력이 상기 전력 공급 장치로부터 입력되는 전력보다 큰 경우,
    상기 전력 공급 장치로부터 입력되는 전력을 상기 시스템 및 상기OTG 장치로 전달하고, 상기 시스템이 필요로 하는 전력 및 상기 OTG 장치가 필요로 하는 전력에서 상기 전력 공급 장치로부터 입력되는 전력을 감산한 전력에 해당하는 전력을 상기 배터리로부터 상기 OTG 장치로 전달하는 전자 장치.
  14. 제 2 항에 있어서,
    상기 프로세서는 임베디드 컨트롤러(embedded controller) 또는 포트 컨트롤러(port controller)를 포함하는 전자 장치.
  15. 제 1 항에 있어서,
    상기 제 1 충전 회로가 제 1 벅 부스트 컨버터(buck boost converter) 및 제 1 차저(charger)를 포함하고,
    상기 제 2 충전 회로가 제 2 벅 부스트 컨버터 및 제 2 차저를 포함하는 전자 장치.
PCT/KR2017/010812 2016-09-28 2017-09-28 전력을 제어하는 전자 장치 WO2018062894A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/337,796 US11190038B2 (en) 2016-09-28 2017-09-28 Electronic device for controlling power

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020160124946A KR102658530B1 (ko) 2016-09-28 2016-09-28 전력을 제어하는 전자 장치
KR10-2016-0124946 2016-09-28

Publications (1)

Publication Number Publication Date
WO2018062894A1 true WO2018062894A1 (ko) 2018-04-05

Family

ID=61760804

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2017/010812 WO2018062894A1 (ko) 2016-09-28 2017-09-28 전력을 제어하는 전자 장치

Country Status (3)

Country Link
US (1) US11190038B2 (ko)
KR (1) KR102658530B1 (ko)
WO (1) WO2018062894A1 (ko)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10882408B2 (en) * 2016-08-24 2021-01-05 Keyssa Systems, Inc. Mechanical connectors for contactless communication units
US11075527B2 (en) * 2018-09-19 2021-07-27 Google Llc Portable dual-device charger system
US20200395774A1 (en) * 2019-06-17 2020-12-17 Renesas Electronics America Inc. Single inductor multiple output charger for multiple battery applications
US11824447B2 (en) * 2019-07-23 2023-11-21 Hewlett-Packard Development Company, L.P. Controlling buck-boost converters based on power supply identification signals
KR20210064736A (ko) 2019-11-26 2021-06-03 삼성전자주식회사 전자 장치 및 이의 충전 방법
TWI699069B (zh) * 2020-01-17 2020-07-11 華碩電腦股份有限公司 手持裝置之電源系統
CN114498866B (zh) * 2022-04-19 2022-07-29 伏达半导体(合肥)有限公司 双电池充电装置、方法及其控制器
WO2023204477A1 (ko) * 2022-04-22 2023-10-26 삼성전자주식회사 고속 충전이 가능한 전자 장치

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080066287A (ko) * 2007-01-11 2008-07-16 삼성전자주식회사 배터리 모듈과 컴퓨터 시스템 및 그 전원공급방법
KR20140051613A (ko) * 2012-10-23 2014-05-02 엘지전자 주식회사 단말기의 충전 장치 및 그 제어 방법
KR20150031565A (ko) * 2013-09-16 2015-03-25 엘지전자 주식회사 이동 단말기와 그의 배터리 충전방법
KR20150073194A (ko) * 2012-10-17 2015-06-30 퀄컴 인코포레이티드 복수의 충전 포트들을 포함하는 전자 디바이스에서의 전력 경로 스위칭
KR20150112717A (ko) * 2014-03-28 2015-10-07 삼성전자주식회사 배터리를 충전하는 방법과 전자 장치

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008203981A (ja) 2007-02-16 2008-09-04 Fujitsu Ltd 電源制御回路
KR101276900B1 (ko) * 2011-12-01 2013-06-19 엘에스산전 주식회사 모터 제어장치 및 그 방법
WO2015147503A1 (en) * 2014-03-28 2015-10-01 Samsung Electronics Co., Ltd. Method for charging battery and electronic device
KR20160140275A (ko) 2015-05-29 2016-12-07 삼성전자주식회사 동적 전원 제어를 위한 전자 장치 및 그 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080066287A (ko) * 2007-01-11 2008-07-16 삼성전자주식회사 배터리 모듈과 컴퓨터 시스템 및 그 전원공급방법
KR20150073194A (ko) * 2012-10-17 2015-06-30 퀄컴 인코포레이티드 복수의 충전 포트들을 포함하는 전자 디바이스에서의 전력 경로 스위칭
KR20140051613A (ko) * 2012-10-23 2014-05-02 엘지전자 주식회사 단말기의 충전 장치 및 그 제어 방법
KR20150031565A (ko) * 2013-09-16 2015-03-25 엘지전자 주식회사 이동 단말기와 그의 배터리 충전방법
KR20150112717A (ko) * 2014-03-28 2015-10-07 삼성전자주식회사 배터리를 충전하는 방법과 전자 장치

Also Published As

Publication number Publication date
US20200006952A1 (en) 2020-01-02
KR20180035009A (ko) 2018-04-05
US11190038B2 (en) 2021-11-30
KR102658530B1 (ko) 2024-04-18

Similar Documents

Publication Publication Date Title
WO2018062894A1 (ko) 전력을 제어하는 전자 장치
AU2015350680B2 (en) Power control method and apparatus for reducing power consumption
WO2017069595A1 (en) Electronic device and method for executing function using speech recognition thereof
WO2018117376A1 (ko) 컨텐츠 운용 방법 및 이를 구현한 전자 장치
WO2017209502A1 (ko) 전자 장치와 충전 장치간의 연결을 제어하는 방법 및 이를 제공하는 장치
WO2015030474A1 (ko) 음성 인식을 위한 전자 장치 및 방법
WO2016105020A1 (en) Apparatus and method for charging electronic device having battery
WO2015156642A1 (en) Method and device for controlling transmission power
WO2016006851A1 (en) Electronic device, method of providing interface of the same, and accessory for the same
WO2017142373A1 (en) Method of controlling the sharing of videos and electronic device adapted thereto
WO2017142256A1 (en) Electronic device for authenticating based on biometric data and operating method thereof
WO2017082685A1 (ko) 표시 제어 방법, 이를 구현한 디스플레이 패널, 디스플레이 장치 및 전자 장치
WO2015126177A1 (en) Electronic device and power saving method thereof
WO2018034381A1 (ko) 전자 장치, 및 전자 장치 제어 방법
WO2017164585A1 (en) Electronic device and control method thereof
WO2016093543A1 (en) Method for controlling and electronic device thereof
WO2017003218A1 (en) Method for controlling multiple batteries and electronic device for implementing same
WO2017209530A1 (en) Method of switching application and electronic device therefor
WO2016148505A1 (en) Electronic apparatus and battery information providing method thereof
WO2017119662A1 (en) Electronic device and operating method thereof
WO2017014587A1 (en) Electronic device and method for managing object in folder on electronic device
WO2018128432A1 (ko) 전자 장치 간 콘텐츠 공유 시스템 및 전자 장치의 콘텐츠 공유 방법
WO2018217066A1 (ko) 생체 정보를 측정하는 전자 장치와 이의 동작 방법
WO2018034518A1 (en) Electronic device and method thereof for grip recognition
WO2017043925A1 (ko) 무선 전력 전송 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17856780

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17856780

Country of ref document: EP

Kind code of ref document: A1