Electronic device and driving method therefor

The electronic device addresses power delivery errors by adjusting current and voltage based on cable impedance to prevent interruptions and enhance charging efficiency.

WO2026034802A1PCT designated stage Publication Date: 2026-02-12SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/009282
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-10-28
Filing Date
2025-07-01
Publication Date
2026-02-12

AI Technical Summary

Technical Problem

Power delivery communication errors occur due to IR drop in USB cables that exceed specified tolerance, leading to repeated power interruptions and slow charging, causing user complaints.

Method used

An electronic device with a first charger to increase current and decrease voltage, a second charger for buck conversion, and a processor to detect cable impedance and adjust charging current to prevent communication errors and enhance charging efficiency.

Benefits of technology

Prevents further communication errors and speeds up battery charging by lowering output current when an abnormal cable is connected, ensuring stable power delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025009282_12022026_PF_FP_ABST
    Figure KR2025009282_12022026_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device (101) according to an embodiment of the present disclosure may: carry out designated communication with an external device (202) via a cable (203), wherein the designated communication includes the steps of the electronic device (101) transmitting a first signal (305), and the electronic device (101) receiving a second signal (306) from the external device (202); calculate a difference value between a potential of the first signal (305) and a potential of the second signal (306); determine impedance of the cable (203) on the basis of the calculated difference value and a change in power supply voltage input to the electronic device; determine a charging current on the basis of the determined impedance; and request the external device (202) to transmit the determined charging current. Various other embodiments may further be included.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method of driving the same

[0001] Embodiments of the present disclosure relate to an electronic device and a method of driving the same.

[0002] A power supply device (e.g., a travel adapter (TA)) can perform power delivery (PD) communication with an electronic device via a cable and supply power to a power receiving device (e.g., a smartphone). The power receiving device (e.g., a smartphone) can charge the battery of the power receiving device using the power input from the power supply device and supply power to the system (in other words, the load circuit) of the power receiving device. For example, the power input from the power supply device to the power receiving device can be distributed to the battery and the system through the charging circuit of the power receiving device.

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

[0004] If the cable connecting the power supply and power receiver is old or not of the specified quality, PD communication errors may occur between the two devices. Due to cable resistance, the input voltage of the power receiver (the voltage of the power signal input from the cable to the power receiver) is relatively lower than the output voltage of the power supply (the voltage of the power signal output from the power supply to the cable). This voltage drop due to cable resistance is referred to as IR Drop (or V Drop).

[0005] The allowable IR drop is defined by USB Power Delivery (USB PD). USB PD (Power Delivery) is a communications protocol for supplying power between electronic devices connected via a USB cable. For example, if the output current of a power supply device (the current of the power signal output from the power supply device to the cable) is set to a maximum of 5A, the IR drop between the power pins of two devices connected via a USB Type-C cable can be up to approximately 500mV, and the IR drop between the ground pins can be up to approximately 250mV. If the cable is aged or not of the specified authenticity, the IR drop may exceed the specified tolerance.

[0006] An IR drop exceeding the allowable limit can cause errors in PD communication between two devices. For example, a power receiver may communicate with a power supply to adjust the output voltage and / or output current of the power supply. During PD communication, the power supply may not be able to identify the data transmitted by the power receiver. As a result, the power supply may stop supplying power to the power receiver. Subsequently, power supply may be resumed through PD communication between the two devices. However, power supply may be interrupted again. Repeated power interruptions and resumptions can delay battery charging and lead to frequent voice of customers (VOC) complaints (e.g., user complaints about slow or no charging).

[0007] Embodiments of the present disclosure can provide an electronic device and a method of driving the same, which can prevent further occurrence of communication errors and charge a battery more quickly by lowering the output current of a power supply device when a communication error occurs due to being connected to a power supply device through an abnormal cable.

[0008] The technical problems to be achieved in the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by a person having ordinary skill in the technical field to which the present invention pertains from the description below.

[0009] An electronic device (101) according to one embodiment of the present disclosure includes a battery, a charging interface configured to be connected to an external device (202) via a cable (203), a first charger including a power converter that increases a current supplied from the external device (202) by a specified rate and outputs it, and decreases a voltage supplied from the external device (202) by the specified rate and outputs it, a second charger capable of performing a buck converter function, a memory (130) that stores instructions, and a processor (120), wherein the instructions, when executed by the processor (120), cause the electronic device (101) to perform a specified communication with the external device (202) via the cable (203) when the electronic device (101) detects a connection with the external device (202), wherein the specified communication includes an operation of the electronic device (101) transmitting a first signal (305) and an operation of the electronic device (101) transmitting a second signal (306) from the external device (202). It includes an operation of receiving a signal (306), calculating a difference value between a potential of the first signal (305) and a potential of the second signal (306), determining an impedance of the cable (203) based on the calculated difference value and a change in a power voltage input to the electronic device, determining a charging current based on the determined impedance, and requesting transmission of the determined charging current to the external device (202).

[0010] A driving method of an electronic device (101) according to one embodiment of the present disclosure may include, when a connection with an external device (202) through a cable (203) is detected, performing a designated communication with the external device (202) through the cable (203), wherein the designated communication includes an operation in which the electronic device (101) transmits a first signal (305) and an operation in which the electronic device (101) receives a second signal (306) from the external device (202), an operation in which a difference value between a potential of the first signal (305) and a potential of the second signal (306) is calculated, an operation in which an impedance of the cable (203) is determined based on the calculated difference value, an operation in which a charging current is determined based on the determined impedance, and an operation in which transmission of the determined charging current is requested from the external device (202).

[0011] An electronic device (101) according to one embodiment of the present disclosure includes a battery, a power terminal (221), a ground terminal (222), and a data terminal, and an interface configured to be connected to an external device (202) via a cable (203), a detection circuit for measuring a signal related to a voltage of the data terminal, at least one charging circuit (240) for charging the battery using external power supplied through the power terminal and the ground terminal, a memory (130) for storing instructions, and a processor (120), wherein the instructions, when executed by the processor (120), cause the electronic device (101) to detect a connection with the external device (202), receive a second signal (306) from the external device (202) via the cable (203), determine a voltage value related to the second signal (306) via the detection circuit, and, based on the determined voltage value related to the second signal, to adjust a charging current. and can request the external device (202) to transmit the determined charging current.

[0012] According to embodiments of the present disclosure, when a communication error occurs due to a power supply device being connected via an abnormal cable, the output current of the power supply device can be lowered to prevent further communication errors and charge the battery more quickly.

[0013] In addition, various effects may be provided, either directly or indirectly, through this document.

[0014] Other aspects, features and advantages according to specific embodiments of the present disclosure will become more apparent from the accompanying drawings and the corresponding description.

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

[0016] FIG. 2 is a block diagram of a power receiving device configured to charge a battery using power received from a power supply device, according to one embodiment.

[0017] Figure 3 is a drawing for explaining a communication error due to IR Drop.

[0018] FIG. 4A and FIG. 4B are drawings for explaining a first signal of an electronic device and a second signal of an external device.

[0019] Figure 5 is a flowchart illustrating the operation of an electronic device according to one embodiment.

[0020] FIG. 6 is a flowchart illustrating a method by which an electronic device compares a first signal and a second signal according to one embodiment.

[0021] FIG. 7 is a block diagram illustrating components of an electronic device according to one embodiment for converting a second signal.

[0022] FIG. 8 is a schematic diagram illustrating a process in which an electronic device converts a second signal according to one embodiment.

[0023] FIG. 9 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to determine the impedance of a cable by comparing the high voltage levels of each of a first signal and a second signal.

[0024] FIG. 10 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to determine the impedance of a cable by comparing the low voltage levels of each of a first signal and a second signal.

[0025] FIG. 11 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to determine the impedance of a cable by comparing the amplitudes of each of a first signal and a second signal.

[0026] Figure 12 is a flowchart illustrating the operation of an electronic device according to one embodiment.

[0027] FIG. 13 is an exemplary drawing of a notification output by an electronic device according to one embodiment.

[0028] FIG. 14 is a flowchart illustrating an electronic device according to one embodiment of the present invention for determining the impedance of a cable.

[0029] Each of the embodiments described with reference to the drawings of the present disclosure can be independently configured as a single embodiment. For example, the embodiments of FIG. 1 and FIG. 2 can each be independently configured. Each of the embodiments described with reference to the drawings of the present disclosure can operate independently as a single embodiment. For example, the embodiments of FIG. 1 and FIG. 2 can each operate independently.

[0030] At least two embodiments described with reference to the drawings of the present disclosure may be combined and configured. For example, at least a portion of the embodiment of FIG. 1 and at least a portion of the embodiment of FIG. 2 may be combined and configured. At least two embodiments described with reference to the drawings of the present disclosure may be combined and operated. For example, at least a portion of the embodiment of FIG. 1 and at least a portion of the embodiment of FIG. 2 may be combined and operated.

[0031] When at least two embodiments described with reference to the drawings of the present disclosure are combined, at least some of the components and / or at least some of the operations included in each embodiment may be omitted. For example, when the embodiment of FIG. 1 and the embodiment of FIG. 2 are combined, at least some of the components and / or at least some of the operations included in the embodiment of FIG. 1 may be omitted, and at least some of the components and / or at least some of the operations included in the embodiment of FIG. 2 may be omitted.

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

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

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

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

