Method and electronic device for controlling a voltage output to an external electronic device according to a voltage magnitude detected at a signal terminal connected to the external electronic device

By detecting the voltage at the signal end of the USB port and using a power regulator, the overvoltage problem caused by the USB killer device is solved to prevent damage to the electronic device and safety hazards.

CN111742459BActive Publication Date: 2025-02-07SAMSUNG ELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201980014753.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-02-21
Filing Date
2019-02-19
Publication Date
2025-02-07
Estimated Expiration
2039-02-19

AI Technical Summary

Technical Problem

Recently, USB killer devices supply abnormal power to the USB ports of electronic devices, causing electronic devices and USB ports to malfunction, and may even cause overheating and sparking.

Method used

By detecting the voltage at one or more signal terminals of the connector, identifying whether power is supplied, and using power regulators and control circuits to prevent overvoltage.

Benefits of technology

Effectively prevent electronic devices from being damaged due to overvoltage, avoiding faults and safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111742459B_ABST
    Figure CN111742459B_ABST
Patent Text Reader

Abstract

An electronic device for controlling voltage and a method thereof are provided. The electronic device comprises: a power conditioner; a connector comprising one or more signal terminals and one or more power terminals electrically connected to the power conditioner; and a control circuit electrically connected to the one or more signal terminals. The control circuit is configured to: identify the type of an external electronic device connected through the connector; identify detection values ​​for at least some of the one or more signal terminals based at least on the identified type corresponding to a predetermined type; and output a predetermined voltage to the external electronic device through the power conditioner via the one or more power terminals based at least on the detection value being within a first predetermined range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a method and an electronic device for preventing overvoltage. Background Art

[0002] Recently, the use of electronic devices that can be easily carried (such as smart phones, tablet personal computers (PCs), and wearable devices) has increased, and these electronic devices can be configured to perform various functions. For example, such electronic devices can be used to perform various functions such as voice communication, Internet search, taking photos or videos, music playback, and video viewing.

[0003] Such an electronic device may be connected to various external electronic devices, and may receive data from the external electronic device or transmit data to the external electronic device. In addition, the electronic device may receive power from the external electronic device or transmit power to the external electronic device.

[0004] The above information is presented as background information only to assist in understanding the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above may be applicable as prior art with respect to the present disclosure. Summary of the invention

[0005] Technical issues

[0006] Recently, a device called a universal serial bus (USB) killer has been released. The USB killer continuously supplies abnormal power to a USB port of an electronic device, which causes the electronic device and the USB port to malfunction.

[0007] When the USB killer is connected to the USB port of an electronic device, the electronic device enters an inoperable state within 1 to 2 seconds, and overheating and sparks may occur due to overvoltage depending on the situation.

[0008] Solution to the problem

[0009] Aspects of the present disclosure are intended to at least solve the above problems and / or disadvantages and to provide at least the advantages described below. Therefore, one aspect of the present disclosure is to provide an apparatus and method for preventing an electronic device from being damaged due to the use of a malicious device such as a USB killer.

[0010] According to various embodiments, an electronic device may be prevented from being damaged due to overvoltage by detecting voltages of at least some of one or more signal terminals of a connector and identifying / determining whether power is supplied.

[0011] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments.

[0012] According to one aspect of the present disclosure, an electronic device is provided. The electronic device includes: a power conditioner; a connector including one or more signal terminals and one or more power terminals electrically connected to the power conditioner; and a control circuit electrically connected to the one or more signal terminals, wherein the control circuit is configured to: identify the type of an external electronic device connected through the connector by using a predetermined terminal in the one or more signal terminals; when the type is a device that needs to be supplied with power through the power conditioner, output a predetermined output voltage to the external electronic device through the power conditioner via the one or more power terminals; after outputting the predetermined voltage to the external electronic device, detect the voltage of at least some of the one or more signal terminals; when the detected voltage is in a first predetermined range, keep outputting the predetermined voltage to the external electronic device through the power conditioner; and when the detected voltage is in a second predetermined range, at least temporarily stop outputting the predetermined voltage to the external electronic device through the power conditioner.

[0013] According to another aspect of the present disclosure, an electronic device is provided. The electronic device includes: a power conditioner; a connector including one or more signal terminals and one or more power terminals electrically connected to the power conditioner; and a control circuit electrically connected to the one or more signal terminals, wherein the control circuit is configured to: identify the type of the external electronic device connected through the connector; identify the detection value for at least some of the one or more signal terminals based at least on the correspondence between the identified type and the predetermined type; and when the detection value is within a first predetermined range, output a predetermined voltage to the external electronic device through the power conditioner via the one or more power terminals.

[0014] According to another aspect of the present disclosure, a method for preventing overvoltage by an electronic device is provided. The method includes: identifying the type of an external electronic device connected through a connector of the electronic device; identifying a detection value for at least some of one or more signal terminals of the connector based at least on the identified type corresponding to a predetermined type; and when the detection value is within a first predetermined range, outputting a predetermined voltage to the external electronic device through one or more power terminals of the connector.

[0015] Advantageous Effects of the Invention

[0016] According to various embodiments, an electronic device may be prevented from being damaged due to overvoltage by detecting voltages of at least some of one or more signal terminals of a connector and determining whether to supply power.

[0017] Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings, in which:

[0019] Figure 1 is a block diagram illustrating an electronic device within a network environment according to various embodiments of the present disclosure;

[0020] Figure 2 is a block diagram illustrating a power management module and a battery according to various embodiments of the present disclosure;

[0021] Figure 3 is a block diagram illustrating an electronic device according to various embodiments of the present disclosure;

[0022] Figure 4 shows a circuit configuration of a power management module according to various embodiments of the present disclosure;

[0023] Figure 5 is a flowchart illustrating an operating method of an electronic device according to various embodiments of the present disclosure;

[0024] Figure 6 , Figure 7a , Figure 7b , Figure 7c and Figure 8 illustrating the operation of the electronic device according to various embodiments of the present disclosure;

[0025] Fig. 9 illustrates a connection between an external electronic device and an electronic device using an adapter (male-female converter) according to an embodiment of the present disclosure;

[0026] Fig.10 An operating method of an electronic device according to various embodiments of the present disclosure is illustrated;

[0027] Fig.11 illustrates a connection between an electronic device and an external electronic device according to various embodiments of the present disclosure;

[0028] Fig.12 A protection circuit of an electronic device according to various embodiments of the present disclosure is shown; and

[0029] Fig.13 An operating method of an electronic device according to various embodiments of the present disclosure is illustrated.

[0030] Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures. DETAILED DESCRIPTION

