CN102361505B - Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface - Google Patents
Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface Download PDFInfo
- Publication number
- CN102361505B CN102361505B CN 201110135656 CN201110135656A CN102361505B CN 102361505 B CN102361505 B CN 102361505B CN 201110135656 CN201110135656 CN 201110135656 CN 201110135656 A CN201110135656 A CN 201110135656A CN 102361505 B CN102361505 B CN 102361505B
- Authority
- CN
- China
- Prior art keywords
- module
- power amplifier
- digital logic
- micro
- signal output
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention provides electronic equipment which comprises an MICRO-USB interface, an external power amplification module, a digital logic detection module, an analog signal detection module, a power supply signal output module, a sound signal output module and a control module, wherein when digital logic acquired by the digital logic detection module is 0, the control module determines that an external module is plugged into the MICRO-USB interface and then controls the analog signal detection module to acquire an analog voltage value of an ID end; and when the analog voltage value is not 0V, the control module determines that the external module is the external power amplification module, controls the power supply signal output module to output a power supply signal to the external power amplification module, and controls the sound signal output module to output a sound signal to the external power amplification module. The invention also provides a method for identifying the external power amplification module based on the MICRO-USB interface. By using the electronic equipment and the method in the technical scheme, the cost can be saved and a circuit structure can be simplified at the same time.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of electronic equipment and based on the external power amplifier module recognition methods of MICRO-USB interface.
Background technology
At mobile phone, PDA (Personal Digital Assistant, personal digital assistant), the MP3/4 player, often have earplug in the portable electric appts such as panel computer and net book, receive calls or listen to music for the user, program of radio station etc., though the subsidiary earplug of electronic equipment can clearly be listened to voice signal, but, if the long-term earplug that uses, might cause hearing to descend, and its tonequality often also is subject to power and the structure of earplug itself, therefore, in the prior art, tend to arrange an external power amplifier module, it can be linked in the electronic equipment by relevant interface, to play the voice signal in the electronic equipment.
But in the prior art, often special voice signal interface need be set in electronic equipment, so that electronic equipment can be connected with external power amplifier module, thereby utilize external power amplifier module to play voice signal in the electronic equipment.
But, there is following shortcoming in above technical scheme: namely, because special voice signal interface need be set, can make that the circuit structure of electronic equipment is more complicated in electronic equipment, and additional voice signal interface also can increase production cost to a certain extent.
So, if can utilize existing interface as the voice signal interface, will greatly reduce cost and simplify circuit design.
Summary of the invention
The technical scheme that the present invention takes for the technical solution problem is: a kind of electronic equipment is provided, comprises: the MICRO-USB interface comprises ID end, VBUS end and data terminal; External power amplifier module comprises the identification end, and the identification end is by one first resistance eutral grounding, and when external power amplifier module accessed in the MICRO-USB interface, the identification end was connected with the ID end; The Digital Logic detection module comprises the Digital Logic test side, is applied with by pull-up resistor in the Digital Logic detection module and draws voltage to the Digital Logic test side, and the Digital Logic test side is connected with the ID end, is used for obtaining the Digital Logic that ID holds; The analog signal detection module comprises the analog signal detection end, and the analog signal detection end is connected with the ID end, is used for obtaining the analog voltage of ID end; The power supply signal output module comprises the power supply signal output terminal, and power supply signal output terminal and VBUS end is connected, holds to VBUS for the out-put supply signal; The voice signal output module comprises audio signal output terminal, and audio signal output terminal is connected with data terminal in the MICRO-USB interface, is used for output sound signal to data terminal; Control module, the Digital Logic of obtaining at the Digital Logic detection module is 0 o'clock, judging has external connection module to be inserted in the MICRO-USB interface, and further control the analog signal detection module and obtain the analog voltage that ID holds, when analog voltage is not 0V, judge that external connection module is external power amplifier module, and control power supply signal output module out-put supply signal to external power amplifier module, guide sound tone signal output module output sound signal is to external power amplifier module.
Wherein, control chip further comprises: the usb data transport module comprises the usb data transmission ends; Analog switch, comprise first end, second end and the 3rd end, first end is connected with audio signal output terminal, second end is connected with the usb data transmission ends, the 3rd end is connected with data terminal, first end is connected with the 3rd end when power supply signal output module out-put supply signal, and first end is connected with second end when the power supply signal output module stops the out-put supply signal; Control module is further when analog voltage is 0V, judge that external connection module is the usb data transmission equipment, and control power supply signal output module stops the out-put supply signal, and the usb data transport module carries out data transmission by usb data transmission ends and usb data transmission equipment.
Wherein, data terminal comprises D+ end and D-end, voice signal comprises left channel signals and right-channel signals, audio signal output terminal comprises left channel signals output terminal and right-channel signals output terminal, analog switch comprises first analog switch and second analog switch, and the usb data transmission ends comprises D+ data transmission terminal and D-data transmission terminal.
Wherein, the resistance value of first resistance is 1000 ohm.
Wherein, power supply signal is 5V.
Wherein, be provided with filter capacitor between audio signal output terminal and the data terminal.
Wherein, be provided with second resistance between analog signal detection end and the ID end,
Wherein, external power amplifier module further comprises: power amplifier, and power amplifier comprises: the voice signal input end, when external power amplifier module accesses in the MICRO-USB interface, be connected with the data terminal in the MICRO-USB interface, power amplifier obtains voice signal from data terminal; The power supply signal input end when external power amplifier module accesses in the MICRO-USB interface, is connected with VBUS in MICRO-USB interface end, and power amplifier is held from VBUS and obtained power supply signal; Loudspeaker is connected with power amplifier, carries out sounding according to voice signal.
Another technical scheme that the present invention takes for the technical solution problem is: a kind of external power amplifier module recognition methods based on the MICRO-USB interface is provided, external power amplifier module is set accesses to the identification end of the ID end in the MICRO-USB interface by one first resistance eutral grounding, be applied with by pull-up resistor in the Digital Logic detection module and draw voltage to the Digital Logic test side of Digital Logic detection module, method may further comprise the steps: the Digital Logic that a. utilizes the Digital Logic detection module to obtain the ID end is inserted in the MICRO-USB interface to have judged whether external connection module; B. it is 0 o'clock in the Digital Logic of obtaining, judging has external connection module to be inserted in the MICRO-USB interface, c. utilize the analog signal detection module to obtain the analog voltage of ID end, when analog voltage is not 0V, judge that external connection module is external power amplifier module, and out-put supply signal and voice signal are to external power amplifier module.
Wherein, this method further comprises step: d. when analog voltage is 0V, judges that external connection module is the usb data transmission equipment, and utilizes usb data transport module and usb data transmission equipment in the electronic equipment to carry out data transmission.
The invention has the beneficial effects as follows: be different from prior art special voice signal interface need be set in electronic equipment, can make that the circuit structure of electronic equipment is more complicated, and, additional voice signal interface can increase the technical matters of production cost, technical scheme provided by the invention is by by utilizing originally MICRO-USB interface as data transmission terminal as the voice signal interface, and according to the ID in MICRO-USB interface end external power amplifier module is identified, when saving cost, also simplified circuit structure.
Description of drawings
Fig. 1 is the electrical block diagram according to the electronic equipment of first embodiment of the invention;
Fig. 2 is the process flow diagram based on the external power amplifier module recognition methods of MICRO-USB interface according to first embodiment of the invention;
Fig. 3 is the electrical block diagram according to the electronic equipment of second embodiment of the invention;
Fig. 4 is the process flow diagram based on the external power amplifier module recognition methods of MICRO-USB interface according to second embodiment of the invention;
Fig. 5 is the electrical block diagram according to the electronic equipment of third embodiment of the invention;
Fig. 6 is the electrical block diagram according to the electronic equipment of fourth embodiment of the invention.
Embodiment
At first see also Fig. 1, Fig. 1 is the electrical block diagram according to the electronic equipment of first embodiment of the invention.
As shown in Figure 1, in the present embodiment, disclosed electronic equipment comprises MICRO-USB interface 11, external power amplifier module 12, Digital Logic detection module 13, analog signal detection module 14, power supply signal output module 15, voice signal output module 16 and control module 17.
Wherein, MICRO-USB interface 11 is a kind of interface that is used widely in the prior art, and it comprises ID end 111, VBUS end 112 and data terminal 113.
External power amplifier module 12 comprises identification end 121, and identification end 121 is by one first resistance R, 1 ground connection, and when external power amplifier module 12 accessed in the MICRO-USB interface 11, identification end 121 was connected with ID end 111.Wherein, in all embodiment of the present invention, the resistance value of first resistance R 1 is preferably 1000 ohm.In addition, in the present embodiment, external power amplifier module 12 can further comprise power amplifier 122, power supply signal input end 126 and loudspeaker 123,124, its intermediate power amplifier 122 comprises voice signal input end 125, when external power amplifier module 12 accesses in the MICRO-USB interface 11, be connected with the data terminal 113 in the MICRO-USB interface 11, power amplifier 122 obtains voice signal from data terminal 113.And when external power amplifier module 12 accessed in the MICRO-USB interface 11, the VBUS end 112 in power supply signal input end 126 and the MICRO-USB interface 11 was connected, and power amplifier 122 holds 112 to obtain power supply signal from VBUS.And loudspeaker 123,124 is connected with power amplifier 122, carries out sounding according to voice signal.
Digital Logic detection module 13 comprises Digital Logic test side 131, being applied with by pull-up resistor (scheming not shown) in Digital Logic detection module 13 draws voltage to Digital Logic test side 131, Digital Logic test side 131 is connected with ID end 111, is used for obtaining the Digital Logic of ID end 111.Particularly, Digital Logic is preferably TTL (transistor-transistor logic, transistor-transistor logic) level signal, in digital circuit, the Transistor-Transistor Logic level signal can be represented binary numeral usually, be equivalent to logical one (being Digital Logic 1) as+5V, 0V is equivalent to Digital Logic 0, at room temperature, usually the high level of definition input satisfy>=during 2.0V, as Digital Logic 1, satisfy at input low level<=during 0.8V, be equivalent to Digital Logic 0.Therefore, the Digital Logic that Digital Logic detection module 13 obtains is embodied in Digital Logic 1 or Digital Logic 0, when external power amplifier module 12 accesses in the MICRO-USB interface 11, identification end 121 is connected with ID end 111, because the identification end 121 of external power amplifier module 12 is by one first resistance R, 1 ground connection, therefore, when external power amplifier module 12 accesses in the MICRO-USB interface 11, Digital Logic test side 131 is connected with ground by first resistance R 1, makes Digital Logic detection module 13 get access to Digital Logic 0.
Analog signal detection module 14 comprises analog signal detection end 141, and analog signal detection end 141 is connected with ID end 111, is used for obtaining the analog voltage of ID end 111.Particularly, analog signal detection module 14 is analog-to-digital conversion module, it can be converted to analog voltage the digital voltage voltage value of binary number representations such as a plurality of Digital Logic 1 or 0 (namely by), and the benefit that analog voltage is converted to digital voltage is can directly carry out arithmetical operation to digital voltage by processor to handle.
Power supply signal output module 15 comprises power supply signal output terminal 151, and power supply signal output terminal 151 is connected with VBUS end 112, is used for the out-put supply signal to VBUS end 112.
Voice signal output module 16 comprises audio signal output terminal 161, and audio signal output terminal 161 is connected with data terminal 113 in the MICRO-USB interface 11, is used for output sound signal to data terminal 113.
The Digital Logic that control module 17 is obtained at Digital Logic detection module 13 is 0 o'clock, judging has external connection module to be inserted in the MICRO-USB interface 11, and further control the analog voltage that analog signal detection module 14 is obtained ID end 111, when analog voltage is not 0V, judge that external connection module is external power amplifier module 12, and control power supply signal output module 15 out-put supply signals to external power amplifier module 12, guide sound tone signal output module 16 output sound signals are to external power amplifier module 12.
It should be noted that external connection module mainly comprises disclosed external power amplifier module 12 and usb data transport module.
Above is that 0 foundation that has external connection module to be inserted in the MICRO-USB interface 11 with judgement is according to Digital Logic, because the identification end 121 of external power amplifier module 12 is by one first resistance R, 1 ground connection, draw voltage to Digital Logic test side 131 and in Digital Logic detection module 13, be applied with by pull-up resistor from the above, and analog signal detection end 141 and Digital Logic test side 131 are connected with ID end 111 simultaneously, therefore, when external power amplifier module 12 is inserted in the MICRO-USB interface 11, on draw voltage to pass through pull-up resistor and first resistance R, 1 ground connection, analog voltage in the analog signal detection module 14 detected Digital Logic test sides 131 is the dividing potential drop of drawing voltage on 1 pair of pull-up resistor and first resistance R, little a lot (resistance value of first resistance R 1 is preferably 1000 ohm and because first resistance R 1 is set to than pull-up resistor, and the resistance value of second pull-up resistor is preferably 10000 ohm, and on draw voltage to be generally 5V), therefore the analog voltage in the Digital Logic detection module 13 detected Digital Logic test sides 131 is the partial pressure value of drawing voltage on 1 pair of pull-up resistor and first resistance R, and this partial pressure value is very little, can think<=0.8V, it is equivalent to Digital Logic 0, so Digital Logic detection module 13 can obtain Digital Logic 0 from Digital Logic test side 131.And when external connection module is the usb data transmission equipment, because the usb data transmission equipment is held 121 general direct ground connection with the corresponding identification that ID end 111 connects in inserting MICRO-USB interface 11, therefore draw voltage directly by the direct ground connection of pull-up resistor on, the magnitude of voltage of ID end 111 is 0V, so the digital signal detection module can be obtained Digital Logic 0 from Digital Logic test side 131 equally.
And when not having external connection module to be inserted in the MICRO-USB interface 11, because being applied with by pull-up resistor in Digital Logic detection module 13 draws voltage to Digital Logic test side 131, therefore, the digital signal detection module can be obtained Digital Logic 1 from Digital Logic test side 131.
Further, by above introduction as can be known, further whether basis is that 0V is to judge that external connection module is external power amplifier module 12 or usb data transmission equipment at analog voltage, as a rule, when analog voltage is 0V, can judge that external connection module is the usb data transmission equipment, and, when analog voltage is not 0V, judge that external connection module is external power amplifier module 12.
Below see also Fig. 2, Fig. 2 is the process flow diagram based on external power amplifier module 12 recognition methodss of MICRO-USB interface 11 according to first embodiment of the invention.
As shown in Figure 2, external power amplifier module 12 recognition methodss based on MICRO-USB interface 11 according to first embodiment of the invention comprise:
Therefore, in the present embodiment, by utilizing existing MICRO-USB interface as the voice signal interface, when external power amplifier inserts the MICRO-USB interface, the voice signal of exportable correspondence and power supply signal be to external power amplifier, thereby greatly reduce cost and simplify circuit design.
It should be noted that, in first embodiment, determining external connection module when being external power amplifier module, can be by MICRO-USB interface 11 to external power amplifier module 12 out-put supply signal and voice signals, but, when determining external connection module when being the usb data transmission equipment, but can not carry out the usb data transmission at electronic equipment and usb data transmission equipment, therefore, one switching machine system need be set, make determining external connection module when being the usb data transmission equipment, can switch to the usb data transmission mode, thereby carry out the usb data transmission at electronic equipment and usb data transmission equipment.And in the second embodiment of the present invention, will make corresponding improvement on the basis of first embodiment, to reach the technique effect that pattern is switched, below will make detailed introduction referring to Fig. 3 and the second embodiment of the present invention of Fig. 4.
At first see also Fig. 3, Fig. 3 is the electrical block diagram according to the electronic equipment of second embodiment of the invention.As shown in Figure 3, the second embodiment of the present invention and first difference of implementing are, further are provided with usb data transport module and analog switch on electronic equipment.
Wherein, usb data transport module 18 comprises usb data transmission ends 181.Analog switch 10 comprises first end 101, second end 102 and the 3rd end 103, first end 101 is connected with audio signal output terminal 161, second end 102 is connected with usb data transmission ends 181, the 3rd end 103 is connected with data terminal 113, first end 101 is connected with the 3rd end 103 when power supply signal output module 15 out-put supply signals, and first end 101 is connected with second end 102 when power supply signal output module 15 stops the out-put supply signal.
Therefore, by above setting, can make control module further when analog voltage is 0V, judge that external connection module is the usb data transmission equipment, and control power supply signal output module 15 stops the out-put supply signal, at this moment, first end 101 of analog switch 10 is connected with second end 102, and usb data transport module 18 can carry out data transmission by usb data transmission ends 181 and usb data transmission equipment.
And when analog voltage is not 0V, control module can judge that external connection module is external power amplifier module, and control power supply signal output module 15 out-put supply signals, at this moment, first end 101 of analog switch 10 is connected with the 3rd end 103, and the voice signal output module can carry out data transmission by usb data transmission ends 181 and usb data transmission equipment.
Below please further referring to Fig. 4, Fig. 4 is the process flow diagram based on the external power amplifier module recognition methods of MICRO-USB interface according to second embodiment of the invention.
As shown in Figure 4, the external power amplifier module recognition methods based on the MICRO-USB interface according to second embodiment of the invention may further comprise the steps: '
Therefore, in the second embodiment of the present invention, by in electronic equipment, setting up analog switch 10 and usb data transport module 18, utilize analog switch 10 pattern of making to switch, so that determining external connection module when being the usb data transmission equipment, switch to the usb data transmission mode, thereby make usb data transport module 18 carry out data transmission by usb data transmission ends 181 and usb data transmission equipment.
It should be noted that, in the first and second above-mentioned embodiment, only with data terminal 113, audio signal output terminal 161 and analog switch 16 transmit the voice signal of single sound channel, but, because voice signal can be divided into left channel signals and right-channel signals, and the data terminal in the MICRO-USB interface more comprises D+ end and D-end, if can utilize D+ end and D-end to transmit left channel signals and right-channel signals simultaneously, will greatly improve the sound play quality, therefore, in the following third embodiment of the present invention, the implementation of utilizing D+ end and D-end to transmit left channel signals and right-channel signals simultaneously will be introduced at length.
See also Fig. 5, Fig. 5 is the electrical block diagram according to the electronic equipment of third embodiment of the invention.As shown in Figure 5, data terminal comprises D+ end 213 and D-end 215, audio signal output terminal comprises the first sound channel signal output terminal 261 and second sound channel signal output part 262, analog switch comprises first analog switch 20 and second analog switch 29, and the usb data transmission ends comprises D+ data transmission terminal 281 and D-data transmission terminal 282.
Wherein, first end 201 of first analog switch 20 is connected with first audio signal output terminal 261, second end 202 of first analog switch 20 is connected with D+ data transmission terminal 281, the 3rd end 203 of first analog switch 20 is connected with D+ end 213, first end 201 of first analog switch 20 is connected with the 3rd end 203 of first analog switch 20 when power supply signal output module 25 out-put supply signals, and first end 201 of first analog switch 20 is connected with second end 202 of first analog switch 20 when power supply signal output module 25 stops the out-put supply signal.
Similarly, first end 291 of second analog switch 29 is connected with second sound signal output terminal 262, second end 292 of second analog switch 29 is connected with D-data transmission terminal 282, the 3rd end 293 of second analog switch 29 is connected with D-end 215, first end 291 of second analog switch 29 is connected with the 3rd end 293 of second analog switch 29 when power supply signal output module 25 out-put supply signals, and first end 291 of second analog switch 29 is connected with second end 292 of second analog switch 29 when power supply signal output module 25 stops the out-put supply signal.
Therefore, when power supply signal output module 25 out-put supply signals, first end 201 of first analog switch 20 is connected with the 3rd end 203 of first analog switch 20, first end 291 of second analog switch 29 is connected with the 3rd end 293 of second analog switch 29, thereby makes voice signal output module 26 pass through the first sound channel signal output terminal 261 and second sound channel signal output part 262 output first sound channel signals and second sound channel signal to described external power amplifier module.Wherein, this first sound channel signal and second sound channel signal can be respectively left channel signals and right-channel signals
And when power supply signal output module 25 stops the out-put supply signal, second end 202 of first analog switch 20 is connected with the 3rd end 203 of first analog switch 20, second end 292 of second analog switch 29 is connected with the 3rd end 293 of second analog switch 29, thereby makes the usb data transport module carry out the usb data transmission by D+ data transmission terminal 281 and D-data transmission terminal 282 with the usb data transmission equipment.
Please further referring to Fig. 5, in the present embodiment, power supply signal is preferably 5V, and it is usb protocol specified standard magnitude of voltage, gets 5V and can drive external power amplifier well as power supply signal.
And, be provided with filter capacitor C1 between first audio signal output terminal and the D+ end 213, be provided with filter capacitor C2 between second sound signal output terminal and the D-end 215, the effective noise signal in the elimination voice signal of filter capacitor C1 and C2 wherein, thus make the play quality of external power playing module further improve.
In addition, as shown in Figure 5, more can be provided with second resistance R 2 between analog signal detection end and the ID end, this second resistance R 2 can be chosen according to actual needs, to improve the sampling precision of analog signal detection module 24.
It should be noted that, the set-up mode of the choosing of the above power supply signal that discloses, filter capacitor and second resistance R 2 can be applicable among arbitrary embodiment of the present invention, further to improve disclosed technical scheme, the present invention does not do concrete restriction to this.
Below see also Fig. 6, Fig. 6 is the electrical block diagram according to the electronic equipment of fourth embodiment of the invention.As shown in Figure 6, the difference of present embodiment and above-mentioned the 3rd embodiment is, Digital Logic detection module 23 in the electronic equipment, analog signal detection module 24, power supply signal output module 25, voice signal output module 26, control module 27 and usb data transport module 28 can be integrated in the control chip, by being embedded in corresponding control routine at control chip to finish the function of above-mentioned each module.
And, in control chip, can utilize VBUS end 351, ADC end 241, USB_ID end 331, USB_DN end 361 and USB_DP end 362, the first sound channel signal output terminal and the second sound channel signal output part of control chip to cooperate corresponding control routine to finish the corresponding function of power supply signal output module 25, analog signal detection module 24, Digital Logic detection module 23, usb data transport module 28 and voice signal output module 26.And, more can write corresponding control routine to control collaborative work between above each module, to reach the corresponding function of control module 27.Wherein, USB_ID end 331, USB_DN end 361 and USB_DP end 362, the first sound channel signal output terminal and second sound channel signal output part can utilize the universal input/output interface in the control chip to realize.And when electronic equipment was mobile phone, control chip was preferably base band signal processing chip.
Therefore, the invention provides a kind of electronic equipment and based on the external power amplifier module recognition methods of MICRO-USB interface, by utilizing originally MICRO-USB interface as data transmission terminal as the voice signal interface, and according to the ID in MICRO-USB interface end external power amplifier module is identified, when saving cost, also simplified circuit structure.
Below only be embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (10)
1. an electronic equipment is characterized in that, comprising:
The MICRO-USB interface comprises ID end, VBUS end and data terminal;
External power amplifier module comprises the identification end, and described identification end is by one first resistance eutral grounding, and when described external power amplifier module accessed in the described MICRO-USB interface, described identification end was connected with described ID end;
The Digital Logic detection module, comprise the Digital Logic test side, be applied with by pull-up resistor in described Digital Logic detection module and draw voltage to described Digital Logic test side, described Digital Logic test side is connected with described ID end, for obtaining the Digital Logic that described ID holds;
The analog signal detection module comprises the analog signal detection end, and described analog signal detection end is connected with described ID end, is used for obtaining the analog voltage of described ID end;
The power supply signal output module comprises the power supply signal output terminal, and described power supply signal output terminal is connected with described VBUS end, is used for the out-put supply signal to described VBUS end;
The voice signal output module comprises audio signal output terminal, and described audio signal output terminal is connected with data terminal in the described MICRO-USB interface, is used for output sound signal to described data terminal;
Control module, the described Digital Logic of obtaining at described Digital Logic detection module is 0 o'clock, judging has external connection module to be inserted in the described MICRO-USB interface, and further control described analog signal detection module and obtain the analog voltage that described ID holds, when described analog voltage is not 0V, judge that described external connection module is described external power amplifier module, and control described power supply signal output module out-put supply signal to described external power amplifier module, control described voice signal output module output sound signal to described external power amplifier module.
2. electronic equipment according to claim 1 is characterized in that, described electronic equipment further comprises:
The usb data transport module comprises the usb data transmission ends;
Analog switch, comprise first end, second end and the 3rd end, described first end is connected with described audio signal output terminal, described second end is connected with described usb data transmission ends, described the 3rd end is connected with described data terminal, described first end is connected with described the 3rd end when described power supply signal output module is exported described power supply signal, and described second end is connected with described the 3rd end when described power supply signal output module stops to export described power supply signal;
Described control module is further when described analog voltage is 0V, judge that described external connection module is the usb data transmission equipment, and control described power supply signal output module and stop to export described power supply signal, described usb data transport module carries out data transmission by described usb data transmission ends and described usb data transmission equipment.
3. electronic equipment according to claim 2, it is characterized in that, described data terminal comprises D+ end and D-end, described voice signal comprises left channel signals and right-channel signals, described audio signal output terminal comprises left channel signals output terminal and right-channel signals output terminal, described analog switch comprises first analog switch and second analog switch, and described usb data transmission ends comprises D+ data transmission terminal and D-data transmission terminal.
4. according to claim 1 or 3 each described electronic equipments, it is characterized in that the resistance value of described first resistance is 1000 ohm.
5. according to claim 1 or 3 each described electronic equipments, it is characterized in that described power supply signal is 5V.
6. according to claim 1 or 3 each described electronic equipments, it is characterized in that, be provided with filter capacitor between described audio signal output terminal and the described data terminal.
7. according to claim 1 or 3 each described electronic equipments, it is characterized in that, be provided with second resistance between described analog signal detection end and the described ID end.
8. according to claim 1 or 3 each described electronic equipments, it is characterized in that described external power amplifier module further comprises:
Power amplifier, described power amplifier comprises:
The voice signal input end when described external power amplifier module accesses in the described MICRO-USB interface, is connected with data terminal in the described MICRO-USB interface, and described power amplifier obtains described voice signal from described data terminal;
The power supply signal input end when described external power amplifier module accesses in the described MICRO-USB interface, is connected with VBUS in described MICRO-USB interface end, and described power amplifier is held from described VBUS and obtained described power supply signal;
Loudspeaker is connected with described power amplifier, carries out sounding according to described voice signal.
9. external power amplifier module recognition methods based on the MICRO-USB interface, it is characterized in that, described external power amplifier module is set accesses to the identification end of the ID end in the described MICRO-USB interface by one first resistance eutral grounding, in the Digital Logic detection module, be applied with by pull-up resistor and draw voltage to the Digital Logic test side of described Digital Logic detection module, said method comprising the steps of:
A. the Digital Logic of utilizing the Digital Logic detection module to obtain described ID end is inserted in the described MICRO-USB interface to have judged whether external connection module;
B. be 0 o'clock in the described Digital Logic of obtaining, judging has external connection module to be inserted in the described MICRO-USB interface,
C. utilize the analog signal detection module to obtain the analog voltage of described ID end, when described analog voltage is not 0V, judge that described external connection module is described external power amplifier module, and out-put supply signal and voice signal are to described external power amplifier module.
10. method according to claim 9, it is characterized in that, described method comprises that further step: d. is when described analog voltage is 0V, judge that described external connection module is the usb data transmission equipment, and utilize usb data transport module and described usb data transmission equipment in the described electronic equipment to carry out data transmission.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110135656 CN102361505B (en) | 2011-05-24 | 2011-05-24 | Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110135656 CN102361505B (en) | 2011-05-24 | 2011-05-24 | Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102361505A CN102361505A (en) | 2012-02-22 |
CN102361505B true CN102361505B (en) | 2013-07-10 |
Family
ID=45586758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110135656 Expired - Fee Related CN102361505B (en) | 2011-05-24 | 2011-05-24 | Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102361505B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2015271398B2 (en) * | 2014-06-04 | 2019-09-19 | Adaptalift Investments Pty Ltd | Battery-powered platform for interchangeable modules |
CN106026006B (en) * | 2016-06-30 | 2019-07-16 | 成绎半导体技术(上海)有限公司 | A kind of USB Type-C interface female intelligent measurement and protection circuit |
CN110300318B (en) * | 2019-05-15 | 2021-09-21 | 深圳康佳电子科技有限公司 | USB terminal interface circuit and USB terminal interface circuit control method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100495377C (en) * | 2007-03-09 | 2009-06-03 | 华为技术有限公司 | Method and terminal interface for detecting plugged-in peripheral type |
CN201359725Y (en) * | 2009-01-21 | 2009-12-09 | 青岛海信移动通信技术股份有限公司 | USB interface circuit and portable hand-held device provided with the circuit |
CN101931674B (en) * | 2010-09-01 | 2014-04-16 | 惠州Tcl移动通信有限公司 | Method and device for sharing Micro-USB interface |
-
2011
- 2011-05-24 CN CN 201110135656 patent/CN102361505B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN102361505A (en) | 2012-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203167074U (en) | Mobile terminal configured with reuse interface | |
US10021477B2 (en) | Backward compatible system and method for using 4P audio jack to provide power and signal to headset with active noise cancellation | |
CN103475972B (en) | Connecting part for headset plug, headset plug and terminal | |
CN105100330B (en) | The method and mobile terminal of a kind of equipment effects,sound optimization | |
CN104267924A (en) | Mobile terminal and audio processing method thereof | |
CN103078224B (en) | Connecting line, control method, control circuit and electronic equipment | |
CN103561369A (en) | Usb interface circuit and electronic equipment | |
CN103118191A (en) | Using control method and mobile terminal for iPhone wire control earphone | |
CN103793193A (en) | Mode switching method for audio interface, audio interface and electronic equipment | |
CN105848028A (en) | Earphone for charging audio device and method for charging audio device | |
CN102361505B (en) | Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface | |
CN207052880U (en) | The earphone interface and mobile terminal of a kind of mobile terminal | |
CN105872869A (en) | Method and device for positive and negative insertion of compatible analog headphones | |
CN102355518A (en) | Mobile phone and audio processing method thereof | |
CN102833649A (en) | Earphone interface circuit and mobile communication device | |
CN205987323U (en) | Audio processing circuit and terminal based on type c interface | |
US20190014410A1 (en) | Notifying of a mismatch between an audio jack and an audio socket | |
CN103369430A (en) | Earphone interface circuit and audio playing device | |
CN205105379U (en) | A bluetooth speaker, audio data cable and bluetooth speaker system | |
WO2025050774A1 (en) | Earphone drive-by-wire signal identification method, apparatus and device, and audio playback system | |
CN102855905A (en) | Audio play device and volume control method for same | |
CN101006623B (en) | Single connector for a communication terminal, corresponding electronic circuit, terminal and cable | |
TWI394045B (en) | Portable electronic device and method of identifying its accessories | |
CN101505333A (en) | Mobile terminal having direct recording function and direct recording method thereof | |
CN203414888U (en) | Multifunctional USB (Universal Serial Bus) external sound card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130710 |
|
CF01 | Termination of patent right due to non-payment of annual fee |