[0036] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

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

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

[0039] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

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

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

[0042] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0043] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

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

[0045] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

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

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

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

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

[0050] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through 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 (197).

[0051] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to 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.

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

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

[0054] Electronic devices according to various embodiments disclosed in the present disclosure 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 embodiments of the present disclosure are not limited to the aforementioned devices.

[0055] The various embodiments of the present disclosure and the terminology used therein are not intended to limit the technical features described in the present disclosure 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 the present disclosure, 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 the phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another component (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0056] The term "module" used in various embodiments of the present disclosure 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, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0057] Various embodiments of the present disclosure may be implemented as software (e.g., a program (140)) including one or more commands stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one command among the one or more commands stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one command called. The one or more commands may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' 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.

[0058] According to one embodiment, the method according to various embodiments disclosed in the present disclosure may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0059] 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.

[0060] FIG. 2 is a block diagram of a power receiving device (201) configured to charge a battery using power received from a power supply device (202), according to one embodiment. The power receiving device (201) may be connected to the power supply device (202) via a cable (e.g., a USB Type-C cable) (203) that supports data communication and power reception.

[0061] The term "power supply device (202)" used in various embodiments of the present disclosure means a charging device that outputs power through a cable (203), and may be used interchangeably with terms such as external device.

[0062] The term "power receiving device (201)" used in various embodiments of the present disclosure means a device that receives power through a cable (203), and may be, for example, an electronic device (101) described with reference to FIG. 1.

[0063] Referring to FIG. 2, a power receiving device (201) (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) may include a battery (210) (e.g., battery (189) of FIG. 1), a connector (220), a charging circuit (240), a communication circuit (250), and a control circuit (299) (e.g., processor (120) of FIG. 1).

[0064] According to one embodiment, the connector (220) (e.g., the connection terminal (178) of FIG. 1) may include a power terminal (221) for receiving a power signal from the power supply device (202), a ground terminal (222) connected to the ground of the power receiving device (201), and a data terminal (223) for data communication with the power supply device (202). For example, the connector (220) may include a socket according to a universal serial bus (USB) Type-C. The socket of the connector (220) may be coupled with a plug of a cable (203). For example, among the pins of the USB Type-C socket, the VBUS pin may be used as the power terminal (221), and the CC (configuration channel) pin and / or the differential signal pin (DP (D+), DN (D-)) may be used as the data terminal (223).

[0065] The term “connector (220)” used in various embodiments of the present disclosure may be used interchangeably with terms such as charging interface.

[0066] According to one embodiment, the charging circuit (240) may support constant current (CC) and constant voltage (CV) charging based on the control of the control circuit (299). For example, while the charging mode is set to the CC mode, the charging circuit (240) may maintain the current of the power signal output from the charging circuit (240) at a constant charging current value set by the control circuit (299) when the voltage of the battery (210) (e.g., the voltage difference between the anode and cathode of the battery) is below a designated target voltage value. For example, the target voltage value may refer to the voltage of the battery (210) when the battery is fully charged. A full charge may refer to a state of charge (SOC) when the charge amount of the battery reaches 100%, which is a set maximum capacity, without concern of burnout or explosion. As another example, the target voltage value may be a specified voltage (e.g., a voltage corresponding to 98% of maximum capacity).

[0067] According to one embodiment, the control circuit (299) can switch the charging mode to the CV mode when the voltage (VBAT) of the battery (210) reaches a target voltage value during battery charging. When the charging mode is switched from the CC mode to the CV mode by the voltage (VBAT) of the battery (210) reaching the target voltage value, the charging circuit (240) can lower the current value of the power signal output from the charging circuit (240) based on the control of the control circuit (299) so that the input voltage (VBAT) of the battery module (210) is maintained at the target voltage value. When the current (IBAT) of the power signal input from the charging circuit (240) to the battery (210) while the battery module (210) is being charged in CV mode drops to a current value (e.g., topoff current value) specified for completion of charging, the charging circuit (240) can complete charging of the battery (210) by stopping the output of the power signal to the battery (210) based on the control of the control circuit (299).

[0068] The term "control circuit (299)" used in various embodiments of the present disclosure may be the processor (120) described with reference to FIG. 1. The term "control circuit (299)" used in various embodiments of the present disclosure may be the control circuit included in the power management module (188) and / or interface (177) of FIG. 1.

[0069] According to one embodiment, the charging circuit (240) may include a first power conversion circuit (or, alternatively, a direct charging circuit) (241) and a second power conversion circuit (or, alternatively, a switching charging circuit) (242).

[0070] According to one embodiment, the first power conversion circuit (241) includes a first terminal (241a) through which power is input and output and a second terminal (241b). The first terminal (241a) may be electrically connected to a power terminal (221) (e.g., a VBUS terminal) of the connector (220). The second terminal (241b) may be electrically connected to a positive pole of the battery (210). The negative pole of the battery (210) may be connected to a ground of the power receiving device (201). The first power conversion circuit (241) may be configured to convert a voltage value of a power signal input from the first terminal (241a) into a fixed voltage conversion ratio (a ratio of a voltage value of an output power signal to a voltage value of an input power signal) and output the converted voltage to the second terminal (241b). The first power conversion circuit (241) may include a circuit (e.g., a switched capacitor voltage divider (SCVD)) configured so that the ratio of the output power to the input power is '1'. For example, the first power conversion circuit (241) may convert the voltage value of the power signal received from the power terminal (221) through the first terminal (241a) to N to 1 (e.g., 1 / N times step-down), convert the current value to 1 to N (e.g., N times increase), and output the power signal to the battery (210) through the second terminal (241b).

[0071] The term “first power conversion circuit (241)” used in various embodiments of the present disclosure may be used interchangeably with terms such as first charger.

[0072] According to one embodiment, the second power conversion circuit (e.g., a buck converter) (242) includes a third terminal (242a) and a fourth terminal (242b) through which power is input and output. Here, “third” and “fourth” are only prefixes used to distinguish them from the terminals (241a, 241b) configured in the first power conversion circuit (241), and do not limit the second power conversion circuit (242) in other aspects. The third terminal (242a) may be electrically connected to the power terminal (221) of the connector (220). The fourth terminal (242b) may be electrically connected to the positive electrode of the battery (210). The second power conversion circuit (242) may convert a voltage value and / or a current value of a power signal input from the third terminal (242a) and output the converted power to the fourth terminal (242b). For example, the second power conversion circuit (242) can step down or up the voltage value of a power signal received from the power terminal (221) through the third terminal (242a) and output the power signal to the battery (210) through the fourth terminal (242b).

[0073] The term "second power conversion circuit (242)" used in various embodiments of the present disclosure may be used interchangeably with terms such as second charger.

[0074] According to one embodiment, a communication circuit (e.g., a USB controller) (250) can identify the type of an external device connected to a connector (220) based on data received from the external device through a data terminal (223). The communication circuit (250) can transmit identification information indicating the type of the external device to a control circuit (299). Based on the identification information, the control circuit (299) can perform an operation of determining a source supplying power and a sink receiving power among two devices (201, 202) by performing communication with the external device through the communication circuit (250) according to a power delivery (PD) communication protocol. For example, since the power supply device (202) is recognized as a travel adapter (TA), the power supply device (202) can be determined as a source and the power receiving device (201) can be determined as a sink. After such negotiation, the control circuit (299) may perform an operation of negotiating the current value and / or voltage value of the power signal to be transmitted from the power supply device (202) by performing communication with the power supply device (201) through the communication circuit (250) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)). The control circuit (299) may control one of the power conversion circuits (241, 242) to output a power signal having a voltage value and a current value determined by the negotiation result. For example, when the power supply device (202) is identified as a PPS-supporting device, the control circuit (299) may deactivate the second power conversion circuit (242), activate the first power conversion circuit (241), and supply power to the battery (210) using the activated first power conversion circuit (241).As another example, if the power supply device (202) is identified as a device that does not support PPS, the control circuit (299) can deactivate the first power conversion circuit (241), activate the second power conversion circuit (242), and supply power to the battery (210) using the activated second power conversion circuit (242).

[0075] According to one embodiment, the control circuit (299) may be a component (e.g., a microcontroller unit (MCU)) of a PMIC (e.g., a power management module (188)) or a component (e.g., an application processor) of a processor (e.g., a processor (120) of FIG. 1).

[0076] According to one embodiment, at least one of the first power conversion circuit (241), the second power conversion circuit (242), the communication circuit (250), and the control circuit (299) may be a component integrated into a specific chip (e.g., an interface-integrated (IF) PMIC).

[0077] Figure 3 is a drawing for explaining a communication error due to IR Drop.