[0031] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. The present disclosure includes various specific details to assist in this understanding, but these are to be considered as merely exemplary. Therefore, it will be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and configurations may be omitted for clarity and brevity.

[0032] The terms and words used in the following description and claims are not limited to the bibliographical meanings, but are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Therefore, it should be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustrative purposes only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.

[0033] It is to be understood that singular forms include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.

[0034] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.

[0035] Reference Figure 1 , the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the components (e.g., the display device 160 or the camera module 180) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the components may be implemented as a single integrated circuit.For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented to be embedded in the display device 160 (eg, a display).

[0036] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 coupled to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may load a command or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that can operate independently or in combination with the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be specifically used for a specified function. The auxiliary processor 123 may be implemented separately from the main processor 121 , or may be implemented as a part of the main processor 121 .

[0037] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) that is functionally related to the auxiliary processor 123.

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

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

[0040] The input device 150 may receive commands or data from outside the electronic device 101 (e.g., a user) to be used by other components of the electronic device 101 (e.g., the processor 120). The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus).

[0041] The sound output device 155 can output a sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes such as playing multimedia or playing records, and the receiver may be used for incoming calls. Depending on the embodiment, the receiver may be implemented as a separate part from the speaker, or the receiver may be implemented as a part of the speaker.

[0042] The display device 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display device 160 may include a touch circuit adapted to detect a touch or a sensor circuit (e.g., a pressure sensor) adapted to measure the strength of a force caused by a touch.

[0043] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input device 150, or output sound via the sound output device 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.

[0044] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a user's state) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0045] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0046] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0047] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.

[0048] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.

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

[0050] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0051] The communication module 190 may support establishing 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 perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an 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 (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth™, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.

[0052] The antenna module 197 may transmit a signal or power to the outside of the electronic device 101 (e.g., an external electronic device) or receive a signal or power from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna, wherein the antenna includes a radiation element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication scheme 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 (e.g., the wireless communication module 192). The signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiation element may be additionally formed as a part of the antenna module 197.

[0053] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.

[0054] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic devices 102 and 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should automatically perform a function or service or should perform a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to perform at least a part of the function or service instead of running the function or service, or the electronic device 101 may request the one or more external electronic devices to perform at least a part of the function or service in addition to running the function or service. The one or more external electronic devices that receive the request may perform at least a part of the function or service requested, or perform another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request under the condition that the result is further processed or under the condition that the result is not further processed. To this end, for example, cloud computing technology, distributed computing technology or client-server computing technology may be used.

[0055] Figure 2 is a block diagram 200 illustrating the power management module 188 and the battery 189 according to various embodiments of the present disclosure.

[0056] Reference Figure 2, the power management module 188 may include a charging circuit 210, a power conditioner 220, or a power meter 230. The charging circuit 210 may charge the battery 189 by using power supplied from an external power source outside the electronic device 101. According to an embodiment, the charging circuit 210 may select a charging scheme (e.g., normal charging or fast charging) based at least in part on the type of the external power source (e.g., a power outlet, USB, or wireless charging), the amount of power that can be supplied from the external power source (e.g., about 20 watts or more), or the properties of the battery 189, and may charge the battery 189 using the selected charging scheme. The external power source may be connected to the electronic device 101, for example, directly via the connection terminal 178 or wirelessly via the antenna module 197.

[0057] The power regulator 220 can generate a variety of power with different voltage levels or different current levels by adjusting the voltage level or current level of the power supplied from the external power source or the battery 189. The power regulator 220 can adjust the voltage level or current level of the power supplied from the external power source or the battery 189 to different voltage levels or current levels suitable for each of some components included in the electronic device 101. According to an embodiment, the power regulator 220 can be implemented in the form of a low dropout (LDO) regulator or a switching regulator. The power meter 230 can measure the use status information about the battery 189 (for example, the capacity of the battery 189, the number of times of charging or discharging, the voltage, or the temperature).

[0058] The power management module 188 may use, for example, the charging circuit 210, the power conditioner 220, or the power meter 230 to determine charging status information related to the charging of the battery 189 (e.g., life, overvoltage, low voltage, overcurrent, overcharge, overdischarge, overheat, short circuit, or expansion) based at least in part on the measured usage status information about the battery 189. The power management module 188 may identify / determine whether the state of the battery 189 is normal or abnormal based at least in part on the determined charging status information. If the state of the battery 189 is determined to be abnormal, the power management module 188 may adjust the charging of the battery 189 (e.g., reduce the charging current or voltage, or stop charging). According to an embodiment, at least some of the functions of the power management module 188 may be performed by an external control device (e.g., the processor 120).

[0059] According to an embodiment, the battery 189 may include a protection circuit module (PCM) 240. The PCM 240 may perform one or more of various functions (e.g., a pre-cutoff function) for preventing the performance of the battery 189 from being deteriorated or damaged. Additionally or alternatively, the PCM 240 may be configured as at least a portion of a battery management system (BMS) capable of performing various functions, including battery balancing, measurement of battery capacity, counting of the number of times of charging or discharging, measurement of temperature, or measurement of voltage.

[0060] According to an embodiment, at least a portion of the charging state information or the usage state information about the battery 189 may be measured using a corresponding sensor (e.g., a temperature sensor) of the sensor module 176, the power meter 230, or the power management module 188. According to an embodiment, the corresponding sensor (e.g., a temperature sensor) of the sensor module 176 may be included as a part of the PCM 240, or may be arranged near the battery 189 as a separate device.

[0061] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.

[0062] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalents or replacements for the corresponding embodiments. For the description of the accompanying drawings, similar figure numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each phrase in the phrases such as "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" may include all possible combinations of items listed together in the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “combined with another element (e.g., the second element)”, “combined to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” when the terms “operably” or “communicatively” are used or when the terms “operably” or “communicatively” are not used, this means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.

[0063] As used herein, the term "module" may include units implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or the smallest unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).

[0064] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without one or more other components. This enables the machine to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be run by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include a signal (e.g., an electromagnetic wave), but the term does not distinguish between data being semi-permanently stored in a storage medium and data being temporarily stored in a storage medium.

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

[0066] According to various embodiments, each component (e.g., module or program) of the above-mentioned components may include a single entity or multiple entities. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as a corresponding one of the multiple components performing one or more functions before integration. According to various embodiments, the operations performed by a module, program or another component may be performed sequentially, in parallel, repeatedly or heuristically, or one or more of the operations may be run or omitted in a different order, or one or more other operations may be added.

[0067] Figure 3 is a block diagram 300 illustrating an electronic device according to various embodiments of the present disclosure.

