WO2020251210A1 - Electronic device including connector and method for reducing crosstalk of audio signal - Google Patents

Electronic device including connector and method for reducing crosstalk of audio signal Download PDF

Info

Publication number
WO2020251210A1
WO2020251210A1 PCT/KR2020/007210 KR2020007210W WO2020251210A1 WO 2020251210 A1 WO2020251210 A1 WO 2020251210A1 KR 2020007210 W KR2020007210 W KR 2020007210W WO 2020251210 A1 WO2020251210 A1 WO 2020251210A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
terminal
connector
electronic device
terminals
Prior art date
Application number
PCT/KR2020/007210
Other languages
French (fr)
Korean (ko)
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 WO2020251210A1 publication Critical patent/WO2020251210A1/en

Links

Images

Classifications

    • 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
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R24/00Two-part coupling devices, or either of their cooperating parts, characterised by their overall structure
    • H01R24/58Contacts spaced along longitudinal axis of engagement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0274Details of the structure or mounting of specific components for an electrical connector module
    • 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
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/09Applications of special connectors, e.g. USB, XLR, in loudspeakers, microphones or headphones

Definitions

  • the present invention relates to an electronic device including a connector and a method for reducing crosstalk of an audio signal based on a USB type C connector.
  • USB universal serial bus
  • USB type C of universal serial bus
  • the electronic device may transmit and receive audio signals with an external device through a USB Type C interface.
  • an electronic device When an electronic device is connected to an audio device to transmit and receive an audio signal, the quality of the audio signal may be degraded due to crosstalk between left and right channels, that is, channel signal interference.
  • the crosstalk phenomenon of the audio signal may be caused by a parasitic capacitance of an adjacent structure of the left/right channels or a common ground impedance of the left/right channels.
  • the electronic device is a USB type C connector and an electronic device that improves the quality of an audio signal by improving the accuracy of sensing for a common ground impedance that is a difference between the ground of the ear jack and the ground of the electronic device. For example, to provide a method for reducing crosstalk of an audio signal based on this.
  • a processor connected to each other, wherein the processor detects the insertion of an audio device through the USB type C connector, and when the audio device is inserted, at least one CC (Configuration Channel) terminal among the plurality of terminals is connected to the audio device.
  • the communication interface is controlled so that the CC terminal connected to the ground detection terminal of the audio device is connected to the audio codec, and the audio codec is based on the CC terminal connected to the ground detection terminal of the audio device. It may be configured to sense a ground voltage of the device and amplify an audio signal based on the sensed ground voltage.
  • an operation of detecting insertion of an audio device through a USB type C connector including a plurality of terminals, and at least one CC (Configuration Channel) terminal among a plurality of terminals when the audio device is inserted Based on the operation of checking whether it is connected to the ground detection terminal of the device, controlling the CC terminal connected to the ground detection terminal of the audio device to be connected to the audio codec, and the CC terminal connected to the ground detection terminal of the audio device.
  • An operation of sensing a ground voltage and an operation of amplifying an audio signal based on the sensed ground voltage may be included.
  • the audio codec senses the ground voltage based on the CC terminal connected to the ground detection terminal of the audio device.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
  • FIG. 2A is a diagram illustrating an electronic device and a communication interface according to various embodiments
  • FIG. 2B is a diagram illustrating a pin structure of a USB port according to various embodiments.
  • FIG. 3A is a diagram illustrating an electronic device and a connector according to various embodiments
  • FIG. 3B is a diagram illustrating a connection structure between the electronic device and the connector.
  • FIG. 4 illustrates a structure of an electronic device according to various embodiments.
  • FIG. 5 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
  • FIG. 6 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
  • FIG. 7A to 7C illustrate a structure of a connection line between a connector and an audio jack according to various embodiments.
  • FIG. 8A and 8B illustrate circuit configurations of an electronic device and a connector according to various embodiments.
  • 9A and 9B illustrate circuit configurations of an electronic device and a connector according to various embodiments.
  • FIG. 10 is a diagram illustrating circuit configurations of an electronic device and a connector according to various embodiments of the present disclosure.
  • FIG. 11 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
  • FIG. 12 illustrates a circuit configuration of an electronic device according to various embodiments.
  • FIG. 13 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
  • the electronic device 101 may be a device of various types.
  • the electronic device 101 may include, for example, a portable communication device (eg, a smartphone), a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smartphone
  • portable multimedia device e.g., a portable multimedia device
  • portable medical device e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart watch, a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, or a smart watch, a smart watch, or
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network), or a second network 199 It is possible to 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 It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network).
  • 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 device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module ( 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ) Can be included.
  • a sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197
  • at least one of these components may be omitted or one or more other components may be added to the electronic device 101.
  • some of these components may be implemented as one integrated circuit.
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the display device 160 eg, a display.
  • the processor 120 for example, executes software (eg, a program 140) to implement at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and can perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 may convert commands or data received from other components (for example, the sensor module 176 or the communication module 190) into a volatile memory. ) 132, process commands or data stored in the volatile memory 132, and store result data in a non-volatile memory 134.
  • software eg, a program 140
  • the processor 120 may convert commands or data received from other components (for example, the sensor module 176 or the communication module 190) into a volatile memory. ) 132, process commands or data stored in the volatile memory 132, and store result data in a non-volatile memory 134.
  • the processor 120 is a main processor 121 (for example, a central processing unit (CPU) or an application processor (AP)), and a coprocessor that can be operated independently or together.
  • a main processor 121 for example, a central processing unit (CPU) or an application processor (AP)
  • a coprocessor that can be operated independently or together.
  • 123 e.g., a graphic processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)
  • I can.
  • the coprocessor 123 may be set to use lower power than the main processor 121 or to be specialized for a designated function.
  • the secondary processor 123 may be implemented separately from the main processor 121 or as a part thereof.
  • the coprocessor 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 While in an active (eg, application execution) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, display device 160, sensor module 176) ), or at least some of functions or states related to the communication module 190).
  • the coprocessor 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 memory 130 may store various data used by at least one component of the electronic device 101 (for example, the processor 120 or the sensor module 176 ).
  • the data may include, for example, software (eg, the program 140) and input data or output data for commands related thereto.
  • the memory 130 may include a volatile memory 132 or a nonvolatile memory 134.
  • the program 140 may be stored as software in the memory 130, and may include, for example, an operating system (OS) 142, a middleware 144, or an application 146. have.
  • OS operating system
  • middleware middleware
  • application application
  • the input device 150 may receive commands or data to be used for components of the electronic device 101 (eg, the processor 120) from outside the electronic device 101 (eg, a user).
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output an sound signal to the outside of the electronic device 101.
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls.
  • the receiver may be implemented separately from or as a part of the speaker.
  • the display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display device 160 includes a touch circuitry set to sense a touch, or a sensor circuit set to measure the strength of a force generated by the touch (for example, a pressure sensor). It may include.
  • the audio module 170 may convert sound into an electric signal or, conversely, convert an electric signal into sound. According to an embodiment, the audio module 170 acquires sound through the input device 150, the sound output device 155, or an external device directly or wirelessly connected to the electronic device 101 (for example, an electronic device). The sound can be output through the device 102) (for example, 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, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 is, for example, a gesture sensor, a gyro sensor, a barometer sensor, a magnetic sensor, an acceleration sensor. ), grip sensor, proximity sensor, color sensor (e.g. RGB (red, green, blue) sensor), IR (infrared) sensor, biometric sensor, temperature A sensor (temperature sensor), a humidity sensor (humidity sensor), or an illumination sensor (illuminance sensor) may be included.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect to an external device (eg, the electronic device 102) of the electronic device 101.
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD secure digital
  • 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 motor sensations.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture a still image and a video.
  • 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.
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 includes a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, electronic device 102, electronic device 104, or server 108). It is possible to support establishment and communication through the established communication channel.
  • the communication module 190 operates independently of the processor 120 (eg, an application processor), and may include one or more communication processors that 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 : A LAN (local area network) communication module, or a power line communication module) may be included.
  • a corresponding communication module is a first network 198 (for example, a short-range communication network such as Bluetooth, Wi-Fi direct or IrDA (infrared data association)) or a second network 199 (for example, a cellular network, the Internet.
  • a computer network eg, a long-distance communication network such as a LAN or a wide area network (WAN)
  • a computer network eg, a long-distance communication network such as a LAN or a wide area network (WAN)
  • WAN wide area network
  • modules may be integrated into one component (eg, a single chip), or may be implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses the subscriber information (eg, international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196 to communicate with the first network 198 or the second network 199.
  • the electronic device 101 can be identified and authenticated within the same communication network.
  • the antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive from the outside.
  • the antenna module 197 may include one 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. 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, for example, provided by the communication module 190 from the plurality of antennas. Can be chosen.
  • the signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, RFIC
  • other than the radiator may be additionally formed as a part of the antenna module 197.
  • At least some of the components are connected to each other through a communication method (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI))) between peripheral devices, and signal (E.g. commands or data) can be exchanged with each other.
  • a communication method e.g., 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
  • a command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101.
  • all or part of the operations executed by the electronic device 101 may be executed by one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 does not execute the function or service by itself.
  • the one or more external electronic devices 102 and 104 that have received the request execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit the execution result 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, or client-server computing technology may be used.
  • FIG. 2A is a diagram illustrating an electronic device and a communication interface according to various embodiments
  • FIG. 2B is a diagram illustrating a pin structure of a USB port according to various embodiments.
  • the electronic device 101 includes a first surface (or front surface) 210, a second surface (or rear surface) 211, and a first surface and a second surface. It may include a housing including a side surface 212 surrounding the space between the surfaces. In another embodiment (not shown), the housing includes a first surface 210, a second surface 211 and side surfaces 212. It may refer to a structure that forms part of it.
  • the electronic device 101 according to an embodiment may be implemented as, for example, a smartphone or a tablet PC, but is not limited thereto.
  • the electronic device 101 includes a display 220 (eg, the display device 160 of FIG. 1 ), a speaker hole 230 and a connector port 240 (eg, the interface 177 of FIG. 1 ), The connection terminal 178 of FIG. 1 may be included.
  • the electronic device 101 may additionally include or at least some of the components illustrated in FIG. 1 in addition to the display 220, the speaker hole 230, and the connector port 240.
  • the display 220 may be exposed through, for example, a portion of the first surface 210.
  • the speaker hole 230 may include at least one external speaker hole and a call receiver hole.
  • the speaker hole 230 and the microphone hole may be implemented as a single hole, or a speaker (eg, piezo speaker) implemented without a speaker hole may be included.
  • the connector port 240 may be formed in a structure in which, for example, a connector (or connector cable) for transmitting and receiving power and/or data with an external device can be inserted.
  • the electronic device 101 may be connected to an external device (or an accessory device) through a connector inserted into the connector port 240, and power and/or data (for example, audio data, multimedia data, or other Control commands, etc.) can be transmitted and received.
  • the connector port 240 may have a structure in which a USB Type C connector can be inserted, but is not limited thereto.
  • the connector port 240 includes an opening formed on one surface of a housing and a hole connected to the opening, and a connection terminal capable of being connected to the connector end of the connector ( 241) can be arranged.
  • the connector port 240 may be disposed on the lower side of the electronic device 101, but the location of the connector port 240 is not limited thereto, and the other side of the electronic device 101 May be placed in.
  • connection terminals 241 inside the connector port 240 may be arranged in a reversible structure.
  • the connection terminals 241 are connected to each other in a first direction perpendicular to a direction in which the connector is inserted (eg, from the bottom to the top of the electronic device 101) and a second direction opposite to the first direction. It can be symmetric.
  • the connector port 240 of the electronic device 101 may be formed according to the USB Type C standard.
  • the connector port 240 may include a plurality of connection terminals 241 defined in the USB Type C standard.
  • connection terminals 241 of the USB type C standard may have 12 terminals on the A line and the B line, respectively, and may be symmetrical to each other.
  • the line electrically connected between the connection terminals 241 of the connector port 240 and the connector terminals may differ depending on the direction in which the USB connector is inserted.
  • the CC1 (configuration channel 1) and CC2 (configuration channel 2) terminals may be used as ports for detecting connector insertion/removal and identifying the connector connection mode.
  • an electrical signal eg, digital ID or resistance ID
  • the electronic device 101 operates in a connector connection mode in a downstream facing port (DFP) mode, an upstream facing port mode (UFP), a power supply mode, and/or an audio accessory mode based on a value detected by at least one of CC1 and CC2. Can be controlled to do.
  • GND ground
  • VBUS terminals eg, A4/A9, B4/B9 terminals
  • the VBUS terminal may be used to supply power from the electronic device 101 to an external device connected through a connector.
  • TX1+/-, TX2+/-, RX1+/- and RX2+/- terminals are high-speed data according to USB type C. It can be used as a port for communication.
  • PCM data is transmitted through the TX1+/-, TX2+/-, RX1+/- and RX2+/- terminals. You can send and receive.
  • the role of each terminal in various operation modes is defined by the USB Type C standard, and a more detailed description of the role of each terminal will be omitted.
  • the D+ and D- terminals may be ports used to transmit and receive data (eg, USB packets).
  • the A6/B6 terminal (D+) may transmit either a left audio signal (L) or a right audio signal (R), and the A7/B7 terminal In (D-), the other one of the left audio signal L or the right audio signal R may be transmitted.
  • the L/R audio signal may be an analog signal.
  • the functions of the sideband unit (SBU) 1 and SBU2 terminals are not specified, but may be used to support unique functions for each electronic device.
  • the SBU1 and SBU2 terminals may be used for microphone and ground detection purposes.
  • the SBU1 terminal may be connected to the microphone terminal of the audio device and the SBU2 terminal may be connected to the ground terminal of the audio device.
  • the SBU1 terminal may be connected to the ground terminal of the audio device, and the SBU2 terminal may be connected to the microphone terminal of the audio device.
  • At least one of the CC1 and CC2 terminals may be used as a port connected to the ground detection terminal of the audio jack.
  • At least one of the CC1 and CC2 terminals may be used as a port connected to at least one of the first detection line and the second detection line of the audio codec.
  • FIG. 3A is a diagram illustrating an electronic device and a connector according to various embodiments
  • FIG. 3B is a diagram illustrating a connection structure between the electronic device and the connector.
  • the electronic device 101 may be connected to an external device, for example, an audio device 360 through a connector 103.
  • the connector 103 may be a connector according to a universal serial bus (hereinafter referred to as USB) standard.
  • the connector 103 may be a USB Type C connector, but is not limited thereto, and includes a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), power line communication, or a plain old telephone service (POTS). It can be applied to wired interfaces of various standard standards or non-standard wired interfaces.
  • the connector 103 may include a C-type plug 341 and an audio jack 342 connected to the audio device 360, but connected to other accessory devices other than the audio device 360. It may further include a jack connected to a port or other type of plug.
  • the audio plug of the audio device 360 is inserted into the audio jack 342 of the connector 103, and the audio device 360 may be connected to the electronic device 101 through the connector 103.
  • the electronic device 101 detects that the audio device 360 is connected through the connector 103 and the CC1 terminal and the CC2 terminal (CC terminal and Vconn terminal) of the connector port, and the connector 103 operates in the audio accessory mode. Can be recognized to do.
  • the audio codec 345 may sense a ground voltage of an audio jack through a sensing terminal of the audio codec 345 and process an audio signal based on the sensed ground voltage.
  • the audio signal is output to the ground terminal of the audio jack as a reference point and transmitted to the sensing terminal of the audio codec 345.
  • a difference between the ground voltage recognized by the L/R terminal side of the audio jack and the ground voltage sensed by the sensing terminal side of the audio codec 345 eg, ground impedance
  • crosstalk may be deteriorated.
  • Such crosstalk may be changed by a semiconductor device (eg, PCB, Contact, Soldering, Passive device) or a current return disposed between the ground terminal of the audio jack and the sensing terminal of the audio codec 345.
  • a semiconductor device eg, PCB, Contact, Soldering, Passive device
  • a difference in crosstalk interference may occur according to a sensing position at which the codec 345 recognizes the ground voltage of the audio jack.
  • FIG. 3B is a connection structure between the electronic device 101 and the connector 103.
  • the electronic device 101 This example assumes that the audio codec 345 senses the ground voltage at the VGR1 position 304, the VGR2 position 303, the VGR3 position 302, and the VGR4 position 301. It is obvious that FIG. 3B is shown for convenience of description and does not correspond to the configuration of the present invention.
  • the sensing voltage (Vsensing 1) at the VGR1 position 304 becomes ImA x (R AGND1 +R AGND2 +R AGND3 +R AGND4 ) ⁇
  • the sensing voltage at the VGR2 position 303 (Vsensing 2) becomes ImA x (R AGND2 +R AGND3 +R AGND4 ) ⁇
  • the sensing voltage (Vsensing 3) at VGR3 position (302) becomes ImA x (R AGND3 +R AGND4 ) ⁇
  • the sensing voltage (Vsensing 4) at VGR4 position (301) becomes ImA x (R AGND4 ) ⁇ . I can.
  • the sensing voltage difference occurs as the impedance increases as the distance from the audio jack's ground terminal location (eg, 304) increases. That is, when the audio codec 345 senses the ground voltage, sensing at a position (eg, 304) on the ground terminal side of the audio jack rather than the connector port position (eg, 301) of the electronic device 101 is left/right. It can be seen that the common ground voltage of the channel can be sensed more accurately.
  • the audio ground eg, AGND
  • the ground terminal eg, DGND
  • there is no connection terminal for sensing the ground voltage of the audio jack so it can be implemented to sense the ground voltage of the audio jack at the connector port when manufacturing an electronic device, and sense the ground voltage of the audio jack from the connector port.
  • Crosstalk performance may deteriorate due to structural problems. Accordingly, in the case of an electronic device having a USB type C connector, a method of minimizing crosstalk degradation is required.
  • the audio codec 345 senses the ground voltage of the audio device based on the CC terminal connected to the ground detection terminal of the audio device 360, and adds the sensed ground voltage to the audio signals output to the left/right, Crosstalk caused by a difference in ground voltage with the device 360 may be minimized.
  • FIG. 4 illustrates a structure of an electronic device according to various embodiments. .
  • the electronic device 101 may include a processor 410, a communication interface 430, and an audio codec 440.
  • the electronic device 101 may further include a memory (not shown), but is not limited thereto, and may include the components of FIG. 1 or at least some of them.
  • the electronic device 101 may further include a DP controller 450 in addition to the processor 410, the communication interface 430, and the audio codec 440.
  • the DP controller 450 may be connected to the SBU1_H and SBU2_H terminals of the switching circuit 135, and detects a Hot Plug Detect (HPD) signal for supporting Display Port Alt Mode. It can support the function that transmits HEAC ⁇ (HDMI Ethernet and Audio Return Channel) signals.
  • HPD Hot Plug Detect
  • the communication interface 430 may include a connector port 431, a switching circuit 435 for changing a signal path corresponding to the connector connection mode, and a CC circuit 437.
  • the connector port 431 may include a plurality of connection terminals.
  • a plurality of connection terminals of the connector port 431 may be electrically connected to the switching circuit 435.
  • the connector port 431 may be formed in a structure in which the connector 103 of an external device is physically and electrically connected. The structure of the connection terminal of the connector port 431 has been described above in FIG. 2B, and thus will be omitted.
  • the switching circuit 435 may include a plurality of switches to support functions according to the connector connection mode.
  • the switching circuit 435 may include at least some of a USB/Audio switch, a MIC/AGND/AUX/SBU_SENSE switch, and a CC/CC_SENSE switch.
  • the switching circuit 435 may be implemented such that the signal path of the electronic device 101 is changed through switches in response to the connector connection mode under the control of the processor 410.
  • the switching circuit 435 may include a CC1 switch, a CC2 switch, and a CC_SENSE switch so that the CC sensing line is connected to the CC circuit 437 or selectively connected to the sensing line of the audio codec.
  • the switching circuit 435 is controlled by the processor 410, when the electronic device 101 is connected to the ground detection terminal of the audio device, the CC sensing line is connected to the sensing line of the audio codec, and the audio codec is connected to the ground detection terminal of the audio device. It may be implemented to detect the ground voltage based on.
  • the CC circuit 437 detects insertion/detachment of the connector 103, detection of a plug insertion direction, and a connector connection mode based on signals recognized from CC terminals (eg, CC1 terminal and CC2 terminal). Can be identified.
  • the CC circuit 437 may recognize a situation related to a connector based on a signal input through at least one of a CC1 terminal and a CC2 terminal included in the connector port 431 and transmit it to the processor 410.
  • the CC circuit 437 may sense impedance sensing of the G detection terminal and the L detection terminal of the audio device based on the CC1 and CC2 terminals and distinguish between a ground and a load. According to an embodiment, the CC circuit 437 connects/disconnects between a Downstream Facing Port (DFP) and an Upstream Facing Port (UFP) from signals recognized at CC1 and CC2 terminals (eg, inserting a connector 103 or an external device). /Separation) can be recognized.
  • DFP Downstream Facing Port
  • UFP Upstream Facing Port
  • the CC circuit 437 may recognize the connection direction of the connector 103 from signals recognized at the CC1 and CC2 terminals.
  • the CC1 and CC2 terminals can be toggled to H/L periodically to check the connector 103 recognition direction and function, and at this time, the current sourcing method and resistor pull-up method can be defined to create the H section. have.
  • the CC circuit 437 determines the role of the host (source) and the device (sink) in the relationship between the electronic device 101 and the external device from signals recognized at the CC1 and CC2 terminals. And can detect the power supplier.
  • the role of the host and the device is determined in a host-only mode in which one CC terminal is used as a host (DFP), a device-only mode in which one CC terminal is used as a device (UFP), and any one CC terminal. May be both modes used as both host and device modes.
  • the CC circuit 437 is a host that provides power through a PD (power delivery) method in which the host can provide the most power to the device from signals recognized at the CC1 and CC2 terminals, and receives the power.
  • Device role can be determined.
  • the CC circuit 437 may determine the USB type C VBUS current capacity as a specific value (eg 1.5 A or 3A) based on resistance values recognized at the CC1 and CC2 terminals.
  • the processor 410 may control components of the electronic device 101 and/or perform an operation or data processing related to communication.
  • the processor 410 may be connected to the audio codec 440, the CC circuit 437, and the switching circuit 435, and the connector port 431 and the connector 103 are switched to perform an operation related to the connected external device.
  • the circuit 435 and the audio codec 440 can be controlled.
  • the memory (not shown) may store instructions such as various arithmetic and logical operations, data movement, and control instructions such as input/output, which can be performed by the processor 410, and operations of the processor 410 to be described later are memory. This can be done by loading instructions stored in.
  • the processor 410 detects that the audio device is connected based on signals input from the CC circuit 437 through the CC1 terminal and the CC2 terminal, and the switching circuit 435 according to the connector connection mode.
  • the signal path inside can be controlled to be switched.
  • the processor 410 may control switching of the switching circuit 435 according to an external device connected through the connector 103, a type of a connector plug, or a connector connection mode.
  • the connector connection mode may include at least one of a downstream facing port (DFP) mode, an upstream facing port (UFP) mode, a first audio accessory mode, a second audio accessory mode, a power supply mode, and a data transmission mode.
  • the processor 410 when the audio device is connected through the connector 103, the processor 410 is connected to the ground detection terminal of the audio device when at least one of the CC1 terminal and the CC2 terminal is connected to the ground detection terminal of the audio device.
  • the switching circuit 435 may be controlled to connect the CC terminal to the audio codec.
  • the processor 410 detects that both of CC1 and CC2 are less than the pull-down resistance value, the resistance value of one terminal is sensed to be less than a set threshold (eg, 1 ⁇ ), and the other
  • a set threshold eg, 1 ⁇
  • the CC terminal eg, CC1
  • the CC terminal eg, CC1
  • the set threshold value is cut off the connection with the CC circuit 437, and is connected to the sensing line of the audio codec 440.
  • Switch to be connected, and another terminal (eg, CC2) exceeding a set threshold value can be switched to recognize the load value of the audio jack and connect the Vconn terminal and the CC circuit 437 of the connector 103 .
  • the processor 410 may control the audio codec 440 to transmit/receive an audio signal through the connector 103.
  • the audio codec 440 may encode an analog audio signal into a digital signal into a digital signal and decode the digital signal into an analog audio signal under the control of the processor 410.
  • the audio codec 440 may generate an L/R channel audio signal, and transmit the L/R channel audio signal to the D+ terminal and the D- terminal of the connector 103 through the switching circuit 435.
  • the audio codec 440 includes a first amplifier that amplifies the L audio signal and a second amplifier that amplifies the R audio signal, and based on the ground impedance voltage value sensed through the sensing line of the audio codec, L/R audio Can amplify the signal.
  • the audio codec 440 may sense a ground voltage of an audio device based on a CC terminal connected to a ground detection terminal of the audio device, and amplify an audio signal based on the sensed ground voltage.
  • the audio codec 440 includes a left sound line, a right sound line, a microphone line, and a sensing line for sensing the ground voltage, a first detection line selectively connected to the CC1 terminal, and a CC2 terminal. It may include at least one of the second detection lines.
  • the sensing line of the audio codec 440 is selectively connected to a CC terminal connected to a ground detection terminal of an audio device among CC terminals, or selectively connected to at least one of a sideband unit (SBU) terminal 1 and an SBU2 terminal. Can be connected.
  • SBU sideband unit
  • the connector 103 inserted into the connector port 431 of the electronic device 101 includes a plurality of connector terminals that can be physically and electrically connected to the connection terminals included in the connector port 431.
  • the connector 103 may be a USB type C connector or a USB type C connector cable.
  • the USB type C connector cable may include at least one of a USB type C plug, an audio jack, and/or a USB type C earphone.
  • the connector 103 is the G detection end and the L The detection terminal may be electrically connected and connected to the CC terminal and the Vconn terminal of the connector 103.
  • the L detection terminal when the G detection terminal of the audio jack is connected to one of the CC terminal and the Vconn terminal, the L detection terminal may be connected to the other terminal not connected to the G detection terminal. have.
  • FIG. 5 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
  • a processor of the electronic device 101 is Device insertion (eg audio plug insertion) can be detected.
  • the electronic device may be connected to an audio device based on a USB Type C connector (eg, the connector 103 of FIG. 4 ).
  • the processor may receive information on contact signals of CC terminals based on the CC circuit of FIG. 4, detect insertion of a connector connected to an audio device, and recognize a connector connection mode.
  • the processor when a resistance recognized by at least one of CC1 and CC2 is pulled down, the processor (or CC circuit) may detect that an external device is connected through a connector.
  • the external device is an audio device such as headphones, earphones, and speakers
  • both of the CC1 and CC2 terminals can be designed to be recognized as less than 1.2k ⁇ when connected to an electronic device.
  • the processor can recognize that the audio device has been inserted if the recognized resistance in both CC1 and CC2 is less than or equal to 1.2k ⁇ .
  • the processor may determine an audio accessory mode type with an audio device connected to the connector.
  • the processor may identify whether at least one of CC1 and CC2 is connected to the audio jack ground of the audio device while the resistance is recognized in the range of 1.2 k ⁇ or less in both CC1 and CC2. .
  • the processor recognizes that the resistance recognized at one of the CC1 and CC2 terminals in contact with the CC and Vconn terminals of the connector is below a set threshold (e.g., 1 ⁇ ), and the resistance recognized by the other is set Example: 1 ⁇ ), the CC terminal of the connector can be recognized as a structure connected to the audio jack ground (eg, the first audio accessory mode).
  • the processor may switch to be connected to the sensing line of the audio codec and any one CC terminal for the first audio accessory mode.
  • the processor sets a signal line to be connected to the ground detection terminal of the audio jack and the sensing line of the audio codec. Switching, and the other CC terminal can be controlled to switch the signal line so that the Vconn terminal of the connector and the CC circuit are connected to recognize a load value of the audio jack. That is, in the case of the first audio accessory mode, one terminal of CC1 and CC2 may be connected to the CC logic, and the other terminal may be connected to the audio codec.
  • the processor may perform an audio function with an audio device connected to the electronic device based on the audio signal path changed according to the switching.
  • the processor has a structure in which the CC terminal of the connector is not connected to the audio jack ground when both the CC1 and CC2 terminals in contact with the CC and Vconn terminals of the connector exceed a set threshold (for example, 1 ⁇ ).
  • a set threshold for example, 1 ⁇ .
  • the processor may maintain the second audio accessory mode or switch the sensing line of the audio codec to connect one SBU terminal.
  • the second audio accessory mode may be a functional mode with an audio device connected according to a preset logic.
  • the second audio accessory may be logic defined in the USB Type C standard.
  • a default mode may be the second audio accessory mode.
  • CC1 and CC2 may be connected to a CC circuit, and at least one of SBU1 and SBU2 terminals of a connector port may be connected to a sensing port of an audio codec to be connected to a ground detection terminal of an audio jack.
  • the processor may switch at least one of the SBU1 and SBU2 terminals of the connector port to be connected to the sensing port of the audio codec.