[0078] Referring to FIG. 3, when power is supplied from a power supply device (202) (e.g., the power supply device (202) of FIG. 2) to a power receiving device (201) (e.g., the power receiving device (201) of FIG. 2), a current (304) flows from a power terminal (301) (e.g., a VBUS terminal)) of the power supply device (202) to a power terminal (221) (e.g., a VBUS terminal) of the power receiving device (201) and returns to a ground terminal (302) of the power supply device (202) via a ground terminal (222) of the power receiving device (201). While the current (304) flows from the power supply device (202) and the power receiving device (201), communication can be made between the two devices (201, 202) for adjusting the current value. For example, data (305) may be output from a data terminal (223) of a power receiving device (201) to a data terminal (303) of a power supply device (202). For example, data (306) may be output from a data terminal (303) of a power supply device (202) to a data terminal (223) of a power receiving device (201). In various embodiments of the present disclosure, data (305) output from a data terminal (223) of a power receiving device (201) to a data terminal (303) of a power supply device (202) may be referred to as a first signal (305). In various embodiments of the present disclosure, data (306) output from a data terminal (303) of a power supply device (202) to a data terminal (223) of a power receiving device (201) may be referred to as a second signal (306).

[0079] According to one embodiment, the VBUS voltage, which is the power voltage output from the power terminal (301) (e.g., VBUS terminal)) of the power supply device (202), may have an IR drop in the cable (203), and thus the VBUS voltage recognized at the power terminal (221) of the power receiving device (201) may be lower. For example, the VBUS voltage, which is the power voltage output from the power terminal (301) (e.g., VBUS terminal)) of the power supply device (202), may be output at about 9 V, but the VBUS voltage recognized at the power terminal (221) of the power receiving device (201) may be about 8.3 V. Accordingly, when communication is performed between the two devices (201, 202), the ground voltage levels recognized by each of the two devices (201, 202) may be different from each other, and this may be the cause of a communication error. For example, the deviation of the ground voltage level recognized by each of the two devices (201, 202) may be greater if the cable (203) is old or not a designated genuine product. In one embodiment, when the charging current (304) increases (e.g., the charging current is 3 A or more), the IR Drop may increase due to the influence of the cable (203) having high impedance between the power supply device (202) and the power receiving device (201), and the possibility of a communication error due to the deviation of the ground voltage level may further increase. For example, when the cable (203) is old or not a designated genuine product, the IR Drop may exceed the specified tolerance as the charging current increases. Then, an error may occur in the communication between the two devices (201, 202) and the power supply may be temporarily interrupted before the current value (or power value) of the power signal output from the power supply device (202) reaches the set target value. Communication errors may be repeated, which may result in relatively slow charging of the battery (210).According to various embodiments of the present disclosure, when the cable (203) is old or not a designated genuine product, operations may be performed in the power receiving device (201) to prevent further occurrence of communication errors and to quickly charge the battery (210) by lowering the target value (e.g., target charging current or maximum charging current). Here, the same type of communication error may mean a communication error that is repeated when the current value (or power value) of the power signal output from the power supply device (202) is within a specific range. For example, the communication error may be repeated when the output current increases stepwise but does not reach the target current value (e.g., about 5 A) and is within a specific current range (e.g., about 3.4 A to about 3.6 A). As another example, the error may be repeated when the output power increases stepwise but does not reach the target power value (e.g., about 40 W) and is within a specific power range.

[0080] FIGS. 4A and 4B are diagrams for explaining a first signal (410) of an electronic device (101) and a second signal (420) of an external device (202). For example, FIG. 4B is a waveform diagram illustrating a first signal (305) and a second signal (306) in an external device (202) (e.g., a power supply device (202) of FIG. 2). For example, FIG. 4B is a waveform diagram illustrating a first signal and a second signal in an electronic device (101) (e.g., a power reception device (201) of FIG. 2).

[0081] Referring to FIGS. 4A and 4B , an electronic device (101) according to one embodiment (e.g., the electronic device (101) of FIG. 1 , the power receiving device (201) of FIG. 2 ) may perform designated communication with an external device (e.g., the power supply device (202) of FIG. 2 ) when detecting a connection with the external device (e.g., the power supply device (202) of FIG. 2 ) via a cable (e.g., the cable (203) of FIG. 2 ). The designated communication may be communication according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)). By performing the designated communication, the electronic device (101) may perform an operation of negotiating a current value and / or voltage value of a power signal to be transmitted by the external device (202).

[0082] According to one embodiment, the designated communication that the electronic device (101) performs with the external device (202) may include, as at least part of a negotiation operation, the electronic device (101) transmitting a first signal (305) to the external device (202), and the electronic device (101) receiving a second signal (306) from the external device (202).

[0083] According to one embodiment, the first signal (305) that the electronic device (101) transmits to the external device (202) may include a “Request signal.” For example, the Request signal may be a signal that the electronic device (101) requests the external device (202) for a current value and / or a voltage value of a power signal. The electronic device (101) may transmit at least some of the requests for a 5V PDO for PPS charging, a 9V PDO, and a PPS PDO through the first signal (305) during an initial period (e.g., a pre cc period) when a connection with the external device (202) is initiated.

[0084] According to one embodiment, the first signal (305) transmitted by the electronic device (101) to the external device (202) may include a "Good CRC signal." For example, the Good CRC signal may be a signal indicating that the second signal (306) of the external device (202) has been normally received, and the present invention is not limited to this designation.

[0085] According to one embodiment, the second signal (306) that the external device (202) transmits to the electronic device (101) may include a “Source Cap signal.” For example, the Source Cap signal may be a signal that the external device (202) initially outputs when connected to the electronic device (101), and may be a signal indicating options of current values ​​and / or voltage values ​​that the external device (202) may output, and the present invention is not limited to this designation.

[0086] According to one embodiment, the second signal (306) transmitted by the external device (202) to the electronic device (101) may include an "Accept signal." The Accept signal may be a signal indicating that the setting of the current value and / or voltage value requested by the electronic device (101) has been completed, and the present invention is not limited to this designation.

[0087] According to one embodiment, the second signal (306) transmitted by the external device (202) to the electronic device (101) may include an "Accept signal." The Accept signal may be a signal indicating a response that the electronic device (101) will output the requested current value and / or voltage value, and the present invention is not limited to this designation.

[0088] According to one embodiment, the second signal (306) transmitted by the external device (202) to the electronic device (101) may include a “PS RDY signal.” The PS RDY signal may be a signal indicating that the output setting of the current value and / or voltage value requested by the electronic device (101) has been completed, and the present invention is not limited to this designation.

[0089] According to one embodiment, the second signal (306) transmitted by the external device (202) to the electronic device (101) may include a "Good CRC signal." For example, the Good CRC signal may be a signal indicating that the first signal (305) of the electronic device (101) has been normally received, and the present invention is not limited to this designation.

[0090] According to one embodiment, the VBUS voltage, which is a power voltage output from a power terminal (e.g., a power terminal (301) of FIG. 3) (e.g., a VBUS terminal)) of an external device (202) (e.g., a power supply device (202) of FIG. 3), may have an IR drop in a cable (e.g., a cable (203) of FIG. 2), and thus, the VBUS voltage recognized at a power terminal (e.g., a power terminal (221) of FIG. 3) of an electronic device (101) (e.g., a power receiving device (201) of FIG. 3)) may become lower. For example, the VBUS voltage, which is a power voltage output from a power terminal (e.g., a power terminal (301) of FIG. 3) (e.g., a VBUS terminal)) of an external device (202), may be output at about 9 V, but the VBUS voltage recognized at a power terminal (221) of an electronic device (101) may be about 8.3 V. Accordingly, when communication is performed between two devices (101, 102), the ground voltage levels recognized by each of the two devices (101, 102) may be different, which may cause a communication error. For example, the ground voltage level recognized by the electronic device (101) may be lower than the ground voltage level recognized by the external device (202), and this difference may be greater if the cable (203) is old or not a designated genuine product.

[0091] According to one embodiment, the first signal (305) transmitted by the electronic device (101) to the external device (202) may be a signal that swings between a low voltage level (or low level) corresponding to VL1 and a high voltage level (or high level) corresponding to VH1. For example, the amplitude of the low voltage level (VL1) and the high voltage level (VH1) of the first signal (305) may be VD1. Here, the low voltage level (VL1) of the first signal (305) may be a ground (GND) level, and may be defined as, for example, a first ground (GND1) in the electronic device (101).

[0092] According to one embodiment, the second signal (306) transmitted by the external device (202) to the electronic device (101) may be a signal that swings between a low voltage level (or low level) corresponding to VL2 and a high voltage level (or high level) corresponding to VH2. For example, the amplitude of the low voltage level (VL2) and the high voltage level (VH2) of the second signal (306) may be VD2, and the amplitude VD2 of the second signal (306) may be different from the amplitude VD1 of the first signal (305). Here, the low voltage level (VL2) of the second signal (306) may be a ground (GND) level, and may be defined as, for example, a second ground (GND2) in the external device (202). The second ground (GND2), which is the low voltage level (VL2) of the second signal (306), should be substantially the same as the first ground (GND1), which is the low voltage level (VL1) of the first signal (305), but may be different due to the IR Drop of the cable (203). For example, the low voltage level (VL1) of the first signal (305) in the VBUS of the electronic device (101) may be higher than the low voltage level (VL2) of the second signal (306). This difference between the voltage level of the first ground (GND1) and the voltage level of the second ground (GND2), as described above, may cause a communication error between the electronic device (101) and the external device (202). For example, the electronic device (101) may determine the high level or low level of the second signal (306) based on the voltage level of the first ground (GND1). However, due to the IR Drop of the cable (203), the operation of the electronic device (101) to determine the high level or low level of the second signal (306) may become inaccurate.