[0068] Reference Figure 3 , the electronic device 301 (e.g., the electronic device 101) may include a connector 310 (e.g., the connection terminal 178), a wireless power interface 320, a power management module 330 (e.g., the power management module 188), a battery 360 (e.g., the battery 189), a power distribution system 370, and / or a processor 380 (e.g., the processor 120). The power management module 330 may include a serial interface 340 (e.g., an inter-integrated circuit (I2C), SPI, or a universal asynchronous receiver / transmitter (UART)) and a power regulator 350 (e.g., the power regulator 220).

[0069] The connector 310 may include one or more signal terminals and one or more power terminals electrically connected to the power conditioner 350 of the power management module 330. Hereinafter, the terminals may also be referred to as pins.

[0070] According to an embodiment, the electronic device 301 may be connected to an external electronic device (eg, a charger) that supplies external power through the connector 310 or connected to an external electronic device that requires power through a wire.

[0071] The wireless power interface 320 may include one or more power terminals of the power conditioner 350 electrically connected to the power management module 330 .

[0072] According to an embodiment, the wireless power interface 320 may include a resonance circuit (eg, a wireless charging coil) for wirelessly connecting to an external electronic device.

[0073] According to an embodiment, the electronic device 301 may be wirelessly connected to an external electronic device supplied with external power through the wireless power interface 320 or an external electronic device requiring power.

[0074] The serial interface 340 may be electrically connected to one or more signal terminals of the connector 310 .

[0075] According to an embodiment, the serial interface 340 may configure at least some of the control circuit together with the processor 380. Hereinafter, at least some of the operations of the serial interface 340 may be performed by the control circuit or the processor 380.

[0076] The serial interface 340 may identify the type of the external electronic device connected through the connector 310 through a predetermined terminal among the one or more signal terminals.

[0077] According to an embodiment, when the identified type corresponds to a device requiring power, the serial interface 340 may control the power conditioner 350 to output a predetermined output voltage to the external electronic device through one or more power terminals.

[0078] According to an embodiment, the serial interface 340 may detect voltages of at least some of the one or more signal terminals before or after outputting a predetermined voltage to the external electronic device.

[0079] According to an embodiment, when the detection value is within a first predetermined range (or the detection value corresponds to / is similar to a predetermined threshold value (for example, the difference between the detection value and the predetermined threshold value is approximately ±5% or approximately ±10%), or the detection value is higher than or equal to / equal to or lower than the threshold value), the serial interface 340 may control the power conditioner 350 to start outputting a predetermined voltage to an external electronic device or maintain a predetermined voltage.

[0080] According to an embodiment, when the detected voltage is within a second predetermined range (or the voltage corresponds to / is similar to a predetermined threshold value (for example, the difference between the voltage and the predetermined threshold value is approximately ±5% or approximately ±10%), or the voltage is higher than or equal to / equal to or lower than the threshold value), the serial interface 340 may control the power conditioner 350 to at least temporarily stop the operation of outputting the predetermined voltage to the external electronic device or may not start the operation.

[0081] According to an embodiment, when the identified type corresponds to a powered device, the serial interface 340 may control the power conditioner 350 to charge the battery 360 using at least a portion of a voltage received from the external electronic device through one or more power terminals.

[0082] The power conditioner 350 may charge the battery 360 by controlling the current / voltage of power received from an external electronic device in a wired or wireless manner.

[0083] According to an embodiment, when a USB one-key copy (OTG) device is connected, the power regulator 350 can increase the voltage of the battery to the voltage (e.g., 5V) required by the USB OTG device, and supply the increased voltage to the USB OTG device. The USB OTG device may refer to a device used as a slave device in a master (or host) / slave configuration. Alternatively, the USB OTG device may refer to a device configured to select a master device (or host) or a slave device through an identification (ID) terminal.

[0084] The power distribution system 370 may convert a battery voltage or a voltage of external power into a voltage required by a component within the electronic device 301 and supply the converted voltage to the component.

[0085] According to an embodiment, the number of power distribution systems 370 may be plural according to the number / type of components.

[0086] According to an embodiment, the power distribution system 370 may be included in the power management module 330 .

[0087] The processor 380 may identify the type of the external electronic device connected through the connector 310 .

[0088] According to an embodiment, the processor 380 may receive information about the type of the external electronic device from the serial interface 340. For example, the serial interface 340 may transmit the information about the type of the external electronic device to the processor 380 through I2C communication.

[0089] According to an embodiment, the processor 380 may detect voltages of at least some of the one or more power terminals through the power conditioner 350. The processor 380 may identify the type of the external electronic device based on the detected voltage.

[0090] According to an embodiment, when the identified type corresponds to a device that supplies power or when the detected voltage is within a third predetermined range (or the voltage corresponds to / is similar to a predetermined threshold (for example, the difference between the voltage and the predetermined threshold is approximately ±5% or approximately ±10%), or the voltage is higher than or equal to / equal to or lower than a predetermined threshold), the processor 380 may control the power conditioner 350 to charge the battery using at least a portion of the voltage received from the external electronic device through one or more power terminals.

[0091] According to an embodiment, when the identified type corresponds to a device requiring power or the detected voltage is within a fourth predetermined range (or the voltage corresponds to / is similar to a predetermined threshold (for example, the difference between the voltage and the predetermined threshold is approximately ±5% or approximately ±10%), or the voltage is higher than or equal to / equal to or lower than the predetermined threshold), the processor 380 may control the power conditioner 350 to output a predetermined output voltage to an external electronic device through one or more power terminals.

[0092] According to an embodiment, the processor 380 may transmit a command (or control signal) related to power supply / reception (or charging / discharging or buck mode operation / boost mode operation) according to the type of the external electronic device to the power management module 330 or the power conditioner 350. The power management module 330 or the power conditioner 350 may perform power supply / reception (or charging / discharging or buck mode operation / boost mode operation) according to the received command (or control signal).

[0093] According to various embodiments, the electronic device 301 may include a power conditioner 350, a connector 310 and a control circuit, wherein the connector 310 includes one or more signal terminals electrically connected to the power conditioner 350 and one or more power terminals, and the control circuit is electrically connected to the one or more signal terminals, wherein the control circuit may be configured to: identify the type of the external electronic device connected through the connector 310 by using a predetermined terminal among the one or more signal terminals; when the type is a device that needs to be powered by the power conditioner 350, output a predetermined output voltage to the external electronic device through the power conditioner 350 via the one or more power terminals; after outputting the predetermined voltage to the external electronic device, detect the voltage of at least some of the one or more signal terminals; when the detected voltage is within a first predetermined range, keep outputting the predetermined voltage to the external electronic device through the power conditioner 350; and when the detected voltage is within a second predetermined range, at least temporarily stop outputting the predetermined voltage to the external electronic device through the power conditioner 350.

