CN108023235A - A kind of usb circuit, terminal, head circuit and earphone - Google Patents

A kind of usb circuit, terminal, head circuit and earphone Download PDF

Info

Publication number
CN108023235A
CN108023235A CN201610962559.1A CN201610962559A CN108023235A CN 108023235 A CN108023235 A CN 108023235A CN 201610962559 A CN201610962559 A CN 201610962559A CN 108023235 A CN108023235 A CN 108023235A
Authority
CN
China
Prior art keywords
usb
pin
pins
circuit
interface
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201610962559.1A
Other languages
Chinese (zh)
Inventor
魏国华
屈波
刘世伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610962559.1A priority Critical patent/CN108023235A/en
Priority to PCT/CN2017/081045 priority patent/WO2018076628A1/en
Publication of CN108023235A publication Critical patent/CN108023235A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R2201/00Connectors or connections adapted for particular applications
    • H01R2201/16Connectors or connections adapted for particular applications for telephony

Abstract

The present invention provides a kind of usb circuit, terminal, head circuit and earphone, which includes:First USB interface;The analog circuit switch being connected with first USB interface;Coder module and USB module;Wherein, when analog circuit switch detects that first USB interface does not have the insertion of USB earphones, the analog circuit switch is connected with the USB module;When the coder module detects that first USB interface has the insertion of USB earphones, the analog circuit switch is connected with the coder module;And the coder module is connected by a pull-up resistor with first USB interface.After increasing analog circuit switch in usb circuit, circuit inside ear speaker device need not be improved, the interface of ear speaker device only need to be modified to Micro USB interfaces or Type C USB interfaces, the cost of earphone is reduced, while can also realize the high fidelity of audio and the highly compatible of equipment.

Description