[0093] In FIG. 4a, 410 is the potential difference between the voltage level of the first signal (305) recognized by the external device (202) and the second ground (GND2) recognized by the external device (202).

[0094] In FIG. 4b, 420 is the potential difference between the voltage level of the first signal (305) recognized by the electronic device (101) and the first ground (GND1) recognized by the electronic device (101).

[0095] FIG. 5 is a flowchart illustrating the operation of an electronic device (101) according to one embodiment.

[0096] The operations illustrated in FIG. 5 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 5.

[0097] At least some of the operations illustrated in FIG. 5 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 5.

[0098] According to one embodiment, at least some of the operations illustrated in FIG. 5 may be performed sequentially.

[0099] According to one embodiment, at least some of the operations illustrated in FIG. 5 can be performed in parallel (simultaneously).

[0100] Hereinafter, the operation of an electronic device (101) according to one embodiment will be described with reference to FIG. 5.

[0101] In operation 510, an electronic device (101) according to an embodiment (e.g., the electronic device (101) of FIG. 1, the power receiving device (201) of FIG. 2) may perform communication with an external device (e.g., the power supply device (202) of FIG. 2) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)). When a connection with an external device (202) (e.g., the power supply device (202) of FIG. 2) is initiated, the electronic device (101) may perform a request for a 5V PDO for PPS charging, a request for a 9V PDO, and a request for a PPS PDO. The electronic device (101) can transmit a first signal (305) to the external device (202) and receive a second signal (306) of the external device (202) during at least a portion of the period during which the electronic device (101) performs a request for a 5V PDO for PPS charging, a request for a 9V PDO, and a request for a PPS PDO.

[0102] In operation 520, the electronic device (101) according to one embodiment may calculate a difference value between a potential of a first signal (305) and a potential of a second signal (306) while performing communication with an external device (202) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)). According to various embodiments, the electronic device (101) may operate to calculate the difference value of the potential in various ways. According to one embodiment, the electronic device (101) may determine a difference between the second signal (306) and the first ground (GND1). According to one embodiment, the electronic device (101) may determine a low voltage level (VL2) of the second signal (306). According to one embodiment, the electronic device (101) may identify an inverted high level signal of the second signal (306).

[0103] For example, the electronic device (101) can compare the high level of the first signal (305) (e.g., VH1 of FIG. 4) with the inverted high level of the second signal (306) (e.g., VL2 of FIG. 4), and the operation of this electronic device (101) will be described in detail later with reference to FIG. 6.

[0104] For example, the electronic device (101) can compare the high level of the first signal (305) (e.g., VH1 of FIG. 4) with the high level of the second signal (306) (e.g., VH2 of FIG. 4), and the operation of this electronic device (101) will be described in detail later with reference to FIG. 9.

[0105] For example, the electronic device (101) can compare the low level of the first signal (305) (e.g., VL1 of FIG. 4) with the low level of the second signal (306) (e.g., VL2 of FIG. 4), and the operation of this electronic device (101) will be described in detail later with reference to FIG. 10.

[0106] For example, the electronic device (101) can compare the amplitude of the first signal (305) (e.g., VD1 of FIG. 4) with the amplitude of the second signal (306) (e.g., VD2 of FIG. 4), and the operation of this electronic device (101) will be described in detail later with reference to FIG. 11.

[0107] In operation 530, the electronic device (101) according to one embodiment may determine the impedance of the cable (203) based on the difference between the potential of the first signal (305) and the potential of the second signal (306). For example, while the electronic device (101) performs communication with the external device (202) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)), the low level of the second signal (306) measured at the data terminal (223) of the electronic device (101) (i.e., the voltage level of the second ground (GND2)) may gradually drop to a lower potential as the current of the power signal transmitted by the external device (202) increases, which is due to IR Drop in the cable (203). An electronic device (101) according to one embodiment can estimate the impedance of a cable (203) using the difference between the potential of a first signal (305) and the potential of a second signal (306).

[0108] According to one embodiment, the electronic device (101) can measure the deviation between the ground level of the first signal (305) and the ground level of the second signal (306). According to one embodiment, the electronic device (101) can measure the ΔV value recognized at the power terminal (221) of the electronic device (101) when fixing the voltage requested from the external device (202) in the pre-cc section, which is the initial section of the PPS, and gradually increasing the charging current (e.g., 304 of FIG. 3). Here, the ΔV value can mean "voltage change of the power terminal (221) - deviation between the ground level of the first signal (305) and the ground level of the second signal (306) measured at the data terminal (223)." For example, the voltage output by the external device (202) is fixed, but as the charging current (e.g., 304 in FIG. 3) increases, the VBUS voltage seen at the power terminal (221) of the electronic device (101) gradually experiences a voltage drop. When the voltage output by the external device (202) is fixed, the impedance value of the cable (e.g., 203 in FIG. 2) can be calculated by calculating the voltage drop according to the amount of current change seen by the electronic device (101).

[0109] According to one embodiment, when gradually increasing the charging current (e.g., 304 in FIG. 3) in the pre-CC section, which is the initial section of the PPS, an ADC (e.g., ADC (730) in FIG. 7) included in the electronic device (101) may be used. According to one embodiment, the electronic device (101) may check the deviation between the ground level of the first signal (305) measured at the VBUS recognized at the power terminal (221) and the ground level of the second signal (306) measured at the data terminal (223), and then gradually increase the charging current (e.g., 304 in FIG. 3) and check the deviation between the ground level of the first signal (305) measured at the VBUS recognized at the power terminal (221) and the ground level of the second signal (306). According to one embodiment, the electronic device (101) can calculate the impedance of the cable (203) based on observing the change in the VBUS potential difference and the change in the ground level deviation while gradually increasing the charging current (e.g., 304 of FIG. 3).

[0110] In operation 540, the electronic device (101) according to one embodiment may determine a charging current based on the determined impedance. For example, if the impedance of the cable (203) is outside a specified range, the electronic device (101) may determine that the cable (203) is old or not a designated genuine product. If the cable (203) is old or not a designated genuine product, the electronic device (101) may lower a target value (e.g., a target charging current or a maximum charging current). For example, if the cable (203) is old or not a designated genuine product, the electronic device (101) may set the charging current to a value lower than a designated maximum value.

[0111] In operation 550, the electronic device (101) according to one embodiment may request transmission of the determined charging current to the external device (202). For example, the electronic device (101) may transmit a first signal (305) considering the determined charging current at least during a portion of the time period during which the request for the PPS PDO is transmitted. For example, the electronic device (101) may request an increase in the charging current from the external device (202) by about 50 mA to about 100 mA at least during a portion of the time period during which the request for the PPS PDO is transmitted. The electronic device (101) may increase the charging current by about 50 mA to about 100 mA, and may set the target value of the charging current to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a specified maximum value when the cable (203) is normal. The target value of the charging current considering the impedance of the cable (203) may be set to a value lower than the specified maximum value if the cable (203) is aged or not of the specified genuine product.

[0112] FIG. 6 is a flowchart illustrating a method by which an electronic device (101) compares a first signal (305) and a second signal (306) according to one embodiment.

[0113] The operations illustrated in FIG. 6 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 6.

[0114] At least some of the operations illustrated in FIG. 6 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 6.

[0115] According to one embodiment, at least some of the operations illustrated in FIG. 6 may be performed sequentially.

[0116] According to one embodiment, at least some of the operations illustrated in FIG. 6 can be performed in parallel (simultaneously).

[0117] Hereinafter, a method for comparing a first signal (305) and a second signal (306) by an electronic device (101) according to an embodiment will be described with reference to FIGS. 6 to 8. The operations described with reference to FIGS. 6 to 8 may be performed during a request period of a PPS PDO in which the electronic device (101) requests an increase in charging current by about 50 mA to about 100 mA from an external device (202). In another embodiment, the operations described with reference to FIGS. 6 to 8 may be performed during a request period of a 5V PDO or a 9V PDO as a period prior to the request period of the PPS PDO.

[0118] In operation 610, an electronic device (e.g., an electronic device (101) of FIG. 1, a power receiving device (201) of FIG. 2) according to one embodiment may identify a high voltage level (or high level) (e.g., VH1 of FIG. 4) of a first signal (305) that it outputs while performing communication with an external device (e.g., a power supply device (202) of FIG. 2) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)).

[0119] In operation 620, the electronic device (101) according to one embodiment can identify an inverted high voltage level (or inverted high level) (e.g., VL2, GND2 of FIG. 4) of a second signal (306) received from an external device (202). For example, the electronic device (101) can invert the potential of the second signal (306) using an inverter circuit (e.g., 710 of FIG. 7).

[0120] In operation 630, the electronic device (101) according to one embodiment may compare a high voltage level (or high level) of the first signal (305) and an inverted high voltage level (or high level) of the second signal (306).

