Electronic device and operating method of electronic device
Patent Information
- Application Number
- CN202580023406.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-07-02
- Filing Date
- 2025-03-21
- Publication Date
- 2026-10-30
AI Technical Summary
[0009]根据示例实施例,可以提供一种存储至少一个指令的非暂时性计算机可读存储介质。至少一个指令在由包括电子装置的处理电路的至少一个处理器单独地和/或共同地执行时,可以使电子装置执行至少一个操作。至少一个操作可以包括:识别连接器中存在水分。至少一个操作可以包括识别外部电子装置通过连接器连接到电子装置。至少一个操作可以包括:基于识别到连接器中存在水分并且外部电子装置通过连接器连接到电子装置,通过第三端口输出用于不通过第一引脚从外部电子装置供应电力或用于降低电力的电压值的请求信号。至少一个操作可以包括:在通过第三端口输出请求信号之后经过指定时间之后,确定通过第一引脚供应的第一电压值是否大于或等于第一参考电压。至少一个操作可以包括:基于确定第一电压值大于或等于第一参考电压,使第二端口与地电断开。
Smart Images

Figure CN123023015A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to an electronic device and a method for operating the electronic device. Background Technology
[0002] Various electronic devices, such as smartphones and tablet PCs, have interfaces (e.g., connectors) for connecting external electronic devices to them via wired connections. These interfaces are standardized through various standards. Among these standards, Universal Serial Bus (USB) is widely used. USB is an industry standard that allows for data exchange and power transfer between various types of electronic devices.
[0003] When using interfaces such as connectors to make wired connections between devices, it is necessary to consider methods for identifying foreign matter (e.g., moisture) that has entered the connector and for preventing / reducing connector corrosion due to foreign matter ingress.
[0004] The above information is provided as relevant technical information to aid in understanding this disclosure. No assertion or determination is made regarding whether the above content constitutes prior art related to this disclosure. Summary of the Invention
[0005] Technical solution
[0006] According to an example embodiment, an electronic device may be provided, comprising: a battery, a connector, and / or a power control circuit. The connector may include a first pin and a second pin spaced apart from each other and configured to connect to an external electronic device. The first pin may be configured to receive power from the external electronic device for charging the battery. The power control circuit may be electrically connected to the connector and includes a first signal path and a second signal path. The first signal path may include a first port electrically connected to the first pin and a first internal signal path portion connected to the first port and configured to transfer power supplied from the external electronic device to the battery. The second signal path may include a second port electrically connected to the second pin and a second internal signal path portion configured to selectively connect the second port to ground. The second internal signal path portion may be configured such that, based on the presence of moisture in the connector when the external electronic device is connected to the connector, the second port is electrically disconnected from ground, and power is not supplied from the external electronic device through the first pin, or the voltage value of the power is reduced.
[0007] According to an example embodiment, an electronic device may be provided, comprising: a battery, a connector, a power management module including power management circuitry, a memory including one or more storage media storing instructions, and / or at least one processor including processing circuitry. The connector may include a first pin, a second pin, and a third pin configured to connect to an external electronic device. The power management module may be electrically connected to the connector and may include a first circuit, a second circuit, and / or a third circuit. The first circuit may be connected to a first port electrically connected to the first pin and configured to transmit power supplied from the external electronic device through the first pin to the battery. The second circuit may be connected to a second port electrically connected to the second pin and configured to selectively connect the second port to ground. The third circuit may be connected to a third port electrically connected to the third pin and configured to send a signal to the external electronic device through the third port. At least one processor may be individually and / or collectively configured to execute instructions and cause the electronic device to perform at least one operation. At least one operation may include identifying the presence of moisture in the connector. At least one operation may include identifying that an external electronic device is connected to the electronic device via the connector. At least one operation may include: based on the detection of moisture in the connector and the connection of an external electronic device to the electronic device via the connector, outputting a request signal via a third port for supplying power from the external electronic device without passing through the first pin or for reducing the voltage value of the power supply. At least one operation may include: after a specified time elapsed following the output of the request signal via the third port, determining whether a first voltage value supplied through the first pin is greater than or equal to a first reference voltage. At least one operation may include: based on the determination that the first voltage value is greater than or equal to the first reference voltage, disconnecting the second port from ground.
[0008] According to an example embodiment, a method for operating an electronic device can be provided. The method may include identifying the presence of moisture in a connector. The method may include identifying that an external electronic device is connected to the electronic device via the connector. The method may include: based on the identification of moisture in the connector and the external electronic device being connected to the electronic device via the connector, outputting a request signal via a third port for supplying power from the external electronic device without passing through a first pin or for reducing the voltage value of the power supply. The method may include: after a specified time elapsed following the output of the request signal via the third port, determining whether a first voltage value supplied through the first pin is greater than or equal to a first reference voltage. The method may include: based on determining that the first voltage value is greater than or equal to the first reference voltage, disconnecting a second port from ground.
[0009] According to an example embodiment, a non-transitory computer-readable storage medium storing at least one instruction can be provided. When executed individually and / or jointly by at least one processor comprising processing circuitry of an electronic device, the at least one instruction can cause the electronic device to perform at least one operation. The at least one operation may include: identifying the presence of moisture in a connector. The at least one operation may include identifying that an external electronic device is connected to the electronic device via the connector. The at least one operation may include: based on the identification of moisture in the connector and the connection of the external electronic device to the electronic device via the connector, outputting a request signal via a third port for supplying power from the external electronic device without passing through the first pin or for reducing the voltage value of the power supply. The at least one operation may include: after a specified time elapsed following the output of the request signal via the third port, determining whether a first voltage value supplied through the first pin is greater than or equal to a first reference voltage. The at least one operation may include: based on the determination that the first voltage value is greater than or equal to the first reference voltage, disconnecting a second port from ground. Attached Figure Description
[0010] The above and other aspects, features, and advantages of certain embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description, wherein:
[0011] Figure 1 This is a block diagram illustrating an electronic device in a network environment according to various embodiments of the present disclosure;
[0012] Figure 2 This is a perspective view showing the connector of an electronic device according to an embodiment;
[0013] Figure 3a It is a schematic diagram including a perspective view of a connector for an electronic device and a connector for an external electronic device according to an embodiment of the present disclosure;
[0014] Figure 3b This is a schematic diagram illustrating an example pin structure of a connector for an electronic device according to an embodiment;
[0015] Figure 4 This is a block diagram illustrating an example configuration of a system including an electronic device and an external electronic device according to embodiments of the present disclosure;
[0016] Figure 5 This is a block diagram illustrating an example configuration of the power control circuitry of an electronic device according to an embodiment of the present disclosure;
[0017] Figure 6a and Figure 6b This is a circuit diagram illustrating an example second control circuit included in the power control circuit of an electronic device according to an embodiment of the present disclosure;
[0018] Figure 7This is a circuit diagram illustrating an example first control circuit included in the power control circuit of an electronic device according to an embodiment of the present disclosure;
[0019] Figure 8 This is a block diagram illustrating an example configuration of the power control circuitry of an electronic device according to an embodiment of the present disclosure;
[0020] Figure 9 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0021] Figure 10 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0022] Figure 11 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0023] Figure 12 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0024] Figure 13 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0025] Figure 14 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0026] Figure 15 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0027] Figure 16 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure;
[0028] Figure 17 This is a schematic diagram illustrating an example screen of an electronic device according to an embodiment of the present disclosure providing a boot message for disconnecting an external electronic device; and
[0029] Figure 18 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0030] Various exemplary embodiments of the present disclosure are described in more detail below with reference to the accompanying drawings. However, the present disclosure may be implemented in various other forms and is not limited to the various exemplary embodiments set forth herein. In this disclosure and the accompanying drawings, the same or similar reference numerals may be used to refer to the same or similar elements. Furthermore, for clarity and brevity, descriptions of well-known functions and configurations in the drawings and related descriptions may be omitted.
[0031] Figure 1 This is a block diagram illustrating an electronic device in a network environment according to various embodiments of the present disclosure.
[0032] Reference Figure 1 In network environment 100, electronic device 101 can communicate with electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or with electronic device 104 or server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, electronic device 101 can communicate with electronic device 104 via server 108. According to an embodiment, electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound 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 (SIM) 196, or an antenna module 197. In an embodiment, at least one of the above components (e.g., connection terminal 178) may be omitted from electronic device 101, or one or more other components may be added to electronic device 101. According to an embodiment, some of the components described above (e.g., sensor module 176, camera module 180, or antenna module 197) may be integrated into a single component (e.g., display module 160).
[0033] Processor 120 may, for example, execute software (e.g., program 140) to control at least one other component (e.g., hardware or software component) of electronic device 101 connected to processor 120, and may perform various data processing or calculations. According to embodiments, as at least part of data processing or calculation, processor 120 may store commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store the resulting data in non-volatile memory 134. According to embodiments, processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or application processor (AP)) that can operate independently of or in conjunction with main processor 121, or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), neural processing unit (NPU), image signal processor (ISP), sensor hub processor, or communication processor (CP)). For example, when electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be configured to use less power than the main processor 121, or may be designated for a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or may be implemented as part of the main processor 121.
[0034] When the main processor 121 is inactive (e.g., in sleep) state, the auxiliary processor 123 can control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190) instead of the main processor 121, or control the aforementioned functions or states together with the main processor 121 when the main processor 121 is active (e.g., executing an application). According to embodiments, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) can be implemented as part of another component (e.g., camera module 180 or communication module 190) functionally associated with the auxiliary processor 123. According to embodiments, the auxiliary processor 123 (e.g., a neural processing unit) can include hardware structures for processing artificial intelligence models. Artificial intelligence models can be generated through machine learning. Such learning can be performed, for example, by the electronic device 101 performing artificial intelligence, or via a separate server (e.g., server 108). Learning algorithms can include, but are not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. Artificial intelligence models can include multiple layers of artificial neural networks. Artificial neural networks can be deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted Boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), deep Q-networks, or combinations of two or more of these, but are not limited thereto. Additionally or alternatively, artificial intelligence models may include software structures in addition to hardware structures.
[0035] Memory 130 may store various data used by at least one component of electronic device 101 (e.g., processor 120 or sensor module 176). The various data may include, for example, software (e.g., program 140) and input or output data for commands associated therewith. Memory 130 may include volatile memory 132 or non-volatile memory 134.
[0036] Program 140 may be stored as software in memory 130 and may include, for example, an operating system (OS) 142, middleware 144, or application 146.
[0037] Input module 150 can receive commands or data from outside the electronic device 101 (e.g., from a user) that will be used by components of the electronic device 101 (e.g., processor 120). Input module 150 may include, for example, a microphone, mouse, keyboard, keys (e.g., buttons), or digital pen (e.g., stylus).
[0038] The audio output module 155 can output audio signals to the outside of the electronic device 101. The audio output module 155 may include, for example, a speaker or a handset. The speaker can be used for general purposes such as playing multimedia or playing recordings. The handset can be used to answer incoming calls. According to an embodiment, the handset can be implemented separately from the speaker, or it can be implemented as part of the speaker.
[0039] Display module 160 can visually provide information to the outside of electronic device 101 (e.g., to a user). Display module 160 may include, for example, a display, a holographic device, or a projector, and control circuitry for controlling a respective one of the display, holographic device, and projector. According to an embodiment, display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by a touch.
[0040] The audio module 170 can convert sound into electrical signals and vice versa. According to an embodiment, the audio module 170 can acquire sound via the input module 150, or output sound via the sound output module 155 or an external electronic device (e.g., electronic device 102) (e.g., a speaker or headphones) that is directly (e.g., wired) or wirelessly connected to the electronic device 101.
[0041] Sensor module 176 can detect the operating state of electronic device 101 (e.g., power or temperature) or the environmental state outside electronic device 101 (e.g., user state), and then generate an electrical signal or data value corresponding to the detected state. According to embodiments, sensor module 176 may include, for example, a gesture sensor, gyroscope sensor, atmospheric pressure sensor, magnetic sensor, accelerometer, grip sensor, proximity sensor, color sensor, infrared (IR) sensor, biometric sensor, temperature sensor, humidity sensor, or illuminance sensor.
[0042] Interface 177 may support one or more specified protocols for enabling electronic device 101 to connect directly (e.g., wired) or wirelessly to external electronic devices (e.g., electronic device 102). According to embodiments, interface 177 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital Card (SD) interface, or an audio interface.
[0043] Connection 178 may include a connector via which electronic device 101 can be physically connected to an external electronic device (e.g., electronic device 102). According to embodiments, connection 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] The haptic module 179 can convert electrical signals into mechanical stimuli (e.g., vibration or motion) or electrical stimuli that can be perceived by a user through their touch or kinesthesia. According to embodiments, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0045] Camera module 180 can capture still or moving images. According to an embodiment, camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0046] The power management module 188 can manage the power supplied to the electronic device 101. According to an embodiment, the power management module 188 can be implemented as at least part of a power management integrated circuit (PMIC).
[0047] Battery 189 can supply power to at least one component of electronic device 101. According to embodiments, battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0048] Communication module 190 can support the establishment of a direct (e.g., wired) or wireless communication channel between electronic device 101 and external electronic devices (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. Communication module 190 may include one or more communication processors that can operate independently of processor 120 (e.g., application processor (AP)) and support direct (e.g., wired) or wireless communication. According to embodiments, communication module 190 may include wireless communication module 192 (e.g., cellular communication module, short-range communication module, or Global Navigation Satellite System (GNSS) communication module) or wired communication module 194 (e.g., local area network (LAN) communication module or power line communication (PLC) module). One of these communication modules can communicate with the external electronic device 104 via a first network 198 (e.g., a short-range communication network such as Bluetooth™, Wi-Fi Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, 5G network, next-generation communication network, the Internet, or a computer network (e.g., a local area network (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 as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can use user information (e.g., the International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196 to identify or authenticate the electronic device 101 in a communication network such as the first network 198 or the second network 199.
[0049] Wireless communication module 192 can support 5G networks following 4G networks and next-generation communication technologies, such as New Radio (NR) access technology. NR access technology can support enhanced mobile broadband (eMBB), massive machine-type communication (mMTC), or ultra-reliable low-latency communication (URLLC). Wireless communication module 192 can support high-frequency bands (e.g., millimeter-wave bands) to achieve, for example, high data transmission rates. Wireless communication module 192 can support various technologies used to ensure high-frequency band performance, such as beamforming, massive MIMO, full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. Wireless communication module 192 can support various requirements specified in electronic device 101, external electronic devices (e.g., electronic device 104), or network systems (e.g., second network 199). According to an embodiment, the wireless communication module 192 may support peak data rates (e.g., 20 Gbps or higher) for implementing eMBB, loss coverage (e.g., 164 dB or lower) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or lower for each of the downlink (DL) and uplink (UL), or round-trip latency of 1 ms or lower) for implementing URLLC.
[0050] Antenna module 197 can transmit or receive signals or power to or from an external source (e.g., an external electronic device). According to an embodiment, antenna module 197 may include an antenna comprising a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, antenna module 197 may include multiple antennas (e.g., an antenna array). In this case, at least one antenna suitable for a communication scheme used in a communication network such as a first network 198 or a second network 199 can be selected from the multiple antennas, for example, by communication module 190. Subsequently, signals or power can be transmitted or received between communication module 190 and an external electronic device via the selected at least one antenna. According to an embodiment, other parts besides the radiator (e.g., a radio frequency integrated circuit (RFIC)) may also be formed as part of antenna module 197.
[0051] According to various embodiments, antenna module 197 can form a millimeter-wave antenna module. According to embodiments, the millimeter-wave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high-frequency band (e.g., millimeter-wave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving signals of the specified high-frequency band.
[0052] At least some of the aforementioned components can be connected to each other and transmit signals (e.g., commands or data) between them via an inter-peripheral communication scheme (e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
[0053] According to an embodiment, commands or data can be sent or received between electronic device 101 and external electronic device 104 via server 108 connected to a second network 199. Each of the external electronic devices 102 or 104 can be a device of the same or different type as electronic device 101. According to an embodiment, all or some operations to be performed at electronic device 101 can be performed at one or more of the external electronic devices 102, 104, or 108. For example, if electronic device 101 is required to automatically or in response to a request from a user or another device to perform a function or service, electronic device 101 may perform the function or service in lieu of performance or request the one or more external electronic devices to perform at least a portion of the function or service in addition to performing the function or service. Upon receiving the request, the one or more external electronic devices may perform at least a portion of the requested function or service, or perform additional functions or services related to the request, and send the execution result to electronic device 101. Electronic device 101 may provide the result as at least part of a response to the request without further processing the result or performing further processing on the result. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technologies can be used, for example. Electronic device 101 can use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In an embodiment, external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, external electronic device 104 or server 108 may be included in a second network 199. Electronic device 101 can be applied to smart services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology or IoT-related technologies.
[0054] According to embodiments, processor 120 may include various processing circuits and / or multiple processors. For example, as used herein (including the claims), the term "processor" may include various processing circuits, including at least one processor, wherein one or more of the at least one processor may be configured individually and / or collectively in a distributed manner to perform the various functions described herein. As used herein, when "a processor," "at least one processor," and "one or more processors" are described as being configured to perform multiple functions, these terms cover, for example and without limitation, situations where one processor performs some of the described functions, while another processor or multiple processors perform other functions of the described functions; and also cover situations where a single processor can perform all the described functions. Additionally, the at least one processor may include, for example, a combination of processors performing the various functions described / disclosed in a distributed manner. The at least one processor may execute program instructions to implement or perform various functions.
[0055] Figure 2 This is a perspective view showing the connector of an electronic device according to an embodiment.
[0056] According to an embodiment, electronic device 200 (e.g., Figure 1 The electronic device 101 can be implemented as a portable electronic device such as a smartphone or tablet PC, but is not limited thereto. The electronic device 200 may include a connector 210 for connecting external electronic devices (e.g., ...). Figure 1 Interface 177 or Figure 1 (Connector 178).
[0057] According to an embodiment, electronic device 200 can be connected to an external electronic device via connector 210, and can send information and / or data to / receive information and / or data (e.g., multimedia data such as audio data and / or other control commands) to and from the connected external electronic device.
[0058] According to an embodiment, when the external electronic device connected to the electronic device 200 via connector 210 is a charging device (e.g., a charger), the electronic device 200 can receive power (or voltage) from the external electronic device and can use at least a portion of the supplied power to power a battery (e.g., ...). Figure 1 Charge the battery (189).
[0059] According to an embodiment, the electronic device 200 may include an opening formed on one side (e.g., a surface) of the housing and a hole connected to the opening, and a connector 210 may be disposed in said hole. For example, as Figure 2As shown, openings and holes can be formed on the lower side of the housing of the electronic device 200, and connector 210 can be disposed therein, but this disclosure is not limited thereto. For example, connector 210 can be disposed on the other side (e.g., surface) of the housing of the electronic device 200.
[0060] Figure 3a It is a schematic perspective view including a connector for an electronic device and a connector for an external electronic device according to an embodiment of the present disclosure. Figure 3b This is a schematic diagram illustrating an example pin structure of a connector for an electronic device according to an embodiment of the present disclosure.
[0061] Reference Figure 3a The connector 320 of the external electronic device can be inserted into the connector 210 of the electronic device 200. According to the embodiment, the type of external electronic device is not limited, and may include, for example, a battery pack that supplies power to the electronic device 200, a device that communicates with the electronic device 200, or an external memory connected to the electronic device 200.
[0062] According to an embodiment, the connector 320 of the external electronic device can be accommodated through a hole provided in the electronic device 200 to physically contact the connector 210 of the electronic device 200 (e.g., connected to or attached to the connector 210 of the electronic device 200), and can be electrically connected to the electronic device 200 based on the physical contact.
[0063] According to an embodiment, the connector 210 and the hole structure of the electronic device 200 can be reversible. For example, the connector 210 can be symmetrical about a first direction perpendicular to the insertion direction of the external electronic device (e.g., from the bottom to the top of the electronic device 200) and a second direction opposite to the first direction. That is, for example, since the connector 210 can be connected in either of two orientations (e.g., forward or inverted), the connector 210 can have double rotational symmetry.
[0064] like Figure 3a As shown, one side or surface (e.g., surface A) of the connector 320 of the external electronic device can be inserted into the connector 210 of the electronic device 200 in a direction parallel to the front side or surface of the electronic device 200 (e.g., the surface where the display of the electronic device 200 is located). That is, for example, after the connector 320 is inserted into the connector 210, surface A of the connector 320 can be positioned parallel to the surface where the display of the electronic device 200 is located. Alternatively, the other side or surface (e.g., surface B) of the connector 320 of the external device can be inserted in a direction parallel to the front side or surface of the electronic device 200. That is, for example, after the connector 320 is inserted into the connector 210, surface B of the connector 320 can be positioned parallel to the surface where the display of the electronic device 200 is located.
[0065] According to an embodiment, connector 210 may include a plurality of pins (or terminals). According to an embodiment, when connector 320 of external electronics is inserted in a different orientation (e.g., inverted), each pin of connector 320 of external electronics that is electrically connected to each pin included in connector 210 of electronics 200 may be different.
[0066] According to embodiments, connector 210 and / or connector 320 may be connectors according to the USB standard. Connector 210 may be, for example, a Type-C connector conforming to the USB Type-C standard, but is not limited thereto. For example, various standard wired interfaces or non-standard wired interfaces such as High Definition Multimedia Interface (HDMI), Recommended Standard 232 (RS232), Power Line Communication, or Common Old-Style Telephone Service (POTS) may be applied to connector 210 and / or connector 320 of this disclosure. For example, connectors capable of transmitting data that can be used to automatically detect which devices are connected between a power-supplying source device and a power-receiving sink device or between a data-providing downstream facing port (DFP) and a data-receiving upstream facing port (UFP) (e.g., data transmitted from Configuration Channel 1 (CC1) pins and / or Configuration Channel 2 (CC2) pins included in the USB Type-C standard) may be applied to various embodiments of this disclosure.
[0067] like Figure 3b As shown, the USB Type-C connector can have 12 pins on each of the A lines (or rows) and B lines (or rows) that can be symmetrical to each other.
[0068] According to an embodiment, the pins included in connector 210 may be spaced apart from each other. According to an embodiment, electronic device 200 can send and / or receive data signals through the A6(D+) / B6(D+) pins and / or A7(D-) / B7(D-) pins of connector 210. For example, electronic device 200 (or an external electronic device) can send data to an external electronic device through the A6(D+) / B6(D+) pins. Since the role and / or function of each pin in various operating modes is defined by the USB Type-C standard, a description of the role of each pin is omitted. In this disclosure, the D+ pin may be referred to as the DP pin, and the D- pin may be referred to as the DN pin.
[0069] According to an embodiment, when electronic device 200 is connected to an external electronic device, electronic device 200 can exchange electrical signals (e.g., digital ID or resistance ID) with the external electronic device through pin A5 (CC1) and / or pin B5 (CC2). For example, electronic device 200 can detect the type of external electronic device connected through connector 210 based on the voltage or resistance value corresponding to the electrical signal.
[0070] According to an embodiment, electronic device 200 can establish and / or manage communication connections between electronic device 200 and external electronic devices via CC1 pin or CC2 pin. For example, the CC pin can be used to automatically detect which devices are connected between the source device and the powered device or between the DFP and the UFP. In this disclosure, CC1 pin or CC2 pin can be collectively referred to as the CC pin.
[0071] According to an embodiment, the electronic device 200 can detect moisture in the connector 210 based on the CC pin of the connector 210. For example, the electronic device 200 can detect moisture by identifying the resistance value corresponding to the CC pin as the resistance value corresponding to moisture.
[0072] According to an embodiment, electronic device 200 can receive power or power signals (e.g., power or voltage) from an external electronic device via the A4 (Vbus) / A9 (Vbus) / B4 (Vbus) / B9 (Vbus) pins. For example, electronic device 200 can receive power or voltage from an external electronic device via the Vbus pin.
[0073] Figure 4 This is a block diagram illustrating an example configuration of a system including an electronic device and an external electronic device according to embodiments of the present disclosure.
[0074] Reference Figure 4 Electronic device 101 (e.g., Figure 2 The electronic device 200 may include a processor (e.g., including processing circuitry) 120, a memory 130, an interface (e.g., including circuitry) 177, a power management module (e.g., including power management circuitry) 188, and / or a battery 189.
[0075] According to an embodiment, interface 177 may include at least one connector (e.g., Figures 2 to 3b The connector 210), and the electronic device 101 can be connected to an external electronic device 410 (e.g., a charging device) via the connector. The external electronic device 410 may include a connector corresponding to the connector of the electronic device 101, which can be connected to the interface 177 (e.g., connector 210), and the electronic device 101 can be connected to an external electronic device 410 (e.g., a charging device). Figure 3a Connector 320).
[0076] According to an embodiment, the processor 120 of the electronic device 101 may include various processing circuits, and via the CC1 pin included in the interface 177 (e.g., Figure 3b The A5 (CC1) pin) and / or CC2 pin (e.g., Figure 3b The processor 120 uses the B5 (CC2) pin to detect the connection of external electronic device 410 and / or identify the type of the connected external electronic device 410. For example, the processor 120 can measure the voltage and / or resistance values corresponding to the external electronic device 410 via the CC1 and / or CC2 pins, detect the connection of the external electronic device 410 based on the measured voltage and / or resistance values, and / or identify the type of the external electronic device 410 (e.g., a data providing device or a source device). The above description of the processor 120 also applies here.
[0077] According to an embodiment, the power management module 188 may include various power management circuits and, under the control of the electronic device 101 (or the processor 120 of the electronic device 101), transmits power (or voltage) supplied from the external electronic device 410 to the battery 189. At least a portion of the transmitted power may be used to charge the battery 189.
[0078] According to an embodiment, the external electronic device 410 may include a power supply module (e.g., including a power supply circuit) 411, a processor (e.g., including a processing circuit) 412, a memory 413, and / or an interface (e.g., including an interface circuit) 414.
[0079] According to an embodiment, interface 414 may include at least one connector (e.g., Figures 2 to 3b The connector 210), and the external electronic device 410 can be connected to the electronic device 101 via the connector.
[0080] According to an embodiment, the processor 412 of the external electronic device 410 may include various processing circuits and detects the connection of the electronic device 101 and / or identifies the type of the connected electronic device 101 through the CC1 pin and / or CC2 pin provided in the interface 414. For example, the processor 412 may measure the voltage and / or resistance values corresponding to the electronic device 101 through the CC1 pin and / or CC2 pin, detect the connection of the electronic device 101 based on the measured voltage and / or resistance values, and / or identify the type of the electronic device 101 (e.g., a powered device). The above description of the processor 120 also applies to the processor 412.
[0081] According to an embodiment, the external electronic device 410 may include a charging device (e.g., a PD charger) that supports charging functionality. The external electronic device 410 may or may not support protection functions (e.g., Hiccup functionality, but is not limited thereto).
[0082] According to an embodiment, the power supply module 411 may include a power supply circuit. The power supply module 411 (or power supply circuit) may supply power to the electronic device 100, for example, via the Vbus pin of interface 177 (e.g., A5 / A9 / B4 / B9 (Vbus) pins).
[0083] According to an embodiment, the power supply module 411 (or power supply circuit) may include a pulse width modulation (PWM) module, an AC-to-DC converter, and a synchronous rectifier. The PWM module can control the voltage of the power received from the socket (or internal battery) via pulse width modulation. The AC / DC converter can convert the AC voltage received from the socket into a DC voltage. The synchronous rectifier can improve charging efficiency by converting a low-voltage DC signal into a high-voltage DC signal.
[0084] According to an embodiment, the power supply module 411 (or power supply circuit) can change the charging power (e.g., charging voltage and / or charging current) under the control of the processor 412.
[0085] According to an embodiment, the processor 412 can at least partially control each component included in the external electronic device 410.
[0086] According to an embodiment, when an external electronic device 410 is connected to electronic device 101, the processor 412 of the external electronic device 410 can detect the connection to electronic device 101 via the CC1 pin and / or CC2 pin. According to an embodiment, in response to the connection to electronic device 101, the processor 412 of the external electronic device 410 can apply a setting voltage (e.g., approximately 5 V) to electronic device 101 via the Vbus pin included in interface 177. The processor 120 of electronic device 101 can control the power management module 188 to charge the battery 189 based on the provided voltage.
[0087] According to an embodiment, the processor 120 of the electronic device 101 can be based on at least one pin included in the interface 177 (e.g., Figure 3b Moisture is detected via the CC1 pin, CC2 pin, and / or SBU pin. Figure 3b As shown, SBU is an auxiliary bus pin and may include SBU1 and SBU2 pins. The CC pin is described below as an example of a pin used for sensing moisture, but this disclosure is not limited thereto. For example, another type of pin (e.g., the SBU pin) can be used to detect moisture. For example, a separate moisture sensing pin can be used to detect moisture in addition to the pins of USB Type-C.
[0088] According to an embodiment, processor 120 can adjust the open / closed state of at least one switch, causing the CC pin to change to an open state. The CC pin being in an open state can, for example, mean that the CC pin is in a high-impedance state (e.g., a state where a very high resistance value is applied), and can also mean that no electrical signal is being sent to or received from the CC pin. With the CC pin changing to a high-impedance state, the processor 412 of external electronic device 410 can stop supplying power to electronic device 101.
[0089] According to an embodiment, the processor 412 of the external electronic device 410 can send an electrical signal to the CC pin of the electronic device 101, identify the connection with the electronic device 101 based on the electrical signal, and supply power to the electronic device 101. When the CC pin of the electronic device 101 is in an open circuit state, the external electronic device 410 may not be able to identify whether the electronic device 101 is connected, and may not supply power to the electronic device 101.
[0090] Figure 5 This is a block diagram illustrating an example configuration of the power control circuitry of an electronic device according to an embodiment of the present disclosure.
[0091] exist Figure 5 In the embodiments described, it can be understood that the operation performed by the power control circuit 500 is in an electronic device (e.g., Figure 1 Electronic device 101 or Figure 2 The electronic device 200) or the processor of the electronic device (e.g., Figure 1 It is executed under the control of the processor 120.
[0092] According to an embodiment, the power control circuit 500 may be included in an electronic device (e.g., Figure 1 Electronic device 101 or Figure 2 The electronic device 200). For example, the power control circuit 500 may be included in the power management module of the electronic device (e.g., Figure 1 In the power management module 188).
[0093] According to an embodiment, the power control circuit 500 may include multiple ports (e.g., a first port 511 and a second port 512) and / or multiple control circuits (e.g., a first control circuit 521 and a second control circuit 522). In this disclosure, the first control circuit 521 may be referred to as the first circuit, and the second control circuit 522 may be referred to as the second circuit.
[0094] According to an embodiment, the power control circuit 500 may be electrically connected to the interface 177. The interface 177 may include, for example, at least one connector (e.g., Figures 2 to 3b Connector 210).
[0095] According to an embodiment, interface 177 may include being configured to connect to an external electronic device (e.g., Figure 4 The external electronic device 410) has multiple pins. For example, the interface 177 may include a first pin 501 and a second pin 502. The first pin 501 and the second pin 502 may be spaced apart from each other in the interface 177.
[0096] According to an embodiment, the first pin 501 can be used to receive a battery (e.g., from an external electronic device) for powering the electronic device. Figure 1 The power (or voltage) used to charge the battery 189. The first pin 501 can be, for example, a... Figure 3b Vbus pin (e.g., Figure 3b (Pin A4, pin A9, pin B4, or pin B9).
[0097] According to an embodiment, the second pin 502 can be used to establish and / or manage a communication connection between the electronic device and an external electronic device. The second pin 502 can be, for example, Figure 3b CC pin (e.g., Figure 3b (A5 pin CC1 or B5 pin CC2).
[0098] According to an embodiment, each port can be electrically connected to a corresponding pin and a corresponding control circuit. For example, the first port 511 can be electrically connected to the first pin 501 and the first control circuit 521. For example, the second port 512 can be electrically connected to the second pin 502 and the second control circuit 522.
[0099] According to an embodiment, the power control circuit 500 (e.g., Figure 4 The power management module 188 can supply power from an external electronic device to the battery 189 via the first pin 501.
[0100] According to an embodiment, the first control circuit 521 may be electrically connected to the first port 511 and may include a first circuit portion configured to detect the voltage state of the first port 511 supplied from an external electronic device via the first pin 501.
[0101] According to an embodiment, the second control circuit 522 may be electrically connected to the second port 512 and may include a second circuit portion configured to selectively connect the second port 512 to the ground GND of an external electronic device.
[0102] According to an embodiment, the power control circuit 500 may include signal paths, which include a first signal path SP1 and / or a second signal path SP2. The signal transmitted to the first signal path SP1 may include, for example, an electrical signal. In this disclosure, the first signal path SP1 and the second signal path SP2 may be referred to as the first path and the second path, respectively.
[0103] According to an embodiment, the first signal path SP1 may be a signal path including a first port 511 electrically connected to the first pin 501. According to an embodiment, the second signal path SP2 may be a signal path including a second port 512 electrically connected to the second pin 502.
[0104] According to an embodiment, the first signal path SP1 may include a first port 511 electrically connected to the first pin 501 and a first internal signal path portion electrically connected to the first port 511 and configured to transmit power supplied from an external electronic device through the first pin 501 to the battery 189.
[0105] According to an embodiment, the first signal path SP1 may include a first port 511 electrically connected to the first pin 501 and a first control circuit 521 electrically connected to the first port 511.
[0106] According to an embodiment, the second signal path SP2 may include a second port 512 electrically connected to the second pin 502 and a second internal signal path portion electrically connected to the second port 512 and configured to selectively connect the second port 512 and ground GND. The second internal signal path portion may correspond to, for example, the second circuit portion of the second control circuit 522 described above.
[0107] According to an embodiment, the power control circuit 500 can be configured to: disconnect the second port 512 from ground (GND) based on the presence of moisture in the interface 177, and not supply power from the external electronic device through the first pin 501, or reduce the voltage value of the power supplied through the first pin 501. For example, the second circuit portion (or the second internal signal path portion) of the second control circuit 522 can be configured to: disconnect the second port 512 from ground (GND) based on the presence of moisture in the interface 177 when the external electronic device is connected to the interface 177, and not supply power from the external electronic device through the first pin 501, or reduce the voltage value of the power supplied through the first pin 501. This voltage value can, for example, be set to be lower than (or less than) a reference voltage value.
[0108] According to an embodiment, the second circuit portion (or the second internal signal path portion) of the second control circuit 522 may include a switch disposed between the second port 512 and ground GND. The power control circuit 500 may be configured to electrically disconnect the second port 512 from ground GND based on the switch being open. For example, the power control circuit 500 may disconnect the second port 512 from ground GND by setting the switch to an open state. The power control circuit 500 may also be configured to electrically connect the second port 512 to ground GND based on the switch being closed. For example, the power control circuit 500 may connect the second port 512 to ground GND by setting the switch to a closed state. Referring below... Figure 6a and Figure 6b An example of a second control circuit 522, including a switch, is described in more detail.
[0109] Figure 6a and Figure 6b This is a circuit diagram illustrating a second control circuit included in the power control circuit of an electronic device according to an embodiment of the present disclosure.
[0110] exist Figure 6a and Figure 6b In one embodiment, the second control circuit may be Figure 5 An example of the second control circuit 522 included in the power control circuit 500. Figure 6a and Figure 6b In the embodiment, the second pin 502 may be, for example, Figure 3b The CC pin.
[0111] exist Figure 6a and Figure 6b In the embodiments described, it can be understood that the operation performed by the power control circuit 500 is in an electronic device (e.g., Figure 1 Electronic device 101 or Figure 2 The electronic device 200) or the processor of the electronic device (e.g., Figure 1 It is executed under the control of the processor 120.
[0112] Reference Figure 6a The second control circuit 522 may be electrically connected to the second port 512 and may include a switch 610 and / or a resistor 620.
[0113] According to an embodiment, switch 610 may be disposed between the second port 512 and ground GND, and configured to selectively connect the second port 512 (or the second pin 502) and ground GND. For example, switch 610 may electrically connect or disconnect the second port 512 from ground GND depending on the open / closed state of switch 610.
[0114] According to the embodiments, the switch 610 may include, for example, a bipolar junction transistor (BJT), a field-effect transistor (FET), a thyristor, a relay switch, an insulated gate bipolar transistor (IGBT), a microelectromechanical system (MEMS) switch, etc., but is not limited thereto.
[0115] According to an embodiment, the power control circuit 500 can disconnect the second port 512 from ground GND by setting the open / closed state of switch 610 to the open state. The power control circuit can also connect the second port 512 to ground GND by setting the open / closed state of switch 610 to the closed state.
[0116] According to an embodiment, the power control circuit 500 can change the open / closed state of switch 610 from a first state to a second state, thereby changing the connection state between the second port 512 and ground GND. For example, the power control circuit 500 can change the open / closed state of switch 610 from an open state to a closed state, thereby changing the connection state between the second port 512 and ground GND from an electrically disconnected state to an electrically connected state. For example, the power control circuit 500 can change the open / closed state of switch 610 from a closed state to an open state, thereby changing the connection state between the second port 512 and ground GND from an electrically connected state to an electrically disconnected state.
[0117] According to an embodiment, based on the identification of an external electronic device (e.g., Figure 4 External electronic device 410) is connected via a connector (e.g., interface 177 or Figures 2 to 3b Connector 210) is connected to an electronic device (e.g., Figure 1 The electronic device 101) and the power control circuit 500 can set the switch 610 to the closed state, so that the second port 512 is electrically connected to ground GND through the resistor 620.
[0118] According to an embodiment, resistor 620 may be disposed between switch 610 and ground GND. Second port 512 (or second pin 502) may be electrically connected to ground GND via resistor 620.
[0119] According to an embodiment, resistor 620 may be a pull-down resistor Rd of the second pin 502 (or the second port 512). Resistor 620 may be set to, for example, 5.1 kΩ.
[0120] According to an embodiment, resistor 620 can be used to enable an external electronic device connected to the electronic device via a connector to detect the connection of the electronic device.
[0121] According to an embodiment, resistor 620 can be used to conduct charging negotiation between an electronic device connected via a connector and an external electronic device. For example, resistor 620 can be used to enable the electronic device to operate as a powered device (e.g., a power consumer).
[0122] Reference Figure 6b The second control circuit 522 may further include at least one current source (e.g., a first current source 631 and / or a second current source 632), at least one switch (e.g., a first switch 641 and / or a second switch 642) connected to the at least one current source, and / or a comparator 650. Regarding Figure 6b The descriptions of switch 610 and resistor 620 can be found in [reference]. Figure 6a The description is provided, and its repeated description may be omitted here.
[0123] According to an embodiment, the first current value supplied by the first current source 631 may be different from the second current value supplied by the second current source 632. For example, the first current value supplied by the first current source 631 (e.g., 1 μA) may be less than the second current value supplied by the second current source 632 (e.g., 80 μA). In this disclosure, the first current source 631 and the second current source 632 may be collectively referred to as current sources, and the first switch 641 and the second switch 642 may be collectively referred to as switches.
[0124] According to an embodiment, switches 641 and 642 can selectively connect a corresponding current source 631 or 632 to the second port 512 (or the second pin 502). For example, the first switch 641 can electrically connect or disconnect the first current source 631 connected to the first switch 641 from the second pin 502. For example, the second switch 642 can electrically connect or disconnect the second current source 632 connected to the second switch 642 from the second pin 502.
[0125] According to the embodiments, switch 641 or 642 may be, for example, a BJT, FET, thyristor, relay switch, IGBT or MEMS switch, but is not limited thereto.
[0126] According to an embodiment, switch 610, first switch 641, and second switch 642 can be synchronized (or associated) with each other. For example, during normal operation (e.g., Figure 14In the normal state operation of operation 1410, when any one of switch 610, first switch 641, and second switch 642 is in the closed state, all other switches can be in the open state. According to an embodiment, in the normal state operation, when switch 610 is in the closed state, first switch 641 and second switch 642 can be in the open state. In this case, the CC pin can be electrically connected to ground via resistor 620. According to an embodiment, in the normal state operation, when first switch 641 is in the closed state, switch 610 and second switch 642 can be in the open state. In this case, first current source 631 can be connected to the CC pin, and a first current value of first current source 631 can be supplied to the CC pin. According to an embodiment, in the normal state operation, when second switch 642 is in the closed state, switch 610 and first switch 641 can be in the open state. In this case, second current source 632 can be connected to the CC pin, and a second current value of second current source 632 can be supplied to the CC pin. Therefore, only one component (e.g., resistor 620, first current source 631, or second current source 632) can be connected to the second pin 502 at a time.
[0127] Table 1 shows the opening / closing operations of the switch under normal conditions. The opening / closing operations of the switch in Table 1 are only examples of the opening / closing states of the switch under normal conditions, and the switch can be opened / closed in different ways.
[0128] [Table 1]
[0129]
[0130] According to the embodiment, in the normal state, the CC pin (or the second control circuit 522) can periodically repeat the pull-up and pull-down states. Therefore, in the normal state, the pull-up resistor Rp and the pull-down resistor Rd can be periodically connected to the CC pin. For example, as shown in Table 1, in the first time interval, switch 610 can be in the closed state, and the second switch 641 and the second switch 642 can operate in the open state to be in the pull-down state. In the second time interval, which is the next time interval after the first time interval, the first switch 641 can operate in the closed state, and switches 610 and 642 can operate in the open state to be in the pull-up state. In the third time interval, which is the next time interval after the second time interval, similarly to the first time interval, switch 610 can be in the closed state, and the second switch 641 and the second switch 642 can operate in the open state to be in the pull-down state. Thus, in the normal state, under the control of the switches of the power control circuit 500, the pull-up and pull-down states can be periodically repeated. According to an embodiment, when an external electronic device is connected via interface 177, the second control circuit 522 can control the operation of the third time interval to continue.
[0131] According to an embodiment, the second switch 642 can be omitted as an optional component. In this case, the operation in each time interval in Table 1 above can be described using only the operation of switch 610 and the second switch 641.
[0132] Table 2 shows the opening / closing operations of the switch under abnormal conditions (e.g., when foreign objects or moisture are detected). The opening / closing operations of the switch in Table 2 are merely examples of the opening / closing operations of the switch under abnormal conditions, and the switch may be opened / closed in another manner.
[0133] [Table 2]
[0134]
[0135] According to an embodiment, the power control circuit 500 can determine whether the CC pin is in an abnormal state when the first switch 641 is closed. For example, as shown in the fourth time interval in Table 2, the power control circuit 500 can operate the first switch 641 in the closed state and operate the switch 610 and the second switch 642 in the open state, and determine whether the CC pin is in an abnormal state based on the voltage value of the CC pin when the first switch 641 is closed.
[0136] According to an embodiment, based on the determination that the CC pin is in an abnormal state when the first switch 641 is closed, the power control circuit 500 can change the second switch 642 from an open state to a closed state, and determine whether moisture exists in the open state of the second switch 642. For example, when it is determined that the CC pin is in an abnormal state when the first switch 641 is closed (e.g., the switching state of the fourth time interval), as shown in the fifth time interval of Table 2, the power control circuit 500 can operate the second switch 642 in the closed state and operate the switches 610 and the first switch 641 in the open state, and determine whether moisture exists in the CC pin in the abnormal state based on the voltage value of the CC pin. Thus, for example, when an abnormal state is detected in the switching state of the fourth time interval, additional operations for moisture detection can be performed in the switching state of the fifth time interval. Based on the determination that moisture exists in the closed state of the second switch 642, the power control circuit 500 can set all switches 610, the first switch 641, and the second switch 642 to the open state. For example, when moisture is detected in the closed state of the second switch 642 (e.g., the switching state of the fifth time interval), as shown in the sixth time interval of Table 2, the power control circuit 500 can set all switches 610, 641, and 642 to the open state. Thus, for example, when moisture is detected in the switching state of the fifth time interval, the circuit can switch to the switching state of the sixth time interval.
[0137] According to an embodiment, based on the determination that the CC pin is in an abnormal state when the first switch 641 is closed, the power control circuit 500 can set all switches 610, 641, and 642 to the open state. For example, when it is determined that the CC pin is in an abnormal state when the first switch 641 is closed (e.g., the switch state of the fourth time interval), as shown in the sixth time interval of Table 2, the power control circuit 500 can set all switches 610, 641, and 642 to the open state. Thus, for example, when an abnormal state is detected in the switch state of the fourth time interval, the system can immediately switch to the switch state of the sixth time interval instead of operating in the switch state of the fifth time interval. According to an embodiment, after all switches 610, 641, and 642 are open, the power control circuit 500 can be configured to repeat the switch states of the fifth and sixth time intervals.
[0138] According to an embodiment, the second switch 642 can be omitted as an optional component. In this case, the operations in each time interval in Table 2 above can be described using only the operations of switch 610 and the first switch 641. For example, the switching operation of the fifth time interval between the fourth and sixth time intervals in Table 2 can be omitted.
[0139] Table 3 shows the opening / closing operations of the switches under abnormal conditions (e.g., when foreign objects or moisture are detected). The opening / closing operations of the switches in Table 3 are merely examples of the opening / closing operations of the switches under abnormal conditions, and the switches may open / close in different ways.
[0140] [Table 3]
[0141]
[0142] According to an embodiment, the power control circuit 500 can determine whether the CC pin is in an abnormal state when the first switch 641 is closed. For example, as shown in the seventh time interval in Table 3, the power control circuit 500 can operate the first switch 641 in the closed state and operate the switch 610 and the second switch 642 in the open state, and determine whether the CC pin is in an abnormal state based on the voltage value of the CC pin when the first switch 641 is closed.
[0143] According to an embodiment, based on the determination that the CC pin is in an abnormal state when the first switch 641 is closed, the power control circuit 500 can change the second switch 642 from an open state to a closed state and determine whether moisture is present. For example, when the first switch 641 is closed (e.g., the switching state of the seventh time interval), as shown in the ninth time interval of Table 3, the power control circuit 500 can operate the second switch 642 in the closed state and operate the switches 610 and the first switch 641 in the open state, and determine whether moisture is present in the CC pin in the abnormal state based on the voltage value of the CC pin. Based on the determination that moisture is present when the second switch 642 is closed, the power control circuit 500 can set all switches 610, the first switch 641, and the second switch 642 to the open state. For example, when it is determined that moisture is present when the second switch 642 is closed (e.g., the switching state of the ninth time interval), as shown in the tenth time interval of Table 3, the power control circuit 500 can set all switches 610, the first switch 641, and the second switch 642 to the open state.
[0144] According to an embodiment, based on the determination that the CC pin is in an abnormal state when the first switch 641 is closed, the power control circuit 500 can set all switches 610, 641, and 642 to the open state. For example, when it is determined that the CC pin is in an abnormal state when the first switch 641 is closed (e.g., the switch state in the seventh time interval), as shown in the eighth time interval of Table 3, the power control circuit 500 can set all switches 610, 641, and 642 to the open state. With all switches 610, 641, and 642 open, the power control circuit 500 can change the second switch 642 from the open state to the closed state and determine whether moisture is present. For example, with all switches 610, 641, and 642 open (e.g., the switch state in the eighth time interval), as shown in the ninth time interval of Table 3, the power control circuit 500 can operate the second switch 642 in the closed state and operate switches 610 and 641 in the open state, and determine whether moisture is present in the CC pin in the abnormal state based on the voltage value of the CC pin. Based on the determination that moisture exists when the second switch 642 is closed, the power control circuit 500 can set all switches 610, 641, and 642 to the open state. For example, when moisture is determined to exist when the second switch 642 is closed (e.g., the switch state of the ninth time interval), as shown in the tenth time interval of Table 3, the power control circuit 500 can set all switches 610, 641, and 642 to the open state.
[0145] According to an embodiment, the second switch 642 can be omitted as an optional component. In this case, the operations in each time interval in Table 3 above can be described using only the operations of switch 610 and the first switch 641. For example, the switching operation of the ninth time interval between the eighth and tenth time intervals in Table 3 can be omitted.
[0146] According to an embodiment, the first current source 631, the second current source 632, and / or the comparator 650 can be used to determine whether moisture is present in the second pin 502 (or the second port 512). For example, the power control circuit 500 can be configured to connect the first current source 631 to the second pin 502 via switch control (e.g., controlling the first switch 641 to be closed and the second switch 610 and the second switch 642 to be open), and use the comparator 650 to determine whether the second pin 502 is in an abnormal state based on a first voltage value (or a first resistance value of the second pin 502 corresponding to the first voltage value) obtained as the voltage value of the second pin 502 when the first current source 631 is connected to the second pin 502. The power control circuit 500 can use the comparator 650 to determine that it is in an abnormal state, for example, when the first voltage value (or the first resistance value) is within a specified first range, and to determine that it is not in an abnormal state when the first voltage value (or the first resistance value) is not within the specified first range. For example, based on determining that the second pin 502 is in an abnormal state, the power control circuit 500 can be configured to connect the second current source 632 to the second pin 502 via switch control (e.g., controlling the second switch 642 to be closed and the switches 610 and 641 to be open), and use a comparator 650 to determine whether moisture is present in the second pin 502 based on a second voltage value (or a second resistance value of the second pin 502 corresponding to the second voltage value) obtained as the voltage value of the second pin 502 when the second current source 632 is connected to the second pin 502. The power control circuit 500 can use the comparator 650 to determine the presence of moisture, for example, when the second voltage value (or second resistance value) is within a specified second range, and to determine the absence of moisture when the first voltage value (or first resistance value) is not within the specified second range. According to an embodiment, the specified first range for determining the abnormal state and the specified second range for determining the presence of moisture can be different ranges.
[0147] According to an embodiment, comparator 650 can be used to monitor the voltage at the second pin 502 (or the second port 512). For example, comparator 650 can obtain an output value (e.g., a high value (e.g., 1) or a low value (e.g., 0)) by comparing the voltage at the second pin 502 with a reference voltage Vref. The reference voltage of comparator 650 can be set to be different or the same depending on the components connected to the second pin 502 (e.g., resistor 620, first current source 631, or second current source 632 to the second pin 502).
[0148] According to an embodiment, the power control circuit 500 can be configured to monitor the voltage of the second pin 502 via a comparator 650 to identify whether an external electronic device is connected. The power control circuit 500 can also be configured to monitor the voltage of the second pin 502 via the comparator 650 to identify the power profile that the external electronic device can provide. The power control circuit 500 can monitor the voltage of the second pin 502 via the comparator 650 to determine whether the resistance value corresponding to the second pin 502 is within a specified range. When the resistance value corresponding to the second pin 502 is within the specified range, the power control circuit 500 can identify or determine that moisture is present in the connector. When the resistance value corresponding to the second pin 502 is not within the specified range, the power control circuit 500 can identify or determine that moisture is not present in the connector.
[0149] Figure 7 This is a circuit diagram illustrating a first control circuit included in the power control circuit of an electronic device according to an embodiment of the present disclosure.
[0150] exist Figure 7 In the embodiments, the first control circuit may be Figure 5 An example of the first control circuit 521 included in the power control circuit 500. Figure 7 In some embodiments, the first pin 501 may be, for example... Figure 3b The Vbus pin.
[0151] exist Figure 7 In the embodiments described, it can be understood that the operations performed by the power control circuit 500 in the electronic device (e.g., Figure 1 Electronic device 101 or Figure 2 The electronic device 200) or the processor of the electronic device (e.g., Figure 1 It is executed under the control of the processor 120.
[0152] Reference Figure 7 The first control circuit 521 may include a comparator 710.
[0153] According to an embodiment, comparator 710 can be used to monitor the voltage of the first pin 501 (or the first port 511). For example, comparator 710 can obtain an output value (e.g., a high or low value) by comparing the voltage Vbus at the first pin 501 with a reference voltage Vref.
[0154] According to an embodiment, the power control circuit 500 can monitor the voltage of the first pin 501 via the comparator 710 to determine whether power is being supplied from an external electronic device (e.g., via the first pin 501). Figure 4 External electronic device 410) supplies power to the battery (e.g., Figure 1The power (or voltage) for charging the battery 189. For example, when the voltage value (Vbus value) of the first pin 501 is detected to be lower than (or less than) the reference voltage value (Vref value) (e.g., output low value (e.g., 0)), the power control circuit 500 can determine that no voltage for charging the battery is being supplied from the external electronics through the first pin 501. When the voltage value (e.g., Vbus value) of the first pin 501 is detected to be greater than (or higher than) the reference voltage value (Vref value) (e.g., output high value (e.g., 1)), the power control circuit 500 can determine that the voltage for charging the battery is being supplied normally from the external electronics through the first pin 501.
[0155] Figure 8 This is a block diagram illustrating an example power control circuit of an electronic device according to an embodiment of the present disclosure.
[0156] exist Figure 8 In some embodiments, the first pin 501 may be, for example... Figure 3b The Vbus pin, the second pin 502 can be, for example Figure 3b The CC pin, and the third pin 503 can be, for example... Figure 3b The DP / DN pins are used, but it should be understood that this disclosure is not limited thereto.
[0157] exist Figure 8 In the embodiments described, it can be understood that the operations performed by the power control circuit 500 in the electronic device (e.g., Figure 1 Electronic device 101 or Figure 2 The electronic device 200) or the processor of the electronic device (e.g., Figure 1 It is executed under the control of the processor 120.
[0158] Reference Figure 8 The power control circuit 500 may include: a first port 511 electrically connected to a first pin 501; a second port 512 electrically connected to a second pin 502; a third port 513 electrically connected to a third pin 503; a first control circuit 521 electrically connected to the first port; a second control circuit 522 electrically connected to the second port 512; and / or a third control circuit 523 electrically connected to the third port 513. For a description of the first port 511, the second port 512, the first control circuit 521, and / or the second control circuit 522, please refer to... Figure 5 , Figure 6a , Figure 6b and Figure 7 (It can be called) Figures 5 to 7 The description of ) is omitted here.
[0159] According to an embodiment, the power control circuit 500 may be included in an electronic device (e.g., Figure 1Electronic device 101 or Figure 2 The electronic device 200). For example, the power control circuit 500 may be included in the power management module of the electronic device (e.g., Figure 1 In the power management module 188).
[0160] According to an embodiment, the power control circuit 500 can be electrically connected to the interface 177 (e.g., Figures 2 to 3b (Connector 210). For example, the power control circuit 500 can be electrically connected to the first pin 501, the second pin 502, and the third pin 503 of the interface 177 via the first port 511, the second port 512, and the third port 513, respectively. The first pin 510, the second pin 502, and the third pin 503 of the interface 177 can be spaced apart from each other in the interface 177.
[0161] According to an embodiment, the power control circuit 500 (e.g., Figure 4 The power management module 188 can supply power from an external electronic device to the battery 189 via the first pin 501.
[0162] According to an embodiment, the first control circuit 521 may include a first circuit portion electrically connected to the first port 511 to detect the voltage state of the first port 511 supplied from an external electronic device via the first pin 501.
[0163] According to an embodiment, the second control circuit 522 may include a second circuit portion configured to selectively connect the second port 512 to the ground (GND) of an external electronic device.
[0164] According to an embodiment, the third control circuit 523 may include a third circuit portion configured to: based on the detection of moisture in interface 177, output a request signal through a third port 513 (or third pin 503) to request that power (or voltage) not be supplied from the external electronic device through the first pin 501 or that the value of the supplied power (or voltage) be reduced. For example, the third control circuit 523 may include a third circuit portion configured to: based on the detection of moisture in the connector when the external electronic device is connected to the connector, output a request signal through a third port 513 (or third pin 503) to request that power (or voltage) not be supplied from the external electronic device through the first pin 501 or that the value of the supplied power (or voltage) be reduced. For example, the third control circuit 523 may include a third circuit portion configured to: upon detecting the presence of moisture in the connector and the external electronic device being connected to the electronic device via the connector, output a request signal via a third port 513 (or a third pin 503) to request that power (or voltage) not be supplied from the external electronic device through the first pin 501 or that the value of the supplied power (or voltage) be reduced. For example, the third control circuit 523 may include a third circuit portion configured to: when moisture is detected in the connector and the external electronic device is connected to the electronic device via the connector, determine whether the voltage value supplied through the first pin 501 is higher than or equal to a reference voltage, and based on the determination that the voltage value is higher than or equal to the reference voltage, output a request signal via the third port 513 to request that power not be supplied from the external electronic device through the first pin 501 or that the voltage value of the power be reduced. The request signal output via the third port 513 can be transmitted to the external electronic device.
[0165] According to an embodiment, the second control circuit 522 may include a second circuit portion configured to disconnect the second port 512 (or second pin 502) from ground GND based on the fact that, after a specified time has elapsed since the request signal from the third control circuit 523 was output through the third port 513 (or third pin 503), the voltage value supplied from the external electronic device through the first pin 501 remains substantially the same. For example, the second control circuit 522 may include a second circuit portion configured to: based on the fact that, after a specified time has elapsed since the request signal from the third control circuit 523 was output through the third port 513 (or third pin 503), the voltage value supplied from the external electronic device through the first pin 501 is higher than a reference voltage, switch (e.g., Figure 6a and Figure 6b The open / closed state of switch 610 is changed from a first state (e.g., closed state) to a second state (e.g., open state) to disconnect the second port 512 (or the second pin 502) from ground GND.
[0166] According to an embodiment, the power control circuit 500 may include a first signal path SP1, a second signal path SP2, and / or a third signal path SP3. For a description of the first signal path SP1 and the second signal path SP2, please refer to... Figure 5 The description is omitted here.
[0167] According to an embodiment, the third signal path SP3 may include: a third port 513 electrically connected to the third pin 503; and a third internal signal path portion electrically connected to the third port 513, the third internal signal path portion being configured to: based on the detection of moisture in the interface 177, output a request signal through the third port 513 (or the third pin 503) to request that power (or voltage) not be supplied from the external electronic device through the first pin 501 or that the value of the supplied power (or voltage) be reduced. For example, the third signal path SP3 may include a third internal signal path portion configured to: based on the detection of moisture in the connector when the external electronic device is connected to the connector, output a request signal through the third port 513 (or the third pin 503) to request that power (or voltage) not be supplied from the external electronic device through the first pin 501 or that the value of the supplied power (or voltage) be reduced. For example, the third signal path SP3 may include a third internal signal path portion configured to: upon detecting the presence of moisture in the connector and the external electronic device being connected to the electronic device via the connector, output a request signal through the third port 513 (or the third pin 503) to request that power (or voltage) not be supplied from the external electronic device via the first pin 501 or that the value of the supplied power (or voltage) be reduced. For example, the third signal path SP3 may include a third internal signal path portion configured to: when moisture is detected in the connector and the external electronic device is connected to the electronic device via the connector, determine whether the voltage value supplied through the first pin 501 is higher than or equal to a reference voltage, and based on the determination that the voltage value is higher than or equal to the reference voltage, output a request signal through the third port 513 to request that power not be supplied from the external electronic device via the first pin 501 or that the voltage value of the power be reduced. The request signal output through the third port 513 can be transmitted to the external electronic device. The third internal signal path portion may correspond to, for example, the third circuit portion of the third control circuit 523.
[0168] According to an embodiment, the second signal path SP2 may include a second internal signal path portion configured to disconnect the second port 512 (or the second pin 502) from ground GND based on the fact that, after a specified time has elapsed since the request signal of the third control circuit 523 was output through the third port 513 (or the third pin 503), the voltage value supplied from the external electronic device through the first pin 501 remains substantially the same. For example, the second signal path SP2 may include a second internal signal path portion configured to: based on the fact that, after a specified time has elapsed since the request signal of the third control circuit 523 was output through the third port 513 (or the third pin 503), the voltage value supplied from the external electronic device through the first pin 501 is higher than a reference voltage, switch (e.g., Figure 6a and Figure 6b The open / closed state of switch 610 is changed from a first state (e.g., closed state) to a second state (e.g., open state) to disconnect the second port 512 (or the second pin 502) from ground GND. The second internal signal path portion may correspond to, for example, the second circuit portion of the second control circuit 522.
[0169] Figure 9 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0170] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0171] According to an embodiment, operating electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The method of the electronic device 200 can be performed by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0172] Reference Figure 9 In operation 910, the electronic device can identify the connector (e.g., Figure 1 Interface 177 or Figures 2 to 3b Moisture may be present in the connector 210. For example, moisture may be present in the electronic device in an external electronic device (e.g., Figure 4 The external electronic device (410) detects the presence of moisture in the connector when it is connected to the electronic device via the connector. For example, the electronic device can detect the presence of moisture in the connector before the external electronic device is connected to it.
[0173] According to an embodiment, the electronic device can determine the connection with the second pin (e.g., Figure 5 , Figure 6a , Figure 6b , Figure 7 and Figure 8 The second pin 502 (which can be called Figures 5 to 8 The system checks whether the resistance value (or voltage) corresponding to the second pin 502 is within a specified range, thereby identifying moisture in the connector. For example, by checking whether the resistance value (or voltage) of the second pin is within a specified range, the system checks whether moisture is present in the connector via the second port (e.g., ...). Figures 5 to 8 The second port 512 is connected to a current source (e.g., Figure 6b When the first current source 631 and / or the second current source 632 are present, the electronic device can use a comparator (e.g., Figure 6b The comparator 650 determines whether the resistance value corresponding to the second pin is within a specified range. If the resistance value is within the specified range, the electronic device can detect the presence of moisture in the connector. If the resistance value is outside the specified range, the electronic device can detect the absence of moisture in the connector.
[0174] In operation 920, based on the identification of moisture in the connector, the electronic device can be configured such that: the second port electrically connected to the second pin is disconnected from ground; and / or not connected to the first pin (e.g., Figures 5 to 8 The first pin 501 can supply power from an external electronic device, or reduce the voltage value of the power supplied through the first pin. For example, based on the detection of moisture in the connector when the external electronic device is connected to the electronic device, the electronic device can be configured such that: the second port electrically connected to the second pin is disconnected from ground; and / or power is not supplied from the external electronic device through the first pin, or the voltage value of the power supplied through the first pin is reduced. For example, based on the detection of moisture in the connector and the external electronic device being connected to the electronic device through the connector, the electronic device can be configured such that: the second port electrically connected to the second pin is disconnected from ground; and / or power is not supplied from the external electronic device through the first pin, or the voltage value of the power supplied through the first pin is reduced. In operation 920, since power is not supplied through the first pin or power with a low voltage value is supplied through the first pin, connector corrosion caused by moisture can be prevented / reduced.
[0175] According to an embodiment, the electronic device can be configured to switch (e.g., between the second port and ground) Figure 6a or Figure 6bThe open / closed state of switch 610 changes from a first state (e.g., closed state) to a second state (e.g., open state), thereby disconnecting the second port from ground. In this case, other switches connected to the second port (e.g., Figure 6b The first switch 641 and the second switch 642 can also be set to the off state.
[0176] According to an embodiment, the voltage value of the power supply can be set, for example, below (or less than) a reference voltage (e.g., Figure 7 The reference voltage Vref of comparator 710.
[0177] According to an embodiment, the electronic device can be configured to perform an operation (e.g., operation 910) to identify (or determine) the presence of moisture in the connector and / or to disconnect the second port from ground (e.g., operation 920) before performing or completing negotiation for determining the charging power between the external electronic device and the electronic device. For example, operations 910 and / or 920 can be performed before performing or completing negotiation for determining the charging power between the external electronic device and the electronic device.
[0178] According to an embodiment, the electronic device can be configured to: upon completion of negotiation for determining the charging power between the external electronic device and the electronic device, and upon charging the battery with at least a portion of the power supplied by the external electronic device, perform an operation to identify the presence of moisture in the connector (e.g., operation 910) and / or perform an operation to disconnect the second port from ground (e.g., operation 920). For example, operations 910 and / or 920 can be performed upon completion of negotiation for determining the charging power between the external electronic device and the electronic device, and upon charging the battery with at least a portion of the power supplied by the external electronic device.
[0179] According to an embodiment, the electronic device can be configured to: perform an operation to identify the presence of moisture in the connector (e.g., operation 910) before the external electronic device is connected to the electronic device, and perform an operation to disconnect the second port from ground (e.g., operation 920) after the external electronic device is connected to the electronic device (e.g., after performing or completing negotiation for determining the charging power between the external electronic device and the electronic device). For example, operation 910 can be performed before the external electronic device is connected to the electronic device, and operation 920 can be performed after the external electronic device is connected to the electronic device.
[0180] Figure 10 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0181] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0182] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0183] Reference Figure 10 In operation 1010, the electronic device can identify (or determine) the connector (e.g., Figure 1 Interface 177 or Figures 2 to 3b Moisture may be present in the connector 210. For example, moisture may be present in the electronic device in an external electronic device (e.g., Figure 4 The external electronic device (410) detects the presence of moisture in the connector when it is connected to the electronic device via the connector. For example, the electronic device can detect the presence of moisture in the connector before the external electronic device is connected to it.
[0184] According to an embodiment, the electronic device can determine the connection with the second pin (e.g., Figures 5 to 8 The system checks whether the resistance value (or voltage) corresponding to the second pin (502) is within a specified range, thereby identifying the presence of moisture in the connector. For example, by checking whether the resistance value (or voltage) corresponding to the second pin (502) is within a specified range, the system can detect moisture in the connector. Figures 5 to 8 The second port 512 is connected to a current source (e.g., Figure 6b When the first current source 631 or the second current source 632 is available, the electronic device can use a comparator (e.g., Figure 6b The comparator 650 determines whether the resistance value corresponding to the second pin is within a specified range. Based on the resistance value being within the specified range, the electronic device can identify or determine the presence of moisture in the connector. Based on the resistance value not being within the specified range, the electronic device can identify or determine the absence of moisture in the connector.
[0185] In operation 1020, based on the identification of moisture in the connector, the electronic device can communicate with the third pin (e.g., Figure 8 The third port (e.g., the third pin 503) is electrically connected to the third port. Figure 8 The third port 513) outputs a request signal (hereinafter referred to as the power-related request signal or request signal) to request that the signal not be transmitted through the first pin (e.g., Figures 5 to 8The first pin 501 supplies (or disconnects) power from an external electronic device or reduces the voltage value of the power supplied through the first pin. For example, based on the identification or determination of moisture in the connector when the external electronic device is connected to the electronic device, the electronic device can output a power-related request signal through a third port electrically connected to the third pin. For example, the electronic device can output a power-related request signal through a third port electrically connected to the third pin based on the determination that the resistance value is within a specified range when the external electronic device is connected to the electronic device. For example, the electronic device can output a power-related request signal through the third port based on the identification (or determination) of moisture in the connector and the external electronic device being connected to the electronic device through the connector. For example, when moisture is identified in the connector and the external electronic device is connected to the electronic device through the connector, the electronic device can determine whether the voltage value supplied through the first pin is higher than or equal to a reference voltage, and can output a power-related request signal through the third port based on the determination that the voltage value supplied through the first pin is higher than or equal to the reference voltage. The request signal output through the third port can be transmitted to the external electronic device. When an external electronic device supports protection functions such as the Hiccup function, in response to a request signal, the external electronic device can use the corresponding protection function to prevent (or disconnect) power from the first pin, or can reduce the voltage value of the power supplied through the first pin. Depending on the operation of the external electronic device based on the request signal, it can prevent or reduce connector corrosion caused by moisture by either not supplying power through the first pin or supplying power with a low voltage value through the first pin.
[0186] In operation 1030, the electronic device can, based on the fact that the voltage value of the power supplied to the first pin remains substantially the same after a specified time following the output of the request signal through the third port, switch (e.g., between the second port and ground) is set between the second port and ground. Figure 6a or Figure 6b The open / closed state of the switch 610) changes from a first state (e.g., closed state) to a second state (e.g., open state), causing the second port to be disconnected from ground.
[0187] According to an embodiment, when the difference between the first voltage value and the second voltage value is within a specified range, the electronic device can determine that the voltage value of the power supplied to the first pin remains substantially the same, wherein the first voltage value is the voltage value supplied to the first pin before the request signal is output through the third port, and the second voltage value is the voltage value of the power supplied to the first pin after a specified time has elapsed after the request signal is output through the third port.
[0188] According to an embodiment, when the difference between the first voltage value and the second voltage value is not within a specified range, the electronic device can determine that the voltage value of the power supplied to the first pin is not kept substantially the same, wherein the first voltage value is the voltage value supplied to the first pin before the request signal is output through the third port, and the second voltage value is the voltage value of the power supplied to the first pin after a specified time has elapsed after the request signal is output through the third port.
[0189] According to an embodiment, when both the first voltage value and the second voltage value are higher than a reference voltage value (e.g., Figure 7 When the reference voltage Vref value of the comparator 710 is obtained, the electronic device can determine that the voltage value of the power supplied to the first pin remains substantially the same, wherein the first voltage value is the voltage value supplied to the first pin before the request signal is output through the third port, and the second voltage value is the voltage value of the power supplied to the first pin after a specified time has elapsed after the request signal is output through the third port.
[0190] According to an embodiment, when the first voltage value is higher than the reference voltage value (e.g., Figure 7 When the reference voltage Vref value of the comparator 710 is lower than (or less than) the reference voltage value, the electronic device can determine that the voltage value of the power supplied to the first pin is not kept substantially the same, wherein the first voltage value is the voltage value supplied to the first pin before the request signal is output through the third port, and the second voltage value is the voltage value of the power supplied to the first pin after a specified time has elapsed after the request signal is output through the third port.
[0191] Figure 11 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0192] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0193] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0194] Reference Figure 11 In operation 1110, the electronic device can identify the connector (e.g., Figure 1 Interface 177 or Figure 2 , Figure 3a and Figure 3b (It can be called) Figures 2 to 3b Moisture may be present in the connector 210 of the electronic device. For example, moisture may be present in the external electronic device (e.g., Figure 4 When the external electronic device 410 is connected to the electronic device, moisture is detected in the connector. For a description of operation 1110, please refer to... Figure 9 Operation 910 or Figure 10 The description of operation 1010 is omitted here.
[0195] In operation 1120, based on the identification (or determination) of moisture in the connector, the electronic device can determine (or identify) whether an external electronic device supports a protection function. For example, the electronic device can determine whether the external electronic device supports a protection function based on the identification of moisture in the connector when the external electronic device is connected to it. The protection function can be, for example, a hiccup function, but is not limited to this. Various types of overcurrent protection or overvoltage protection functions can be used as protection functions.
[0196] According to an embodiment, via the second pin (e.g., Figures 5 to 8 During the process of establishing a communication connection between the second pin 502 and an external electronic device, the electronic device can determine whether the external electronic device supports protection functions based on the performance information received from the external electronic device.
[0197] In operation 1130, based on the determination that the external electronic device supports the protection function, the electronic device can communicate with the third pin (e.g., Figures 5 to 8 The third port (e.g., the third pin 503) is electrically connected to the third port. Figures 5 to 8 The third port 513) outputs a request signal to request that the signal not be sent through the first pin (e.g., Figures 5 to 8 The first pin 501 supplies (or disconnects) power or reduces the voltage value of the power supplied through the first pin. For a description of operation 1130, please refer to... Figure 10 The description of operation 1020 is provided. Therefore, the description need not be repeated here.
[0198] In operation 1131, the electronic device can, based on the fact that the voltage value of the power supplied to the first pin remains substantially the same after a specified time following the output of the request signal through the third port, switch (e.g., between the second port and ground) is set between the second port and ground. Figure 6a or Figure 6bThe open / closed state of switch 610 is changed from a first state (e.g., closed state) to a second state (e.g., open state), causing the second port to be disconnected from ground. For a description of operation 1131, please refer to... Figure 10 The description of operation 1030 is omitted here.
[0199] In operation 1140, based on the determination (or identification) that the external electronic device does not support the protection function, the electronic device may request, without outputting a request signal through the third port electrically connected to the third pin, to request that power not be supplied (or disconnected) through the first pin or to reduce the voltage value of the power supplied through the first pin. For example, when the external electronic device does not support the protection function, the electronic device may not output a request signal through the third port electrically connected to the third pin. If the external electronic device does not support the protection function, even if a request signal is transmitted to the external electronic device, the external electronic device may not respond to the request signal and perform the protection function; therefore, transmitting the request signal corresponds to unnecessary operation. The electronic device can selectively transmit the request signal only when necessary, based on the determination in operation 1120 regarding whether the external electronic device supports the protection function, thereby improving the efficiency of power and resource utilization.
[0200] In operation 1141, the electronic device can change the open / closed state of a switch located between the second port and ground from a first state (e.g., closed state) to a second state (e.g., open state), thereby disconnecting the second port from ground.
[0201] Figure 12 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0202] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0203] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0204] According to an embodiment, Figure 12 Operations 1210 and / or 1220 can, for example, in Figure 9 After the operation of 920, Figure 10 After 10:30 or Figure 11 Execute after operation 1131 or 1140.
[0205] Reference Figure 12 In operation 1210, the electronic device can detect that there is essentially no moisture in the connector. For example, the electronic device can detect that there is essentially no moisture in the connector when the external electronic device is connected to the connector. For example, the electronic device can detect that there is essentially no moisture in the connector when the external electronic device is not connected to the connector.
[0206] According to an embodiment, the electronic device can determine the connection with the second pin (e.g., Figures 5 to 8 The resistance value corresponding to the second pin 502 is checked to determine if it is within a specified range, thereby identifying that there is essentially no moisture in the connector (e.g., identifying that moisture has been removed). For example, the second pin is checked through the second port (e.g., Figure 5 or Figure 8 The second port 512 is connected to a current source (e.g., Figure 6b When the first current source 631 and / or the second current source 632 are present, the electronic device can use a comparator (e.g., Figure 6b The comparator 650 determines whether the resistance value corresponding to the second pin is within a specified range. If the resistance value is within the specified range, the electronic device can detect the presence of moisture in the connector. If the resistance value is outside the specified range, the electronic device can detect the absence of moisture in the connector.
[0207] In operation 1220, based on the identification that there is essentially no moisture in the connector, the electronic device can be configured such that the second port is connected to ground, and power is supplied via the first pin through an external electronic device. For example, based on the identification that there is essentially no moisture in the connector while the external electronic device is connected to the connector, the electronic device can be configured such that the second port is connected to ground, and power is supplied via the first pin through the external electronic device. For example, based on the identification that there is essentially no moisture in the connector and the external electronic device is connected to the connector, the electronic device can be configured such that the second port is connected to ground, and power is supplied via the first pin through the external electronic device.
[0208] According to an embodiment, the electronic device can be configured to switch (e.g., between the second port and ground) Figure 6a or Figure 6b The open / closed state of switch 610 changes from a second state (e.g., open state) to a first state (e.g., closed state), thereby connecting the second port to ground. Based on the identification that the second port is connected via a pull-down resistor (e.g., ... Figure 6a and Figure 6bThe resistor 620 is connected to ground, allowing external electronic devices to identify the electronic device as a powered device, and a battery (e.g., a power source) can be supplied to the electronic device via the first pin. Figure 1 The battery (189) is charged with electricity.
[0209] Through the above Figure 12 By operating steps 1210 and 1220, the electronic device can return to its normal state where there is no moisture, and an external electronic device can supply power to the electronic device.
[0210] Figure 13 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0211] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0212] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0213] According to an embodiment, Figure 13 Operations 1310 and / or 1320 can, for example, in Figure 9 After the operation of 920, Figure 10 After 10:30 or Figure 11 Execute after operation 1131 or 1140.
[0214] Reference Figure 13 In operation 1310, the electronic device can be based on a second port (e.g., Figures 5 to 8 The second pin (e.g., the second port 512) is obtained when it is disconnected from ground. Figures 5 to 8 The voltage value of the second pin (502) is used to identify whether an external electronic device is connected to the electronic device via a connector. According to an embodiment, the electronic device can determine whether the voltage of the second pin is higher than (e.g., greater than) a reference voltage; when the voltage of the second pin is higher than (e.g., greater than) the reference voltage, it can identify that an external electronic device is connected to the electronic device via a connector; and when the voltage of the second pin is lower than (e.g., less than) the reference voltage, it can identify that an external electronic device is not connected to the electronic device via a connector. In operation 1310, the electronic device can determine whether the voltage of the second pin (e.g., 502) is higher than (e.g., greater than) a reference voltage. Figure 3b The voltage of the second pin is measured with the CC pin disconnected from ground, thus determining whether external electronics are still connected to the connector even if moisture is present in the connector.
[0215] In operation 1320, based on the identification that an external electronic device is connected to the electronic device via a connector, the electronic device can provide a guidance message for disconnecting the external electronic device via a display.
[0216] According to an embodiment, the electronic device can be displayed via a display (e.g., Figure 1 The display module 160 displays a boot message for disconnecting the external electronic device. According to an embodiment, the electronic device can output the boot message for disconnecting the external electronic device via a speaker.
[0217] According to an embodiment, the guidance message may include a message such as "Please remove the charger from the electronic device."
[0218] According to an embodiment, the electronic device may display information (e.g., an icon) indicating that moisture has been detected in the connector, either together with or separately from the guidance message, on the display.
[0219] By following the guidance message provided by the operator 1320, the user can identify the presence of moisture and remove external electronic devices (e.g., charging devices) from the electronic device. This prevents / reduces moisture corrosion of the electronic device.
[0220] Figure 14 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0221] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0222] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0223] Reference Figure 14 In operation 1410, the electronic device can operate under normal conditions.
[0224] According to an embodiment, under normal conditions, the electronic device can control access via a second port (e.g., Figures 5 to 8 The second port 512) and the CC pin (e.g., Figures 5 to 8 The second pin 502 is electrically connected to the second control circuit (e.g., Figures 5 to 8 The second control circuit 522 includes a switch (e.g., Figure 6b (Switches 610, 641, and / or 642), to pull down resistor Rd (e.g., ...) at corresponding time intervals. Figure 6a and Figure 6b Resistor 620), first current source (e.g., Figure 6b First current source 631) and second current source (e.g., Figure 6b Either of the second current source (632) can be selectively connected to the CC pin. Therefore, under normal conditions, only one of the pull-down resistor, the first current source, and the second current source can be connected to the CC pin in each time interval.
[0225] For example, during the first time interval in normal operation (e.g., the first time interval in Table 1, the third time interval, or the seventh time interval in Table 3), the electronic device can control switch 610 to be closed and control the first switch 641 and the second switch 642 to be open, thereby connecting the second pin to ground via the pull-down resistor Rd.
[0226] For example, in a second time interval (e.g., the second time interval in Table 1 or the fourth time interval in Table 2) following the first time interval under normal conditions, the electronic device can control the first switch 641 to be closed and control the switches 610 and 642 to be open, thereby electrically connecting the first current source 631 to the CC pin. The electronic device can use the first current source 631 to determine whether the CC pin is in an abnormal state.
[0227] For example, in a third time interval (e.g., the fifth time interval in Table 2 or the ninth time interval in Table 3) following the second time interval under normal conditions, the electronic device can control the second switch 642 to be closed and can control switches 610 and 641 to be open, thereby electrically connecting the second current source 632 to the CC pin. According to an embodiment, the second switch 642 can be controlled to be closed based on determining that the CC pin is in an abnormal state. The electronic device can use the second current source 632 to determine whether moisture is present in the CC pin under abnormal conditions.
[0228] According to an embodiment, the electronic device can sequentially and repeatedly perform the operations of the first time interval, the second time interval, and the third time interval described above.
[0229] According to an embodiment, when an external electronic device (e.g., Figure 4 The external electronic device 410) is not connected via a connector (e.g., Figure 1 Interface 177 or Figures 2 to 3b When the connector 210 is connected to the electronic device, the electronic device can operate under normal conditions.
[0230] According to an embodiment, in an external electronic device (e.g., Figure 4 External electronic device 410) via connector (e.g., Figure 1 Interface 177 or Figure 2 When the connector 210 is connected to the electronic device, the electronic device can operate under normal conditions until moisture is detected in the connector.
[0231] In operation 1420, the electronic device can identify or determine the presence of moisture in the connector. According to an embodiment, the electronic device can identify the presence of moisture in at least one pin of the connector. For a description of operation 1420, please refer to... Figure 10 Operation 1010 or Figure 11 The description of operation 1110 is omitted here.
[0232] In operation 1430, based on the detection of moisture in the connector, the electronics can be configured to connect the CC pin to ground. For example, the electronics can be configured to control switch 610 to be closed, causing the CC pin to be connected to ground via pull-down resistor 620. Because moisture is detected, the CC pin is connected to ground, allowing the electronics to bring the voltage of the CC pin to a low state (e.g., close to 0V), and to detect that an external electronics device is connected to the electronics device via a connector.
[0233] In operation 1440, the electronic device can recognize that an external electronic device is connected to it via a connector. According to an embodiment, the electronic device can recognize the voltage of the CC pin when the CC pin is connected to ground via a pull-down resistor, thereby recognizing that an external electronic device is connected to it via a connector.
[0234] In operation 1450, the electronic device can determine via the Vbus pin (e.g., Figures 5 to 8 The voltage (first Vbus voltage) supplied to the electronic device from an external electronic device (pin 501) is checked to see if it is higher than (e.g., greater than) a reference voltage Vref. According to an embodiment, the electronic device can use the first port (e.g., via the Vbus pin) to check if the voltage supplied to the electronic device from an external electronic device (pin 501) is higher than (e.g., greater than) a reference voltage Vref. Figures 5 to 8 The first control circuit (e.g., the first port 511) is connected to the first control circuit. Figures 5 to 8 The comparator (e.g., in the first control circuit 521) included in the first control circuit 521) Figure 7 The electronic device uses the output value of comparator 710 to determine whether the first Vbus voltage is higher than the Vref voltage. For example, when the comparator output value is a first value (e.g., 1), the electronic device can determine that the first Vbus voltage is higher than the Vref voltage. When the first Vbus voltage is higher than the Vref voltage, operation 1460 can be performed. For example, when the comparator output value is a second value (e.g., 0), the electronic device can determine that the first Vbus voltage is lower than the Vref voltage. When the first Vbus voltage is lower than the Vref voltage, operation 1430 can be performed again.
[0235] In operation 1460, based on Vbus>Vref in operation 1450, the electronic device can access the device via the DP / DN pin (e.g., Figures 5 to 8 The third pin (503) sends a request signal to an external electronic device to request that the Vbus voltage be supplied from the external electronic device without passing through the Vbus pin, or to reduce the Vbus voltage. According to an embodiment, the request signal can be generated based on a process that electrically connects the DP / DN pin to ground (GND processing). For example, the request signal may correspond to the voltage value of the DP / DN pin generated by the process of electrically connecting the DP / DN pin to ground (GND).
[0236] In operation 1470, the electronic device may wait for a specified time (e.g., five seconds). According to an embodiment, the electronic device may wait for the specified time after sending a request signal. According to an embodiment, the specified time the electronic device waits may be longer than the minimum time required for an external electronic device to perform a protection function (e.g., a hiccup function) in response to the request signal.
[0237] In operation 1480, the electronic device can determine whether the voltage (second Vbus voltage) supplied to the electronic device from an external electronic device via the Vbus pin after a specified time is higher than (e.g., greater than) a reference voltage (Vref voltage). According to an embodiment, the electronic device can use the output value of a comparator included in a first control circuit connected to the first pin via a first port to determine whether the second Vbus voltage is higher than the Vref voltage. For example, if the comparator output value is a first value (e.g., 1), the electronic device can determine that the second Vbus voltage is higher than the Vref voltage. When the second Vbus voltage is higher than the Vref voltage, operation 1490 can be performed. For example, when the comparator output value is a second value (e.g., 0), the electronic device can determine that the second Vbus voltage is lower than the Vref voltage. When the second Vbus voltage is lower than (or less than) or equal to the Vref voltage, operation 1491 can be performed.
[0238] In operation 1490, when Vbus > Vref in operation 1480, the electronic device can be configured to disconnect the CC pin from ground. For a description of operation 1490, please refer to... Figure 10 The description of operation 1030 is provided. Therefore, the description need not be repeated here.
[0239] In operation 1491, the electronic device can maintain an electrical connection between the CC pin and ground.
[0240] Figure 15 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0241] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0242] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0243] Figure 15 The method can be, for example, in Figure 14 The operation will be executed after 1490.
[0244] Reference Figure 15 In operation 1510, the electronic device can acquire the CC pin (e.g., Figures 5 to 8 The voltage of the second pin (502). According to an embodiment, the electronic device can measure the voltage of the CC pin with the CC pin disconnected from ground (GND). The electronic device can measure the voltage of the CC pin with the CC pin disconnected from ground, thereby determining whether an external electronic device is still connected to the electronic device through the connector even if moisture is present in the connector.
[0245] In operation 1520, the electronic device can determine whether the voltage of the CC pin is higher than (e.g., greater than) a reference voltage. According to an embodiment, the electronic device can determine whether the voltage of the CC pin, acquired (or measured) while the CC pin is disconnected from ground, is higher than a reference voltage. When the voltage of the CC pin is higher than the reference voltage, operation 1530 can be performed. When the voltage of the CC pin is lower than (e.g., less than) the reference voltage, operation 1510 can be performed.
[0246] In operation 1530, when the voltage at the CC pin in operation 1520 is greater than the reference voltage, the electronic device can provide a boot message to disconnect external electronic devices. For a description of operation 1530, please refer to... Figure 13 The description of operation 1320 is provided. Therefore, the description need not be repeated here.
[0247] In operation 1540, the electronic device can determine whether moisture is (substantially) absent in the connector. For a description of operation 1540, please refer to... Figure 12 The description of operation 1210 is as described above. Therefore, it is not necessary to repeat the description here. When there is no moisture in the connector, operation 1550 can be performed. When there is moisture in the connector, operation 1510 can be performed again.
[0248] In operation 1550, the electronic device can operate under normal conditions. For a description of operation 1550, please refer to... Figure 14 The description of operation 1410 is omitted here.
[0249] Figure 16 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0250] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0251] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0252] Figure 16 The method can be, for example, in Figure 14 The operation will be executed after step 1491.
[0253] Reference Figure 16 In operation 1610, the electronic device can provide a boot message for disconnecting the external electronic device. For a description of operation 1610, please refer to... Figure 12 The description of operation 1210 is as described above. Therefore, the description need not be repeated here.
[0254] In operation 1620, the electronic device can determine whether moisture is present in the connector. For a description of operation 1620, please refer to... Figure 12 The description of operation 1210 is as described above. Therefore, it is not necessary to repeat the description here. When there is no moisture in the connector, operation 1630 can be performed. When there is moisture in the connector, operation 1610 can be performed again.
[0255] In operation 1630, the electronic device can operate under normal conditions. For a description of operation 1630, please refer to... Figure 14 The description of operation 1410 is omitted here.
[0256] Figure 17 This is a schematic diagram illustrating an example screen of an electronic device according to an embodiment of the present disclosure providing a boot message for disconnecting an external electronic device.
[0257] Reference Figure 17 According to an embodiment, electronic devices (e.g., Figure 1 The electronic device 101 can display a screen 1700 that includes a boot message 1710 for disconnecting an external electronic device (e.g., a charger) via a display (e.g., a display module 160).
[0258] According to an embodiment, the guidance message 1710 may be included in the screen 1700 along with information 1721 (e.g., an icon) indicating that moisture has been detected in the connector. For example, the information 1721 indicating that moisture has been detected in the connector may be displayed on the status bar 1720 in the screen 1700. The user can recognize the displayed information and remove the external electronic device from the device. Therefore, corrosion caused by moisture can be prevented / reduced.
[0259] Figure 18 This is a flowchart illustrating an example method of operating an electronic device according to an embodiment of the present disclosure.
[0260] In the following embodiments, each operation may be executed sequentially, but not necessarily sequentially. For example, the order of each operation can be changed, and at least two operations can be executed in parallel. In the following embodiments, some operations may be omitted, or additional operations may be performed.
[0261] According to an embodiment, electronic devices (e.g., Figure 1 Electronic device 101 or Figure 2 The operation method of the electronic device 200 can be determined by the processor of the electronic device (e.g., Figure 1 The processor 120) or the power control circuit of the electronic device (e.g., Figures 5 to 8 The power control circuit 500 is executed.
[0262] Reference Figure 18In operation 1810, the electronic device can detect the presence of moisture in the connector. For a description of operation 1810, please refer to, for example... Figure 14 The description of operation 1420 is omitted here.
[0263] In operation 1820, the electronic device can recognize that an external electronic device is connected to it via a connector. According to an embodiment, operation 1820 can be performed after, before, or in parallel with operation 1810. For a description of operation 1820, refer to, for example... Figure 14 The description of operation 1440 is omitted here.
[0264] In operation 1830, based on the detection of moisture in the connector and the fact that an external electronic device is connected to the external electronic device via the connector, the electronic device can output a request signal through the third port to request that power be supplied (or disconnected) from the external electronic device or that the voltage value of the power be reduced. For a description of operation 1830, see, for example... Figure 14 The description of operation 1450 to 1460 is omitted here.
[0265] In operation 1840, the electronic device can determine whether, after a specified time has elapsed following the output of a request signal through the third port, a first voltage value supplied through the first pin is higher than or equal to a first reference voltage. For a description of operation 1840, please refer to... Figure 14 The description of operations 1470 to 1480 is omitted here.
[0266] In operation 1850, based on the determination that the first voltage value is greater than or equal to the first reference voltage, the second port can be disconnected from ground. For a description of operation 1850, please refer to, for example... Figure 14 The description of operation 1490 is omitted here.
[0267] According to an embodiment, the electronic device can obtain the voltage value of the second pin when the second port is disconnected from ground, and can provide a boot message for disconnecting the external electronic device based on the voltage value of the second pin.
[0268] According to an embodiment, the electronic device can determine whether the voltage value of the second pin is higher than or equal to the second reference voltage; when it is determined that the voltage value of the second pin is higher than or equal to the second reference voltage, a boot message for disconnecting the external electronic device can be provided; and when it is determined that the voltage value of the second pin is less than the second reference voltage, a boot message for disconnecting the external electronic device can be not provided.
[0269] According to an embodiment, when moisture is detected in the connector and an external electronic device is connected to the electronic device through the connector, the electronic device can determine whether a second voltage value supplied through the first pin is higher than or equal to a first reference voltage. Based on the determination that the second voltage value is higher than or equal to the first reference voltage, the electronic device can output a request signal through the third port to request that power be supplied from the external electronic device without passing through the first pin or to reduce the voltage value of the power.
[0270] According to an embodiment, the electronic device can identify or determine the presence of moisture in the connector based on the resistance value corresponding to the second pin being within a specified range, and in response to identifying that there is no moisture in the connector, the electronic device can control the switch to close so that the second port is connected to ground.
[0271] According to an embodiment, the second circuit may include a switch disposed between the second port and ground, and an electronic device may control the switch to open, thereby disconnecting the second port from ground.
[0272] According to an embodiment, the second circuit may further include a current source and a comparator connected in parallel with the switch relative to the second port, and the electronic device may use the comparator to determine whether the resistance value is within a specified range when the second pin is electrically connected to the current source through the second port.
[0273] According to an embodiment, based on the fact that moisture is substantially removed from the connector when the external electronic device is connected to the connector, the electronic device can be configured such that the second port is connected to ground and power is supplied from the external electronic device through the first pin.
[0274] According to an embodiment, after the second port is connected to ground, the electronic device can at least partially increase the voltage value of the power supplied through the first port.
[0275] According to an example embodiment, an electronic device may be provided. The electronic device may include a battery. The electronic device may include a connector comprising a first pin and a second pin spaced apart from each other and configured to connect to an external electronic device. The first pin may be configured to receive power from the external electronic device for charging the battery. The electronic device may include a power control circuit electrically connected to the connector and including a first signal path and a second signal path. The first signal path may include a first port electrically connected to the first pin and a first internal signal path portion connected to the first port and configured to transmit power supplied from the external electronic device to the battery. The second signal path may include a second port electrically connected to the second pin and a second internal signal path portion configured to selectively connect the second port to ground. The second internal signal path portion may be configured to: disconnect the second port from ground based on the presence of moisture in the connector when the external electronic device is connected to the connector, and not supply power from the external electronic device through the first pin or reduce the voltage value of the power.
[0276] According to an example embodiment, the second internal signal path portion may include a switch disposed between the second port and ground. The power control circuitry may be configured to perform an electrical disconnection between the second port and ground based on the switch being open.
[0277] According to an example embodiment, the power control circuit can be configured to identify the presence of moisture in the connector based on the resistance value corresponding to the second pin being within a specified range.
[0278] According to an example embodiment, the second internal signal path portion may further include a current source and a comparator connected in parallel with the switch relative to the second port. The power control circuit can be configured to use the comparator to determine whether the resistance value is within a specified range when the second pin is electrically connected to the current source through the second port.
[0279] According to an example embodiment, the connector may further include a third pin spaced apart from each of the first and second pins, and the power control circuit may further include a third port electrically connected to the third pin. The power control circuit may be configured to: based on the resistance value being within a specified range when an external electronic device is connected to the connector, output a request signal through the third port to reduce the voltage value of the power supply; and based on the voltage value supplied through the first pin remaining substantially the same after a specified time following the output of the request signal through the third port, change the state of the switch from a first state to a second state, thereby disconnecting the second port from ground.
[0280] According to an example embodiment, the power control circuit can be configured to: based on the identification that the external electronic device does not support the hiccup function, not to output a request signal to the external electronic device through the third port before the second port is disconnected from the ground.
[0281] According to an example embodiment, the second internal signal path portion can be configured to connect the second port to ground based on the fact that moisture is substantially removed from the connector when the external electronics are connected to the connector, and to supply power from the external electronics through the first pin.
[0282] According to an example embodiment, after the second port is connected to ground, the voltage value of the power supplied through the first port can be configured to be at least partially increased.
[0283] According to an example embodiment, the second internal signal path portion may include a switch disposed between the second port and ground. The power control circuit may be configured to change the state of the switch from a second state to a first state based on the resistance value corresponding to the second pin being outside a specified range, thereby electrically connecting the second port to ground.
[0284] According to an example embodiment, the power control circuit can be configured to: identify moisture in the connector and perform an electrical disconnect between the second port and ground before determining the negotiation of charging power between the external electronic device and the electronic device.
[0285] According to an example embodiment, the power control circuit can be configured to: after negotiation for determining the charging power between the external electronic device and the electronic device is completed and while at least a portion of the power is charging the battery, identify the presence of moisture in the connector and perform an electrical disconnection between the second port and ground.
[0286] According to an example embodiment, an electronic device may be provided. The electronic device may include a battery and a connector including first pins, second pins, and third pins configured to connect to an external electronic device. The electronic device may include a power management module including power management circuitry electrically connected to the connector and including first, second, and third circuitry. The first circuitry may be connected to a first port electrically connected to the first pin and configured to transmit power supplied from the external electronic device through the first pin to the battery. The second circuitry may be connected to a second port electrically connected to the second pin and configured to selectively connect the second port to ground. The third circuitry may be connected to a third port electrically connected to the third pin and configured to transmit signals to the external electronic device through the third port. The electronic device may include a memory and at least one processor including processing circuitry, the memory including one or more storage media storing instructions. The at least one processor may be individually and / or collectively configured to execute instructions and cause the electronic device to perform at least one operation. The at least one operation may include identifying the presence of moisture in the connector. The at least one operation may include identifying that an external electronic device is connected to the electronic device via the connector. At least one operation may include: based on the detection of moisture in the connector and the connection of an external electronic device to the electronic device via the connector, outputting a request signal through a third port to request that power be supplied from the external electronic device not through the first pin or that the voltage value of the power be reduced. At least one operation may include: after a specified time elapsed following the output of the request signal through the third port, determining whether a first voltage value supplied through the first pin is greater than or equal to a first reference voltage. At least one operation may include: based on the determination that the first voltage value is greater than or equal to the first reference voltage, disconnecting the second port from ground.
[0287] According to an example embodiment, at least one operation may include: acquiring the voltage value of the second pin while the second port is disconnected from ground, and providing a boot message for disconnecting external electronic devices based on the voltage value of the second pin.
[0288] According to an example embodiment, at least one operation may include: determining whether the voltage value of the second pin is greater than or equal to a second reference voltage; providing a boot message for disconnecting an external electronic device based on determining that the voltage value of the second pin is greater than or equal to the second reference voltage; and not providing a boot message for disconnecting the external electronic device based on determining that the voltage value of the second pin is less than the second reference voltage.
[0289] According to an example embodiment, at least one operation may include: determining whether a second voltage value supplied through a first pin is greater than or equal to a first reference voltage based on the identification of moisture in the connector and the external electronic device being connected to the electronic device through the connector; and outputting a request signal through a third port based on the determination that the second voltage value is greater than or equal to the first reference voltage to request that power not be supplied from the external electronic device through the first pin or that the voltage value of the power be reduced.
[0290] According to an example embodiment, at least one operation may include: identifying the presence of moisture in the connector based on the resistance value corresponding to the second pin being within a specified range; and controlling a switch to close to connect the second port to ground in response to identifying the presence of moisture in the connector before an external electronic device is connected to the electronic device via the connector.
[0291] According to an example embodiment, the second circuit may include a switch disposed between the second port and ground, and at least one operation may include controlling the switch to turn off, thereby disconnecting the second port from ground.
[0292] According to an example embodiment, the second circuit may further include a current source and a comparator connected in parallel with the switch relative to the second port, and at least one operation may include: when the second pin is electrically connected to the current source through the second port, using the comparator to determine whether the resistance value is within a specified range.
[0293] According to an example embodiment, at least one operation may include: connecting a second port to ground based on the fact that there is essentially no moisture in the connector when the external electronic device is connected to the connector, and supplying power from the external electronic device through a first pin.
[0294] According to an example embodiment, at least one operation may include: after the second port is connected to ground, at least partially increasing the voltage value of the power supplied through the first port.
[0295] The various exemplary embodiments of this disclosure and the terminology used therein are not intended to limit the technical features described herein to particular embodiments, but should be understood to include various modifications, equivalents, or alternatives to the various embodiments. Regarding the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It should be understood that, unless the relevant context clearly indicates otherwise, the singular form of a noun corresponding to an item may include one or more things. As used herein, each phrase 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 the items listed together in the corresponding phrase. As used herein, terms such as “first” and “second” or “first” and “second” may be used only to distinguish corresponding components from one another, without otherwise limiting those components (e.g., importance or order). It should be understood that if an element (e.g., the first element) is referred to (with or without the terms "operationally" or "communically") as being "coupled," "coupled to," "connected," or "connected to" another element (e.g., the second element), then that element may be coupled to the other element directly (e.g., wired), wirelessly, or via a third element.
[0296] As used herein, the term "module" can include a unit implemented in hardware, software, or firmware, or any combination thereof, and is used interchangeably with other terms such as "logic," "logic block," "part," or "circuit." A module can be a single integral component adapted to perform one or more functions, or its smallest unit or part. For example, according to an embodiment, a module can be implemented as an application-specific integrated circuit (ASIC).
[0297] This disclosure can be implemented as software (e.g., program 140) including one or more instructions stored in a machine-readable storage medium (e.g., internal memory 136 or external memory 138). For example, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) can invoke at least one of the instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components under the control of the processor. This enables the machine to be operated to perform at least one function according to the invoked at least one instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, a "non-transitory" storage medium is a tangible device and may not include signals (e.g., electromagnetic waves), but the term does not distinguish between cases where data is stored semi-permanently in the storage medium and cases where data is temporarily stored in the storage medium.
[0298] According to embodiments, methods according to various embodiments of this disclosure can be included and provided in a computer program product. The computer program product can be traded as a commodity between a seller and a buyer. The computer program product can be distributed in the form of a machine-readable storage medium (e.g., an optical disc read-only memory (CD-ROM)) or via an app store (e.g., the Play Store). TM The computer program product can be distributed online (e.g., downloaded or uploaded), or it can be distributed directly between two user devices (e.g., smartphones). If distributed online, at least a portion of the computer program product can be temporarily generated or at least temporarily stored in a machine-readable storage medium, such as the memory of a manufacturer's server, app store server, or relay server.
[0299] According to embodiments, each of the above-described components (e.g., a module or program) may include a single entity or multiple entities. Some of the multiple entities may be separately located in different components. According to embodiments, one or more of the above-described 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 one or more functions of each of the multiple components in the same or similar manner as the corresponding one of the multiple components performed one or more functions before integration. According to various embodiments, the operations performed by a module, program, or other component may be performed sequentially, in parallel, repeatedly, or heuristically, or may be performed in a different order or one or more operations may be omitted, or one or more other operations may be added.
[0300] While this disclosure has been shown and described with reference to various exemplary embodiments, it should be understood that these exemplary embodiments are intended to be illustrative and not restrictive. Those skilled in the art will also understand that various changes in form and detail may be made without departing from the true spirit and full scope of this disclosure (including the appended claims and their equivalents). It should also be understood that any embodiment described herein can be used in conjunction with any other embodiment described herein.
Claims
1. An electronic device comprising: Battery; A connector includes a first pin and a second pin spaced apart from each other and configured to connect to an external electronic device, the first pin being configured to receive power from the external electronic device for charging a battery; and The power control circuit is electrically connected to the connector and includes a first signal path and a second signal path. The first signal path includes a first port electrically connected to a first pin and a first internal signal path portion connected to the first port and configured to transmit power supplied from an external electronic device to the battery. The second signal path includes a second port electrically connected to the second pin and a second internal signal path portion configured to selectively connect the second port to ground. The second internal signal path is configured such that, based on the presence of moisture in the connector when the external electronic device is connected to the connector, the second port is disconnected from ground, and power is not supplied from the external electronic device through the first pin or the voltage value of the power is reduced.
2. The electronic device according to claim 1, wherein, The second internal signal path includes a switch located between the second port and ground, and The power control circuit is configured to disconnect the second port from ground power based on the switch being turned off.
3. The electronic device according to claim 2, wherein, The power control circuit is configured to identify the presence of moisture in the connector based on the resistance value corresponding to the second pin being within a specified range.
4. The electronic device according to claim 3, wherein, The second internal signal path section also includes a current source and a comparator connected in parallel with the switch relative to the second port, and The power control circuit is configured to use a comparator to determine whether the resistance value is within a specified range when the second pin is electrically connected to a current source through the second port.
5. The electronic device according to claim 3, wherein, The connector also includes a third pin spaced apart from each of the first and second pins. The power control circuit also includes a third port electrically connected to the third pin, and The power control circuit is configured as follows: Based on the fact that the resistance value is within a specified range when an external electronic device is connected to the connector, a request signal for reducing the voltage value of the power is output through the third port; and Based on the fact that after a specified time has elapsed since the request signal is output through the third port, the voltage value supplied through the first pin remains essentially the same, the state of the switch is changed from the first state to the second state, thereby disconnecting the second port from ground.
6. The electronic device according to claim 5, wherein, The power control circuit is configured to: based on the identification that the external electronic device does not support the hiccup function, not to output a request signal to the external electronic device through the third port before the second port is disconnected from the ground.
7. The electronic device according to any one of claims 1 to 6, wherein, The second internal signal path is configured such that, based on the fact that there is essentially no moisture in the connector when the external electronics are connected to the connector, the second port is electrically connected to ground and power is supplied from the external electronics through the first pin.
8. The electronic device according to claim 7, wherein, The voltage of the power supplied through the first port is configured to increase at least partially after the second port is electrically connected to ground.
9. The electronic device according to claim 7, wherein, The second internal signal path includes a switch located between the second port and ground, and The power control circuit is configured to change the state of the switch from the second state to the first state based on the resistance value corresponding to the second pin not being within a specified range, thereby connecting the second port to ground.
10. The electronic device according to any one of claims 1 to 9, wherein, The power control circuit is configured to: identify moisture in the connector and perform an electrical disconnect between the second port and ground before determining the negotiation of charging power between the external electronic devices.
11. The electronic device according to any one of claims 1 to 9, wherein, The power control circuit is configured to: identify the presence of moisture in the connector and disconnect the second port from ground when negotiation for determining the charging power between the external electronic devices is completed and at least a portion of the power is charging the battery.
12. An electronic device comprising: Battery; A connector, including a first pin, a second pin, and a third pin configured to connect to an external electronic device; A power management module includes a power management circuit electrically connected to a connector and including a first circuit, a second circuit, and a third circuit, wherein the first circuit is connected to a first port electrically connected to a first pin and configured to transmit power supplied from an external electronic device through the first pin to a battery, wherein the second circuit is connected to a second port electrically connected to a second pin and configured to selectively connect the second port to ground, and wherein the third circuit is connected to a third port electrically connected to a third pin and configured to send a signal to an external electronic device through the third port; Memory, including one or more storage media that store instructions; and At least one processor, including processing circuitry, Wherein, the at least one processor is individually and / or collectively configured to execute instructions and enable the electronic device: Moisture was detected in the connector; It identifies that an external electronic device is connected to the electronic device via a connector; Based on the detection of moisture in the connector and the fact that an external electronic device is connected to the electronic device through the connector, a request signal is output through the third port to request that power be supplied from the external electronic device without passing through the first pin or to reduce the voltage value of the power supply. After a specified time has elapsed following the output of the request signal through the third port, it is determined whether the first voltage value supplied through the first pin is greater than or equal to the first reference voltage; and Based on the determination that the first voltage value is greater than or equal to the first reference voltage, the second port is disconnected from the ground.
13. The electronic device according to claim 12, wherein, The at least one processor is individually and / or collectively configured to enable the electronic device to: Obtain the voltage value of the second pin when the second port is disconnected from ground. as well as The voltage value of the second pin provides a boot message for disconnecting external electronic devices.
14. The electronic device according to claim 13, wherein, The at least one processor is individually and / or collectively configured to enable the electronic device to: Determine whether the voltage value at the second pin is greater than or equal to the second reference voltage; Based on determining that the voltage value of the second pin is greater than or equal to the second reference voltage, a boot message is provided for disconnecting external electronic devices; as well as Based on the determination that the voltage value of the second pin is less than the second reference voltage, no boot message is provided for disconnecting external electronic devices.
15. The electronic device according to any one of claims 12 to 14, wherein, The at least one processor is individually and / or collectively configured to enable the electronic device to: Based on the identification of moisture in the connector and the fact that an external electronic device is connected to the electronic device through the connector, it is determined whether the second voltage value supplied through the first pin is greater than or equal to the first reference voltage. as well as Based on the determination that the second voltage value is equal to or greater than the first reference voltage, a request signal is output through the third port to request power to be supplied from an external electronic device without passing through the first pin or to reduce the voltage value of the power supply.