[0094] According to various embodiments, the electronic device 301 may include a power conditioner 350, a connector 310 and a control circuit, wherein the connector 310 includes one or more signal terminals electrically connected to the power conditioner 350 and one or more power terminals, and the control circuit is electrically connected to the one or more signal terminals, wherein the control circuit may be configured to: identify the type of the external electronic device connected through the connector 310; identify detection values ​​for at least some of the one or more signal terminals based at least on the correspondence between the identified type and a predetermined type; and when the detection value is within a first predetermined range, output a predetermined voltage to the external electronic device through the power conditioner 350 via the one or more power terminals.

[0095] According to various embodiments, the control circuit may be configured to detect whether an external electronic device is connected to the connector 310 through the one or more power terminals.

[0096] According to various embodiments, the electronic device may further include a battery 360 connected to the power conditioner 350, wherein the control circuit may be configured to: identify through the one or more power terminals whether the external electronic device connected through the connector 310 is a device for supplying power to the electronic device 301, and when it is identified that the external electronic device is a device for supplying power to the electronic device 301, input the received voltage to the power conditioner 350, so that the power conditioner 350 charges the battery 360 using at least a portion of the voltage received from the external electronic device through the one or more power terminals.

[0097] According to various embodiments, the external electronic device may include a first external electronic device and a second external electronic device, wherein the first external electronic device is electrically connected to the one or more power terminals and the one or more signal terminals, and the second external electronic device is electrically connected to at least some of the one or more power terminals and the one or more signal terminals through the first external electronic device.

[0098] According to various embodiments, the control circuit may be configured to detect voltages of at least some of the one or more signal terminals when the predetermined voltage is output to the external electronic device.

[0099] According to various embodiments, the control circuit may be configured to detect voltages of at least some of the one or more signal terminals in a state where the output of the predetermined voltage to the external electronic device is stopped.

[0100] According to various embodiments, the control circuit may be configured to identify the type of the external electronic device by using a predetermined terminal among the one or more signal terminals.

[0101] According to various embodiments, the control circuit may be configured not to output the predetermined voltage to the external electronic device when the detection value is within the second predetermined range.

[0102] According to various embodiments, when it is identified that the type of the external electronic device is a USB OTG device, the control circuit may be configured to identify / determine that a predetermined type is satisfied.

[0103] According to various embodiments, the at least some terminals may include a terminal for USB data communication, and the predetermined terminal may include an ID terminal for identifying an ID of the external electronic device.

[0104] Figure 4 A circuit configuration of a power management module according to various embodiments of the present disclosure is shown.

[0105] Reference Figure 4 , the power management module 430 (e.g., power management module 188 or 330) can be connected to each of the connector 410 (e.g., connector 310), the wireless interface 420, the current sensor 465, the battery 460 (e.g., battery 189 or 360) and / or the processor 480 (e.g., processor 120 or 380).

[0106] For example, the connector 410 may be a micro Universal Serial Bus (USB) connector. The connector 410 may be connected to a wired charging device (eg, a travel adapter (TA)) through a wire.

[0107] The wireless interface 420 may include a coil (e.g., a conductive pattern) and a wireless charging IC, and wirelessly transmits power to a wireless charging device (e.g., a wireless charging pad) and wirelessly receives power from a wireless charging device (e.g., a wireless charging pad). Wireless power may be transmitted and received through a wireless power transmission scheme such as a magnetic field inductive coupling scheme, a resonant coupling scheme, or a combination thereof.

[0108] The power management module 430 may be electrically connected to the connector 410 (e.g., a micro USB connector). The power management module 430 may include a power regulator 431 (e.g., power regulator 220 or power regulator 350), a serial interface 432 (e.g., I2C, SPI, or UART), and / or an interface circuit 440 (e.g., a micro USB interface).

[0109] The power conditioner 431 may include an input controller 452 , a buck / boost controller 454 , a power path controller 456 , and / or a fuel gauge 458 .

[0110] One end of the input controller 452 may be connected to a USB bus voltage (VBUS) terminal of the connector 410 , and the other end of the input controller 452 may be connected to the buck / boost controller 454 .

[0111] The input controller 452 may include one or more switches. According to an embodiment, the input controller 452 may include a wired current input limit switch 452-1 and a wireless current input limit switch 452-2. The wired current input limit switch 452-1 may control the current input from the external wired device through the VBUS terminal of the connector 410. The wireless current input limit switch 452-2 may control the current input from the external wireless device.

[0112] The buck / boost controller 454 may perform control to convert power input by the input controller 452 into a voltage and current suitable for charging the battery 460 , and convert power from the battery 460 into a voltage and current suitable for use by an electronic device (eg, the electronic device 101 or 301 ).

[0113] According to an embodiment, the buck / boost controller 454 may boost (or increase) or buck (or decrease) the voltage of the battery 460 to provide a predetermined current to a system (e.g., a system for powering each module of an electronic device) or boost or buck a charging voltage provided for a constant charging current of the battery 460. According to an embodiment, the buck / boost controller 454 may include a buck / boost controller (e.g., a buck / boost converter) or one or more switches corresponding to the buck / boost converter.

[0114] The power path controller 456 may control the power path to supply power received from an external power source to the battery 460 or control the power path to supply power from the battery 460 to the system.

[0115] According to an embodiment, in a state where the power path controller 456 receives power from the outside, the power path controller 456 may control the power path to supply some of the power from the outside to the battery 460 and supply the rest to the system.

[0116] According to an embodiment, when power is supplied from an external power source in a power-off state of the electronic device, the electronic device may control a power path to supply all power to the battery 460. When power is supplied from an external power source in a power-on state of the electronic device, the electronic device may control a power path to supply the remaining power of the supplied power except for the power supplied to the system to the battery 460.

[0117] According to an embodiment, the power path controller 456 may include a power path controller or one or more switches corresponding to the power path controller.

[0118] Fuel gauge 458 may measure the voltage of battery 460 and measure the charging current and discharging current of battery 460 .

[0119] According to an embodiment, the fuel gauge 458 may directly sense / detect the voltage between the negative terminal and the positive terminal of the battery 460, or receive the battery voltage sensed / detected by a separate battery voltage sensor. According to the charging curve, the charging current may be controlled based on the sensed voltage.

[0120] According to an embodiment, the fuel gauge 458 may include a current sensor 465, and the charging current and the discharging current of the battery 460 may be measured by the current sensor, or the charging current and the discharging current of the battery 460 may be measured by a separate current sensor 465. For example, the separate current sensor 465 may include a resistance circuit (Isense R) connected to the battery 460.