[0121] In operation 640, the electronic device (101) according to one embodiment may determine the impedance and charging current of the cable (203) based on the comparison result of operation 630. Operation 640 may be at least partially similar to, or substantially identical to, operation 530 described with reference to FIG. 5.

[0122] According to one embodiment, the electronic device (101) can identify the degree of IR Drop generated in the cable (203) by comparing the high voltage level (or high level) of the first signal (305) and the inverted high voltage level (or high level) of the second signal (306). The electronic device (101) can estimate the impedance of the cable (203) based on the degree of IR Drop generated in the cable (203) and determine whether the estimated impedance of the cable (203) is within a specified range.

[0123] According to one embodiment, the electronic device (101) may transmit a first signal (305) requesting a charging current set considering the impedance of the cable (203) at least during a portion of the time period during which the request for the PPS PDO is transmitted. For example, the electronic device (101) may request an increase in the charging current from the external device (202) by about 50 mA to about 100 mA at least during a portion of the time period during which the request for the PPS PDO is transmitted. The electronic device (101) may increase the charging current by about 50 mA to about 100 mA, and may set the target value of the charging current to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a specified maximum value when the cable (203) is normal. The target value of the charging current considering the impedance of the cable (203) may be set to a value lower than the specified maximum value if the cable (203) is aged or not of the specified genuine product.

[0124] According to one embodiment, the electronic device (101) can estimate the impedance of the cable (203) based on the inverted high voltage level of the second signal (306) and determine whether the estimated impedance of the cable (203) is within a specified range.

[0125] Fig. 7 is a block diagram illustrating components of an electronic device (101) according to one embodiment for converting a second signal (420). Fig. 8 is a configuration diagram illustrating a process in which an electronic device (101) according to one embodiment converts a second signal (420).

[0126] Referring to FIG. 7, an electronic device (101) according to one embodiment may include an inverter circuit (710), a delay circuit (720), or an analog to digital converter (ADC) (730) to identify an inverted high voltage level of a second signal (306).

[0127] According to one embodiment, the inverter circuit (710) may be configured to invert the potential of the received second signal (306) and output it. The inverter circuit (710) may invert the potential of the received second signal (306) to generate a first converted signal (711) and supply the generated first converted signal (711) to the delay circuit (720). For example, as illustrated in FIG. 8, the first converted signal (711) may be a signal in which a low voltage level (VL2) of the second signal (306) is inverted to a high voltage level and a high voltage level (VH2) of the second signal (306) is inverted to a low voltage level.

[0128] According to one embodiment, the delay circuit (720) may be configured to receive a first conversion signal (711) from the inverter circuit (710), delay the received first conversion signal (711), and output the delayed first conversion signal (711). The delay circuit (720) may include at least one capacitor or at least one resistor, and the present invention is not limited to the circuit configuration of the delay circuit (720). According to one embodiment, the delay circuit (720) may delay the first conversion signal (711) to generate a second conversion signal (721), and supply the generated second conversion signal (721) to the ADC (730). The delay circuit (720) delays the first conversion signal (711) so that the ADC (730) can measure a potential. For example, the first conversion signal (711) generated based on the second signal (306) is a signal that operates at the level of several μs, and this communication speed is too fast for the ADC (730) to measure the potential. The delay circuit (720) may serve to delay the first conversion signal (711) so that the ADC (730) can measure the potential. For example, as illustrated in FIG. 8, the second conversion signal (721) may be a signal in which the high voltage level VL2 of the first conversion signal (711) is delayed for a predetermined time.

[0129] The term “delay circuit (720)” used in various embodiments of the present disclosure may be used interchangeably with terms such as peak detector.

[0130] According to one embodiment, the ADC (730) may be configured to receive a second conversion signal from the delay circuit (720) and convert the received second conversion signal into a third conversion signal (731) that is a digital signal.

[0131] FIG. 9 is a flowchart illustrating an operation of an electronic device (101) according to one embodiment of the present invention to determine the impedance of a cable (203) by comparing the high voltage levels of each of a first signal (305) and a second signal (306).

[0132] The operations illustrated in FIG. 9 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 9.

[0133] At least some of the operations illustrated in FIG. 9 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 9.

[0134] According to one embodiment, at least some of the operations illustrated in FIG. 9 may be performed sequentially.

[0135] According to one embodiment, at least some of the operations illustrated in FIG. 9 can be performed in parallel (simultaneously).

[0136] Hereinafter, with reference to FIG. 9, an operation of determining the impedance of a cable (203) by comparing the high voltage levels of each of a first signal (305) and a second signal (306) by an electronic device (101) according to one embodiment will be described. The operations described with reference to FIG. 9 may be performed during a request period of a PPS PDO in which the electronic device (101) requests an increase in charging current from an external device (202) by about 50 mA to about 100 mA. In another embodiment, the operations described with reference to FIG. 9 may be performed during a request period of a 5V PDO or a 9V PDO as a period prior to the request period of the PPS PDO.

[0137] In operation 910, an electronic device (e.g., the electronic device (101) of FIG. 1, the power receiving device (201) of FIG. 2) according to one embodiment may identify a high voltage level (or high level) (e.g., VH1 of FIG. 4) of a first signal (305) that it outputs while performing communication with an external device (202) (e.g., the power supply device (202) of FIG. 2) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)). Operation 910 may be at least partially similar to operation 610 described with reference to FIG. 6.

[0138] In operation 920, the electronic device (101) according to one embodiment can identify a high voltage level (or high level) (e.g., VH2 of FIG. 4) of a second signal (306) received from an external device (202).

[0139] In operation 930, the electronic device (101) according to one embodiment may compare a high voltage level (or high level) of the first signal (305) and a high voltage level (or high level) of the second signal (306).

[0140] In operation 940, the electronic device (101) according to one embodiment may determine the impedance and charging current of the cable (203) based on the comparison result of operation 930. Operation 940 may be at least partially similar to, or substantially identical to, operation 530 described with reference to FIG. 5.

[0141] According to one embodiment, the electronic device (101) can identify the degree of IR Drop generated in the cable (203) by comparing the high voltage level (or high level) of the first signal (305) and the high voltage level (or high level) of the second signal (306). The electronic device (101) can estimate the impedance of the cable (203) based on the degree of IR Drop generated in the cable (203) and determine whether the estimated impedance of the cable (203) is within a specified range.

[0142] According to one embodiment, the electronic device (101) may transmit a first signal (305) requesting a charging current set considering the impedance of the cable (203) at least during a portion of the time period during which the request for the PPS PDO is transmitted. For example, the electronic device (101) may request an increase in the charging current from the external device (202) by about 50 mA to about 100 mA at least during a portion of the time period during which the request for the PPS PDO is transmitted. The electronic device (101) may increase the charging current by about 50 mA to about 100 mA, and may set the target value of the charging current to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a specified maximum value when the cable (203) is normal. The target value of the charging current considering the impedance of the cable (203) may be set to a value lower than the specified maximum value if the cable (203) is aged or not of the specified genuine product.

[0143] FIG. 10 is a flowchart illustrating an operation of an electronic device (101) according to one embodiment of the present invention to determine the impedance of a cable (203) by comparing the low voltage levels of each of a first signal (305) and a second signal (306).

[0144] The operations illustrated in FIG. 10 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 10.

[0145] At least some of the operations illustrated in FIG. 10 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 10.

[0146] According to one embodiment, at least some of the operations illustrated in FIG. 10 may be performed sequentially.

[0147] According to one embodiment, at least some of the operations illustrated in FIG. 10 may be performed in parallel (simultaneously).

[0148] Hereinafter, with reference to FIG. 10, an operation of an electronic device (101) determining an impedance of a cable (203) by comparing low voltage levels of each of a first signal (305) and a second signal (306) according to an embodiment will be described. The operations described with reference to FIG. 10 may be performed during a request period of a PPS PDO in which the electronic device (101) requests an increase in charging current from an external device (202) by about 50 mA to about 100 mA. In another embodiment, the operations described with reference to FIG. 10 may be performed during a request period of a 5V PDO or a 9V PDO as a period prior to the request period of the PPS PDO.

[0149] In operation 1010, an electronic device (e.g., an electronic device (101) of FIG. 1, a power receiving device (201) of FIG. 2) according to one embodiment may identify a low voltage level (or low level) (e.g., VL1 of FIG. 4) of a first signal (305) that it outputs while performing communication with an external device (e.g., a power supply device (202) of FIG. 2) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)).

[0150] In operation 1020, the electronic device (101) according to one embodiment can identify a low voltage level (or low level) (e.g., VL2, GND2 of FIG. 4) of a second signal (306) received from an external device (202).

[0151] In operation 1030, the electronic device (101) according to one embodiment may compare a low voltage level (or low level) of a first signal (305) and a low voltage level (or low level) of a second signal (306).

[0152] In operation 1040, the electronic device (101) according to one embodiment may determine the impedance and charging current of the cable (203) based on the comparison result of operation 1030. Operation 1040 may be at least partially similar to, or substantially identical to, operation 530 described with reference to FIG. 5.

[0153] According to one embodiment, the electronic device (101) can identify the degree of IR Drop generated in the cable (203) by comparing the low voltage level (or low level) of the first signal (305) and the low voltage level (or low level) of the second signal (306). The electronic device (101) can estimate the impedance of the cable (203) based on the degree of IR Drop generated in the cable (203) and determine whether the estimated impedance of the cable (203) is within a specified range.

