Electronic device for obtaining power on basis of power range of external electronic device, and method therefor
Patent Information
- Application Number
- PCT/KR2023/021338
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-01-31
- Filing Date
- 2023-12-21
- Publication Date
- 2025-05-22
AI Technical Summary
Existing electronic devices face challenges in efficiently obtaining power from external sources due to limitations in power range management, leading to suboptimal charging times and inefficiencies.
The electronic device incorporates a processor, charging circuit, and charging controller to identify and communicate with external devices using USB PD protocols, allowing it to adaptively select between different power signals based on data signals indicating power limits, thereby optimizing power usage and charging speed.
This solution enables faster and more efficient battery charging by maximizing power intake from external devices, reducing charging time and improving overall power management.
Smart Images

Figure KR2023021338_22052025_PF_FP_ABST
Abstract
Description
Electronic device and method for obtaining power based on the power range of an external electronic device
[0001] The present disclosure relates to an electronic device and method for obtaining power based on the power range of an external electronic device.
[0002] An electronic device may include a rechargeable battery. The electronic device may operate using electrical energy stored in the battery. Using the electrical energy stored in the battery, the electronic device may operate while disconnected from the power supply system. The electronic device may charge the battery using power received from an external electronic device.
[0003] According to one embodiment, an electronic device may include a port, a battery, a charging circuit, a charging controller, and a processor. The processor may be configured to identify a first data signal received through the port using the charging controller. The processor may be configured to communicate with an external electronic device connected to the port based on the first data signal and obtain a power signal from the external electronic device. The processor may be configured to receive a second data signal from the external electronic device while the battery is being charged by the charging circuit that received the power signal. The processor may be configured to control the charging circuit based on at least one of a first power indicated by the first data signal or a second power indicated by the second data signal, based on a parameter included in the second data signal and indicating a state of the external electronic device related to a power limit.
[0004] In one embodiment, a method of an electronic device may include an operation of identifying a first data signal received through a port of the electronic device using a charging controller of the electronic device. The method may include an operation of communicating with an external electronic device connected to the port based on the first data signal and obtaining a power signal from the external electronic device. The method may include an operation of receiving a second data signal from the external electronic device while a battery of the electronic device is being charged by a charging circuit of the electronic device that has received the power signal. The method may include an operation of controlling the charging circuit based on at least one of a first power indicated by the first data signal or a second power indicated by the second data signal, based on a parameter included in the second data signal and indicating a state of the external electronic device related to a power limit.
[0005] In one embodiment, an electronic device may include a port, a battery, a charging circuit, a charging controller, and a processor. The processor may be configured to identify a first data signal received through the port using the charging controller. The processor may be configured to communicate with an external electronic device connected to the port based on the first data signal and obtain a power signal from the external electronic device. The processor may be configured to receive a second data signal from the external electronic device when the battery is being charged by the charging circuit that received the power signal. The processor may be configured to control the charging circuit using either a first power indicated by the first data signal or a second power indicated by the second data signal in response to identifying a first designated state of the external electronic device related to a power limit based on the second data signal. The processor may be configured to control the charging circuit using the first power, one of the first power or the second power, in response to identifying a second designated state of the external electronic device associated with the power limit based on the second data signal.
[0006] In one embodiment, a method of an electronic device may include an operation of identifying a first data signal received through a port of the electronic device using a charging controller of the electronic device. The method may include an operation of obtaining a power signal from an external electronic device connected to the port by communicating with the external electronic device based on the first data signal. The method may include an operation of receiving a second data signal from the external electronic device while a battery of the electronic device is being charged by a charging circuit of the electronic device that has received the power signal. The method may include an operation of controlling the charging circuit using either a first power indicated by the first data signal or a second power indicated by the second data signal in response to identifying a first designated state of the external electronic device related to a power limit based on the second data signal. The method may include an operation of controlling the charging circuit using the first power of either the first power or the second power in response to identifying a second designated state of the external electronic device related to the power limit based on the second data signal.
[0007] FIG. 1 illustrates an example of an electronic device and an external electronic device according to one embodiment.
[0008] FIG. 2 illustrates an example block diagram of an electronic device according to one embodiment.
[0009] FIG. 3 illustrates an example of a signal flow diagram of an electronic device and an external electronic device according to one embodiment.
[0010] FIG. 4 illustrates an example of a flowchart of an electronic device according to one embodiment.
[0011] FIG. 5 illustrates an example of a flowchart of an electronic device according to one embodiment.
[0012] FIG. 6 illustrates an example of a user interface (UI) displayed by an electronic device according to one embodiment.
[0013] FIG. 7 illustrates an example of a graph of current of a power signal received by an electronic device, according to one embodiment.
[0014] FIG. 8 is a block diagram of an electronic device within a network environment according to various embodiments.
[0015] Hereinafter, various embodiments of this document are described with reference to the attached drawings.
[0016] The various embodiments of this document and the terminology used therein are not intended to limit the technology described in this document to a specific embodiment, but should be understood to include various modifications, equivalents, and / or substitutes of the embodiment. In connection with the description of the drawings, similar reference numerals may be used for similar components. The singular expression may include plural expressions unless the context clearly indicates otherwise. In this document, expressions such as "A or B", "at least one of A and / or B", "A, B, or C", or "at least one of A, B, and / or C" may include all possible combinations of the items listed together. Expressions such as "first", "second", "first", or "second" may modify the corresponding components regardless of order or importance, and are only used to distinguish one component from another, but do not limit the corresponding components. When it is said that a component (e.g., a first component) is “(functionally or communicatively) connected” or “connected” to another component (e.g., a second component), said component may be directly connected to said other component, or may be connected via another component (e.g., a third component).
[0017] The term "module" as used in this document includes a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimal unit or portion thereof that performs one or more functions. For example, a module may be composed of an application-specific integrated circuit (ASIC).
[0018] FIG. 1 illustrates an example of an electronic device (101) and an external electronic device (160) according to one embodiment. In one embodiment, the electronic device (101) may be a terminal. Referring to FIG. 1, a user terminal (101-1) in the form of a mobile phone (or smartphone) is exemplarily illustrated as an example of the terminal. The form factor of the mobile phone (or smartphone) is not limited to the user terminal (101-1) of FIG. 1, and for example, the electronic device (101) may include a user terminal (101-3) including a deformable flexible display. Referring to FIG. 1, the electronic device (101) may include a personal computer (PC), such as a laptop (101-2). The embodiment is not limited thereto, and the electronic device (101) may include a smart accessory such as a smartpad, a tablet PC, a smartwatch, and a head-mounted device (HMD).
[0019] Referring to FIG. 1, according to one embodiment, an electronic device (101) may include at least one of a processor (110), a charging circuit (120), a charging controller (130), and a battery (140). The electronic device (101) may obtain power for driving hardware (e.g., the processor (110)) included in the electronic device (101) from the battery (140). The hardware (or circuit) included in the electronic device (101) for charging the battery (140) may be divided into a charging circuit (120) and / or a charging controller (130). The electronic device (101) may obtain power for charging the battery (140) through a port (150) and / or an antenna (not shown) including a coil. An example of the structure of a charging circuit (120), a charging controller (130), and a processor (110) disposed within an electronic device (101) to obtain power from an external electronic device (160) connected by a wire through a port (150) is described with reference to FIG. 2.
[0020] Referring to FIG. 1, according to one embodiment, an electronic device (101) may be connected to an external electronic device (160) via a port (150). The port (150) may include a hardware component (e.g., a connector) for supporting wired communication based on a universal serial bus (USB). In the present disclosure, the electronic device (101) may be referred to as a first electronic device. The electronic device (101) may be referred to as a master electronic device in terms of an entity that assigns a unique address (or device identifier) to the external electronic device (160) based on USB. The external electronic device (160) may be referred to as a second electronic device. The external electronic device (160) may be referred to as a slave electronic device in terms of an entity that receives a unique address from a master electronic device of USB.
[0021] According to one embodiment, the electronic device (101) may transmit or receive a power signal based on a USB power delivery (PD) (e.g., USB PD 3.0 standard) protocol while connected to an external electronic device (160) through a port (150). From the perspective of an entity that outputs and / or provides a power signal based on USB PD, the external electronic device (160) may be referred to as a host, a source, and / or a provider. From the perspective of an entity that receives and / or consumes a power signal based on USB PD, the electronic device (101) may be referred to as a client, a sink, and / or a consumer. The embodiment is not limited thereto, and the electronic device (101) may operate as a host of USB PD. In one embodiment supporting the USB PD protocol, a port (150) included in an electronic device (101) may include a USB Type C port (e.g., a USB Type C receptacle and / or a USB Type C plug). In response to a cable (e.g., a USB Type C cable) extending from an external electronic device (160) being connected through the port (150), communication based on the USB PD protocol may be initiated between the electronic device (101) and the external electronic device (160). Operations of the electronic device (101) and the external electronic device (160) communicating with each other based on the USB PD protocol are described with reference to FIGS. 3 to 5. An example of a user interface (UI) displayed by the electronic device (101) that obtains power from the external electronic device (160) based on the USB PD protocol is described with reference to FIG. 6.
[0022] Referring to FIG. 1, an external electronic device (160) electrically connected to an electronic device (101) via a port (150) may include an adapter (160-1) and / or an auxiliary battery (or portable power bank) (160-2). The adapter (160-1) may include a TA (Type-A) adapter. The external electronic device (160) may receive an alternating current (AC) power signal of a distribution system (170) provided from a power plant, and output a direct current (DC) power signal from the AC power signal. The external electronic device (160) may generate a power signal having a voltage and / or current requested by the electronic device (101), and transmit the generated power signal to the electronic device (101). For example, the external electronic device (160) may include a programmable power supply (PPS) that supports regulation of voltage and / or current based on USB PD.
[0023] According to one embodiment, the electronic device (101) may communicate with the external electronic device (160) to adjust the voltage and / or current of a power signal provided from the external electronic device (160) for charging the battery (140). The electronic device (101) may perform a function of adjusting the voltage and / or the current in order to reduce the time it takes for the battery (140) to be charged. The external electronic device (160), which outputs a power signal having a finite range of voltage and / or current, may output a power signal of different power depending on the voltage and / or current. The external electronic device (160) may notify the electronic device (101) that the state of the external electronic device (160) is operating at a power limit based on providing maximum power based on the voltage and / or current requested by the electronic device (101).
[0024] For example, the electronic device (101) may request a power signal having a target current from the external electronic device (160) to charge the battery (140) based on a CC (constant current) charging method. In the example, if the maximum current that can be provided together with the voltage of the power signal is less than the target current, the external electronic device (160) may reach the power limit at the time of outputting the power signal having the maximum current. According to one embodiment, the electronic device (101) may calculate a range of power supported by the external electronic device (160) using information provided from the external electronic device (160) based on identifying the external electronic device (160) that has reached the power limit. Based on the result of calculating the range, the electronic device (101) may change the voltage and / or current requested from the external electronic device (160). Based on the change in voltage and / or current of the power signal by the above request, the electronic device (101) can obtain greater power from the external electronic device (160). Since the electronic device (101) obtains greater power from the external electronic device (160), the electronic device (101) can complete charging of the battery (140) in a shorter time. An example of an electronic device (101) that completes charging of the battery (140) relatively early based on the above example is described with reference to FIG. 7.
[0025] As described above, according to one embodiment, the electronic device (101) can obtain a power signal for fast charging from the external electronic device (160) based on USB PD. For example, the electronic device (101) can maximize the power provided by the external electronic device (160) while charging the battery (140) based on the CC charging method. In order to maximize the power, the electronic device (101) can calculate a range of power outputtable by the external electronic device (160) from a signal (e.g., a PD message) received from the external electronic device (160) based on USB PD. Based on the range, the electronic device (101) can obtain greater power from the external electronic device (160) that has reached its power limit. Based on the power, the electronic device (101) can increase the speed at which the battery (140) is charged.
[0026] Hereinafter, with reference to FIG. 2, exemplary connections of hardware (e.g., a processor (110), a charging circuit (120), a charging controller (130), and / or a battery (140)) included in an electronic device (101) to support USB PD are described.
[0027] FIG. 2 illustrates an example of a block diagram of an electronic device (101) according to one embodiment. The electronic device (101) of FIG. 1 may include the electronic device (101) of FIG. 2. Referring to FIG. 2, the electronic device (101) may include at least one of a processor (110), an overvoltage protection (OVP) integrated circuit (IC) (210), a first charging circuit (221), a second charging circuit (222), a charging controller (130), a battery (140), or a gauge circuit (230).
[0028] According to one embodiment, the processor (110) of the electronic device (101) may include a hardware component for processing data based on one or more instructions. The hardware component for processing data may include, for example, an arithmetic and logic unit (ALU), a floating point unit (FPU), a field programmable gate array (FPGA), a central processing unit (CPU), and / or an application processor (AP). The number of processors (110) may be one or more. For example, the processor (110) may have a multi-core processor structure such as a dual core, a quad core, or a hexa core.
[0029] According to one embodiment, the battery (140) of the electronic device (101) can output electrical energy from chemical energy to be consumed by other circuits and / or hardware components within the electronic device (101). For example, the battery (140) of the electronic device (101) can include a battery cell, a battery module, or a battery pack. The battery (140) can include a capacitor or a secondary battery that stores power by charging. For example, the battery (140) can be any one of a lithium ion battery (Li-ion), a lithium ion polymer battery (Li-ion polymer), a lead-acid battery, a nickel-cadmium (NiCd), and a nickel-metal hydride (NiMH) battery. The battery (140) can be charged by power applied to one end (140-1). The one end (140-1) of the battery (140) can correspond to a positive electrode (e.g., a cathode) of the battery (140). For example, at one end (140-1), when the magnitude of the current input to the battery (140) is greater than the magnitude of the current output from the battery (140), the battery (140) can be charged. When the magnitude of the current output from the battery (140) is greater than the magnitude of the current input to the battery (140), the battery (140) can be discharged. The electronic device (101) can measure the state-of-charge (SOC) and / or open-circuit voltage (OCV) of the battery (140) by using a resistor (240) connected to one end (140-1) of the battery (140) and a gauge circuit (230) connected to both ends (240-1, 240-2) of the resistor (240). In one embodiment, the gauge circuit (230) may be referred to as a fuel gauge.
[0030] Referring to FIG. 2, in order to control charging of a battery (140), an OVP IC (210), a charging controller (130), a first charging circuit (221), a second charging circuit (222), and a resistor (240) may be arranged within the electronic device (101). The first charging circuit (221) may include a direct charger integrated circuit (DCIC). The second charging circuit (222) may include a power management integrated circuit (PMIC) or an interface PMIC (IF PMIC). The first charging circuit (221) may be used to charge the battery (140) based on a fixed current (e.g., direct current), such as a CC charging method. Although not shown, the first charging circuit (221) may provide relatively large power to the battery (140) by using one or more capacitors (e.g., a flying capacitor). The second charging circuit (222) may be used to charge the battery (140) based on a fixed voltage, such as a CV (constant voltage) charging method. The embodiment is not limited thereto, and the second charging circuit (222) may include a circuit for charging the battery (140) based on a variable voltage and / or variable current.
[0031] As described above with reference to FIG. 1, the port (150) of the electronic device (101) may include a USB Type C connector (e.g., a USB Type C port). The port (150) may be used as a downstream facing port (DFP) or an upstream facing port (UFP) depending on the role (e.g., source or sink) of the electronic device (101) based on USB PD. The embodiment is not limited thereto, and the port (150) may be used as a dual role data port (DRD) that supports all of the functions of the DFP and the UFP.
[0032] Referring to FIG. 2, a plurality of pins (terminals) formed in a port (150) based on a USB Type C connector are illustrated. The port (150) may have a structure based on a USB Type C receptacle. Based on the structure of the USB Type C receptacle, an A side and a B side may be formed within the port (150), and 12 pins may be arranged on each of the A side and the B side. Referring to FIG. 2, the 12 pins arranged on the A side may include GND (A1), SSTXp1 (A2), SSTXn1 (A3), VBUS (A4), CC (A5), Dp1 (A6), Dn1 (A7), SBU1 (A8), VBUS (A9), SSRXn2 (A10), SSRXp2 (A11), and GND (A12). Referring to FIG. 2, the 12 pins arranged on the B side may include GND (B1), SSTXp2 (B2), SSTXn2 (B3), VBUS (B4), CC (B5), Dp1 (B6), Dn1 (B7), SBU2 (B8), VBUS (B9), SSRXn1 (B10), SSRXp1 (B11), and GND (B12). The names of the above-described pins may correspond to names included in the specifications related to the USB Type-C receptacle.
[0033] Referring to FIG. 2, the pins included in the port (150) can be used to receive different electrical signals set by the USB PD. For example, using the CC (configuration channel) (A5, B5) pins, the electronic device (101) can perform an exchange of information based on the USB PD. The information can include a PDO (power data object), which is information transmitted to or received from an external electronic device (e.g., the external electronic device (160) of FIG. 1) that is a PPS. For example, using the Vbus (A4, A9, B4, B9) pins, the electronic device (101) can receive a power signal. The embodiment is not limited thereto, and the electronic device (101) can output a power signal provided from the battery (140) through the Vbus (A4, A9, B4, B9) pins.
[0034] Referring to FIG. 2, each of the pins included in the port (150) may be connected to a circuit dedicated to processing an electrical signal corresponding to the pin. For example, the CC (A5, B5) pins of the port (150) may be connected to one end (130-2) of the charging controller (130). For example, the Vbus (A4, A9, B4, B9) pins of the port (150) may be connected to at least one charging circuit via the OVP IC (210). Referring to FIG. 2, the first charging circuit (221) may be connected to the Vbus (A4, A9, B4, B9) pins of the port (150) via one end (221-2) connected to the OVP IC (210). The second charging circuit (222) can be connected to the Vbus (A4, A9, B4, B9) pins of the port (150) through one end (222-2) connected to the OVP IC (210).
[0035] According to one embodiment, the electronic device (101) can communicate with an external electronic device according to a USB protocol (e.g., USB 2.0, USB 3.1, and / or another version of the USB protocol) based on a charge controller (130) connected to the CC pins (A5, B5). In one embodiment, the charge controller (130) can be referred to as a power delivery integrated circuit (PDIC) and / or a configuration channel power delivery (CCPD) IC. The embodiment is not limited thereto, and the electronic device (101) can further include a mux integrated circuit (MUIC) for data communication based on the Dp1 (A6, B6) and Dn1 (A7, B7) pins.
[0036] In one embodiment, the charging controller (130) may be used to relay PPS communication between different hardware of the electronic device (101) (e.g., the processor (110), the first charging circuit (221), and / or the second charging circuit (222)) and an external electronic device. The PPS communication may be performed for adaptive control of power provided from the external electronic device, which is a PPS. The PPS communication may be performed by USB PD. The embodiment is not limited thereto. Referring to FIG. 2, the charging controller (130) may be connected to at least one of the processor (110), the first charging circuit (221), or the second charging circuit (222) through an end (130-1). An interface (e.g., I2C (inter-integrated circuit)) for transmitting and / or receiving digital information may be formed between one end (130-1) of the charging controller (130), one end (110-1) of the processor (110), one end (221-1) of the first charging circuit (221), and one end (222-1) of the second charging circuit (222). Hereinafter, the operation of the hardware included in the electronic device (101) is described in a state in which an external electronic device (e.g., the external electronic device (160) of FIG. 1) for providing power is connected through the port (150).
[0037] Referring to FIG. 2, when a wired connection is established between an electronic device (101) and an external electronic device through a port (150), the charging controller (130) can identify the wired connection based on CC pins (A5, B5) connected through a terminal (130-2). The charging controller (130) can communicate with the external electronic device based on a BMC (bi-phase mark code) (or 2-phase mark code) encoding method. For example, the charging controller (130) can identify a data signal received through the port (150) based on a BMC encoding method. The charging controller (130) identifying the data signal can include an operation of obtaining a binary code (e.g., a digital code encoded by a BMC encoding method) included in the data signal. The charging controller (130) can transmit a binary code included in a data signal received from an external electronic device to the processor (110) through a terminal (130-1).
[0038] According to one embodiment, the processor (110) may perform parsing on a binary code received from the charging controller (130) through the terminal (110-1) to identify information included in the binary code. The information may include parameters related to an external electronic device that generated the binary code and / or a power signal transmitted from the external electronic device to the electronic device (101). Based on the parameters, the processor (110) may calculate power obtainable from the external electronic device. The processor (110) may transmit the result of calculating the power to the first charging circuit (221) and / or the second charging circuit (222) through the terminal (110-1).
[0039] According to one embodiment, the first charging circuit (221) may charge the battery (140) based on power received from the processor (110) through the terminal (221-1). For example, the first charging circuit (221) may request the charging controller (130) to transmit a signal through the terminal (221-1) to request a power signal having a voltage and / or current based on the power. Based on a power signal received from an external electronic device through the terminal (221-2), the first charging circuit (221) may apply a voltage and / or current to the terminal (221-3) connected to the battery (140).
[0040] According to one embodiment, the processor (110) of the electronic device (101) can adaptively calculate power obtainable from an external electronic device based on a data signal identified by the charging controller (130). For example, the processor (110) can calculate power to be provided to the first charging circuit (221) from information contained in different data signals provided from the external electronic device (160), such as a fixed PDO (FPDO) and / or an augmented PDO (APDO).
[0041] Hereinafter, with reference to FIG. 3, an operation of calculating power of an external electronic device based on FPDO and / or APDO by a processor (110) of an electronic device (101) according to one embodiment is described.
[0042] FIG. 3 illustrates an example of a signal flow diagram of an electronic device (101) and an external electronic device (160) according to one embodiment. The electronic device (101) and the external electronic device (160) of FIG. 1 may include the electronic device (101) and the external electronic device (160) of FIG. 3. For example, the operation of the electronic device (101) described with reference to FIG. 3 may be performed by the processor (110) and / or the charging controller (130) of FIG. 1.
[0043] Referring to FIG. 3, in operation (310), the electronic device (101) and the external electronic device (160) may execute a negotiation function related to a power signal. In operation (310), the electronic device (101) may identify the external electronic device (160) connected to a port (e.g., the port (150) of FIGS. 1 and 2) using a charging controller (e.g., the charging controller (130) of FIGS. 1 and 2). In operation (310), the electronic device (101) and the external electronic device (160) may exchange profile information related to power. The profile information may include information on the power demand and / or supply of a device that generated the profile information (e.g., the electronic device (101) and / or the external electronic device (160)). Based on the above profile information, one of the electronic device (101) and the external electronic device (160) can be set as a source of USB PD and the other can be set as a sink of USB PD.
[0044] Referring to FIG. 3, in a state where a negotiation function is executed based on an operation (310), the electronic device (101) may obtain a first data signal (330) from an external electronic device (160) based on a charging controller (e.g., the charging controller (130) of FIGS. 1 and 2). The first data signal (330) may include profile information of the external electronic device (160). The processor (110) may obtain capability information of the external electronic device (160) from the first data signal (330). In one embodiment, the capability information may be included in the first data signal (330) in the format of a binary code based on a fixed power data object (FPDO). The first data signal (330) may be referred to as a source capability message. The FPDO may include parameters indicating a fixed voltage (e.g., 5 V, 9 V, 15 V, 20 V, or a combination thereof) and / or a fixed current (e.g., 500 mA, 1.5 A, 2 A, 3 A, or a combination thereof) associated with OTG (on the go) supported by the external electronic device (160).
[0045] Referring to FIG. 3, a 32-bit binary code included in a first data signal (330) is illustrated. The bits included in the binary code may have position numbers from 0 to 31. The position numbers may be used to indicate the positions of bits in the binary code. Referring to FIG. 3, ten bits (331) having digits from 0 to 9 may indicate the maximum value of a fixed current supported by an external electronic device (160). Referring to FIG. 3, ten bits (332) having digits from 10 to 19 may indicate a voltage corresponding to the current expressed by the bits (331). For example, an external electronic device (160) that transmits a second data signal (340) may transmit a power signal having a current corresponding to bits (331) of the second data signal (340) and a voltage represented by bits (332) of the second data signal (340). In one embodiment, bits of the first data signal (330), including bits (331, 332), may represent parameters included in Table 1.
[0046] Digit Parameter 31-30 Fixed supply 29 Dual-role power flag 28 USB suspended support flag 27 Unconstrained power flag 26 USB communication capability flag 25 Dual-role data flag 24 Ununchunked extended messages support flag 24 EPR (extended power range) mode capability flag 22 Reserved 21-20 Peak current 19-10 Voltage in units of 50 mV 9-0 Peak current in units of 10 mA
[0047] Referring to Table 1, the electronic device (101) can determine a value obtained by multiplying the number corresponding to the bits (331) of the first data signal (330) by 10 mA as the maximum current of the external electronic device (160) identified by the first data signal (33). The electronic device (101) can determine a value obtained by multiplying the number corresponding to the bits (332) of the first data signal (330) by 50 mV as the maximum voltage of the power signal when the external electronic device (160) provides the power signal having the maximum current. Based on the bits (331, 332) of the first data signal (330), the electronic device (101) can obtain the first power indicated by the first data signal (330). For example, based on the multiplication of voltage and current, the electronic device (101) can obtain the first power by multiplying the maximum current and the maximum value of the voltage.
[0048] Referring to FIG. 3, in operation (320), the electronic device (101) and the external electronic device (160) may execute a function related to a power signal based on the result of executing the negotiation function of operation (310). For example, the electronic device (101) may communicate with the external electronic device (160) based on the first data signal (330) and obtain a power signal from the external electronic device (160). For example, in operation (320), the electronic device (101) may charge the battery of the electronic device (101) (e.g., the battery (140) of FIGS. 1 and 2) based on the power signal obtained from the external electronic device (160).
[0049] According to one embodiment, the electronic device (101) may receive a second data signal (340) from an external electronic device (160) in a state in which a battery of the electronic device (101) is being charged by a charging circuit (e.g., the charging circuit (120) of FIG. 1 and / or the first charging circuit (221) of FIG. 2) that has received a power signal. The state may include a state in which the operation (320) is performed. The state may include a state in which charging based on USB PD is performed. The second data signal (340) may be referred to as a source capability message. The second data signal (340) may include capability information of the external electronic device (160) based on APDO. For example, the second data signal (340) may be transmitted to the electronic device (101) by an external electronic device (160) that supports a power signal of a voltage and / or current that is different from the fixed voltage and / or fixed current of the first data signal (330). Although the second data signal (340) is illustrated as being transmitted in operation (320), the embodiment is not limited thereto. For example, the second data signal (340) may be transmitted from the external electronic device (160) to the electronic device (101) while executing the negotiation function of operation (310). The external electronic device (160) transmitting the second data signal (340) to the electronic device (101) may be performed to indicate a state of the external electronic device (160) at a specific point in time, to indicate a state of the external electronic device (160) based on a power limit, or may be performed repeatedly (or periodically).
[0050] Referring to FIG. 3, a 32-bit binary code included in a second data signal (340) is illustrated. The bits included in the binary code may have digits from 0 to 31. According to one embodiment, the electronic device (101) may identify the maximum current provided by the external electronic device (160) from seven bits (341) having digits from 0 to 6 within the binary code of the second data signal (340). The electronic device (101) may identify the maximum voltage provided by the external electronic device (160) from eight bits (342) having digits from 17 to 24 within the binary code of the second data signal (340). The electronic device (101) can identify the status of the external electronic device related to the power limit from a bit (343) having 27 digits within the binary code included in the second data signal (340). For example, the bit (343) may be referred to as a parameter (or flag) indicating the status. In one embodiment, the bits of the second data signal (340), including bits (341, 342, 343), may represent the parameters included in Table 2.
[0051] Digit Parameter 31~30 APDO Flag 29~28 SPR (standard power range) PPS Supply Flag 27 PPS Power Limit Flag 26~25 Reserved 24~17 Maximum voltage in 100 mV 16 Reserved 15~8 Maximum voltage in 100 mV 7 Reserved 6~0 Maximum current in 50 mA
[0052] Referring to Table 2, the electronic device (101) can determine a value obtained by multiplying the number corresponding to the bits (341) of the second data signal (340) by 50 mA as the maximum current of the external electronic device (160) identified by the second data signal (340). The electronic device (101) can determine a value obtained by multiplying the number corresponding to the bits (342) of the second data signal (340) by 100 mV as the maximum voltage of the external electronic device (160) identified by the second data signal (340). Based on the multiplication of the maximum voltage and the maximum current, the external electronic device (160) can obtain the second power indicated by the second data signal (340).
[0053] According to one embodiment, the electronic device (101) can identify from the second data signal (340) whether the voltage supported by the external electronic device (160) is equal to or greater than a specified voltage (e.g., 9 V). For example, the electronic device (101) can compare the maximum voltage indicated by the bits (342) with the specified voltage. If the maximum voltage is less than the specified voltage, the electronic device (101) can charge the battery using the second charging circuit (222) of FIG. 2. If the maximum voltage is equal to or greater than the specified voltage, the electronic device (101) can charge the battery using the first charging circuit (221) of FIG. 2. At a point in time when the maximum voltage exceeding the specified voltage is identified, the processor of the electronic device (101) (e.g., the processor 110 of FIGS. 1 and 2) may control the first charging circuit (221) of FIG. 2 based on the second power corresponding to the second data signal (340). As the first charging circuit (221) is controlled based on the second power, the electronic device (101) may obtain a power signal approaching the second power or having the second power from the external electronic device (160). The first charging circuit (221) controlled based on the second power may control a charging controller (e.g., the charging controller (130) of FIG. 2) to request a power signal having the second power from the external electronic device. Requesting the power signal having the second power may be performed based on transmission of a data signal including a request data object (RDO), which is information set for requesting a power signal in a USB PD.
[0054] In one embodiment, while charging a battery based on the first charging circuit (221) of FIG. 2, the electronic device (101) may receive a second data signal (340). The electronic device (101) may identify a parameter for indicating a power limit of the external electronic device (160), which is a PPS, at a designated location of a binary code included in the second data signal (340). For example, based on bit (343) of the second data signal (340), the electronic device (101) may identify a state of the external electronic device (160) related to the power limit. When the electronic device (101) identifies a first designated state indicating that the external electronic device (160) has reached its power limit, the electronic device (101) may control the first charging circuit (221) using either the first power corresponding to the first data signal (330) or the second power corresponding to the second data signal (340) (e.g., a relatively low power). When identifying a second designated state (e.g., a state in which the power limit has not been reached) of the external electronic device (160) that is distinct from the first designated state, the electronic device (101) may control the first charging circuit (221) using the first power among the first power or the second power. For example, based on reception of the second data signal (340), the processor of the electronic device (101) may adaptively control the first charging circuit (221).
[0055] Referring to FIG. 3, the transmission of a power signal between the electronic device (101) and the external electronic device (160) based on the operation (320) may be at least temporarily interrupted by a data signal (not shown) of the electronic device (101) and / or the external electronic device (160). For example, the electronic device (101) may transmit a data signal including information (e.g., RDO) in which voltage and / or current are described as 0 to the external electronic device (160). Based on the data signal, the external electronic device (160) may stop transmitting the power signal to the electronic device (101). For example, the electronic device (101) may transmit a data signal including an EOC (end of communication) message to the external electronic device (160). Based on the data signal, the external electronic device (160) may stop transmitting the power signal to the electronic device (101).
[0056] As described above, according to one embodiment, the electronic device (101) can more accurately measure power obtainable from the external electronic device (160) by using data signals transmitted from the external electronic device (160) (e.g., the first data signal (330) and / or the second data signal (340)). Based on the measured power, the electronic device (101) can control a charging circuit (e.g., the first charging circuit (221) of FIG. 2) and / or a charging controller (e.g., the charging controller (130) of FIGS. 1 and 2) of the electronic device (101) to cause the external electronic device (160) to provide the measured power. The electronic device (101) can charge a battery (e.g., the battery (140) of FIGS. 1 and 2) by using the measured power. Since the battery is charged by the measured power, the electronic device (101) can finish charging the battery in a shorter time.
[0057] Hereinafter, with reference to FIG. 4, the operation of the electronic device (101) described above with reference to FIGS. 1 to 3 according to one embodiment is described.
[0058] FIG. 4 illustrates an example of a flowchart of an electronic device according to one embodiment. The electronic device (101) of FIG. 1 may include the electronic device (101) of FIG. 4. The operations of the electronic device (101) described with reference to FIG. 4 may be performed by the processor (110), the charging circuit (120), and / or the charging controller (130) of FIG. 1. At least one of the operations of FIG. 4 may be related to the operations of FIG. 3 (e.g., operation (320) of FIG. 3).
[0059] Referring to FIG. 4, in operation (410), according to one embodiment, an electronic device may obtain power from an external electronic device (e.g., the external electronic device (160) of FIGS. 1 to 3) based on a first data signal received from the external electronic device. The first data signal of operation (410) may include the first data signal (330) of FIG. 3. After executing the negotiation function of operation (310) of FIG. 3, the electronic device may perform operation (410). Using the power of operation (410), the electronic device may charge a battery of the electronic device (e.g., the battery (140) of FIG. 1).
[0060] Referring to FIG. 4, in operation (420), according to one embodiment, an electronic device may receive a second data signal from an external electronic device. The second data signal of operation (420) may include the second data signal (340) of FIG. 3. The electronic device receiving the second data signal based on operation (420) may be performed while acquiring a power signal from the external electronic device based on operation (410).
[0061] Referring to FIG. 4, in operation (430), according to one embodiment, the electronic device can identify whether the maximum voltage of the second data signal is equal to or greater than a specified voltage. The electronic device can identify the maximum voltage supported by the external electronic device from a binary code in the second data signal based on APDO. The specified voltage may be 9 V. The embodiment is not limited thereto. If the maximum voltage is less than the specified voltage (430-No), the electronic device can perform operation (435). If the maximum voltage is equal to or greater than the specified voltage (430-Yes), the electronic device can perform operation (440).
[0062] Referring to FIG. 4, in operation (435), an electronic device according to one embodiment may charge a battery using a second charging circuit. The second charging circuit of operation (435) may include a circuit for charging a battery based on a switching method and / or a CV charging method, such as the second charging circuit (222) of FIG. 2.
[0063] Referring to FIG. 4, in operation (440), according to one embodiment, the electronic device may identify whether the second data signal includes a parameter indicating a first designated state related to a power limit. The parameter of operation (440) may correspond to bit (343) of FIG. 3. The first designated state may be identified by the parameter having a designated value (e.g., binary code 1) indicating that the external electronic device has reached the power limit. If the parameter indicating the first designated state is included in the second data signal (440—Yes), the electronic device may perform operation (450). If the electronic device identifies a parameter indicating a second designated state different from the first designated state (e.g., a parameter having a binary code 0) from the second data signal (440—No), the electronic device may perform operation (445).
[0064] Referring to FIG. 4, in operation (445), according to one embodiment, the electronic device may transmit and / or notify the maximum power of the external electronic device based on the second data signal to the first charging circuit. The first charging circuit of operation (445) may include a circuit for charging a battery based on a DC and / or CC charging method, such as the first charging circuit (221) of FIG. 2. The electronic device may identify the maximum power supported by the external electronic device using the second data signal based on the APDO of operation (420). The electronic device may control the first charging circuit based on the maximum power, such that the first charging circuit charges the battery using a power signal having the maximum power of the external electronic device. For example, if the external electronic device has not reached its power limit, the electronic device may increase the power provided from the external electronic device using the first charging circuit.
[0065] Referring to FIG. 4, in operation (450), according to one embodiment, the electronic device may identify a first power at a maximum voltage of a power signal of an external electronic device based on a first data signal. The electronic device may identify, from the first data signal, a maximum current of the external electronic device based on FPDO and a voltage of the power signal at the maximum current. The electronic device may identify a first power of operation (450) based on a product of the maximum current and the voltage. The first power may represent a maximum power that can be provided by the external electronic device at a fixed voltage and / or fixed current.
[0066] Referring to FIG. 4, in operation 460, according to one embodiment, the electronic device may identify a second power for a power signal of an external electronic device based on a second data signal. The electronic device may identify a maximum voltage and a maximum current of the external electronic device based on APDO from the second data signal. Based on a multiplication of the maximum voltage and maximum current identified from the second data signal, the electronic device may identify the second power. The second power may represent a maximum power in a voltage range and a current range provided by the external electronic device, which is a PPS.
[0067] Referring to FIG. 4, in operation (470), according to one embodiment, the electronic device may transmit either the first power or the second power to the first charging circuit. For example, the electronic device may transmit or notify the first charging circuit of a relatively small amount of power among the first power or the second power.
[0068] Referring to FIG. 4, in operation (480), according to one embodiment, an electronic device may transmit a voltage and / or current to a first charging circuit. The electronic device may identify a charging current and / or voltage (e.g., a float voltage) of a battery based on an SOC of the battery. The electronic device may transmit the identified charging current and / or voltage to the first charging circuit. The charging current and / or the voltage transmitted by the electronic device to the first charging circuit may be less than or equal to a maximum value of a current and / or voltage supported by the first charging circuit.
[0069] Referring to FIG. 4, in operation (490), according to one embodiment, an electronic device may charge a battery based on a first charging circuit. The first charging circuit may determine a voltage range and / or a current range for charging the battery based on the power received by operation (460) and the voltage and current received by operation (470). Based on the voltage range and / or the current range, the first charging circuit may control a charging controller to request a power signal within the voltage range and / or the current range from an external electronic device. The first charging circuit may perform constant current (CC) charging on the battery using the requested power signal.
[0070] In operation (490) of FIG. 4, when a power signal exceeding the voltage range and / or the current range is received, the first charging circuit of the electronic device may operate in a power limit mode. When a power signal within the voltage range and the current range is received, the first charging circuit of the electronic device may operate in a normal mode. In the power limit mode, the first charging circuit may adjust the amount of current input to the battery within the guaranteed current range of the battery. In one embodiment, in the power limit mode, the electronic device may perform operation (480) again to transmit a voltage and / or current based on the SOC to the first charging circuit.
[0071] Referring to FIG. 4, based on the state of the external electronic device indicated by the parameter of operation (440), the electronic device can control the first charging circuit using at least one of the first power indicated by the first data signal or the second power indicated by the second data signal. The electronic device can maximize the power supplied to the battery by the first charging circuit for direct current-based charging according to the first data signal and / or the second data signal.
[0072] According to one embodiment, an electronic device can authenticate an external electronic device that transmitted the second data signal using power measured from an APDO included in the second data signal. Hereinafter, with reference to FIG. 5, an example of the operation of the electronic device for authenticating the external electronic device is described.
[0073] FIG. 5 illustrates an example of a flowchart of an electronic device according to one embodiment. The electronic device (101) of FIG. 1 may include the electronic device of FIG. 5. The operations of the electronic device (101) described with reference to FIG. 5 may be performed by the processor (110), the charging circuit (120), and / or the charging controller (130) of FIG. 1. At least one of the operations of FIG. 5 may be related to at least one of the operations of FIGS. 3 and 4.
[0074] Referring to FIG. 5, in operation (510), according to one embodiment, an electronic device may receive a power signal and a second data signal from an external electronic device (e.g., the external electronic device (160) of FIGS. 1 to 3). The electronic device may perform operation (510) after executing the negotiation function of operation (310) of FIG. 3. The second data signal of operation (510) may include the second data signal (340) of FIG. 3.
[0075] Referring to FIG. 5, in operation (515), according to one embodiment, the electronic device may identify whether the second data signal includes a parameter indicating a first designated state related to a power limit. The electronic device may perform operation (515) of FIG. 5 similarly to operation (440) of FIG. 4. For example, the electronic device may extract a binary code based on APDO from the second data signal and obtain a parameter at a designated position in the binary code (e.g., bit (343) of FIG. 3). If the parameter has a designated value (e.g., binary code 1) indicating the first designated state, the electronic device may determine that the parameter indicating the first designated state is included. If the parameter has another value (e.g., binary code 0) different from the designated value, the electronic device may determine that the parameter indicating another state different from the first designated state is included. In a state where a parameter indicating a first designated state is identified from the second data signal (515-Yes), the electronic device can perform operation (520). In a state where a parameter indicating a second designated state is identified from the second data signal (515-No), the electronic device can perform operation (540).
[0076] Referring to FIG. 5, in operation 520, an electronic device according to an embodiment may request an external electronic device to provide a power signal having a maximum voltage and a voltage that gradually increases. If the external electronic device is identified as operating in a first designated state where the power limit has been reached, the electronic device may perform operation 520. According to an embodiment, the electronic device may identify the maximum voltage of operation 520 based on a maximum current (e.g., a maximum current encoded in bits 341 of FIG. 3) and a maximum voltage (e.g., a maximum voltage encoded in bits 342 of FIG. 3) included in a second data signal. The electronic device may communicate with the external electronic device based on the maximum voltage to obtain a power signal having the maximum voltage. If the power signal has the maximum voltage and a current less than the maximum current, the electronic device may request the external electronic device to increase the voltage and / or current of the power signal. For example, an electronic device may request an external electronic device to increase voltage based on a specified offset voltage (e.g., an offset voltage greater than 20 mV). The request from the electronic device to the external electronic device to increase voltage may be repeated based on a specified number of times.
[0077] Referring to FIG. 5, in operation (525), according to an embodiment, the electronic device may determine whether the current of a power signal provided from an external electronic device increases or is maintained in response to the request of operation (520). Since the electronic device has calculated the maximum voltage and maximum current of the external electronic device based on the second data signal provided from the external electronic device, if the external electronic device operates normally, the external electronic device may transmit a power signal having a current that is increased or maintained (i.e., not decreased) in response to the request. If the current of operation (525) increases or is maintained (525-Yes), the electronic device may perform operation (530). If the current of operation (525) decreases (525-No), the electronic device may perform operation (535). By selectively performing at least one of operations (530, 535), the electronic device may classify the external electronic device as an authenticated charging device or an unauthenticated charging device. An electronic device that has performed a request based on the above-described offset voltage of operation (520) can restore the voltage requested from an external electronic device (e.g., the voltage of the power signal prior to operation (520)) based on performing at least one of operations (530, 535).
[0078] Referring to FIG. 5, in operation (540), according to one embodiment, the electronic device may determine whether the current of the power signal decreases while the voltage of the power signal increases. If it is determined that the external electronic device is operating in a second designated state that has not reached the power limit, the electronic device may perform operation (540). According to one embodiment, the electronic device may request an increase in the voltage of the power signal from the external electronic device based on operations (445, 490) of FIG. 4. If the voltage of the power signal received from the external electronic device increases while the current of the power signal increases or is maintained (540—Yes), the electronic device may perform operation (530). If the voltage of the power signal received from the external electronic device increases while the current of the power signal decreases (540—No), the electronic device may perform operation (535). When the voltage of the power signal received from the external electronic device increases and the current of the power signal decreases (540-No), the electronic device can restore the voltage requested from the external electronic device while performing operation (535).
[0079] Referring to FIG. 5, in operation (530), according to an embodiment, an electronic device may classify an external electronic device into a first category for authenticating a charging device. The first category may be a designated category for classifying an electronic device that is adjustable in power signal according to communication (e.g., PPS communication) between the electronic device and the external electronic device. For example, the first category may be a category for classifying a normal charging device that supports USB PD. While classifying the external electronic device into the first category, the electronic device may perform at least one of the operations of FIGS. 3 and 4 to maintain acquiring a power signal from the external electronic device.
[0080] Referring to FIG. 5, in operation (535), according to one embodiment, the electronic device may classify an external electronic device into a second category. The second category may be a designated category for classifying electronic devices that are unable to change a power signal according to PPS communication. For example, the second category may be a category for classifying abnormal charging devices that do not support USB PD. In a state where the external electronic device is classified into the second category, the electronic device may stop acquiring a power signal from the external electronic device, or may acquire a power signal having a limited voltage and / or current from the external electronic device.
[0081] As described above, according to one embodiment, the electronic device can authenticate the external electronic device by controlling the external electronic device based on the measured power using the second data signal including APDO. Based on authenticating the external electronic device, the electronic device can more reliably obtain a power signal from the external electronic device.
[0082] Below, with reference to FIG. 6, an example of a UI displayed by an electronic device that performs the operations of FIGS. 1 to 5 is described.
[0083] FIG. 6 illustrates an example of a user interface (UI) displayed by an electronic device (e.g., a user terminal (101-1)) according to one embodiment. The electronic device (101) and / or the user terminal (101-1) of FIG. 1 may include the user terminal (101-1) of FIG. 6. The external electronic device (160) and / or the adapter (160-1) of FIG. 1 may include the adapter (160-1) of FIG. 6. The operation of the user terminal (101-1) described with reference to FIG. 6 may be performed by the electronic device (101) and / or the processor (110) of FIG. 1.
[0084] According to one embodiment, a user terminal (101-1) may include a display (605) as a means for visually outputting information. An adapter (160-1) connected to a power distribution system (170) may be connected to the user terminal (101-1) via a port (150). Referring to FIG. 6, based on the connection of a connector (610) (e.g., a USB Type-C plug) extended from the adapter (160-1) and a port (150) (e.g., a USB Type-C receptacle), the user terminal (101-1) may perform an operation (e.g., operation (310) of FIG. 3) described above with reference to FIGS. 1 to 5 to execute a negotiation function for USB PD with the adapter (160-1). After executing the negotiation function, in response to receiving a power signal based on the negotiation function, the user terminal (101-1) may display a screen as illustrated in FIG. 6 on the display (605). Hereinafter, a screen may refer to a user interface (UI) displayed within at least a portion of a display. A screen may include, for example, an activity of the Android operating system.
[0085] Referring to FIG. 6, according to one embodiment, the user terminal (101-1) may display a visual object related to the power signal on the display (605) while receiving the power signal through the adapter (160-1). For example, the user terminal (101-1) may guide charging of a battery (e.g., battery (140) of FIGS. 1 and 2) based on the power signal by using a visual object such as text (620) included in a lock screen. The lock screen may be displayed to restrictively execute a designated function, including an authentication function, among the functions supported by the user terminal (101-1) in an always on display (AOD) state and / or a locked state of the user terminal (101-1).
[0086] For example, the user terminal (101-1) may display a visual object related to the power signal within an area provided by the system application of the user terminal (101-1), such as a notification panel (630). For example, the user terminal (101-1) may display a visual object in the form of a button (640) for guiding charging of a battery based on the power signal.
[0087] In one embodiment, using text (620) and / or button (640), the user terminal (101-1) may indicate a status of acquiring a power signal from an external electronic device based on the operations described above with reference to FIGS. 1 to 5. For example, while charging a battery based on operation (435) of FIG. 4, the user terminal (101-1) may display designated text (e.g., “slow charge” and / or “normal charge”) on text (620) and / or button (650) to guide that the battery is being charged at a low or normal speed. For example, while charging a battery based on operation (490) of FIG. 4, the user terminal (101-1) may display designated text (e.g., “fast charge” and / or “ultra-fast charge”) on text (620) and / or button (650) to guide that the battery is being charged at a high speed. For example, the user terminal (101-1) may display text (620) including “Ultra-fast charging” while acquiring a power signal having a power exceeding 24.5 W. For example, the user terminal (101-1) may display text (620) including “Ultra-fast charging 2.0” while acquiring a power signal having a power exceeding 43 W.
[0088] In one embodiment, the user terminal (101-1) may display the result of authenticating the external electronic device on the display (605) based on the operation of FIG. 5. For example, if an abnormal external electronic device is identified based on the operation (535) of FIG. 5, the user terminal (101-1) may display a designated text (e.g., “An unauthenticated device is connected”) on the text (620) and / or button (650) to guide that the external electronic device is being charged.
[0089] Hereinafter, with reference to FIG. 7, the charging speed of a user terminal (101-1) that measures power supported by an external electronic device using APDO and FPDO is described based on an exemplary graph.
[0090] FIG. 7 illustrates an example of a graph (700) of a current of a power signal received by an electronic device, according to one embodiment. The electronic device (101) of FIG. 1 may include the electronic device of FIG. 7. Referring to FIG. 7, a graph (700) is illustrated that includes an input current (710) of a battery while the electronic device (101) is charging a battery, according to one embodiment. The horizontal axis of the graph (700) may represent time, and the vertical axis may represent current (unit: ampere (A)). The input current (720) of the graph (700) may represent a current that another electronic device, different from the electronic device (101), inputs to the battery for charging the battery, according to one embodiment. The graph (700) of FIG. 7 is exemplary, and the embodiment is not limited thereto.
[0091] Referring to the input current (710) of FIG. 7, while charging the battery with a fixed current of 4.6 A, the electronic device (101) can maintain the current of the power signal at the fixed current based on the first charging circuit (221) of FIG. 2. The electronic device (101) can charge the battery based on the fixed current of 4.6 A until time t1. Until time t1, the electronic device (101) can identify the power (e.g., the multiplication of voltage and current included in APDO) supported by the external electronic device based on a data signal (e.g., the second data signal (340) of FIG. 3) transmitted from the external electronic device (e.g., the external electronic device (160) of FIGS. 1 and 2), and request a power signal having the identified power. Based on the request, the electronic device (101) can obtain a power signal having a current close to the fixed current until time t1.
[0092] Referring to the input current (720) of FIG. 7, while charging the battery with a fixed current of 4.6 A, the input current (720) may gradually decrease from 4.6 A. At time t2 when charging the battery with the fixed current is completed, the input current (720) may decrease by 180 mA to 4.42 A. In one embodiment, since the electronic device (101) more accurately measures the power provided from the external electronic device using the FPDO and / or APDO included in the data signal of the external electronic device and communicates with the external electronic device based on the measured power, the input current (710) of the electronic device (101) may be greater than the input current (720) by a difference (730). Referring to FIG. 7, it can be seen that the length of the time interval for charging the battery with the fixed current is reduced as the electronic device (101) receives the input current (710) that is maintained at 4.6 A. For example, the electronic device (101) may complete charging of the battery earlier than other electronic devices.
[0093] According to one embodiment, the electronic device can obtain power signals of power and voltage of Table 3 for external electronic devices providing the maximum power and current of Table 3.
[0094] Maximum power and current of external electronic devices Power provided to the electronic device (W) Maximum voltage applied to the battery (V) 165W + 5A 5 11.956 265W + 3A 3 11345W + 5A 4 59.78 2445W + 3A 3 11525W + 3A 2 4.93 9.065
[0095] Referring to Table 3, according to one embodiment, an electronic device can optimize the power and / or voltage provided from an external electronic device based on the operations described with reference to FIGS. 1 to 6. Based on the optimized power and / or voltage, the electronic device can terminate battery charging in a shorter time. For example, the electronic device can obtain a power signal having a fixed current set by a CC charging method based on a voltage different from a fixed voltage. Since the power signal having a voltage different from the fixed voltage is provided, the external electronic device can provide power exceeding the power range that can be provided based on the fixed voltage.
[0096] As described above, according to one embodiment, the electronic device can measure the power range of an external electronic device for providing a power signal based on information (e.g., FPDO and / or APDO) included in a data signal provided from the external electronic device. The electronic device can then change the power provided from the external electronic device based on the measured power range. For example, even if the external electronic device has reached its power limit, the electronic device can increase the power provided from the external electronic device based on the power range.
[0097] Hereinafter, with reference to FIG. 8, one or more hardwares and / or one or more programs included in the electronic devices of FIGS. 1 to 7 are described.
[0098] FIG. 8 is a block diagram of an electronic device (801) within a network environment (800) according to various embodiments. Referring to FIG. 8, in the network environment (800), the electronic device (801) may communicate with the electronic device (802) via a first network (898) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (804) or the server (808) via a second network (899) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (801) may communicate with the electronic device (804) via the server (808). According to one embodiment, the electronic device (801) may include a processor (820), a memory (830), an input module (850), an audio output module (855), a display module (860), an audio module (870), a sensor module (876), an interface (877), a connection terminal (878), a haptic module (879), a camera module (880), a power management module (888), a battery (889), a communication module (890), a subscriber identification module (896), or an antenna module (897). In some embodiments, the electronic device (801) may omit at least one of these components (e.g., the connection terminal (878)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (876), the camera module (880), or the antenna module (897)) may be integrated into one component (e.g., the display module (860)).
[0099] The processor (820) may, for example, execute software (e.g., a program (840)) to control at least one other component (e.g., a hardware or software component) of the electronic device (801) connected to the processor (820) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (820) may store commands or data received from other components (e.g., a sensor module (876) or a communication module (890)) in a volatile memory (832), process the commands or data stored in the volatile memory (832), and store result data in a non-volatile memory (834). According to one embodiment, the processor (820) may include a main processor (821) (e.g., a central processing unit or an application processor) or an auxiliary processor (823) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (821). For example, when the electronic device (801) includes the main processor (821) and the auxiliary processor (823), the auxiliary processor (823) may be configured to use less power than the main processor (821) or to be specialized for a given function. The auxiliary processor (823) may be implemented separately from the main processor (821) or as a part thereof.
[0100] The auxiliary processor (823) may control at least a portion of functions or states associated with at least one component (e.g., a display module (860), a sensor module (876), or a communication module (890)) of the electronic device (801), for example, on behalf of the main processor (821) while the main processor (821) is in an inactive (e.g., sleep) state, or together with the main processor (821) while the main processor (821) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (823) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (880) or a communication module (890)). In one embodiment, the auxiliary processor (823) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (801) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (808)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0101] The memory (830) can store various data used by at least one component (e.g., the processor (820) or the sensor module (876)) of the electronic device (801). The data can include, for example, software (e.g., the program (840)) and input data or output data for commands related thereto. The memory (830) can include a volatile memory (832) or a non-volatile memory (834).
[0102] The program (840) may be stored as software in the memory (830) and may include, for example, an operating system (842), middleware (844), or an application (846).
[0103] The input module (850) can receive commands or data to be used in a component of the electronic device (801) (e.g., a processor (820)) from an external source (e.g., a user) of the electronic device (801). The input module (850) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0104] The audio output module (855) can output audio signals to the outside of the electronic device (801). The audio output module (855) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0105] The display module (860) can visually provide information to an external party (e.g., a user) of the electronic device (801). The display module (860) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (860) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0106] The audio module (870) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (870) can acquire sound through the input module (850), output sound through the sound output module (855), or an external electronic device (e.g., electronic device (802)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (801).
[0107] The sensor module (876) can detect the operating status (e.g., power or temperature) of the electronic device (801) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (876) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0108] The interface (877) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (801) with an external electronic device (e.g., the electronic device (802)). In one embodiment, the interface (877) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0109] The connection terminal (878) may include a connector through which the electronic device (801) may be physically connected to an external electronic device (e.g., the electronic device (802)). In one embodiment, the connection terminal (878) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0110] The haptic module (879) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (879) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0111] The camera module (880) can capture still images and videos. According to one embodiment, the camera module (880) may include one or more lenses, image sensors, image signal processors, or flashes.
[0112] The power management module (888) can manage the power supplied to the electronic device (801). According to one embodiment, the power management module (888) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0113] A battery (889) may power at least one component of the electronic device (801). In one embodiment, the battery (889) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0114] The communication module (890) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (801) and an external electronic device (e.g., electronic device (802), electronic device (804), or server (808)), and the performance of communication through the established communication channel. The communication module (890) may operate independently from the processor (820) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (890) may include a wireless communication module (892) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (894) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (804) via a first network (898) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (899) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (892) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (896) to verify or authenticate the electronic device (801) within a communication network such as the first network (898) or the second network (899).
[0115] The wireless communication module (892) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimizing terminal power and connecting multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (892) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (892) may support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (892) may support various requirements specified in the electronic device (801), an external electronic device (e.g., the electronic device (804)), or a network system (e.g., the second network (899)). According to one embodiment, the wireless communication module (892) may support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0116] The antenna module (897) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (897) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (897) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (898) or the second network (899), may be selected from the plurality of antennas by, for example, the communication module (890). A signal or power may be transmitted or received between the communication module (890) and an external electronic device via the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (897).
[0117] According to various embodiments, the antenna module (897) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
[0118] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0119] According to one embodiment, commands or data may be transmitted or received between the electronic device (801) and an external electronic device (804) via a server (808) connected to a second network (899). Each of the external electronic devices (802 or 804) may be the same or a different type of device as the electronic device (801). According to one embodiment, all or part of the operations executed in the electronic device (801) may be executed in one or more of the external electronic devices (802, 804, or 808). For example, when the electronic device (801) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (801) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (801). The electronic device (801) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (801) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (804) may include an Internet of Things (IoT) device. The server (808) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (804) or the server (808) may be included in the second network (899).The electronic device (801) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0120] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0121] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0122] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0123] Various embodiments of the present document may be implemented as software (e.g., a program (840)) including one or more instructions stored in a storage medium (e.g., an internal memory (836) or an external memory (838)) readable by a machine (e.g., an electronic device (801)). For example, a processor (e.g., a processor (820)) of the machine (e.g., an electronic device (801)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0124] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0125] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0126] In one embodiment, a method may be required to optimize and / or maximize power obtained from an external electronic device by using information provided from the external electronic device based on USB PD (e.g., FPDO and / or APDO provided via CC pins). As described above, according to one embodiment, an electronic device (e.g., electronic device (101) of FIG. 1) may include a port (e.g., port (150) of FIG. 1), a battery (e.g., battery (140) of FIG. 1), a charging circuit (e.g., charging circuit (120) of FIG. 1), a charging controller (e.g., charging controller (130) of FIG. 1), and a processor (e.g., processor (110) of FIG. 1). The processor may be configured to identify a first data signal (e.g., first data signal (330) of FIG. 3) received via the port using the charging controller. The processor may be configured to, based on the first data signal, communicate with an external electronic device (e.g., the external electronic device (160) of FIG. 1) connected to the port and obtain a power signal from the external electronic device. The processor may be configured to receive a second data signal (e.g., the second data signal (340) of FIG. 3) from the external electronic device, while the battery is being charged by the charging circuit that has received the power signal. The processor may be configured to control the charging circuit based on at least one of the first power indicated by the first data signal or the second power indicated by the second data signal, based on a parameter included in the second data signal and indicating a state of the external electronic device related to a power limit. In one embodiment, the electronic device may control the charging circuit based on the power of the external electronic device identified by the data signal provided from the external electronic device, thereby maximizing or optimizing the power obtained from the external electronic device.
[0127] For example, the processor may be configured to identify, at a designated location in the binary code included in the second data signal, the parameter for indicating the power limit of the external electronic device, which is a programmable power supply.
[0128] For example, the processor may be configured to obtain, from the second data signal, the binary code based on an augmented power data object (APDO) representing the state of the external electronic device at a moment.
[0129] For example, the processor may be configured to identify the first power based on a voltage and a maximum current included in a binary code included in the first data signal.
[0130] For example, the processor may be configured to obtain the binary code based on a fixed power data object (FPDO) including capability information of the external electronic device from the first data signal.
[0131] For example, the processor may be configured to identify the second power based on a maximum voltage and a maximum current included in a binary code included in the second data signal.
[0132] For example, the processor may be configured to transmit to the charging circuit a lesser of the first power or the second power based on identifying the parameter having a designated value indicative of the power limit.
[0133] For example, the processor may be configured to control the charging circuit based on at least one of the first power or the second power, based on identifying a maximum voltage of the external electronic device that exceeds a specified voltage from the second data signal.
[0134] For example, the processor may be configured to control charging of the battery based on the power signal using a second charging circuit (e.g., the second charging circuit (222) of FIG. 2) that is different from the first charging circuit (e.g., the first charging circuit (221) of FIG. 2) based on identifying the maximum voltage below the designated voltage from the second data signal.
[0135] For example, the first charging circuit may include a circuit for charging the battery based on direct current. The second charging circuit may be configured to include a circuit for charging the battery based on a variable voltage.
[0136] For example, the processor may be configured to request the external electronic device to increase the current of the power signal using the charge controller based on identifying the parameter having a designated value indicative of the power limit. The processor may be configured to, after the request for an increase in the current, classify the external electronic device into a designated category for classifying an electronic device that is adjustable in the power signal based on communication between the electronic device and the external electronic device, based on whether the current of the power signal increases.
[0137] According to one embodiment of the present invention, a method of an electronic device as described above may include an operation of identifying a first data signal received through a port of the electronic device using a charging controller of the electronic device. The method may include an operation of communicating with an external electronic device connected to the port based on the first data signal and obtaining a power signal from the external electronic device. The method may include an operation of receiving a second data signal from the external electronic device while a battery of the electronic device is being charged by a charging circuit of the electronic device that has received the power signal. The method may include an operation of controlling the charging circuit based on at least one of a first power indicated by the first data signal or a second power indicated by the second data signal, based on a parameter included in the second data signal and indicating a state of the external electronic device related to a power limit.
[0138] For example, the controlling operation may include identifying, at a specified location in the binary code included in the second data signal, the parameter for indicating the power limit of the external electronic device, which is a programmable power supply.
[0139] For example, the act of identifying the parameter may include an act of obtaining, from the second data signal, the binary code based on an APDO representing the state of the external electronic device at a point in time.
[0140] For example, the controlling operation may include an operation of identifying the first power based on a voltage and a maximum current included in a binary code included in the first data signal.
[0141] For example, the operation of identifying the first power may include an operation of obtaining, from the first data signal, the binary code based on an FPDO including capability information of the external electronic device.
[0142] For example, the controlling operation may include an operation of identifying the second power based on a maximum voltage and maximum current included in a binary code included in the second data signal.
[0143] For example, the controlling operation may include transmitting to the charging circuit a lesser power of the first power or the second power based on identifying the parameter having a designated value indicative of the power limit.
[0144] For example, the controlling operation may include controlling the charging circuit based on at least one of the first power or the second power, based on identifying a maximum voltage of the external electronic device that exceeds a specified voltage from the second data signal.
[0145] According to one embodiment of the present invention, an electronic device (e.g., electronic device (101) of FIG. 1) as described above may include a port (e.g., port (150) of FIG. 1), a battery (e.g., battery (140) of FIG. 1), a charging circuit (e.g., charging circuit (120) of FIG. 1), a charging controller (e.g., charging controller (130) of FIG. 1), and a processor (e.g., processor (110) of FIG. 1). The processor may be configured to identify a first data signal (e.g., first data signal (330) of FIG. 3) received through the port using the charging controller. The processor may be configured to communicate with an external electronic device (e.g., external electronic device (160) of FIG. 1) connected to the port based on the first data signal, and obtain a power signal from the external electronic device. The processor may be configured to receive a second data signal (e.g., the second data signal (340) of FIG. 3) from the external electronic device while the battery is being charged by the charging circuit that has received the power signal. The processor may be configured to control the charging circuit using either a first power indicated by the first data signal or a second power indicated by the second data signal in response to identifying a first designated state of the external electronic device related to a power limit based on the second data signal. The processor may be configured to control the charging circuit using the first power of either the first power or the second power in response to identifying a second designated state of the external electronic device related to the power limit based on the second data signal.
[0146] For example, the processor may be configured to identify, at a designated location in the binary code included in the second data signal, a parameter representing the power limit of the external electronic device, which is a programmable power supply. The processor may be configured to identify, based on the parameter, a state of the external electronic device among the first designated state or the second designated state.
[0147] For example, the processor may be configured to obtain, from the second data signal, a binary code based on an augmented power data object (APDO) representing a state of the external electronic device at a point in time.
[0148] For example, the processor may be configured to obtain a binary code based on a fixed power data object (FPDO) including capability information of the external electronic device from the first data signal.
[0149] According to one embodiment of the present invention, a method of an electronic device as described above may include an operation of identifying a first data signal received through a port of the electronic device using a charging controller of the electronic device. The method may include an operation of communicating with an external electronic device connected to the port based on the first data signal and obtaining a power signal from the external electronic device. The method may include an operation of receiving a second data signal from the external electronic device while a battery of the electronic device is being charged by a charging circuit of the electronic device that has received the power signal. The method may include an operation of controlling the charging circuit using either a first power indicated by the first data signal or a second power indicated by the second data signal in response to identifying a first designated state of the external electronic device related to a power limit based on the second data signal. The method may include controlling the charging circuit using the first power of the first power or the second power in response to identifying a second designated state of the external electronic device associated with the power limit based on the second data signal.
[0150] For example, the receiving operation may include an operation of identifying a parameter for indicating the power limit of the external electronic device, which is a programmable power supply, at a designated location in the binary code included in the second data signal. The receiving operation may include an operation of identifying a state of the external electronic device among the first designated state or the second designated state based on the parameter.
[0151] For example, the receiving operation may include obtaining, from the second data signal, a binary code based on an APDO indicating a state of the external electronic device at a point in time.
[0152] For example, the receiving operation may include obtaining a binary code based on an FPDO including capability information of the external electronic device from the first data signal.
[0153] The devices described above may be implemented as hardware components, software components, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be implemented using one or more general-purpose computers or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding to them. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, the processing device is sometimes described as being used alone; however, one of ordinary skill in the art will recognize that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, a processing unit may include multiple processors, or a processor and a controller. Other processing configurations, such as parallel processors, are also possible.
[0154] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to perform a desired operation or may independently or collectively command the processing device. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device for interpretation by the processing device or for providing instructions or data to the processing device. The software may also be distributed over networked computer systems and stored or executed in a distributed manner. The software and data may be stored on one or more computer-readable recording media.
[0155] The method according to the embodiment may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. In this case, the medium may be one that continuously stores a computer-executable program or one that temporarily stores it for execution or download. In addition, the medium may be various recording means or storage means in the form of a single or multiple hardware combinations, and is not limited to a medium directly connected to a computer system, but may also be distributed over a network. Examples of the medium may include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and those configured to store program commands, including ROM, RAM, and flash memory. In addition, examples of other media may include recording media or storage media managed by app stores that distribute applications, sites that supply or distribute various software, servers, etc.
[0156] Although the embodiments described above have been described by way of limited examples and drawings, those skilled in the art will appreciate that various modifications and variations can be made based on the above teachings. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components of the described systems, structures, devices, circuits, etc. are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.
[0157] Therefore, other implementations, other embodiments, and equivalents to the claims also fall within the scope of the claims described below.
Claims
1. In electronic devices, port; battery; charging circuit; charge controller; Memory that stores instructions; and A processor, wherein the instructions, when executed by the processor, cause the electronic device to: Using the above charging controller, identifying the first data signal received through the port; Based on the first data signal, communicating with an external electronic device connected to the port and obtaining a power signal from the external electronic device; In a state where the battery is being charged by the charging circuit that has received the power signal, a second data signal is received from the external electronic device; and Controlling the charging circuit based on at least one of the first power indicated by the first data signal or the second power indicated by the second data signal, based on a parameter included in the second data signal and representing a state of the external electronic device related to a power limit, Electronic devices.
2. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Causing to identify the parameter for indicating the power limit of the external electronic device, which is a programmable power supply, at a designated location of the binary code included in the second data signal; Electronic devices.
3. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Causing to obtain the binary code based on the augmented power data object (APDO) representing the state of the external electronic device at a moment from the second data signal, Electronic devices.
4. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Causing to identify the first power based on the voltage and maximum current included in the binary code included in the first data signal, Electronic devices.
5. In claim 4, the instructions, when executed by the processor, cause the electronic device to: Causing to obtain the binary code based on the fixed power data object (FPDO) including capability information of the external electronic device from the first data signal, Electronic devices.
6. In claim 1, the instructions, when executed by the processor, cause the electronic device to: To cause the second power to be identified based on the maximum voltage and maximum current included in the binary code included in the second data signal. Electronic devices.
7. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Causing the charging circuit to transmit a lesser power among the first power or the second power based on identifying the parameter having a designated value representing the power limit. Electronic devices.
8. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Controlling the charging circuit based on at least one of the first power or the second power, based on identifying a maximum voltage of the external electronic device exceeding a specified voltage from the second data signal; Electronic devices.
9. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Based on identifying the maximum voltage lower than the specified voltage from the second data signal, controlling charging of the battery based on the power signal using a second charging circuit different from the first charging circuit, Electronic devices.
10. In claim 9, The first charging circuit includes a circuit for charging the battery based on direct current, The second charging circuit is configured to include a circuit for charging the battery based on a variable voltage. Electronic devices.
11. In claim 1, the instructions, when executed by the processor, cause the electronic device to: Requesting the external electronic device to increase the current of the power signal using the charge controller based on identifying the parameter having a designated value representing the power limit; After a request for an increase in said current, based on whether said current of said power signal increases, causing said external electronic device to be classified into a designated category for classifying an electronic device that is adjustable in said power signal according to communication between said electronic device and said external electronic device. Electronic devices.
12. In the method of an electronic device, An operation of identifying a first data signal received through a port of the electronic device using a charging controller of the electronic device; An operation of communicating with an external electronic device connected to the port based on the first data signal and obtaining a power signal from the external electronic device; An operation of receiving a second data signal from the external electronic device while the battery of the electronic device is being charged by the charging circuit of the electronic device that has received the power signal; and An operation of controlling the charging circuit based on at least one of a first power indicated by the first data signal or a second power indicated by the second data signal, based on a parameter included in the second data signal and representing a state of the external electronic device related to a power limit, method.
13. In claim 12, the controlling operation is: An operation for identifying a parameter for indicating a power limit of the external electronic device, which is a programmable power supply, at a designated location of a binary code included in the second data signal, method.
14. In claim 13, the operation of identifying the parameter comprises: An operation of obtaining the binary code based on APDO representing the state of the external electronic device at a point in time from the second data signal, method.
15. In claim 12, the controlling operation is: An operation for identifying the first power based on a voltage and a maximum current included in a binary code included in the first data signal, method.
Citation Information
Patent Citations
Eco-friendly portable module caravan in Lego type
KR1020240016152A
Photosynthetic microorganism incubator
KR102757808B1
Charger of an electronic device
US20160268829A1
Systems and methods for charging a battery
US20170085098A1
Adaptive Power Systems and Techniques
US20210376643A1