[0121] The serial interface 432 may be connected to the ID terminal of the connector 410. The serial interface 432 may convert data input from an external electronic device into data of an inter-integrated circuit (I2C) communication type / interface. The serial interface 432 may output data of the I2C communication type / interface to the processor 480.

[0122] The interface circuit 440 may be electrically connected to one or more signal terminals of the connector 410. For example, the interface circuit 440 may be connected to the D+ terminal, the D- terminal, and / or the GND terminal of the connector 410. The processor may be connected to the D+ terminal and the D- terminal through the interface circuit 440.

[0123] Figure 5 is a flowchart illustrating an operating method of an electronic device according to various embodiments of the present disclosure.

[0124] The operation method may include operations 510 to 560. Each step / operation in the operation method may be performed by at least one of an electronic device (e.g., electronic device 101 or 301), at least one processor of the electronic device (e.g., processor 120, 380, or 480), and a controller / control circuit of the electronic device. Depending on the embodiment, at least one of operations 510 to 560 may be omitted, the order of some operations may be changed, or other operations may be added.

[0125] Reference Figure 5 , at operation 510, the electronic device (eg, the interface circuit 340 or 440, the processor 120, 380 or 480, or the control circuit) may identify the type of the connected external electronic device.

[0126] According to an embodiment, the electronic device may detect the input / output (e.g., voltage value, current value, resistance value, impedance value, capacitance value, or voltage / current / resistance / impedance / capacitance change rate) of one or more signal terminals of a connector (e.g., connector 310 or 410) or a first predetermined terminal (e.g., one or more signal terminals and / or one or more power terminals).

[0127] According to an embodiment, when the detection value for the first predetermined end (hereinafter referred to as the first detection value) is within a predetermined range (or the voltage corresponds to / is similar to a predetermined threshold (for example, the difference between the voltage and the predetermined threshold is approximately ±5% or approximately ±10%), or the voltage is higher than or equal to / equal to or lower than the threshold), the electronic device can identify / determine that the external electronic device belongs to the first type (or is a device of the first type).

[0128] According to an embodiment, when the first detection value is not within the predetermined range or within another predetermined range, the electronic device may recognize / determine that the external electronic device belongs to the second type (or is a device of the second type).

[0129] According to an embodiment, when a detection value for the ID terminal of the connector is within a predetermined range (eg, equal to or less than about 10 ohms), the electronic device may recognize / determine that the external electronic device is a USB OTG device.

[0130] According to an embodiment, when the detection value for the VBUS end of the connector is about 3.3V or about 5V, the electronic device can recognize / determine that the external electronic device is a charger (or a USB device capable of powering the electronic device) or the external electronic device is connected to the charger.

[0131] In operation 520 , the electronic device (eg, the interface circuit 340 , the processor 380 , or the control circuit) may identify / determine whether the identified type is a predetermined type.

[0132] When the identified type is a predetermined type (eg, a USB OTG device or a device requiring power), the electronic device may perform operation 530 .

[0133] When the identified type is not the predetermined type, the electronic device may terminate the method, or perform an operation corresponding to the identified type of the external electronic device (eg, receiving power from a power supply device or communicating with a USB host device).

[0134] According to an embodiment, an electronic device (e.g., interface circuit 340 or 440, processor 120, 380 or 480, or control circuit) may control a power regulator (e.g., power regulator 220 or power regulator 350 or 432) to receive power from an external electronic device.

[0135] According to an embodiment, the electronic device may control the power conditioner to charge the battery using at least a portion of a voltage received from the external electronic device through one or more power terminals.

[0136] In operation 530 , the electronic device (eg, the interface circuit 340 or 440 , the processor 120 , 380 , or 480 , or the control circuit) may output a predetermined voltage to an external electronic device.

[0137] According to an embodiment, the electronic device may control the power conditioner to output a predetermined power / voltage to an external electronic device through one or more power terminals.

[0138] According to an embodiment, operation 530 may be omitted. The electronic device may be configured to first output a predetermined voltage to an external electronic device at operation 550 .

[0139] At operation 540, an electronic device (e.g., interface circuit 340 or 440, processor 120, 380 or 480, or control circuit) may identify whether a detection value (hereinafter referred to as a second detection value) for a second predetermined end among one or more signal ends is within a first predetermined range (e.g., less than approximately 0.3 V).

[0140] According to an embodiment, the second detection value may include a voltage value, a current value, a resistance value, an impedance value, a capacitance value, or a voltage / current / resistance / impedance / capacitance change rate.

[0141] According to an embodiment, the second predetermined end may be a D+ end and / or a D- end of the connector.

[0142] According to an embodiment, the second predetermined terminal may be a general purpose input / output (GPIO) of the processor.

[0143] According to an embodiment, the electronic device may identify / determine whether the D+ terminal and the D- terminal of the external electronic device are short-circuited, and may perform operation 550 when the terminals are not short-circuited, and may perform operation 560 when the terminals are short-circuited. Whether the terminals are short-circuited may be identified / determined based on at least one of the following two conditions.

[0144] First condition: A case where the voltage applied to the D- terminal of the connector after the predetermined voltage is applied to the D+ terminal of the connector is 0.3 V or higher (or within the second predetermined range)

[0145] Second condition: A case where the voltage applied to the D+ terminal of the connector is 0.3 V or higher after a predetermined voltage (e.g., about 0.6 V) is applied to the D- terminal of the connector

[0146] When one or both of the two conditions are met, the electronic device can identify / determine that the D+ and D- terminals of the external electronic device are short-circuited. When one or both of the two conditions are not met, the electronic device can identify / determine that the D+ and D- terminals of the external electronic device are not short-circuited.

[0147] According to an embodiment, whether the terminal is short-circuited may be determined based on at least one of the following two conditions.

[0148] First condition: a case where a predetermined voltage (eg, a high signal) is applied to the first GPIO of the processor and a detection value for the second GPIO of the processor is within a predetermined range or belongs to a high signal condition.

[0149] Second condition: a case where a predetermined voltage (eg, a high signal) is applied to the second GPIO of the processor and a detection value for the first GPIO of the processor is within a predetermined range or belongs to a high signal condition.

[0150] When one or both of the two conditions are met, the electronic device can identify / determine that the D+ terminal and the D- terminal of the external electronic device are short-circuited. When one or both of the two conditions are not met, or when the detection value of the second GPIO and / or the first GPIO of the processor belongs to the low signal condition, the electronic device can identify / determine that the D+ terminal and the D- terminal are not short-circuited.

[0151] According to an embodiment, when a predetermined voltage is output to an external electronic device, the electronic device may identify whether the second detection value is within a first predetermined range (eg, lower than 0.3 V).

[0152] According to an embodiment, in a state where an operation for outputting a predetermined voltage to an external electronic device is stopped, the electronic device may identify whether the second detection value is within a first predetermined range (eg, lower than 0.3).

