WO2020032483A1 - 수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치 - Google Patents

수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치 Download PDF

Info

Publication number
WO2020032483A1
WO2020032483A1 PCT/KR2019/009637 KR2019009637W WO2020032483A1 WO 2020032483 A1 WO2020032483 A1 WO 2020032483A1 KR 2019009637 W KR2019009637 W KR 2019009637W WO 2020032483 A1 WO2020032483 A1 WO 2020032483A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
pin
processor
interface
terminal
Prior art date
Application number
PCT/KR2019/009637
Other languages
English (en)
French (fr)
Inventor
김경원
강원석
이광열
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US17/267,009 priority Critical patent/US11502505B2/en
Publication of WO2020032483A1 publication Critical patent/WO2020032483A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H5/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection
    • H02H5/08Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection responsive to abnormal fluid pressure, liquid level or liquid displacement, e.g. Buchholz relays
    • H02H5/083Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection responsive to abnormal fluid pressure, liquid level or liquid displacement, e.g. Buchholz relays responsive to the entry or leakage of a liquid into an electrical appliance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0007Details of emergency protective circuit arrangements concerning the detecting means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0274Details of the structure or mounting of specific components for an electrical connector module
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/18Telephone sets specially adapted for use in ships, mines, or other places exposed to adverse environment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • Various embodiments of the present disclosure relate to a method of controlling at least one pin included in an interface in an open state according to moisture sensing, and an electronic device performing the same.
  • the invention controls the electronic device to prevent corrosion caused by the detected water.
  • portable electronic devices include telecommunication terminals for communication, personal digital assistants (PDAs), smart phones, tablet PCs, MP3 players, and laptop personal computers. ), A digital camera, and a wearable device may include various electronic devices that can be freely used while moving anywhere.
  • PDAs personal digital assistants
  • smart phones smart phones
  • tablet PCs tablet PCs
  • MP3 players and laptop personal computers.
  • a digital camera, and a wearable device may include various electronic devices that can be freely used while moving anywhere.
  • USB universal serial bus
  • USB universal serial bus
  • the portable electronic device may be provided with a waterproof function so that the portable electronic device can be freely used while moving.
  • the portable electronic device may be exposed to water while being carried.
  • a port eg, an interface or a connection terminal
  • for connecting to an external device may be a component directly exposed to water.
  • the voltage Vbus applied to the electronic device is periodically dropped based on the D + / D-data terminals included in the interface, thereby preventing corrosion due to moisture remaining on the interface.
  • the TYPE C interface corresponding to the USB TYPE C standard may not include the D + / D- data terminal.
  • Electronic devices equipped with a TYPE C interface may have difficulty dropping the applied voltage periodically due to the absence of the D + / D ⁇ data terminals.
  • Electronic devices equipped with a TYPE C interface may be difficult to prevent corrosion of the interface due to moisture when exposed to moisture.
  • An electronic device may include a housing, an interface connected to or exposed through the housing, the interface including at least one Configuration Channel (CC) pin, disposed in the housing, and a current source.
  • a circuit comprising: a current generator and a comparator, a circuit electrically connected to the interface, a processor disposed inside the housing, the processor operatively connected to the interface and the circuit, and a memory operatively connected to the processor It may include.
  • the memory upon execution, the processor senses moisture corresponding to the at least one CC pin based on the comparator, with the at least one CC pin connected to the current source, and upon detecting the moisture.
  • at least one switch disposed between the current source and the at least one CC pin may be controlled so that the at least one CC pin is not connected to the current source.
  • An external electronic device may include a connector electrically connected to at least one CC pin included in an interface of the electronic device, a circuit electrically connected to the connector, and the connector and the circuit. It may include a processor connected to. The processor may measure an electrical signal corresponding to at least one CC pin of the electronic device, and determine whether to supply a voltage to the electronic device in response to the measured electrical signal.
  • a method of operating an electronic device may include the at least one CC pin based on a comparator included in a circuit electrically connected to the interface while at least one CC pin included in an interface is connected to a current source. Detects a moisture corresponding to and controls at least one switch disposed between the current source and the at least one CC pin in response to the sensing of the moisture, such that the at least one CC pin is not connected to the current source.
  • An electronic device may include a TYPE C interface and may detect moisture based on at least one terminal (eg, CC terminal, SBU terminal) included in the TYPE C interface. In response to the sensing of the moisture, the electronic device may switch the CC terminal to the open state, and as the CC terminal switches the open state, no voltage may be applied from the external device. According to various embodiments, since no voltage is applied from the external device, corrosion by moisture may be prevented.
  • An electronic device may provide a notification to a user in response to a sensing state of moisture or an insertion state of an external device, and the notification may be a notification message displayed to separate the electronic device from the external device.
  • the notification may be a notification message displayed to separate the electronic device from the external device.
  • moisture may be evaporated without corrosion due to an electrical signal.
  • various effects may be provided that are directly or indirectly identified through this document.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
  • FIG. 2 is a diagram illustrating an interface of an electronic device according to various embodiments of the present disclosure.
  • 3A to 3B illustrate a connector of an electronic device and a pin structure of the connector according to various embodiments of the present disclosure.
  • FIG. 4 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • FIG. 5 is a circuit diagram illustrating an operation of controlling at least one switch in an interface of an electronic device according to various embodiments of the present disclosure.
  • FIG. 6 is a circuit diagram illustrating an operation of an external electronic device connected to an electronic device according to various embodiments of the present disclosure.
  • 7A-7B are flowcharts of a method of changing at least one pin in an interface to an open state to prevent corrosion by moisture in accordance with various embodiments.
  • FIG. 8 is a flowchart illustrating a method of supplying current to at least one pin in an open state in response to a dry state according to various embodiments of the present disclosure.
  • 9A to 9E are diagrams illustrating a method of providing a notification in response to a detected state of moisture according to various embodiments of the present disclosure.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or the second network 199.
  • the electronic device 104 may communicate with the server 108 through a long range wireless communication network.
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the electronic device 101 may include a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module ( 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197. ) May be included.
  • a sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197.
  • the components for example, the display device 160 or the camera module 180
  • the sensor module 176 may be implemented embedded in the display device 160 (eg, display).
  • the processor 120 executes software (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, processor 120 may send instructions or data received from another component (eg, sensor module 176 or communication module 190) to volatile memory 132. Can be loaded into, processed in a command or data stored in the volatile memory 132, and stored in the non-volatile memory (134).
  • software eg, the program 140
  • processor 120 may send instructions or data received from another component (eg, sensor module 176 or communication module 190) to volatile memory 132. Can be loaded into, processed in a command or data stored in the volatile memory 132, and stored in the non-volatile memory (134).
  • the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor), and a coprocessor 123 (eg, a graphics processing unit, an image signal processor) that may be operated independently or together. , Sensor hub processor, or communication processor). Additionally or alternatively, the coprocessor 123 may be configured to use lower power than the main processor 121 or to be specialized for its designated function. The coprocessor 123 may be implemented separately from or as part of the main processor 121.
  • a main processor 121 eg, a central processing unit or an application processor
  • a coprocessor 123 eg, a graphics processing unit, an image signal processor
  • the coprocessor 123 may be configured to use lower power than the main processor 121 or to be specialized for its designated function.
  • the coprocessor 123 may be implemented separately from or as part of the main processor 121.
  • the coprocessor 123 may, for example, replace the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 may be active (eg, execute an application). At least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) together with the main processor 121 while in the) state. Control at least some of the functions or states associated with the. According to one embodiment, the coprocessor 123 (eg, image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). have.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101.
  • the data may include, for example, software (eg, the program 140) and input data or output data for a command related thereto.
  • the memory 130 may include a volatile memory 132 (eg, DRAM, SRAM, or SDRAM) or a nonvolatile memory 134.
  • the program 140 may be stored as software in the memory 130, and may include, for example, an operating system 142, middleware 144, or an application 146.
  • the input device 150 may receive a command or data to be used for a component (for example, the processor 120) of the electronic device 101 from the outside (for example, a user) of the electronic device 101.
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101.
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker may be used for general purposes such as multimedia playback or recording playback, and the receiver may be used to receive an incoming call.
  • the receiver may be implemented separately from or as part of a speaker.
  • the display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101.
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display device 160 may include touch circuitry configured to sense a touch, or sensor circuit (eg, a pressure sensor) set to measure the strength of the force generated by the touch. have.
  • the audio module 170 may convert sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires sound through the input device 150, or an external electronic device (for example, directly or wirelessly connected to the sound output device 155 or the electronic device 101). Sound may be output through the electronic device 102)) (for example, a speaker or a headphone).
  • an external electronic device for example, directly or wirelessly connected to the sound output device 155 or the electronic device 101. Sound may be output through the electronic device 102)) (for example, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) or an external environmental state (eg, a user state) of the electronic device 101, and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more designated protocols that may be used for the electronic device 101 to be directly or wirelessly connected to an external electronic device (for example, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • the interface 177 may include a TYPE C interface (eg, TYPE C connection terminal) corresponding to the USB TYPE C standard.
  • the electronic device 101 may be connected to an external electronic device by using a connector of a USB TYPE C standard.
  • the external electronic device may be a charging device, and the electronic device 101 may receive a voltage from the charging device and charge the battery 189 based on the received voltage.
  • connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that can be perceived by the user through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and videos. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented, for example, as at least part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101.
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell or a fuel cell.
  • the communication module 190 may establish a direct (eg wired) communication channel or wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establish and perform communication over established communication channels.
  • the communication module 190 may operate independently of the processor 120 (eg, an application processor) and include one or more communication processors supporting direct (eg, wired) or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a near field communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, A local area network (LAN) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • the corresponding communication module of these communication modules may be used by using a first network 198 (e.g., a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (e.g., cellular network, Internet Or a telecommunication network such as a computer network (for example, a LAN or a WAN).
  • a first network 198 e.g., a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)
  • a second network 199 e.g., cellular network, Internet Or a telecommunication network such as a computer network (for example, a LAN or a WAN).
  • a telecommunication network such as a computer network (for example, a LAN or a WAN).
  • the wireless communication module 192 uses subscriber information (e.g., international mobile subscriber identifier (IMSI)) stored in the subscriber identification module 196 in a communication network such as the first network 198 or the second network 199.
  • subscriber information e.g., international mobile subscriber identifier (IMSI)
  • IMSI international mobile subscriber identifier
  • the antenna module 197 may transmit a signal or power to an external (eg, an external electronic device) or receive a signal or power from the outside.
  • the antenna module may include one antenna including a radiator made of a conductor or a conductive pattern formed on a sub-straight (eg, a PCB).
  • the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for the communication scheme used in the communication network, such as the first network 198 or the second network 199, may be, for example, communicated from the plurality of antennas by the communication module 190. Can be selected.
  • the signal or power may be transmitted or received between the communication module 190 and the external electronic device through the selected at least one antenna.
  • other components eg, RFIC may be further formed as part of the antenna module 197.
  • At least some of the components are connected to each other and connected to each other through a communication method (eg, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)). For example, commands or data).
  • a communication method eg, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)
  • a communication method eg, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101.
  • all or part of operations executed in the electronic device 101 may be executed in one or more external devices among the external electronic devices 102, 104, and 108. For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • the one or more external electronic devices that receive the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101.
  • the electronic device 101 may process the result as it is or additionally and provide it as at least part of the response to the request.
  • cloud computing distributed computing, or client-server computing technology may be used.
  • Electronic devices may be various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smartphone
  • a computer device e.g., a tablet, or a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch
  • first, second, or first or second may be used merely to distinguish a component from other corresponding components, and to separate the components from other aspects (e.g. Order).
  • Some (eg, first) component may be referred to as “coupled” or “connected” to another (eg, second) component, with or without the term “functionally” or “communically”.
  • any component can be connected directly to the other component (eg, by wire), wirelessly, or via a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit.
  • the module may be a minimum unit or part of an integrally configured component or part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of this document may include one or more instructions stored on a storage medium (eg, internal memory 136 or external memory 138) that can be read by a machine (eg, electronic device 101). It may be implemented as software (eg, program 140) including the.
  • a processor eg, the processor 120 of the device (eg, the electronic device 101) may call and execute at least one command among one or more instructions stored from the storage medium. This enables the device to be operated to perform at least one function in accordance with the at least one command invoked.
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' means only that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), which is the term used when the data is stored semi-permanently on the storage medium. It does not distinguish cases where it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • a method may be provided included in a computer program product.
  • the computer program product may be traded between the seller and the buyer as a product.
  • the computer program product may be distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play StoreTM) or two user devices ( Example: smartphones) can be distributed (eg downloaded or uploaded) directly or online.
  • a device-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • smartphones two user devices
  • at least a portion of the computer program product may be stored at least temporarily or temporarily created on a device-readable storage medium such as a server of a manufacturer, a server of an application store, or a memory of a relay server.
  • each component eg, module or program of the above-described components may include a singular or plural entity.
  • one or more of the aforementioned components or operations may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of the component of each of the plurality of components the same as or similar to that performed by the corresponding component of the plurality of components before the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Or one or more other actions may be added.
  • FIG. 2 is a diagram illustrating an interface of an electronic device according to various embodiments of the present disclosure.
  • the electronic device 200 (eg, the electronic device 101 of FIG. 1) may be implemented as a portable electronic device such as a smartphone or a tablet PC, but is not limited thereto.
  • Connector 210 eg, interface 177 of FIG. 1, connection terminal 178 of FIG. 1).
  • the electronic device 200 may be connected to an external electronic device through the connector 210 and may be connected to the connected external electronic device (eg, multimedia data such as audio data, other control commands, etc.). ) Can be sent and received.
  • the electronic device 200 when the connected external electronic device is a charging device (eg, a charger), the electronic device 200 receives a voltage from the external electronic device so as to charge a battery (eg, the battery 189 of FIG. 1). It can be charged.
  • a charging device eg, a charger
  • the electronic device 200 may include an opening formed in one surface of a housing and a hole connected to the opening, and the connector 210 may be disposed in the hole. As shown in FIG. 2, an opening and a hole may be formed in a lower surface of the housing of the electronic device 200, and the connector 210 may be disposed therein, but the arrangement position of the connector 210 is not limited thereto. In addition, the electronic device 200 may be disposed on the other surface of the housing.
  • 3A to 3B illustrate a connector of an electronic device and a pin structure of the connector according to various embodiments of the present disclosure.
  • 3A illustrates a connector of an electronic device and a connector of an external electronic device.
  • 3B illustrates a structure of a plurality of terminals (eg, pins) included in a connector.
  • a connector 320 of an external electronic device may be inserted into the connector 210 of the electronic device 200.
  • the type of the external electronic device is not limited, and a battery pack for supplying power to the electronic device 200, a device for communicating with the electronic device 200, or an external memory connected to the electronic device 200 are all external. It may correspond to an electronic device.
  • the connector 320 of the external electronic device may be received through a hole implemented in the electronic device 200 to be in physical contact with the connector 210 of the electronic device 200, and may be electrically connected according to the physical contact.
  • the connector 210 and the hole structure of the electronic device 200 may be a reversible structure. That is, the connectors 210 are mutually opposite to each other in the first direction perpendicular to the direction in which the external electronic device is inserted (for example, from the lower side to the upper side of the electronic device 200) and the second direction opposite to the first direction. It can be symmetrical.
  • one side (eg, A side) of the connector 320 of the external electronic device is parallel to the front side (eg, the side where the display is located) of the electronic device 200.
  • the other side of the connector 320 of the external device eg, the B side
  • the connector 210 may include a plurality of terminals.
  • the connector of the external electronic device electrically connected to each terminal included in the connector 210 of the electronic device 200 ( Each terminal of 320 may be different.
  • the connector 210 may be a connector based on a serial universal bus (USB) standard, and more specifically, may be a TYPE C connector corresponding to the USB TYPE C standard.
  • USB serial universal bus
  • various embodiments of the present invention are not limited to the USB TYPE C, and various standard standards such as high definition multimedia interface (HDMI), updated standard232 (RS-232), power line communication, or plain old telephone service (POTS) It can be applied to wired interface or non-standard wired interface.
  • HDMI high definition multimedia interface
  • RS-232 updated standard232
  • POTS plain old telephone service
  • a source a device that provides power
  • DFP downstream facing port
  • UFP upstream facing port
  • An interface capable of transmitting data that can be used to automatically detect whether devices are connected e.g., data transmitted from a configuration channel 1 (CC1) pin, configuration channel 2 (CC2) pin included in the Type C specification
  • 3B is a diagram illustrating a pin structure of a connector of an electronic device according to various embodiments.
  • a connector of an electronic device corresponds to a USB type C standard
  • FIG. 3B illustrates that the connector of the electronic device 200 conforms to a USB type C standard.
  • the USB type C standard connector may include 12 terminals on the left A line and the right B line, and may be symmetrical with each other.
  • the electronic device 200 may transmit a data signal through the A6 / B6 and A7 / B7 terminals of the connector.
  • the electronic device 200 (or the external electronic device) may transmit data to the external electronic device (or the electronic device 200) through the A6 / B6 terminal D +.
  • the role of each terminal in various modes of operation is defined by the USB Type-C standard, so the description of the role of each terminal will be omitted.
  • the electronic device 200 may exchange an electrical signal (eg, a digital ID or a resistance ID) with the external electronic device through the CC1 terminal and the CC2 terminal. .
  • the electronic device 200 may detect the type of the external electronic device connected through the connector based on the voltage value or the resistance value corresponding to the electrical signal.
  • the electronic device 200 may detect moisture based on the CC1 terminal and the CC2 terminal of the connector. For example, the electronic device 200 may detect moisture by checking a resistance value corresponding to moisture.
  • An electronic device may transmit / receive data through an external electronic device connected through a USB type C connector through a CC1 or CC2 terminal (hereinafter, collectively referred to as CC pin).
  • the CC pin is used to automatically detect which devices are connected between the source (power supply) and sink (powered device) or DFP (data supply) and UFP (device receiving data). Can be.
  • FIG. 4 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • an electronic device may include a processor (eg, the processor 120 of FIG. 1), an interface (eg, the interface 177 of FIG. 1), and a power management module. (Eg, the power management module 188 of FIG. 1), and a battery (eg, the battery 189 of FIG. 1).
  • the interface 177 may include the connection terminal 178 of FIG. 1.
  • the interface 177 may include a USB type C connection terminal corresponding to the USB type C standard, and the electronic device 101 may be connected to the external electronic device 410 (eg, by a connector of the USB type C standard). : Charging device).
  • the external electronic device 410 may include a connector (eg, the connector 320 of FIG. 3A) corresponding to the USB Type C standard to be coupled to an interface 177 corresponding to the USB Type C standard.
  • the processor 120 of the electronic device 101 may identify the type of the connected external electronic device 410 through the CC1 terminal 401 and the CC2 terminal 402 included in the interface 177. have.
  • the processor 120 measures a voltage value and a resistance value corresponding to the external electronic device 410 through the CC1 terminal 401 and the CC2 terminal 402, and measures the measured voltage value and the resistance value. Based on the type of the external electronic device 410 (for example, a data providing device and a power providing device (charging device)), it may be checked.
  • the external electronic device 410 may include a controller 411 and a protocol controller 412.
  • the controller 411 may at least partially control each component included in the external electronic device 410.
  • the protocol controller 412 may periodically transmit the set electrical signal.
  • the protocol controller 412 may transmit the set electrical signal under the control of the controller 411 or periodically transmit the set electrical signal without the control of the controller 411.
  • the controller 411 of the external electronic device 410 is connected to the CC1 terminal 401 and the CC2 terminal (connected to the protocol controller 412).
  • the connection with the electronic device 101 can be detected through the 402.
  • the controller 411 of the external electronic device 410 may apply a set voltage (for example, about 5V) to the electronic device 101.
  • the electronic device 101 may receive a voltage from the external electronic device 410 through the Vbus terminal 405 provided in the interface 177.
  • the processor 120 may control the power management module 188 to charge the battery 189 based on the provided voltage.
  • the processor 120 of the electronic device 101 may include at least one terminal (eg, CC1 terminal 401, CC2 terminal 402, and SBU terminal 403) included in the interface 177. Moisture can be detected based on.
  • the SBU terminal 403 is a secondary bus terminal and may include an SBU1 terminal and an SBU2 terminal.
  • the processor 120 may detect moisture in the interface 177 based on the SBU terminal 403.
  • the terminal used to sense moisture is described as an example of the CC1 terminal 401 or the CC2 terminal 402, but is not limited to the CC1 terminal 401 or the CC2 terminal 402.
  • processor 120 may be referred to as CC1 terminal 401 and CC2 terminal 402 (hereinafter, CC1 terminal 401 and CC2 terminal 402 may be referred to as CC terminals 401 and 402).
  • a current eg, an RP current source
  • the processor 120 may determine whether the external electronic device 410 is connected or the type of the connected external electronic device 410 based on the CC terminals 401 and 402.
  • the processor 120 may measure a resistance value corresponding to moisture based on the CC terminals 401 and 402, and measure the resistance. The presence of moisture for the CC terminals 401 and 402 can be detected based on the resistance value.
  • the processor 120 may switch at least one switch such that the CC terminals 401 and 402 are changed to an open state. .
  • the open state of the CC terminals 401 and 402 means that the CC terminals 401 and 402 are in a high impedance (Z) state (for example, a state where a very high resistance value is applied).
  • the controller 411 of the external electronic device 410 may not supply power to the electronic device 101.
  • the controller 411 of the external electronic device 410 transmits an electrical signal to the CC terminals 401 and 402 of the electronic device 101, and communicates with the electronic device 101 based on the electrical signal. The connection may be checked and power may be supplied to the electronic device 101. If the CC terminals 401 and 402 of the electronic device 101 are in a high impedance (Z) state, the external electronic device 410 cannot determine whether the electronic device 101 is connected to the electronic device 101 and supplies power to the electronic device 101. May not be supplied.
  • FIG. 5 is a circuit diagram illustrating an operation of controlling at least one switch in an interface of an electronic device according to various embodiments of the present disclosure.
  • the processor 120 of the electronic device 101 may include at least one terminal (eg, CC1 terminal 401, CC2 terminal 402, and SBU terminal 403) included in the interface 177. Moisture can be detected based on.
  • the CC terminals 401 and 402 have been disclosed, but are not limited to the CC terminals 401 and 402.
  • the processor 120 may detect moisture based on the CC terminals 401 and 402.
  • the electronic device 101 may include a resistance measuring element (eg, a resistor) for detecting a resistance value corresponding to moisture. The processor 120 may determine whether the resistance values corresponding to the CC terminals 401 and 402 are resistance values corresponding to moisture using the resistance measuring element.
  • the processor 120 may typically be a situation in which power is supplied based on a current generator (for example, a generator), and in a normal situation (for example, a normal mode).
  • the first switch 511 may be in an open state
  • the second switch 512 may be in a close state.
  • an open state of the switch may be a state in which no electrical signal flows through the switch
  • a close state of the switch may be a state in which the electrical signal flows through the switch.
  • the processor 120 supplies power to the CC terminals 401, 402 from a current source 514 (e.g., generator), and uses an external comparator (e.g., FIG. 4) using a comparator.
  • the rp / rd resistance value of the external electronic device 410 may be checked.
  • the processor 120 may determine the type of the external electronic device 410 based on the rp / rd resistance value.
  • the processor 120 may detect moisture based on the CC terminals 401 and 402. can do. For example, when the resistance value corresponding to the moisture is measured based on the CC terminals 401 and 402, the processor 120 may change the second switch 512 in the close state to the open state. According to one embodiment, the processor 120 controls at least one switch (eg, closes the second switch 512) such that the CC terminals 401, 402 maintain a high impedance state in response to sensing moisture. To open status).
  • the processor 120 controls at least one switch (eg, closes the second switch 512) such that the CC terminals 401, 402 maintain a high impedance state in response to sensing moisture. To open status).
  • FIG. 6 is a circuit diagram illustrating an operation of an external electronic device connected to an electronic device according to various embodiments of the present disclosure.
  • the external electronic device 410 may include a controller 411 and may correspond to the interface 177 of the electronic device 101, and may be connected to the electronic device 101 by using a connector (eg, FIG. 3a connector 320).
  • the connector 320 may include at least one terminal (eg, a CC1 terminal 401_1, a CC2 terminal 402_1, a Vbus terminal 405_1, and a GND terminal) corresponding to the USB Type C standard. Can be.
  • the controller 411 may transmit an electrical signal (eg, a current source) to the CC1 terminal 401_1 and the CC2 terminal 402_1, and the CC1 terminal 401 of the connected electronic device 101.
  • the controller 411 measures the impedance of the electronic device 101 based on the CC1 terminal 401_1 and the CC2 terminal 402_1 and transfers the impedance to the Vbus terminal 405_1 based on the measured impedance. It may be determined whether voltage is applied. For example, when the impedance of the electronic device 101 is in a high impedance state, voltages corresponding to the CC1 terminal 401_1 and the CC2 terminal 402_1 of the external electronic device 410 may exceed a reference value (for example, a threshold value). The controller 411 may not apply a voltage corresponding to the Vbus terminal 405_1. That is, the controller 411 may not apply a voltage to the electronic device 101.
  • a reference value for example, a threshold value
  • the controller 411 of the external electronic device 410 may have a CC1 terminal 401_1 and The electrical signal may be transmitted to the electronic device 101 based on the CC2 terminal 402_1.
  • the external electronic device 410 may detect whether it is connected to the electronic device 101 based on the CC1 terminal 401_1 and the CC2 terminal 402_1.
  • the controller 411 may measure an impedance corresponding to the CC1 terminal 401_1 and the CC2 terminal 402_1 based on the electrical signal returned in response to the transmitted electrical signal.
  • the controller 411 may determine whether to apply a voltage to the Vbus terminal 405_1 in response to the measured impedance. For example, when the measured impedance is in a high impedance state, the controller 411 may not output a voltage through the Vbus terminal 405_1.
  • FIG. 7A-7B are flowcharts of a method of changing at least one pin in an interface to an open state to prevent corrosion by moisture in accordance with various embodiments.
  • FIG. 7A illustrates an operation performed by an electronic device to prevent corrosion
  • FIG. 7B illustrates an operation performed by an external electronic device to prevent corrosion.
  • a processor eg, the processor 120 of FIG. 1 of an electronic device (eg, the electronic device 101 of FIG. 1) is located within an interface (eg, the interface 177 of FIG. 1).
  • the presence of water can be confirmed.
  • the processor 120 may include at least one terminal (eg, provided in the interface 177). : Based on the CC terminal (eg, CC1 terminal 401 and CC2 terminal 402 of FIG. 4) and the SBU terminal (eg, SBU terminal 403 of FIG. 4), the presence of moisture may be confirmed.
  • the interface 177 may be provided with at least one terminal corresponding to the USB Type C standard.
  • the interface 177 may include a CC terminal (eg, CC1 terminal 401 and a CC2 terminal 402 of FIG. 4) for checking the type of a connected external electronic device (eg, the external electronic device 410 of FIG. 4).
  • the CC terminal includes a CC1 terminal 401 and a CC2 terminal 402.
  • the processor 120 may check the presence of water based on the at least one terminal.
  • the processor 120 may determine whether moisture is detected.
  • the electronic device 101 may measure a resistance value corresponding to the at least one terminal, and determine that moisture is sensed when the measured resistance value is a resistance value corresponding to moisture. .
  • the processor 120 may change the CC terminals 401 and 402 of the interface 177 to an open state in operation 705.
  • the processor 120 may change the state of the CC terminals 401 and 402 to an open state by turning on / off at least one switch.
  • the open state of the CC terminals 401 and 402 means that the state of the CC terminals 401 and 402 is a high impedance (Z) state, and no electrical signals are transmitted or received to the CC terminals 401 and 402. It may not be.
  • the processor 120 changes the state of the CC terminals 401 and 402 to an open state, and power is not supplied from the external electronic device 410. Can be.
  • the external electronic device 410 may determine whether to be coupled with the electronic device 101 by transmitting an electrical signal to a CC terminal (for example, CC1 terminal 401_1 and CC2 terminal 402_1 of FIG. 6). .
  • a CC terminal for example, CC1 terminal 401_1 and CC2 terminal 402_1 of FIG. 6.
  • the CC terminals 401 and 402 may be in a high impedance state, and the external electronic device 410 may be determined not to be coupled with the electronic device 101. That is, the external electronic device 410 may not supply power to the electronic device 101.
  • corrosion of at least one terminal provided in the interface 177 may be prevented.
  • an external electronic device (eg, the external electronic device 410 of FIG. 4) may be connected to the electronic device 101.
  • the external electronic device 410 may be connected to the interface 177 of the electronic device 101 by using a connector (eg, the connector 320 of FIG. 3A) corresponding to the USB Type C standard.
  • the external electronic device 410 may check the states of the CC terminals 401 and 402 provided in the interface 177 of the electronic device 101.
  • the controller eg, the controller 411 of FIG. 4
  • the controller 411 of FIG. 4 may include a CC terminal (eg, the CC1 terminal 401_1 and the CC2 terminal of FIG. 6) provided in the connector 320. 402_1) may periodically transmit an electrical signal.
  • the controller 411 may check the states of the CC terminals 401 and 402 of the electronic device 101 based on the electrical signal.
  • the controller 411 may measure resistance values (eg, Rd resistance value and Rp resistance value) corresponding to the CC terminals 401 and 402, and the electronic device 101 based on the measured resistance value. Can be powered up or not). For example, when the resistance values corresponding to the CC terminals 401 and 402 correspond to a high impedance, the controller 411 may not supply power to the electronic device 101 and the resistance values correspond to a set range. In this case, the controller 411 may supply power (for example, about 5v) to the electronic device 101.
  • Rd resistance value and Rp resistance value e.g., Rd resistance value and Rp resistance value
  • the external electronic device 410 may determine whether to supply the voltage to the electronic device 101 in response to the checked states of the CC terminals 401 and 402. According to an embodiment, the external electronic device 410 may not supply power to the electronic device 101 when the CC terminals 401 and 402 are in a high impedance state.
  • FIG. 8 is a flowchart illustrating a method of supplying current to at least one pin in an open state in response to a dry state according to various embodiments of the present disclosure.
  • a processor eg, the processor 120 of FIG. 1 of an electronic device (eg, the electronic device 101 of FIG. 1) is connected to an interface (eg, the interface 177 of FIG. 1).
  • an interface eg, the interface 177 of FIG. 1.
  • the terminal for checking whether the water evaporates is not limited to the SBU terminal 403, and may include at least one terminal provided in the interface.
  • the processor 120 may determine whether water has evaporated. For example, the processor 120 may measure a resistance value corresponding to the SBU terminal 403, and if it does not match the resistance value corresponding to the moisture, may determine that the moisture has evaporated. If the moisture has not evaporated in operation 803 (if moisture is detected), the operation may return to operation 801.
  • the processor 120 may switch at least one switch to supply current to the CC terminals 401 and 402 that are open. According to an embodiment, before determining whether the water evaporates, the processor 120 may maintain the CC terminals 401 and 402 in an open state in order to prevent corrosion due to water. In operation 805, the processor 120 may control at least one switch to supply current to the CC terminals 401 and 402 in an open state. For example, the processor 120 may control at least one switch such that a current source is connected to the CC terminals 401 and 402.
  • the processor 120 may wait for a predetermined time.
  • the order of performing operations 805 and 807 may be interchanged.
  • the processor 120 may control at least one switch so that a current source is supplied to the CC terminals 401 and 402 which are in an open state after waiting for a set time.
  • the processor 120 may secondly determine whether moisture is evaporated (for example, a dry state) based on the SBU terminal 403 provided in the interface 177. If a voltage is applied to the electronic device 101 in a state where the water is not evaporated, since the corrosion of the electronic device 101 proceeds, the process of checking whether the water evaporates may be performed two times.
  • the processor 120 may determine whether water has evaporated. For example, the processor 120 may measure a resistance value corresponding to the SBU terminal 403, and if it does not match the resistance value corresponding to the moisture, may determine that the moisture has evaporated.
  • the processor 120 controls at least one switch to change the CC terminals 401 and 402 to which the current source is supplied to the open state again. And return to operation 801.
  • 9A to 9E are diagrams illustrating a method of providing a notification in response to a detected state of moisture according to various embodiments of the present disclosure.
  • FIG. 9A and 9B illustrate a first embodiment of providing a notification in response to a state where moisture is detected.
  • FIG. 9A is a flowchart of a first embodiment
  • FIG. 9B is a diagram illustrating a process of blocking an electrical signal to at least one terminal according to the first embodiment.
  • the processor 120 of the electronic device 101 may measure an electrical signal corresponding to the CC terminals 401 and 402 included in the interface 177.
  • the processor 120 may measure a voltage value or a resistance value corresponding to the CC terminals 401 and 402 using a comparator (eg, the comparator 513 of FIG. 5).
  • the processor 120 may compare the measured electrical signal with a set threshold.
  • the threshold may be a reference value for preventing corrosion and may be set by the manufacturer.
  • Data about the threshold may be stored in a memory (eg, the memory 130 of FIG. 1).
  • the electronic device 101 may store a voltage value or a resistance value corresponding to moisture in the memory 130.
  • the electronic device 101 may store data about a voltage value, a current value, or a resistance value corresponding to an external electronic device that can be connected in a situation where moisture is sensed, in the memory 130.
  • the processor 120 may change the state of the CC terminals 401 and 402 to an open state in operation 915, and the CC terminals 401 and 402. Can be maintained in a high impedance state.
  • the processor 120 may determine whether the external electronic device 410 is inserted, based on the measured electrical signal. For example, the processor 120 may determine whether the external electronic device 410 is inserted, based on the voltage value or the resistance value measured in operation 913.
  • the processor 120 may provide a notification regarding the insertion of the external electronic device 410.
  • the processor 120 may display a notification message through a display device (eg, the display device 160 of FIG. 1) or may notify the user through a sound output device (eg, the audio output device 170 of FIG. 1). A beep can be output.
  • the processor 120 may provide a notification that the external electronic device 410 is connected, based on at least one component constituting the electronic device 101.
  • the processor 120 may apply an electrical signal to the CC terminal 901 (for example, the CC1 terminal 401 and the CC2 terminal 402 of FIG. 4A) at the first time point 951.
  • the CC terminal 901 may be connected to a current source (eg, the current source 514 of FIG. 5) so that an electrical signal set from the current source 514 may flow.
  • a situation in which the electronic device 101 is exposed to water while an electrical signal is applied to the CC terminal 901 may occur.
  • the processor 120 may sense the moisture of the CC terminal 901 at the second time point 952, and block the electrical signal to the CC terminal 901 at the third time point 953.
  • the processor 120 may block an electrical signal to the CC terminal 901 by controlling at least one switch disposed between the CC terminal 901 and the current source 514.
  • the processor 120 may generate an interrupt signal 903 such that a voltage is not applied from the connected external electronic device 410 at the fourth time point 954.
  • FIG. 9C illustrates a second embodiment of providing a notification in response to a state where moisture is detected.
  • FIG. 9C is a flowchart of an embodiment of checking whether an external electronic device is inserted based on a GND terminal in a state where moisture is detected and providing a notification of the insertion of the external electronic device.
  • the processor 120 may determine whether the external electronic device 410 is inserted based on a GND pin (eg, latch pin) provided in the interface 177.
  • the GND pin may be a physical pin (button) at least partially disposed on the interface 177, and when the external electronic device 410 is inserted through the interface 177, the GND pin is It can be ON / OFF (short / unshorted).
  • the processor 120 may determine whether the external electronic device 410 is inserted based on the GND pin.
  • the processor 120 may determine whether the GND pin is shorted. If the GND pin is shorted in operation 923, in operation 925, the processor 120 may provide a notification to the user about the insertion of the external electronic device 410.
  • FIG. 9D illustrates a third embodiment of providing a notification in response to a state where moisture is detected.
  • the processor 120 may periodically apply an electrical signal to the CC terminal in a state where moisture is sensed, and determine whether a voltage is applied based on the Vbus terminal.
  • the processor 120 may determine that an external electronic device is inserted, and provide a notification regarding the insertion of the external electronic device.
  • the processor 120 of the electronic device 101 may periodically apply an electrical signal corresponding to the CC terminals 401 and 402 provided in the interface 177.
  • the processor 120 may apply an electrical signal based on a set time interval corresponding to the CC terminals 401 and 402 which are in an open state.
  • the processor 120 may periodically apply an electrical signal at a set time interval.
  • the external electronic device 410 may receive the electrical signal.
  • the voltage may be transmitted to the electronic device 101 in response to an applied time.
  • the processor 120 may determine whether a voltage is output from a Vbus terminal (eg, the Vbus terminal 405 of FIG. 4) provided in the interface 177. For example, when a voltage is output through the Vbus terminal 405, it may be determined that the external electronic device 410 is connected to output the voltage.
  • a Vbus terminal eg, the Vbus terminal 405 of FIG. 4
  • the processor 120 may determine that the external electronic device 410 is inserted, and provide a notification about the insertion of the external electronic device 410 in operation 937. .
  • FIG. 9E illustrates a fourth embodiment in which notification is provided in response to a state in which moisture is detected.
  • FIG. 9E is a graph showing electrical signals for at least one terminal corresponding to the fourth embodiment.
  • the electronic device 101 is exposed to moisture, and at least one terminal may be connected to another adjacent terminal by the moisture.
  • the processor 120 may apply an electrical signal corresponding to at least one terminal (eg, CC terminal 901 and SBU terminal 903) provided in the interface 177, and the electrical signal may be connected by moisture. It may be abandoned to other terminals.
  • the processor 120 may apply an electrical signal to the CC terminal 901 (for example, the CC1 terminal 401 and the CC2 terminal 402 of FIG. 4A) at the first time point 961.
  • the CC terminal 901 and the SBU terminal 902 (eg, the SUB terminal 403 of FIG.
  • an electrical signal applied to the CC terminal 901 may be an SBU terminal 902. May also be applied. That is, at a first time point 961, an electrical signal may flow at least partially between the CC terminal 901 and the SBU terminal 902.
  • the processor 120 may check the presence of water based on electrical signals applied to the CC terminal 901 and the SBU terminal 902.
  • the processor 120 may generate an interrupt signal 903 for the CC terminal 901 and the SBU terminal 902 at the second time point 962, and the CC terminal 901 and the SBU terminal at the third time point 963.
  • the electrical signal to 902 may be blocked.
  • the processor 120 may generate an interrupt signal 903 such that a voltage is not applied from the connected external electronic device 410 at the fourth time point 964.
  • An electronic device may include a housing, connected to or exposed through the housing, and at least one configuration channel (CC) pin (eg, An interface including the CC1 terminal 401 and the CC2 terminal 402 of FIG. 4 (the interface 177 of FIG. 1), disposed inside the housing, and including a current generator (eg, the current source of FIG. 5). 514) and a comparator (eg, comparator 513 of FIG. 5), a circuit electrically connected to the interface 177, disposed within the housing, the interface 177 and the It may include a processor (eg, the processor 120 of FIG. 1) operatively connected to the circuit, and a memory (eg, the memory 130 of FIG.
  • CC configuration channel
  • the memory 130 is executable, at run time, by the processor 120 based on the comparator 513, with the at least one CC pin 401, 402 connected to the current source 514.
  • At least one switch disposed between the current source 514 and the at least one CC pin senses moisture corresponding to one CC pin 401, 402, and in response to sensing the moisture.
  • the second switch 512 may control the at least one CC pin 401, 402 so as not to be connected to the current source 514.
  • the processor 120 measures a voltage value or a resistance value corresponding to the at least one CC pin 401, 402 based on the comparator 513, and measures the measured voltage value or resistance value. Moisture can be detected based on
  • the processor 120 measures an electrical signal corresponding to the at least one CC pin 401, 402 based on the comparator 513, and determines whether the measured electrical signal exceeds a threshold value. Determine whether the threshold value is exceeded, and control the at least one switch 512 disposed between the current source 514 and the at least one CC pin 401, 402 to control the at least one CC pin. 401 and 402 can be changed to an open state.
  • the processor 120 controls the at least one CC pin by controlling the at least one switch 512 such that the at least one CC pin 401, 402 is not connected to the current source 514. In response to 401 and 402, a high impedance state may be maintained.
  • the processor 120 measures an electrical signal corresponding to the at least one CC pin 401, 402 based on the comparator 513, and based on the measured electrical signal, the interface ( It is possible to check whether the external electronic device (eg, the external electronic device 410 of FIG. 4) is inserted through the 177 and provide a notification corresponding to the insertion of the external electronic device 410.
  • the external electronic device eg, the external electronic device 410 of FIG. 4
  • the processor 120 may determine whether the external electronic device 410 is inserted through the interface 177 based on the GND pin included in the interface 177, and the external electronic device ( A notification corresponding to the insertion of the 410 may be provided.
  • the processor 120 may periodically apply an electrical signal to the at least one CC pin 401, 402, and may include a Vbus terminal (eg, the Vbus terminal of FIG. 4) included in the interface 177. 405) determines whether the voltage is output, detects the insertion of the external electronic device 410 based on the output of the voltage at the Vbus terminal 405, and notifies the insertion of the external electronic device 410. Can be provided.
  • a Vbus terminal eg, the Vbus terminal of FIG. 4
  • the processor 120 may periodically apply an electrical signal to the at least one CC pin 401, 402, and may include a Vbus terminal (eg, the Vbus terminal of FIG. 4) included in the interface 177. 405) determines whether the voltage is output, detects the insertion of the external electronic device 410 based on the output of the voltage at the Vbus terminal 405, and notifies the insertion of the external electronic device 410. Can be provided.
  • the processor 120 determines whether evaporation of water is based on the SBU pin included in the interface 177 based on the comparator 513, and in response to evaporation of the water, the at least Control the at least one switch 512 so that one CC pin (401, 402) is connected to the current source 514, and after a predetermined time has elapsed, it is possible to re-confirm whether water evaporates based on the SBU pin. Can be.
  • the external electronic device 410 may be electrically connected to a connector (eg, at least one CC pin 401 or 402 included in the interface 177 of the electronic device 410).
  • the processor measures an electrical signal corresponding to at least one CC pin 401, 402 of the electronic device 101, and in response to the measured electrical signal, whether the voltage is supplied to the electronic device 101 is determined. You can decide.
  • the processor 411 of the external electronic device 410 supplies a voltage to the electronic device 101 when the electrical signal corresponding to the at least one CC pin 401, 402 is in a high impedance state. Can be blocked.
  • an operation method of the electronic device 101 may be performed by connecting the current source 514 to at least one CC pin 401 or 402 included in the interface 177. Detects moisture corresponding to the at least one CC pin 401, 402 based on a comparator 513 included in an electrically connected circuit, and in response to the sensing of the moisture, the current source 514 and the at least one At least one switch 512 disposed between the CC pins 401 and 402 of the control unit may be controlled, and the at least one CC pins 401 and 402 may be switched so as not to be connected to the current source 514.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • Telephone Function (AREA)

Abstract

본 발명의 다양한 실시예에 따른 전자장치는, 하우징, 상기 하우징에 연결되거나, 상기 하우징을 통해 노출되고, 적어도 하나의 CC(Configuration Channel) 핀을 포함하는 인터페이스, 상기 하우징의 내부에 배치되고, 전류원(current generator) 및 비교기(comparator)를 포함하고, 상기 인터페이스에 전기적으로 연결된 회로, 상기 하우징의 내부에 배치되고, 상기 인터페이스 및 상기 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함할 수 있다. 상기 메모리는, 실행시에, 상기 프로세서가, 상기 적어도 하나의 CC 핀이 상기 전류원과 연결된 상태에서, 상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 수분을 감지하고, 상기 수분의 감지에 응답하여, 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 적어도 하나의 스위치를 제어하여 상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭할 수 있다. 또한, 다른 실시 예가 가능하다.

Description

수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치
본 발명의 다양한 실시 예는 수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치에 관한 것이다. 상세하게는, 전자 장치의 인터페이스(예: 연결 단자)에서 수분이 감지될 때, 상기 감지된 수분에 의한 부식을 방지하기 위해 전자 장치를 제어하는 발명이다.
최근 전자 통신 산업을 발달로 인해 휴대용 전자 장치는 급속히 퍼져가고 있는 추세이다. 예를 들어, 이러한 휴대용 전자 장치는 통신용 이동 통신 단말기를 비롯하여, 개인용 디지털보조기(personal digital assistants, PDA), 스마트 폰(smart phone), 태블릿 PC(tablet PC), MP3 플레이어, 랩탑 PC(laptop personal computer), 디지털 카메라 및 웨어러블 기기(wearable device) 등 장소에 구애 받지 않고 이동하면서 자유롭게 사용할 수 있는 다양한 전자 장치들을 포함할 수 있다.
최근에는 다양한 전자 장치들에 외부 전자 장치가 유선으로 연결되기 위한 포트(예: 연결 단자)를 구비하고 있다. 상기 포트들은 다양한 표준에 의해 규격화되고 있다. 다양한 표준들 중 가장 널리 이용되는 표준으로 범용 직렬 버스(universal serial bus, USB) 방식이 있다.
범용 직렬 버스(universal serial bus, 이하 USB)는 전자 장치와 외부 전자 장치를 연결하는 데 쓰이는 입출력 표준 방식으로써, 다양하게 활용되고 있다.
휴대용 전자 장치는 장소의 제한 없이, 이동하면서 자유롭게 사용할 수 있도록 방수 기능을 구비할 수 있다. 휴대용 전자 장치는 휴대 중에 물에 노출되는 상황이 있을 수 있고, 특히, 외부 장치와 연결하기 위한 포트(예: 인터페이스, 연결 단자)는 물에 직접적으로 노출되는 구성부일 수 있다.
종래에는 인터페이스에 포함되어 있는 D+/D- data 단자를 기반으로, 전자 장치에 인가되는 전압(Vbus)을 주기적으로 떨어뜨림으로써, 인터페이스에 남아 있는 수분으로 인한 부식을 방지할 수 있다.
USB TYPE C 규격에 대응하는 TYPE C 인터페이스는 D+/D- data 단자를 포함하지 않을 수 있다. TYPE C 인터페이스가 구비된 전자장치는 D+/D- data 단자의 부재로 인해, 인가되는 전압을 주기적으로 떨어뜨리기 어려울 수 있다. TYPE C 인터페이스가 구비된 전자장치는 수분에 노출되는 상황에서 수분으로 인한 인터페이스의 부식을 방지하기 어려울 수 있다.
본 발명의 다양한 실시예에 따른 전자장치는, 하우징, 상기 하우징에 연결되거나, 상기 하우징을 통해 노출되고, 적어도 하나의 CC(Configuration Channel) 핀을 포함하는 인터페이스, 상기 하우징의 내부에 배치되고, 전류원(current generator) 및 비교기(comparator)를 포함하고, 상기 인터페이스에 전기적으로 연결된 회로, 상기 하우징의 내부에 배치되고, 상기 인터페이스 및 상기 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함할 수 있다. 상기 메모리는, 실행시에, 상기 프로세서가, 상기 적어도 하나의 CC 핀이 상기 전류원과 연결된 상태에서, 상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 수분을 감지하고, 상기 수분의 감지에 응답하여, 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 적어도 하나의 스위치를 제어하여 상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭할 수 있다.
본 발명의 다양한 실시예에 따른 외부 전자장치는, 전자 장치의 인터페이스에 포함된 적어도 하나의 CC 핀에 대응하여 전기적으로 연결 가능한 커넥터, 상기 커넥터에 전기적으로 연결된 회로, 및 상기 커넥터 및 상기 회로와 작동적으로 연결된 프로세서를 포함할 수 있다. 상기 프로세서는 상기 전자 장치의 적어도 하나의 CC 핀에 대응하는 전기적 신호를 측정하고, 상기 측정된 전기적 신호에 대응하여, 상기 전자 장치로의 전압의 공급 여부를 결정할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 인터페이스에 포함된 적어도 하나의 CC 핀이 전류원과 연결된 상태에서, 상기 인터페이스에 전기적으로 연결된 회로에 포함된 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 수분을 감지하고, 상기 수분의 감지에 응답하여, 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 적어도 하나의 스위치를 제어하고, 상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치는 TYPE C 인터페이스를 구비하며, TYPE C 인터페이스에 포함된 적어도 하나의 단자(예: CC 단자, SBU 단자)를 기반으로 수분을 감지할 수 있다. 전자 장치는 수분의 감지에 응답하여, CC단자를 개방 상태로 스위칭할 수 있고, CC 단자가 개방 상태를 스위칭됨에 따라, 외부 장치로부터 전압이 인가되지 않을 수 있다. 다양한 실시예에 따르면, 외부 장치로부터 전압이 인가되지 않으므로, 수분에 의한 부식을 방지할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치는 수분의 감지 상태 또는 외부 장치의 삽입 상태에 대응하여 사용자에게 알림을 제공할 수 있고, 상기 알림은 전자 장치와 외부 장치를 분리하도록 표시되는 알림 메시지일 수 있다. 다양한 실시예에 따르면, 전자 장치와 외부 장치가 분리됨에 따라, 전기적 신호에 따른 부식 없이, 수분을 증발시킬 수 있다. 이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
도 1은 다양한 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 전자 장치의 인터페이스를 도시한 도면이다.
도 3a 내지 도 3b는 다양한 실시예에 따른 전자 장치의 커넥터 및 상기 커넥터의 핀 구조를 도시한 도면이다.
도 4는 다양한 실시예에 따른 전자 장치의 블록도이다.
도 5는 다양한 실시예에 따른 전자 장치의 인터페이스 내에서 적어도 하나의 스위치를 제어하는 동작을 도시한 회로도이다.
도 6은 다양한 실시예에 따른 전자 장치에 연결된 외부 전자 장치의 동작을 도시한 회로도이다.
도 7a 내지 도 7b는 다양한 실시예에 따른 수분에 의한 부식을 방지하기 위해 인터페이스 내의 적어도 하나의 핀을 개방 상태로 변경하는 방법에 대한 흐름도이다.
도 8은 다양한 실시예에 따른 드라이 상태에 대응하여, 개방 상태인 적어도 하나의 핀에 전류를 공급하는 방법에 대한 흐름도이다.
도 9a 내지 도 9e는 다양한 실시예에 따른 수분이 감지된 상태에 대응하여 알림을 제공하는 방법을 도시한 도면이다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132)(예: DRAM, SRAM, 또는 SDRAM 등) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)는, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접, 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)))(예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다. 일 실시예에 따르면, 인터페이스(177)는 USB TYPE C 규격에 대응하는 TYPE C 인터페이스(예: TYPE C 연결 단자)를 포함할 수 있다. 본 발명의 다양한 실시예에 따르면, 전자 장치(101)는 USB TYPE C 규격의 커넥터를 이용하여, 외부의 전자 장치와 연결될 수 있다. 예를 들어, 외부의 전자 장치는 충전 기기 일 수 있으며, 전자 장치(101)는 충전 기기로부터 전압을 수신할 수 있고, 상기 수신된 전압을 기반으로 배터리(189)를 충전할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈를, 이미지 센서를, 이미지 시그널 프로세서를, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 이용하여 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 신호 또는 전력을 수신할 수 있다. 안테나 모듈은 서브 스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", “A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2는 다양한 실시예에 따른 전자 장치의 인터페이스를 도시한 도면이다.
다양한 실시예에 따르면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 스마트폰, 태블릿 PC 등 휴대용 전자 장치로 구현될 수 있으나, 이에 한정되지는 않으며, 외부 전자 장치가 연결될 수 있는 커넥터(210)(예: 도 1의 인터페이스(177), 도 1의 연결 단자(178))를 구비할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 상기 커넥터(210)를 통해, 외부 전자 장치와 연결될 수 있고, 상기 연결된 외부 전자 장치와 데이터(예를 들어, 오디오 데이터 등 멀티미디어 데이터, 기타 제어 명령 등)를 송수신할 수 있다. 일 실시예에 따르면, 상기 연결된 외부 전자 장치가 충전 장치(예: 충전기)인 경우 전자 장치(200)는 상기 외부 전자 장치로부터 전압을 수신하여, 배터리(예: 도 1의 배터리(189))를 충전할 수 있다.
다양한 실시예에 따르면, 전자 장치(200)는 하우징(housing)의 일면에 형성된 개구(opening) 및 개구와 이어진 홀(hole)을 포함하며, 홀 내부에 커넥터(210)가 배치될 수 있다. 도 2에 도시된 바와 같이, 전자 장치(200)의 하우징의 아래쪽 일면에 개구 및 홀이 형성되고 그 내부에 커넥터(210)가 배치될 수 있으나, 커넥터(210)의 배치 위치는 이에 한정되지 않으며, 전자 장치(200)의 하우징의 다른 일면에 배치될 수도 있다.
도 3a 내지 도 3b는 다양한 실시예에 따른 전자 장치의 커넥터 및 상기 커넥터의 핀 구조를 도시한 도면이다. 도 3a는 전자 장치의 커넥터 및 외부 전자 장치의 커넥터를 도시한다. 도 3b는 커넥터에 포함된 복수의 단자들(예: 핀(pin))에 대한 구조를 도시한다.
도 3a를 참조하면, 전자 장치(200)의 커넥터(210)에는 외부 전자 장치의 커넥터(320)가 삽입될 수 있다. 외부 전자 장치의 종류에는 한정이 없으며, 전자 장치(200)에 전원을 공급하는 배터리 팩, 전자 장치(200)와 통신을 수행하는 장치, 또는 전자 장치(200)와 연결되는 외장 메모리 등이 모두 외부 전자 장치에 해당될 수 있다.
외부 전자 장치의 커넥터(320)는 전자 장치(200)에 구현된 홀을 통해 수용되어 전자 장치(200)의 커넥터(210)와 물리적으로 접촉될 수 있고, 물리적 접촉에 따라 전기적으로 연결될 수 있다. 다양한 실시예에 따르면, 전자 장치(200)의 커넥터(210) 및 홀 구조는 리버서블(reversible) 한 구조일 수 있다. 즉, 커넥터(210)는 외부 전자 장치가 삽입되는 방향(예를 들어, 전자 장치(200)의 아래쪽에서 위쪽 방향)과 수직인 제1방향 및 제1방향과 반대 방향인 제2방향에 대해 서로 대칭일 수 있다.
도 3a를 참조 하면, 외부 전자 장치의 커넥터(320)의 일면(예를 들어, A면)이 전자 장치(200)의 전면(예를 들어, 디스플레이가 위치한 면)과 평행한 방향으로, 전자 장치(200)의 커넥터(210)에 삽입될 수 있으며, 마찬가지로 외부 장치의 커넥터(320)의 다른 일면(예를 들어, B면)이 전자 장치(200)의 전면과 평행한 방향으로 삽입될 수도 있다. 일 실시예에 따르면, 커넥터(210)는 복수의 단자를 포함할 수 있다. 일 실시예에 따르면, 외부 전자 장치의 커넥터(320)가 서로 다른 방향으로 삽입되는 경우, 전자 장치(200)의 커넥터(210)에 포함된 각각의 단자에 전기적으로 연결되는 외부 전자 장치의 커넥터(320)의 각 단자는 다를 수 있다.
다양한 실시예에 따르면, 커넥터(210)는 직렬 범용 버스(universal serial bus, 이하 USB) 규격에 따른 커넥터 일 수 있으며, 보다 구체적으로 USB TYPE C 규격에 대응하는 TYPE C 커넥터일 수 있다. 다만, 본 발명의 다양한 실시예들이 USB TYPE C에 한정되는 것은 아니며, HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 다양한 표준 규격의 유선 인터페이스 또는 비규격의 유선 인터페이스에 적용될 수 있다. 더 나아가, 소스(전력을 제공하는 장치)와 싱크(전력을 공급 받는 장치) 사이 또는 DFP(downstream facing port, 데이터를 제공하는 장치) 와 UFP(upstream facing port, 데이터를 수신하는 장치) 사이에 어떤 장치들이 연결되었는지 자동으로 감지하는데 이용될 수 있는 데이터(예를 들면, 타입 C 규격에 포함된 CC1(configuration channel 1) 핀, CC2(configuration channel 2) 핀에서 전송되는 데이터)를 전송할 수 있는 인터페이스는 본 발명의 다양한 실시예들이 적용될 수 있는 인터페이스이다.
도 3b는 다양한 실시예들에 따른 전자 장치의 커넥터의 핀 구조를 도시한 도면이다.
다양한 실시예에 따르면, 전자 장치(예: 도 2의 전자 장치(200))의 커넥터는 USB 타입(TYPE) C 규격에 대응되며, 도 3b는 전자 장치(200)의 커넥터가 USB 타입 C 규격을 따르는 경우, 커넥터가 구비할 수 있는 복수의 단자들에 대해서 도시되어 있다. 도 3b에 도시된 바와 같이, USB 타입 C 규격의 커넥터는 좌측 A라인 및 우측 B라인에 각각 12개 단자를 구비할 수 있으며, 서로 대칭인 형태일 수 있다.
일 실시예에 따르면, 전자 장치(200)는 커넥터의 A6/B6 및 A7/B7단자를 통해, 데이터 신호를 전송할 수 있다. 전자 장치(200)(또는, 외부 전자 장치)는 A6/B6단자(D+)를 통해 외부 전자 장치(또는, 전자 장치(200))로 데이터를 전송할 수 있다. 여러 동작 모드에서 각 단자의 역할은 USB 타입 C 표준에 의해 정의되어 있는 바, 각 단자의 역할에 대해서는 그 설명을 생략하기로 한다.
일 실시예에 따르면, 전자 장치(200)는 외부 전자 장치와 연결되면, CC1 단자 및 CC2 단자를 통해, 상기 외부 전자 장치와 전기적 신호(예를 들어, 디지털 ID 또는 저항 ID)를 교환할 수 있다. 전자 장치(200)는 상기 전기적 신호에 대응하는 전압값 또는 저항값을 기반으로, 커넥터를 통해 연결된 외부 전자 장치의 종류를 감지할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 커넥터의 CC1 단자 및 CC2 단자를 기반으로, 수분을 감지할 수 있다. 예를 들어, 전자 장치(200)는 수분에 대응하는 저항값을 확인함으로써, 수분을 감지할 수 있다.
다양한 실시예에 따른 전자 장치는 USB 타입 C 커넥터를 통해 연결된 외부 전자 장치와 CC1 또는 CC2 단자(이하, CC 핀으로 통칭한다)를 통해 데이터를 송/수신할 수 있다. CC 핀은 소스(전력을 제공하는 장치)와 싱크(전력을 공급 받는 장치) 또는 DFP(데이터를 제공하는 장치)와 UFP(데이터를 수신하는 장치) 사이에 어떤 장치들이 연결되었는지 자동으로 감지하는데 이용될 수 있다.
도 4는 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4를 참조하면, 전자 장치(예: 도 1의 전자 장치(101))는 프로세서(예: 도 1의 프로세서(120)), 인터페이스(예: 도 1의 인터페이스(177)), 전력 관리 모듈(예: 도 1의 전력 관리 모듈(188)), 및 배터리(예: 도 1의 배터리(189))를 포함할 수 있다. 일 실시예에 따르면, 인터페이스(177)는 도 1의 연결 단자(178)를 포함할 수도 있다. 일 실시예에 따르면, 인터페이스(177)는 USB 타입 C 규격에 대응하는 USB 타입 C 연결 단자를 포함하고, 전자 장치(101)는 USB 타입 C 규격의 커넥터에 의해, 외부 전자 장치(410)(예: 충전 장치)와 연결될 수 있다. 외부 전자 장치(410)는 USB 타입 C 규격에 대응하는 인터페이스(177)에 결합되도록 USB 타입 C 규격에 대응하는 커넥터(예: 도 3a의 커넥터(320))를 포함할 수 있다. 일 실시예에 따르면, 전자 장치(101)의 프로세서(120)는 인터페이스(177)에 구비된 CC1 단자(401) 및 CC2 단자(402)를 통해, 연결된 외부 전자 장치(410)의 종류를 확인할 수 있다. 예를 들어, 프로세서(120)는 CC1 단자(401) 및 CC2 단자(402)를 통해, 외부 전자 장치(410)에 대응하는 전압값 및 저항값을 측정하고, 상기 측정된 전압값 및 저항값을 기반으로 외부 전자 장치(410)의 종류(예: 데이터 제공 장치, 전력 제공 장치(충전 장치))를 확인할 수 있다.
다양한 실시예에 따르면, 외부 전자 장치(410)는 컨트롤러(411) 및 프로토콜 컨트롤러(412)를 포함할 수 있다. 컨트롤러(411)는 외부 전자 장치(410)에 구비된 각각의 구성부들을 적어도 부분적으로 제어할 수 있다. 프로토콜 컨트롤러(412)는 설정된 전기적 신호를 주기적으로 전송할 수 있다. 예를 들어, 프로토콜 컨트롤러(412)는 컨트롤러(411)의 제어 하에, 설정된 전기적 신호를 전송할 수도 있고, 상기 컨트롤러(411)의 제어 없이, 설정된 전기적 신호를 주기적으로 전송할 수도 있다. 일 실시예에 따르면, 외부 전자 장치(410)가 전자 장치(101)에 연결되면, 외부 전자 장치(410)의 컨트롤러(411)는 프로토콜 컨트롤러(412)에 연결된 CC1 단자(401) 및 CC2 단자(402)를 통해, 전자 장치(101)와의 연결을 감지할 수 있다. 일 실시예에 따르면, 전자 장치(101)와의 연결에 응답하여, 외부 전자 장치(410)의 컨트롤러(411)는 설정된 전압(예: 약 5V)을 전자 장치(101)에 인가할 수 있다. 전자 장치(101)는 인터페이스(177)에 구비된 Vbus 단자(405)를 통해, 외부 전자 장치(410)로부터 전압을 제공 받을 수 있다. 프로세서(120)는 전력 관리 모듈(188)을 제어하여, 상기 제공된 전압을 기반으로 배터리(189)를 충전할 수 있다.
다양한 실시예에 따르면, 전자 장치(101)의 프로세서(120)는 인터페이스(177)에 구비된 적어도 하나의 단자(예: CC1 단자(401), CC2 단자(402), 및 SBU 단자(403))를 기반으로 수분을 감지할 수 있다. SBU 단자(403)는 secondary bus 단자이며, SBU1 단자 및 SBU2 단자를 포함할 수 있다. 일 실시예에 따르면, 프로세서(120)는 SBU 단자(403)를 기반으로 인터페이스(177) 내에서 수분을 감지할 수 있다. 이하에서, 수분을 감지하기 위해 사용되는 단자는 CC1 단자(401) 또는 CC2 단자(402)를 예로써 설명하지만, CC1 단자(401) 또는 CC2 단자(402)에 한정되지는 않는다. 예를 들어, 프로세서(120)는 CC1 단자(401) 및 CC2 단자(402)(이하에서, CC1 단자(401) 및 CC2 단자(402)는 CC 단자(401, 402)로 지칭될 수 있다.)에 대응하여, 전류(예: RP current source)를 인가하고, 상기 인가된 전류를 기반으로 CC 단자(401, 402)의 상태를 감지할 수 있다. 예를 들어, 프로세서(120)는 CC 단자(401, 402)를 기반으로, 외부 전자 장치(410)의 연결 여부, 또는, 연결된 외부 전자 장치(410)의 종류를 확인할 수 있다. 일 실시예에 따르면, CC 단자(401, 402)에 수분이 있을 경우, 프로세서(120)는 상기 CC 단자(401, 402)를 기반으로, 수분에 대응하는 저항값을 측정할 수 있고, 상기 측정된 저항값을 기반으로 CC 단자(401, 402)에 대한 수분의 존재 여부를 감지할 수 있다. 다양한 실시예에 따르면, CC 단자(401, 402)를 통해 수분이 감지되면, 프로세서(120)는 CC 단자(401, 402)가 개방(OPEN) 상태로 변경되도록 적어도 하나의 스위치를 스위칭할 수 있다. CC 단자(401, 402)가 개방 상태라는 것은 CC 단자(401, 402)가 하이 임피던스(Z, high impedance) 상태(예: 매우 높은 저항값이 인가된 상태)라는 의미이며, CC 단자(401, 402)에 어떠한 전기적 신호도 송수신되지 않는 상태일 수 있다. CC 단자(401, 402)가 하이 임피던스(Z) 상태로 변경됨에 따라, 외부 전자 장치(410)의 컨트롤러(411)는 전자 장치(101)에 전원을 공급하지 않을 수 있다. 일 실시예에 따르면, 외부 전자 장치(410)의 컨트롤러(411)는 전자 장치(101)의 CC 단자(401, 402)에 전기적 신호를 전송하고, 상기 전기적 신호를 기반으로 전자 장치(101)와의 연결을 확인하고, 전자 장치(101)에 전원을 공급할 수 있다. 전자 장치(101)의 CC 단자(401, 402)가 하이 임피던스(Z) 상태라면, 외부 전자 장치(410)는 전자 장치(101)와의 연결 여부를 확인할 수 없고, 전자 장치(101)에 전원을 공급하지 않을 수 있다.
도 5는 다양한 실시예에 따른 전자 장치의 인터페이스 내에서 적어도 하나의 스위치를 제어하는 동작을 도시한 회로도이다.
일 실시예에 따르면, 전자 장치(101)의 프로세서(120)는 인터페이스(177)에 구비된 적어도 하나의 단자(예: CC1 단자(401), CC2 단자(402), 및 SBU 단자(403))를 기반으로 수분을 감지할 수 있다. 도 5를 참조하면, CC 단자(401, 402)가 개시되었으나, CC 단자(401, 402)에 한정되지 않는다. 일 실시예에 따르면, 프로세서(120)는 CC 단자(401, 402)를 기반으로 수분을 감지할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 수분에 대응하는 저항값을 감지하기 위한 저항 측정 소자(예: 저항기(resistor))를 포함할 수 있다. 프로세서(120)는 저항 측정 소자를 사용하여, CC 단자(401, 402)에 대응하는 저항값이 수분에 대응하는 저항값인지 여부를 판단할 수 있다.
일 실시예에 따르면, 통상적으로 프로세서(120)는 전류원(current generator)(예: 제너레이터)을 기반으로 전원이 공급되는 상황일 수 있으며, 통상적인 상황(예: 노멀 모드(normal mode))에서 제1 스위치(511)는 open 상태이며, 제2 스위치(512)는 close 상태일 수 있다. 예를 들어, 스위치가 open 상태라는 것은 스위치가 열려 있어서, 스위치를 통해 전기적 신호가 흐르지 않는 상태이고, 스위치가 close 상태라는 것은 스위치가 닫혀 있어서 스위치를 통해 전기적 신호가 흐르는 상태일 수 있다. 노멀 모드에서 프로세서(120)는 전류원(514)(예: 제너레이터)으로부터 CC 단자(401, 402)에 전원을 공급하고, 비교기(513)(comparator)를 사용하여 외부 전자 장치(예: 도 4의 외부 전자 장치(410))의 rp/rd 저항값을 확인할 수 있다. 일 실시예에 따르면, 프로세서(120)는 rp/rd 저항값을 기반으로 외부 전자 장치(410)의 종류를 확인할 수 있다.
일 실시예에 따르면, 전자 장치(101)가 물기에 노출되는 경우 CC 단자(401, 402)에 수분이 유입될 수 있고, 프로세서(120)는 CC 단자(401, 402)를 기반으로 수분을 감지할 수 있다. 예를 들어, 프로세서(120)는 CC 단자(401, 402)에 기반하여 수분에 대응되는 저항값이 측정되면, close 상태인 제2 스위치(512)를 open 상태로 변경할 수 있다. 일 실시예에 따르면, 프로세서(120)는 수분의 감지에 응답하여, CC 단자(401, 402)가 하이 임피던스 상태를 유지하도록 적어도 하나의 스위치를 제어(예: 제2 스위치(512)를 close 상태에서 open 상태로 변경한다.)할 수 있다.
도 6은 다양한 실시예에 따른 전자 장치에 연결된 외부 전자 장치의 동작을 도시한 회로도이다.
일 실시예에 따르면, 외부 전자 장치(410)는 컨트롤러(411)를 포함할 수 있고, 전자 장치(101)의 인터페이스(177)에 대응하여, 전자 장치(101)와 연결 가능한 커넥터(예: 도 3a의 커넥터(320))를 포함할 수 있다. 일 실시예에 따르면, 커넥터(320)는 USB 타입 C 규격에 대응하여, 적어도 하나의 단자(예: CC1 단자(401_1), CC2 단자(402_1), Vbus 단자(405_1), GND 단자)를 포함할 수 있다. 일 실시예에 따르면, 컨트롤러(411)는 CC1 단자(401_1) 및 CC2 단자(402_1)로 전기적 신호(예: 전류(current source))를 전송할 수 있고, 연결된 전자 장치(101)의 CC1 단자(401) 및 CC2 단자(402)에 대응하는 임피던스(impedance)를 측정할 수 있다. 일 실시예에 따르면, 컨트롤러(411)는 CC1 단자(401_1) 및 CC2 단자(402_1)를 기반으로, 전자 장치(101)의 임피던스를 측정하고, 상기 측정된 임피던스를 기반으로 Vbus 단자(405_1)로의 전압 인가 여부를 결정할 수 있다. 예를 들어, 전자 장치(101)의 임피던스가 하이 임피던스 상태이면, 외부 전자 장치(410)의 CC1 단자(401_1) 및 CC2 단자(402_1)에 대응되는 전압이 기준값(예: 임계값)을 초과할 수 있고, 컨트롤러(411)는 Vbus 단자(405_1)에 대응하여 전압을 인가하지 않을 수 있다. 즉, 컨트롤러(411)는 전자 장치(101)에 전압을 인가하지 않을 수 있다.
다양한 실시예에 따르면, 외부 전자 장치(410)의 커넥터(320)가 전자 장치(101)의 인터페이스(177)에 연결되면, 외부 전자 장치(410)의 컨트롤러(411)는 CC1 단자(401_1) 및 CC2 단자(402_1)를 기반으로, 전자 장치(101)에 전기적 신호를 전달할 수 있다. 외부 전자 장치(410)는 CC1 단자(401_1) 및 CC2 단자(402_1)를 기반으로, 전자 장치(101)와의 연결 여부를 감지할 수 있다. 예를 들어, 컨트롤러(411)는 상기 전달된 전기적 신호에 대응하여 리턴된 전기적 신호를 기반으로, CC1 단자(401_1) 및 CC2 단자(402_1)에 대응하는 임피던스(impedance)를 측정할 수 있다. 컨트롤러(411)는 상기 측정된 임피던스에 대응하여, Vbus 단자(405_1)로의 전압 인가 여부를 결정할 수 있다. 예를 들어, 상기 측정된 임피던스가 하이 임피던스 상태일 경우 컨트롤러(411)는 Vbus 단자(405_1)를 통해, 전압을 출력하지 않을 수 있다.
도 7a 내지 도 7b는 다양한 실시예에 따른 수분에 의한 부식을 방지하기 위해 인터페이스 내의 적어도 하나의 핀을 개방 상태로 변경하는 방법에 대한 흐름도이다. 도 7a는 부식을 방지하기 위해 전자 장치에서 수행하는 동작을 도시하고, 도 7b는 부식을 방지하기 위해 외부 전자 장치에서 수행하는 동작을 도시한다.
도 7a를 참조하면, 동작 701에서 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))는 인터페이스(예: 도 1의 인터페이스(177)) 내에 수분의 존재 여부를 확인할 수 있다. 예를 들어, 전자 장치(101)가 물기에 노출될 때, 홀 형태의 인터페이스(177) 내에 수분이 남아있을 확률이 높으며, 프로세서(120)는 인터페이스(177)에 구비된 적어도 하나의 단자(예: CC 단자(예: 도 4의 CC1 단자(401), CC2 단자(402)), SBU 단자(예: 도 4의 SBU 단자(403)))를 기반으로, 수분의 존재 여부를 확인할 수 있다. 일 실시예에 따르면, 인터페이스(177)는 USB 타입 C 규격에 대응하는 적어도 하나의 단자가 구비될 수 있다. 예를 들어, 인터페이스(177)는 연결된 외부 전자 장치(예: 도 4의 외부 전자 장치(410))의 종류를 확인하기 위한 CC 단자(예: 도 4의 CC1 단자(401), CC2 단자(402))(이하에서, CC 단자는 CC1 단자(401) 및 CC2 단자(402)를 포함한다.)를 포함할 수 있다. 프로세서(120)는 상기 적어도 하나의 단자를 기반으로, 수분의 존재 여부를 확인할 수 있다.
동작 703에서 프로세서(120)는 수분의 감지 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 상기 적어도 하나의 단자에 대응하는 저항값을 측정할 수 있고, 상기 측정된 저항값이 수분에 대응하는 저항값인 경우 수분이 감지되었다고 판단할 수 있다.
동작 703에서 수분이 감지되면, 동작 705에서 프로세서(120)는 인터페이스(177)의 CC 단자(401, 402)를 개방(OPEN) 상태로 변경할 수 있다. 예를 들어, 프로세서(120)는 적어도 하나의 스위치를 ON/OFF 스위칭 함으로써, CC 단자(401, 402)의 상태를 개방 상태로 변경할 수 있다. CC 단자(401, 402)가 개방 상태라는 것은 CC 단자(401, 402)의 상태가 하이 임피던스(Z, high impedance) 상태라는 것을 의미하며, CC 단자(401, 402)에 어떠한 전기적 신호도 송수신되지 않는 상태일 수 있다. 다양한 실시예에 따르면, 프로세서(120)는 인터페이스(177) 내에서 수분이 감지되면, CC 단자(401, 402)의 상태를 개방 상태로 변경하고, 외부 전자 장치(410)로부터 전원이 공급되지 않을 수 있다. 예를 들어, 외부 전자 장치(410)는 CC 단자(예: 도 6의 CC1 단자(401_1), CC2 단자(402_1))에 전기적 신호를 전송하여 전자 장치(101)와의 결합 여부를 판단할 수 있다. CC 단자(401, 402)가 개방 상태로 변경되면, CC 단자(401, 402)는 하이 임피던스 상태이며, 외부 전자 장치(410)는 전자 장치(101)와 결합되지 않았다고 판단할 수 있다. 즉, 외부 전자 장치(410)는 전자 장치(101)에 전원을 공급하지 않을 수 있다. 다양한 실시예에 따르면, 외부 전자 장치(410)로부터 전원이 공급되지 않으므로, 인터페이스(177)에 구비된 적어도 하나의 단자에 대한 부식을 방지할 수 있다.
도 7b를 참조하면, 동작 711에서 외부 전자 장치(예: 도 4의 외부 전자 장치(410))는 전자 장치(101)와 연결될 수 있다. 예를 들어, 외부 전자 장치(410)는 USB 타입 C 규격에 대응하는 커넥터(예: 도 3a의 커넥터(320))를 이용하여, 전자 장치(101)의 인터페이스(177)에 연결될 수 있다.
동작 713에서 외부 전자 장치(410)는 전자 장치(101)의 인터페이스(177)에 구비된 CC 단자(401, 402)의 상태를 확인할 수 있다. 일 실시예에 따르면, 외부 전자 장치(410)의 컨트롤러(예: 도 4의 컨트롤러(411))는 커넥터(320)에 구비된 CC 단자(예: 도 6의 CC1 단자(401_1) 및 CC2 단자(402_1))로 전기적 신호를 주기적으로 전송할 수 있다. 컨트롤러(411)는 상기 전기적 신호를 기반으로, 전자 장치(101)의 CC 단자(401, 402)의 상태를 확인할 수 있다. 예를 들어, 컨트롤러(411)는 CC 단자(401, 402)에 대응하는 저항값(예: Rd 저항값, Rp 저항값)을 측정할 수 있고, 상기 측정된 저항값을 기반으로 전자 장치(101)에 전원을 공급할지 여부를 결정할 수 있다. 예를 들어, CC 단자(401, 402)에 대응하는 저항값이 하이 임피던스에 해당하면, 컨트롤러(411)는 전자 장치(101)에 전원을 공급하지 않을 수 있고, 상기 저항값이 설정된 범위에 해당하면, 컨트롤러(411)는 전자 장치(101)에 전원(예: 약 5v)을 공급할 수 있다.
동작 715에서 외부 전자 장치(410)는 상기 확인된 CC 단자(401, 402)의 상태에 대응하여 전자 장치(101)로의 전압 공급 여부를 결정할 수 있다. 일 실시예에 따르면, 외부 전자 장치(410)는 CC 단자(401, 402)가 하이 임피던스 상태일 때, 전자 장치(101)에 전원을 공급하지 않을 수 있다.
도 8은 다양한 실시예에 따른 드라이 상태에 대응하여, 개방 상태인 적어도 하나의 핀에 전류를 공급하는 방법에 대한 흐름도이다.
도 8을 참조하면, 동작 801에서 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))는 인터페이스(예: 도 1의 인터페이스(177))에 구비된 SBU 단자(예: 도 4의 SBU 단자(403))를 기반으로, 수분의 증발(예: 드라이(dry) 상태) 여부를 1차 확인할 수 있다. 일 실시예에 따르면, 수분의 증발 여부를 확인하는 단자는 SBU 단자(403)에 한정되지 않으며, 인터페이스에 구비된 적어도 하나의 단자를 포함할 수 있다.
동작 803에서 프로세서(120)는 수분이 증발되었는지 여부를 판단할 수 있다. 예를 들어, 프로세서(120)는 SBU 단자(403)에 대응하는 저항값을 측정하고, 수분에 대응하는 저항값에 매칭되지 않으면, 수분이 증발되었다고 판단할 수 있다. 동작 803에서 수분이 증발되지 않았다면,(수분이 검출되었다면) 동작 801로 회귀할 수 있다.
동작 803에서 수분이 증발되었다면, 동작 805에서 프로세서(120)는 개방 상태인 CC 단자(401, 402)에 전류가 공급되도록 적어도 하나의 스위치를 스위칭할 수 있다. 일 실시예에 따르면, 수분의 증발 여부를 판단하기 전에, 프로세서(120)는 수분으로 인한 부식을 방지하기 위하여, CC 단자(401, 402)를 개방 상태로 유지할 수 있다. 동작 805에서 프로세서(120)는 개방 상태의 CC 단자(401, 402)에 전류가 공급되도록 적어도 하나의 스위치를 제어할 수 있다. 예를 들어, 프로세서(120)는 CC 단자(401, 402)에 전류원이 연결되도록 적어도 하나의 스위치를 제어할 수 있다.
동작 807에서 프로세서(120)는 설정된 시간 동안 대기할 수 있다. 동작 805와 동작 807의 수행 순서는 서로 바뀔 수 있다. 예를 들어, 프로세서(120)는 설정된 시간 동안 대기한 후, 개방 상태인 CC 단자(401, 402)에 전류원이 공급되도록 적어도 하나의 스위치를 제어할 수 있다. 동작 809에서 프로세서(120)는 인터페이스(177)에 구비된 SBU 단자(403)를 기반으로 수분의 증발(예: 드라이(dry) 상태) 여부를 2차 확인할 수 있다. 만약, 수분이 증발되지 않은 상태에서 전자 장치(101)에 전압이 인가되면, 전자 장치(101)의 부식이 진행되므로, 수분의 증발 여부를 확인하는 과정은 2차례에 걸쳐서 진행될 수 있다.
동작 811에서 프로세서(120)는 수분이 증발되었는지 여부를 판단할 수 있다. 예를 들어, 프로세서(120)는 SBU 단자(403)에 대응하는 저항값을 측정하고, 수분에 대응하는 저항값에 매칭되지 않으면, 수분이 증발되었다고 판단할 수 있다.
만약, 동작 811에서 수분이 증발되지 않았다면,(수분이 검출되었다면) 동작 813에서 프로세서(120)는 상기 전류원이 공급되는 CC 단자(401, 402)를 다시 개방 상태로 변경되도록 적어도 하나의 스위치를 제어하고, 동작 801로 회귀할 수 있다.
도 9a 내지 도 9e는 다양한 실시예에 따른 수분이 감지된 상태에 대응하여 알림을 제공하는 방법을 도시한 도면이다.
도 9a 및 도 9b는 수분이 감지된 상태에 대응하여 알림을 제공하는 제 1 실시예를 도시한다. 도 9a는 제 1 실시예에 대한 흐름도이고, 도 9b는 제 1 실시예에 대응하여 적어도 하나의 단자로의 전기적 신호를 차단하는 과정을 도시한 도면이다.
도 9a를 참조하면, 동작 911에서 전자 장치(101)의 프로세서(120)는 인터페이스(177)에 구비된 CC 단자(401, 402)에 대응하는 전기적 신호를 측정할 수 있다. 예를 들어, 프로세서(120)는 비교기(예: 도 5의 비교기(513))를 사용하여 상기 CC 단자(401, 402)에 대응하는 전압값 또는 저항값을 측정할 수 있다.
동작 913에서 프로세서(120)는 상기 측정된 전기적 신호와 설정된 임계값을 비교할 수 있다. 예를 들어, 임계값은 부식을 방지하기 위한 기준값일 수 있으며, 제작자에 의해 설정될 수 있다. 임계값에 대한 데이터는 메모리(예: 도 1의 메모리(130))에 저장될 수 있다. 일 실시예에 따르면, 전자 장치(101)는 수분에 대응하는 전압값 또는 저항값을 메모리(130)에 저장할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 수분이 감지되는 상황에서 연결 가능한 외부 전자 장치에 대응하는 전압값, 전류값, 또는 저항값에 대한 데이터를 메모리(130)에 저장할 수 있다.
동작 913에서 상기 측정된 전기적 신호가 상기 임계값을 초과하면, 동작 915에서 프로세서(120)는 상기 CC 단자(401, 402)의 상태를 개방 상태로 변경할 수 있고, 상기 CC 단자(401, 402)를 하이 임피던스 상태로 유지할 수 있다.
동작 917에서 프로세서(120)는 상기 측정된 전기적 신호를 기반으로, 외부 전자 장치(410)의 삽입 여부를 확인할 수 있다. 예를 들어, 프로세서(120)는 동작 913에서 측정된 전압값 또는 저항값을 기반으로, 외부 전자 장치(410)가 삽입되었는지 여부를 판단할 수 있다.
동작 919에서 프로세서(120)는 외부 전자 장치(410)가 삽입되었다고 판단되면, 외부 전자 장치(410)의 삽입에 대한 알림을 제공할 수 있다. 예를 들어, 프로세서(120)는 표시 장치(예: 도 1의 표시 장치(160))를 통해 알림 메시지를 표시하거나, 음향 출력 장치(예: 도 1의 음향 출력 장치(170))을 통해 알림 신호음을 출력할 수 있다. 일 실시예에 따르면, 프로세서(120)는 전자 장치(101)를 구성하는 적어도 하나의 구성 요소를 기반으로, 외부 전자 장치(410)가 연결되었다는 알림을 제공할 수 있다.
도 9b를 참조하면, 프로세서(120)는 제1 시점(951)에서 CC 단자(901)(예: 도 4a의 CC1 단자(401), CC2 단자(402))에 전기적 신호를 인가할 수 있다. 예를 들어, 제1 시점(951)에서 CC 단자(901)는 전류원(예: 도 5의 전류원(514))에 연결되어, 전류원(514)으로부터 설정된 전기적 신호가 흐를 수 있다. CC 단자(901)에 전기적 신호가 인가되는 중 전자 장치(101)가 물기에 노출되는 상황이 발생할 수 있다. 프로세서(120)는 제2 시점(952)에서 CC 단자(901)에 대한 수분을 감지할 수 있고, 제3 시점(953)에서 CC 단자(901)에 대한 전기적 신호를 차단할 수 있다. 예를 들어, 프로세서(120)는 상기 CC 단자(901)와 상기 전류원(514) 사이에 배치된 적어도 하나의 스위치를 제어함으로써, 상기 CC 단자(901)에 대한 전기적 신호를 차단할 수 있다. 일 실시예에 따르면, 프로세서(120)는 제4 시점(954)에서 연결된 외부 전자 장치(410)로부터 전압이 인가되지 않도록, 인터럽트 신호(903)를 발생시킬 수 있다.
도 9c는 수분이 감지된 상태에 대응하여 알림을 제공하는 제 2 실시예를 도시한다. 상세하게, 도 9c는 수분이 감지된 상태에서 GND 단자를 기반으로 외부 전자 장치의 삽입 여부를 확인하고, 상기 외부 전자 장치의 삽입에 대한 알림을 제공하는 실시예에 대한 흐름도이다.
도 9c를 참조하면, 동작 921에서 프로세서(120)는 인터페이스(177)에 구비된 GND 핀(예: latch pin)을 기반으로 외부 전자 장치(410)의 삽입 여부를 확인할 수 있다. 일 실시예에 따르면, GND 핀은 인터페이스(177)에 적어도 부분적으로 배치된 물리적인 핀(버튼)일 수 있고, 외부 전자 장치(410)가 인터페이스(177)를 통해 삽입될 때, 상기 GND 핀은 ON/OFF(단락/미단락)될 수 있다. 프로세서(120)는 상기 GND 핀을 기반으로 외부 전자 장치(410)의 삽입 여부를 판단할 수 있다.
동작 923에서 프로세서(120)는 GND 핀이 단락 되었는지 여부를 판단할 수 있다. 동작 923에서 GND 핀이 단락 되었음을 확인하면, 동작 925에서 프로세서(120)는 외부 전자 장치(410)의 삽입에 대한 알림을 사용자에게 제공할 수 있다.
도 9d는 수분이 감지된 상태에 대응하여 알림을 제공하는 제 3 실시예를 도시한다. 상세하게, 도 9d를 참조하면, 프로세서(120) 수분이 감지된 상태에서 CC 단자에 주기적으로 전기적 신호를 인가할 수 있고, Vbus 단자를 기반으로 전압이 인가되는지 여부를 판단할 수 있다. 프로세서(120)는 Vbus 단자에 대응하여 전압이 감지되면, 외부 전자 장치가 삽입되었음을 판단하고, 상기 외부 전자 장치의 삽입에 대한 알림을 제공할 수 있다.
도 9d를 참조하면, 동작 931에서 전자 장치(101)의 프로세서(120)는 인터페이스(177)에 구비된 CC 단자(401, 402)에 대응하여 주기적으로 전기적 신호를 인가할 수 있다. 예를 들어, 프로세서(120)는 개방 상태인 CC 단자(401, 402)에 대응하여, 설정된 시간 간격을 기반으로, 전기적 신호를 인가할 수 있다. 프로세서(120)는 설정된 시간 간격에 따라, 주기적으로 전기적 신호를 인가할 수 있다. 일 실시예에 따르면, 전자 장치(101)에 외부 전자 장치(410)가 결합된 상태에서 CC 단자(401, 402)에 순간적으로 전기적 신호가 인가되면, 외부 전자 장치(410)는 상기 전기적 신호가 인가되는 시점에 대응하여, 전자 장치(101)로 전압을 전송할 수 있다.
동작 933에서 프로세서(120)는 인터페이스(177)에 구비된 Vbus 단자(예: 도 4의 Vbus 단자(405))로부터 전압이 출력되는지 여부를 확인할 수 있다. 예를 들어, Vbus 단자(405)를 통해 전압이 출력되면, 외부 전자 장치(410)가 연결되어 전압을 출력하였다고 판단할 수 있다.
동작 935에서 프로세서(120)는 Vbus 단자(405)에서 전압이 출력되면, 외부 전자 장치(410)가 삽입되었음을 판단하고, 동작 937에서 외부 전자 장치(410)의 삽입에 대한 알림을 제공할 수 있다.
도 9e는 수분이 감지된 상태에 대응하여 알림을 제공하는 제 4 실시예를 도시한다. 상세하게, 도 9e는 제 4 실시예에 대응하여 적어도 하나의 단자에 대한 전기적 신호를 도시한 그래프이다.
도 9e를 참조하면, 전자 장치(101)는 수분에 노출된 상태이며, 상기 수분에 의해, 적어도 하나의 단자가 인접한 다른 단자와 연결될 수 있다. 프로세서(120)는 인터페이스(177)에 구비된 적어도 하나의 단자(예: CC 단자(901), SBU 단자(903))에 대응하여 전기적 신호를 인가할 수 있고, 상기 전기적 신호는 수분에 의해 연결된 다른 단자에게 유기될 수 있다. 예를 들어, 프로세서(120)는 제1 시점(961)에서 CC 단자(901)(예: 도 4a의 CC1 단자(401), CC2 단자(402))에 전기적 신호를 인가할 수 있다. CC 단자(901)와 SBU 단자(902)(예: 도 4a의 SUB 단자(403))는 수분에 의해 전기적으로 연결된 상태일 수 있으며, CC 단자(901)에 인가된 전기적 신호는 SBU 단자(902)에도 인가될 수 있다. 즉, 제1 시점(961)에서 CC 단자(901)와 SBU 단자(902)는 전기적 신호가 적어도 부분적으로 흐를 수 있다. 프로세서(120)는 CC 단자(901)와 SBU 단자(902)에 인가된 전기적 신호를 기반으로, 수분의 존재 여부를 확인할 수 있다. 프로세서(120)는 제2 시점(962)에서 CC 단자(901)와 SBU 단자(902)에 대한 인터럽트 신호(903)를 발생할 수 있고, 제3 시점(963)에서 CC 단자(901)와 SBU 단자(902)에 대한 전기적 신호가 차단될 수 있다. 일 실시예에 따르면, 프로세서(120)는 제4 시점(964)에서 연결된 외부 전자 장치(410)로부터 전압이 인가되지 않도록, 인터럽트 신호(903)를 발생시킬 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101))는, 하우징, 상기 하우징에 연결되거나, 상기 하우징을 통해 노출되고, 적어도 하나의 CC(Configuration Channel) 핀(예: 도 4의 CC1 단자(401), CC2 단자(402))을 포함하는 인터페이스(도 1의 인터페이스(177)), 상기 하우징의 내부에 배치되고, 전류원(current generator)(예: 도 5의 전류원(514)) 및 비교기(comparator)(예: 도 5의 비교기(513))를 포함하고, 상기 인터페이스(177)에 전기적으로 연결된 회로, 상기 하우징의 내부에 배치되고, 상기 인터페이스(177) 및 상기 회로와 작동적으로 연결된 프로세서(예: 도 1의 프로세서(120)), 및 상기 프로세서(120)와 작동적으로 연결된 메모리(예: 도 1의 메모리(130))를 포함할 수 있다. 상기 메모리(130)는, 실행시에, 상기 프로세서(120)가, 상기 적어도 하나의 CC 핀(401, 402)이 상기 전류원(514)과 연결된 상태에서, 상기 비교기(513)를 기반으로 상기 적어도 하나의 CC 핀(401, 402)에 대응하는 수분을 감지하고, 상기 수분의 감지에 응답하여, 상기 전류원(514)과 상기 적어도 하나의 CC 핀 사이에 배치된 적어도 하나의 스위치(예: 도 5의 제2 스위치(512))를 제어하여 상기 적어도 하나의 CC 핀(401, 402)이 상기 전류원(514)과 연결되지 않도록 스위칭할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 비교기(513)를 기반으로 상기 적어도 하나의 CC 핀(401, 402)에 대응하는 전압값 또는 저항값을 측정하고, 상기 측정된 전압값 또는 저항값을 기반으로 수분을 감지할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 비교기(513)를 기반으로 상기 적어도 하나의 CC 핀(401, 402)에 대응하는 전기적 신호를 측정하고, 상기 측정된 전기적 신호가 임계값을 초과하는지 여부를 확인하고, 상기 임계값을 초과하는 경우 상기 전류원(514)과 상기 적어도 하나의 CC 핀(401, 402) 사이에 배치된 상기 적어도 하나의 스위치(512)를 제어하여 상기 적어도 하나의 CC 핀(401, 402)이 개방 상태로 변경할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 적어도 하나의 CC 핀(401, 402)이 상기 전류원(514)과 연결되지 않도록 상기 적어도 하나의 스위치(512)를 제어함으로써, 상기 적어도 하나의 CC 핀(401, 402)에 대응하여 하이 임피던스 상태를 유지할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 비교기(513)를 기반으로 상기 적어도 하나의 CC 핀(401, 402)에 대응하는 전기적 신호를 측정하고, 상기 측정된 전기적 신호에 기반하여 상기 인터페이스(177)를 통한 외부 전자 장치(예: 도 4의 외부 전자 장치(410))의 삽입 여부를 확인하고, 상기 외부 전자 장치(410)의 삽입에 대응하는 알림을 제공할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 인터페이스(177)에 포함된 GND 핀을 기반으로, 상기 인터페이스(177)를 통한 외부 전자 장치(410)의 삽입 여부를 확인하고, 상기 외부 전자 장치(410)의 삽입에 대응하는 알림을 제공할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 적어도 하나의 CC 핀(401, 402)에 주기적으로 전기적 신호를 인가하고, 상기 인터페이스(177)에 포함된 Vbus 단자(예: 도 4의 Vbus 단자(405))로부터 전압의 출력 여부를 판단하고, 상기 Vbus 단자(405)에서 전압의 출력에 기반하여 외부 전자 장치(410)의 삽입을 감지하고, 상기 외부 전자 장치(410)의 삽입에 대응하는 알림을 제공할 수 있다.
다양한 실시예에 따르면, 프로세서(120)는 상기 비교기(513)를 기반으로 상기 인터페이스(177)에 포함된 SBU 핀을 기반으로 수분의 증발 여부를 확인하고, 상기 수분의 증발에 응답하여, 상기 적어도 하나의 CC 핀(401, 402)이 상기 전류원(514)과 연결되도록 상기 적어도 하나의 스위치(512)를 제어하고, 일정 시간이 경과된 후에, 상기 SBU 핀을 기반으로 수분의 증발 여부를 재확인할 수 있다.
본 발명의 다양한 실시예에 따른 외부 전자 장치(410)는, 전자 장치(410)의 인터페이스(177)에 포함된 적어도 하나의 CC 핀(401, 402)에 대응하여 전기적으로 연결 가능한 커넥터(예: 도 3a의 커넥터(320)), 상기 커넥터(320)에 전기적으로 연결된 회로, 및 상기 커넥터(320) 및 상기 회로와 작동적으로 연결된 프로세서(예: 도 4의 컨트롤러(411))를 포함할 수 있다. 상기 프로세서는 상기 전자 장치(101)의 적어도 하나의 CC 핀(401, 402)에 대응하는 전기적 신호를 측정하고, 상기 측정된 전기적 신호에 대응하여, 상기 전자 장치(101)로의 전압의 공급 여부를 결정할 수 있다.
다양한 실시예에 따르면, 외부 전자 장치(410)의 프로세서(411)는 상기 적어도 하나의 CC 핀(401, 402)에 대응하는 전기적 신호가 하이 임피던스 상태인 경우 상기 전자 장치(101)로의 전압의 공급을 차단할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치(101)의 동작 방법은 인터페이스(177)에 포함된 적어도 하나의 CC 핀(401, 402)이 전류원(514)과 연결된 상태에서, 상기 인터페이스(177)에 전기적으로 연결된 회로에 포함된 비교기(513)를 기반으로 상기 적어도 하나의 CC 핀(401, 402)에 대응하는 수분을 감지하고, 상기 수분의 감지에 응답하여, 상기 전류원(514)과 상기 적어도 하나의 CC 핀(401, 402) 사이에 배치된 적어도 하나의 스위치(512)를 제어하고, 상기 적어도 하나의 CC 핀(401, 402)이 상기 전류원(514)과 연결되지 않도록 스위칭할 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    하우징;
    상기 하우징에 연결되거나, 상기 하우징을 통해 노출되고, 적어도 하나의 CC(Configuration Channel) 핀을 포함하는 인터페이스;
    상기 하우징의 내부에 배치되고, 전류원(current generator) 및 비교기(comparator)를 포함하고, 상기 인터페이스에 전기적으로 연결된 회로;
    상기 하우징의 내부에 배치되고, 상기 인터페이스 및 상기 회로와 작동적으로 연결된 프로세서; 및
    상기 프로세서와 작동적으로 연결된 메모리를 포함하고,
    상기 메모리는, 실행시에, 상기 프로세서가,
    상기 적어도 하나의 CC 핀이 상기 전류원과 연결된 상태에서, 상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 수분을 감지하고,
    상기 수분의 감지에 응답하여, 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 적어도 하나의 스위치를 제어하여 상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭하는 인스트럭션들(instructions)을 저장하는 전자 장치.
  2. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 전압값 또는 저항값을 측정하고,
    상기 측정된 전압값 또는 저항값을 기반으로 수분을 감지하도록 하는 전자 장치.
  3. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 전기적 신호를 측정하고,
    상기 측정된 전기적 신호가 임계값을 초과하는지 여부를 확인하고,
    상기 임계값을 초과하는 경우 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 상기 적어도 하나의 스위치를 제어하여 상기 적어도 하나의 CC 핀이 개방 상태로 변경하도록 하는 전자 장치.
  4. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 상기 적어도 하나의 스위치를 제어함으로써, 상기 적어도 하나의 CC 핀에 대응하여 하이 임피던스 상태를 유지하도록 하는 전자 장치.
  5. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 전기적 신호를 측정하고,
    상기 측정된 전기적 신호에 기반하여 상기 인터페이스를 통한 외부 전자 장치의 삽입 여부를 확인하고,
    상기 외부 전자 장치의 삽입에 대응하는 알림을 제공하도록 하는 전자 장치.
  6. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 인터페이스에 포함된 GND 핀을 기반으로, 상기 인터페이스를 통한 외부 전자 장치의 삽입 여부를 확인하고,
    상기 외부 전자 장치의 삽입에 대응하는 알림을 제공하도록 하는 전자 장치.
  7. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 적어도 하나의 CC 핀에 주기적으로 전기적 신호를 인가하고,
    상기 인터페이스에 포함된 Vbus 단자로부터 전압의 출력 여부를 판단하고,
    상기 Vbus 단자에서 전압의 출력에 기반하여 외부 전자 장치의 삽입을 감지하고,
    상기 외부 전자 장치의 삽입에 대응하는 알림을 제공하도록 하는 전자 장치.
  8. 제 1 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 비교기를 기반으로 상기 인터페이스에 포함된 SBU 핀을 기반으로 수분의 증발 여부를 확인하고,
    상기 수분의 증발에 응답하여, 상기 적어도 하나의 CC 핀이 상기 전류원과 연결되도록 상기 적어도 하나의 스위치를 제어하고,
    일정 시간이 경과된 후에, 상기 SBU 핀을 기반으로 수분의 증발 여부를 재확인하도록 하는 전자 장치.
  9. 전자 장치의 동작 방법에 있어서,
    인터페이스에 포함된 적어도 하나의 CC 핀이 전류원과 연결된 상태에서, 상기 인터페이스에 전기적으로 연결된 회로에 포함된 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 수분을 감지하는 동작;
    상기 수분의 감지에 응답하여, 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 적어도 하나의 스위치를 제어하는 동작; 및
    상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭하는 동작을 포함하는 전자 장치의 동작 방법.
  10. 제 9 항에 있어서,
    상기 수분을 감지하는 동작은,
    상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 전압값 또는 저항값을 측정하는 동작; 및
    상기 측정된 전압값 또는 저항값을 기반으로 수분을 감지하는 동작을 포함하는 전자 장치의 동작 방법.
  11. 제 9 항에 있어서,
    상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭하는 동작은,
    상기 비교기를 기반으로 상기 적어도 하나의 CC 핀에 대응하는 전기적 신호를 측정하는 동작;
    상기 측정된 전기적 신호가 임계값을 초과하는지 여부를 확인하는 동작; 및
    상기 임계값을 초과하는 경우 상기 전류원과 상기 적어도 하나의 CC 핀 사이에 배치된 상기 적어도 하나의 스위치를 제어하여 상기 적어도 하나의 CC 핀이 개방 상태로 변경하는 동작을 포함하는 전자 장치의 동작 방법.
  12. 제 9 항에 있어서,
    상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 스위칭하는 동작은,
    상기 적어도 하나의 CC 핀이 상기 전류원과 연결되지 않도록 상기 적어도 하나의 스위치를 제어함으로써, 상기 적어도 하나의 CC 핀에 대응하여 하이 임피던스 상태를 유지하는 동작을 포함하는 전자 장치의 동작 방법.
  13. 제 9 항에 있어서,
    상기 비교기를 기반으로 상기 인터페이스에 포함된 SBU 핀을 기반으로 수분의 증발 여부를 확인하는 동작;
    상기 수분의 증발에 응답하여, 상기 적어도 하나의 CC 핀이 상기 전류원과 연결되도록 상기 적어도 하나의 스위치를 제어하는 동작; 및
    일정 시간이 경과된 후에, 상기 SBU 핀을 기반으로 수분의 증발 여부를 재확인하는 동작을 더 포함하는 전자 장치의 동작 방법.
  14. 제 9 항에 있어서,
    상기 인터페이스에 대응하는 커넥터를 통해 상기 전자 장치와 연결된 외부 전자 장치에서, 상기 적어도 하나의 CC 핀에 대응하는 전기적 신호를 측정하는 동작;
    상기 측정된 전기적 신호에 대응하여, 상기 전자 장치로의 전압의 공급 여부를 결정하는 동작을 더 포함하는 전자 장치의 동작 방법.
  15. 제 14 항에 있어서,
    상기 적어도 하나의 CC 핀에 대응하는 전기적 신호가 하이 임피던스 상태인 경우 상기 전자 장치로의 전압의 공급을 차단하는 동작을 더 포함하는 전자 장치의 동작 방법.