[0154] According to one embodiment, the electronic device (101) may transmit a first signal (305) requesting a charging current set considering the impedance of the cable (203) at least during a portion of the time period during which the request for the PPS PDO is transmitted. For example, the electronic device (101) may request an increase in the charging current from the external device (202) by about 50 mA to about 100 mA at least during a portion of the time period during which the request for the PPS PDO is transmitted. The electronic device (101) may increase the charging current by about 50 mA to about 100 mA, and may set the target value of the charging current to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a specified maximum value when the cable (203) is normal. The target value of the charging current considering the impedance of the cable (203) may be set to a value lower than the specified maximum value if the cable (203) is aged or not of the specified genuine product.

[0155] FIG. 11 is a flowchart illustrating an operation of an electronic device (101) according to one embodiment of the present invention to determine the impedance of a cable (203) by comparing the amplitudes of each of a first signal (305) and a second signal (306).

[0156] The operations illustrated in FIG. 11 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 11.

[0157] At least some of the operations illustrated in FIG. 11 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 11.

[0158] According to one embodiment, at least some of the operations illustrated in FIG. 11 may be performed sequentially.

[0159] According to one embodiment, at least some of the operations illustrated in FIG. 11 may be performed in parallel (simultaneously).

[0160] Hereinafter, with reference to FIG. 11, an operation of an electronic device (101) determining an impedance of a cable (203) by comparing the amplitudes of a first signal (305) and a second signal (306) according to an embodiment will be described. The operations described with reference to FIG. 11 may be performed during a request period of a PPS PDO in which the electronic device (101) requests an increase in charging current from an external device (202) by about 50 mA to about 100 mA. In another embodiment, the operations described with reference to FIG. 11 may be performed during a request period of a 5V PDO or a 9V PDO as a period prior to the request period of the PPS PDO.

[0161] In operation 1110, an electronic device (e.g., an electronic device (101) of FIG. 1, a power receiving device (201) of FIG. 2) according to one embodiment may identify an amplitude of a first signal (305) output by the electronic device (e.g., VD1 of FIG. 4) while performing communication with an external device (e.g., a power supply device (202) of FIG. 2) according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)).

[0162] In operation 1120, the electronic device (101) according to one embodiment can identify the amplitude of a second signal (306) received from an external device (202) (e.g., VD2 of FIG. 4).

[0163] In operation 1130, the electronic device (101) according to one embodiment may compare the amplitude of the first signal (305) and the amplitude of the second signal (306).

[0164] In operation 1140, the electronic device (101) according to one embodiment may determine the impedance and charging current of the cable (203) based on the comparison result of operation 1130. Operation 1140 may be at least partially similar to, or substantially identical to, operation 530 described with reference to FIG. 5.

[0165] According to one embodiment, the electronic device (101) can identify the degree of IR Drop generated in the cable (203) by comparing the amplitude of the first signal (305) and the amplitude of the second signal (306). Based on the degree of IR Drop generated in the cable (203), the electronic device (101) can estimate the impedance of the cable (203) and determine whether the estimated impedance of the cable (203) is within a specified range.

[0166] According to one embodiment, the electronic device (101) may transmit a first signal (305) requesting a charging current set considering the impedance of the cable (203) at least during a portion of the time period during which the request for the PPS PDO is transmitted. For example, the electronic device (101) may request an increase in the charging current from the external device (202) by about 50 mA to about 100 mA at least during a portion of the time period during which the request for the PPS PDO is transmitted. The electronic device (101) may increase the charging current by about 50 mA to about 100 mA, and may set the target value of the charging current to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a specified maximum value when the cable (203) is normal. The target value of the charging current considering the impedance of the cable (203) may be set to a value lower than the specified maximum value if the cable (203) is aged or not of the specified genuine product.

[0167] Fig. 12 is a flowchart illustrating the operation of an electronic device (101) according to one embodiment. Fig. 13 is an exemplary drawing of a notification output by an electronic device (101) according to one embodiment.

[0168] The operations illustrated in FIG. 12 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 12.

[0169] At least some of the operations illustrated in FIG. 12 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 12.

[0170] According to one embodiment, at least some of the operations illustrated in FIG. 12 may be performed sequentially.

[0171] According to one embodiment, at least some of the operations illustrated in FIG. 12 may be performed in parallel (simultaneously).

[0172] Hereinafter, the operation of the electronic device (101) according to one embodiment will be described with reference to FIGS. 12 and 13. The operations described with reference to FIGS. 12 and 13 may be performed during a request period of a PPS PDO in which the electronic device (101) requests an increase in charging current by about 50 mA to about 100 mA from the external device (202). In another embodiment, the operations described with reference to FIGS. 12 and 13 may be performed during a request period of a 5V PDO or a 9V PDO as a period prior to the request period of the PPS PDO.

[0173] In operation 1210, an electronic device (e.g., an electronic device (101) of FIG. 1, a power receiving device (201) of FIG. 2) according to one embodiment may initiate PPS charging if an external device (e.g., a power supply device (202) of FIG. 2) is identified as a PPS supporting device. According to one embodiment, a request for a 5V PDO for PPS charging, a request for a 9V PDO, and a request for a PPS PDO may be transmitted to the external device (202) via a first signal (305).

[0174] In operation 1220, the electronic device (101) according to one embodiment may request an increase in charging current from an external device (202) by about 50 mA to about 100 mA during an initial period, for example, a pre cc period, set to a constant current (CC) mode.

[0175] In operation 1230, the electronic device (101) according to one embodiment may perform communication according to a PD communication protocol (e.g., power data objects (PDO) or programmable power supply (PPS)) with an external device (202) (e.g., the power supply device (202) of FIG. 2) during a pre cc period. The electronic device (101) may compare a difference between a potential of a first signal (305) output by the electronic device and a potential of a second signal (306) received from the external device (202), and determine an impedance of the cable (203) based on the comparison result. Operation 1230 may be similar to or substantially the same as at least some of the operations described with reference to FIGS. 5 to 11. For example, operation 1230 may be similar to or substantially the same as at least some of operation 530 described with reference to FIG. 5.

[0176] According to one embodiment, the electronic device (101) can measure the deviation between the ground level of the first signal (305) and the ground level of the second signal (306). According to one embodiment, the electronic device (101) can measure the ΔV value recognized at the power terminal (221) of the electronic device (101) when fixing the voltage requested from the external device (202) in the pre-cc section, which is the initial section of the PPS, and gradually increasing the charging current (e.g., 304 of FIG. 3). Here, the ΔV value can mean "voltage change of the power terminal (221) - deviation between the ground level of the first signal (305) and the ground level of the second signal (306) measured at the data terminal (223)." For example, the voltage output by the external device (202) is fixed, but as the charging current (e.g., 304 in FIG. 3) increases, the VBUS voltage seen at the power terminal (221) of the electronic device (101) gradually experiences a voltage drop. When the voltage output by the external device (202) is fixed, the impedance value of the cable (e.g., 203 in FIG. 2) can be calculated by calculating the voltage drop according to the amount of current change seen by the electronic device (101).

[0177] According to one embodiment, when the charging current (e.g., 304 of FIG. 3) is gradually increased in the pre-CC section, which is the initial section of the PPS, the ADC (e.g., ADC (730) of FIG. 7) included in the electronic device (101) may be utilized. According to one embodiment, the electronic device (10) may check the deviation between the ground level of the first signal (305) measured at the VBUS recognized at the power terminal (221) and the ground level of the second signal (306) measured at the data terminal (223), and then increase the charging current (e.g., 304 of FIG. 3) gradually, and check the deviation between the ground level of the first signal (305) measured at the VBUS recognized at the power terminal (221) and the ground level of the second signal (306). According to one embodiment, the electronic device (101) can calculate the impedance of the cable (203) based on observing the change in the VBUS potential difference and the change in the ground level deviation while gradually increasing the charging current (e.g., 304 of FIG. 3).

[0178] In operation 1240, the electronic device (101) according to one embodiment may determine whether the impedance of the determined cable (203) is abnormal. For example, the electronic device (101) may determine that the cable (203) is normal if the impedance of the cable (203) is within a specified range. For example, the electronic device (101) may determine that the cable (203) is old or not a specified genuine product if the impedance of the cable (203) is outside the specified range.

[0179] According to one embodiment, if the electronic device (101) determines that the impedance of the cable (203) is abnormal (e.g., the result of operation 1240 is yes), the electronic device (101) may perform operation 1250.

[0180] According to one embodiment, if the electronic device (101) determines that the impedance of the cable (203) is normal (e.g., the result of operation 1240 is NO), the electronic device (101) may perform operation 1260.

[0181] In operation 1250, the electronic device (101) according to one embodiment may output a notification indicating that the cable (203) is abnormal.

[0182] Referring to FIG. 13, an electronic device (101) according to one embodiment may display a notification (1301) through a display module (160) (e.g., the display module (160) of FIG. 1). For example, the notification (1301) may be output in text form and may include a message such as, “Abnormal cable (203) connection has been detected. Slow charging will be performed,” as illustrated. By outputting the notification (1301), the electronic device (101) according to one embodiment may provide a user with information that fast charging is not possible due to the cable (203) being old or not being a designated genuine product.

