WO2022030847A1 - 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치 - Google Patents

외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치 Download PDF

Info

Publication number
WO2022030847A1
WO2022030847A1 PCT/KR2021/009682 KR2021009682W WO2022030847A1 WO 2022030847 A1 WO2022030847 A1 WO 2022030847A1 KR 2021009682 W KR2021009682 W KR 2021009682W WO 2022030847 A1 WO2022030847 A1 WO 2022030847A1
Authority
WO
WIPO (PCT)
Prior art keywords
comparator
output signal
terminal
electronic device
ear connector
Prior art date
Application number
PCT/KR2021/009682
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 삼성전자 주식회사
Publication of WO2022030847A1 publication Critical patent/WO2022030847A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1016Earpieces of the intra-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

Definitions

  • Various embodiments of the present document relate to a method of determining whether an external device is connected and an electronic device supporting the same.
  • an electronic device may provide a user with various functions, such as a call function, a music playback function, and a video playback function.
  • a call function e.g., a call function
  • a music playback function e.g., a music playback function
  • a video playback function e.g., a video playback function
  • the electronic device when an earphone plug is inserted into a 5-pin ear connector, the electronic device receives an input signal through a left sensing terminal among a plurality of terminals included in the 5-pin ear connector, and receives the received signal.
  • An input signal may be applied to a pair of comparators, respectively.
  • the electronic device may output each output signal based on a specified condition through a pair of comparators receiving each input signal.
  • the processor of the electronic device may receive each output signal through the interrupt terminal, and may immediately determine a connection state between the earphone plug and the ear connector based on the received output signal.
  • An electronic device includes an ear connector into which a plug of an earphone is inserted, an input signal applied from a first terminal connected to a sensing terminal included in the ear connector and a first electrical path through a first electrical path, and a second terminal.
  • a first comparator that compares a reference voltage according to an applied first specified condition to output a first output signal, a third connected to the sensing terminal through a second electrical path branched from a point of the first electrical path
  • a second comparator outputting a second output signal by comparing an input signal applied from a terminal and a reference voltage according to a second specified condition applied from a fourth terminal, and the first comparator and the second comparator are electrically connected, , based on a first output signal output from the first comparator and a second output signal output from the second comparator, a processor for determining a connection state with the plug of the earphone.
  • An electronic device includes an ear connector into which a plug of an earphone is inserted, an input signal applied from a first terminal connected through a first electrical path to a sensing terminal included in the ear connector, and a second terminal.
  • a first comparator that compares a reference voltage according to an applied first specified condition to output a first output signal, a third connected to the sensing terminal through a second electrical path branched from a point of the first electrical path a second comparator that compares an input signal applied from a terminal with a reference voltage according to a second specified condition applied from a fourth terminal, and outputs a second output signal, and is connected to the first comparator and the second comparator; Based on a first output signal output from the first comparator and a second output signal output from the second comparator, a gate outputting a third output signal, and a third output signal output from the gate , a processor for checking a connection state with the plug of the earphone.
  • An electronic device includes a display, an ear connector into which a plug of an earphone is inserted, an input signal applied from a first terminal connected to a sensing terminal included in the ear connector through a first electrical path, and a second A first comparator that compares a reference voltage according to a first specified condition applied from a terminal and outputs a first output signal, and is connected to the sensing terminal through a second electrical path branched from one point of the first electrical path
  • a second comparator and the display, the first comparator, and the second comparator that compare an input signal applied from a third terminal and a reference voltage according to a second specified condition applied from a fourth terminal and output a second output signal is connected to, based on a first output signal output from the first comparator and a second output signal output from the second comparator, determines the connection state with the plug of the earphone, and displays the determination result on the display
  • It may include a processor that outputs through
  • a method for determining whether an external device is connected and an electronic device supporting the same receive an input signal through a left sensing terminal, and apply the received input signal to a pair of comparators, respectively
  • the processor In order for the processor to check the connection state between the earphone plug and the ear connector by receiving the output signal output by a pair of comparators through the interrupt terminal of the processor, the processor periodically performs a sleep mode (sleep mode). ) to the wake-up mode is not performed, so a problem in which the current consumption performance of the electronic device deteriorates can be solved.
  • the processor since the processor receives the output signal through the interrupt terminal, it is possible to reduce the material cost due to the removal of the ADC port, and it is possible to prevent misrecognition of the earphone by foreign substances in the 5-pin ear connector.
  • 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 block diagram of an electronic device for determining whether an earphone is connected, according to an embodiment of the present invention.
  • FIG. 3 is a flowchart illustrating a method of determining whether an earphone is connected, according to an embodiment of the present invention.
  • FIG. 4 is a diagram for explaining a method of determining whether an earphone is connected according to a resistance value, according to an embodiment of the present invention.
  • FIG. 5 is another block diagram of an electronic device for determining whether an earphone is connected, according to an embodiment of the present invention.
  • FIG. 6 is another flowchart of an electronic device for determining whether an earphone is connected, according to an embodiment of the present invention.
  • FIG. 7 is a diagram for explaining another method of determining whether an earphone is connected according to a resistance value, according to an embodiment of the present invention.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178
  • may be omitted or one or more other components may be added to the electronic device 101 .
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a 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, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123
  • the auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the co-processor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190. have.
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ).
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile 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 module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external device (eg, an electronic device) connected directly or wirelessly to the sound output module 155 or the electronic device 101 . device 102) (eg, speakers or headphones).
  • an external device eg, an electronic device
  • the sound output module 155 or the electronic device 101 . device 102 eg, speakers or headphones.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, 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 by the electronic device 101 to directly or wirelessly connect with an external device (eg, 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external 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 the user can perceive through tactile or kinesthetic sense.
  • 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 moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a 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 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 establishes a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external device (eg, the electronic device 102, the electronic device 104, or the server 108). , and may support performing communication through an established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101 , an external device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or 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 external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself 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.
  • One or more external electronic devices that have received 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 a part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a block diagram of an electronic device for determining whether an earphone is connected, according to an embodiment of the present invention.
  • the electronic device 200 (eg, the electronic device 101 of FIG. 1 ) includes an ear connector 201 (eg, the connection terminal 178 of FIG. 1 ), a first electrical path 203 , It may include a second electrical path 205 , a first comparator 207 , a second comparator 209 , and a processor 211 (eg, the processor 120 of FIG. 1 ).
  • the configuration of the electronic device 200 is not limited thereto.
  • the electronic device 200 may omit at least one of the above-described components, and may include at least one other component.
  • the electronic device 200 may include a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device 200 may display a connection state between the earphone plug and the ear connector through the display.
  • the ear connector 201 may mean a socket capable of accommodating a plug of an earphone having a microphone input and/or audio output function, and the electronic device 200 through the ear connector 201
  • a 4-pole earphone or a 3-pole earphone can be connected to.
  • the plug of the 4-pole earphone may include a microphone terminal, a ground terminal, a right sound terminal, and a left sound terminal.
  • the plug of the three-pole earphone may include a ground terminal, a right sound terminal, and a left sound terminal except for the microphone terminal.
  • the ear connector 201 includes a first pin contacting the microphone terminal of the 4-pole earphone plug, a second pin contacting the ground terminal of the earphone plug, and a right sound terminal of the earphone plug.
  • the third pin may include a fourth pin and a fifth pin contacting the left acoustic terminal of the earphone plug.
  • the ear connector 201 includes a first pin and a second pin contacting the ground terminal of the three-pole earphone plug, a third pin contacting the right sound terminal of the earphone plug, and the left side of the earphone plug. It may include a fourth pin and a fifth pin contacting the acoustic terminal.
  • the fifth pin contacting the left acoustic terminal of the earphone plug may be a left-side detection (L-detection) terminal.
  • the ear connector 201 referred to in the present invention may be a 5-pin ear connector.
  • the sensing terminal of the ear connector 201 when the earphone plug (eg, the electronic device 102 of FIG. 1 ) is inserted into the ear connector 201 , the sensing terminal of the ear connector 201 , the first comparator 207 and A pull-up voltage being applied to the second comparator 209 may be voltage-divided.
  • a pull-up voltage by a bias power may be always applied to the sensing terminal, the first comparator 207 and the second comparator 209 in the ear connector 201 .
  • the sensing terminal may be a left sensing terminal in contact with the left sound terminal of the earphone plug.
  • the voltage of the pull-up voltage may be divided by a pull-up resistor connected to the bias power supply and a pull-down resistor connected to the earphone plug. have.
  • the earphone plug is inserted into the ear connector 201 to initiate the voltage-divided pull-up voltage as an input signal.
  • the input signal may be applied to each of the first comparator 207 and the second comparator 209 .
  • the first comparator 207 and the second comparator 209 may be connected to the left sensing terminal among the five pins of the ear connector 201 through an electrical path.
  • the first comparator 207 may be connected to the left sensing terminal through a first electrical path 203 .
  • the second comparator 209 may be connected to the left sensing terminal through a second electrical path 205 branched from one point of the first electrical path 203 .
  • the first comparator 207 may output the input signal as a first output signal based on a first specified condition.
  • the first comparator 207 may receive the input signal (a pull-up voltage with a changed voltage level) through the first electrical path 203 .
  • the first comparator 207 may receive a reference voltage based on a first specified condition through one of the first terminal and the second terminal.
  • the first terminal included in the first comparator 207 has a negative pole
  • the second terminal may have a positive pole.
  • the first terminal is a + pole
  • the second terminal may be a - pole.
  • the first specified condition may be reference voltage information for determining whether there is a connection between the ear connector 201 and the earphone plug.
  • the first comparator 207 when the reference voltage level based on the first specified condition applied to the + pole is 0.9V, the first comparator 207 has a low level when the voltage level of the received input signal is 0.9V or more signal can be output.
  • the first comparator 207 may output a high level signal when the voltage level of the received input signal is less than 0.9V.
  • the level of the first output signal may be determined as a high level or a low level based on the voltage level of the input signal and the reference voltage level.
  • the reference voltage based on the first specified condition may be applied to the -pole of the first comparator 207 .
  • the terminal receiving the input signal from the left sensing terminal through the first electrical path may be a + pole.
  • the first comparator 207 outputs a high level output signal when the voltage level of the received input signal is 0.7V or more when the reference voltage level based on the first specified condition applied to the -pole is 0.7V. can When the voltage level of the input signal received by the first comparator 207 is less than 0.7V, a low-level output signal may be output.
  • the second comparator 209 may output the input signal as a second output signal based on a second specified condition.
  • the second comparator 209 may receive the input signal through the second electrical path 205 .
  • the second comparator 209 may receive a reference voltage based on a second specified condition through one of the first terminal and the second terminal.
  • the third terminal included in the second comparator 209 has a negative pole, the fourth terminal may have a positive pole.
  • the fourth terminal may be a - pole.
  • the second specified condition may be reference voltage information for determining whether there is a foreign substance inside the ear connector 201 .
  • the second comparator 209 when the reference voltage level based on the second specified condition applied to the + pole is 0.2V, the second comparator 209 is a low signal when the voltage level of the received input signal is 0.2V or more can be printed out.
  • the second comparator 209 may output a high signal when the voltage level of the received input signal is less than 0.2V.
  • the level of the second output signal may be determined as a high level or a low level based on the voltage level of the input signal and the reference voltage level.
  • the second comparator 209 may receive the reference voltage based on the second specified condition through the -pole.
  • the second comparator 209 may receive an input signal through a + electrode connected to the second electrical path connected to the left sensing terminal.
  • the second comparator 209 outputs a high-level output signal when the voltage level of the received input signal is 0.7V or more when the reference voltage level based on the second specified condition applied to the -pole is 0.7V.
  • a low-level output signal may be output.
  • the level of the second output signal output by the second comparator 209 may be changed depending on whether the reference voltage according to the second specified condition is applied to either the + pole or the - pole.
  • the first comparator 207 and the second comparator to which the input signal is applied The level of the output signal output from the comparator 209 may be changed.
  • the processor 211 may receive the first output signal output by the first comparator 207 and the second output signal output by the second comparator 209 through the interrupt terminal.
  • the processor 211 may determine the presence or absence of a connection between the ear connector 201 and the earphone plug and the presence or absence of foreign substances in the ear connector 201 based on the received levels of the first and second output signals. .
  • the electronic device ( 200) can solve the problem that the current consumption performance is deteriorated.
  • the electronic device eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2
  • the electronic device is an earphone into which the plug of the earphone (eg, the electronic device 102 of FIG. 1 ) is inserted.
  • a connector eg, the connection terminal 178 of FIG. 1 or the ear connector 201 of FIG. 2
  • a sensing terminal eg, the fifth pin 401e of FIG. 4
  • a first output signal is obtained by comparing an input signal applied from a first terminal connected through a path (eg, the first electrical path 203 in FIG.
  • a first comparator that outputs eg, the first comparator 207 of FIG. 2
  • a second electrical path that is branched from one point of the first electrical path eg, the second electrical path 205 of FIG. 2
  • a second comparator for outputting a second output signal by comparing an input signal applied from a third terminal connected to the sensing terminal and a reference voltage according to a second specified condition applied from the fourth terminal eg, the second comparator in FIG.
  • It may include a processor (eg, the processor 120 of FIG. 1 or the processor 211 of FIG. 2 ) that determines the connection state with the plug of the earphone.
  • a processor eg, the processor 120 of FIG. 1 or the processor 211 of FIG. 2 .
  • the ear connector 201 may include five terminals connected to the plug of the earphone.
  • the processor 211 detects a change in the received first output signal, determines whether the earphone is connected to the electronic device 200, and By detecting the change, it is possible to determine whether there is a foreign substance inside the ear connector.
  • the first specified condition is a condition set in the first comparator
  • the reference voltage information for determining whether the earphone plug is connected to the electronic device 200 and the second specified condition are , as a condition set in the second comparator, may include reference voltage information for determining whether there is a foreign substance inside the ear connector.
  • the processor 211 may determine that the plug of the earphone is connected to the electronic device when the voltage level of the received first output signal is equal to or less than the reference voltage set as the first specified condition. have.
  • the voltage level of the received second output signal is equal to or less than the reference voltage set as the second specified condition, it may be determined that there is no foreign material inside the ear connector.
  • the detection terminal may include a left detection terminal (L-detection) connected to a left sound terminal included in the earphone plug among a plurality of terminals included in the ear connector 201 .
  • L-detection left detection terminal
  • the processor 211 may receive the first output signal through a first interrupt terminal and receive a second output signal through a second interrupt terminal.
  • the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) includes a display (eg, the display module 160 of FIG. 1 ) and a plug of an earphone (eg: An ear connector (eg, the connection terminal 178 of FIG. 1 or the ear connector 201 of FIG. 2 ) into which the electronic device 102 of FIG. 1 ) is inserted, and a sensing terminal included in the ear connector (eg, the ear connector of FIG. 4 )
  • the fifth pin 401e) and the first electrical path (eg, the first electrical path 203 of FIG.
  • a first comparator eg, the first comparator 207 of FIG. 2
  • a second output signal is output by comparing the input signal applied from the third terminal connected to the sensing terminal through the second electrical path 205 of is connected to a second comparator (eg, the second comparator 209 of FIG. 2 ) and the display, the first comparator, and the second comparator, and the first output signal output from the first comparator and the second comparator
  • a processor eg, the processor 120 of FIG. 1 or the processor of FIG. 2 ) that determines a connection state with the plug of the earphone based on a second output signal output from the device and outputs the determination result through the display (211)
  • the processor eg, the processor 120 of FIG. 1 or the processor of FIG. 2
  • the ear connector 201 may include five terminals connected to the earphone plug.
  • the detection terminal may include a left detection terminal (L-detection) connected to a left sound terminal included in the earphone plug among a plurality of terminals included in the ear connector 201 .
  • L-detection left detection terminal
  • the first specified condition is a condition set in the first comparator
  • the reference voltage information for determining whether the earphone plug is connected to the electronic device and the second specified condition include: As a condition set in the second comparator, reference voltage information for determining whether there is a foreign substance inside the ear connector may be included.
  • the processor 211 detects a change in the received first output signal, determines whether the earphone is connected to the electronic device 200, and By detecting the change, it is possible to determine whether there is a foreign substance inside the ear connector.
  • the processor 211 may output one of the four connection states determined based on the determined presence or absence of the earphone connection and the determined presence or absence of a foreign substance inside the ear connector through the display. .
  • FIG. 3 is a flowchart illustrating a method of determining whether an earphone is connected, according to an embodiment of the present invention.
  • the electronic device eg, the electronic device 101 of FIG. 1
  • an ear connector eg, the connection terminal 178 of FIG. 1 or the ear connector 201 of FIG. 2 .
  • the input signal can be detected.
  • a pull-up voltage by a bias power may be always applied to the sensing terminal, the first comparator, and the second comparator in the ear connector.
  • the pull-up voltage is divided by a pull-up resistor connected to the bias power of the electronic device and a pull-down resistor of the inserted earphone plug, and the voltage level is changed can be
  • the earphone plug is inserted into the ear connector to initiate a voltage-divided pull-up voltage as an input signal.
  • the input signal may be applied to each of a first comparator (eg, the first comparator 207 of FIG. 2 and a second comparator (eg, the second comparator 209 of FIG. 2 )).
  • the first comparator may be connected to a left detection (L-detection) terminal through a first electrical path (eg, the first electrical path 203 of Fig. 2)
  • the second comparator may be connected to the first electrical path It may be connected to the left sensing terminal through a second electrical path (eg, the second electrical path 205 of FIG. 2 ) branching at a point of .
  • the input signal may be applied to the first comparator through the first electrical path, and may be applied to the second comparator through a second electrical path branched from one point of the first electrical path.
  • the electronic device may output a first output signal and a second output signal through a pair of comparators.
  • the pair of comparators may include a first comparator and a second comparator.
  • the electronic device may output a first output signal based on a first specified condition through the first comparator to which the input signal is applied.
  • the first specified condition may be reference voltage information for determining whether the earphone plug and the ear connector are connected.
  • the first specified condition may be set in the first comparator, and the reference voltage information may be changed according to the set value.
  • the first comparator may output the first output signal as a high-level output signal or a low-level signal according to a first specified condition when the input signal is applied.
  • a reference voltage of about 0.9V according to the first specified condition may be applied to the + electrode of the first comparator.
  • the first comparator may receive an input signal through a first electrical path connected to the -pole of the first comparator.
  • the first comparator may output a high level output signal when the voltage level of the received input signal is about 0.7V.
  • the first comparator may output a low-level signal when the voltage level of the received input signal is about 1V higher than the reference voltage 0.9V.
  • the reference voltage 0.7V according to the first specified condition may be applied to the -pole of the first comparator.
  • the first comparator may receive an input signal through a first electrical path connected to the + electrode of the first comparator.
  • the first comparator may output an output signal of a low level when the voltage level of the input signal is about 0.5V.
  • the voltage level of the input signal to which the first comparator is applied is about 0.8V, which is higher than the reference voltage of 0.7V, the high-level signal may be output.
  • the electronic device may output a second output signal based on a second specified condition through a second comparator to which the input signal is applied through a second electrical path connected to the left sensing terminal.
  • the second specified condition may be reference voltage information for determining whether there is a foreign substance inside the ear connector.
  • the second specified condition may be set in the second comparator, and the reference voltage information may be changed according to the set value.
  • the second comparator when it receives the input signal, it may output the second output signal as a high level signal or a low level signal according to a second specified condition.
  • the reference voltage 0.2V according to the second specified condition may be applied to the + pole of the second comparator.
  • the second comparator may receive an input signal through a second electrical path connected to the -pole of the second comparator.
  • the second comparator may output a high level signal when the voltage level of the input signal is about 0.1V.
  • the voltage level of the input signal received by the second comparator is about 0.5V higher than the reference voltage 0.2V, a low-level signal may be output.
  • the reference voltage 0.5V according to the second specified condition may be applied to the -pole of the first comparator.
  • the second comparator may receive an input signal through a second electrical path connected to the + electrode of the second comparator.
  • the second comparator may output a low-level output signal when the voltage level of the input signal is about 0.3V.
  • the second comparator may output a high-level signal.
  • the electronic device may determine whether there is a connection between the ear connector and the earphone plug based on the first output signal.
  • the processor of the electronic device may receive the first output signal from the first comparator through a first interrupt terminal. have.
  • the processor may determine whether the level of the received first output signal is a high level or a low level to determine a connection state between the ear connector and the earphone plug.
  • the processor may receive the first output signal through the first interrupt terminal from the first comparator to which the reference voltage according to the first specified condition is applied to the + pole.
  • the processor may determine that the ear connector and the earphone plug are connected.
  • the level of the first output signal received by the processor is a low level signal, it may be determined that the ear connector and the earphone plug are not connected.
  • the processor may receive the first output signal through the first interrupt terminal from the first comparator to which the reference voltage according to the first specified condition is applied to the -pole.
  • the processor may determine that the ear connector and the earphone plug are connected.
  • the processor may determine that the ear connector and the earphone plug are not connected.
  • the electronic device may determine whether there is a foreign substance in the ear connector based on the second output signal.
  • the processor of the electronic device may check whether the second output signal received from the second comparator through the second interrupt terminal is at a high level or a low level to check the presence or absence of foreign matter in the ear connector. have.
  • the processor may receive the second output signal through the second interrupt terminal from the second comparator to which the reference voltage according to the second specified condition is applied to the + pole.
  • the processor may determine that there is no foreign material in the ear connector.
  • the processor may determine that a foreign material is present in the ear connector.
  • the processor may receive the second output signal through the second interrupt terminal from the second comparator to which the reference voltage according to the second specified condition is applied to the + pole.
  • the processor may determine that there is no foreign material in the ear connector.
  • the processor may determine that a foreign material is present in the ear connector.
  • the electronic device may determine that the earphone plug and the ear connector are in a normal connection state based on the results of the checks in operations 307 and 309 .
  • the processor of the electronic device may determine that the ear connector and the earphone plug are connected in operation 307 , and may determine that there is no foreign material in the ear connector in operation 309 .
  • the processor may determine that the earphone plug and the ear connector are normally connected based on the result of the check.
  • the processor may determine that the level of the first output signal received from the first comparator to which the reference voltage according to the first specified condition is applied to the + pole is the high level. Also, the processor may confirm that the level of the second output signal received from the second comparator to which the reference voltage according to the second specified condition is applied to the + pole is the high level. The processor may determine that the earphone plug and the ear connector are in a normal connection state when it is confirmed that the received first output signal and the second output signal have a high level.
  • the processor may receive the first output signal from the first comparator to which the reference voltage according to the first specified condition is applied to the -pole.
  • the processor may receive a second output signal from a second comparator to which a reference voltage according to the second specified condition is applied to a negative pole.
  • the processor may determine that the earphone plug and the ear connector are in a normal connection state when it is confirmed that the received first output signal and the second output signal have a low level.
  • the processor may determine that the earphone plug and the ear connector are in an abnormal connection state based on the results of the checks in operations 307 and 309 .
  • the processor may determine that the ear connector and the earphone plug are connected in operation 307 .
  • the processor may determine that there is a foreign material in the ear connector in operation 309 .
  • the processor may determine that the earphone plug and the ear connector are in an abnormally connected state based on the result of the check. That is, the processor may determine that it is incorrectly recognized that the ear connector and the earphone plug are in a connected state due to a foreign substance present in the ear connector.
  • the processor may receive the first output signal from the first comparator to which the reference voltage according to the first specified condition is applied to the + pole. Also, the processor may receive a second output signal from a second comparator to which the reference voltage according to the second specified condition is applied to the + pole.
  • the processor determines that the level of the received first output signal is the high level and the level of the second output signal is the low level, the ear connector and the earphone plug are damaged due to foreign substances present in the ear connector It can be judged that it is erroneously recognized as being in a connected state.
  • the processor determines that the ear connector and the earphone plug are not connected, and in operation 309, determines that there is a foreign substance in the ear connector.
  • the processor may determine that the earphone plug and the ear connector are in an abnormally connected state based on the result of the check. That is, the processor may determine that the earphone plug is not connected to the ear connector due to a foreign substance present in the ear connector.
  • the processor may receive a first output signal from a first comparator to which a reference voltage according to the first specified condition is applied to a negative pole.
  • the processor may receive a second output signal from a second comparator to which a reference voltage according to the second specified condition is applied to a negative pole.
  • the processor may determine that the ear connector and the earphone plug are not connected in operation 307 , and determine that there is no foreign material in the ear connector in operation 309 .
  • the processor may determine that the earphone plug and the ear connector are in an abnormally connected state based on the result of the check.
  • the processor may determine that the earphone plug is inserted into the ear connector, but the earphone plug is not connected to the ear connector due to a factor other than a foreign substance.
  • the processor may receive the first output signal from the first comparator to which the reference voltage according to the first specified condition is applied to the + pole.
  • the processor may receive a second output signal from a second comparator to which the reference voltage according to the second specified condition is applied to the + pole.
  • FIG. 4 is a diagram for explaining a method of determining whether an earphone is connected according to a resistance value, according to an embodiment of the present invention.
  • the ear connector 401 (eg, the ear connector 201 of FIG. 2 ) includes a first pin 401a, a second pin 401b, a third pin 401c, and a fourth pin 401d. ) and a fifth pin 401e.
  • the first pin 401a may contact the microphone terminal of the 4-pole ear plug.
  • the electronic device eg, the electronic device 200 of FIG. 2
  • the electronic device may receive a sound generated by the earphone through the first pin 401a.
  • the second pin 401b may be connected to a ground terminal of the earphone plug when the earphone plug is inserted into the ear connector 401 .
  • the first pin 401a and the second pin 401b may be connected to the ground terminal of the 3-pole earphone plug.
  • the ear connector 401 is a 4-pole ear connector.
  • the third pin 401c may be configured to allow the left end sound generated by the electronic device to be output through the left sound terminal of the earphone when the earphone plug is inserted into the ear connector. It may be connected to an acoustic terminal.
  • the fourth pin 401d may be connected to the right sound terminal so that, when an earphone plug is inserted into the ear connector, a right end sound generated by the electronic device may be output through the right sound terminal of the earphone. .
  • the third pin 401c and the fourth pin 401d may be respectively connected to a pull down resistor R3 of the earphone plug.
  • the pull-down resistor R3 may be changed according to a resistance value of an external device including a plug inserted into the ear connector.
  • the fifth pin 401e is connected to a first comparator 403 (eg, the first comparator 207 of FIG. 2 ) and a first electrical path (eg, the first electrical path 203 of FIG. 2 ). ) through a second comparator 405 (eg, the second comparator 405 of FIG. 2 ) through a second electrical path (eg, the second electrical path 205 of FIG. 2 ) branching at one point of the first electrical path. 2 comparator 209).
  • the fifth pin 401e is a pull-up resistor R1 connected to a series resistor R2 and a bias power supply at a point before branching into the first electrical path and the second electrical path in a circuit manner.
  • the series resistor R2 may be a resistor for adjusting the voltage level range of the input signal. That is, the pull-up voltage by the bias power may always be applied to the fifth pin 401e , the first comparator 403 , and the second comparator 405 .
  • the voltage level of the previously input pull-up voltage is the resistor R1 connected to the bias power and a resistor having the resistance value of the external device.
  • a voltage may be divided based on R3 and the series resistor R2 to determine a voltage level of the pull-up voltage.
  • the voltage-divided pull-up voltage is started as an input signal.
  • the plug of the earphone set to about 32 ohms is inserted into the ear connector 401 can be
  • the voltage of the bias power supply is 2.5V
  • a voltage of 2.5V is divided based on the resistance values set in the resistors R1, R2, and R3 so that the voltage level of the input signal is determined to be 0.037617V.
  • the resistance value in the ear connector 401 may be changed to about 300k ohms.
  • a plug of an earphone set to 32 ohms may be inserted into the ear connector 401 in a state in which moisture has been introduced.
  • the voltage of the bias power supply is 2.5V
  • a voltage of 2.5V is divided based on the resistance values set in the resistors R1, R2, and R3, so that the voltage level of the input signal is determined to be 0.715385V.
  • the first comparator 403 and the second comparator 405 may receive the input signal through a first electrical path and a second electrical path connected to the fifth pin 401e, respectively.
  • the first comparator 403 may output the input signal as a first output signal based on a first specified condition.
  • the second comparator 405 may output the input signal as a second output signal based on a second specified condition.
  • the first comparator 403 and the second comparator 405 may receive an input signal having a voltage level of 0.037617V through the first electrical path and the second electrical path.
  • the second electrical path may be connected to the -pole of the first comparator 403 .
  • the first comparator 403 to which the reference voltage 0.9V according to the first specified condition is applied to the + pole may output a high level first output signal.
  • the second comparator 405 to which the reference voltage 0.2V according to the second specified condition is applied to the + pole may output a second output signal of a high level.
  • the first comparator 403 and the second comparator 405 may receive an input signal having a voltage level of 0.715385V through the first and second electrical paths connected to the fifth pin 401e. have.
  • the first comparator 403 to which the reference voltage 0.9V according to the first specified condition is applied to the + pole may output a first output signal of high level.
  • the reference voltage 0.2V according to the second specified condition is applied to the + pole.
  • the second comparator 405 may output a low level second output signal.
  • the processor 407 receives the first output signal and the second output signal through an interrupt terminal, and based on the received first output signal and the second output signal, the ear connector 401 ) and an external device, and whether there is a foreign substance in the ear connector 401 may be determined.
  • the processor 407 may determine that the ear connector 401 is connected to the external device. Also, when the level of the second output signal is a high level signal, the processor 407 may determine that there is no foreign material in the ear connector 401 . The processor 407 may determine that the external device is normally connected to the ear connector 401 based on the determination results.
  • the processor 407 may determine that the ear connector 401 and the external device are connected. Also, when the level of the second output signal is a low level signal, the processor 407 may determine that a foreign material exists in the ear connector 401 . Based on the determination results, the processor 407 may determine that the external device is incorrectly recognized as being connected due to a foreign material present in the ear connector 401 .
  • FIG. 5 is another block diagram of an electronic device for determining whether an earphone is connected, according to an embodiment of the present invention.
  • the electronic device 500 (eg, the electronic device 101 of FIG. 1 ) includes an ear connector 501 (eg, the connection terminal 178 of FIG. 1 ), a first electrical path 503 ( Example: first electrical path 203 in FIG. 2 ), second electrical path 505 (eg second electrical path 205 in FIG. 2 ), first comparator 507 (eg first in FIG. 2 ) comparator 207 ), second comparator 509 (eg, second comparator 209 of FIG. 2 ), gate 511 , and processor 53 (eg, processor 120 of FIG. 1 or processor of FIG. 2 ) (211)) may be included.
  • the configuration of the electronic device 200 is not limited thereto.
  • the electronic device 500 may omit at least one of the above-described components, and may include at least one other component.
  • the electronic device 500 may include a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device 500 displays the connection state between the ear connector 501 and the earphone plug (eg, whether there is a connection between the ear connector and the earphone plug and whether there is a foreign substance in the ear connector), which is checked based on the third output signal. can be displayed through
  • the ear connector 501 may mean a socket capable of accommodating a plug of an earphone having a microphone input and/or audio output function, and the electronic device 500 through the ear connector 501 .
  • a 4-pole earphone or a 3-pole earphone can be connected to.
  • the plug of the 4-pole earphone may include a microphone terminal, a ground terminal, a right sound terminal, and a left sound terminal.
  • the plug of the three-pole earphone may include a ground terminal, a right sound terminal, and a left sound terminal except for the microphone terminal.
  • the ear connector 501 includes a first pin contacting the microphone terminal of the 4-pole earphone plug, a second pin contacting the ground terminal of the earphone plug, and a right sound terminal of the earphone plug.
  • the third pin may include a fourth pin and a fifth pin contacting the left acoustic terminal of the earphone plug.
  • the ear connector 501 includes a first pin and a second pin contacting the ground terminal of the three-pole earphone plug, a third pin contacting the right sound terminal of the earphone plug, and the left side of the earphone plug. It may include a fourth pin and a fifth pin contacting the acoustic terminal.
  • the fifth pin contacting the left acoustic terminal of the earphone plug may be a left-side detection (L-detection) terminal.
  • the ear connector 501 referred to in the present invention may be a 5-pin ear connector.
  • the pull-up ( pull-up) voltage when the earphone plug is inserted into the ear connector 501, the pull-up ( pull-up) voltage may be voltage-divided.
  • a pull-up voltage by a bias power may always be applied to the sensing terminal in the ear connector 501 , the first comparator 507 , and the second comparator 509 .
  • the sensing terminal may be a left sensing terminal in contact with the left sound terminal of the earphone plug.
  • the pull-up voltage may be divided by a pull-up resistor connected to the bias power supply and a pull-down resistor connected to the earphone plug.
  • the earphone plug is inserted into the ear connector 501 to initiate the voltage-divided pull-up voltage as an input signal.
  • the input signal may be applied to each of the first comparator 507 and the second comparator 509 .
  • the first comparator 507 and the second comparator 509 may be connected to the left sensing terminal among five pins of the ear connector 501 through an electrical path.
  • the first comparator 507 may be connected to the left sensing terminal through a first electrical path 503 .
  • the second comparator 509 may be connected to the left sensing terminal through a second electrical path 505 branched at a point of the first electrical path 503 .
  • the first comparator 507 may output the input signal as a first output signal based on a first specified condition.
  • the first comparator 507 may receive the input signal (a pull-up voltage with a changed voltage level) through the first electrical path 503 .
  • the first comparator 507 may receive a reference voltage based on a first specified condition through one of the first terminal and the second terminal.
  • the first terminal included in the first comparator 507 has a negative pole
  • the second terminal may have a positive pole.
  • the second terminal may be a - pole.
  • the first specified condition may be reference voltage information for determining whether there is a connection between the ear connector 501 and the earphone plug.
  • the first comparator 507 when the reference voltage level based on the first specified condition applied to the + pole is 0.9V, the first comparator 507 has a low level when the voltage level of the received input signal is 0.9V or more signal can be output.
  • the first comparator 507 may output a high level signal when the voltage level of the received input signal is less than 0.9V.
  • the level of the first output signal may be determined as a high level or a low level based on the voltage level of the input signal and the reference voltage level.
  • the second comparator 509 may output the input signal as a second output signal based on a second specified condition.
  • the second comparator 509 may receive the input signal through the second electrical path 505 .
  • the second comparator 509 may receive a reference voltage based on a second specified condition through one of the first terminal and the second terminal.
  • the third terminal included in the second comparator 509 has a negative pole, the fourth terminal may have a positive pole.
  • the fourth terminal may be a - pole.
  • the second specified condition may be reference voltage information for determining whether there is a foreign substance inside the ear connector 501 .
  • the second comparator 509 when the reference voltage level based on the second specified condition applied to the + pole is 0.2V, the second comparator 509 has a low signal when the voltage level of the received input signal is 0.2V or more. can be printed out.
  • the second comparator 509 may output a high signal when the voltage level of the received input signal is less than about 0.2V.
  • the level of the second output signal may be determined as a high level or a low level based on the voltage level of the input signal and the reference voltage level.
  • the gate 511 may receive the first output signal output by the first comparator 507 and the second output signal output by the second comparator 509 .
  • the gate 511 may be an AND gate.
  • the gate 511 may output a third output signal based on the level of the first output signal and the level of the second output signal.
  • the gate 511 may output the third output signal of the high level.
  • the gate 511 may output a third output signal of a low level.
  • the processor 513 may receive a third output signal from the gate 511 through an interrupt terminal.
  • the processor 513 may determine whether there is a connection between the ear connector 501 and the earphone plug and the presence or absence of foreign substances in the ear connector 501 based on the third output signal. The operation of determining whether there is a connection between the ear connector 501 and the earphone plug and the presence or absence of foreign matter in the ear connector 501 will be described in detail with reference to FIG. 6 .
  • the processor 513 may confirm that the ear connector 501 and the earphone plug are in a normal connection state. As another example, when the level of the received third output signal is the low level, the processor 513 may determine that the ear connector 501 and the earphone plug are in an abnormal connection state.
  • the electronic device eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2
  • the electronic device is an earphone into which the plug of the earphone (eg, the electronic device 102 of FIG. 1 ) is inserted.
  • a connector eg, the connection terminal 178 of FIG. 1 or the ear connector 501 of FIG. 5
  • a sensing terminal eg, the fifth pin 401e of FIG. 4
  • a first comparator eg, the first comparator 507 of FIG. 5
  • a second electrical path branching from a point of the first electrical path eg, the second electrical path 505 of FIG. 5
  • a second comparator eg, the second comparator of FIG.
  • the processor eg, in FIG. 1 ) checks the connection state with the plug of the earphone processor 120 or processor 513 of FIG. 5 ).
  • the processor 513 based on the third output signal received from the gate 511, includes a first state in which the connection state between the earphone plug and the ear connector 501 is a normal connection state, and the One of the second states in which the connection state of the earphone plug and the ear connector 501 is abnormal may be checked.
  • the ear connector 501 may include five terminals connected to the earphone plug.
  • the detection terminal may include a left detection terminal (L-detection) connected to a left sound terminal included in the earphone plug among a plurality of terminals included in the ear connector 501 .
  • L-detection left detection terminal
  • the gate 511 may include an AND gate.
  • the electronic device may further include a display, and the processor 513 may output the confirmation result through the display.
  • the processor 513 may receive the third output signal from the gate 511 through an interrupt terminal.
  • FIG. 6 is another flowchart of an electronic device for determining whether an earphone is connected, according to an embodiment of the present invention.
  • the electronic device eg, the electronic device 101 of FIG. 1
  • an ear connector eg, the connection terminal 178 of FIG. 1 or the ear connector 201 of FIG. 2 .
  • the input signal can be detected.
  • a pull-up voltage by a bias power may be always applied to the sensing terminal, the first comparator, and the second comparator in the ear connector.
  • the pull-up voltage is divided by a pull-up resistor connected to the bias power of the electronic device and a pull-down resistor of the inserted earphone plug, and the voltage level is changed can be
  • the earphone plug is inserted into the ear connector to initiate a voltage-divided pull-up voltage as an input signal.
  • the input signal is to be applied to a first comparator (eg, the first comparator 209 of FIG. 2 ) and a second comparator (eg, the second comparator 209 of FIG. 2 ), respectively.
  • the first comparator may be connected to a left detection (L-detection) terminal through a first electrical path (eg, the first electrical path 203 of FIG. 2 ).
  • the second comparator may be connected to the left sensing terminal through a second electrical path (eg, the second electrical path 205 of FIG. 2 ) branched at one point of the first electrical path.
  • the input signal may be applied to the first comparator through the first electrical path, and may be applied to the second comparator through a second electrical path branched from one point of the first electrical path.
  • the electronic device may output a first output signal based on a first specified condition through the first comparator.
  • the first specified condition may be reference voltage information for determining whether the earphone plug and the ear connector are connected.
  • the first specified condition may be set in the first comparator, and the reference voltage information may be changed according to the set value.
  • the first comparator may output the first output signal as a high-level output signal or a low-level signal according to a first specified condition when the input signal is applied.
  • the reference voltage 0.9V according to the first specified condition may be applied to the + pole of the first comparator.
  • the first comparator may receive an input signal through a first electrical path connected to the -pole of the first comparator.
  • the first comparator may output a high level output signal when the voltage level of the input signal is 0.7V.
  • the first comparator may output a low-level signal when the voltage level of the received input signal is about 1V higher than the reference voltage 0.9V.
  • the reference voltage 0.7V according to the first specified condition may be applied to the -pole of the first comparator.
  • the first comparator may receive an input signal through a first electrical path connected to the + electrode of the first comparator.
  • the first comparator may output a low-level output signal when the voltage level of the applied input signal is about 0.5V.
  • the first comparator may output a high-level signal when the voltage level of the applied input signal is about 0.8V higher than the reference voltage of 0.7V.
  • the electronic device may output a second output signal through a second comparator based on a second specified condition.
  • the second comparator may receive the input signal through a second electrical path branched from one point of the first electrical path.
  • the second specified condition may be reference voltage information for determining whether there is a foreign substance inside the ear connector.
  • the second specified condition may be set in the second comparator, and the reference voltage information may be changed according to the set value.
  • the second comparator when it receives the input signal, it may output the second output signal as a high level signal or a low level signal according to a second specified condition.
  • the reference voltage 0.2V according to the second specified condition may be applied to the + pole of the second comparator.
  • the second comparator may receive an input signal through a second electrical path connected to the -pole of the second comparator.
  • the second comparator may output a high level signal when the voltage level of the input signal is 0.1V.
  • the second comparator may output a low-level signal when the voltage level of the received input signal is 0.5V higher than the reference voltage 0.2V.
  • the reference voltage 0.5V according to the second specified condition may be applied to the -pole of the first comparator.
  • the second comparator may receive an input signal through a second electrical path connected to the + electrode of the second comparator.
  • the second comparator may output a low-level output signal when the voltage level of the received input signal is 0.3V.
  • the second comparator may output a high-level signal.
  • the electronic device may output a third output signal based on a first output signal and a second output signal through a gate (eg, the gate 511 of FIG. 5 ).
  • a gate eg, the gate 511 of FIG. 5
  • the electronic device may output a high level third output signal or a low level third output signal through a gate to which the first output signal and the second output signal are applied.
  • the gate may be an AND gate.
  • the gate may receive a high level first output signal from a first comparator to which the reference voltage according to the first specified condition is applied to the + pole.
  • the gate may receive a high level second output signal from a second comparator to which the + pole of the reference voltage according to the second specified condition is applied.
  • the gate may output a high level third output signal when the received first output signal and the second output signal have a high level.
  • the gate may output a low-level third output signal.
  • the gate may be a nor gate.
  • the NO R gate may receive a low-level first output signal from a first comparator to which a reference voltage according to the first specified condition is applied to a negative pole.
  • the NO-R gate may receive a low-level second output signal from a second comparator to which the reference voltage according to the second specified condition is applied to a negative pole.
  • the gate may output a high level third output signal when the received first output signal and the second output signal have a low level.
  • the NO R gate may output a low level third output signal.
  • the electronic device may check a connection state between the ear connector and the earphone plug based on the third output signal.
  • the processor of the electronic device may receive the third output signal through an interrupt terminal.
  • the processor may check a connection state between the ear connector and the earphone plug based on the level of the received third output signal.
  • the gate may be an AND gate.
  • the processor may determine that the ear connector and the earphone plug are in a normal connection state.
  • the processor may check the connection state of the ear connector and the earphone plug based on the level of the received third output signal.
  • the gate may be a nor gate.
  • the processor may receive the third output signal from the NO R gate. When the level of the third output signal is the low level signal, the processor may determine that the ear connector and the earphone plug are in an abnormal connection state. When the level of the received third output signal is a high level signal, the processor may determine that the ear connector and the earphone plug are in a normal connection state.
  • the processor can check the connection state of the ear connector and the earphone plug based on the level of the third output signal received from the gate through the interrupt terminal. An operation of determining a connection state between an ear connector and an earphone plug may not be performed based on the first output signal outputted and the second output signal outputted from the second comparator.
  • FIG. 7 is a diagram for explaining another method of determining whether an earphone is connected according to a resistance value, according to an embodiment of the present invention.
  • the ear connector 701 (eg, the ear connector 201 of FIG. 2 ) includes a first pin 701a, a second pin 701b, a third pin 701c, and a fourth pin 701d. ) and a fifth pin 701e.
  • the first pin 701a may contact the microphone terminal of the 4-pole ear plug.
  • the electronic device eg, the electronic device 200 of FIG. 2
  • the electronic device may receive a sound generated by the earphone through the first pin 701a.
  • the second pin 701b may be connected to a ground terminal of the earphone plug when the earphone plug is inserted into the earphone connector 701 .
  • the first pin 701a and the second pin 701b may be connected to the ground terminal of the 3-pole earphone plug.
  • the ear connector 701 is a 4-pole ear connector.
  • the third pin 701c may be configured such that, when the earphone plug is inserted into the ear connector, the left end sound generated by the electronic device may be output through the left sound terminal of the earphone. It may be connected to an acoustic terminal.
  • the fourth pin 701d may be connected to the right sound terminal so that, when an earphone plug is inserted into the ear connector, a right end sound generated by the electronic device may be output through the right sound terminal of the earphone.
  • the third pin 701c and the fourth pin 701d may be respectively connected to a pull down resistor R3 of the earphone plug.
  • the pull-down resistor R3 may be changed according to a resistance value of an external device including a plug inserted into the ear connector.
  • the fifth pin 701e is connected to the first comparator 703 (eg, the first comparator 207 of FIG. 2 ) and a first electrical path (eg, the first electrical path 203 of FIG. 2 ). ) through a second comparator 705 (eg, the second comparator 705 of FIG. 2) through a second electrical path (eg, the second electrical path 205 of FIG. 2 comparator 209).
  • the fifth pin 701e may be connected to a series resistor R2 and a pull-up resistor R1 at a point before branching into the first electrical path and the second electrical path.
  • the series resistor R2 may be a resistor for adjusting the voltage level range of the input signal. That is, the pull-up voltage by the bias power may be always applied to the fifth pin 701e , the first comparator 703 , and the second comparator 705 .
  • a resistor R1 connected to the bias power supply and a resistor R3 having a resistance value of the external device and a previously input pull-up voltage and the series A voltage is divided based on the resistor R2 to determine a voltage level of the pull-up voltage.
  • the voltage-divided pull-up voltage is started as an input signal.
  • the value of the resistor R1 is set to 470k ohms and the value of the resistor R2 is set to 33k ohms
  • an open cable in which the resistance value is set to 12k ohms in the ear connector 701 of the plug can be inserted.
  • the voltage of the bias power supply is 2.5V
  • a voltage of 2.5V is divided based on the resistance values set in the resistors R1, R2, and R3, so that the voltage level of the input signal is determined to be 0.157282V.
  • the resistance value in the ear connector 701 may be changed to about 300k ohms.
  • An open cable plug set to 12k ohms may be inserted into the ear connector 401 in a state in which moisture is introduced.
  • the voltage of the bias power supply is 2.5V
  • a voltage of 2.5V is divided based on the resistance values set in the resistors R1, R2, and R3, so that the voltage level of the input signal is determined to be about 0.746451V.
  • the first comparator 703 and the second comparator 705 may receive input signals through the first and second electrical paths connected to the fifth pin 701e, respectively.
  • the first comparator 703 may output a first output signal based on a first specified condition.
  • the second comparator 705 may output a second output signal based on a second specified condition.
  • the first comparator 703 may receive an input signal having a voltage level of about 0.157282V through the first electrical path.
  • the first electrical path may be connected to the -pole of the first comparator 703 .
  • the first comparator 703 may output a first output signal of a high level when the reference voltage 0.9V according to the first specified condition is applied through the + pole.
  • the second comparator 705 may receive an input signal having a voltage level of about 0.157282V through the second electrical path.
  • the second electrical path may be connected to the -pole of the second comparator 705 .
  • the second comparator 705 may output a high level second output signal when the reference voltage 0.2V according to the second specified condition is applied through the + pole.
  • the first comparator 703 may receive an input signal having a voltage level of about 0.746451V through the first electrical path.
  • the first electrical path may be connected to the -pole of the first comparator 703 .
  • the first comparator 703 may output a high level first output signal when the reference voltage 0.9V according to the first specified condition is applied through the + pole.
  • the second comparator 705 may receive an input signal having a voltage level of about 0.746451V through the second electrical path.
  • the second electrical path may be connected to the -pole of the second comparator 705 .
  • the second comparator 705 may output a second output signal of a low level when the reference voltage 0.2V according to the second specified condition is applied through the + pole.
  • the gate 707 may receive the first output signal and the second output signal.
  • the gate 707 may output a third output signal based on the applied level of the first output signal and the level of the second output signal.
  • the gate 707 may be an AND gate.
  • a third output having a high level signal can be output.
  • the gate 707 may output a low-level third output signal when at least one low-level signal is present in the applied first output signal and the second output signal.
  • the gate 707 may be a nor gate.
  • the NO-R gate may receive a low-level first output signal from the first comparator 703 to which a reference voltage is applied through a negative pole according to a first specified condition.
  • the NO-R gate may receive a low-level second output signal from the second comparator 705 to which a reference voltage is applied through a negative pole according to a second specified condition.
  • the NO R gate may output a third output signal having a high level when the levels of the first output signal and the second output signal are low levels.
  • the gate 707 may output a low-level third output signal when at least one high-level signal is present in the applied first output signal and the second output signal.
  • the processor 709 may receive the third output signal output from the gate 707 through an interrupt terminal.
  • the processor 709 may check a connection state between the ear connector 701 and the external device based on the applied third output signal.
  • the processor 709 may determine that the ear connector 701 and the plug of the external device are in a normal connection state. For another example, when the level of the applied third output signal is the low level, the processor 709 may determine that the ear connector 701 and the plug of the external device are in an abnormal connection state.
  • the processor 709 may display the confirmation result through a display (not shown) of the electronic device.
  • the electronic device may have various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), 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 smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • first, second, or first or second may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the 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
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • a processor eg, processor 120
  • a device eg, electronic device 101
  • 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' only means that the storage medium is a tangible device and does not include a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided as included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones).
  • a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • one or more components or operations among the above-described corresponding components 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 each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Telephone Function (AREA)