[0153] According to an embodiment, the electronic device may periodically repeat recognizing the second detection value (and stopping the operation for outputting the predetermined voltage).

[0154] The electronic device may perform operation 550 when the second detection value is within the first predetermined range, and perform operation 560 when the second detection value is not within the first predetermined range.

[0155] When the second detection value is within the first predetermined range (or the second detection value corresponds to / is similar to the predetermined threshold value (for example, the difference between the second detection value and the predetermined threshold value is approximately ±5% or approximately ±10%), or the second detection value is higher than or equal to / equal to or lower than the threshold value), the electronic device may control the power conditioner in operation 550 to output a predetermined power / voltage to an external electronic device through one or more power terminals or maintain the output of a predetermined power / voltage.

[0156] When the second detection value is not within the first predetermined range or within the second predetermined range (or when the second detection value corresponds to / is similar to the predetermined threshold (for example, the difference between the second detection value and the predetermined threshold is approximately ±5% or approximately ±10%)), the electronic device may control the power conditioner in operation 560 not to start supplying power to the external electronic device or to stop supplying power.

[0157] According to various embodiments, a method for preventing overvoltage by an electronic device may include the following operations: an operation of identifying the type of an external electronic device connected through a connector of the electronic device; an operation of identifying detection values ​​for at least some of one or more signal terminals of the connector based at least on the identified type corresponding to a predetermined type; and an operation of outputting a predetermined voltage to the external electronic device through one or more power terminals of the connector when the detection value is within a first predetermined range.

[0158] According to various embodiments, a predetermined terminal among the one or more signal terminals may be used to identify the type of the external electronic device.

[0159] According to various embodiments, the method may further include the following operation: controlling a power conditioner of the electronic device not to output a predetermined voltage to the external electronic device based at least on the detection value being within the second predetermined range.

[0160] According to various embodiments, the method may further include the following operation: detecting, through the one or more power terminals, whether an external electronic device is connected to the connector.

[0161] According to various embodiments, the method may also include the following operations: identifying whether the external electronic device connected through the connector is a device for supplying power to the electronic device through the one or more signal terminals or the one or more power terminals; and when it is identified that the external electronic device is a device for supplying power to the electronic device, charging the battery using the power received from the external electronic device through the one or more power terminals.

[0162] According to various embodiments, the method may further include the following operation: when it is identified that the type of the external electronic device is a USB OTG device, determining that a predetermined type is satisfied.

[0163] According to various embodiments, the at least some terminals may include a terminal for USB data communication, and the predetermined terminal may include an ID terminal for identifying an ID of the external electronic device.

[0164] Figure 6 , Figure 7a , Figure 7b , Figure 7c and Figure 8 Operations of an electronic device according to various embodiments of the present disclosure are illustrated.

[0165] Figure 6 An equivalent circuit 600 of an external electronic device used as a USB killer is shown. The external electronic device may receive power from the electronic device through the VBUS terminal and generate a high voltage of about -200V through a flyback converter.

[0166] Reference Figure 7a and Figure 7b , a gate-source voltage (VGS) including periodic pulses may be applied to the switch 610 of the equivalent circuit.

[0167] Reference Figure 7c , a voltage (VDP) of about -200 V may be applied to the D+ terminal / D- terminal according to the periodic pulse.

[0168] Reference Figure 8 800, an electronic device 801 (e.g., electronic device 101 or 301) may include a connector 810 (e.g., connector 310 or 410), a power management module 820 (e.g., power management module 188, 330 or 430) and / or a processor 830 (e.g., processor 120, 380 or 480).

[0169] For example, the connector 810 may be a micro USB connector. Compared to a standard 4-pin connector, the connector 810 may also include a USB identification (ID) terminal (or pin).

[0170] The external electronic device 840 may include a VBUS terminal for applying voltage / power, a D+ terminal and a D- terminal for USB data communication, an ID terminal for providing an ID, and a GND terminal. The ID may be represented as a resistance value for one of the different resistors 845R1, R2, R3, and R4. For example, an ID with a resistance value equal to or less than about 10 ohms may indicate a USB OTG device.

[0171] The electronic device 801 may recognize that a detection value (hereinafter referred to as a first detection value) for the ID terminal of the connector 810 is within a predetermined range (eg, equal to or less than 10 ohms) and that the external electronic device is a USB OTG device.

[0172] The electronic device 850 may identify the detection value for the D+ terminal and / or the D- terminal of the connector 810 based at least on the identification that the external electronic device is a USB OTG device. The electronic device 801 may identify whether the detection value is within a predetermined range.

[0173] When the detection value is within a predetermined range, the electronic device 801 may output a predetermined power / voltage to the external device 840 via the VBUS terminal by using the power management module 820 .

[0174] When the detection value is not within the predetermined range or within another predetermined range, the electronic device 801 may control the power management module 820 not to start supplying power to the external electronic device or to stop supplying power.

[0175] Fig. 9 is a block diagram 900 illustrating connection between an external electronic device and an electronic device using an adapter according to various embodiments of the present disclosure.

[0176] Reference Fig. 9 , the second external electronic device 950 may include a VBUS terminal for applying voltage / power, a D+ terminal / D- terminal for USB data communication, and a GND terminal.

[0177] Compared to a standard 4-pin connector, connector 810 may also include a USB identification (ID) terminal (or pin).

[0178] The first external electronic device 940 may be used as an adapter and may include a VBUS terminal (for applying voltage / power), a D+ terminal and a D- terminal (for USB data communication), an ID terminal for providing an ID, and a GND terminal on one side thereof for connecting with the second external electronic device 950, and may include a VBUS terminal, a D+ terminal, a D- terminal, and a GND terminal on the other side thereof for connecting with the connector 810. The ID may be represented as a resistance value for one of the different resistors 945R1, R2, R3, and R4. For example, an ID having a resistance value equal to or less than about 10 ohms may indicate a USB OTG device.

[0179] The second external electronic device 950 may be connected to the connector 810 through the first external electronic device 910 .

[0180] Fig.10 An operating method of an electronic device according to various embodiments of the present disclosure is illustrated.

[0181] Reference Fig.10 , electronic device 1001 (e.g., electronic device 101 or 301) may include a connector 1010 (e.g., connector 310 or 410), a power management module 1020 (e.g., power management module 188, 330 or 430) and / or a processor 1030 (e.g., processor 120, 380 or 480).

[0182] The processor 1030 may include a first GPIO terminal 1031 and a second GPIO terminal 1032. The first GPIO terminal 1031 and the second GPIO terminal 1032 may be connected to a D+ terminal and a D- terminal of an external electronic device 1040 through a connector 1010, respectively.