Abstract

An electronic device according to various embodiments comprises: a communication interface connected to an audio device through a USB type C connector including a plurality of terminals; an audio codec connected to the communication interface; and a processor operationally connected to the communication interface and the audio codec, wherein the processor detects the insertion of the audio device through the USB type C connector, and during the insertion of the audio device, when at least one configuration channel (CC) terminal from among the plurality of terminals is connected to a ground detection terminal of the audio device, the processor controls the communication interface so as to connect the CC terminal connected to the ground detection terminal of the audio device to the audio codec, and the audio codec may be configured to sense a ground voltage of the audio device on the basis of the CC terminal connected to the ground detection terminal of the audio device, and to amplify an audio signal on the basis of the sensed ground voltage.

Description

커넥터를 포함하는 전자 장치 및 오디오 신호의 크로스 톡을 감소시키기 위한 방법Electronic device including connector and method for reducing crosstalk of audio signals
본 발명은 커넥터를 포함하는 전자 장치 및 USB 타입 C 커넥터에 기반한 오디오 신호의 크로스톡을 감소시키기 위한 방법에 관한 것이다. The present invention relates to an electronic device including a connector and a method for reducing crosstalk of an audio signal based on a USB type C connector.
전자 장치와 스피커, 오디오 잭(ear jack), 연결 포트(connection port)와 같이 외부 장치와 유선으로 연결될 수 있는 커넥터가 다양한 형태로 상용화되고 있다.. 이러한 커넥터는 다양한 표준 방식에 의해 규격화되고 있다. 다양한 표준들 중 가장 널리 이용되는 표준으로 범용 직렬 버스(universal serial bus, USB) 방식이 있다. 최근 단일 커넥터를 통한 데이터, 비디오, 오디오 그리고 전력 제공이 가능한 USB(universal serial bus, USB)방식의 타입 C가 급속도로 성장하고 있는 추세이다. Connectors that can be wired to external devices such as electronic devices, speakers, audio jacks, and connection ports are commercially available in various forms. These connectors are standardized by various standard methods. Among the various standards, the most widely used standard is the universal serial bus (USB) method. Recently, the type C of universal serial bus (USB), which can provide data, video, audio and power through a single connector, is growing rapidly.
전자 장치는 USB 타입 C 인터페이스를 통해 외부 장치와 오디오 신호를 송수신할 수 있다. 전자 장치가 오디오 장치와 연결되어 오디오 신호를 송수신하는 경우 좌/우 채널 간의 크로스톡(crosstalk) 즉, 채널 신호 간섭으로 인하여 오디오 신호의 품질이 저하될 수 있다. 오디오 신호의 크로스톡 현상은 좌/우 채널의 인접하는 구조의 기생 용량 (parasitic capacitance)에 의해 발생되거나, 좌/우 채널의 공통 접지 임피던스(common ground impedance) 에 의해 발생될 수 있다. The electronic device may transmit and receive audio signals with an external device through a USB Type C interface. When an electronic device is connected to an audio device to transmit and receive an audio signal, the quality of the audio signal may be degraded due to crosstalk between left and right channels, that is, channel signal interference. The crosstalk phenomenon of the audio signal may be caused by a parasitic capacitance of an adjacent structure of the left/right channels or a common ground impedance of the left/right channels.
일 실시예에 따르면, 전자 장치는 이어잭의 그라운드와 전자 장치의 그라운드 차이인 공통 접지 임피던스(common ground impedance)에 대한 센싱의 정확성을 향상시켜 오디오 신호의 품질을 개선하는 USB 타입 C 커넥터 및 전자 장치, 이에 기반한 오디오 신호의 크로스톡을 감소시키기 위한 방법을 제공하고자 한다.According to an embodiment, the electronic device is a USB type C connector and an electronic device that improves the quality of an audio signal by improving the accuracy of sensing for a common ground impedance that is a difference between the ground of the ear jack and the ground of the electronic device. For example, to provide a method for reducing crosstalk of an audio signal based on this.
다양한 실시예에 따르면, 전자 장치에 있어서, 복수의 단자들을 포함하는 USB타입 C 커넥터를 통해 오디오 장치와 연결되는 통신 인터페이스와, 상기 통신 인터페이스와 연결되는 오디오 코덱과 상기 통신 인터페이스 및 오디오 코덱과 동작적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 USB타입 C 커넥터를 통해 오디오 장치의 삽입을 감지하고, 오디오 장치 삽입 시 상기 복수의 단자들 중 적어도 하나의CC (Configuration Channel) 단자가 상기 오디오 장치의 그라운드 검출단과 연결되는 경우, 상기 오디오 장치의 그라운드 검출단과 연결된CC 단자를 상기 오디오 코덱과 연결되도록 통신 인터페이스를 제어하고, 상기 오디오 코덱은, 상기 오디오 장치의 그라운드 검출단과 연결된CC 단자를 기반으로 오디오 장치의 그라운드 전압을 센싱하고, 센싱된 그라운드 전압을 기반으로 오디오 신호를 증폭하도록 설정될 수 있다. According to various embodiments, in an electronic device, a communication interface connected to an audio device through a USB type C connector including a plurality of terminals, an audio codec connected to the communication interface, and the communication interface and the audio codec are operational. And a processor connected to each other, wherein the processor detects the insertion of an audio device through the USB type C connector, and when the audio device is inserted, at least one CC (Configuration Channel) terminal among the plurality of terminals is connected to the audio device. When connected to the ground detection terminal of the audio device, the communication interface is controlled so that the CC terminal connected to the ground detection terminal of the audio device is connected to the audio codec, and the audio codec is based on the CC terminal connected to the ground detection terminal of the audio device. It may be configured to sense a ground voltage of the device and amplify an audio signal based on the sensed ground voltage.
다양한 실시예에 따르면, 복수의 단자들을 포함하는 USB타입 C 커넥터를 통해 오디오 장치의 삽입을 감지하는 동작과, 상기 오디오 장치 삽입 시 복수의 단자들 중 적어도 하나의CC (Configuration Channel) 단자가 상기 오디오 장치의 그라운드 검출단과 연결되는 지 확인하는 동작과, 상기 오디오 장치의 그라운드 검출단과 연결되는 CC단자를 오디오 코덱과 연결되도록 제어하는 동작과 상기 오디오 장치의 그라운드 검출단과 연결된CC 단자를 기반으로 오디오 장치의 그라운드 전압을 센싱하는 동작과 상기 센싱된 그라운드 전압을 기반으로 오디오 신호를 증폭하는 동작을 포함할 수 있다. According to various embodiments, an operation of detecting insertion of an audio device through a USB type C connector including a plurality of terminals, and at least one CC (Configuration Channel) terminal among a plurality of terminals when the audio device is inserted Based on the operation of checking whether it is connected to the ground detection terminal of the device, controlling the CC terminal connected to the ground detection terminal of the audio device to be connected to the audio codec, and the CC terminal connected to the ground detection terminal of the audio device. An operation of sensing a ground voltage and an operation of amplifying an audio signal based on the sensed ground voltage may be included.
다양한 실시예에 따르면, 커넥터를 통해 오디오 장치 연결 시 커넥터의CC 단자들 중 적어도 하나가 오디오 장치의 그라운드 검출단과 연결하고, 오디오 장치의 그라운드 검출단과 연결된CC 단자를 기반으로 오디오 코덱이 그라운드 전압을 센싱함으로써, 오디오 크로스톡 간섭을 최소화하여 오디오 신호의 출력 성능을 증가시킬 수 있다. According to various embodiments, when connecting an audio device through a connector, at least one of the CC terminals of the connector is connected to the ground detection terminal of the audio device, and the audio codec senses the ground voltage based on the CC terminal connected to the ground detection terminal of the audio device. By doing so, it is possible to increase the output performance of an audio signal by minimizing audio crosstalk interference.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
도 2a는 다양한 실시예에 따른, 전자 장치와 통신 인터페이스를 도시한 도면이고, 도 2b는 다양한 실시예에 따른, USB 포트의 핀 구조를 도시한 도면이다. 2A is a diagram illustrating an electronic device and a communication interface according to various embodiments, and FIG. 2B is a diagram illustrating a pin structure of a USB port according to various embodiments.
도 3a는 다양한 실시예에 따른 전자 장치와 커넥터를 도시하고, 도 3b는 전자 장치와 커넥터와의 연결 구조를 도식화하여 나타낸 도면이다. 3A is a diagram illustrating an electronic device and a connector according to various embodiments, and FIG. 3B is a diagram illustrating a connection structure between the electronic device and the connector.
도 4는 다양한 실시예에 따른 전자 장치의 구조를 도시한다. 4 illustrates a structure of an electronic device according to various embodiments.
도 5는 다양한 실시예에 따른 오디오 신호의 크로스톡을 방지하기 위한 방법을 도시한다. 5 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
도 6은 다양한 실시예에 따른 오디오 신호의 크로스톡을 방지하기 위한 방법을 도시한다. 6 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
도 7a 내지 도 7c는 다양한 실시예에 따른 커넥터와 오디오 잭의 연결 라인의 구조를 도시한다 7A to 7C illustrate a structure of a connection line between a connector and an audio jack according to various embodiments.
도 8a 및 도 8b는 다양한 실시예에 따른 전자 장치와 커넥터의 회로 구성을 도시한다. 8A and 8B illustrate circuit configurations of an electronic device and a connector according to various embodiments.
도 9a 및 도 9b는 다양한 실시예에 따른 전자 장치와 커넥터의 회로 구성을 도시한다. 9A and 9B illustrate circuit configurations of an electronic device and a connector according to various embodiments.
도 10은 다양한 실시예에 따른 전자 장치와 커넥터의 회로 구성을 도시한다. 10 is a diagram illustrating circuit configurations of an electronic device and a connector according to various embodiments of the present disclosure.
도 11은 다양한 실시예에 따른 오디오 신호의 크로스톡을 방지하기 위한 방법을 도시한다. 11 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
도 12 는 다양한 실시예에 따른 전자 장치의 회로 구성을 도시한다. 12 illustrates a circuit configuration of an electronic device according to various embodiments.
도 13은 다양한 실시예에 따른 오디오 신호의 크로스톡을 방지하기 위한 방법을 도시한다. 13 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
본 명세서와 도면에 개시된 본 발명의 다양한 실시 예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 범위는 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Various embodiments of the present invention disclosed in the present specification and drawings are merely provided with specific examples to easily describe the technical content of the present invention and to aid understanding of the present invention, and are not intended to limit the scope of the present invention. Therefore, the scope of the present invention should be construed that all changes or modified forms derived based on the technical idea of the present invention in addition to the embodiments disclosed herein are included in the scope of the present invention.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치(101)는 다양한 형태의 장치가 될 수 있다. 전자 장치(101)는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치(wearable device), 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치(101)는 전술한 기기들에 한정되지 않는다.The electronic device 101 according to various embodiments disclosed in this document may be a device of various types. The electronic device 101 may include, for example, a portable communication device (eg, a smartphone), a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. The electronic device 101 according to the exemplary embodiment of the present document is not limited to the above-described devices.
도 1은 다양한 실시 예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성 요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성 요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드(embedded)된 채 구현될 수 있다.Referring to FIG. 1, in a network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network), or a second network 199 It is possible to 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. According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module ( 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ) Can be included. In some embodiments, at least one of these components (for example, the display device 160 or the camera module 180) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성 요소(예: 하드웨어 또는 소프트웨어 구성 요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성 요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(volatile memory)(132)에 로드(load)하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(non-volatile memory)(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치(CPU, central processing unit) 또는 어플리케이션 프로세서(AP, application processor)), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치(GPU, graphic processing unit), 이미지 시그널 프로세서(ISP, image signal processor), 센서 허브 프로세서(sensor hub processor), 또는 커뮤니케이션 프로세서(CP, communication processor))를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to implement at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and can perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 may convert commands or data received from other components (for example, the sensor module 176 or the communication module 190) into a volatile memory. ) 132, process commands or data stored in the volatile memory 132, and store result data in a non-volatile memory 134. According to an embodiment, the processor 120 is a main processor 121 (for example, a central processing unit (CPU) or an application processor (AP)), and a coprocessor that can be operated independently or together. 123 (e.g., a graphic processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)). I can. Additionally or alternatively, the coprocessor 123 may be set to use lower power than the main processor 121 or to be specialized for a designated function. The secondary processor 123 may be implemented separately from the main processor 121 or as a part thereof.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(inactive)(예: 슬립(sleep)) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(active)(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성 요소들 중 적어도 하나의 구성 요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))과 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The coprocessor 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 While in an active (eg, application execution) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, display device 160, sensor module 176) ), or at least some of functions or states related to the communication module 190). According to an embodiment, the coprocessor 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.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성 요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (for example, the processor 120 or the sensor module 176 ). The data may include, for example, software (eg, the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(OS, operating system)(142), 미들 웨어(middleware)(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130, and may include, for example, an operating system (OS) 142, a middleware 144, or an application 146. have.
입력 장치(150)는, 전자 장치(101)의 구성 요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)는, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜) 등을 포함할 수 있다. The input device 150 may receive commands or data to be used for components of the electronic device 101 (eg, the processor 120) from outside the electronic device 101 (eg, a user). The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커(speaker) 또는 리시버(receiver)를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output an sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서(pressure sensor))를 포함할 수 있다. The display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user). The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to an embodiment, the display device 160 includes a touch circuitry set to sense a touch, or a sensor circuit set to measure the strength of a force generated by the touch (for example, a pressure sensor). It may include.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electric signal or, conversely, convert an electric signal into sound. According to an embodiment, the audio module 170 acquires sound through the input device 150, the sound output device 155, or an external device directly or wirelessly connected to the electronic device 101 (for example, an electronic device). The sound can be output through the device 102) (for example, speakers or headphones).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서(gesture sensor), 자이로 센서(gyro sensor), 기압 센서(barometer sensor), 마그네틱 센서(magnetic sensor), 가속도 센서(acceleration sensor), 그립 센서(grip sensor), 근접 센서(proximity sensor), 컬러 센서(color sensor)(예: RGB(red, green, blue) 센서), IR(infrared) 센서, 생체 센서(biometric sensor), 온도 센서(temperature sensor), 습도 센서(humidity sensor), 또는 조도 센서(illuminance sensor) 등을 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101, or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to an embodiment, the sensor module 176 is, for example, a gesture sensor, a gyro sensor, a barometer sensor, a magnetic sensor, an acceleration sensor. ), grip sensor, proximity sensor, color sensor (e.g. RGB (red, green, blue) sensor), IR (infrared) sensor, biometric sensor, temperature A sensor (temperature sensor), a humidity sensor (humidity sensor), or an illumination sensor (illuminance sensor) may be included.
인터페이스(177)는 전자 장치(101)의 외부 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜(protocol)들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD(secure digital) 카드 인터페이스, 또는 오디오 인터페이스 등을 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect to an external device (eg, the electronic device 102) of the electronic device 101. According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
연결 단자(connection terminal)(178)는, 그를 통해서 전자 장치(101)가 외부 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터) 등을 포함할 수 있다.The 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). According to an embodiment, 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).
햅틱 모듈(haptic module)(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터(motor), 압전 소자(piezoelectric element), 또는 전기 자극 장치(electrical stimulation device) 등을 포함할 수 있다.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 motor sensations. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture a still image and a video. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지(fuel cell)를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, Wi-Fi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN(wide area network))와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. The communication module 190 includes a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, electronic device 102, electronic device 104, or server 108). It is possible to support establishment and communication through the established communication channel. The communication module 190 operates independently of the processor 120 (eg, an application processor), and may include one or more communication processors that support direct (eg, wired) communication or wireless communication. According to an embodiment, 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 : A LAN (local area network) communication module, or a power line communication module) may be included. Among these communication modules, a corresponding communication module is a first network 198 (for example, a short-range communication network such as Bluetooth, Wi-Fi direct or IrDA (infrared data association)) or a second network 199 (for example, a cellular network, the Internet. , Or a computer network (eg, a long-distance communication network such as a LAN or a wide area network (WAN)) to communicate with an external electronic device. These various types of communication modules may be integrated into one component (eg, a single chip), or may be implemented as a plurality of separate components (eg, multiple chips).
무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI, international mobile subscriber identity))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The wireless communication module 192 uses the subscriber information (eg, international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196 to communicate with the first network 198 or the second network 199. The electronic device 101 can be identified and authenticated within the same communication network.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC)가 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive from the outside. According to an embodiment, the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is, for example, provided by the communication module 190 from the plurality of antennas. Can be chosen. The signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as a part of the antenna module 197.
상기 구성 요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고, 신호(예: 명령 또는 데이터)를 상호 간에 교환할 수 있다.At least some of the components are connected to each other through a communication method (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI))) between peripheral devices, and signal (E.g. commands or data) can be exchanged with each other.
일 실시 예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104) 간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. According to an embodiment, a command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101.
일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104 또는 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들(102, 104)에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들(102, 104)은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅(cloud computing), 분산 컴퓨팅(distributed computing), 또는 클라이언트-서버 컴퓨팅(client-server computing) 기술이 이용될 수 있다.According to an embodiment, all or part of the operations executed by the electronic device 101 may be executed by one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 does not execute the function or service by itself. In addition or in addition, it is possible to request the one or more external electronic devices 102 and 104 to perform the function or at least part of the service. The one or more external electronic devices 102 and 104 that have received the request execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit the execution result to the electronic device 101. I can deliver. 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. For this, for example, cloud computing, distributed computing, or client-server computing technology may be used.
도 2a는 다양한 실시예에 따른, 전자 장치와 통신 인터페이스를 도시한 도면이고 도 2b는 다양한 실시예에 따른, USB 포트의 핀 구조를 도시한 도면이다. FIG. 2A is a diagram illustrating an electronic device and a communication interface according to various embodiments, and FIG. 2B is a diagram illustrating a pin structure of a USB port according to various embodiments.
도 2a 및 도 2b를 참조하면, 일 실시예에 따른 전자 장치(101)는, 제 1 면(또는 전면)(210), 제 2 면(또는 후면) (211), 및 제 1 면 및 제 2 면 사이의 공간을 둘러싸는 측면(212)을 포함하는 하우징을 포함할 수 있다 다른 실시예(미도시)에서는, 하우징은 제 1 면(210), 제 2 면(211) 및 측면(212)들 중 일부를 형성하는 구조를 지칭할 수 있다. 일 실시예에 따른 전자 장치(101)는, 예를 들어, 스마트폰, 태블릿 PC로 구현될 수 있으나, 이에 한정되지는 않는다. 2A and 2B, the electronic device 101 according to an embodiment includes a first surface (or front surface) 210, a second surface (or rear surface) 211, and a first surface and a second surface. It may include a housing including a side surface 212 surrounding the space between the surfaces. In another embodiment (not shown), the housing includes a first surface 210, a second surface 211 and side surfaces 212. It may refer to a structure that forms part of it. The electronic device 101 according to an embodiment may be implemented as, for example, a smartphone or a tablet PC, but is not limited thereto.
일 실시예에 따른 전자 장치(101)는 디스플레이(220)(예: 도 1의 표시 장치(160)), 스피커 홀(230) 및 커넥터 포트(240)(예: 도 1의 인터페이스(177), 도 1의 연결 단자(178))을 포함할 수 있다. 도면에 도시되지 않았으나, 전자 장치(101)는, 디스플레이(220), 스피커 홀(230) 및 커넥터 포트(240) 이외에도 도 1에 도시된 구성 요소들을 추가적으로 포함 또는 적어도 일부를 포함할 수 있다. The electronic device 101 according to an embodiment includes a display 220 (eg, the display device 160 of FIG. 1 ), a speaker hole 230 and a connector port 240 (eg, the interface 177 of FIG. 1 ), The connection terminal 178 of FIG. 1 may be included. Although not shown in the drawings, the electronic device 101 may additionally include or at least some of the components illustrated in FIG. 1 in addition to the display 220, the speaker hole 230, and the connector port 240.
일 실시예에 따른 디스플레이(220)는, 예를 들어, 제1 면(210) 일부를 통해 노출될 수 있다. 스피커 홀(230)은, 적어도 하나의 외부용 스피커 홀 및 통화용 리시버 홀을 포함할 수 있다. 어떤 실시예에서는 스피커 홀(230)과 마이크 홀이 하나의 홀로 구현 되거나, 스피커 홀 없이 구현되는 스피커(예: 피에조 스피커)가 포함될 수 있다.The display 220 according to an embodiment may be exposed through, for example, a portion of the first surface 210. The speaker hole 230 may include at least one external speaker hole and a call receiver hole. In some embodiments, the speaker hole 230 and the microphone hole may be implemented as a single hole, or a speaker (eg, piezo speaker) implemented without a speaker hole may be included.
일 실시예에 따른 커넥터 포트(240)은 예를 들어, 외부 장치와 전력 및/또는 데이터를 송수신하기 위한 커넥터(또는 커넥터 케이블)를 삽입할 수 있는 구조로 형성될 수 있다. 전자 장치(101)는 커넥터 포트(240)에 삽입된 커넥터를 통해 외부 장치(또는 액세서리 장치)와 연결될 수 있으며, 외부 장치와 전력 및/또는 데이터(예를 들어, 오디오 데이터, 멀티미디어 데이터, 또는 기타 제어 명령 등)를 송수신할 수 있다. 일 실시예에 따른 커넥터 포트(240)는 USB타입 C 커넥터를 삽입할 수 있는 구조일 수 있으나, 이에 한정하는 것은 아니다.The connector port 240 according to an embodiment may be formed in a structure in which, for example, a connector (or connector cable) for transmitting and receiving power and/or data with an external device can be inserted. The electronic device 101 may be connected to an external device (or an accessory device) through a connector inserted into the connector port 240, and power and/or data (for example, audio data, multimedia data, or other Control commands, etc.) can be transmitted and received. The connector port 240 according to an embodiment may have a structure in which a USB Type C connector can be inserted, but is not limited thereto.
일 실시예에 따르면, 커넥터 포트(240)는 하우징(housing)의 일면에 형성된 개구(opening) 및 그 개구와 이어진 홀(hole)을 포함하며, 홀 내부에는 커넥터의 커넥터 단과 연결될 수 있는 접속 단자(241)들이 배치될 수 있다. According to an embodiment, the connector port 240 includes an opening formed on one surface of a housing and a hole connected to the opening, and a connection terminal capable of being connected to the connector end of the connector ( 241) can be arranged.
도2a에 도시된 바와 같이, 전자 장치(101)의 아래쪽 일면에 커넥터 포트(240)가 배치될 수 있으나, 커넥터 포트(240)의 배치 위치는 이에 한정되지 않으며, 전자 장치(101)의 다른 일면에 배치될 수도 있다.As shown in FIG. 2A, the connector port 240 may be disposed on the lower side of the electronic device 101, but the location of the connector port 240 is not limited thereto, and the other side of the electronic device 101 May be placed in.
일 실시예에 따르면, 커넥터 포트(240) 내부의 접속 단자(241)들은 리버서블(reversible) 한 구조로 배치될 수 있다. 예를 들어, 접속 단자(241)들은 커넥터가 삽입되는 방향(예를 들어, 전자 장치(101)의 아래쪽에서 위쪽 방향)과 수직인 제1방향 및 제1방향과 반대인 제2방향에 대해 서로 대칭일 수 있다.According to an embodiment, the connection terminals 241 inside the connector port 240 may be arranged in a reversible structure. For example, the connection terminals 241 are connected to each other in a first direction perpendicular to a direction in which the connector is inserted (eg, from the bottom to the top of the electronic device 101) and a second direction opposite to the first direction. It can be symmetric.
이하, USB 타입 C 규격의 커넥터 포트의 접속 단자들의 구조에 대해서 설명하기로 한다. 도 2b에 도시된 바와 같이, 전자 장치(101)의 커넥터 포트(240)는 USB 타입 C 규격에 따라 형성될 수 있다. 커넥터 포트(240)는 USB 타입 C 규격에 정의된 복수의 접속 단자(241)들을 포함할 수 있다. Hereinafter, the structure of the connection terminals of the connector port of the USB type C standard will be described. 2B, the connector port 240 of the electronic device 101 may be formed according to the USB Type C standard. The connector port 240 may include a plurality of connection terminals 241 defined in the USB Type C standard.
일 실시예에 따르면, USB타입 C 규격의 접속 단자(241)들은 A 라인 및 B라인에 각각 12개 단자를 구비할 수 있으며, 서로 대칭인 형태일 수 있다. USB 커텍터가 삽입되는 방향에 따라 커넥터 포트(240)의 접속 단자(241)들과 커넥터 단자들 간 전기적으로 연결되는 라인이 다를 수 있다. According to an embodiment, the connection terminals 241 of the USB type C standard may have 12 terminals on the A line and the B line, respectively, and may be symmetrical to each other. The line electrically connected between the connection terminals 241 of the connector port 240 and the connector terminals may differ depending on the direction in which the USB connector is inserted.
일 실시예에 따르면, CC1(configuration channel 1) 및 CC2(configuration channel 2) 단자는 커넥터 삽입/분리 감지 및 커넥터 연결 모드를 식별하는 포트로 사용될 수 있다. 일 예를 들어, 전자 장치(101)와 외부 장치가 커넥터를 통해 연결되면, CC1 및 CC2 단자를 통해 전기적 신호(예를 들어, 디지털 ID 또는 저항 ID)가 교환되고, 그에 따라 전자 장치(101) 및 외부 장치의 삽입 또는 분리를 감지할 수 있다. 전자 장치(101)는CC1 및 CC2 중 적어도 하나에 감지된 값을 기반으로 커넥터 연결 모드를 DFP(downstream facing port) 모드, UFP(upstream facing port 모드), 전력 공급 모드 및/또는 오디오 액세서리 모드로 동작하도록 제어할 수 있다. According to an embodiment, the CC1 (configuration channel 1) and CC2 (configuration channel 2) terminals may be used as ports for detecting connector insertion/removal and identifying the connector connection mode. For example, when the electronic device 101 and an external device are connected through a connector, an electrical signal (eg, digital ID or resistance ID) is exchanged through the CC1 and CC2 terminals, and accordingly, the electronic device 101 And insertion or removal of an external device may be detected. The electronic device 101 operates in a connector connection mode in a downstream facing port (DFP) mode, an upstream facing port mode (UFP), a power supply mode, and/or an audio accessory mode based on a value detected by at least one of CC1 and CC2. Can be controlled to do.
일 실시예에 따르면, GND(ground)(예: A1/B12, B1/A12) 및 VBUS 단자(예: A4/A9, B4/B9 단자)는 전원 라인으로 사용되는 포트일 수 있다. 예를 들어, VBUS 단자는 전자 장치(101)의 전원을 커넥터를 통해 연결된 외부 장치로 전력을 공급하는데 이용될 수 있다. According to an embodiment, GND (ground) (eg, A1/B12, B1/A12) and VBUS terminals (eg, A4/A9, B4/B9 terminals) may be ports used as power lines. For example, the VBUS terminal may be used to supply power from the electronic device 101 to an external device connected through a connector.
일 실시예에 따르면, TX1+/-, TX2+/-, RX1+/- 및 RX2+/- 단자(예: A2/A3, B2/B3, B11/B10 및 A11/A10 단)는 USB 타입C에 따른 고속 데이터 통신을 위한 포트로 사용될 수 있다. 예를 들어, 커넥터 포트(240)에 디지털 신호인 PCM 데이터를 직접 송수신할 수 있는 전용 액세서리 장치가 연결되는 경우, TX1+/-, TX2+/-, RX1+/- 및 RX2+/- 단자를 통해 PCM 데이터를 송수신 할 수 있다. According to an embodiment, TX1+/-, TX2+/-, RX1+/- and RX2+/- terminals (e.g., A2/A3, B2/B3, B11/B10 and A11/A10 stages) are high-speed data according to USB type C. It can be used as a port for communication. For example, when a dedicated accessory device that can directly transmit/receive digital signal PCM data is connected to the connector port 240, PCM data is transmitted through the TX1+/-, TX2+/-, RX1+/- and RX2+/- terminals. You can send and receive.
일 실시예에 따르면, 여러 동작 모드에서 각 단자의 역할은 USB 타입 C 표준에 의해 정의되어 있는 바, 보다 구체적인 각 단자의 역할에 대해서는 그 설명을 생략하기로 한다.According to an embodiment, the role of each terminal in various operation modes is defined by the USB Type C standard, and a more detailed description of the role of each terminal will be omitted.
일 실시예에 따르면, D+ 및D- 단자(예: A6/B6및 A7/B7 단자)는 데이터 (예:USB 패킷)을 송수신하는데 사용되는 포트일 수 있다. According to an embodiment, the D+ and D- terminals (eg, A6/B6 and A7/B7 terminals) may be ports used to transmit and receive data (eg, USB packets).
일 실시예에 따르면, 전자 장치(101)가 오디오 장치와 연결 시 A6/B6단자(D+)는 좌측 오디오 신호(L) 또는 우측 오디오 신호(R) 중 하나가 전송될 수 있으며, A7/B7 단자(D-)는 좌측 오디오 신호(L) 또는 우측 오디오 신호(R) 중 다른 하나가 전송될 수 있다. L/R 오디오 신호는 아날로그 신호일 수 있다. According to an embodiment, when the electronic device 101 is connected to an audio device, the A6/B6 terminal (D+) may transmit either a left audio signal (L) or a right audio signal (R), and the A7/B7 terminal In (D-), the other one of the left audio signal L or the right audio signal R may be transmitted. The L/R audio signal may be an analog signal.
일 실시예에 따르면, SBU(sideband unit) 1 및 SBU2 단자(A8 및 B8 단자)는 기능이 특정화되어 있지 않으나, 전자 장치 별로 고유한 기능을 지원하는 데 사용될 수 있다. According to an embodiment, the functions of the sideband unit (SBU) 1 and SBU2 terminals (A8 and B8 terminals) are not specified, but may be used to support unique functions for each electronic device.
일 실시예에 따르면, 전자 장치(101)가 오디오 장치와 연결 시 SBU1 및 SBU2단자는 마이크 및 그라운드 검출 용도로 사용될 수 있다. 예를 들어, 커넥터가 제1방향으로 삽입되는 경우, SBU1 단자는 오디오 장치의 마이크 단자와 연결되고 SBU2 단자는 오디오 장치의 그라운드 단자와 연결될 수 있다. 또 다른 예를 들어, 커넥터가 제2방향으로 삽입되는 경우, SBU1 단자는 오디오 장치의 그라운드 단자와 연결되고 SBU2 단자는 오디오 장치의 마이크 단자와 연결될 수 있다.According to an embodiment, when the electronic device 101 is connected to an audio device, the SBU1 and SBU2 terminals may be used for microphone and ground detection purposes. For example, when the connector is inserted in the first direction, the SBU1 terminal may be connected to the microphone terminal of the audio device and the SBU2 terminal may be connected to the ground terminal of the audio device. For another example, when the connector is inserted in the second direction, the SBU1 terminal may be connected to the ground terminal of the audio device, and the SBU2 terminal may be connected to the microphone terminal of the audio device.
일 실시예에 따르면, 전자 장치(101)가 오디오 장치와 연결 시 CC1 및 CC2 단자 중 적어도 하나는 오디오 잭의 그라운드 검출단과 연결되는 포트로 사용될 수 있다. According to an embodiment, when the electronic device 101 is connected to an audio device, at least one of the CC1 and CC2 terminals may be used as a port connected to the ground detection terminal of the audio jack.
일 실시예에 따르면, 전자 장치(101)가 오디오 장치와 연결 시 CC1 및 CC2 단자 중 적어도 하나는 오디오 코덱의 제1 검출라인 및 제2 검출라인 중 적어도 하나와 연결되는 포트로 사용될 수 있다. According to an embodiment, when the electronic device 101 is connected to an audio device, at least one of the CC1 and CC2 terminals may be used as a port connected to at least one of the first detection line and the second detection line of the audio codec.
도 3a는 다양한 실시예에 따른 전자 장치와 커넥터를 도시하고, 도 3b는 전자 장치와 커넥터와의 연결 구조를 도식화하여 나타낸 도면이다. 3A is a diagram illustrating an electronic device and a connector according to various embodiments, and FIG. 3B is a diagram illustrating a connection structure between the electronic device and the connector.
도3a 및 3b를 참조하면, 일 실시예에 따른 전자 장치(101)는 커넥터(103)를 통해 외부 장치 예를 들어, 오디오 장치(360)와 연결될 수 있다. 커넥터(103)는 직렬 범용 버스(universal serial bus, 이하 USB) 규격에 따른 커넥터 일 수 있다. 예를 들어, 커넥터(103)는 USB 타입 C 커넥터일 수 있으나, 이에 한정 하지 않으며, HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service)을 포함하는 다양한 표준 규격의 유선 인터페이스 또는 비규격의 유선 인터페이스에 적용될 수 있다. 일 예를 들어, 커넥터(103)는, C 타입 플러그(341)와, 오디오 장치(360)와 연결되는 오디오 잭(342)을 포함할 수 있으나, 오디오 장치(360) 이외에 다른 액세서리 장치와 연결되는 포트 또는 다른 타입의 플러그와 연결되는 잭을 더 포함할 수도 있다. 3A and 3B, the electronic device 101 according to an embodiment may be connected to an external device, for example, an audio device 360 through a connector 103. The connector 103 may be a connector according to a universal serial bus (hereinafter referred to as USB) standard. For example, the connector 103 may be a USB Type C connector, but is not limited thereto, and includes a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), power line communication, or a plain old telephone service (POTS). It can be applied to wired interfaces of various standard standards or non-standard wired interfaces. For example, the connector 103 may include a C-type plug 341 and an audio jack 342 connected to the audio device 360, but connected to other accessory devices other than the audio device 360. It may further include a jack connected to a port or other type of plug.
일 실시예에 따르면, 오디오 장치(360)의 오디오 플러그는 커넥터(103)의 오디오 잭(342)에 삽입되고, 오디오 장치(360)는 커넥터(103)를 통해 전자 장치(101)와 연결될 수 있다. 전자 장치(101)는 커넥터(103) 및 커넥터 포트의 CC1 단자 및 CC2 단자(CC 단 및 Vconn단)를 통해 오디오 장치(360)가 연결됐음을 감지하고, 커넥터(103)가 오디오 액세서리 모드로 동작하도록 인식할 수 있다. According to an embodiment, the audio plug of the audio device 360 is inserted into the audio jack 342 of the connector 103, and the audio device 360 may be connected to the electronic device 101 through the connector 103. . The electronic device 101 detects that the audio device 360 is connected through the connector 103 and the CC1 terminal and the CC2 terminal (CC terminal and Vconn terminal) of the connector port, and the connector 103 operates in the audio accessory mode. Can be recognized to do.
오디오 액세서리 모드에서, 오디오 코덱(345)은 오디오 코덱(345)의 센싱 단자를 통해 오디오 잭의 그라운드 전압을 센싱하고, 센싱된 그라운드 전압을 기반으로 오디오 신호를 처리할 수 있다. 오디오 신호는 오디오 잭의 그라운드 단자를 기준점으로 출력되어 오디오 코덱(345)의 센싱 단자로 전달된다. 여기서, 오디오 잭의 L/R단자측에서 인식하는 그라운드 전압과, 오디오 코덱(345)의 센싱 단자측에서 센싱되는 그라운드 전압의 차이(예: 그라운드 임피던스(ground impedance))가 발생되며, 센싱 전압 차이로 인해 크로스톡(crosstalk)이 열화 될 수 있다. 이러한 크로스톡은 오디오 잭의 그라운드 단자와 오디오 코덱(345)의 센싱 단자 사이에 배치되는 반도체 소자(예: PCB, Contact, Soldering, Passive 소자) 또는 전류 리턴(current return)에 의해 달라질 수 있으며, 오디오 코덱(345)에서 오디오 잭의 그라운드 전압을 인식하는 센싱 위치에 따라 크로스톡 간섭에 대한 차이가 발생될 수 있다. In the audio accessory mode, the audio codec 345 may sense a ground voltage of an audio jack through a sensing terminal of the audio codec 345 and process an audio signal based on the sensed ground voltage. The audio signal is output to the ground terminal of the audio jack as a reference point and transmitted to the sensing terminal of the audio codec 345. Here, a difference between the ground voltage recognized by the L/R terminal side of the audio jack and the ground voltage sensed by the sensing terminal side of the audio codec 345 (eg, ground impedance) occurs, and the sensing voltage difference As a result, crosstalk may be deteriorated. Such crosstalk may be changed by a semiconductor device (eg, PCB, Contact, Soldering, Passive device) or a current return disposed between the ground terminal of the audio jack and the sensing terminal of the audio codec 345. A difference in crosstalk interference may occur according to a sensing position at which the codec 345 recognizes the ground voltage of the audio jack.
일 예를 들어, 도 3b는 전자 장치(101)와 커넥터(103)와의 연결 구조이며, 전자 장치(101)에서 그라운드 전압의 센싱 위치에 따른 센싱 전압의 차이를 설명하기 위해 전자 장치(101)의 오디오 코덱(345)이 VGR1 위치(304), VGR2 위치(303), VGR3 위치(302), VGR4 위치(301)에서 그라운드 전압을 센싱하는 것으로 가정한 예시이다. 도 3b는 설명의 편의를 위하여 도시하였을 뿐, 본 발명의 구성에 해당되지 않음이 명백하다. For example, FIG. 3B is a connection structure between the electronic device 101 and the connector 103. In order to explain the difference in sensing voltage according to the sensing position of the ground voltage in the electronic device 101, the electronic device 101 This example assumes that the audio codec 345 senses the ground voltage at the VGR1 position 304, the VGR2 position 303, the VGR3 position 302, and the VGR4 position 301. It is obvious that FIG. 3B is shown for convenience of description and does not correspond to the configuration of the present invention.
도 3b에 도시된 바와 같이, VGR1위치(304) 에서의 센싱 전압(Vsensing 1)은 ImA x (RAGND1+RAGND2+RAGND3+RAGND4)Ω 가 되며, VGR2 위치(303)에서의 센싱 전압(Vsensing 2)은 ImA x (RAGND2+RAGND3+RAGND4)Ω가 된다. VGR3위치(302)에서의 센싱 전압(Vsensing 3)은 ImA x (RAGND3+RAGND4)Ω 가 되며, VGR4위치(301)에서의 센싱 전압(Vsensing 4)은 ImA x (RAGND4)Ω가 될 수 있다. 센싱 전압을 비교해보면, 오디오 잭의 그라운드 단자 위치(예: 304)에서 멀어질수록 증가하는 임피던스 만큼 센싱 전압 차가 발생하는 것을 확인할 수 있다. 즉, 오디오 코덱(345)이 그라운드 전압을 센싱 할 때, 전자 장치(101)의 커넥터 포트 위치(예: 301)보다 오디오 잭의 그라운드 단자측의 위치(예: 304)에서 센싱하는 것이 좌/우 채널의 공통 그라운드 전압을 더 정확하게 센싱할 수 있다는 것을 확인할 수 있다. As shown in FIG. 3B, the sensing voltage (Vsensing 1) at the VGR1 position 304 becomes ImA x (R AGND1 +R AGND2 +R AGND3 +R AGND4 )Ω, and the sensing voltage at the VGR2 position 303 (Vsensing 2) becomes ImA x (R AGND2 +R AGND3 +R AGND4 )Ω. The sensing voltage (Vsensing 3) at VGR3 position (302) becomes ImA x (R AGND3 +R AGND4 )Ω, and the sensing voltage (Vsensing 4) at VGR4 position (301) becomes ImA x (R AGND4 )Ω. I can. Comparing the sensing voltage, it can be seen that the sensing voltage difference occurs as the impedance increases as the distance from the audio jack's ground terminal location (eg, 304) increases. That is, when the audio codec 345 senses the ground voltage, sensing at a position (eg, 304) on the ground terminal side of the audio jack rather than the connector port position (eg, 301) of the electronic device 101 is left/right. It can be seen that the common ground voltage of the channel can be sensed more accurately.
일반적으로, USB 타입 C 규격에 따르면 오디오 액세서리 모드일 시 오디오 그라운드(예: AGND)가 전자 장치의 커넥터 포트의 그라운드 단자(예: DGND)에서 연결될 수 있도록 권장하고 있다. 또한, USB 타입 C 규격에서는 오디오 잭의 그라운드 전압 센싱을 위한 연결 단자가 없어, 전자 장치 제조 시 커넥터 포트에서 오디오 잭의 그라운드 전압을 센싱하도록 구현될 수 있으며, 커넥터 포트에서 오디오 잭의 그라운드 전압을 센싱하는 구조적 문제로 인해 크로스톡 성능이 열화될 수 있다. 따라서, USB 타입 C 커넥터를 구비하는 전자 장치의 경우 크로스톡 열화를 최소화시킬 수 있는 방안이 요구된다. In general, according to the USB Type C standard, it is recommended that the audio ground (eg, AGND) be connected from the ground terminal (eg, DGND) of the connector port of an electronic device in the audio accessory mode. Also, in the USB Type C standard, there is no connection terminal for sensing the ground voltage of the audio jack, so it can be implemented to sense the ground voltage of the audio jack at the connector port when manufacturing an electronic device, and sense the ground voltage of the audio jack from the connector port. Crosstalk performance may deteriorate due to structural problems. Accordingly, in the case of an electronic device having a USB type C connector, a method of minimizing crosstalk degradation is required.
본 발명의 실시예에 따르면, 전자 장치(100)가 커넥터(103)를 통해 오디오 장치(360)와 연결 시 CC 단자들 중 적어도 하나가 오디오 장치(360)의 그라운드 검출단(G-detection)과 연결되는 경우, 오디오 코덱(345)은 오디오 장치(360)의 그라운드 검출단과 연결된CC 단자를 기반으로 오디오 장치의 그라운드 전압을 센싱하고, 센싱된 그라운드 전압을 좌/우로 출력되는 오디오 신호에 더해줌으로써 오디오 장치(360)와의 그라운드 전압 차이에 의해 발생하는 크로스 톡을 최소화할 수 있다. According to an embodiment of the present invention, when the electronic device 100 is connected to the audio device 360 through the connector 103, at least one of the CC terminals is connected to the ground detection terminal (G-detection) of the audio device 360. When connected, the audio codec 345 senses the ground voltage of the audio device based on the CC terminal connected to the ground detection terminal of the audio device 360, and adds the sensed ground voltage to the audio signals output to the left/right, Crosstalk caused by a difference in ground voltage with the device 360 may be minimized.
도 4는 다양한 실시예에 따른 전자 장치의 구조를 도시한다. . 4 illustrates a structure of an electronic device according to various embodiments. .
도 4를 참조하면, 일 실시예에 따른 전자 장치(101)는, 프로세서(410), 통신 인터페이스(430) 및 오디오 코덱(440)을 포함할 수 있다. 전자 장치(101)는 메모리(미도시)를 더 포함할 수 있으며, 이에 한정하지 않고, 도 1의 구성요소들 또는 적어도 일부를 포함할 수 있다. Referring to FIG. 4, the electronic device 101 according to an embodiment may include a processor 410, a communication interface 430, and an audio codec 440. The electronic device 101 may further include a memory (not shown), but is not limited thereto, and may include the components of FIG. 1 or at least some of them.
어떤 실시예에 따른 전자 장치(101)는 프로세서(410), 통신 인터페이스(430) 및 오디오 코덱(440) 이외에 DP 컨트롤러(450)를 더 포함할 수 있다. 전자 장치가 DP 컨트롤러(450)를 포함할 경우, DP 컨트롤러(450)는 스위칭 회로(135)의 SBU1_H, SBU2_H 단자와 연결될 수 있으며, Display Port Alt Mode 지원을 위한 HPD(Hot Plug Detect) 신호를 검출하는 기능, HEAC±(HDMI Ethernet and Audio Return Channel) 신호를 전송하는 기능을 지원할 수 있다. The electronic device 101 according to an embodiment may further include a DP controller 450 in addition to the processor 410, the communication interface 430, and the audio codec 440. When the electronic device includes the DP controller 450, the DP controller 450 may be connected to the SBU1_H and SBU2_H terminals of the switching circuit 135, and detects a Hot Plug Detect (HPD) signal for supporting Display Port Alt Mode. It can support the function that transmits HEAC±(HDMI Ethernet and Audio Return Channel) signals.
통신 인터페이스(430)는 커넥터 포트(431), 커넥터 연결 모드에 대응하여 신호 패스를 변경하는 스위칭 회로(435) 및 CC 회로(437)를 포함할 수 있다. The communication interface 430 may include a connector port 431, a switching circuit 435 for changing a signal path corresponding to the connector connection mode, and a CC circuit 437.
일 실시예에 따르면, 커넥터 포트(431)는 복수의 접속 단자들을 포함할 수 있다. 커넥터 포트(431)의 복수의 접속 단자들은 스위칭 회로(435)와 전기적으로 연결될 수 있다. 커넥터 포트(431)는 외부 장치의 커넥터(103)가 물리적 및 전기적으로 접속되는 구조로 형성될 수 있다. 커넥터 포트(431)의 접속 단자 구조에 대해서는 앞서 도 2b에서 설명하였으므로 생략하기로 한다. According to an embodiment, the connector port 431 may include a plurality of connection terminals. A plurality of connection terminals of the connector port 431 may be electrically connected to the switching circuit 435. The connector port 431 may be formed in a structure in which the connector 103 of an external device is physically and electrically connected. The structure of the connection terminal of the connector port 431 has been described above in FIG. 2B, and thus will be omitted.
일 실시예에 따르면, 스위칭 회로(435)는, 커넥터 연결 모드에 따른 기능을 지원하기 위해 복수 개의 스위치를 포함할 수 있다. 예를 들어, 스위칭 회로(435)는 USB/Audio 스위치, MIC/AGND/AUX/SBU_SENSE 스위치, CC/CC_SENSE 스위치 중 적어도 일부를 포함할 수 있다. 스위칭 회로(435)는 프로세서(410)의 제어 하에, 커넥터 연결 모드에 대응하여 전자 장치(101)의 신호 경로가 스위치들을 통해 변경되도록 구현될 수 있다. According to an embodiment, the switching circuit 435 may include a plurality of switches to support functions according to the connector connection mode. For example, the switching circuit 435 may include at least some of a USB/Audio switch, a MIC/AGND/AUX/SBU_SENSE switch, and a CC/CC_SENSE switch. The switching circuit 435 may be implemented such that the signal path of the electronic device 101 is changed through switches in response to the connector connection mode under the control of the processor 410.
일 실시예에 따르면, 스위칭 회로(435)는 CC센싱 라인이 CC 회로(437)와 연결되거나 오디오 코덱의 센싱 라인과 선택적으로 연결되도록 CC1 스위치, CC2 스위치 및 CC_SENSE 스위치를 포함할 수 있다. 스위칭 회로(435)는 프로세서(410)의 제어 하에, 전자 장치(101)가 오디오 장치의 그라운드 검출단과 연결된 경우 CC 센싱 라인이 오디오 코덱의 센싱 라인과 연결되고, 오디오 코덱이 오디오 장치의 그라운드 검출단을 기반으로 그라운드 전압을 검출하도록 구현될 수 있다. According to an embodiment, the switching circuit 435 may include a CC1 switch, a CC2 switch, and a CC_SENSE switch so that the CC sensing line is connected to the CC circuit 437 or selectively connected to the sensing line of the audio codec. The switching circuit 435 is controlled by the processor 410, when the electronic device 101 is connected to the ground detection terminal of the audio device, the CC sensing line is connected to the sensing line of the audio codec, and the audio codec is connected to the ground detection terminal of the audio device. It may be implemented to detect the ground voltage based on.
일 실시예에 따르면, CC 회로(437)는 CC단자들(예: CC1 단자 및 CC2 단자) 로부터 인식된 신호를 기반으로 커넥터(103)의 삽입/분리 검출, 플러그 삽입 방향 검출 및 커넥터 연결 모드를 식별할 수 있다. CC 회로(437)는 커넥터 포트(431)에 포함된 CC1 단자 및 CC2 단자 중 적어도 하나를 통해 입력되는 신호에 기반하여 커넥터 관련된 상황을 인식 하고, 이를 프로세서(410)로 전달할 수 있다. According to an embodiment, the CC circuit 437 detects insertion/detachment of the connector 103, detection of a plug insertion direction, and a connector connection mode based on signals recognized from CC terminals (eg, CC1 terminal and CC2 terminal). Can be identified. The CC circuit 437 may recognize a situation related to a connector based on a signal input through at least one of a CC1 terminal and a CC2 terminal included in the connector port 431 and transmit it to the processor 410.
일 실시예에 따르면, CC 회로(437)는 CC1 및 CC2 단자를 기반으로 오디오 장치의 G검출단과 L 검출단의 임피던스 센싱을 감지하고 그라운드(ground)와 로드(load)를 구별할 수 있다. 일 실시예에 따르면, CC 회로(437)는 CC1 및 CC2 단자에서 인식된 신호로부터 DFP(Downstream Facing Port)와 UFP(Upstream Facing Port)간의 연결/분리(예컨대, 커넥터(103) 또는 외부 장치의 삽입/분리)를 인지할 수 있다. According to an embodiment, the CC circuit 437 may sense impedance sensing of the G detection terminal and the L detection terminal of the audio device based on the CC1 and CC2 terminals and distinguish between a ground and a load. According to an embodiment, the CC circuit 437 connects/disconnects between a Downstream Facing Port (DFP) and an Upstream Facing Port (UFP) from signals recognized at CC1 and CC2 terminals (eg, inserting a connector 103 or an external device). /Separation) can be recognized.
일 실시예에 따르면, CC 회로(437)는 CC1 및 CC2 단자에서 인식된 신호로부터 커넥터(103)의 접속 방향을 인지할 수 있다. CC1 및 CC2 단자는 커넥터(103) 인식 방향과 기능 확인을 위해 주기적으로 H/L로 토글링 될 수 있으며, 이 때, H 구간을 생성하기 위해 current sourcing 방식과 resistor pull-up 방식이 정의될 수 있다. According to an embodiment, the CC circuit 437 may recognize the connection direction of the connector 103 from signals recognized at the CC1 and CC2 terminals. The CC1 and CC2 terminals can be toggled to H/L periodically to check the connector 103 recognition direction and function, and at this time, the current sourcing method and resistor pull-up method can be defined to create the H section. have.
일 실시예에 따르면, CC 회로(437)는 CC1 및 CC2 단자에서 인식된 신호로부터 전자 장치(101)와 외부 장치의 관계에서 호스트(소스(source))와 디바이스(싱크(sink))의 역할 결정과 전원 공급자를 검출할 수 있다. 예를 들어, 호스트와 디바이스의 역할 결정은 어느 하나의 CC 단자가 호스트(DFP)로 사용되는 호스트 전용 모드, 어느 하나의 CC 단자가 디바이스(UFP)로 사용되는 디바이스 전용 모드, 어느 하나의 CC 단자가 호스트 및 디바이스 양쪽 모드로 사용되는 양쪽 모드일 수 있다. 일 예를 들어, CC 회로(437)는 CC1 및 CC2 단자에서 인식된 신호로부터 가장 많은 전력을 호스트가 디바이스에게 제공할 수 있는PD (power delivery) 방법을 통하여 전력을 제공하는 호스트와, 이를 공급받는 디바이스 역할을 결정할 수 있다. According to an embodiment, the CC circuit 437 determines the role of the host (source) and the device (sink) in the relationship between the electronic device 101 and the external device from signals recognized at the CC1 and CC2 terminals. And can detect the power supplier. For example, the role of the host and the device is determined in a host-only mode in which one CC terminal is used as a host (DFP), a device-only mode in which one CC terminal is used as a device (UFP), and any one CC terminal. May be both modes used as both host and device modes. For example, the CC circuit 437 is a host that provides power through a PD (power delivery) method in which the host can provide the most power to the device from signals recognized at the CC1 and CC2 terminals, and receives the power. Device role can be determined.
일 실시예에 따르면, CC 회로(437)는 CC1 및 CC2 단자에서 인식된 저항값을 기반으로 USB 타입 C VBUS 전류 용량을 특정값(예 1.5 A 또는 3A)으로 결정할 수 있다. According to an embodiment, the CC circuit 437 may determine the USB type C VBUS current capacity as a specific value (eg 1.5 A or 3A) based on resistance values recognized at the CC1 and CC2 terminals.
일 실시예에 따르면, 프로세서(410)는 전자 장치(101)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있다. 프로세서(410)는 오디오 코덱(440), CC 회로(437), 스위칭 회로(435)와 연결될 수 있으며, 커넥터 포트(431) 및 커넥터(103)가 연결된 외부 장치와 관련된 동작을 수행할 수 있도록 스위칭 회로(435) 및 오디오 코덱(440)을 제어할 수 있다. 메모리(미도시)는 프로세서(410)에서 수행될 수 있는 다양한 산술 및 논리 연산, 데이터 이동, 입출력 등의 제어 명령 등의 인스트럭션(instruction)들을 저장할 수 있으며, 후술할 프로세서(410)의 동작들은 메모리에 저장된 인스트럭션들을 로딩함으로써 수행될 수 있다. According to an embodiment, the processor 410 may control components of the electronic device 101 and/or perform an operation or data processing related to communication. The processor 410 may be connected to the audio codec 440, the CC circuit 437, and the switching circuit 435, and the connector port 431 and the connector 103 are switched to perform an operation related to the connected external device. The circuit 435 and the audio codec 440 can be controlled. The memory (not shown) may store instructions such as various arithmetic and logical operations, data movement, and control instructions such as input/output, which can be performed by the processor 410, and operations of the processor 410 to be described later are memory. This can be done by loading instructions stored in.
일 실시예에 따르면, 프로세서(410)는, CC 회로(437)로부터 CC1 단자 및 CC2 단자를 통해 입력되는 신호를 기반으로 오디오 장치가 연결됐음을 감지하고, 커넥터 연결 모드에 따라 스위칭 회로(435) 내부의 신호 경로가 스위칭되도록 제어할 수 있다. According to an embodiment, the processor 410 detects that the audio device is connected based on signals input from the CC circuit 437 through the CC1 terminal and the CC2 terminal, and the switching circuit 435 according to the connector connection mode. The signal path inside can be controlled to be switched.
일 실시예에 따르면, 프로세서(410)는, 커넥터(103)를 통해 연결된 외부 장치, 커넥터 플러그의 종류 또는 커넥터 연결 모드에 따라 스위칭 회로(435)의 스위칭을 제어할 수 있다. 커넥터 연결 모드는, DFP(downstream facing port) 모드, UFP(upstream facing port) 모드, 제1 오디오 액세서리 모드, 제2 오디오 액세서리 모드, 전력 공급 모드, 데이터 전송 모드 중 적어도 하나를 포함할 수 있다.According to an embodiment, the processor 410 may control switching of the switching circuit 435 according to an external device connected through the connector 103, a type of a connector plug, or a connector connection mode. The connector connection mode may include at least one of a downstream facing port (DFP) mode, an upstream facing port (UFP) mode, a first audio accessory mode, a second audio accessory mode, a power supply mode, and a data transmission mode.
일 실시예에 따르면, 프로세서(410)는, 오디오 장치가 커넥터(103)를 통해 연결 시 CC1 단자 및 CC2 단자를 중 적어도 하나가 오디오 장치의 그라운드 검출단과 연결되는 경우, 오디오 장치의 그라운드 검출단과 연결된CC 단자를 상기 오디오 코덱과 연결되도록 스위칭 회로(435)를 제어할 수 있다. According to an embodiment, when the audio device is connected through the connector 103, the processor 410 is connected to the ground detection terminal of the audio device when at least one of the CC1 terminal and the CC2 terminal is connected to the ground detection terminal of the audio device. The switching circuit 435 may be controlled to connect the CC terminal to the audio codec.
일 실시예에 따르면, 프로세서(410)는 CC1 및 CC2 둘 다 풀다운 저항값 이하로 감지된 상태에서, 어느 하나의 단자의 저항값이 설정된 임계값(예: 1Ω) 이하로 감지되고, 다른 하나의 단자는 설정된 임계값을 초과하여 감지되는 경우, 설정된 임계값 이하로 저항값이 감지된 CC 단자(예: CC1)는 CC 회로(437)와의 연결을 차단하고, 오디오 코덱(440)의 센싱 라인과 연결되도록 스위칭하고, 설정된 임계값을 초과하는 다른 단자(예: CC2)는 오디오 잭의 로드(load)값을 인식하고 커넥터(103)의Vconn 단자 및 CC 회로(437)가 연결되도록 스위칭할 수 있다. According to an embodiment, the processor 410 detects that both of CC1 and CC2 are less than the pull-down resistance value, the resistance value of one terminal is sensed to be less than a set threshold (eg, 1Ω), and the other When the terminal is detected exceeding the set threshold, the CC terminal (eg, CC1) whose resistance value is less than the set threshold value is cut off the connection with the CC circuit 437, and is connected to the sensing line of the audio codec 440. Switch to be connected, and another terminal (eg, CC2) exceeding a set threshold value can be switched to recognize the load value of the audio jack and connect the Vconn terminal and the CC circuit 437 of the connector 103 .
일 실시예에 따르면, 프로세서(410)는, 오디오 장치가 연결된 경우, 오디오 코덱(440)을 제어하여 커넥터(103)를 통해 오디오 신호가 송수신되도록 제어할 수 있다. According to an embodiment, when an audio device is connected, the processor 410 may control the audio codec 440 to transmit/receive an audio signal through the connector 103.
일 실시예에 따르면, 오디오 코덱(440)은, 프로세서(410)의 제어 하에, 아날로그 오디오 신호를 디지털 신호로 디지털 신호로 인코딩하고 디지털 신호를 아날로그 오디오 신호로 디코딩할 수 있다. 오디오 코덱(440)은 L/R채널 오디오 신호를 생성하고, 스위칭 회로(435)를 통해 커넥터(103)의 D+ 단자 및 D- 단자로 L/R 채널 오디오 신호를 전달할 수 있다. According to an embodiment, the audio codec 440 may encode an analog audio signal into a digital signal into a digital signal and decode the digital signal into an analog audio signal under the control of the processor 410. The audio codec 440 may generate an L/R channel audio signal, and transmit the L/R channel audio signal to the D+ terminal and the D- terminal of the connector 103 through the switching circuit 435.
오디오 코덱(440)은 L 오디오 신호를 증폭하는 제1 증폭기와, R오디오 신호를 증폭하는 제2 증폭기를 포함하며, 오디오 코덱의 센싱 라인을 통해 센싱된 그라운드 임피던스 전압값을 기반으로 L/R오디오 신호를 증폭시킬 수 있다. The audio codec 440 includes a first amplifier that amplifies the L audio signal and a second amplifier that amplifies the R audio signal, and based on the ground impedance voltage value sensed through the sensing line of the audio codec, L/R audio Can amplify the signal.
일 실시예에 따르면, 오디오 코덱(440)은, 오디오 장치의 그라운드 검출단과 연결된CC 단자를 기반으로 오디오 장치의 그라운드 전압을 센싱하고, 센싱된 그라운드 전압을 기반으로 오디오 신호를 증폭할 수 있다. According to an embodiment, the audio codec 440 may sense a ground voltage of an audio device based on a CC terminal connected to a ground detection terminal of the audio device, and amplify an audio signal based on the sensed ground voltage.
일 실시예에 따르면, 오디오 코덱(440)은, 좌음향 라인, 우음향 라인, 마이크 라인 및 상기 그라운드 전압 감지를 위한 센싱 라인, CC1 단과 선택적으로 연결되는 제1 검출 라인 및CC2 단과 선택적으로 연결되는 제2 검출 라인 중 적어도 하나를 포함할 수 있다. According to an embodiment, the audio codec 440 includes a left sound line, a right sound line, a microphone line, and a sensing line for sensing the ground voltage, a first detection line selectively connected to the CC1 terminal, and a CC2 terminal. It may include at least one of the second detection lines.
일 실시예에 따르면, 오디오 코덱(440)의 센싱 라인은 CC단자들 중 오디오 장치의 그라운드 검출단과 연결된 CC 단자와 선택적으로 연결되거나, SBU(sideband unit) 1단자 및 SBU2단자 중 적어도 하나와 선택적으로 연결될 수 있다. According to an embodiment, the sensing line of the audio codec 440 is selectively connected to a CC terminal connected to a ground detection terminal of an audio device among CC terminals, or selectively connected to at least one of a sideband unit (SBU) terminal 1 and an SBU2 terminal. Can be connected.
일 실시예에 따르면, 전자 장치(101)의 커넥터 포트(431)에 삽입되는 커넥터(103)는 커넥터 포트(431)에 포함된 연결 단자들과 물리적 및 전기적으로 접속될 수 있는 복수 개의 커넥터 단자들을 포함할 수 있다. 예를 들어, 커넥터(103)는 USB 타입 C의 커넥터 또는 USB 타입 C 커넥터 케이블 일 수 있다. USB 타입 C 커넥터 케이블은 USB 타입 C 플러그, 오디오 잭 및/또는 USB 타입 C 이어폰 중 적어도 하나를 포함할 수 있다. According to an embodiment, the connector 103 inserted into the connector port 431 of the electronic device 101 includes a plurality of connector terminals that can be physically and electrically connected to the connection terminals included in the connector port 431. Can include. For example, the connector 103 may be a USB type C connector or a USB type C connector cable. The USB type C connector cable may include at least one of a USB type C plug, an audio jack, and/or a USB type C earphone.
일 실시예에 따르면, 커넥터(103)는 오디오 잭의 G 검출단과 L 검출단이 전기적으로 연결되어 커넥터(103)의 CC 단 및 Vconn 단으로 연결된 구조일 수 있다. According to one embodiment, the connector 103 is the G detection end and the L The detection terminal may be electrically connected and connected to the CC terminal and the Vconn terminal of the connector 103.
일 실시예에 따르면, 커넥터(103)는 오디오 잭의 G 검출단이 CC 단 및 Vconn 단 중 하나의 단자에 연결되면, L 검출단은 G 검출단과 연결되지 않는 다른 하나의 단자와 연결된 구조일 수 있다. According to an embodiment, when the G detection terminal of the audio jack is connected to one of the CC terminal and the Vconn terminal, the L detection terminal may be connected to the other terminal not connected to the G detection terminal. have.
도 5는 다양한 실시예에 따른 오디오 신호의 크로스톡을 방지하기 위한 방법을 도시한다. 5 illustrates a method for preventing crosstalk of an audio signal according to various embodiments.
도 5를 참조하면, 일 실시예에 따른 전자 장치(101)의 프로세서(예: 도 1의 프로세서(120), 도 4의 프로세서(410))는, 510동작에서 CC 단자들의 신호를 기반으로 오디오 장치의 삽입(예: 오디오 플러그 삽입)을 검출할 수 있다. 일 예를 들어, 전자 장치는 USB 타입 C 커넥터(예: 도 4의 커넥터(103))를 기반으로 오디오 장치와 연결될 수 있다. Referring to FIG. 5, a processor of the electronic device 101 according to an embodiment (for example, the processor 120 of FIG. 1, the processor 410 of FIG. 4) is Device insertion (eg audio plug insertion) can be detected. For example, the electronic device may be connected to an audio device based on a USB Type C connector (eg, the connector 103 of FIG. 4 ).
일 실시예에 따르면, 프로세서는 도 4의 CC 회로를 기반으로 CC 단자들의 접촉 신호에 대한 정보를 제공받고, 오디오 장치와 연결된 커넥터의 삽입을 감지하고 커넥터 연결 모드를 인식할 수 있다. According to an embodiment, the processor may receive information on contact signals of CC terminals based on the CC circuit of FIG. 4, detect insertion of a connector connected to an audio device, and recognize a connector connection mode.
일 실시예에 따르면, 프로세서(또는 CC 회로)는 CC1 및 CC2 중 적어도 하나에서 인식된 저항이 풀다운되는 경우, 커넥터를 통해 외부 장치가 연결됐음을 감지할 수 있다. 외부 장치가 헤드폰, 이어폰, 스피커 등의 오디오 장치인 경우 전자 장치와 연결 시 CC1 및 CC2 단자(또는 CC 및 Vconn 단자) 둘 다 1.2kΩ 범위 이하로 인식되도록 설계 될 수 있다. 프로세서는, CC1 및 CC2 둘 다에서 인식된 저항이 1.2kΩ 범위 이하인 경우 오디오 장치가 삽입됐음을 인식할 수 있다. According to an embodiment, when a resistance recognized by at least one of CC1 and CC2 is pulled down, the processor (or CC circuit) may detect that an external device is connected through a connector. When the external device is an audio device such as headphones, earphones, and speakers, both of the CC1 and CC2 terminals (or CC and Vconn terminals) can be designed to be recognized as less than 1.2kΩ when connected to an electronic device. The processor can recognize that the audio device has been inserted if the recognized resistance in both CC1 and CC2 is less than or equal to 1.2kΩ.
520 동작에서, 프로세서는 커넥터와 연결된 오디오 장치와의 오디오 액세서리 모드 타입을 결정할 수 있다. In operation 520, the processor may determine an audio accessory mode type with an audio device connected to the connector.
일 실시예에 따르면, 프로세서는, CC1 및 CC2 둘 다에서 저항이 1.2kΩ 이하의 범위에서 인식된 상태에서, CC1 및 CC2 중 적어도 하나가 오디오 장치의 오디오 잭 그라운드로 연결된 구조인지를 식별할 수 있다. According to an embodiment, the processor may identify whether at least one of CC1 and CC2 is connected to the audio jack ground of the audio device while the resistance is recognized in the range of 1.2 kΩ or less in both CC1 and CC2. .
예를 들어, 프로세서는 커넥터의 CC 및 Vconn 단자와 접촉하는CC1 및 CC2 단자 중 하나에서 인식된 저항이 설정된 임계값(예: 1Ω)이하로 인식되고, 다른 하나에서 인식된 저항이 설정된 임계값(예: 1Ω)을 초과하는 경우, 커넥터의 CC 단자가 오디오 잭 그라운드로 연결된 구조(예: 제1 오디오 액세서리 모드)로 인식할 수 있다. 오디오 잭 그라운드가 커넥터의 CC 단자와 연결된 구조인 경우, 530 동작에서, 프로세서는, 제1 오디오 액세서리 모드를 위해 오디오 코덱의 센싱 라인과 어느 하나의 CC단자와 연결되도록 스위칭 할 수 있다.For example, the processor recognizes that the resistance recognized at one of the CC1 and CC2 terminals in contact with the CC and Vconn terminals of the connector is below a set threshold (e.g., 1Ω), and the resistance recognized by the other is set Example: 1Ω), the CC terminal of the connector can be recognized as a structure connected to the audio jack ground (eg, the first audio accessory mode). When the audio jack ground is connected to the CC terminal of the connector, in operation 530, the processor may switch to be connected to the sensing line of the audio codec and any one CC terminal for the first audio accessory mode.
일 예를 들어, 제1 오디오 액세서리 모드일 경우, 프로세서는, CC 단자 중 설정된 임계값(예: 1Ω)이하로 인식된 단자는 오디오 잭의 그라운드 검출단과 오디오 코덱의 센싱 라인과 연결되도록 신호 라인을 스위칭하고, 다른 하나의 CC 단자는 오디오 잭의 로드(load)값을 인식하도록 커넥터의Vconn 단자와 CC 회로가 연결되도록 신호 라인을 스위칭하도록 제어할 수 있다. 즉, 제1 오디오 액세서리 모드일 경우 CC1 및 CC2 중 하나의 단자는 CC로직과 연결되고, 다른 하나의 단자는 오디오 코덱과 연결될 수 있다. For example, in the case of the first audio accessory mode, the processor sets a signal line to be connected to the ground detection terminal of the audio jack and the sensing line of the audio codec. Switching, and the other CC terminal can be controlled to switch the signal line so that the Vconn terminal of the connector and the CC circuit are connected to recognize a load value of the audio jack. That is, in the case of the first audio accessory mode, one terminal of CC1 and CC2 may be connected to the CC logic, and the other terminal may be connected to the audio codec.
540 동작에서, 프로세서는 스위칭에 따라 변경된 오디오 신호 패스를 기반으로 전자 장치와 연결된 오디오 장치와 오디오 기능을 수행할 수 있다. In operation 540, the processor may perform an audio function with an audio device connected to the electronic device based on the audio signal path changed according to the switching.
일 실시예에 따르면, 프로세서는 커넥터의 CC 및 Vconn 단자와 접촉하는CC1 및 CC2 단자 둘 다 설정된 임계값(예: 1Ω)을 초과하는 경우, 커넥터의 CC 단자가 오디오 잭 그라운드로 연결되지 않는 구조(예: 제2 오디오 액세서리 모드)로 인식할 수 있다. According to one embodiment, the processor has a structure in which the CC terminal of the connector is not connected to the audio jack ground when both the CC1 and CC2 terminals in contact with the CC and Vconn terminals of the connector exceed a set threshold (for example, 1Ω). Example: Second audio accessory mode).
오디오 잭 그라운드가 커넥터의 CC 단자와 연결되지 않는 구조인 경우, 540 동작에서, 프로세서는 제2 오디오 액세서리 모드를 유지하거나, 오디오 코덱의 센싱 라인과 어느 하나의 SBU 단자가 연결되도록 스위칭할 수 있다. 일 실시예에 따르면, 제2 오디오 액세서리 모드는, 미리 설정된 로직에 따라 연결된 오디오 장치와의 기능 모드일 수 있다. 제2 오디오 액세서리는 USB 타입 C 규격에 정의된 로직일 수 있다. 예를 들어, 전자 장치 제조 시 디폴트된 모드가 제2 오디오 액세서리 모드일 수 있다. 제2 오디오 액세서리 모드의 경우 CC1 및 CC2 는 CC 회로와 연결되고 커넥터 포트의 SBU1 및 SBU2 단자 중 적어도 하나가 오디오 코덱의 센싱 포트와 연결되어 오디오 잭의 그라운드 검출단과 연결될 수 있다.When the audio jack ground is not connected to the CC terminal of the connector, in operation 540, the processor may maintain the second audio accessory mode or switch the sensing line of the audio codec to connect one SBU terminal. According to an embodiment, the second audio accessory mode may be a functional mode with an audio device connected according to a preset logic. The second audio accessory may be logic defined in the USB Type C standard. For example, when manufacturing an electronic device, a default mode may be the second audio accessory mode. In the second audio accessory mode, CC1 and CC2 may be connected to a CC circuit, and at least one of SBU1 and SBU2 terminals of a connector port may be connected to a sensing port of an audio codec to be connected to a ground detection terminal of an audio jack.
다른 예를 들어, 프로세서는 제2 오디오 액세서리 모드에서, 커넥터 포트의 SBU1 및 SBU2 단자 중 적어도 하나를 오디오 코덱의 센싱 포트와 연결되도록 스위칭할 수 있다. For another example, in the second audio accessory mode, the processor may switch at least one of the SBU1 and SBU2 terminals of the connector port to be connected to the sensing port of the audio codec.