PCT/KR2019/009637 2018-08-08 2019-08-01 수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치 WO2020032483A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/267,009 US11502505B2 (en) 2018-08-08 2019-08-01 Method for controlling at least one pin included in interface so as to switch to open state in response to moisture detection and electronic device for performing same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2018-0092617 2018-08-08
KR1020180092617A KR102544470B1 (ko) 2018-08-08 2018-08-08 수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치

Publications (1)

Publication Number Publication Date
WO2020032483A1 true WO2020032483A1 (ko) 2020-02-13

Family

ID=69414868

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/009637 WO2020032483A1 (ko) 2018-08-08 2019-08-01 수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치

Country Status (3)

Country Link
US (1) US11502505B2 (ko)
KR (1) KR102544470B1 (ko)
WO (1) WO2020032483A1 (ko)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210102783A (ko) 2020-02-12 2021-08-20 주식회사 만도 스티어 바이 와이어식 조향장치
KR102281083B1 (ko) * 2020-03-05 2021-07-23 주식회사 실리콘마이터스 이물질 검출 장치 및 방법
KR20230111935A (ko) * 2022-01-19 2023-07-26 주식회사 케이티앤지 충전 보호 장치 및 이를 포함하는 시스템
WO2023140515A1 (ko) * 2022-01-21 2023-07-27 삼성전자 주식회사 침수를 감지하는 전자 장치 및 그의 작동 방법
CN114264423B (zh) * 2022-03-03 2022-07-05 荣耀终端有限公司 进液检测控制方法和电子设备
EP4358354A1 (en) * 2022-10-21 2024-04-24 Samsung Electronics Co., Ltd. Electronic device and an operating method of the electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110104940A1 (en) * 2009-11-03 2011-05-05 Stanley Rabu Thermal protection circuits for electronic device cables
WO2017180046A1 (en) * 2016-04-13 2017-10-19 South Coast Engineering Ab Cable with alarm
KR20180024793A (ko) * 2016-08-31 2018-03-08 삼성전자주식회사 반도체 장치 및 그 동작 방법
KR20180044602A (ko) * 2016-10-24 2018-05-03 삼성전자주식회사 케이블 삽입을 감지하기 위한 방법 및 그 전자 장치
KR20180074370A (ko) * 2016-12-23 2018-07-03 삼성전자주식회사 커넥터의 부식을 방지하는 전자 장치 및 방법

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8107209B2 (en) * 2008-08-05 2012-01-31 Sony Ericsson Mobile Communications Ab Protection circuit
KR101503023B1 (ko) 2013-10-15 2015-03-19 부경대학교 산학협력단 부식 방지 장치 및 방법
US10476257B2 (en) * 2017-03-17 2019-11-12 Richtek Technology Corporation Interface control circuit and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110104940A1 (en) * 2009-11-03 2011-05-05 Stanley Rabu Thermal protection circuits for electronic device cables
WO2017180046A1 (en) * 2016-04-13 2017-10-19 South Coast Engineering Ab Cable with alarm
KR20180024793A (ko) * 2016-08-31 2018-03-08 삼성전자주식회사 반도체 장치 및 그 동작 방법
KR20180044602A (ko) * 2016-10-24 2018-05-03 삼성전자주식회사 케이블 삽입을 감지하기 위한 방법 및 그 전자 장치
KR20180074370A (ko) * 2016-12-23 2018-07-03 삼성전자주식회사 커넥터의 부식을 방지하는 전자 장치 및 방법