[0183] The processor 1030 may apply a high level signal (or high signal) to the first GPIO terminal 1031 for a first test, and identify whether a detection value for the second GPIO terminal 1032 is a high level or a low level (or whether a high signal condition is satisfied).

[0184] The processor 1030 may apply a high level signal to the second GPIO terminal 1032 for a second test, and identify whether the detection value for the first GPIO terminal 1031 is a high level or a low level.

[0185] According to an embodiment, when the detection value is within a predetermined range (or the detection value corresponds to / is similar to a predetermined threshold (for example, the difference between the detection value and the predetermined threshold is approximately ±5% or approximately ±10%), or the detection value is higher than or equal to / equal to or lower than a predetermined threshold), the processor 1030 may recognize that the detection value is a high level.

[0186] When the results of both the first test and the second test correspond to a high level, the processor 1030 may identify / determine that the D+ terminal and the D- terminal of the external electronic device 1040 are short-circuited. Hereinafter, the term "short circuit" may refer to a case where a detection value for a corresponding terminal is equal to or lower than a predetermined threshold.

[0187] Based at least on the result indicating that both the first test and the second test correspond to a high level, the processor 1030 may control the power management module 1020 not to start or stop supplying power to the external electronic device 1040 .

[0188] Based at least on the result indicating that neither the first test nor the second test corresponds to a high level, the electronic device 1001 may output predetermined power / voltage to the external electronic device 1040 via the VBUS terminal through the power management module 1020 .

[0189] According to an embodiment, the power management module 1020 may include a protection circuit 1025. The protection circuit 1025 may identify whether a D+ terminal and a D- terminal are short-circuited in the external electronic device 1040.

[0190] When the D+ terminal and the D− terminal are short-circuited, the protection circuit 1025 can disconnect the short-circuited D+ terminal and the D− terminal.

[0191] Fig.11 Connection between an electronic device and an external electronic device according to various embodiments of the present disclosure is illustrated.

[0192] Reference Fig.11 , the electronic device (eg, the electronic device 101 or 301 ) may be electrically connected to an external electronic device (eg, the electronic device 102 or the electronic device 104 ) through the first connector 1110 .

[0193] The first connector 1110 of the electronic device may be formed on the surface so that the second connector 1150 of the external electronic device may be inserted into the first connector 1110 in any direction of forward and reverse directions, and the contact substrate 1105 may be formed inside the first connector 1110 .

[0194] The contact substrate 1105 may have twelve pins 1110-1, 1110-2, ..., 1110-12 formed on a first side (e.g., side A) corresponding to the forward direction and twelve pins 1120-2, 1120-2, ..., 1120-12 formed on a second side (e.g., side B) corresponding to the reverse direction. The middle plate 1105 having conductive properties may be arranged inside the contact substrate 1106.

[0195] The second connector 1150 of the external electronic device may have twelve pins 1130-1, 1130-2, ... 1130-12 formed on a first side (e.g., side A) and twelve pins 1140-1, 1140-2, ... 1140-12 formed on a second side (e.g., side B), wherein the twelve pins 1130-1, 1130-2, ... 1130-12 are in contact with twelve pins 1110-1, 1110-2, ... 1110-12 formed on the first side (e.g., side A) of the contact substrate 1105, and the twelve pins 1140-1, 1140-2, ... 1140-12 are in contact with twelve pins 1120-2, 1120-2, ... 1120-12 formed on the second side (e.g., side B) of the contact substrate 1105. The number of pins in the second connector 1150 of the external electronic device may vary depending on the type of the external electronic device. In addition, the number of CC pins of the external electronic device may be one or two depending on its type. For example, the arrangement order of the twelve pins formed on the first side (e.g., side A) may be the same as the arrangement order of the twelve pins formed on the second side (e.g., side B), so that the second connector 1150 of the external electronic device can be inserted in any direction along the first side and the second side. Due to such a structure, the user can insert the second connector 1150 of the external electronic device into the first connector 1110 of the electronic device in a state rotated 180 degrees.

[0196] According to an embodiment, the arrangement of the pins formed on the first side (eg, side A) and the second side (eg, side B) of the contact substrate 1105 may be as shown in Table 1 below.

[0197]

Table 1

[0198]

[0199]

[0200] The electronic device and / or the external electronic device connected through the Type-C connector determines whether to operate in the host mode or the device mode through communication using the CC pin.

[0201] According to an embodiment, the electronic device and / or the external electronic device may identify / determine whether the electronic device and / or the external electronic device is in host mode or device mode through the connected Rp / Rd resistance via the CC pin. In order to operate as a device for receiving power, the USB killer may use the Rd resistance.

[0202] According to an embodiment, the electronic device may additionally identify whether the Tx / Rx pins are short-circuited before starting to supply power based on the detection value of the CC pin. The method of detecting a short circuit may be similar to that of referring to Fig.10 The method of checking the short circuit of the D+ / D- pins described is the same or similar. When the Tx / Rx pins are short-circuited, the electronic device may stop supplying power to the external electronic device. In addition to identifying / checking the short circuit of the Tx / Rx pins, the electronic device may also identify / check the D+ / D- pins.

[0203] Fig.12 A protection circuit of an electronic device according to various embodiments of the present disclosure is shown.

[0204] Reference Fig.12 , the electronic device 1201 (eg, electronic device 101 or 301 ) may include a connector 1210 (eg, connector 310 or 410 ), a power management module 1220 (eg, power management module 188 , 330 , or 430 ) and / or a protection circuit 1225 .

[0205] The protection circuit 1225 may be disposed between the connector 1210 and the power management module 1220 , and may prevent a voltage having a threshold value or more (or an overvoltage) from being applied to the external electronic device 1240 .

[0206] According to an embodiment, when the electronic device starts to supply power to the external electronic device 1240 after CC pin communication, the protection circuit 1225 can disconnect the switch between the power management module 1220 and at least one of the CC pin, Tx1 / 2 pin, Rx1 / 2 pin, D+ / D- pin and SBU pin of the irrelevant power supply so as to release the corresponding connection.

[0207] According to an embodiment, the protection circuit 1225 may identify whether the data pin is short-circuited in the external electronic device 1240. When the data pin is short-circuited, the protection circuit 1225 may release the connection of the short-circuited pin. When the data pin is not short-circuited, the protection circuit 1225 may connect the non-short-circuited pin to the power management module 1220 or maintain the connection. For example, when each of the Tx1 pin, the Tx2 pin, the Rx1 pin, and the Rx2 pin is not short-circuited, the protection circuit 1225 may connect the Tx1 pin, the Tx2 pin, the Rx1 pin, and the Rx2 pin to the power management module 1220 or maintain the connection.