A kind of usb circuit, terminal, head circuit and earphone
Technical field
The present invention relates to field of mobile equipment, is specifically a kind of usb circuit, terminal, head circuit and earphone.
Background technology
In recent years, with the fieriness of smart mobile phone market competition, major cell phone manufacturer is competing in order to raising oneself product Power is striven, is proposed many distinctive cell-phone functions, such as quick charge, fingerprint are not, high-quality audio and video.Recently, apple Company announces to replace traditional 3.5mm audio interface using distinctive USB lighting interfaces on newest iphone7, draws It is in commotion to carry out industry, but from the point of view of whole mobile phone structure and market development, the disappearance of 3.5mm audio interface is seemingly inevitable 's.Main cause have it is following some:
1st, more slim light possibility is provided for what mobile phone became.3.5mm audio interface is always one that mobile phone becomes slim A major technical barrier.
2nd, interior of mobile phone design is optimized.The interior of mobile phone for removing 3.5mm Audio interface blocks in an inch of land is an inch of gold spatially may be used It is set to be used to expand other functions such as battery capacity, optimization circuit structure to discharge a bulk of region.
3rd, the cost of mobile phone is reduced.Remove the module in mobile phone and use the original USB interface of mobile phone instead without being saved suspected of mobile phone The cost of one module;Even if the price of a module is very little, but when mobile phone volume production, the cost of saving is with regard to apparent .
4th, more Function Extensions are provided for mobile phone, such as connects portable Hi-fi, improve tonequality, provided for high-end earphone More power etc..
There is the method for substituting 3.5mm audio interface on the market now, essence is all to substitute 3.5mm using USB interface Audio interface;Using USB interface as alternative port main cause be in handset structure generally used now without for The external interface of voice data transmission.LeEco USB Audio audio transmission scheme essence is that (Chinese claims pulse to compile by audio PCM Code modulation) data as general data, are connected earphone as one end of USB device with mobile phone USB interface;When playing audio: Audio PCM data stream is sent to earphone end, then the PCM data received by the extraction of earphone end by mobile phone terminal by USB interface, is passed through Digital-to-analogue conversion, headset earpiece is sent to by transformed analog signal;During recording:The MIC (Mike) at earphone end is by analog signal Colleague's analog-to-digital conversion module is converted to PCM data, and mobile phone terminal is being sent to by USB interface.
LeEco USB Audio schemes are to be transmitted PCM data by USB interface as general data, although using USB interface instead of 3.5mm audio interface, but add the design requirement of earphone, and compatibility and scalability are limited;This Some problems will necessarily be brought to the earphone system on mobile phone:
1st, although removing 3.5mm audio interface reduces mobile phone cost, but be the increase in earphone cost;And this earphone USB receiver, digital analog converter are added compared with conventional earphone.The Audio interface block of one 3.5mm is possible less than 1 yuan, But the price of digital analog converter, USB receiver is then much larger than 3.5mm Audio interface blocks, so that common tonequality The market price of earphone is more than 100 yuan.
2nd, the design difficulty of earphone in itself is added, reduces the compatibility that each manufacturer supports earphone interface.Earphone The design space of itself is limited, earphone is become too fat to move huge after adding some hardware circuits, and earphone primary structure changes Afterwards, each manufacturer can select different hardware schemes according to the situation of itself, this will necessarily bring a series of compatibility to ask Topic.
3rd, add and be lost using power consumption under earphone scene, the reason is that some analog-to-digital conversions on earphone/digital-to-analogue conversion electricity Road needs to be used as the main control power supply certain to its supply by USB.It can be consumed more than original 3.5mm earphones drive circuit Power consumption.
On the one hand problem above can bring many unnecessary troubles to cell phone manufacturer and earphone manufacturer, on the other hand, Great inconvenience can be brought to user.Such as after user buys a mobile phone without usb audio interface, it has been found that cannot make With the 3.5mm earphones bought before, or when causing audio quality different using the earphone of the USB interface of different vendor, User is bound to annoyance endlessly.
The content of the invention
Technical problems to be solved of the embodiment of the present invention are to provide a kind of usb circuit, terminal, head circuit and ear Machine, while earphone cost is reduced to realize, moreover it is possible to ensure the high superperformance of the fidelity height of audio, compatibility.
In order to solve the above technical problems, usb circuit provided in an embodiment of the present invention, including:USB interface;With it is described The analog circuit switch of USB interface connection;Coder module and USB module;Wherein, switch and detect in the analog circuit When not having the insertion of USB earphones to the USB interface, the analog circuit switch is connected with the USB module;In the coding and decoding When device module detects that the USB interface has the insertion of USB earphones, the analog circuit switch connects with the coder module Connect;And the coder module is connected by a pull-up resistor with the USB interface.
Preferably, the USB interface includes:First pin, second pin, the first grounding pin, ID pins and VBUS Pin;Wherein, the analog circuit switch is connected with first pin, second pin and the VBUS pins;The pull-up Resistance is connected with the ID pins.
Preferably, first pin is:USB-D+ pins, second pin are USB-D- pins;Or described first draw Foot and the second pin are:USB-TX1+ pins, USB-TX2+ pins, USB-TX1- pins, USB-TX2- pins, USB- Any two in RX1+ pins, USB-RX2+ pins, USB-RX1- pins and USB-RX2- pins.
Preferably, the USB module has:3rd pin and the 4th pin;Institute is detected in analog circuit switch When stating USB interface does not have the insertion of USB earphones, analog circuit switch respectively with the 3rd pin of the USB module and the 4th Pin connects;And the 3rd pin of the USB module is switched by the analog circuit and led with the first pin of the USB interface Lead to and connect;4th pin of the USB module is switched by the analog circuit and turns on company with the second pin of the USB interface Connect.
Preferably, the coder module includes:Digital analog converter DAC and A-D converter ADC;The numeral Analog converter DAC includes left channel pin and right channel pin, and the A-D converter ADC includes the first input pin;Its In, first input pin is connected with the pull-up resistor;Detect that the USB interface has in the coder module When USB earphones are inserted into, the left channel pin is switched by the analog circuit and turns on company with the first pin of the USB interface Connect;The right channel pin is switched by the analog circuit and turns on connection with the second pin of the USB interface.
Preferably, further include:Second grounding pin, is connected with the first grounding pin of the USB interface.
Preferably, when the coder module detection USB interface has the insertion of USB earphones, formula is passed through:
The magnitude of voltage of ID pins is obtained, is more than the first predetermined threshold value in the magnitude of voltage of the ID pins and is preset less than second During threshold value, the USB interface has the insertion of USB earphones;Wherein, R1 is the ID pins with the USB interface in usb circuit The resistance value of the pull-up resistor of series connection;R2 be insertion USB interface head circuit in the internal resistance of ID pin serial connections Resistance value.
According to another aspect of the present invention, present invention also offers a kind of terminal, including:Usb circuit described above.
According to another aspect of the present invention, present invention also offers a kind of head circuit, including:USB interface;With it is described The earphone insertion circuit of USB interface connection;The earphone insertion circuit is connected in series with an internal resistance.
Preferably, the USB interface includes:First pin, second pin, the 3rd grounding pin and ID pins;It is described Earphone insertion circuit includes:Left channel pin, right channel pin, grounding pin and Mike's pin;First pin and institute State left channel pin and correspond to connection;Second pin connection corresponding with the right channel pin;3rd grounding pin with The grounding pin corresponds to connection;ID pins connection corresponding with Mike's pin;The internal resistance and the Mike Pin serial connection connects.
Preferably, first pin is:USB-D+ pins, second pin are USB-D- pins;Or described first draw Foot and the second pin are:USB-TX1+ pins, USB-TX2+ pins, USB-TX1- pins, USB-TX2- pins, USB- Any two in RX1+ pins, USB-RX2+ pins, USB-RX1- pins and USB-RX2- pins.
According to another aspect of the present invention, present invention also offers a kind of earphone, including:Head circuit described above.
Compared with prior art, usb circuit provided in an embodiment of the present invention, at least has the advantages that:
After to increasing analog circuit switch in usb circuit, it is not necessary to which the circuit inside ear speaker device is carried out Improve, need to only make the interface of ear speaker device into USB interface, reduce the cost of earphone, while can also realize audio The highly compatible of high fidelity and equipment.
Brief description of the drawings
Fig. 1 is the usb type described in the embodiment of the present invention 1 when being Micro USB interfaces, the knot of usb circuit Structure schematic diagram;
Fig. 2 is the usb type described in the embodiment of the present invention 2 when being Micro USB interfaces, and the structure of head circuit is shown It is intended to;
Fig. 3 is the usb type described in the embodiment of the present invention when being Micro USB interfaces, in usb circuit The structure diagram of USB interface;
Fig. 4 is the usb type described in the embodiment of the present invention when being Type-C USB interfaces, in usb circuit The structure diagram of USB interface;
Fig. 5 is the usb type described in the embodiment of the present invention when being Micro USB interfaces, usb circuit and earphone The structure diagram that circuit coordinates.
Embodiment
To make the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.In the following description, there is provided such as specific configuration and the specific detail of component are only In order to help comprehensive understanding the embodiment of the present invention.Therefore, it will be apparent to those skilled in the art that can be to reality described herein Example is applied to make various changes and modifications without departing from scope and spirit of the present invention.In addition, for clarity and brevity, eliminate pair The description of known function and construction.
With reference to Fig. 1, the usb type in the embodiment of the present invention 1 in usb circuit is MicroUSB interfaces.This hair Bright embodiment 1 provides a kind of usb circuit 1, including:Usb 11;The analog circuit being connected with the usb 11 Switch 12;Coder module Codec13 and USB module 14;Wherein, detected in analog circuit switch 12 described When usb 11 is inserted into without USB earphones, the analog circuit switch 12 is connected with the USB module 14;In the coding and decoding When device module Codec13 detects that the usb 11 has the insertion of USB earphones, the analog circuit switch 12 and the compiling Code device module Codec13 connections;And the coder module Codec13 passes through a pull-up resistor 15 and the usb 11 Connection.
By the way that to increasing analog circuit switch 12 in usb circuit 1, analog circuit switch 12 is got by its own The level signal that returns of USB interface or the signals that return of coder module Codec13 it is specifically chosen with coder mould Block Codec13 connections are either connected with USB module 14 and then terminal are converted into USB functions or audio transmission-receiving function, pass through Voice data is transferred to ear speaker device by usb 11.
For ear speaker device, it is only necessary to which original 3.5mm interfaces to be changed to connect with the USB in above-mentioned usb circuit 11 corresponding interfaces of mouth, without doing other improvements to ear speaker device, have reached the cost for reducing ear speaker device And ensure the highly compatible of ear speaker device and the Hi-Fi effect of data transfer.
And it is further, with reference to Fig. 1, the usb 11 includes:First pin, second pin, the first grounding pin, ID pins and VBUS pins;Wherein, the analog circuit switch 12 draws with first pin, second pin and the VBUS Foot connects;The pull-up resistor 15 is connected with the ID pins.
Specifically, analog circuit switch 12 is judged by the change of the magnitude of voltage of the VBUS pins that detect usb 11 Whether USB device is inserted into usb 11, which is data cable or charger.Due to being inserted into USB in usb 11 During equipment, charger or data cable can give VBUS pins to provide electricity, thus the level of VBUS pins can by low transition into High level, when it is high level that analog circuit switch 12, which senses the level of VBUS pins, you can be judged as being inserted into usb 11 In equipment be USB device.
And it is further, with reference to Fig. 1, in the embodiment of the present invention 1,
The USB module 14 has:3rd pin and the 4th pin;
The coder module Codec13 includes:Digital analog converter DAC and A-D converter ADC;
The digital analog converter DAC includes left channel pin and right channel pin;
The A-D converter ADC includes the first input pin;
Wherein, first input pin is connected with the pull-up resistor 15;Examined in the coder module Codec13 Measure the usb 11 have USB earphones insertion when, the left channel pin by the analog circuit switch 12 with it is described The first pin conducting connection of usb 11;The right channel pin passes through analog circuit switch 12 and the USB interface 11 second pin conducting connection;
When analog circuit switch 12 detects the usb 11 without the insertion of USB earphones, the analog circuit Switch 12 is connected with the 3rd pin of the USB module 14 and the 4th pin respectively;And the 3rd pin of the USB module 14 leads to Cross the analog circuit switch 12 and turn on connection with the first pin of the usb 11;4th pin of the USB module 14 Connection is turned on the second pin of the usb 11 by analog circuit switch 12.
Analog circuit switch 12 is judged to be inserted into usb 11 according to the height of the level of the VBUS pins of USB interface It is outer when being set to USB device, is switched over inside analog circuit switch 12 so that the 3rd pin and USB interface of USB module 14 11 the first pin is realized by analog circuit switch 12 and connected, and causes the 4th pin and usb 11 of USB module 14 Second pin realized and connect by analog circuit switch 12, and then realize charging to terminal or data transfer.
When it is low level that analog circuit switch 12, which detects the level of the VBUS pins of usb 11, coder mould Changes of the block Codec13 by detecting the magnitude of voltage of the ID pins of usb 11 judges whether insertion USB earphones, wherein, compiling The magnitude of voltage of code device module Codec13 detection ID pins is realized by A-D converter ADC.When judging usb 11 In have USB earphones insertion when, be connected by left channel pin with the first pin and by right channel pin and second pin company Connect and realize that the voice data of terminal is transferred in USB earphones, the voice data stored in terminal passes through digital analog converter DAC Outwards transmitted by left channel pin or right channel pin after conversion;Arrived needing the recorded message storage to USB earphone typings When in terminal, obtain the recorded message of USB earphone typings by the ID pins of usb 11, then by A-D converter ADC into Storage is into terminal after row conversion.
1 type of usb 1 in the embodiment of the present invention 1 in usb circuit includes Micro USB interfaces and Type-C Two kinds of USB interface, with reference to shown in Fig. 3, when 1 type of usb 1 in the usb circuit is Micro USB interfaces, institute Stating the first pin is:USB-D+ pins, second pin are USB-D- pins, wherein, USB-D+ pins are that the green line D+ in Fig. 3 draws Foot, USB-D- pins are the white line D- pins in Fig. 3, and grounding pin is the black line GND pin in Fig. 3, and ID pins are in figure Dead end ID pins, VBUS pins are the red line VBUS pins in Fig. 3.
When the equipment being inserted into usb 11 is USB earphones, red line VBUS pins are hanging.
With reference to shown in Fig. 4, when 1 type of usb 1 in the usb circuit is Type-C USB interfaces, described the One pin and the second pin are:USB-TX1+ pins, USB-TX2+ pins, USB-TX1- pins, USB-TX2- pins, Any two in USB-RX1+ pins, USB-RX2+ pins, USB-RX1- pins and USB-RX2- pins, wherein, USB-TX1 + pin is the TX1+ pins in Fig. 4, and USB-TX1- pins are the TX1- pins in Fig. 4, and USB-TX2+ pins are the TX2 in Fig. 4 + pin, USB-TX2- pins are the TX2- pins in Fig. 4, and USB-RX1+ pins are the RX1+ pins in Fig. 4, and USB-RX2+ draws Foot is the RX2+ pins in Fig. 4, and USB-RX1- pins are the RX1- pins in Fig. 4, and USB-RX2- pins are that the RX2- in Fig. 4 draws Foot.
Also, when 1 type of usb 1 in usb circuit 1 is Type-C USB interfaces, the ID of usb 11 Pin is the SBU1 pins or SBU2 pins in Fig. 4.Meanwhile the VBUS pins in Fig. 4 are hanging, this kind of mode can cause Type-C USB interfaces being capable of compatibility USB2.X or USB3.X.
Specifically, when 1 type of usb 1 in usb circuit is Type-C USB interfaces, first pin Refer to one of following four situation with the second pin for any two in above-mentioned pin, when the first pin is USB-TX1+ During pin, second pin is USB-RX1+ pins;When the first pin is USB-TX1- pins, second pin is drawn for USB-RX1- Foot;When the first pin is USB-TX2+ pins, second pin is USB-RX2+ pins;When the first pin is USB-TX2- pins When, second pin is USB-RX2- pins.
And it is further, with reference to Fig. 1, in the present embodiment 1, further include:Second grounding pin, with the usb 11 First grounding pin connects.And it is further, in the present embodiment 1, when the interface type of usb 11 is Micro USB interfaces When, when the coder module Codec13 detections usb 11 has the insertion of USB earphones, pass through formula:
The magnitude of voltage of ID pins is obtained, is more than the first predetermined threshold value in the magnitude of voltage of the ID pins and is preset less than second During threshold value, the usb 11 has the insertion of USB earphones;Wherein, R1 is the ID with the usb 11 in usb circuit 1 The resistance value of the pull-up resistor 15 of pin serial connection;R2 be insertion usb 11 head circuit 2 in in ID pin serial connections The resistance value of portion's resistance 23.
Specifically, in the present embodiment 1, the resistance value of R1 is 2.2K Ω, UR1Voltage be 1.8V, the resistance value of R2 is 0.628 Ω To between 22K Ω.When earphone is inserted into usb 11, pull-up resistor 15 and the Mike of earphone connect, the electricity of the Mike of earphone Pressure is pulled up resistance 15 and is pulled upward to 1.8V, and U is calculated according to above-mentioned formula1Resistance value.In the present embodiment 1, the first predetermined threshold value Magnitude of voltage be 400mV, the magnitude of voltage of the second predetermined threshold value is 1.636V.Work as U1Magnitude of voltage be less than 1.636V more than 400mV When, it is judged as in earphone insertion usb 11;Work as U1Magnitude of voltage when being more than 1.726V, be judged as that earphone is not inserted into USB interface In 11.
In the embodiment of the present invention 1, the detection to the voltage of ID pins, with the interval time follow-on test 5 times of 20ms, and with The average that 5 measurements obtain is as U1Final magnitude of voltage.
In the present invention, when the type of the usb 11 in usb circuit is Type-C USB interfaces, judge to access Whether the external equipment in Type-C USB interfaces is the method for earphone with the outside in above-mentioned judgement access Micro USB interfaces Equipment whether be earphone method it is identical, here, not repeating.
By the usb circuit 1 provided in the embodiment of the present invention 1, by the improvement inside usb circuit 1, reality Show the production cost for without the improvement to head circuit, thereby reducing earphone, ensure the height during audio information transmissions Fidelity and the highly compatible of earphone.
According to another aspect of the present invention, present invention also offers a kind of terminal, including:Usb circuit described above 1。
Reference Fig. 2, according to another aspect of the present invention, present invention also offers a kind of head circuit 2, including:USB interface 21;The earphone insertion circuit 22 being connected with the USB interface 21;The earphone insertion circuit 22 and 23 company of series connection of an internal resistance Connect.
By the connection of head circuit 2 and usb circuit 1, realize USB earphones by usb circuit 1 inside Usb 11 obtains the voice data in terminal or cancels 3.5mm interfaces to terminal transmission audio-frequency information, and then realizing On the basis of, reach the cost for reducing earphone, while ensure the high fidelity of audio transmission and the highly compatible of earphone.
And it is further, with reference to Fig. 2, in the present embodiment, the USB interface 21 includes:First pin, second pin, Three grounding pins and ID pins;The earphone insertion circuit 22 includes:Left channel pin, right channel pin, grounding pin with And Mike's pin;The first pin connection corresponding with the left channel pin;The second pin and the right channel pin Corresponding connection;The 3rd grounding pin connection corresponding with grounding pin;ID pins connection corresponding with Mike's pin; The internal resistance is connected with Mike's pin serial connection.
Specifically, when needing to play audio-frequency information, the left channel pin and R channel of digital analog converter DAC are passed through Voice data is transmitted in USB earphones by pin;When being recorded, Mike's pin of circuit 22 is inserted into by typing by earphone Transmission of speech information into terminal.
And it is further, in the present embodiment 2, when 21 type of USB interface in head circuit 2 is Micro USB interfaces, First pin is:USB-D+ pins, second pin are USB-D- pins;21 type of USB interface in head circuit 2 For Type-C USB interfaces when, first pin and the second pin are:USB-TX1+ pins, USB-TX2+ pins, USB-TX1- pins, USB-TX2- pins, USB-RX1+ pins, USB-RX2+ pins, USB-RX1- pins and USB-RX2- draw Any two in foot.
Also, Mike's pin in earphone insertion circuit 22 is connected with the SBU1 pins in USB interface 21 or SBU2 pins.
Herein, when 21 type of USB interface of head circuit 2 is Type-C USB interfaces, the earphone is inserted into circuit 22 The first pin and the second pin be above-mentioned pin in any two refer to one of following four situation, when the first pin For USB-TX1+ pins when, second pin is USB-RX1+ pins;When the first pin is USB-TX1- pins, second pin is USB-RX1- pins;When the first pin is USB-TX2+ pins, second pin is USB-RX2+ pins;When the first pin is During USB-TX2- pins, second pin is USB-RX2- pins.
The head circuit 2 provided by the embodiment of the present invention 2, realizes the connection of head circuit 2 and usb circuit 1, Having reached reduces the cost of earphone, ensures the high fidelity of voice data transmission and the highly compatible of earphone.
When 1 type of usb 1 in usb circuit 1 and 21 type of USB interface in head circuit 2 are During Micro USB interfaces, with reference to shown in Fig. 5, analog circuit switchs 12 usb 11 first in usb circuit 1 Whether USB device is inserted into the electrical level judging usb 11 of VBUS pins, when judging the USB interface in usb circuit 1 When USB device is inserted into 11, the first pin of the 3rd pin and usb 11 of 12 control USB module 14 of analog circuit switch Connection;And the 4th pin of USB module 13 is controlled to be connected with the second pin of usb 11;At this time, USB module 14 is passed through 3rd pin and the conducting connection of the USB-D+ pins of usb 11 and the 4th pin of USB module 14 and usb 11 Terminal and the data exchange of USB device are realized in the conducting connection of USB-D- pins.
When analog circuit switch 12 detects that the level of the VBUS pins of the usb 11 in usb circuit 1 is low electricity Usually, the A-D converter ADC of coder module Codec13 sentences according to the change of the magnitude of voltage of the ID pins of usb 11 USB earphones whether are inserted into usb 11 in disconnected usb circuit 1, when judging the USB interface in usb circuit 1 When USB earphones are inserted into 11, the digital analog converter DAC's of 12 control coder module Codec13 of analog circuit switch Left channel pin is connected with the USB-D+ pins of usb 11, and the right channel pin of control digital analog converter DAC with USB-D- pins connect, and the audio-frequency information in terminal is passed into USB earphones by left channel pin and right channel pin, USB The recorded message of earphone typing is stored into terminal memory after being transferred to A-D converter ADC by ID pins.
For being when 1 type of usb 1 in usb circuit 1 and 21 type of USB interface in head circuit 2 During Type-C USB interfaces, by the usb 11 in usb circuit 1 to USB earphone transmissions audio-frequency information and from USB The method that recorded message is obtained in earphone is consistent with the method for above-mentioned record, here, not repeating.
According to another aspect of the present invention, present invention also offers a kind of earphone, including:Head circuit 2 described above.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (12)

  1. A kind of 1. usb circuit, it is characterised in that including:
    USB interface;
    The analog circuit switch being connected with the USB interface;
    Coder module and USB module;
    Wherein, when analog circuit switch detects that the USB interface does not have the insertion of USB earphones, the analog circuit is opened Pass is connected with the USB module;
    When the coder module detects that the USB interface has the insertion of USB earphones, analog circuit switch with it is described Coder module connects;And the coder module is connected by a pull-up resistor with the USB interface.
  2. 2. usb circuit according to claim 1, it is characterised in that the USB interface includes:First pin, second Pin, the first grounding pin, ID pins and VBUS pins;
    Wherein, the analog circuit switch is connected with first pin, second pin and the VBUS pins;
    The pull-up resistor is connected with the ID pins.
  3. 3. usb circuit according to claim 2, it is characterised in that
    First pin is:USB-D+ pins, second pin are USB-D- pins;Or
    First pin and the second pin are:USB-TX1+ pins, USB-TX2+ pins, USB-TX1- pins, USB- Any two in TX2- pins, USB-RX1+ pins, USB-RX2+ pins, USB-RX1- pins and USB-RX2- pins.
  4. 4. the usb circuit according to Claims 2 or 3, it is characterised in that the USB module has:3rd pin and 4th pin;
    When analog circuit switch detects that the USB interface does not have the insertion of USB earphones, the analog circuit switch difference It is connected with the 3rd pin of the USB module and the 4th pin;
    And the 3rd pin of the USB module is switched by the analog circuit and turns on company with the first pin of the USB interface Connect;
    4th pin of the USB module is switched by the analog circuit and turns on connection with the second pin of the USB interface.
  5. 5. the usb circuit according to Claims 2 or 3, it is characterised in that the coder module includes:Numeral Analog converter and A-D converter;
    The digital analog converter includes left channel pin and right channel pin, and the A-D converter includes the first input and draws Foot;
    Wherein, first input pin is connected with the pull-up resistor;
    When the coder module detects that the USB interface has the insertion of USB earphones, the left channel pin passes through described Analog circuit switch turns on connection with the first pin of the USB interface;
    The right channel pin is switched by the analog circuit and turns on connection with the second pin of the USB interface.
  6. 6. usb circuit according to claim 2, it is characterised in that further include:Second grounding pin, with the USB The first grounding pin connection of interface.
  7. 7. usb circuit according to claim 1, it is characterised in that the coder module detects the USB and connects When mouth has the insertion of USB earphones, pass through formula:
    <mrow> <msub> <mi>U</mi> <mn>1</mn> </msub> <mo>=</mo> <mfrac> <mrow> <msub> <mi>U</mi> <mrow> <mi>R</mi> <mn>1</mn> </mrow> </msub> <mo>*</mo> <mi>R</mi> <mn>2</mn> </mrow> <mrow> <mi>R</mi> <mn>1</mn> <mo>+</mo> <mi>R</mi> <mn>2</mn> </mrow> </mfrac> </mrow>
    The magnitude of voltage of ID pins is obtained, is more than the first predetermined threshold value in the magnitude of voltage of the ID pins and is less than the second predetermined threshold value When, the USB interface has the insertion of USB earphones;
    Wherein, R1 is the resistance value with the pull-up resistor of the ID pin serial connections of the USB interface in usb circuit;
    R2 is the resistance value in the head circuit of the USB interface of insertion with the internal resistance of ID pin serial connections.
  8. A kind of 8. terminal, it is characterised in that including:Such as claim 1-7 any one of them usb circuits.
  9. A kind of 9. head circuit, it is characterised in that including:
    USB interface;
    The earphone insertion circuit being connected with the USB interface;
    The earphone insertion circuit is connected in series with an internal resistance.
  10. 10. head circuit according to claim 9, it is characterised in that
    The USB interface includes:First pin, second pin, the 3rd grounding pin and ID pins;
    The earphone insertion circuit includes:Left channel pin, right channel pin, grounding pin and Mike's pin;
    The first pin connection corresponding with the left channel pin;
    Second pin connection corresponding with the right channel pin;
    The 3rd grounding pin connection corresponding with the grounding pin;
    ID pins connection corresponding with Mike's pin;
    The internal resistance is connected with Mike's pin serial connection.
  11. 11. head circuit according to claim 10, it is characterised in that
    First pin is:USB-D+ pins, second pin are USB-D- pins;Or
    First pin and the second pin are:USB-TX1+ pins, USB-TX2+ pins, USB-TX1- pins, USB- Any two in TX2- pins, USB-RX1+ pins, USB-RX2+ pins, USB-RX1- pins and USB-RX2- pins.
  12. A kind of 12. earphone, it is characterised in that including:Such as claim 9 to 11 any one of them head circuit.