[0183] According to various embodiments, the electronic device (101) may output a notification in the form of a sound or voice.

[0184] In operation 1260, the electronic device (101) according to one embodiment may set the charging current to a specified maximum value. For example, the electronic device (101) may set the target value of the charging current requested from the external device (202) to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a specified maximum value when the cable (203) is normal. For example, the electronic device (101) may increase the charging current to a normal target current value of about 5 A when the cable (203) is normal.

[0185] In operation 1270, the electronic device (101) according to one embodiment may set the charging current to a value lower than a specified maximum value. For example, the electronic device (101) may set the target value of the charging current requested from the external device (202) to a value considering the impedance of the cable (203). The target value of the charging current considering the impedance of the cable (203) may be set to a value lower than the specified maximum value if the cable (203) is old or not a specified genuine product. For example, the electronic device (101) may increase the charging current to about 3 A to about 3.4 A, which is lower than the normal target current value of about 5 A, in the case where the cable (203) is abnormal, but the present invention is not limited to the above values.

[0186] FIG. 14 is a flowchart illustrating an electronic device (101) according to one embodiment of the present invention for determining the impedance of a cable (203).

[0187] The operations illustrated in FIG. 14 may be performed by instructions stored in a memory (e.g., memory (130) of FIG. 1). For example, when the instructions are executed by a processor (e.g., processor (120) of FIG. 1), the instructions may cause an electronic device (e.g., electronic device (101) of FIG. 1, power receiving device (201) of FIG. 2) to perform the operations illustrated in FIG. 14.

[0188] At least some of the operations illustrated in FIG. 14 may be omitted. At least some of the operations mentioned with reference to other drawings in this disclosure may be additionally inserted before or after at least some of the operations illustrated in FIG. 14.

[0189] According to one embodiment, at least some of the operations illustrated in FIG. 14 may be performed sequentially.

[0190] According to one embodiment, at least some of the operations illustrated in FIG. 14 may be performed in parallel (simultaneously).

[0191] Hereinafter, referring to FIG. 14, an electronic device (101) according to one embodiment determines the impedance of a cable (203). The operations described with reference to FIG. 14 may be performed during a request period of a PPS PDO in which the electronic device (101) requests an increase in charging current from an external device (202) by about 50 mA to about 100 mA.

[0192] In operation 1410, an electronic device (101) according to one embodiment (e.g., the electronic device (101) of FIG. 1, the power receiving device (201) of FIG. 2) may transmit a first request signal requesting a first current to an external device (202) (e.g., the power supply device (202) of FIG. 2).

[0193] In operation 1420, the electronic device (101) according to one embodiment may receive a first power signal as a response to a first request signal from an external device (202). The first power signal is a power signal output by the external device (202) in response to the first request signal of the electronic device (101) and may include a first current. According to one embodiment, when the electronic device (101) receives the first power signal of the external device (202), the electronic device (101) may calculate a first difference value by comparing a first voltage level of the first request signal transmitted by the electronic device (101) with a second voltage level of the received first power signal. For example, the electronic device (101) can measure the potential of a first power signal received through a power terminal (e.g., a power terminal (221) of FIG. 2) (e.g., a VBUS terminal) while fixing the potential (e.g., a high level, a low level, or an amplitude) of a first signal (305) (i.e., a first request signal) transmitted to an external device (202). For example, the electronic device (101) can calculate a first difference value by comparing the voltage level of the first signal (305) with the voltage level of the first power signal received through the power terminal (221) (e.g., a VBUS terminal).

[0194] In operation 1430, the electronic device (101) according to one embodiment may transmit a second request signal to the external device (202) requesting a second current greater than the first current. For example, the electronic device (101) may transmit a second request signal to the external device (202) requesting a second current that is about 50 mA to about 100 mA higher than the first current.

[0195] In operation 1440, the electronic device (101) according to one embodiment may receive a second power signal as a response to a second request signal from the external device (202). The second power signal is a power signal output by the external device (202) in response to the second request signal of the electronic device (101) and may include a second current. According to one embodiment, when the electronic device (101) receives the second power signal of the external device (202), the electronic device (101) may calculate a second difference value by comparing a third voltage level of the second request signal transmitted by the electronic device (101) with a fourth voltage level of the received second power signal. For example, the electronic device (101) can measure the potential of a second power signal received through a power terminal (e.g., a power terminal (221) of FIG. 2) (e.g., a VBUS terminal) while fixing the potential (e.g., a high level, a low level, or an amplitude) of a first signal (305) (i.e., a first request signal) transmitted to an external device (202). For example, the electronic device (101) can calculate a second difference value by comparing the voltage level of the first signal (305) with the voltage level of the second power signal received through the power terminal (221) (e.g., a VBUS terminal).

[0196] The voltage level of the second power signal may have a larger IR drop applied compared to the voltage level of the first power signal as the charging current increases or decreases from the first current to the second current. Accordingly, the second difference value calculated in operation 1440 may be greater than the first difference value calculated in operation 1420.

[0197] In operation 1450, the electronic device (101) according to one embodiment may determine the impedance of the cable (203) based on the amount of change in the second difference value from the first difference value. For example, the second difference value calculated in operation 1440 may be greater than the first difference value calculated in operation 1420, and the electronic device (101) may estimate the impedance of the cable (203) by considering the amount of increase in the second current compared to the first current and the amount of change in the second difference value from the first difference value.

[0198] According to various embodiments, the electronic device (101) may perform operation 1240 described with reference to FIG. 12 after performing operation 1450.

[0199] An electronic device (101) according to one embodiment of the present disclosure includes a battery, a charging interface configured to be connected to an external device (202) via a cable (203), a first charger including a power converter that increases a current supplied from the external device (202) by a specified rate and outputs it, and decreases a voltage supplied from the external device (202) by the specified rate and outputs it, a second charger capable of performing a buck converter function, a memory (130) that stores instructions, and a processor (120), wherein the instructions, when executed by the processor (120), cause the electronic device (101) to perform a specified communication with the external device (202) via the cable (203) when the electronic device (101) detects a connection with the external device (202), wherein the specified communication includes an operation of the electronic device (101) transmitting a first signal (305) and an operation of the electronic device (101) transmitting a second signal (306) from the external device (202). It includes an operation of receiving a signal (306), calculating a difference value between a potential of the first signal (305) and a potential of the second signal (306), determining an impedance of the cable (203) based on the calculated difference value and a change in a power voltage input to the electronic device, determining a charging current based on the determined impedance, and requesting transmission of the determined charging current to the external device (202).

[0200] The above instructions, when executed by the processor (120), may cause the electronic device (101) to compare a high voltage level of the first signal (305) with an inverted high voltage level of the second signal (306), as an operation to calculate a difference value between the potential of the first signal (305) and the potential of the second signal (306).

[0201] The above instructions, when executed by the processor (120), may cause the electronic device (101) to compare a high voltage level of the first signal (305) with a high voltage level of the second signal (306), as an operation of calculating a difference value between the potential of the first signal (305) and the potential of the second signal (306).

[0202] The above instructions, when executed by the processor (120), may cause the electronic device (101) to compare a low voltage level of the first signal (305) with a low voltage level of the second signal (306), as an operation of calculating a difference value between the potential of the first signal (305) and the potential of the second signal (306).

[0203] The above instructions, when executed by the processor (120), may cause the electronic device (101) to compare the amplitude of the first signal (305) with the amplitude of the second signal (306) as an operation of calculating a difference value between the potential of the first signal (305) and the potential of the second signal (306).

[0204] It may further include an inverter circuit (710) that inverts the second signal (306), a delay circuit (720) that delays the second signal (306) inverted by the inverter circuit (710), and an analog to digital converter (ADC) (730) that converts the second signal (306) delayed by the delay circuit (720) into a digital signal.

[0205] The above instructions, when executed by the processor (120), may cause the electronic device (101) to calculate a difference value between the potential of the first signal (305) and the potential of the second signal (306) based on the second signal (306) converted by the ADC (730).

[0206] The instructions, when executed by the processor (120), may cause the electronic device (101) to transmit a first request signal requesting a first current to the external device (202) while the electronic device (101) is set to a CC (constant current) mode, and, when a first power signal of the external device (202) is received in response to the first request signal, to calculate a first difference value by comparing a first voltage level of the first request signal with a second voltage level of the first power signal, and to transmit a second request signal requesting a second current greater than the first current to the external device (202), and, when a second power signal of the external device (202) is received in response to the second request signal, to calculate a second difference value by comparing a third voltage level of the second request signal with a third voltage level of the second power signal, and to determine the impedance of the cable (203) based on a change amount of the second difference value from the first difference value.

[0207] The electronic device further includes a display module (160), and the instructions, when executed by the processor (120), can cause the electronic device (101) to determine whether the impedance of the cable (203) is within a specified normal range, and, if the impedance of the cable (203) is not within the specified normal range, to control the display module (160) to display a notification (1301) indicating an abnormality of the cable (203), and to set the charging current to a value less than a specified maximum value.