[0208] According to an embodiment, the protection circuit 1225 may release the connection between the power management module 1220 and at least one of the CC pin, D+ / D- pin, and SBU pin to prevent a voltage (or overvoltage) having a threshold value or higher from being applied from the external electronic device 1240.

[0209] Fig.13 An operating method of an electronic device according to various embodiments of the present disclosure is illustrated.

[0210] Reference Fig.13 , the electronic device 1301 (eg, the electronic device 101 or 301 ) may be connected to an external electronic device through a connector (not shown) (eg, the connector 310 or 410 ).

[0211] The electronic device may identify a detection value for a predetermined end of the connector.

[0212] When the detection value is not within the first predetermined range or within the second predetermined range, the electronic device may display a display 1306 (eg, Figure 1 Predetermined information 1310 (eg, text, image, and / or message) is displayed on a display device 160).

[0213] According to an embodiment, when a detection value outside the predetermined range is identified a predetermined number of times or more (within a predetermined time), the electronic device may display predetermined information 1310 on the display 1306 .

[0214] According to an embodiment, the electronic device may provide a user with a notification that an external electronic device is causing overvoltage by visual notification (or notification) using the display 1306 or a light emitting diode (LED), auditory notification using a speaker, tactile notification through vibration, and / or sending a notification message to the external electronic device.

[0215] According to various embodiments, a storage medium storing instructions may be provided. The instructions may be configured to cause the at least one circuit to perform at least one operation when executed by at least one circuit. The at least one operation may include the following operations: an operation of identifying the type of an external electronic device connected through a connector; an operation of identifying a detection value for at least some of one or more signal terminals of the connector based at least on the identified type corresponding to a predetermined type; and an operation of outputting a predetermined voltage to the external electronic device through one or more power terminals of the connector when the detection value is within a first predetermined range.

[0216] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present disclosure as defined by the appended claims and their equivalents.

Claims

1. An electronic device, comprising: A power management module, including a power conditioner; a connector including one or more signal terminals and one or more power terminals electrically connected to the power conditioner; as well as a control circuit including a first terminal and a second terminal electrically connected to the one or more signal terminals, Wherein, the control circuit is configured as follows: identifying a type of an external electronic device connected through the connector by using a predetermined terminal among the one or more signal terminals, When the type is a device that needs to be powered by a power conditioner, a predetermined voltage is output to the external electronic device via the one or more power terminals through the power conditioner, For the first test, a high level signal is applied to the first terminal and a voltage of the second terminal is detected, the high level signal having a voltage greater than a predetermined value, For the second test, a high level signal is applied to the second terminal and the voltage of the first terminal is detected. Based on recognizing that the first terminal and the second terminal are not short-circuited when the detected voltage is within a first predetermined range, maintaining the output of the predetermined voltage to the external electronic device through the power conditioner, and Based on identifying that the first and second terminals are short-circuited when the detected voltage is in a second predetermined range, outputting the predetermined voltage to the external electronic device through the power conditioner is at least temporarily stopped and the connection between the power management module and the data terminals of the one or more signal terminals is released.

2. The electronic device according to claim 1, wherein: The control circuit is further configured to detect whether an external electronic device is connected to the connector through the one or more power terminals.

3. The electronic device as claimed in claim 1, further comprising: Batteries, connected to a power conditioner, Wherein, the control circuit is further configured as: identifying whether the external electronic device connected through the connector is a device for supplying power to the electronic device by using the one or more power terminals, and When the external electronic device is identified as a device for supplying power to the electronic device, the received voltage is input to the power conditioner so that the power conditioner charges the battery using at least some of the voltage received from the external electronic device through the one or more power terminals.

4. The electronic device as claimed in claim 1, in, The external electronic device includes a first external electronic device and a second external electronic device, wherein the first external electronic device is electrically connected to the one or more power terminals and the one or more signal terminals, and The second external electronic device is electrically connected to at least some of the one or more power terminals and the one or more signal terminals through the first external electronic device.

5. The electronic device as claimed in claim 1, wherein: The control circuit is further configured to detect voltages of at least some of the one or more signal terminals when the predetermined voltage is output to the external electronic device.

6. The electronic device as claimed in claim 1, wherein: The control circuit is further configured to detect voltages of at least some of the one or more signal terminals in a state where the output of the predetermined voltage to the external electronic device is stopped.

7. A method for preventing overvoltage by an electronic device, wherein: The electronic device comprises: a power management module including a power conditioner, a connector electrically connected to one or more signal terminals and one or more power terminals of the power conditioner, and a control circuit including a first terminal and a second terminal electrically connected to the one or more signal terminals, the method comprising: identifying a type of an external electronic device connected through the connector by using a predetermined terminal among the one or more signal terminals; When the type is a device that needs to be powered by a power conditioner, outputting a predetermined voltage to the external electronic device via the one or more power terminals through the power conditioner; For a first test, a high level signal is applied to the first terminal and a voltage of the second terminal is detected, the high level signal having a voltage greater than a predetermined value; For the second test, a high level signal is applied to the second terminal and a voltage at the first terminal is detected; Based on recognizing that the first terminal and the second terminal are not short-circuited when the detected voltage is within a first predetermined range, maintaining the output of the predetermined voltage to the external electronic device through the power conditioner; and Based on identifying that the first and second terminals are short-circuited when the detected voltage is in a second predetermined range, outputting the predetermined voltage to the external electronic device through the power conditioner is at least temporarily stopped and the connection between the power management module and the data terminals of the one or more signal terminals is released.

8. The method of claim 7, further comprising: Whether an external electronic device is connected to the connector is detected through the one or more power terminals.

9. The method of claim 7, further comprising: identifying whether the external electronic device connected through the connector is a device for supplying power to the electronic device by using the one or more signal terminals or the one or more power terminals; and When the external electronic device is recognized as a device for supplying power to the electronic device, the battery is charged using power received from the external electronic device through the one or more power terminals.

10. The method of claim 7, further comprising: When the external electronic device is recognized as a Universal Serial Bus (USB) one-touch copy (OTG) device, it is determined that the predetermined type is satisfied.

11. The method according to claim 7, in, The predetermined terminal includes an ID terminal for identifying an ID of an external electronic device.

12. A storage medium storing instructions, wherein: When the instructions are executed by at least one processor, the at least one processor is caused to perform the method according to any one of claims 7 to 11.

Citation Information

Patent Citations

  • Method and system for operating and / or charging a battery powered USB device based on a USB port type

    US20100070659A1

  • Terminal device and power supply method for terminal device

    US20130275779A1

  • Detection circuits

    WO2017119876A1