CN201610962559.1A 2016-10-28 2016-10-28 A kind of usb circuit, terminal, head circuit and earphone Pending CN108023235A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610962559.1A CN108023235A (en) 2016-10-28 2016-10-28 A kind of usb circuit, terminal, head circuit and earphone
PCT/CN2017/081045 WO2018076628A1 (en) 2016-10-28 2017-04-19 Usb interface circuit, terminal, headset circuit and headset, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610962559.1A CN108023235A (en) 2016-10-28 2016-10-28 A kind of usb circuit, terminal, head circuit and earphone

Publications (1)

Publication Number Publication Date
CN108023235A true CN108023235A (en) 2018-05-11

Family

ID=62024436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610962559.1A Pending CN108023235A (en) 2016-10-28 2016-10-28 A kind of usb circuit, terminal, head circuit and earphone

Country Status (2)

Country Link
CN (1) CN108023235A (en)
WO (1) WO2018076628A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218880A (en) * 2018-07-26 2019-01-15 上海与德通讯技术有限公司 Earphone charging two-in-one circuit and control method, terminal
CN111586549A (en) * 2020-05-14 2020-08-25 西安闻泰电子科技有限公司 Earphone insertion detection circuit
CN113473315A (en) * 2021-07-31 2021-10-01 展讯通信(上海)有限公司 Electronic device capable of improving output performance of earphone
CN113672534A (en) * 2021-07-13 2021-11-19 荣耀终端有限公司 Terminal device and switch circuit

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235687A (en) * 2020-09-02 2021-01-15 北京握奇智能科技有限公司 Audio circuit through USB interface

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014211A (en) * 2007-01-12 2007-08-08 颜聪裕 5.1 track earphone with USB interface
CN101420094A (en) * 2007-10-22 2009-04-29 鸿富锦精密工业(深圳)有限公司 Combined USB interface switching apparatus
CN201699935U (en) * 2010-06-18 2011-01-05 深圳市奥尼电子工业有限公司 USB interface earphone with touch control unit
CN101931674B (en) * 2010-09-01 2014-04-16 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN202444597U (en) * 2011-11-09 2012-09-19 广东欧珀移动通信有限公司 Earphone public Micro USB interface circuit
CN104035357B (en) * 2014-06-27 2017-04-19 广东欧珀移动通信有限公司 Headset, charging and OTG equipment circuit design based on USB socket

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218880A (en) * 2018-07-26 2019-01-15 上海与德通讯技术有限公司 Earphone charging two-in-one circuit and control method, terminal
CN111586549A (en) * 2020-05-14 2020-08-25 西安闻泰电子科技有限公司 Earphone insertion detection circuit
CN111586549B (en) * 2020-05-14 2022-03-15 昆明闻泰通讯有限公司 Earphone insertion detection circuit
CN113672534A (en) * 2021-07-13 2021-11-19 荣耀终端有限公司 Terminal device and switch circuit
CN113672534B (en) * 2021-07-13 2023-03-24 荣耀终端有限公司 Terminal device and switch circuit
CN113473315A (en) * 2021-07-31 2021-10-01 展讯通信(上海)有限公司 Electronic device capable of improving output performance of earphone
CN113473315B (en) * 2021-07-31 2022-06-28 展讯通信(上海)有限公司 Electronic device capable of improving output performance of earphone