Claims (15)

  1. 복수의 단자들을 포함하는 USB타입 C 커넥터를 통해 오디오 장치와 연결되는 통신 인터페이스; A communication interface connected to the audio device through a USB type C connector including a plurality of terminals;
    상기 통신 인터페이스와 연결되는 오디오 코덱; 및An audio codec connected to the communication interface; And
    상기 통신 인터페이스 및 오디오 코덱과 동작적으로 연결되는 프로세서를 포함하고, And a processor operatively connected to the communication interface and the audio codec,
    상기 프로세서는, The processor,
    상기 USB타입 C 커넥터를 통해 오디오 장치의 삽입을 감지하고, 오디오 장치 삽입 시 상기 복수의 단자들 중 적어도 하나의CC (Configuration Channel) 단자가 상기 오디오 장치의 그라운드 검출단과 연결되는 경우, 상기 오디오 장치의 그라운드 검출단과 연결된CC 단자를 상기 오디오 코덱과 연결되도록 통신 인터페이스를 제어하고, When the insertion of an audio device is detected through the USB type C connector, and when at least one of the plurality of terminals is connected to the ground detection terminal of the audio device when the audio device is inserted, the audio device Control the communication interface so that the CC terminal connected to the ground detection terminal is connected to the audio codec,
    상기 오디오 코덱은, 상기 오디오 장치의 그라운드 검출단과 연결된CC 단자를 기반으로 오디오 장치의 그라운드 전압을 센싱하고, 센싱된 그라운드 전압을 기반으로 오디오 신호를 증폭하도록 설정된 전자 장치. The audio codec is configured to sense a ground voltage of an audio device based on a CC terminal connected to a ground detection terminal of the audio device, and amplify an audio signal based on the sensed ground voltage.
  2. 제1항에 있어서, The method of claim 1,
    상기 프로세서는, The processor,
    상기 통신 인터페이스가 CC 단자들 중 어느 하나의 CC 단자가 상기 오디오 장치의 그라운드 검출단과 연결되는 경우, 제1 오디오 액세서리 모드로 동작하도록 설정하고, CC 단자들이 상기 오디오 장치의 그라운드 검출단과 연결되지 않는 경우 제2 오디오 액세서리 모드로 동작하도록 설정된 전자 장치. When the communication interface is configured to operate in a first audio accessory mode when any one of the CC terminals is connected to the ground detection terminal of the audio device, and the CC terminals are not connected to the ground detection terminal of the audio device An electronic device configured to operate in a second audio accessory mode.
  3. 제2항에 있어서, The method of claim 2,
    상기 제1 오디오 액세서리 모드는, 상기 오디오 코덱이 상기 오디오 장치의 그라운드 검출단과 연결된 CC 단자를 기반으로 상기 오디오 장치의 그라운드 전압을 센싱하고,In the first audio accessory mode, the audio codec senses a ground voltage of the audio device based on a CC terminal connected to a ground detection terminal of the audio device,
    상기 제2 오디오 액세서리 모드는, 상기 오디오 코덱이 SBU(sideband unit) 단자를 통해 상기 전자 장치의 그라운드와 연결되어 그라운드 전압을 센싱하는 전자 장치. In the second audio accessory mode, the audio codec is connected to the ground of the electronic device through a sideband unit (SBU) terminal to sense a ground voltage.
  4. 제3항에 있어서, The method of claim 3,
    상기 오디오 코덱은, The audio codec,
    상기 그라운드 전압 감지를 위한 센싱 라인이 오디오 장치와의 커넥터 연결 모드에 따라 CC단자를 이용하는 CC 센싱 라인과 연결되거나, SBU 단자를 이용하는 SBU 센싱 라인과 연결되는 구조로 설정된 전자 장치. The electronic device configured to have a structure in which the sensing line for sensing the ground voltage is connected to a CC sensing line using a CC terminal or an SBU sensing line using an SBU terminal according to a connector connection mode with an audio device.
  5. 제1항에 있어서, The method of claim 1,
    상기 통신 인터페이스와 연결되는 CC 회로를 더 포함하고, Further comprising a CC circuit connected to the communication interface,
    상기 프로세서는, The processor,
    상기 통신 인터페이스의 CC 단자들 중 상기 오디오 장치의L 검출단과 연결되는 다른 CC 단자를 상기 CC 회로에 연결되도록 제어하고, 상기 오디오 장치의L 검출단과 연결되는 다른 CC 단자를 기반으로 상기 오디오 장치의 분리 여부를 감지하도록 설정된 전자 장치. Controlling another CC terminal connected to the L detection terminal of the audio device among the CC terminals of the communication interface to be connected to the CC circuit, and separation of the audio device based on another CC terminal connected to the L detection terminal of the audio device An electronic device set up to detect whether or not.
  6. 제1항에 있어서, The method of claim 1,
    상기 통신 인터페이스는, The communication interface,
    복수의 단자를 포함하는 커넥터 포트; A connector port including a plurality of terminals;
    상기 복수의 단자 중 적어도 일부와 연결되고, 커넥터 연결 모드에 대응하여 신호 패스를 결정하는 스위칭 회로; 및 A switching circuit connected to at least a portion of the plurality of terminals and determining a signal path corresponding to a connector connection mode; And
    상기 복수의 단자 중 CC 단자들로부터 인식된 신호를 기반으로 커넥터 삽입/분리 감지, 플러그 삽입 방향 감지 및 커넥터 연결 모드를 식별하도록 설정된 CC 회로를 더 포함하는 전자 장치. The electronic device further comprises a CC circuit configured to detect connector insertion/detachment detection, plug insertion direction detection, and connector connection mode based on signals recognized from CC terminals among the plurality of terminals.
  7. 제6항에 있어서, The method of claim 6,
    상기 CC 회로는, The CC circuit,
    상기 CC단자들로부터 인식된 저항값을 확인하고, Check the resistance value recognized from the CC terminals,
    상기 CC단자들의 저항값이 풀다운 저항값 이하로 감지하는 경우, 상기 오디오 장치가 인식됐음을 인식하고, When the resistance value of the CC terminals is detected to be less than or equal to the pull-down resistance value, it recognizes that the audio device has been recognized,
    상기 CC단자들의 저항값이 풀다운 저항값 이하로 감지된 상태에서 어느 하나의 단자는 설정된 임계값 이하로 감지되며, 다른 하나의 단자는 설정된 임계값을 초과하여 감지되는 경우, 설정된 임계값 이하로 저항값이 감지된 CC 단자를 기반으로 그라운드 전압을 센싱하는 제1 오디오 액세서리 모드로 인식하고, When the resistance value of the CC terminals is sensed below the pull-down resistance value, one terminal is sensed below the set threshold value, and the other terminal is sensed beyond the set threshold value, the resistance value is below the set threshold value. Recognizes as the first audio accessory mode that senses the ground voltage based on the detected CC terminal,
    상기 CC단자들의 저항값이 풀다운 저항값 이하로 감지되고 CC 단자들 모두 설정된 임계값을 초과하여 감지되는 경우, SBU(sideband unit) 단자를 기반으로 그라운드 전압을 센싱하는 제2 오디오 액세서리 모드로 인식하고 상기 프로세서로 인식된 액세서리 모드 정보를 전달하도록 설정된 전자 장치. When the resistance values of the CC terminals are detected to be less than the pull-down resistance value and all of the CC terminals are detected exceeding the set threshold, the second audio accessory mode is recognized as sensing a ground voltage based on a sideband unit (SBU) terminal. An electronic device configured to transmit accessory mode information recognized by the processor.
  8. 제7항에 있어서, The method of claim 7,
    상기 CC 회로는, The CC circuit,
    상기 제1 액세서리 모드로 동작 시 CC 단자들 중 어느 하나의 단자에서 측정된 저항값이 상기 풀다운 저항값을 초과하는 경우 상기 오디오 장치의 분리를 감지하도록 설정된 전자 장치. An electronic device configured to detect disconnection of the audio device when a resistance value measured at any one of CC terminals exceeds the pull-down resistance value when operating in the first accessory mode.
  9. 제5항에 있어서, The method of claim 5,
    상기 프로세서는, The processor,
    상기 USB타입 C 커넥터와 연결된 오디오 장치가 분리된 경우, 통신 인터페이스의 신호 패스를 디폴트 모드로 변경하도록 설정된 전자 장치. An electronic device configured to change a signal path of a communication interface to a default mode when the audio device connected to the USB type C connector is disconnected.
  10. 제5항에 있어서, The method of claim 5,
    상기 스위칭 회로는, The switching circuit,
    상기 CC 로직의 CC1 라인과 및 CC2 라인이 각각 풀다운 저항과 연결되고, The CC1 line and the CC2 line of the CC logic are respectively connected to a pull-down resistor,
    상기 오디오 코덱의 제1 검출 라인 및 제2 검출 라인은 통신 인터페이스의 상기 제1 CC단 및 제2 CC단과 연결되어 상기 오디오 장치와 연결되는 구조로 설정된 전자 장치. The first detection line and the second detection line of the audio codec are connected to the first CC terminal and the second CC terminal of the communication interface, the electronic device configured to be connected to the audio device.
  11. 제10항에 있어서, The method of claim 10,
    상기 프로세서는, The processor,
    상기 CC 단자들 중 상기 오디오 장치의 그라운드 검출단과 연결된 제1 CC 단자를 상기 오디오 코덱의 센싱 라인과 연결되도록 스위칭하고, Switching the first CC terminal connected to the ground detection terminal of the audio device among the CC terminals to be connected to the sensing line of the audio codec,
    상기 CC회로의 CC1 라인과 및 CC2 라인이 각각 풀다운 저항과 연결되고 상기 제1 CC 및 제2 CC 단자를 상기 CC 회로와 연결 해제되도록 스위칭하고,Switching so that the CC1 line and the CC2 line of the CC circuit are connected to a pull-down resistor, respectively, and the first CC and second CC terminals are disconnected from the CC circuit,
    상기 제1 CC단자 및 제2 CC 단자가 오디오 코덱의 상기 제1 검출 라인 및 제2 검출 라인과 연결되도록 스위칭하고, Switching so that the first CC terminal and the second CC terminal are connected to the first detection line and the second detection line of the audio codec,
    상기 오디오 코덱의 상기 제1 검출 라인 및 제2 검출 라인을 기반으로 상기 오디오 장치의 분리를 감지하도록 설정된 전자 장치. An electronic device configured to detect separation of the audio device based on the first detection line and the second detection line of the audio codec.
  12. 제11항에 있어서, The method of claim 11,
    상기 오디오 코덱은, The audio codec,
    상기 제1 검출 라인 및 제2 검출 라인을 통해 상기 오디오 장치의 그라운드 검출단과 연결된 제1 CC 단자 또는 제2 CC단자에서 측정된 전압이 설정된 임계전압보다 높은 경우 상기 오디오 장치가 분리됐음을 감지하도록 설정된 전자 장치.When the voltage measured at the first CC terminal or the second CC terminal connected to the ground detection terminal of the audio device through the first detection line and the second detection line is higher than a set threshold voltage, it is set to detect that the audio device is disconnected. Electronic device.
  13. 제1항에 있어서, The method of claim 1,
    상기 USB타입 C 커넥터는, The USB type C connector,
    USB타입 C 플러그 및 적어도 하나의 외부 장치와의 연결 잭을 포함하고, 상기 연결 잭이 오디오 잭일 경우, 상기 USB 타입 C 플러그의 CC 및 Vconn 단자 중 적어도 하나는 오디오 잭의 그라운드 임피던스를 측정하는 그라운드 검출단과 연결되는 구조로 설정된 전자 장치.Ground detection that includes a USB type C plug and a connection jack for at least one external device, and when the connection jack is an audio jack, at least one of the CC and Vconn terminals of the USB type C plug measures the ground impedance of the audio jack An electronic device set up in a structure connected to the stage.
  14. 제13항에 있어서, The method of claim 13,
    상기 USB타입 C 커넥터는,The USB type C connector,
    상기 오디오 잭의 G 검출단과 L 검출단이 전기적으로 연결되어 커넥터의 CC 단 및 Vconn 단으로 연결된 구조로 설정된 전자 장치. An electronic device configured in a structure in which the G detection terminal and the L detection terminal of the audio jack are electrically connected to the CC terminal and the Vconn terminal of the connector.
  15. 제13항에 있어서, The method of claim 13,
    상기 USB타입 C 커넥터는, 상기 오디오 잭의 G 검출단이 CC 단 및 Vconn 단 중 하나의 단자에 연결되면, L 검출단은 G 검출단과 연결되지 않는 다른 하나의 단자와 연결된 구조 중 하나인 전자 장치. In the USB type C connector, when the G detection terminal of the audio jack is connected to one of the CC terminal and the Vconn terminal, the L detection terminal is one of the structures connected to the other terminal not connected to the G detection terminal. .