Also Published As

Publication number Publication date
KR102544470B1 (ko) 2023-06-19
US11502505B2 (en) 2022-11-15
KR20200017251A (ko) 2020-02-18
US20210305805A1 (en) 2021-09-30

Similar Documents

Publication Publication Date Title
WO2020032483A1 (ko) 수분 감지에 따라 인터페이스에 포함된 적어도 하나의 핀을 개방 상태로 제어하는 방법 및 이를 수행하는 전자 장치
WO2021075726A1 (en) Foldable electronic device including electronic pen
WO2021033965A1 (ko) 전력 관리를 위한 위한 전자 장치 및 그의 동작 방법
KR20190100601A (ko) 외부 전자 장치와 연결된 신호 단자에 감지된 전압의 크기에 따라 외부 전자 장치로 출력하는 전압을 제어 하기 위한 방법 및 전자 장치
WO2019093856A1 (en) Device and method for controlling microphone according to connection of external accessory
WO2019182350A1 (ko) 전자 장치의 외부에서 공급되는 전력의 속성 및 전자 장치의 상태에 적어도 기반하여 전력 전송 경로를 결정하는 전자 장치 및 제어 방법
WO2021020900A1 (en) Electronic device for preventing damage of usb device and operating method thereof
WO2020209619A1 (en) Multi-device wireless charger and electronic device wirelessly charged by the same
WO2019088529A1 (ko) 센서의 측정 값을 보정하는 방법 및 전자 장치
WO2021054675A1 (en) Method to charge battery and electronic device including battery
WO2021054594A1 (en) Electronic device supporting connection with external device and power consumption reducing method when using electronic device in connection with external device
WO2020262908A1 (en) Input/output connector and electronic device including the same
WO2020159065A1 (en) Method of controlling charging of plurality of batteries and electronic device to which the method is applied
WO2022086207A1 (ko) 고속 충전 방법 및 전자 장치
WO2021060722A1 (en) Electronic device and method for controlling reset of control ic
WO2020256318A1 (ko) 이어 잭 내 삽입된 객체를 확인할 수 있는 전자 장치 및 방법
WO2021054647A1 (en) Power supply method and electronic device therefor
WO2021010622A1 (ko) 배터리를 포함하는 전자 장치 및 그의 배터리 충전 제어 방법
WO2021020711A1 (ko) 불량을 예측하는 전자 장치 및 그 전자 장치의 제어 방법
WO2020197265A1 (en) Method for connecting external audio device and electronic device thereof
WO2019151619A1 (ko) 심 카드를 적재하는 트레이가 삽입되는 전자 장치 및 그의 제어 방법
WO2020040454A1 (ko) 분할된 화면을 제어하기 위한 전자 장치
WO2020105991A1 (ko) 변압기 코일에 기반한 유무선 충전 방법 및 장치
WO2020050581A1 (ko) 입출력 단자 및 이를 포함하는 전자장치
WO2020050643A1 (ko) 무선 충전의 상태 정보를 확인하기 위한 방법 및 그 전자 장치

Legal Events

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

Ref document number: 19848034

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19848034

Country of ref document: EP

Kind code of ref document: A1