Also Published As

Publication number Publication date
WO2018076628A1 (en) 2018-05-03

Similar Documents

Publication Publication Date Title
CN108023235A (en) A kind of usb circuit, terminal, head circuit and earphone
CN101583935B (en) Enhanced communication via a serial interface
CN103222279B (en) Earphone interface is multiplexed with Multipurpose connector and the hand-hold electronic equipments of high resolution video and audio interface
CN104081368B (en) Mobile device automatic detection device and method
CN101917497B (en) Method and device for earphone and USB to share micro-USB interface
CN203167074U (en) Mobile terminal configured with reuse interface
CN103561369B (en) Usb interface circuit and electronic equipment
WO2021135687A1 (en) Electronic device and accessory having both quick charging function and audio transmission function
JP2020515972A (en) Adapters, terminals, and adapter systems
CN103945310A (en) Transmission method, mobile terminal, multi-channel earphones and audio playing system
CN107643994B (en) Terminal, terminal peripheral, signal sending and receiving method and data transmission system
US20070239924A1 (en) Electronic device transmitting audio-and-video signals with USB connector
CN102572352A (en) HDMI multiplexing method, HDMI, and equipped provided with HDMI
CN102073470B (en) Electronic equipment and control method thereof
CN109660913B (en) Terminal, terminal peripheral, signal transmission system and signal sending and receiving method
CN103078224B (en) Connecting line, control method, control circuit and electronic equipment
CN102158575A (en) Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface
CN105635902A (en) Audio interface compatible with digital audio device and implementation method
CN101626412A (en) Mobile terminal circuit with multifunctional earphone socket and implementation method thereof
CN212517830U (en) Multifunctional switching device
CN106131732A (en) A kind of earphone
CN116546410A (en) Access detection method of electronic equipment interface, electronic equipment and storage medium
CN107005762A (en) Audio connector recognition methods and portable electric appts
CN113949755B (en) Electronic equipment and wired earphone
CN206743496U (en) Headphone interface device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180511