PCT/KR2020/007210 2019-06-10 2020-06-03 Electronic device including connector and method for reducing crosstalk of audio signal WO2020251210A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2019-0068149 2019-06-10
KR1020190068149A KR20200141299A (en) 2019-06-10 2019-06-10 An electronic device including a connecter and method for decreasing crosstalk of audio signals in the same

Publications (1)

Publication Number Publication Date
WO2020251210A1 true WO2020251210A1 (en) 2020-12-17

Family

ID=73781099

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2020/007210 WO2020251210A1 (en) 2019-06-10 2020-06-03 Electronic device including connector and method for reducing crosstalk of audio signal

Country Status (2)

Country Link
KR (1) KR20200141299A (en)
WO (1) WO2020251210A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160148401A (en) * 2015-06-16 2016-12-26 엘지전자 주식회사 Mobile terminal
US20170147526A1 (en) * 2015-11-20 2017-05-25 Parade Technologies, Ltd. Service Redirect Over USB Type-C
KR20180007085A (en) * 2016-07-12 2018-01-22 삼성전자주식회사 Electronic device supporting usb interface and control method for the usb interface
KR20180013561A (en) * 2016-07-29 2018-02-07 삼성전자주식회사 Electrical device
KR20190005700A (en) * 2017-07-07 2019-01-16 삼성전자주식회사 Water sensing system, electronic device and Water sensing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160148401A (en) * 2015-06-16 2016-12-26 엘지전자 주식회사 Mobile terminal
US20170147526A1 (en) * 2015-11-20 2017-05-25 Parade Technologies, Ltd. Service Redirect Over USB Type-C
KR20180007085A (en) * 2016-07-12 2018-01-22 삼성전자주식회사 Electronic device supporting usb interface and control method for the usb interface
KR20180013561A (en) * 2016-07-29 2018-02-07 삼성전자주식회사 Electrical device
KR20190005700A (en) * 2017-07-07 2019-01-16 삼성전자주식회사 Water sensing system, electronic device and Water sensing system