Abstract

전자 장치는 이어 폰의 플러그가 삽입되는 이어 커넥터, 상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기, 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기 및 상기 제1 비교기 및 상기 제2 비교기와 전기적으로 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하는 프로세서를 포함하는 전자 장치가 개시된다. 이 외에도 본 문서를 통해 파악되는 다양한 실시예들이 가능하다.

Description

외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치
본 문서의 다양한 실시 예들은, 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.
멀티미디어 기술의 발전으로 전자 장치(예: 스마트 폰)는 통화 기능, 음악 재생 기능, 동영상 재생 기능 등의 다양한 기능을 사용자에게 제공할 수 있다. 예를 들어, 전자 장치는 오디오 신호의 입력 또는 출력을 사용자에게 지원하기 위하여 이어 커넥터(ear connector) 내에 이어 폰 플러그(earphone plug)가 삽입되는 경우, 이어 폰과 연결되며, 연결된 이어 폰을 통해 다양한 기능을 제공할 수 있다.
기존에는 표준화 추세에 따라, 전자 장치에 6핀 이어 커넥터(6pin ear connector)를 사용하였지만, 대량 생산 및 가격 절감 등의 이유로 6핀 이어 커넥터 대신 5핀 이어 커넥터(5pin ear connector)의 사용 필요성이 대두됨과 동시에, 5핀 이어 커넥터의 침수 성능과 관련된 문제점이 제시되었다.
기존의 5핀 이어 커넥터에 이어 폰 플러그가 삽입되는 경우, 입력 신호가 전자 장치의 코덱(CODEC) 및 프로세서(processor)에 각각 인가되었으며, 그 중 프로세서는 인가되는 입력 신호를 ADC 단자를 통해 인가받을 수 있다. 그러나, 프로세서는 ADC 단자를 통해 인가되는 입력 신호에 대한 동작을 즉각적으로 수행할 수 없기 때문에, 주기적으로 슬립 모드(sleep mode)에서 웨이크 업 모드(wake up mode)로 전환되는 동작을 수행할 수 있다. 프로세서는 주기적으로 슬립 모드(sleep mode)에서 웨이크 업 모드(wake up mode)로 전환되어, 이어 폰 플러그와 이어 커넥터 간의 연결 상태(예: 이어 폰과 전자 장치의 연결 유무 및 이어 커넥터 내부의 상태)를 확인할 수 있다. 다만, 상기 프로세서가 주기적으로 슬립 모드(sleep mode)에서 웨이크 업 모드(wake up mode)로 전환되는 동작을 수행함에 따라, 전자 장치의 소모 전류 성능이 열화되는 문제점이 발생할 수 있다.
본 문서에 개시되는 다양한 실시예들은, 전자 장치는 5핀 이어 커넥터에 이어 폰 플러그가 삽입되는 경우, 5핀 이어 커넥터에 포함된 복수 개의 단자 중 좌측 감지 단자를 통해 입력 신호를 수신하고, 수신한 입력 신호를 한 쌍의 비교기에 각각 인가할 수 있다. 전자 장치는 각각의 입력 신호를 수신한 한 쌍의 비교기를 통해 지정된 조건을 기반으로 각각의 출력 신호를 출력할 수 있다. 전자 장치의 프로세서는 인터럽트 단자를 통해 각각의 출력 신호를 수신하고, 수신한 출력 신호를 기반으로 이어 폰 플러그와 이어 커넥터 간의 연결 상태를 즉각적으로 판단할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치는 이어 폰의 플러그가 삽입되는 이어 커넥터, 상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기, 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기 및 상기 제1 비교기 및 상기 제2 비교기와 전기적으로 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하는 프로세서를 포함할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치는 이어 폰의 플러그가 삽입되는 이어 커넥터, 상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호와 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기, 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호와 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기, 상기 제1 비교기 및 상기 제2 비교기와 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 제3 출력 신호를 출력하는 게이트(gate) 및 상기 게이트로부터 출력되는 제3 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 확인하는 프로세서를 포함할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치는 디스플레이, 이어 폰의 플러그가 삽입되는 이어 커넥터, 상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기, 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기 및 상기 디스플레이, 상기 제1 비교기 및 상기 제2 비교기와 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하고, 상기 판단 결과를 상기 디스플레이를 통해 출력하는 프로세서를 포함할 수 있다.
본 문서에 개시되는 다양한 실시 예에 따르면, 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치는, 좌측 감지 단자를 통해 입력 신호를 수신하고, 수신한 입력 신호를 한 쌍의 비교기에 각각 인가하고, 지정된 조건을 기반으로 한 쌍의 비교기가 출력하는 출력 신호를 프로세서의 인터럽트 단자를 통해 수신함으로써, 프로세서가 이어 폰 플러그와 이어 커넥터 간의 연결 상태를 확인하기 위하여, 주기적으로 슬립 모드(sleep mode)에서 웨이크 업 모드(wake up mode)로 전환되는 동작을 수행하지 않기 때문에, 전자 장치의 소모 전류 성능이 열화되는 문제점을 해결할 수 있다.
또한, 프로세서가 인터럽트 단자를 통해 출력 신호를 수신하기 때문에, ADC 포트 제거에 따른 재료비를 절감할 수 있으며, 5핀 이어 커넥터에서의 이물질에 의한 이어 폰의 오인식을 방지할 수 있다.
이 외에도 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과가 제공될 수 있다.
도 1은 본 발명의 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 전자 장치의 블록도이다.
도 3은 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 방법을 설명하기 위한 순서도이다.
도 4는 본 발명의 일 실시예에 따른, 저항 값에 따른 이어 폰의 연결 유무를 판단하는 방법을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 전자 장치의 다른 블록도이다.
도 6은 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 전자 장치의 다른 순서도이다.
도 7은 본 발명의 일 실시예에 따른, 저항 값에 따른 이어 폰의 연결 유무를 판단하는 다른 방법을 설명하기 위한 도면이다.
상술한 도면의 설명과 관련하여, 동일 또는 대응되는 구성 요소에 대해서는 동일한 참조 번호가 부여될 수 있다.
이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 도시된 바에 의해 한정되는 것은 아니다.
도 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), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(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카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(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(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2는 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 전자 장치의 블록도이다.
도 2를 참조하면, 전자 장치(200)(예: 도 1의 전자 장치(101))는 이어 커넥터(201)(예: 도 1의 연결 단자(178)), 제1 전기적 경로(203), 제2 전기적 경로(205), 제1 비교기(207), 제2 비교기(209) 및 프로세서(211)(예: 도 1의 프로세서(120))를 포함할 수 있다. 그러나, 전자 장치(200)의 구성이 이에 한정되는 것은 아니다.
다양한 실시예에 따르면, 전자 장치(200)는 상술한 구성 요소들 중 적어도 하나를 생략할 수 있으며, 적어도 하나의 다른 구성 요소를 포함할 수 있다. 일 예로 전자 장치(200)는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 포함할 수 있다. 전자 장치(200)는 상기 디스플레이를 통해 이어 폰 플러그와 이어 커넥터 간의 연결 상태를 표시할 수 있다.
일 실시예에 따르면, 이어 커넥터(201)는 마이크 입력 및/또는 오디오 출력 기능을 가지는 이어 폰의 플러그를 수용할 수 있는 소켓을 의미할 수 있으며, 이어 커넥터(201)를 통해 전자 장치(200)에는 4극 이어 폰 또는 3극 이어폰이 접속될 수 있다. 상기 4극 이어 폰의 플러그는 마이크 단자, 그라운드 단자, 우측 음향 단자 및 좌측 음향 단자를 포함할 수 있다. 상기 3극 이어 폰의 플러그는 마이크 단자를 제외한 그라운드 단자, 우측 음향 단자 및 좌측 음향 단자를 포함할 수 있다.
일 실시예에 따르면, 이어 커넥터(201)는 4극 이어 폰 플러그의 마이크 단자와 접촉하는 제1 핀, 이어 폰 플러그의 그라운드 단자와 접촉하는 제2 핀, 이어 폰 플러그의 우측 음향 단자와 접촉하는 제3 핀, 이어 폰 플러그의 좌측 음향 단자와 접촉하는 제4 핀 및 제5 핀을 포함할 수 있다.
다른 실시예에 따르면, 이어 커넥터(201)는 3극 이어 폰 플러그의 그라운드 단자와 접촉하는 제1 핀, 제2 핀, 이어 폰 플러그의 우측 음향 단자와 접촉하는 제3 핀, 이어 폰 플러그의 좌측 음향 단자와 접촉하는 제4 핀 및 제5 핀을 포함할 수 있다.
일 실시예에 따르면, 상기 이어 폰 플러그의 좌측 음향 단자와 접촉하는 제5 핀은 좌측 감지(L-detection) 단자일 수 있다. 본 발명에서 언급하는 이어 커넥터(201)는 5핀 이어 커넥터(5pin ear connector)일 수 있다.
일 실시예에 따르면, 상기 이어 커넥터(201)에 상기 이어 폰 플러그(예: 도 1의 전자 장치(102))가 삽입되는 경우, 이어 커넥터(201)의 감지 단자, 제1 비교기(207) 및 제2 비교기(209)에 인가되고 있는 풀 업(pull-up) 전압이 전압 분배될 수 있다. 보다 자세하게 설명하면, 상기 이어 커넥터(201) 내의 상기 감지 단자, 제1 비교기(207) 및 제2 비교기(209)에는 바이어스 전원에 의한 풀 업 전압이 항상 인가될 수 있다. 상기 감지 단자는 이어 폰 플러그의 좌측 음향 단자와 접촉하는 좌측 감지 단자일 수 있다.
일 실시예에 따르면, 이어 커넥터(201) 내에 상기 이어 폰 플러그가 삽입되는 경우, 상기 바이어스 전원과 연결된 풀 업 저항과 이어 폰 플러그에 연결된 풀 다운 저항에 의해 상기 풀 업 전압의 전압이 분배될 수 있다. 이하, 이어 커넥터(201) 내에 상기 이어 폰 플러그가 삽입되어 전압 분배된 풀 업 전압을 입력 신호로 개시하도록 한다. 상기 입력 신호는 제1 비교기(207) 및 제2 비교기(209) 각각에 인가될 수 있다. 일 실시예에 따르면, 제1 비교기(207) 및 제2 비교기(209)는 이어 커넥터(201)의 5개의 핀 중 상기 좌측 감지 단자와 전기적 경로를 통해 연결될 수 있다. 제1 비교기(207)는 상기 좌측 감지 단자와 제1 전기적 경로(203)를 통해 연결될 수 있다. 제2 비교기(209)는 제1 전기적 경로(203)의 일 지점에서 분기되는 제2 전기적 경로(205)를 통해 상기 좌측 감지 단자와 연결될 수 있다.
일 실시예에 따르면, 제1 비교기(207)는 제1 지정된 조건을 기반으로, 상기 입력 신호를 제1 출력 신호로 출력할 수 있다. 제1 비교기(207)는 상기 입력 신호(전압 레벨이 변경된 풀 업 전압)를 제1 전기적 경로(203)를 통해 수신할 수 있다. 제1 비교기(207)는 제1 단자 및 제2 단자 중 하나의 단자를 통해 제1 지정된 조건을 기반으로 하는 기준 전압을 인가받을 수 있다. 제1 비교기(207)에 포함된 상기 제1 단자가 -극인 경우, 제2 단자는 +극일 수 있다. 반대로 제1 단자가 +극인 경우, 제2 단자는 -극일 수 있다.
상기 제1 지정된 조건은 이어 커넥터(201)와 상기 이어 폰 플러그 간의 연결 유무를 판단하기 위한 기준 전압 정보일 수 있다.
예를 들어, 제1 비교기(207)는 +극에 인가되는 상기 제1 지정된 조건에 기반한 기준 전압 레벨이 0.9V 인 경우, 상기 수신하는 입력 신호의 전압 레벨이 0.9V 이상이면 로우(low) 레벨의 신호를 출력할 수 있다. 제1 비교기(207)는 수신하는 입력 신호의 전압 레벨이 0.9V 미만인 경우, 하이(high) 레벨의 신호를 출력할 수 있다. 상기 제1 출력 신호의 레벨은 상기 입력 신호의 전압 레벨 및 상기 기준 전압 레벨을 기반으로 하이 레벨 또는 로우 레벨로 결정될 수 있다.
다른 예를 들어, 제1 비교기(207)의 -극에 상기 제1 지정된 조건에 기반한 기준 전압이 인가될 수 있다. 이 경우, 상기 제1 전기적 경로를 통해 상기 좌측 감지 단자로부터 입력 신호를 수신하는 단자는 +극일 수 있다. 제1 비교기(207)는 -극에 인가되는 상기 제1 지정된 조건에 기반한 기준 전압 레벨이 0.7V 인 경우, 상기 수신하는 입력 신호의 전압 레벨이 0.7V 이상이면, 하이 레벨의 출력 신호를 출력할 수 있다. 제1 비교기(207)가 수신하는 입력 신호의 전압 레벨이 0.7V 미만인 경우, 로우 레벨의 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 제2 비교기(209)는 제2 지정된 조건을 기반으로, 상기 입력 신호를 제2 출력 신호로 출력할 수 있다. 제2 비교기(209)는 상기 입력 신호를 제2 전기적 경로(205)를 통해 수신할 수 있다. 제2 비교기(209)는 제1 단자 및 제2 단자 중 하나의 단자를 통해 제2 지정된 조건을 기반으로 하는 기준 전압을 인가받을 수 있다. 제2 비교기(209)에 포함된 상기 제3 단자가 -극인 경우, 제4 단자는 +극일 수 있다. 반대로 제3 단자가 +극인 경우, 제4 단자는 -극일 수 있다. 상기 제2 지정된 조건은 이어 커넥터(201) 내부에 이물질의 유무를 판단하기 위한 기준 전압 정보일 수 있다.
예를 들어, 제2 비교기(209)는 +극에 인가되는 상기 제2 지정된 조건에 기반한 기준 전압 레벨이 0.2V 인 경우, 상기 수신하는 입력 신호의 전압 레벨이 0.2V 이상이면 로우(low) 신호를 출력할 수 있다. 제2 비교기(209)는 수신하는 입력 신호의 전압 레벨이 0.2V 미만인 경우, 하이(high) 신호를 출력할 수 있다. 상기 제2 출력 신호의 레벨은 상기 입력 신호의 전압 레벨 및 상기 기준 전압 레벨을 기반으로 하이 레벨 또는 로우 레벨로 결정될 수 있다.
다른 예를 들어, 제2 비교기(209)는 -극을 통해 상기 제2 지정된 조건에 기반한 기준 전압을 인가받을 수 있다. 이 경우, 상기 제2 비교기(209)는 상기 좌측 감지 단자와 연결된 상기 제2 전기적 경로와 연결된 +극을 통해 입력 신호를 인가받을 수 있다. 제2 비교기(209)는 -극에 인가되는 상기 제2 지정된 조건에 기반한 기준 전압 레벨이 0.7V 인 경우, 상기 수신하는 입력 신호의 전압 레벨이 0.7V 이상이면, 하이 레벨의 출력 신호를 출력할 수 있다. 제2 비교기(209)가 수신하는 입력 신호의 전압 레벨이 0.7V 미만인 경우, 로우 레벨의 출력 신호를 출력할 수 있다.
즉, 제2 비교기(209)가 출력하는 제2 출력 신호의 레벨은 상기 제2 지정된 조건에 따른 기준 전압이 +극 및 -극 중 어느 하나에 인가되는지에 따라 변경될 수 있다. 또한, 이어 커넥터(201) 내에 이물질이 존재할 때의 입력 신호의 전압 레벨과 이물질이 존재하지 않을 때의 입력 신호의 전압 레벨이 다르기 때문에, 상기 입력 신호를 인가받는 제1 비교기(207) 및 제2 비교기(209))로부터 출력되는 출력 신호의 레벨은 변경될 수 있다.
일 실시예에 따르면, 프로세서(211)는 제1 비교기(207)가 출력하는 제1 출력 신호 및 제2 비교기(209)가 출력하는 제2 출력 신호를 인터럽트 단자를 통해 수신할 수 있다. 프로세서(211)는 상기 수신한 제1 출력 신호 및 제2 출력 신호의 레벨을 기반으로, 이어 커넥터(201)와 이어 폰 플러그 간의 연결 유무 및 이어 커넥터(201) 내의 이물질 유무 상태를 판단할 수 있다.
이어 커넥터(201)와 이어 폰 플러그 간의 연결 유무 및 이어 커넥터(201) 내의 이물질 유무 상태를 판단하는 동작은 도 4에서 자세하게 설명하도록 한다.
상기와 같이 프로세서(211)는 상기 인터럽트 단자를 통해 출력 신호를 수신함에 따라, 주기적으로 슬립 모드(sleep mode)에서 웨이크 업 모드(wake up mode)로 전환되는 동작을 수행하지 않으므로, 상기 전자 장치(200)의 소모 전류 성능이 열화되는 문제점을 해결할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 이어 폰의 플러그(예: 도 1의 전자 장치(102))가 삽입되는 이어 커넥터(예: 도 1의 연결 단자(178) 또는 도 2의 이어 커넥터(201)), 이어 커넥터(201)에 포함된 감지 단자(예: 도 4의 제5핀(401e))와 제1 전기적 경로(예: 도 2의 제1 전기적 경로(203))를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기(예: 도 2의 제1 비교기(207)), 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 2의 제2 전기적 경로(205))를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기(예: 도 2의 제2 비교기(209)) 및 상기 제1 비교기 및 상기 제2 비교기와 전기적으로 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하는 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211))를 포함할 수 있다.
다양한 실시예에 따르면, 이어 커넥터(201)는, 상기 이어 폰의 플러그와 연결되는 5개의 단자를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(211)는, 상기 수신한 제1 출력 신호의 변화를 감지하여, 전자 장치(200)에 대한 상기 이어 폰의 연결 유무를 판단하고, 상기 수신한 제2 출력 신호의 변화를 감지하여, 상기 이어 커넥터 내부의 이물질 유무를 판단할 수 있다.
다양한 실시예에 따르면, 상기 제1 지정된 조건은, 상기 제1 비교기에 설정된 조건으로, 전자 장치(200)에 대한 상기 이어 폰 플러그의 연결 유무를 판단하기 위한 기준 전압 정보 및 상기 제2 지정된 조건은, 상기 제2비교기에 설정된 조건으로, 상기 이어 커넥터 내부의 이물질 유무를 판단하기 위한 기준 전압 정보를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(211)는, 상기 수신하는 제1 출력 신호의 전압 레벨이 상기 제1 지정된 조건으로 설정된 기준 전압 이하인 경우, 상기 이어 폰의 플러그가 상기 전자 장치에 연결된 것으로 판단할 수 있다.
상기 수신하는 제2 출력 신호의 전압 레벨이 상기 제2 지정된 조건으로 설정된 기준 전압 이하인 경우, 상기 이어 커넥터 내부에 이물질이 존재하지 않는 것으로 판단할 수 있다.
다양한 실시예에 따르면, 상기 감지 단자는, 이어 커넥터(201)에 포함된 복수 개의 단자 중 상기 이어 폰 플러그에 포함된 좌측 음향 단자와 연결되는 좌측 감지 단자(L-detection)를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(211)는, 제1 인터럽트 단자를 통해 상기 제1 출력 신호를 수신하고, 제2 인터럽트 단자를 통해 제2 출력 신호를 수신할 수 있다.
다양한 실시예에 따르면 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 디스플레이(예: 도 1의 디스플레이 모듈(160)), 이어 폰의 플러그(예: 도 1의 전자 장치(102))가 삽입되는 이어 커넥터(예: 도 1의 연결 단자(178) 또는 도 2의 이어 커넥터(201)), 상기 이어 커넥터에 포함된 감지 단자(예: 도 4의 제5핀(401e))와 제1 전기적 경로(예: 도 2의 제1 전기적 경로(203))를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기(예: 도 2의 제1 비교기(207)), 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 2의 제2 전기적 경로(205))를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기(예: 도 2의 제2 비교기(209)) 및 상기 디스플레이, 상기 제1 비교기 및 상기 제2 비교기와 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하고, 상기 판단 결과를 상기 디스플레이를 통해 출력하는 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211))를 포함할 수 있다.
다양한 실시예에 따르면, 이어 커넥터(201)는, 상기 이어 폰 플러그와 연결되는 5개의 단자를 포함할 수 있다.
다양한 실시예에 따르면, 상기 감지 단자는, 이어 커넥터(201)에 포함된 복수 개의 단자 중 상기 이어 폰 플러그에 포함된 좌측 음향 단자와 연결되는 좌측 감지 단자(L-detection)를 포함할 수 있다.
다양한 실시예에 따르면, 상기 제1 지정된 조건은, 상기 제1 비교기에 설정된 조건으로, 상기 전자 장치에 대한 상기 이어 폰 플러그의 연결 유무를 판단하기 위한 기준 전압 정보 및 상기 제2 지정된 조건은, 상기 제2비교기에 설정된 조건으로, 상기 이어 커넥터 내부의 이물질 유무를 판단하기 위한 기준 전압 정보를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서(211)는, 상기 수신한 제1 출력 신호의 변화를 감지하여, 전자 장치(200)에 대한 상기 이어 폰의 연결 유무를 판단하고, 상기 수신한 제2 출력 신호의 변화를 감지하여, 이어 커넥터 내부의 이물질 유무를 판단할 수 있다.
다양한 실시예에 따르면, 프로세서(211)는, 상기 판단한 이어폰의 연결 유무 및 상기 판단한 이어 커넥터 내부의 이물질 유무에 기반하여, 결정되는 네 개의 연결 상태 중 하나의 상태를 상기 디스플레이를 통해 출력할 수 있다.
도 3은 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 방법을 설명하기 위한 순서도이다.
도 3을 참고하면, 301 동작에서 전자 장치(예: 도 1의 전자 장치(101))는 이어 커넥터(예: 도 1의 연결 단자(178) 또는 도 2의 이어 커넥터(201)) 내에 이어 폰 플러그가 삽입되는 경우, 입력 신호를 감지할 수 있다.
일 실시예에 따르면, 상기 이어 커넥터 내의 감지 단자, 제1 비교기 및 제2 비교기에는 바이어스 전원에 의한 풀 업 전압이 항상 인가될 수 있다. 상기 이어 커넥터 내에 상기 이어 폰 플러그가 삽입되는 경우, 상기 전자 장치의 바이어스 전원과 연결된 풀 업 저항과 상기 삽입된 이어 폰 플러그의 풀 다운 저항에 의해 상기 풀 업 전압이 전압 분배되어, 전압 레벨이 변경될 수 있다. 이하, 상기 이어 커넥터 내에 상기 이어 폰 플러그가 삽입되어 전압 분배된 풀 업 전압을 입력 신호로 개시하도록 한다.
도 3을 참고하면, 303 동작에서 상기 입력 신호는 제1 비교기(예: 도 2의 제1 비교기(207) 및 제2 비교기(예: 도 2의 제2 비교기(209)) 각각에 인가될 수 있다. 상기 제1 비교기는 제1 전기적 경로(예: 도 2의 제1 전기적 경로(203))를 통해 좌측 감지(L-detection) 단자와 연결될 수 있다. 상기 제2 비교기는 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 2의 제2 전기적 경로(205))를 통해 상기 좌측 감지 단자와 연결될 수 있다.
즉, 상기 입력 신호는 상기 제1 전기적 경로를 통해 상기 제1 비교기에 인가될 수 있으며, 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 제2 비교기에 인가될 수 있다.
도 3을 참고하면, 305 동작에서, 상기 전자 장치는 한 쌍의 비교기를 통해 제1 출력 신호 및 제2 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 한 쌍의 비교기는 제1 비교기 및 제2 비교기를 포함할 수 있다. 상기 전자 장치는 상기 입력 신호가 인가된 상기 제1 비교기를 통해 제1 지정된 조건을 기반으로 제1 출력 신호를 출력할 수 있다. 상기 제1 지정된 조건은 상기 이어 폰 플러그와 상기 이어 커넥터의 연결 유무를 판단하기 위한 기준 전압 정보일 수 있다. 상기 제1 지정된 조건은 제1 비교기에 설정될 수 있으며, 설정 값에 따라 기준 전압 정보가 변경될 수 있다.
일 실시예에 따르면, 상기 제1 비교기는 상기 입력 신호를 인가받는 경우, 제1 지정된 조건에 따라 상기 제1 출력 신호를 하이(high) 레벨의 출력 신호 또는 로우(low) 레벨의 신호로 출력할 수 있다.
예를 들어, 상기 제1 지정된 조건에 따른 기준 전압 약 0.9V가 제1 비교기의 +극에 인가될 수 있다. 상기 제1 비교기는 상기 제1 비교기의 -극과 연결된 제1 전기적 경로를 통해 입력 신호를 수신할 수 있다. 상기 제1 비교기는 수신한 입력 신호의 전압 레벨이 약 0.7V인 경우, 하이 레벨의 출력 신호를 출력할 수 있다. 상기 제1 비교기는 수신한 입력 신호의 전압 레벨이 기준 전압 0.9V보다 높은 약 1V인 경우, 로우 레벨의 신호를 출력할 수 있다.
다른 예를 들어, 제1 지정된 조건에 따른 기준 전압 0.7V가 상기 제1 비교기의 -극에 인가될 수 있다. 상기 제1 비교기는 상기 제1 비교기의 +극과 연결된 제1 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제1 비교기는 상기 입력 신호의 전압 레벨이 약 0.5V인 경우, 로우 레벨의 출력 신호를 출력할 수 있다. 상기 제1 비교기가 인가받은 입력 신호의 전압 레벨이 기준 전압 0.7V 보다 높은 약 0.8V인 경우, 하이 레벨의 신호를 출력할 수 있다.
일 실시예에 따르면, 상기 전자 장치는 상기 좌측 감지 단자와 연결된 제2 전기적 경로를 통해 상기 입력 신호가 인가된 제2 비교기를 통해, 제2 지정된 조건을 기반으로 제2 출력 신호를 출력할 수 있다. 상기 제2 지정된 조건은 상기 이어 커넥터 내부의 이물질 유무를 판단하기 위한 기준 전압 정보일 수 있다. 상기 제2 지정된 조건은 제2 비교기에 설정될 수 있으며, 설정 값에 따라 기준 전압 정보가 변경될 수 있다.
일 실시예에 따르면, 제2 비교기는 상기 입력 신호를 인가받는 경우, 제2 지정된 조건에 따라 상기 제2 출력 신호를 하이(high) 레벨의 신호 또는 로우(low) 레벨의 신호로 출력할 수 있다. 예를 들어, 상기 제2 지정된 조건에 따른 기준 전압 0.2V가 제2 비교기의 +극에 인가될 수 있다. 상기 제2 비교기는 상기 제2 비교기의 -극과 연결된 제2 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제2 비교기는 상기 입력 신호의 전압 레벨이 약 0.1V인 경우 하이 레벨의 신호를 출력할 수 있다. 상기 제2 비교기가 수신한 입력 신호의 전압 레벨이 기준 전압 0.2V보다 높은 약 0.5V인 경우, 로우 레벨의 신호를 출력할 수 있다.
다른 예를 들어, 제2 지정된 조건에 따른 기준 전압 0.5V가 상기 제1 비교기의 -극에 인가될 수 있다. 상기 제2 비교기는 상기 제2 비교기의 +극과 연결된 제2 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제2 비교기는 상기 입력 신호의 전압 레벨이 약 0.3V인 경우, 로우 레벨의 출력 신호를 출력할 수 있다. 상기 제2 비교기가 인가받은 입력 신호의 전압 레벨이 기준 전압 0.5V 보다 높은 약 0.8V인 경우, 상기 제2 비교기는 하이 레벨의 신호를 출력할 수 있다.
도 3을 참고하면, 307 동작에서, 상기 전자 장치는 상기 제1 출력 신호를 기반으로, 상기 이어 커넥터와 상기 이어 폰 플러그 간의 연결 유무를 확인할 수 있다.
일 실시예에 따르면, 상기 전자 장치의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211))는 제1 인터럽트 단자를 통해 상기 제1 비교기로부터 제1 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 출력 신호의 레벨이 하이(high) 레벨 또는 로우(low) 레벨인지를 확인하여, 상기 이어 커넥터와 상기 이어 폰 플러그의 연결 상태를 확인할 수 있다.
예를 들어, 상기 프로세서는 제1 지정된 조건에 따른 기준 전압이 +극에 인가되는 제1 비교기로부터 제1 인터럽트 단자를 통해 제1 출력 신호를 수신할 수 있다. 상기 프로세서는 수신한 제1 출력 신호의 레벨이 하이 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 연결된 것으로 확인할 수 있다. 상기 프로세서가 수신한 제1 출력 신호의 레벨이 로우 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 연결되지 않은 것으로 확인할 수 있다.
다른 예를 들어, 상기 프로세서는 제1 지정된 조건에 따른 기준 전압이 -극에 인가되는 제1 비교기로부터 제1 인터럽트 단자를 통해 제1 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 제1 비교기로부터 수신한 제1 출력 신호의 레벨이 로우 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 연결된 것으로 확인할 수 있다. 상기 프로세서는 상기 제1 비교기로부터 수신한 제1 출력 신호의 레벨이 하이 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 연결되지 않은 것으로 확인할 수 있다.
도 3을 참고하면, 309 동작에서, 상기 전자 장치는 상기 제2 출력 신호를 기반으로, 상기 이어 커넥터 내의 이물질 유무를 확인할 수 있다.
일 실시예에 따르면, 상기 전자 장치의 프로세서는 상기 제2 비교기로부터 제2 인터럽트 단자를 통해 수신한 제2 출력 신호가 하이 레벨 또는 로우 레벨인지를 확인하여, 상기 이어 커넥터 내의 이물질 유무 상태를 확인할 수 있다.
예를 들어, 상기 프로세서는 제2 지정된 조건에 따른 기준 전압이 +극에 인가되는 제2 비교기로부터 제2 인터럽트 단자를 통해 제2 출력 신호를 수신할 수 있다. 상기 프로세서는 수신한 제2 출력 신호의 레벨이 하이 레벨의 신호인 경우, 상기 이어 커넥터 내에 이물질이 없는 것으로 확인할 수 있다. 상기 프로세서가 제2 출력 신호의 레벨이 로우 레벨의 신호인 경우, 상기 이어 커넥터 내에 이물질이 존재하는 것으로 확인할 수 있다.
다른 예를 들어, 상기 프로세서는 제2 지정된 조건에 따른 기준 전압이 +극에 인가되는 제2 비교기로부터 제2 인터럽트 단자를 통해 제2 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 제2 비교기로부터 수신한 제2 출력 신호의 레벨이 로우 레벨의 출력 신호인 경우, 상기 이어 커넥터 내에 이물질이 없는 것으로 확인할 수 있다. 상기 프로세서는 상기 제2 비교기로부터 수신한 제2 출력 신호의 레벨이 하이 레벨의 신호인 경우, 상기 이어 커넥터 내에 이물질이 존재하는 것으로 확인할 수 있다.
도 3을 참고하면, 311 동작에서, 상기 전자 장치는 상기 307 동작 및 309 동작에서의 확인 결과를 기반으로, 상기 이어 폰 플러그와 상기 이어 커넥터가 정상 연결 상태인 것으로 판단할 수 있다.
일 실시예에 따르면, 상기 전자 장치의 프로세서는 상기 307 동작에서 상기 이어 커넥터와 상기 이어 폰 플러그가 연결된 것으로 확인할 수 있고, 상기 309 동작에서 상기 이어 커넥터 내에 이물질이 없는 것으로 확인할 수 있다. 상기 프로세서는 상기 확인 결과를 기반으로 상기 이어 폰 플러그와 상기 이어 커넥터가 정상적으로 연결된 상태인 것을 판단할 수 있다.
예를 들어, 상기 프로세서는 상기 제1 지정된 조건에 따른 기준 전압이 +극에 인가되는 제1 비교기로부터 수신한 제1 출력 신호의 레벨이 하이 레벨인 것을 확인할 수 있다. 또한, 상기 프로세서는 상기 제2 지정된 조건에 따른 기준 전압이 +극에 인가되는 제2 비교기로부터 수신한 제2 출력 신호의 레벨이 하이 레벨인 것을 확인할 수 있다. 상기 프로세서는 상기 수신한 제1 출력 신호 및 제2 출력 신호의 레벨이 하이 레벨인 것을 확인하면, 상기 이어 폰 플러그와 이어 커넥터가 정상 연결 상태인 것을 판단할 수 있다.
다른 예를 들어, 상기 프로세서는 상기 제1 지정된 조건에 따른 기준 전압이 -극에 인가되는 제1 비교기로부터 제1 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 제2 지정된 조건에 따른 기준 전압이 -극에 인가되는 제2 비교기로부터 제2 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 출력 신호 및 제2 출력 신호의 레벨이 로우 레벨인 것으로 확인되면, 상기 이어 폰 플러그와 이어 커넥터가 정상 연결 상태인 것을 판단할 수 있다.
도 3을 참고하면, 313 동작에서, 상기 프로세서는 상기 307 동작 및 309 동작에서의 확인 결과를 기반으로, 상기 이어 폰 플러그와 상기 이어 커넥터가 비정상 연결 상태인 것으로 판단할 수 있다.
일 실시예에 따르면, 상기 프로세서는 상기 307 동작에서 상기 이어 커넥터와 상기 이어 폰 플러그가 연결된 것으로 확인할 수 있다. 상기 프로세서는 상기 309 동작에서 상기 이어 커넥터 내에 이물질이 있는 것으로 확인할 수 있다. 상기 프로세서는 상기 확인 결과를 기반으로 상기 이어 폰 플러그와 상기 이어 커넥터가 비정상적으로 연결된 상태인 것을 판단할 수 있다. 즉, 상기 프로세서는 상기 이어 커넥터 내에 존재하는 이물질로 인해 상기 이어 커넥터와 상기 이어 폰 플러그가 연결된 상태인 것으로 오 인식한 것을 판단할 수 있다.
예를 들어, 상기 프로세서는 상기 제1 지정된 조건에 따른 기준 전압이 +극에 인가되는 제1 비교기로부터 제1 출력 신호를 수신할 수 있다. 또한, 상기 프로세서는 상기 제2 지정된 조건에 따른 기준 전압이 +극에 인가되는 제2 비교기로부터 제2 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 출력 신호의 레벨이 하이 레벨이고, 상기 제2 출력 신호의 레벨이 로우 레벨인 것을 확인하면, 상기 이어 커넥터 내에 존재하는 이물질로 인해 상기 이어 커넥터와 상기 이어 폰 플러그가 연결된 상태인 것으로 오 인식한 것을 판단할 수 있다.
일 실시예에 따르면, 상기 프로세서는 상기 307 동작에서 상기 이어 커넥터와 상기 이어 폰 플러그가 연결되지 않은 것으로 확인하고, 상기 309 동작에서 상기 이어 커넥터 내에 이물질이 있는 것으로 확인할 수 있다. 상기 프로세서는 상기 확인 결과를 기반으로, 상기 이어 폰 플러그와 상기 이어 커넥터가 비정상적으로 연결된 상태인 것을 판단할 수 있다. 즉, 상기 프로세서는 상기 이어 커넥터 내에 존재하는 이물질로 인해 상기 이어 폰 플러그가 상기 이어 커넥터에 접속되지 않은 상태인 것으로 판단할 수 있다.
예를 들어, 상기 프로세서는 상기 제1 지정된 조건에 따른 기준 전압이 -극에 인가되는 제1 비교기로부터 제1 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 제2 지정된 조건에 따른 기준 전압이 -극에 인가되는 제2 비교기로부터 제2 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 출력 신호의 레벨이 하이 레벨이고, 상기 제2 출력 신호의 레벨이 로우 레벨인 것을 확인하는 경우, 상기 이어 커넥터 내에 존재하는 이물질로 인해 상기 이어 폰 플러그가 상기 이어 커넥터에 접속되지 않은 상태인 것으로 판단할 수 있다.
일 실시예에 따르면, 상기 프로세서는 상기 307 동작에서 상기 이어 커넥터와 상기 이어 폰 플러그가 연결되지 않은 것으로 확인하고, 상기 309 동작에서 상기 이어 커넥터 내에 이물질이 없는 것으로 확인할 수 있다. 상기 프로세서는 상기 확인 결과를 기반으로 상기 이어 폰 플러그와 상기 이어 커넥터가 비정상적으로 연결된 상태인 것을 판단할 수 있다. 상기 프로세서는 상기 이어 폰 플러그가 상기 이어 커넥터에 삽입된 상태이지만, 상기 이어 커넥터에 상기 이어 폰 플러그가 이물질이 아닌 다른 요인으로 인해 접속되지 않은 상태인 것으로 판단할 수 있다.
예를 들어, 상기 프로세서는 상기 제1 지정된 조건에 따른 기준 전압이 +극에 인가되는 제1 비교기로부터 제1 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 제2 지정된 조건에 따른 기준 전압이 +극에 인가되는 제2 비교기로부터 제2 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 수신한 제1 출력 신호의 레벨이 로우 레벨이고, 상기 제2 출력 신호의 레벨이 로우 레벨인 것을 확인하는 경우, 상기 이어 폰 플러그가 상기 이어 커넥터에 삽입된 상태이지만, 상기 이어 커넥터에 상기 이어 폰 플러그가 이물질이 아닌 다른 요인(예: 이어 폰 선의 단선)으로 인해 접속되지 않은 상태인 것으로 판단할 수 있다.
도 4는 본 발명의 일 실시예에 따른, 저항 값에 따른 이어 폰의 연결 유무를 판단하는 방법을 설명하기 위한 도면이다.
도 4를 참조하면, 이어 커넥터(401)(예: 도 2의 이어 커넥터(201))는 제1 핀(401a), 제2 핀(401b), 제3 핀(401c), 제4 핀(401d), 제5 핀(401e)을 포함할 수 있다.
일 실시예에 따르면, 이어 커넥터(401) 내에 삽입되는 이어 폰 플러그가 4극 이어 폰 플러그인 경우, 제1 핀(401a)은 4극 이어 플러그의 마이크 단자와 접촉할 수 있다. 이어 커넥터(401) 내에 이어폰 플러그가 삽입되는 경우, 전자 장치(예: 도 2의 전자 장치(200))는 제1 핀(401a)을 통해 이어 폰에서 발생된 음을 입력 받을 수 있다.
일 실시예에 따르면, 제2 핀(401b)은 이어 커넥터(401) 내에 이어 폰 플러그가 삽입되는 경우, 상기 이어 폰 플러그의 그라운드 단자와 연결될 수 있다.
다른 실시예에 따르면, 이어 커넥터(401) 내에 삽입되는 이어 폰 플러그가 3극 이어 폰 플러그인 경우, 제1 핀(401a) 및 제2 핀(401b)은 상기 3극 이어 폰 플러그의 그라운드 단자와 연결될 수 있다. 이하에서는, 이어 커넥터(401)를 4극 이어 커넥터로 가정하여 서술하도록 한다.
일 실시예에 따르면, 제3 핀(401c)은 이어 커넥터 내에 이어 폰 플러그가 삽입되는 경우, 상기 전자 장치에서 발생된 왼쪽 단의 음이 이어 폰의 좌측 음향 단자를 통해 출력될 수 있도록, 상기 좌측 음향 단자와 연결될 수 있다. 제4 핀(401d)은 이어 커넥터 내에 이어 폰 플러그가 삽입되는 경우, 상기 전자 장치에서 발생된 오른쪽 단의 음이 이어 폰의 우측 음향 단자를 통해 출력될 수 있도록, 상기 우측 음향 단자와 연결될 수 있다. 제3 핀(401c) 및 제4 핀(401d)은 상기 이어 폰 플러그의 풀 다운(pull down) 저항 R3와 각각 연결될 수 있다. 상기 풀 다운 저항 R3는 상기 이어 커넥터 내에 삽입되는 플러그를 포함하는 외부 장치의 저항 값에 따라 변경될 수 있다.
일 실시예에 따르면, 제5 핀(401e)은 제1 비교기(403)(예: 도 2의 제1 비교기(207))와 제1 전기적 경로(예: 도 2의 제1 전기적 경로(203))를 통해 연결될 수 있고, 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 2의 제2 전기적 경로(205))를 통해 제2 비교기(405)(예: 도 2의 제2 비교기(209))와 연결될 수 있다. 상기 제5 핀(401e)은 상기 제1 전기적 경로와 상기 제2 전기적 경로로 분기되기 전 지점에서 시리즈(series) 저항 R2와 바이어스 전원과 연결되어 있는 풀 업(pull up) 저항 R1과 회로적으로 연결될 수 있다. 상기 시리즈 저항 R2는 입력 신호의 전압 레벨 범위를 조절하기 위한 저항일 수 있다. 즉, 제5 핀(401e), 제1 비교기(403) 및 제2 비교기(405)에는 상기 바이어스 전원에 의한 풀 업 전압이 항상 인가될 수 있다.
일 실시예에 따르면, 이어 커넥터(401) 내에 외부 장치의 플러그가 삽입되는 경우, 기존에 입력되고 있는 풀 업 전압의 전압 레벨은 상기 바이어스 전원과 연결된 저항 R1과 상기 외부 장치의 저항 값을 가지는 저항 R3와 상기 시리즈 저항 R2를 기반으로 전압 분배되어, 상기 풀 업 전압의 전압 레벨이 결정될 수 있다. 이하, 상기 전압 분배된 풀 업 전압을 입력 신호로 개시하도록 한다.
예를 들면, 상기 저항 R1의 값이 약 470k 옴으로 설정되고, 저항 R2의 값이 약 10k 옴으로 설정되어 있는 경우, 이어 커넥터(401) 내에 약 32 옴으로 설정되어 있는 이어 폰의 플러그가 삽입될 수 있다. 상기 바이어스 전원의 전압이 2.5V인 경우, 상기 저항 R1, R2, R3에 설정되어 있는 저항 값을 기반으로, 2.5V의 전압이 분배되어 상기 입력 신호의 전압 레벨이 0.037617V로 결정될 수 있다.
다른 예를 들어, 이어 커넥터(401) 내에 수분이 유입되어, 이어 커넥터(401) 내부의 저항들이 병렬 회로를 형성하는 경우, 이어 커넥터(401) 내의 저항 값은 약 300k 옴으로 변경될 수 있다. 상기 수분이 유입된 상태의 이어 커넥터(401) 내에 32 옴으로 설정되어 있는 이어 폰의 플러그가 삽입될 수 있다. 상기 바이어스 전원의 전압이 2.5V인 경우, 상기 저항 R1, R2, R3에 설정되어 있는 저항 값을 기반으로, 2.5V의 전압이 분배되어 상기 입력 신호의 전압 레벨이 0.715385V로 결정될 수 있다.
일 실시예에 따르면, 제1 비교기(403) 및 제2 비교기(405)는 제5 핀(401e)과 연결된 제1 전기적 경로 및 제2 전기적 경로를 통해 상기 입력 신호를 각각 수신할 수 있다. 제1 비교기(403)는 제1 지정된 조건을 기반으로, 상기 입력 신호를 제1 출력 신호로 출력할 수 있다. 상기 제2 비교기(405)는 제2 지정된 조건을 기반으로, 상기 입력 신호를 제2 출력 신호로 출력할 수 있다.
예를 들어, 제1 비교기(403) 및 제2 비교기(405)는 상기 제1 전기적 경로 및 상기 제2 전기적 경로를 통해 전압 레벨이 0.037617V인 입력 신호를 수신할 수 있다. 상기 제2 전기적 경로는 제1 비교기(403)의 -극과 연결될 수 있다. 제1 지정된 조건에 따른 기준 전압 0.9V가 +극에 인가되는 제1 비교기(403)는 하이 레벨의 제1 출력 신호를 출력할 수 있다. 제2 지정된 조건에 따른 기준 전압 0.2V가 +극에 인가되는 제2 비교기(405)는 하이 레벨의 제2 출력 신호를 출력할 수 있다.
다른 예를 들어, 제1 비교기(403) 및 제2 비교기(405)는 제5 핀(401e)과 연결된 제1 전기적 경로 및 제2 전기적 경로를 통해 전압 레벨이 0.715385V인 입력 신호를 수신할 수 있다. 제1 지정된 조건에 따른 기준 전압 0.9V가 +극에 인가되는 제1 비교기(403)는 하이 레벨의 제1 출력 신호를 출력할 수 있다 제2 지정된 조건에 따른 기준 전압 0.2V가 +극에 인가되는 제2 비교기(405)는 로우 레벨의 제2 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 프로세서(407)는 인터럽트 단자를 통해 상기 제1 출력 신호 및 상기 제2 출력 신호를 수신하고, 수신한 제1 출력 신호 및 상기 제2 출력 신호를 기반으로, 이어 커넥터(401)와 외부 장치 간의 연결 유무 및 이어 커넥터(401) 내의 이물질 유무를 판단할 수 있다.
예를 들어, 프로세서(407)는 상기 수신한 제1 출력 신호의 레벨이 하이 레벨의 신호인 경우, 이어 커넥터(401)와 상기 외부 장치가 연결된 상태인 것을 판단할 수 있다. 또한, 프로세서(407)는 상기 제2 출력 신호의 레벨이 하이 레벨의 신호인 경우, 이어 커넥터(401) 내에 이물질이 없는 것으로 판단할 수 있다. 프로세서(407) 상기 판단 결과들을 기반으로, 이어 커넥터(401)에 상기 외부 장치가 정상 연결된 상태인 것을 판단할 수 있다.
다른 예를 들어, 프로세서(407)는 상기 수신한 제1 출력 신호의 레벨이 하이 레벨의 신호인 경우, 이어 커넥터(401)와 상기 외부 장치가 연결된 상태인 것을 판단할 수 있다. 또한, 프로세서(407)는 상기 제2 출력 신호의 레벨이 로우 레벨의 신호인 경우, 이어 커넥터(401) 내에 이물질이 존재하는 것으로 판단할 수 있다. 프로세서(407)는 상기 판단 결과들을 기반으로, 이어 커넥터(401) 내에 존재하는 이물질로 인해 상기 외부 장치가 연결된 것으로 오 인식된 상태임을 판단할 수 있다.
도 5는 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 전자 장치의 다른 블록도이다.
도 5를 참조하면, 전자 장치(500)(예: 도 1의 전자 장치(101))는 이어 커넥터(501)(예: 도 1의 연결 단자(178)), 제1 전기적 경로(503)(예: 도 2의 제1 전기적 경로(203)), 제2 전기적 경로(505)(예: 도 2의 제2 전기적 경로(205)), 제1 비교기(507)(예: 도 2의 제1 비교기(207)), 제2 비교기(509)(예: 도 2의 제2 비교기(209)), 게이트(511) 및 프로세서(53)(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211))를 포함할 수 있다. 그러나, 상기 전자 장치(200)의 구성이 이에 한정되는 것은 아니다.
다양한 실시예에 따르면, 전자 장치(500)는 상술한 구성 요소들 중 적어도 하나를 생략할 수 있으며, 적어도 하나의 다른 구성 요소를 포함할 수 있다. 일 예로 전자 장치(500)는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 포함할 수 있다. 전자 장치(500)는 상기 제3 출력 신호를 기반으로 확인한 이어 커넥터(501)와 상기 이어 폰 플러그 간의 연결 상태(예: 이어 커넥터와 이어 폰 플러그 간의 연결 유무 및 이어 커넥터 내의 이물질 유무)를 상기 디스플레이를 통해 표시할 수 있다.
일 실시예에 따르면, 이어 커넥터(501)는 마이크 입력 및/또는 오디오 출력 기능을 가지는 이어 폰의 플러그를 수용할 수 있는 소켓을 의미할 수 있으며, 이어 커넥터(501)를 통해 전자 장치(500)에는 4극 이어 폰 또는 3극 이어폰이 접속될 수 있다. 상기 4극 이어 폰의 플러그는 마이크 단자, 그라운드 단자, 우측 음향 단자 및 좌측 음향 단자를 포함할 수 있다. 상기 3극 이어 폰의 플러그는 마이크 단자를 제외한 그라운드 단자, 우측 음향 단자 및 좌측 음향 단자를 포함할 수 있다.
일 실시예에 따르면, 이어 커넥터(501)는 4극 이어 폰 플러그의 마이크 단자와 접촉하는 제1 핀, 이어 폰 플러그의 그라운드 단자와 접촉하는 제2 핀, 이어 폰 플러그의 우측 음향 단자와 접촉하는 제3 핀, 이어 폰 플러그의 좌측 음향 단자와 접촉하는 제4 핀 및 제5 핀을 포함할 수 있다.
다른 실시예에 따르면, 이어 커넥터(501)는 3극 이어 폰 플러그의 그라운드 단자와 접촉하는 제1 핀, 제2 핀, 이어 폰 플러그의 우측 음향 단자와 접촉하는 제3 핀, 이어 폰 플러그의 좌측 음향 단자와 접촉하는 제4 핀 및 제5 핀을 포함할 수 있다.
일 실시예에 따르면, 상기 이어 폰 플러그의 좌측 음향 단자와 접촉하는 제5 핀은 좌측 감지(L-detection) 단자일 수 있다. 본 발명에서 언급하는 이어 커넥터(501)는 5핀 이어 커넥터(5pin ear connector)일 수 있다.
일 실시예에 따르면, 이어 커넥터(501)에 상기 이어 폰 플러그가 삽입되는 경우, 이어 커넥터(501)의 감지 단자, 제1 비교기(507) 및 제2 비교기(509)에 인가되고 있는 풀 업(pull-up) 전압이 전압 분배될 수 있다. 보다 자세하게 설명하면, 이어 커넥터(501) 내의 상기 감지 단자, 제1 비교기(507) 및 제2 비교기(509)에는 바이어스 전원에 의한 풀 업 전압이 항상 인가될 수 있다. 상기 감지 단자는 이어 폰 플러그의 좌측 음향 단자와 접촉하는 좌측 감지 단자일 수 있다.
일 실시예에 따르면, 이어 커넥터(501) 내에 이어 폰 플러그가 삽입되는 경우, 상기 바이어스 전원과 연결된 풀 업 저항과 이어 폰 플러그에 연결된 풀 다운 저항에 의해 상기 풀 업 전압의 전압이 분배될 수 있다. 이하, 이어 커넥터(501) 내에 상기 이어 폰 플러그가 삽입되어 전압 분배된 풀 업 전압을 입력 신호로 개시하도록 한다. 상기 입력 신호는 제1 비교기(507) 및 제2 비교기(509) 각각에 인가될 수 있다. 일 실시예에 따르면, 제1 비교기(507) 및 제2 비교기(509)는 이어 커넥터(501)의 5개의 핀 중 상기 좌측 감지 단자와 전기적 경로를 통해 연결될 수 있다. 제1 비교기(507)는 상기 좌측 감지 단자와 제1 전기적 경로(503)를 통해 연결될 수 있다. 제2 비교기(509)는 제1 전기적 경로(503)의 일 지점에서 분기되는 제2 전기적 경로(505)를 통해 상기 좌측 감지 단자와 연결될 수 있다.
일 실시예에 따르면, 제1 비교기(507)는 제1 지정된 조건을 기반으로, 상기 입력 신호를 제1 출력 신호로 출력할 수 있다. 제1 비교기(507)는 상기 입력 신호(전압 레벨이 변경된 풀 업 전압)를 제1 전기적 경로(503)를 통해 수신할 수 있다. 제1 비교기(507)는 제1 단자 및 제2 단자 중 하나의 단자를 통해 제1 지정된 조건을 기반으로 하는 기준 전압을 인가받을 수 있다. 제1 비교기(507)에 포함된 상기 제1 단자가 -극인 경우, 제2 단자는 +극일 수 있다. 반대로 제1 단자가 +극인 경우, 제2 단자는 -극일 수 있다.
상기 제1 지정된 조건은 이어 커넥터(501)와 상기 이어 폰 플러그 간의 연결 유무를 판단하기 위한 기준 전압 정보일 수 있다.
예를 들어, 제1 비교기(507)는 +극에 인가되는 상기 제1 지정된 조건에 기반한 기준 전압 레벨이 0.9V 인 경우, 상기 수신하는 입력 신호의 전압 레벨이 0.9V 이상이면 로우(low) 레벨의 신호를 출력할 수 있다. 제1 비교기(507)는 수신하는 입력 신호의 전압 레벨이 0.9V 미만인 경우, 하이(high) 레벨의 신호를 출력할 수 있다. 상기 제1 출력 신호의 레벨은 상기 입력 신호의 전압 레벨 및 상기 기준 전압 레벨을 기반으로 하이 레벨 또는 로우 레벨로 결정될 수 있다.
일 실시예에 따르면, 제2 비교기(509)는 제2 지정된 조건을 기반으로, 상기 입력 신호를 제2 출력 신호로 출력할 수 있다. 제2 비교기(509)는 상기 입력 신호를 제2 전기적 경로(505)를 통해 수신할 수 있다. 제2 비교기(509)는 제1 단자 및 제2 단자 중 하나의 단자를 통해 제2 지정된 조건을 기반으로 하는 기준 전압을 인가받을 수 있다. 제2 비교기(509)에 포함된 상기 제3 단자가 -극인 경우, 제4 단자는 +극일 수 있다. 반대로 제3 단자가 +극인 경우, 제4 단자는 -극일 수 있다. 상기 제2 지정된 조건은 이어 커넥터(501) 내부에 이물질의 유무를 판단하기 위한 기준 전압 정보일 수 있다.
예를 들어, 제2 비교기(509)는 +극에 인가되는 상기 제2 지정된 조건에 기반한 기준 전압 레벨이 0.2V 인 경우, 상기 수신하는 입력 신호의 전압 레벨이 0.2V 이상이면 로우(low) 신호를 출력할 수 있다. 제2 비교기(509)는 수신하는 입력 신호의 전압 레벨이 약 0.2V 미만인 경우, 하이(high) 신호를 출력할 수 있다. 상기 제2 출력 신호의 레벨은 상기 입력 신호의 전압 레벨 및 상기 기준 전압 레벨을 기반으로 하이 레벨 또는 로우 레벨로 결정될 수 있다.
일 실시예에 따르면, 상기 게이트(511)는 제1 비교기(507)가출력한 제1 출력 신호 및 제2 비교기(509)가 출력한 제2 출력 신호를 인가받을 수 있다. 상기 게이트(511)는 앤드 게이트(and gate)일 수 있다.
일 실시예에 따르면, 게이트(511)는 상기 제1 출력 신호의 레벨 및 상기 제2 출력 신호의 레벨에 기반하여 제3 출력 신호를 출력할 수 있다.
예를 들면, 게이트(511)는 상기 제1 출력 신호의 레벨이 하이 레벨이고, 상기 제2 출력 신호의 레벨이 하이 레벨인 경우, 하이 레벨의 제3 출력 신호를 출력할 수 있다. 다른 예를 들면, 게이트(511)는 상기 제1 출력 신호의 레벨이 하이 레벨이고, 상기 제2 출력 신호의 레벨이 로우 레벨인 경우, 로우 레벨의 제3 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 프로세서(513)는 인터럽트 단자를 통해 게이트(511)로부터 제3 출력 신호를 수신할 수 있다. 프로세서(513)는 상기 제3 출력 신호를 기반으로, 상기 이어 커넥터(501)와 이어 폰 플러그 간의 연결 유무 및 이어 커넥터(501) 내의 이물질 유무 상태를 판단할 수 있다. 이어 커넥터(501)와 이어 폰 플러그 간의 연결 유무 및 이어 커넥터(501) 내의 이물질 유무 상태를 판단하는 동작은 도 6에서 자세하게 설명하도록 한다.
예를 들어, 프로세서(513)는 수신한 제3 출력 신호의 레벨이 하이 레벨인 경우, 이어 커넥터(501)와 상기 이어 폰 플러그가 정상 연결 상태인 것을 확인할 수 있다. 다른 예를 들어, 프로세서(513)는 수신한 제3 출력 신호의 레벨이 로우 레벨인 경우, 이어 커넥터(501)와 상기 이어 폰 플러그가 비정상 연결 상태인 것을 확인할 수 있다.
다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))는 이어 폰의 플러그(예: 도 1의 전자 장치(102))가 삽입되는 이어 커넥터(예: 도 1의 연결 단자(178) 또는 도 5의 이어 커넥터(501)), 상기 이어 커넥터에 포함된 감지 단자(예: 도 4의 제5핀(401e))와 제1 전기적 경로(예: 도 5의 제1 전기적 경로(503))를 통해 연결된 제1 단자로부터 인가되는 입력 신호와 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기(예: 도 5의 제1 비교기(507)), 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 5의 제2 전기적 경로(505))를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호와 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기(예: 도 5의 제2 비교기(509)), 상기 제1 비교기 및 상기 제2 비교기와 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 제3 출력 신호를 출력하는 게이트(gate)(예: 도 5의 게이트(511)) 및 상기 게이트로부터 출력되는 제3 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 확인하는 프로세서(예: 도 1의 프로세서(120) 또는 도 5의 프로세서(513))를 포함할 수 있다.
다양한 실시예에 따르면, 프로세서는(513), 게이트(511)로부터 수신한 제3 출력 신호를 기반으로, 상기 이어 폰 플러그와 이어 커넥터(501)의 연결 상태가 정상 연결 상태인 제1 상태 및 상기 이어 폰 플러그와 이어 커넥터(501)의 연결 상태가 비정상 연결 상태인 제2 상태 중 하나를 확인할 수 있다.
다양한 실시예에 따르면, 이어 커넥터(501)는, 상기 이어 폰 플러그와 연결되는 5개의 단자를 포함할 수 있다.
다양한 실시예에 따르면, 상기 감지 단자는, 이어 커넥터(501)에 포함된 복수 개의 단자 중 상기 이어 폰 플러그에 포함된 좌측 음향 단자와 연결되는 좌측 감지 단자(L-detection)를 포함할 수 있다.
다양한 실시예에 따르면, 게이트(511)는, 앤드 게이트(AND gate)를 포함할 수 있다.
다양한 실시예에 따르면, 상기 전자 장치는, 디스플레이를 더 포함하고, 프로세서(513)는, 상기 디스플레이를 통해 상기 확인 결과를 출력할 수 있다.
다양한 실시예에 따르면, 프로세서(513)는, 게이트(511)로부터 인터럽트 단자를 통해 상기 제3 출력 신호를 수신할 수 있다.
도 6은 본 발명의 일 실시예에 따른, 이어 폰의 연결 유무를 판단하는 전자 장치의 다른 순서도이다.
도 6을 참고하면, 601 동작에서 전자 장치(예: 도 1의 전자 장치(101))는 이어 커넥터(예: 도 1의 연결 단자(178) 또는 도 2의 이어 커넥터(201)) 내에 이어 폰 플러그가 삽입되는 경우, 입력 신호를 감지할 수 있다.
일 실시예에 따르면, 상기 이어 커넥터 내의 감지 단자, 제1 비교기 및 제2 비교기에는 바이어스 전원에 의한 풀 업 전압이 항상 인가될 수 있다. 상기 이어 커넥터 내에 상기 이어 폰 플러그가 삽입되는 경우, 상기 전자 장치의 바이어스 전원과 연결된 풀 업 저항과 상기 삽입된 이어 폰 플러그의 풀 다운 저항에 의해 상기 풀 업 전압이 전압 분배되어, 전압 레벨이 변경될 수 있다. 이하, 상기 이어 커넥터 내에 상기 이어 폰 플러그가 삽입되어 전압 분배된 풀 업 전압을 입력 신호로 개시하도록 한다.
도 6을 참고하면, 603 동작에서 상기 입력 신호는 제1 비교기(예: 도 2의 제1 비교기(209)) 및 제2 비교기(예: 도 2의 제2 비교기(209))에 각각 인가될 수 있다. 상기 제1 비교기는 제1 전기적 경로(예: 도 2 제1 전기적 경로(203))를 통해 좌측 감지(L-detection) 단자와 연결될 수 있다. 상기 제2 비교기는 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 2의 제2 전기적 경로(205))를 통해 상기 좌측 감지 단자와 연결될 수 있다.
즉, 상기 입력 신호는 상기 제1 전기적 경로를 통해 상기 제1 비교기에 인가될 수 있으며, 상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 제2 비교기에 인가될 수 있다.
도 6을 참고하면, 605 동작에서, 상기 전자 장치는 상기 제1 비교기를 통해 제1 지정된 조건을 기반으로 제1 출력 신호를 출력할 수 있다. 상기 제1 지정된 조건은 상기 이어 폰 플러그와 상기 이어 커넥터의 연결 유무를 판단하기 위한 기준 전압 정보일 수 있다. 상기 제1 지정된 조건은 제1 비교기에 설정될 수 있으며, 설정 값에 따라 기준 전압 정보가 변경될 수 있다.
일 실시예에 따르면, 상기 제1 비교기는 상기 입력 신호를 인가받은 경우, 제1 지정된 조건에 따라 상기 제1 출력 신호를 하이(high) 레벨의 출력 신호 또는 로우(low) 레벨의 신호로 출력할 수 있다.
예를 들어, 상기 제1 지정된 조건에 따른 기준 전압 0.9V가 제1 비교기의 +극에 인가될 수 있다. 상기 제1 비교기는 상기 제1 비교기의 -극과 연결된 제1 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제1 비교기는 인가받은 입력 신호의 전압 레벨이 0.7V인 경우, 하이 레벨의 출력 신호를 출력할 수 있다. 상기 제1 비교기는 수신한 입력 신호의 전압 레벨이 기준 전압 0.9V보다 높은 약 1V인 경우, 로우 레벨의 신호를 출력할 수 있다.
다른 예를 들어, 제1 지정된 조건에 따른 기준 전압 0.7V가 상기 제1 비교기의 -극에 인가될 수 있다. 상기 제1 비교기는 상기 제1 비교기의 +극과 연결된 제1 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제1 비교기는 인가받은 입력 신호의 전압 레벨이 약 0.5V인 경우, 로우 레벨의 출력 신호를 출력할 수 있다. 상기 제1 비교기는 인가받은 입력 신호의 전압 레벨이 기준 전압 0.7V 보다 높은 약 0.8V인 경우, 하이 레벨의 신호를 출력할 수 있다.
도 6을 참고하면, 607 동작에서, 상기 전자 장치는 제2 비교기를 통해 제2 지정된 조건을 기반으로 제2 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 상기 제2 비교기는 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 입력 신호를 인가받을 수 있다. 상기 제2 지정된 조건은 상기 이어 커넥터 내부의 이물질 유무를 판단하기 위한 기준 전압 정보일 수 있다. 상기 제2 지정된 조건은 제2 비교기에 설정될 수 있으며, 설정 값에 따라 기준 전압 정보가 변경될 수 있다.
일 실시예에 따르면, 상기 제2 비교기는 상기 입력 신호를 수신하는 경우, 제2 지정된 조건에 따라 상기 제2 출력 신호를 하이(high) 레벨의 신호 또는 로우(low) 레벨의 신호로 출력할 수 있다. 예를 들어, 상기 제2 지정된 조건에 따른 기준 전압 0.2V가 제2 비교기의 +극에 인가될 수 있다. 상기 제2 비교기는 상기 제2 비교기의 -극과 연결된 제2 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제2 비교기는 상기 입력 신호의 전압 레벨이 0.1V인 경우 하이 레벨의 신호를 출력할 수 있다. 상기 제2 비교기는 수신한 입력 신호의 전압 레벨이 기준 전압 0.2V보다 높은 0.5V인 경우, 로우 레벨의 신호를 출력할 수 있다.
다른 예를 들어, 제2 지정된 조건에 따른 기준 전압 0.5V가 상기 제1 비교기의 -극에 인가될 수 있다. 상기 제2 비교기는 상기 제2 비교기의 +극과 연결된 제2 전기적 경로를 통해 입력 신호를 인가받을 수 있다. 상기 제2 비교기는 수신한 입력 신호의 전압 레벨이 0.3V인 경우, 로우 레벨의 출력 신호를 출력할 수 있다. 상기 제2 비교기가 수신한 입력 신호의 전압 레벨이 기준 전압 0.5V 보다 높은 0.8V인 경우, 상기 제2 비교기는 하이 레벨의 신호를 출력할 수 있다.
도 6을 참고하면, 609 동작에서, 상기 전자 장치는 게이트(예: 도 5의 게이트(511))를 통해 제1 출력 신호 및 제2 출력 신호를 기반으로 제3 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 상기 전자 장치는 제1 출력 신호 및 제2 출력 신호를 인가받은 게이트를 통해 하이 레벨(high) 레벨의 제3 출력 신호 또는 로우(low) 레벨의 제3 출력 신호를 출력할 수 있다. 상기 게이트는 앤드 게이트(and gate)일 수 있다.
예를 들어, 상기 게이트는 상기 제1 지정된 조건에 따른 기준 전압이 +극에 인가된 제1 비교기로부터 하이 레벨의 제1 출력 신호를 인가받을 수 있다. 또한, 상기 게이트는 상기 제2 지정된 조건에 따른 기준 전압이 +극이 인가된 제2 비교기로부터 하이 레벨의 제2 출력 신호를 인가받을 수 있다. 상기 게이트는 상기 수신한 제1 출력 신호 및 상기 2 출력 신호의 레벨이 하이 레벨인 경우, 하이 레벨의 제3 출력 신호를 출력할 수 있다.
다른 예를 들어, 상기 게이트는 상기 수신한 제1 출력 신호 및 상기 제2 출력 신호의 레벨이 하나라도 로우 레벨인 경우, 로우 레벨의 제3 출력 신호를 출력할 수 있다.
다른 실시예에 따르면, 상기 게이트는 노 알 게이트(nor gate)일 수 있다. 예를 들어, 상기 노 알 게이트는 상기 제1 지정된 조건에 따른 기준 전압이 -극에 인가된 제1 비교기로부터 로우 레벨의 제1 출력 신호를 인가받을 수 있다. 또한, 상기 노 알 게이트는 상기 제2 지정된 조건에 따른 기준 전압이 -극에 인가된 제2 비교기로부터 로우 레벨의 제2 출력 신호를 인가받을 수 있다. 상기 게이트는 상기 수신한 제1 출력 신호 및 상기 2 출력 신호의 레벨이 로우 레벨인 경우, 하이 레벨의 제3 출력 신호를 출력할 수 있다.
다른 예를 들어, 상기 노 알 게이트는 상기 인가받은 제1 출력 신호 및 상기 제2 출력 신호의 레벨이 하나라도 하이 레벨인 경우, 로우 레벨의 제3 출력 신호를 출력할 수 있다.
도 6을 참고하면, 611 동작에서, 상기 전자 장치는 상기 제3 출력 신호를 기반으로, 상기 이어 커넥터와 상기 이어 폰 플러그의 연결 상태를 확인할 수 있다.
일 실시예에 따르면, 상기 전자 장치의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(209))는 인터럽트 단자를 통해 제3 출력 신호를 수신할 수 있다. 상기 프로세서는 상기 수신한 제3 출력 신호의 레벨을 기반으로, 상기 이어 커넥터와 상기 이어 폰 플러그의 연결 상태를 확인할 수 있다.
예를 들어, 상기 게이트가 앤드 게이트(and gate)일 수 있다. 상기 프로세서는 상기 게이트로부터 인터럽트 단자를 통해 수신한 제3 출력 신호의 레벨이 하이 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 정상 연결 상태인 것을 확인할 수 있다.
다른 예를 들어, 상기 프로세서가 상기 수신한 제3 출력 신호의 레벨이 로우 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 비정상 연결 상태인 것을 확인할 수 있다. 즉, 상기 프로세서는 상기 수신한 제3 출력 신호의 레벨을 기반으로 이어 커넥터와 이어 폰 플러그의 연결 상태를 확인할 수 있다.
또 다른 예를 들어, 상기 게이트가 노 알 게이트(nor gate)일 수 있다. 상기 프로세서는 상기 노 알 게이트로부터 상기 제3 출력 신호를 수신할 수 있다. 상기 프로세서는 제3 출력 신호의 레벨이 로우 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 비정상 연결 상태인 것을 확인할 수 있다. 상기 프로세서는 상기 수신한 제3 출력 신호의 레벨이 하이 레벨의 신호인 경우, 상기 이어 커넥터와 상기 이어 폰 플러그가 정상 연결 상태인 것을 확인할 수 있다.
즉, 도 6은 상기 프로세서가 상기 게이트로부터 인터럽트 단자를 통해 수신한 제3 출력 신호의 레벨을 기반으로, 이어 커넥터와 이어 폰 플러그의 연결 상태를 확인할 수 있다 따라서, 상기 프로세서는 상기 제1 비교기로부터 출력되는 상기 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 상기 제2 출력 신호를 기반으로, 이어 커넥터와 이어 폰 플러그 간의 연결 상태를 판단하는 동작을 수행하지 않을 수 있다.
도 7은 본 발명의 일 실시예에 따른, 저항 값에 따른 이어 폰의 연결 유무를 판단하는 다른 방법을 설명하기 위한 도면이다.
도 7을 참조하면, 이어 커넥터(701)(예: 도 2의 이어 커넥터(201))는 제1 핀(701a), 제2 핀(701b), 제3 핀(701c), 제4 핀(701d), 제5 핀(701e)을 포함할 수 있다.
일 실시예에 따르면, 이어 커넥터(701) 내에 삽입되는 이어 폰 플러그가 4극 이어 폰 플러그인 경우, 제1 핀(701a)은 4극 이어 플러그의 마이크 단자와 접촉할 수 있다. 이어 커넥터(701) 내에 이어폰 플러그가 삽입되는 경우, 전자 장치(예: 도 2의 전자 장치(200))는 제1 핀(701a)을 통해 이어 폰에서 발생된 음을 입력 받을 수 있다.
일 실시예에 따르면, 제2 핀(701b)은 이어 커넥터(701) 내에 이어 폰 플러그가 삽입되는 경우, 상기 이어 폰 플러그의 그라운드 단자와 연결될 수 있다.
다른 실시예에 따르면, 이어 커넥터(701) 내에 삽입되는 이어 폰 플러그가 3극 이어 폰 플러그인 경우, 제1 핀(701a) 및 제2 핀(701b)은 상기 3극 이어 폰 플러그의 그라운드 단자와 연결될 수 있다. 이하에서는, 이어 커넥터(701)를 4극 이어 커넥터로 가정하여 서술하도록 한다.
일 실시예에 따르면, 제3 핀(701c)은 이어 커넥터 내에 이어 폰 플러그가 삽입되는 경우, 상기 전자 장치에서 발생된 왼쪽 단의 음이 이어 폰의 좌측 음향 단자를 통해 출력될 수 있도록, 상기 좌측 음향 단자와 연결될 수 있다. 제4 핀(701d)은 이어 커넥터 내에 이어 폰 플러그가 삽입되는 경우, 상기 전자 장치에서 발생된 오른쪽 단의 음이 이어 폰의 우측 음향 단자를 통해 출력될 수 있도록, 상기 우측 음향 단자와 연결될 수 있다. 제3 핀(701c) 및 제4 핀(701d)은 상기 이어 폰 플러그의 풀 다운(pull down) 저항 R3와 각각 연결될 수 있다. 상기 풀 다운 저항 R3는 상기 이어 커넥터 내에 삽입되는 플러그를 포함하는 외부 장치의 저항 값에 따라 변경될 수 있다.
일 실시예에 따르면, 제5 핀(701e)은 제1 비교기(703)(예: 도 2의 제1 비교기(207))와 제1 전기적 경로(예: 도 2의 제1 전기적 경로(203))를 통해 연결될 수 있고, 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로(예: 도 2의 제2 전기적 경로(205))를 통해 제2 비교기(705)(예: 도 2의 제2 비교기(209))와 연결될 수 있다. 제5 핀(701e)은 상기 제1 전기적 경로와 제2 전기적 경로로 분기되기 전 지점에서 시리즈(series) 저항 R2 및 풀 업(pull up) 저항 R1과 연결될 수 있다. 상기 시리즈 저항 R2는 입력 신호의 전압 레벨 범위를 조절하기 위한 저항일 수 있다. 즉, 제5 핀(701e), 제1 비교기(703) 및 제2 비교기(705)에는 상기 바이어스 전원에 의한 풀 업 전압이 항상 인가될 수 있다.
일 실시예에 따르면, 이어 커넥터(701) 내에 외부 장치의 플러그가 삽입되는 경우, 기존에 입력되고 있는 풀 업 전압 상기 바이어스 전원과 연결된 저항 R1과 상기 외부 장치의 저항 값을 가지는 저항 R3와 상기 시리즈 저항 R2를 기반으로 전압 분배되어, 상기 풀 업 전압의 전압 레벨이 결정될 수 있다. 이하, 상기 전압 분배된 풀 업 전압을 입력 신호로 개시하도록 한다.
예를 들면, 상기 저항 R1의 값이 470k 옴으로 설정되고, 저항 R2의 값이 33k 옴으로 설정되어 있는 경우, 이어 커넥터(701) 내에 저항 값이 12k 옴으로 설정되어 있는 오픈 케이블(open cable)의 플러그가 삽입될 수 있다. 상기 바이어스 전원의 전압이 2.5V인 경우, 상기 저항 R1, R2, R3에 설정되어 있는 저항 값을 기반으로, 2.5V의 전압이 분배되어 입력 신호의 전압 레벨이 0.157282V로 결정될 수 있다.
다른 예를 들어, 이어 커넥터(701) 내에 수분이 유입되어, 이어 커넥터(701) 내부의 저항들이 병렬 회로를 형성하는 경우, 이어 커넥터(701) 내의 저항 값은 약 300k 옴으로 변경될 수 있다. 상기 수분이 유입된 상태의 이어 커넥터(401) 내에 12k 옴으로 설정되어 있는 오픈 케이블의 플러그가 삽입될 수 있다. 상기 바이어스 전원의 전압이 2.5V인 경우, 상기 저항 R1, R2, R3에 설정되어 있는 저항 값을 기반으로, 2.5V의 전압이 분배되어 입력 신호의 전압 레벨이 약 0.746451V로 결정될 수 있다.
일 실시예에 따르면, 제1 비교기(703) 및 제2 비교기(705)는 제5 핀(701e)과 연결된 제1 전기적 경로 및 제2 전기적 경로를 통해 입력 신호를 각각 인가받을 수 있다. 제1 비교기(703)는 제1 지정된 조건을 기반으로 제1 출력 신호를 출력할 수 있다. 제2 비교기(705)는 제2 지정된 조건을 기반으로 제2 출력 신호를 출력할 수 있다.
예를 들어, 제1 비교기(703)는 제1 전기적 경로를 통해 전압 레벨이 약 0.157282V인 입력 신호를 인가받을 수 있다. 상기 제1 전기적 경로는 상기 제1 비교기(703)의 -극과 연결되어 있을 수 있다. 상기 제1 비교기(703)는 제1 지정된 조건에 따른 기준 전압 0.9V가 +극을 통해 인가되는 경우, 하이 레벨의 제1 출력 신호를 출력할 수 있다. 또한, 제2 비교기(705)는 제2 전기적 경로를 통해 전압 레벨이 약 0.157282V인 입력 신호를 인가받을 수 있다. 상기 제2 전기적 경로는 상기 제2 비교기(705)의 -극과 연결되어 있을 수 있다. 제2 비교기(705)는 제2 지정된 조건에 따른 기준 전압 0.2V가 +극을 통해 인가되는 경우, 하이 레벨의 제2 출력 신호를 출력할 수 있다.
다른 예를 들어, 제1 비교기(703)는 제1 전기적 경로를 통해 전압 레벨이 약 0.746451V인 입력 신호를 인가받을 수 있다. 상기 제1 전기적 경로는 제1 비교기(703)의 -극과 연결되어 있을 수 있다. 제1 비교기(703)는 제1 지정된 조건에 따른 기준 전압 0.9V가 +극을 통해 인가되는 경우, 하이 레벨의 제1 출력 신호를 출력할 수 있다. 또한, 제2 비교기(705)는 제2 전기적 경로를 통해 전압 레벨이 약 0.746451V인 입력 신호를 인가받을 수 있다. 상기 제2 전기적 경로는 제2 비교기(705)의 -극과 연결되어 있을 수 있다. 제2 비교기(705)는 제2 지정된 조건에 따른 기준 전압 0.2V가 +극을 통해 인가되는 경우, 로우 레벨의 제2 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 게이트(707)는 상기 제1 출력 신호 및 상기 제2 출력 신호를 인가받을 수 있다. 게이트(707)는 상기 인가받은 제1 출력 신호의 레벨 및 제2 출력 신호의 레벨을 기반으로, 제3 출력 신호를 출력할 수 있다. 게이트(707)는 앤드 게이트(and gate)일 수 있다.
예를 들어, 게이트(707)가 제1 비교기(703)로부터 하이 레벨의 제1 출력 신호 및 제2 비교기(705)로부터 하이 레벨의 제2 출력 신호를 수신한 경우, 하이 레벨을 가지는 제3 출력 신호를 출력할 수 있다. 다른 예를 들어, 게이트(707)는 상기 인가받은 제1 출력 신호 및 제2 출력 신호에서 로우 레벨의 신호가 하나라도 존재하는 경우, 로우 레벨의 제3 출력 신호를 출력할 수 있다.
다른 실시예에 따르면, 게이트(707)는 노 알 게이트(nor gate)일 수 있다. 예를 들어, 상기 노 알 게이트는 제1 지정된 조건에 따라 기준 전압이 -극을 통해 인가되는 제1 비교기(703)로부터 로우 레벨의 제1 출력 신호를 인가받을 수 있다. 또한, 상기 노 알 게이트는 제2 지정된 조건에 따라 기준 전압이 -극을 통해 인가되는 제2 비교기(705)로부터 로우 레벨의 제2 출력 신호를 인가받을 수 있다. 상기 노 알 게이트는 상기 제1 출력 신호 및 상기 제2 출력 신호의 레벨이 로우 레벨인 경우, 하이 레벨을 가지는 제3 출력 신호를 출력할 수 있다. 다른 예를 들어, 게이트(707)는 상기 인가받은 제1 출력 신호 및 제2 출력 신호에서 하이 레벨의 신호가 하나라도 존재하는 경우, 로우 레벨의 제3 출력 신호를 출력할 수 있다.
일 실시예에 따르면, 프로세서(709)는 인터럽트 단자를 통해 상기 게이트(707)로부터 출력된 제3 출력 신호를 수신할 수 있다. 상기 프로세서(709)는 상기 인가받은 제3 출력 신호를 기반으로 이어 커넥터(701)와 상기 외부 장치 간의 연결 상태를 확인할 수 있다.
예를 들어, 프로세서(709)는 수신한 제3 출력 신호의 레벨이 하이 레벨인 경우, 이어 커넥터(701)와 상기 외부 장치의 플러그가 정상 연결 상태인 것을 확인할 수 있다. 다른 예를 들어, 프로세서(709)는 인가받은 제3 출력 신호의 레벨이 로우 레벨인 경우, 이어 커넥터(701)와 상기 외부 장치의 플러그가 비정상 연결 상태인 것을 확인할 수 있다.
다른 실시예에 따르면, 프로세서(709)는 상기 확인 결과를 상기 전자 장치의 디스플레이(미도시)를 통해 표시할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    이어 폰 플러그가 삽입되는 이어 커넥터;
    상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기;
    상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기; 및
    상기 제1 비교기 및 상기 제2 비교기와 전기적으로 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하는 프로세서를 포함하는 전자 장치.
  2. 제1항에 있어서,
    상기 이어 커넥터는,
    상기 이어 폰의 플러그와 연결되는 5개의 단자를 포함하는 전자 장치.
  3. 제1항에 있어서,
    상기 프로세서는,
    상기 수신한 제1 출력 신호의 변화를 감지하여, 상기 전자 장치에 대한 상기 이어 폰의 연결 유무를 판단하고,
    상기 수신한 제2 출력 신호의 변화를 감지하여, 상기 이어 커넥터 내부의 이물질 유무를 판단하는 전자 장치.
  4. 제1 항에 있어서,
    상기 제1 지정된 조건은,
    상기 제1 비교기에 설정된 조건으로, 상기 전자 장치에 대한 상기 이어 폰 플러그의 연결 유무를 판단하기 위한 기준 전압 정보; 및
    상기 제2 지정된 조건은,
    상기 제2 비교기에 설정된 조건으로, 상기 이어 커넥터 내부의 이물질 유무를 판단하기 위한 기준 전압 정보인 전자 장치.
  5. 제4항에 있어서,
    상기 프로세서는,
    상기 수신하는 제1 출력 신호의 전압 레벨이 상기 제1 지정된 조건으로 설정된 기준 전압 이하인 경우, 상기 이어 폰의 플러그가 상기 전자 장치에 연결된 것으로 판단하고,
    상기 수신하는 제2 출력 신호의 전압 레벨이 상기 제2 지정된 조건으로 설정된 기준 전압 이하인 경우, 상기 이어 커넥터 내부에 이물질이 존재하지 않는 것으로 판단하는 전자 장치.
  6. 제1항에 있어서,
    상기 감지 단자는,
    상기 이어 커넥터에 포함된 복수 개의 단자 중 상기 이어 폰 플러그에 포함된 좌측 음향 단자와 연결되는 좌측 감지 단자(L-detection)인 전자 장치.
  7. 제1항에 있어서,
    상기 프로세서는,
    제1 인터럽트 단자를 통해 상기 제1 출력 신호를 수신하고, 제2 인터럽트 단자를 통해 제2 출력 신호를 수신하는 전자 장치.
  8. 전자 장치에 있어서,
    이어 폰의 플러그가 삽입되는 이어 커넥터;
    상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호와 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기;
    상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호와 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기;
    상기 제1 비교기 및 상기 제2 비교기와 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 제3 출력 신호를 출력하는 게이트(gate); 및
    상기 게이트로부터 출력되는 제3 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 확인하는 프로세서를 포함하는 전자 장치.
  9. 제8항에 있어서,
    상기 프로세서는,
    상기 게이트로부터 수신한 제3 출력 신호를 기반으로, 상기 이어 폰 플러그와 상기 이어 커넥터의 연결 상태가 정상 연결 상태인 제1 상태 및 상기 이어 폰 플러그와 상기 이어 커넥터의 연결 상태가 비정상 연결 상태인 제2 상태 중 하나를 확인하는 전자 장치.
  10. 제8항에 있어서,
    상기 이어 커넥터는,
    상기 이어 폰 플러그와 연결되는 5개의 단자를 포함하는 전자 장치.
  11. 제8항에 있어서,
    상기 감지 단자는,
    상기 이어 커넥터에 포함된 복수 개의 단자 중 상기 이어 폰 플러그에 포함된 좌측 음향 단자와 연결되는 좌측 감지 단자(L-detection)인 전자 장치.
  12. 제8항에 있어서,
    상기 게이트는,
    앤드 게이트(AND gate)인 전자 장치.
  13. 제8항에 있어서,
    디스플레이를 더 포함하고,
    상기 프로세서는, 상기 디스플레이를 통해 상기 확인 결과를 출력하는 전자 장치.
  14. 제8항에 있어서,
    상기 프로세서는,
    상기 게이트로부터 인터럽트 단자를 통해 상기 제3 출력 신호를 수신하는 전자 장치.
  15. 전자 장치에 있어서,
    디스플레이;
    이어 폰의 플러그가 삽입되는 이어 커넥터;
    상기 이어 커넥터에 포함된 감지 단자와 제1 전기적 경로를 통해 연결된 제1 단자로부터 인가되는 입력 신호 및 제2 단자로부터 인가되는 제1 지정된 조건에 따른 기준 전압을 비교하여, 제1 출력 신호를 출력하는 제1 비교기;
    상기 제1 전기적 경로의 일 지점에서 분기되는 제2 전기적 경로를 통해 상기 감지 단자와 연결되는 제3 단자로부터 인가되는 입력 신호 및 제4 단자로부터 인가되는 제2 지정된 조건에 따른 기준 전압을 비교하여, 제2 출력 신호를 출력하는 제2 비교기; 및
    상기 디스플레이, 상기 제1 비교기 및 상기 제2 비교기와 연결되며, 상기 제1 비교기로부터 출력되는 제1 출력 신호 및 상기 제2 비교기로부터 출력되는 제2 출력 신호를 기반으로, 상기 이어 폰의 플러그와의 연결 상태를 판단하고, 상기 판단 결과를 상기 디스플레이를 통해 출력하는 프로세서를 포함하는 전자 장치.