[0208] The above instructions, when executed by the processor (120), may cause the electronic device (101) to determine whether the impedance of the cable (203) is within a specified normal range, and if the impedance of the cable (203) is within the specified normal range, to set the charging current to a specified maximum value.

[0209] A driving method of an electronic device (101) according to one embodiment of the present disclosure may include, when a connection with an external device (202) through a cable (203) is detected, performing a designated communication with the external device (202) through the cable (203), wherein the designated communication includes an operation in which the electronic device (101) transmits a first signal (305) and an operation in which the electronic device (101) receives a second signal (306) from the external device (202), an operation in which a difference value between a potential of the first signal (305) and a potential of the second signal (306) is calculated, an operation in which an impedance of the cable (203) is determined based on the calculated difference value, an operation in which a charging current is determined based on the determined impedance, and an operation in which transmission of the determined charging current is requested from the external device (202).

[0210] The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) may include an operation of comparing the high voltage level of the first signal (305) and the inverted high voltage level of the second signal (306).

[0211] The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) may include an operation of comparing the high voltage level of the first signal (305) and the high voltage level of the second signal (306).

[0212] The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) may include an operation of comparing the low voltage level of the first signal (305) and the low voltage level of the second signal (306).

[0213] The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) may include an operation of comparing the amplitude of the first signal (305) and the amplitude of the second signal (306).

[0214] The electronic device (101) may include an inverter circuit (710) that inverts the second signal (306), a delay circuit (720) that delays the second signal (306) inverted by the inverter circuit (710), and an analog to digital converter (ADC) (730) that converts the second signal (306) delayed by the delay circuit (720) into a digital signal.

[0215] The driving method of the electronic device (101) may include an operation of calculating a difference value between the potential of the first signal (305) and the potential of the second signal (306) based on the second signal (306) converted by the ADC (730).

[0216] The driving method of the electronic device (101) may further include an operation of transmitting a first request signal requesting a first current to the external device (202) while set to a CC (constant current) mode, an operation of calculating a first difference value by comparing a first voltage level of the first request signal with a second voltage level of the first power signal when a first power signal of the external device (202) is received in response to the first request signal, an operation of transmitting a second request signal requesting a second current greater than the first current to the external device (202), an operation of calculating a second difference value by comparing a third voltage level of the second request signal with a third voltage level of the second power signal when a second power signal of the external device (202) is received in response to the second request signal, and an operation of determining the impedance of the cable (203) based on a change amount of the second difference value from the first difference value.

[0217] The electronic device (101) further includes a display module (160), and a driving method of the electronic device (101) may include an operation of determining whether the impedance of the cable (203) is within a specified normal range, an operation of controlling the display module (160) to display a notification (1301) indicating an abnormality of the cable (203) if the impedance of the cable (203) is not within the specified normal range, and an operation of setting the charging current to a value smaller than a specified maximum value.

[0218] An electronic device (101) according to one embodiment of the present disclosure includes a battery, a power terminal (221), a ground terminal (222), and a data terminal, and an interface configured to be connected to an external device (202) via a cable (203), a detection circuit for measuring a signal related to a voltage of the data terminal (e.g., an ADC connected to VBUS, an inverter circuit of FIG. 7, and a circuit including a delay circuit, or a peak detector), at least one charging circuit (240) for charging the battery using external power supplied via the power terminal and the ground terminal, a memory (130) for storing instructions, and a processor (120), wherein the instructions, when executed by the processor (120), cause the electronic device (101) to detect a connection with the external device (202), receive a second signal (306) from the external device (202) via the cable (203), and detect the second signal (306) via the detection circuit. A voltage value related to the signal (306) can be checked, and based on the voltage value related to the second signal checked, a charging current can be determined, and transmission of the determined charging current can be requested to the external device (202).

Claims

1. In an electronic device (101), battery; A charging interface configured to be connected to an external device (202) via a cable (203); A first charger including a power converter that increases the current supplied from the external device (202) by a specified rate and outputs it, and lowers the voltage supplied from the external device (202) by the specified rate and outputs it; A second charger capable of performing a buck converter function; Memory (130) for storing instructions; and Includes a processor (120), The above instructions, when executed by the processor (120), cause the electronic device (101) to: When a connection with the external device (202) is detected, a designated communication is performed with the external device (202) through the cable (203), wherein the designated communication includes an operation in which the electronic device (101) transmits a first signal (305) and an operation in which the electronic device (101) receives a second signal (306) from the external device (202). Calculate the difference value between the potential of the first signal (305) and the potential of the second signal (306), Based on the difference value calculated above and the change in the power voltage input to the electronic device, the impedance of the cable (203) is determined, Based on the impedance determined above, the charging current is determined, Requesting the transmission of the determined charging current to the external device (202), Electronic device (101).

2. In paragraph 1, The above instructions, when executed by the processor (120), cause the electronic device (101) to: As an operation for calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306), To compare the high voltage level of the first signal (305) and the inverted high voltage level of the second signal (306), Electronic device (101).

3. In paragraph 1, The above instructions, when executed by the processor (120), cause the electronic device (101) to: As an operation for calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306), To compare the high voltage level of the first signal (305) and the high voltage level of the second signal (306), Electronic device (101).

4. In paragraph 1, The above instructions, when executed by the processor (120), cause the electronic device (101) to: As an operation for calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306), To compare the low voltage level of the first signal (305) and the low voltage level of the second signal (306), Electronic device (101).

5. In paragraph 1, The above instructions, when executed by the processor (120), cause the electronic device (101) to: As an operation for calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306), To compare the amplitude of the first signal (305) and the amplitude of the second signal (306), Electronic device (101).

6. In paragraph 2, An inverter circuit (710) that inverts the second signal (306); A delay circuit (720) that delays the second signal (306) inverted by the inverter circuit (710); and Further comprising an ADC (730) (analog to digital converter) that converts the second signal (306) delayed by the delay circuit (720) into a digital signal. Electronic device (101).

7. In paragraph 6, The above instructions, when executed by the processor (120), cause the electronic device (101) to: To calculate the difference value between the potential of the first signal (305) and the potential of the second signal (306) based on the second signal (306) converted by the ADC (730). Electronic device (101).

8. In paragraph 1, The above instructions, when executed by the processor (120), cause the electronic device (101) to: While set to CC (constant current) mode, a first request signal requesting a first current is transmitted to the external device (202), When receiving the first power signal of the external device (202) as a response to the first request signal, a first difference value is calculated by comparing the first voltage level of the first request signal and the second voltage level of the first power signal, Transmitting a second request signal requesting a second current greater than the first current to the external device (202), When receiving a second power signal of the external device (202) as a response to the second request signal, a second difference value is calculated by comparing the third voltage level of the second request signal with the third voltage level of the second power signal, and To determine the impedance of the cable (203) based on the amount of change in the second difference value from the first difference value. Electronic device (101).

9. In paragraph 1, Further comprising a display module (160), The above instructions, when executed by the processor (120), cause the electronic device (101) to: Determine whether the impedance of the above cable (203) is within the specified normal range, If the impedance of the above cable (203) is not within the specified normal range, the display module (160) is controlled to display a notification (1301) indicating an abnormality of the cable (203), and To set the above charging current to a value less than the specified maximum value, Electronic device (101).

10. In paragraph 1, The above instructions, when executed by the processor (120), cause the electronic device (101) to: Determine whether the impedance of the above cable (203) is within the specified normal range, and If the impedance of the above cable (203) is within the specified normal range, the charging current is set to the specified maximum value. Electronic device (101).

11. In a driving method of an electronic device (101), When detecting a connection with an external device (202) through a cable (203), an operation of performing a designated communication with the external device (202) through the cable (203), wherein the designated communication includes an operation of the electronic device (101) transmitting a first signal (305) and an operation of the electronic device (101) receiving a second signal (306) from the external device (202). An operation for calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306), An operation of determining the impedance of the cable (203) based on the difference value calculated above; An operation for determining a charging current based on the impedance determined above, and An operation including requesting transmission of the determined charging current to the external device (202), method.

12. In paragraph 11, The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) is: Comprising an operation of comparing the high voltage level of the first signal (305) and the inverted high voltage level of the second signal (306), method.

13. In paragraph 11, The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) is: Comprising an operation of comparing the high voltage level of the first signal (305) and the high voltage level of the second signal (306), method.

14. In paragraph 11, The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) is: Comprising an operation of comparing the low voltage level of the first signal (305) and the low voltage level of the second signal (306), method.

15. In paragraph 11, The operation of calculating the difference value between the potential of the first signal (305) and the potential of the second signal (306) is: Including an operation of comparing the amplitude of the first signal (305) and the amplitude of the second signal (306), method.

Citation Information

Patent Citations

  • Electronic device quick charging method, apparatus and device

    KR1020170020543A

  • Charging method, charging device and terminal

    KR1020170128502A

  • Apparatus for monitoring insulation resistance for electric storage devices

    KR102710031B1

  • Battery charging system and battery charging protection control method

    US20180048166A1

  • Method for Detecting Impedance of Charging Cable, Electronic Device, and Power Supply Device

    US20240248125A1