Also Published As

Publication number Publication date
KR20200141299A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
KR20170120611A (en) Connectors for audio data transmission
WO2020032483A1 (en) Method for controlling at least one pin included in interface so as to switch to open state in response to moisture detection and electronic device for performing same
WO2021033965A1 (en) Electronic device for power management, and operation method therefor
WO2019093856A1 (en) Device and method for controlling microphone according to connection of external accessory
WO2021157901A1 (en) Electronic device comprising printed circuit board
WO2019245328A1 (en) Electronic device, method, and system for converting digital audio signal received in wired or wireless manner into analog audio signal
WO2019066406A1 (en) Method of communication between multiple devices using usb type-c interface and electronic device implementing same
WO2019117424A1 (en) Apparatus and method for performing data transmission with docking device by using usb interface
WO2020189906A1 (en) Electronic device for controlling external conversion device
WO2019151604A1 (en) Apparatus and method for performing antenna function by using usb connector
WO2020256318A1 (en) Electronic device and method for identifying object inserted into earphone jack
WO2022086207A1 (en) Fast charging method and electronic device
WO2019231296A1 (en) An electronic device and method for preventing corrosion of an audio jack
WO2019135603A1 (en) Electronic device and operation method of electronic device
WO2020197265A1 (en) Method for connecting external audio device and electronic device thereof
WO2021132852A1 (en) Audio data output method and electronic device supporting same
WO2021020686A1 (en) Headset electronic device and electronic device connected thereto
WO2021071222A1 (en) Electronic device for transmitting audio data to plurality of external electronic devices, and method for controlling same
WO2020251210A1 (en) Electronic device including connector and method for reducing crosstalk of audio signal
WO2020050581A1 (en) Input/output terminal and electronic device comprising same
WO2019147005A1 (en) Broadcast receiving method and apparatus of electronic device
WO2022114864A1 (en) Electronic device comprising connector
WO2020204451A1 (en) Method for keyless reset, and electronic device therefor
WO2021091093A1 (en) Power path control method and electronic apparatus supporting same
WO2020111685A1 (en) Electronic apparatus for supporting high-speed charging and audio signal transmission/reception functions

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

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

Country of ref document: EP

Kind code of ref document: A1