PCT/KR2021/009682 2020-08-03 2021-07-27 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치 WO2022030847A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200097002A KR20220016710A (ko) 2020-08-03 2020-08-03 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치
KR10-2020-0097002 2020-08-03

Publications (1)

Publication Number Publication Date
WO2022030847A1 true WO2022030847A1 (ko) 2022-02-10

Family

ID=80117385

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/009682 WO2022030847A1 (ko) 2020-08-03 2021-07-27 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치

Country Status (2)

Country Link
KR (1) KR20220016710A (ko)
WO (1) WO2022030847A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150156584A1 (en) * 2013-12-02 2015-06-04 Wistron Corp. Circuit for microphone pin assignment detection and method thereof
KR20160052405A (ko) * 2014-10-31 2016-05-12 페어차일드 세미컨덕터 코포레이션 오디오 크로스토크 교정 스위치
KR20170000710A (ko) * 2015-06-24 2017-01-03 삼성전자주식회사 전자 장치 및 전자 장치의 이어폰 삽입 오인식 방지 방법
KR101900680B1 (ko) * 2012-07-18 2018-11-08 삼성전자 주식회사 이어폰 시스템 및 이어폰 장치와 단말기
US20200236454A1 (en) * 2017-03-09 2020-07-23 Huawei Technologies Co., Ltd. Headset, Terminal, and Control Method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101900680B1 (ko) * 2012-07-18 2018-11-08 삼성전자 주식회사 이어폰 시스템 및 이어폰 장치와 단말기
US20150156584A1 (en) * 2013-12-02 2015-06-04 Wistron Corp. Circuit for microphone pin assignment detection and method thereof
KR20160052405A (ko) * 2014-10-31 2016-05-12 페어차일드 세미컨덕터 코포레이션 오디오 크로스토크 교정 스위치
KR20170000710A (ko) * 2015-06-24 2017-01-03 삼성전자주식회사 전자 장치 및 전자 장치의 이어폰 삽입 오인식 방지 방법
US20200236454A1 (en) * 2017-03-09 2020-07-23 Huawei Technologies Co., Ltd. Headset, Terminal, and Control Method

Also Published As

Publication number Publication date
KR20220016710A (ko) 2022-02-10

Similar Documents

Publication Publication Date Title
WO2022114864A1 (ko) 커넥터를 포함하는 전자 장치
WO2022114599A1 (ko) 커넥터를 포함하는 전자 장치
WO2022030847A1 (ko) 외부 장치의 연결 유무를 판단하는 방법 및 이를 지원하는 전자 장치
WO2022145914A1 (ko) 전력 공급 장치를 이용하여 오디오 출력 장치를 찾는 방법 및 그 전력 공급 장치
WO2022108283A1 (ko) 확장 가능한 디스플레이 제어 방법 및 이를 지원하는 전자 장치
WO2022035051A1 (ko) 전자 장치 및 상기 전자 장치의 충전 제어 방법
WO2020171360A1 (ko) 커넥터의 연결 상태를 판단하기 위한 로직 회로를 포함하는 전자 장치
WO2021071153A1 (ko) 전자 장치, 전자 장치의 동작 방법 및 비 일시적 저장 매체
WO2020235843A1 (en) Apparatus for detecting feedback on voltage supplied from electronic device to external device
WO2022019602A1 (ko) 전자 장치 및 전자 장치에서 배터리의 전압 측정 방법
WO2023068482A1 (ko) 전자 장치 및 전자 장치에서 배터리를 보호하는 방법
WO2023153632A1 (ko) 전자 장치 및 이를 이용한 외부 전자 장치의 방전 제어 방법
WO2023128219A1 (ko) 외부 전자 장치들과의 연결을 제어하기 위한 전자 장치 및 방법
WO2022119250A1 (ko) 복수의 배터리들을 충전하는 방법 및 그 방법을 적용한 전자 장치
WO2024005412A1 (ko) 안테나를 포함하는 전자 장치
WO2022215915A1 (ko) 전자 장치 및 이의 동작 방법
WO2023033438A1 (ko) 전자 장치들 간의 매칭을 수행하기 위한 전자 장치 및 이의 동작 방법
WO2022071702A1 (ko) 탈착 가능한 배터리를 포함하는 전자 장치 및 이의 동작 방법
WO2023018032A1 (ko) 커넥터의 오동작을 방지하기 위한 방법 및 상기 커넥터를 구비한 전자 장치
WO2023014091A1 (ko) 전자 장치 및 전자 장치의 운영 제어 방법
WO2022173117A1 (ko) 전자 장치 및 전자 장치에서 픽셀 데이터를 보정하는 방법
WO2022173260A1 (ko) 부품을 제어하기 위한 방법 및 이를 지원하는 전자 장치
WO2023132610A1 (ko) 디스플레이 모듈 제어 방법 및 상기 방법을 수행하는 전자 장치
WO2023146104A1 (ko) 무선 충전 가이드 제공 방법 및 이를 수행하는 전자 장치
WO2022173217A2 (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: 21852699

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: 21852699

Country of ref document: EP

Kind code of ref document: A1