CN103442317A - Audio port identification circuit, audio port identification method and communication device - Google Patents

Audio port identification circuit, audio port identification method and communication device Download PDF

Info

Publication number
CN103442317A
CN103442317A CN2013103769938A CN201310376993A CN103442317A CN 103442317 A CN103442317 A CN 103442317A CN 2013103769938 A CN2013103769938 A CN 2013103769938A CN 201310376993 A CN201310376993 A CN 201310376993A CN 103442317 A CN103442317 A CN 103442317A
Authority
CN
China
Prior art keywords
audio
port
diode
processing module
identification processing
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
CN2013103769938A
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.)
Shenzhen Excelsecu Data Technology Co Ltd
Original Assignee
Shenzhen Excelsecu Data Technology Co Ltd
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 Shenzhen Excelsecu Data Technology Co Ltd filed Critical Shenzhen Excelsecu Data Technology Co Ltd
Priority to CN2013103769938A priority Critical patent/CN103442317A/en
Publication of CN103442317A publication Critical patent/CN103442317A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stereophonic Arrangements (AREA)

Abstract

The invention discloses an audio port identification circuit, an audio port identification method and a communication device. The communication device comprises the audio port identification circuit. The audio port identification circuit comprises an audio interface, an audio access state detection module and an audio identification processing module. A first audio port and a second audio port of the audio interface are connected with a first pin and a second pin of an audio head respectively. The audio port identification circuit generates corresponding detection signals according to audio interface states detected by the audio access state detection module and transmits the detection signals to the audio identification processing module; the audio identification processing module compares the level of the first audio port of the audio interface with the level of the second audio port of the audio interface according to the detection signals so as to identify the type of the audio head which has access to the audio interface currently, and the audio port with the lower level is set to be in an output state to output ground signals; therefore, common grounding of the communication device and an audio device can be achieved, communication between the communication device and the audio device can be achieved, and besides, design cost and requirements of the audio port identification circuit are reduced.

Description

Audio port identification circuit, recognition methods and communication equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of audio port identification circuit, recognition methods and communication equipment.
Background technology
The pinout of the audio head of the audio frequency apparatus of prior art and electric parameter difference, generally be divided into international standard (CTIA, Cellular Telecommunications Industry Association) and national standard (OMTP, Open Mobile Terminal Platform).The pinout of international standard is L/R/G/MIC+, and the pinout of national standard is L/R/MIC+/G.For the versatility of the audio interface that improves audio communication device, need to the type of the audio head of access be judged in advance.
Usually, when the audio head of audio frequency apparatus is disconnected the audio interface of letter equipment, there is the pull-up resistor of 1.8V the microphone pin inside of audio head.Existing audio port identification circuit is in the type of judgement audio head, while differentiating the microphone pin of audio head and grounding pin, usually the detection scheme adopted is: at first the first I/O (I/O) by microcontroller in communication equipment mouthful is by the grounding pin conducting of pin and the microcontroller of audio head, detect again the level of another pin of audio head by the 2nd I/O mouth of microcontroller, if being conducting to the grounding pin of microcontroller by an I/O mouth is the grounding pin of audio head, the level of the 2nd will detect+1.8V of I/O mouth of microcontroller, the type correct judgment of audio head now is described, the audio head of access and audio interface are mated, if being conducting to the grounding pin of microcontroller by an I/O mouth is the microphone pin of audio head, the level of the 2nd will access-1.8V of I/O mouth of microcontroller, the type misjudgment of audio head now is described, audio head and the audio interface of access are not mated.Usually, the voltage on the I/O mouth of microcontroller is what not allow lower than-0.3V, otherwise the level state detected according to the I/O mouth can cause the type misjudgment to audio head, even burns the I/O mouth of microcontroller.Therefore; in above-mentioned detection scheme; if should accurately judge the type of audio head; protect again the I/O mouth of microcontroller not burnt; the I/O mouth of microcontroller wants to bear the voltage of access-1.8V; perhaps microcontroller uses positive-negative power supply, and like this, the type judgement of using separately the I/O mouth of microcontroller to make audio head has very high requirement to microcontroller.In addition, also have the special-purpose audio head type judgement chip of direct employing to do the type judgement of audio head, yet special-purpose audio head type judgement chip cost is higher.
Summary of the invention
Main purpose of the present invention is to propose a kind of audio port identification circuit, recognition methods and communication equipment, be intended to realize the type of audio head is identified, realize communicating by letter of communication equipment and audio frequency apparatus, and reduce design cost and the requirement of audio port identification circuit.
In order to achieve the above object, the present invention proposes a kind of audio port identification circuit, comprises audio interface, by described audio interface, with outside audio frequency apparatus, is connected, and also comprises audio frequency access state detection module and audio identification processing module;
Described audio interface comprises the first audio port and the second audio port, with the first pin of the audio head of audio frequency apparatus, with the second pin, be connected respectively, described audio frequency access state detection module is connected with described audio identification processing module with described audio interface respectively, and described audio identification processing module also is connected with described audio interface;
Described audio frequency access state detection module, according to the state of the audio interface detected, generates corresponding detection signal and exports described audio identification processing module to;
Described audio identification processing module is according to described detection signal, described the first audio port relatively be attached thereto and the level of the second audio port, and the lower audio port of level is set to earth signal output.
Preferably, described audio frequency access state detection module comprises first input end, the second input, positive output end, earth terminal, the first diode, the second diode, the 3rd diode and the 4th diode;
Described first input end is connected with described the first audio port, and described the second input is connected with described the second audio port, and described positive output end, earth terminal are connected with described audio identification processing module;
The negative electrode of described the first diode is connected with described the second input, and the anode of described the first diode is connected with described earth terminal; The anode of described the second diode is connected with described the second input, and the negative electrode of described the second diode is connected with described positive output end; The negative electrode of described the 3rd diode is connected with described first input end, and the anode of described the 3rd diode is connected with described earth terminal; The anode of described the 4th diode is connected with described first input end, and the negative electrode of described the 4th diode is connected with described positive output end.
Preferably, described audio identification processing module comprises microcontroller, and described microcontroller comprises the first I/O port, the second I/O port, the 3rd I/O port and grounding pin; Described the first I/O port is connected with described the first audio port, and described the second I/O port is connected with described the second audio port, and described the 3rd I/O port is connected with described positive output end, and described grounding pin is connected with described earth terminal.
The present invention also proposes a kind of communication equipment, this communication equipment comprises the audio port identification circuit, this audio port identification circuit comprises audio interface, by described audio interface, with outside audio frequency apparatus, is connected, and also comprises audio frequency access state detection module and audio identification processing module;
Described audio interface comprises the first audio port and the second audio port, with the first pin of the audio head of audio frequency apparatus, with the second pin, be connected respectively, described audio frequency access state detection module is connected with described audio identification processing module with described audio interface respectively, and described audio identification processing module also is connected with described audio interface;
Described audio frequency access state detection module, according to the state of the audio interface detected, generates corresponding detection signal and exports described audio identification processing module to;
Described audio identification processing module is according to described detection signal, described the first audio port relatively be attached thereto and the level of the second audio port, and the lower audio port of level is set to earth signal output.
Preferably, described audio frequency access state detection module comprises first input end, the second input, positive output end, earth terminal, the first diode, the second diode, the 3rd diode and the 4th diode;
Described first input end is connected with described the first audio port, and described the second input is connected with described the second audio port, and described positive output end, earth terminal are connected with described audio identification processing module;
The negative electrode of described the first diode is connected with described the second input, and the anode of described the first diode is connected with described earth terminal; The anode of described the second diode is connected with described the second input, and the negative electrode of described the second diode is connected with described positive output end; The negative electrode of described the 3rd diode is connected with described first input end, and the anode of described the 3rd diode is connected with described earth terminal; The anode of described the 4th diode is connected with described first input end, and the negative electrode of described the 4th diode is connected with described positive output end.
Preferably, described audio identification processing module comprises microcontroller, and described microcontroller comprises the first I/O port, the second I/O port, the 3rd I/O port and grounding pin; Described the first I/O port is connected with described the first audio port, and described the second I/O port is connected with described the second audio port, and described the 3rd I/O port is connected with described positive output end, and described grounding pin is connected with described earth terminal.
The audio port identification circuit that the present invention proposes, the state of the audio interface detected according to audio frequency access state detection module, generate corresponding detection signal and export the audio identification processing module to, the audio identification processing module is according to the detection signal received, the first audio port of the audio interface relatively be attached thereto and the level of the second audio port, and then identify the type of current accessed audio head, the audio port that level is lower simultaneously is set to earth signal output, make communication equipment and audio frequency apparatus altogether, realize communicating by letter of communication equipment and audio frequency apparatus.Audio port identification circuit of the present invention, access the type of state detection module and audio identification processing module identification audio head by audio frequency, realize communicating by letter of audio frequency apparatus and communication equipment, reduced design cost and the requirement of audio port identification circuit.
The present invention further also proposes a kind of audio port recognition methods, and this audio port recognition methods comprises the following steps:
Whether audio frequency access state detection module detects audio interface outside audio frequency apparatus access, when the audio frequency apparatus access is arranged, exports detection signal to the audio identification processing module;
The first audio port of audio identification processing module comparing audio interface and the level of the second audio port, the audio port that level is lower is set to earth signal output.
Preferably, whether described audio frequency access state detection module detects audio interface the outer audio equipment access, when the audio frequency apparatus access is arranged, exports detection signal to the audio identification processing module and is specially:
When audio interface has the audio frequency apparatus access, the detection signal of audio frequency access state detection module output high level is to the audio identification processing module; When audio interface does not have the audio frequency apparatus access, audio frequency access state detection module is not exported the detection signal of high level to the audio identification processing module.
The audio port recognition methods that the present invention proposes, when audio frequency access state detection module detection audio interface has the outer audio equipment access, the first audio port of audio identification processing module comparing audio interface and the level of the second audio port, identify the type of current accessed audio head, then the audio port that level is lower is set to earth signal output, make communication equipment and audio frequency apparatus altogether, realize communicating by letter of communication equipment and audio frequency apparatus.
The accompanying drawing explanation
The theory diagram that Fig. 1 is audio port identification circuit of the present invention preferred embodiment;
The electrical block diagram that Fig. 2 is audio port identification circuit of the present invention preferred embodiment;
The schematic flow sheet that Fig. 3 is audio port recognition methods preferred embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention proposes a kind of audio port identification circuit.
With reference to Fig. 1, the theory diagram that Fig. 1 is audio port identification circuit of the present invention preferred embodiment.
In preferred embodiment of the present invention, audio port identification circuit 10 comprises audio interface 11, audio frequency access state detection module 12 and audio identification processing module 13, by audio interface 11, with outside audio frequency apparatus 20, is connected; Audio interface 11 comprises the first audio port and the second audio port, with the first pin of the audio head 21 of audio frequency apparatus 20 and the second pin, (this first pin and the second pin are respectively microphone pin and the grounding pin of audio head 21 respectively, perhaps be respectively the grounding pin and microphone pin of audio head 21) be connected, audio frequency access state detection module 12 is connected with audio identification processing module 13 with audio interface 11 respectively, and audio identification processing module 13 also is connected with audio interface 11.
Audio frequency access state detection module 12 states according to the audio interface 11 detected, generate corresponding detection signal, and export audio identification processing module 13 to; Audio identification processing module 13 is according to this detection signal, the first audio port of comparing audio interface 11 and the level of the second audio port, and the lower audio port of level is set to earth signal output.
In the present embodiment, audio frequency access state detection module 12 detects the state of audio interface 11, and according to the state of the audio interface 11 detected, generate corresponding detection signal, when audio frequency access state detection module 12 has detected audio head 21 accessing to audio interface 11, audio frequency access state detection module 12 generates the detection signal of high level; When audio frequency access state detection module 12 does not detect audio head 21 accessing to audio interface 11, audio frequency access state detection module 12 does not generate the detection signal of high level signal.Audio frequency access state detection module 12 exports the detection signal of generation to audio identification processing module 13, when audio identification processing module 13 is high level signal at the detection signal received, the first audio port of comparing audio interface 11 and the level of the second audio port, and then identify the type of current accessed audio head 21, determine the first pin of the audio head 21 that the audio port lower with level be connected or the grounding pin that the second pin is audio head 21, the microphone pin that the first pin of the audio head 21 that the audio port higher with level is connected or the second pin are audio head 21, and the audio port that level is lower is set to earth signal output, make communication equipment and audio frequency apparatus 20 altogether, realize communicating by letter of communication equipment and audio frequency apparatus 20.
With respect to prior art, audio port identification circuit 10 of the present invention accesses state detection module 12 by audio frequency and audio identification processing module 13 completes the type identification to audio head 21, realize communicating by letter of audio frequency apparatus 20 and communication equipment, reduced design cost and the requirement of audio port identification circuit 10.
In conjunction with Fig. 1 and Fig. 2, the electrical block diagram that wherein Fig. 2 is audio port identification circuit of the present invention preferred embodiment.
In the present embodiment, audio frequency access state detection module 12 comprises first input end A, the second input B, positive output end C, earth terminal D, the first diode D1, the second diode D2, the 3rd diode D3 and the 4th diode D4.
First input end A is connected with the first audio port P1 of audio interface 11, and the second input B is connected with the second audio port P2 of audio interface 11, and positive output end C, earth terminal D are connected with audio identification processing module 13; The negative electrode of the first diode D1 is connected with the second input B, and the anode of the first diode D1 is connected with earth terminal D; The anode of the second diode D2 is connected with the second input B, and the negative electrode of the second diode D2 is connected with positive output end C; The negative electrode of the 3rd diode D3 is connected with first input end A, and the anode of the 3rd diode D3 is connected with earth terminal D; The anode of the 4th diode D4 is connected with first input end A, and the negative electrode of the 4th diode D4 is connected with positive output end C.
In the present embodiment, the first diode D1, the second diode D2, the 3rd diode D3 and the 4th diode D4 preferably select Schottky diode, and the conduction voltage drop of the first diode D1, the second diode D2, the 3rd diode D3 and the 4th diode D4 equates and is less than 0.3V.In addition, the first diode D1, the second diode D2, the 3rd diode D3 and the 4th diode D4 have the unilateal conduction characteristic, and the conduction voltage drop under little current condition is less than the other types diode of 0.3V, as germanium diode.
Particularly, audio identification processing module 13 comprises microcontroller U1, and microcontroller U1 comprises the first I/O port I/O1, the second I/O port I/O2, the 3rd I/O port I/O3 and grounding pin GND.
The first I/O port I/O1 is connected with the first audio port P1 of audio interface 11, the second I/O port I/O2 is connected with the second audio port P2 of audio interface 11, the 3rd I/O port I/O3 is connected with positive output end C, and grounding pin GND is connected with earth terminal D.
Because the first diode D1, the second diode D2, the 3rd diode D3 and the 4th diode D4 have the unilateal conduction characteristic, therefore, the audio head 21 that no matter accessed is international standard or the audio head of national standard, the detection signal of the positive output end C output of audio frequency access state detection module 12 is high level, make the detection signal of audio identification processing module 13 according to this high level, judged audio head 21 accessing to audio interfaces 11.Conduction voltage drop due to the first diode D1, the second diode D2, the 3rd diode D3 and the 4th diode D4 is less than 0.3V simultaneously, therefore, make the voltage on the grounding pin GND of microcontroller U1 can not surpass 0.3V, be also that voltage on the I/O port of microcontroller U1 can be lower than-0.3V, make the I/O port of microcontroller U1 can not burnt, microcontroller U1 can not burnt.
The operation principle of audio port identification circuit 10 of the present invention specifically describes as follows:
When the audio interface 11 of the audio head 21 access communications equipment audio frequency apparatus 20, if the audio head 21 of audio frequency apparatus 20 is international standards, as shown in Figure 2, what the first audio port P1 of audio interface 11 connected is the grounding pin of audio head 21, what the second audio port P2 of audio interface 11 connected is the microphone pin of audio head 21, due to the first diode D1, the second diode D2, the unilateral conduction of the 3rd diode D3 and the 4th diode D4, the electric current of the microphone pin of audio head 21 flow to the 3rd I/O port I/O3 of microcontroller U1 by the second diode D2, the electric current of the grounding pin GND of microcontroller U1 flow to the grounding pin of audio head 21 by the 3rd diode D3, now microcontroller U1 detects high level by the 3rd I/O port I/O3, if the audio head 21 of audio frequency apparatus 20 is national standards, as shown in Figure 2, what the first audio port P1 of audio interface 11 connected is the microphone pin of audio head 21, what the second audio port P2 of audio interface 11 connected is the grounding pin of audio head 21, unilateral conduction due to diode, the electric current of the microphone pin of audio head 21 flow to the 3rd I/O port I/O3 of microcontroller U1 by the 4th diode D4, the electric current of the grounding pin GND of microcontroller U1 flow to the grounding pin of audio head 21 by the first diode D1, now microcontroller U1 detects high level by the 3rd I/O port I/O3.Hence one can see that, no matter the audio head 21 of the audio frequency apparatus 20 accessed is the audio head of international standard, or the audio head of national standard, as long as the 3rd I/O port I/O3 of microcontroller U1 detects high level, microcontroller U1 just has been judged as audio frequency apparatus 20 accesses.Therefore, whether microcontroller U1 is high level by detecting the 3rd I/O port I/O3, has judged whether audio frequency apparatus 20 accesses.
When the audio head 21 of accessed audio frequency apparatus 20 is the audio head of international standard, due to the first diode D1, the second diode D2, itself there are pressure drop in the 3rd diode D3 and the 4th diode D4, the first diode D1 of the present embodiment, the second diode D2, the pressure drop of the 3rd diode D3 and the 4th diode D4 equates and is less than 0.3V, therefore flow through the voltage characteristic of Schottky diode according to little electric current known, there is the pressure reduction that is less than 0.3V between the grounding pin GND of microcontroller U1 and the grounding pin of audio head 21, now, microcontroller U1 is by the first I/O port I/O1, the second I/O port I/O2 is set to input state, by the first I/O port I/O1, the second I/O port I/O2 removes to judge the level of the second audio port P2 of the first audio port P1 of audio interface 11 and audio interface 11, what connect due to the second audio port P2 of audio interface 11 is the microphone pin of audio head 21, and the voltage on the microphone pin of audio head 21 is 1.8V, there is the pressure reduction that is less than 0.3V between the grounding pin GND of microcontroller U1 and the grounding pin of audio head 21, therefore microcontroller U1 can detect the level that is greater than 1.5V and is less than 1.8V from the second I/O port I/O2, simultaneously, what connect due to the first audio port P1 of audio interface 11 is the grounding pin of audio head 21, and the voltage on the grounding pin of audio head 21 is 0V, there is the pressure reduction that is less than 0.3V between the grounding pin GND of microcontroller U1 and the grounding pin of audio head 21, therefore the first I/O port I/O1 of microcontroller U1 can access the voltage (be generally-0.3~-0.2V) of be greater than-0.3V, thereby the first I/O port I/O1 belongs to low level, the second I/O port I/O2 belongs to high level, now microcontroller U1 is set to output state by the first I/O port I/O1, and output earth signal, the i.e. grounding pin GND conducting of the first I/O port I/O1 and microcontroller U1, it is also the grounding pin GND conducting of grounding pin and the microcontroller U1 of audio head 21, audio frequency apparatus 20 and communication equipment are altogether, eliminated the pressure reduction of the grounding pin of the grounding pin GND of microcontroller U1 and audio head 21, thereby, can realize communicating by letter between audio frequency apparatus 20 and communication equipment.
When the audio head 21 of accessed audio frequency apparatus 20 is the audio head of national standard, there is the pressure reduction that is less than 0.3V between the grounding pin GND of microcontroller U1 and the grounding pin of audio head 21, microcontroller U1 is by the first I/O port I/O1, the second I/O port I/O2 is set to input state, by the first I/O port I/O1, the second I/O port I/O2 removes to judge the level of the second audio port P2 of the first audio port P1 of audio interface 11 and audio interface 11, what connect due to the first audio port P1 of audio interface 11 now is the microphone pin of audio head 21, voltage on the microphone pin of audio head 21 is 1.8V, there is the pressure reduction that is less than 0.3V between the grounding pin GND of microcontroller U1 and the grounding pin of audio head 21, therefore microcontroller U1 can detect the level that is greater than 1.5V and is less than 1.8V from the first I/O port I/O1 pin, what connect due to the second audio port P2 of audio interface 11 is the grounding pin of audio frequency apparatus 20, voltage on the grounding pin of audio head 21 is 0V, have the pressure reduction be less than 0.3V between the grounding pin GND of microcontroller U1 and the grounding pin of audio head 21, so the second I/O port I/O2 of microcontroller U1 can access the voltage (be generally-0.3~-0.2V) of be greater than-0.3V.Thereby the second I/O port I/O2 belongs to low level, the first I/O port I/O1 belongs to high level, now microcontroller U1 is set to output state by the second I/O port I/O2, and output earth signal, the i.e. grounding pin GND conducting of the second I/O port I/O2 and microcontroller U1, it is also the grounding pin GND conducting of grounding pin and the microcontroller U1 of audio head 21, audio frequency apparatus 20 and communication equipment are altogether, eliminated the pressure reduction of the grounding pin of the grounding pin GND of microcontroller U1 and audio head 21, thereby, can realize communicating by letter between audio frequency apparatus 20 and communication equipment.
When audio frequency apparatus 20 disconnections are connected with communication equipment, microcontroller U1 does not detect the detection signal of high level by the 3rd I/O port I/O3.After microcontroller U1 detects audio frequency apparatus 20 and disconnects, the first I/O port I/O1, the second I/O port I/O2 are set to input state, wait for that audio frequency apparatus 20 accesses again.
The present invention also proposes a kind of communication equipment, and this communication equipment comprises audio port identification circuit 10, and the structure of this audio port identification circuit 10, operation principle and the beneficial effect that brings, all with reference to above-described embodiment, repeat no more herein.
The present invention further also proposes a kind of audio port recognition methods based on above-described embodiment audio port identification circuit.
With reference to Fig. 3, the schematic flow sheet that Fig. 3 is audio port recognition methods preferred embodiment of the present invention.
In the present embodiment, the audio port recognition methods comprises the following steps;
Step S10: whether audio frequency access state detection module detects audio interface outside audio frequency apparatus access, when the audio frequency apparatus access is arranged, exports detection signal to the audio identification processing module.
Step S20: the first audio port of audio identification processing module comparing audio interface and the level of the second audio port, the audio port that level is lower is set to earth signal output.The audio port recognition methods of the present embodiment is the recognition methods corresponding with above-mentioned audio port identification circuit, in the present embodiment, at first access by audio frequency the state that state detection module detects audio interface, and according to the state of the audio interface detected, generate corresponding detection signal, when audio frequency access state detection module detects the audio head accessing to audio interface of outer audio equipment, audio frequency access state detection module generates the detection signal of high level; When audio frequency access state detection module does not detect audio head accessing to audio interface, audio frequency access state detection module does not generate the detection signal of high level.Secondly, audio frequency access state detection module exports the detection signal of generation to the audio identification processing module, the audio identification processing module is according to the detection signal received, the first audio port of comparing audio interface and the level of the second audio port, and then identify the type of audio head, the grounding pin that the pin that determines the audio head that the audio port lower with level be connected is audio head, the microphone pin that the pin of the audio head that the audio port higher with level is connected is audio head.Finally, the audio port that audio identification processing module level is lower is set to earth signal output, makes communication equipment and audio frequency apparatus altogether, realizes communicating by letter of communication equipment and audio frequency apparatus.
Particularly, step S10 is specially:
When audio interface has the audio frequency apparatus access, the detection signal of audio frequency access state detection module output high level is to the audio identification processing module; When audio interface does not have the audio frequency apparatus access, audio frequency access state detection module is not exported the detection signal of high level to the audio identification processing module.
In the present embodiment, when audio interface has the audio head access of audio frequency apparatus, the detection signal of audio frequency access state detection module output high level is to the audio identification processing module; When audio interface does not have the audio head access of audio frequency apparatus, audio frequency access state detection module is not exported the detection signal of high level to the audio identification processing module.Thereby, whether the audio identification processing module can be high level according to the detection signal received, whether the audio interface that judges communication equipment has the audio frequency apparatus access, the audio identification processing module of the present embodiment is when the detection signal received is high level signal, the audio interface of judging communication equipment has outside audio frequency apparatus access, and then after having judged the audio frequency apparatus access, type to the audio head of audio frequency apparatus is identified, thereby identify current accessed audio head, is international standard or the audio head of national standard.
The audio port recognition methods that the present invention proposes, when audio frequency access state detection module detection audio interface has the outer audio equipment access, the first audio port of audio identification processing module comparing audio interface and the level of the second audio port, identify the type of the audio head of current accessed audio frequency apparatus, then the audio port that level is lower is set to earth signal output, make communication equipment and audio frequency apparatus altogether, realize communicating by letter of communication equipment and audio frequency apparatus.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification 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 scope of patent protection of the present invention.

Claims (8)

1. an audio port identification circuit, comprise audio interface, by described audio interface, with outside audio frequency apparatus, is connected, and it is characterized in that, also comprises audio frequency access state detection module and audio identification processing module;
Described audio interface comprises the first audio port and the second audio port, with the first pin of the audio head of audio frequency apparatus, with the second pin, be connected respectively, described audio frequency access state detection module is connected with described audio identification processing module with described audio interface respectively, and described audio identification processing module also is connected with described audio interface;
Described audio frequency access state detection module, according to the state of the audio interface detected, generates corresponding detection signal and exports described audio identification processing module to;
Described audio identification processing module is according to described detection signal, described the first audio port relatively be attached thereto and the level of the second audio port, and the lower audio port of level is set to earth signal output.
2. audio port identification circuit as claimed in claim 1, it is characterized in that, described audio frequency access state detection module comprises first input end, the second input, positive output end, earth terminal, the first diode, the second diode, the 3rd diode and the 4th diode;
Described first input end is connected with described the first audio port, and described the second input is connected with described the second audio port, and described positive output end, earth terminal are connected with described audio identification processing module;
The negative electrode of described the first diode is connected with described the second input, and the anode of described the first diode is connected with described earth terminal; The anode of described the second diode is connected with described the second input, and the negative electrode of described the second diode is connected with described positive output end; The negative electrode of described the 3rd diode is connected with described first input end, and the anode of described the 3rd diode is connected with described earth terminal; The anode of described the 4th diode is connected with described first input end, and the negative electrode of described the 4th diode is connected with described positive output end.
3. audio port identification circuit as claimed in claim 2, is characterized in that, described audio identification processing module comprises microcontroller, and described microcontroller comprises the first I/O port, the second I/O port, the 3rd I/O port and grounding pin; Described the first I/O port is connected with described the first audio port, and described the second I/O port is connected with described the second audio port, and described the 3rd I/O port is connected with described positive output end, and described grounding pin is connected with described earth terminal.
4. a communication equipment, is characterized in that, comprises the audio port identification circuit, and described audio port identification circuit comprises audio interface, by described audio interface, with outside audio frequency apparatus, is connected, and also comprises audio frequency access state detection module and audio identification processing module;
Described audio interface comprises the first audio port and the second audio port, with the first pin of the audio head of audio frequency apparatus, with the second pin, be connected respectively, described audio frequency access state detection module is connected with described audio identification processing module with described audio interface respectively, and described audio identification processing module also is connected with described audio interface;
Described audio frequency access state detection module, according to the state of the audio interface detected, generates corresponding detection signal and exports described audio identification processing module to;
Described audio identification processing module is according to described detection signal, described the first audio port relatively be attached thereto and the level of the second audio port, and the lower audio port of level is set to earth signal output.
5. communication equipment as claimed in claim 4, is characterized in that, described audio frequency access state detection module comprises first input end, the second input, positive output end, earth terminal, the first diode, the second diode, the 3rd diode and the 4th diode;
Described first input end is connected with described the first audio port, and described the second input is connected with described the second audio port, and described positive output end, earth terminal are connected with described audio identification processing module;
The negative electrode of described the first diode is connected with described the second input, and the anode of described the first diode is connected with described earth terminal; The anode of described the second diode is connected with described the second input, and the negative electrode of described the second diode is connected with described positive output end; The negative electrode of described the 3rd diode is connected with described first input end, and the anode of described the 3rd diode is connected with described earth terminal; The anode of described the 4th diode is connected with described first input end, and the negative electrode of described the 4th diode is connected with described positive output end.
6. communication equipment as claimed in claim 5, is characterized in that, described audio identification processing module comprises microcontroller, and described microcontroller comprises the first I/O port, the second I/O port, the 3rd I/O port and grounding pin; Described the first I/O port is connected with described the first audio port, and described the second I/O port is connected with described the second audio port, and described the 3rd I/O port is connected with described positive output end, and described grounding pin is connected with described earth terminal.
7. the audio port recognition methods of audio port identification circuit as claimed any one in claims 1 to 3, is characterized in that, comprises the following steps:
Whether audio frequency access state detection module detects audio interface outside audio frequency apparatus access, when the audio frequency apparatus access is arranged, exports detection signal to the audio identification processing module;
The first audio port of audio identification processing module comparing audio interface and the level of the second audio port, the audio port that level is lower is set to earth signal output.
8. audio port recognition methods as claimed in claim 7, it is characterized in that, whether described audio frequency access state detection module detects audio interface the outer audio equipment access, when the audio frequency apparatus access is arranged, exports detection signal to the audio identification processing module and is specially:
When audio interface has the audio frequency apparatus access, the detection signal of audio frequency access state detection module output high level is to the audio identification processing module; When audio interface does not have the audio frequency apparatus access, audio frequency access state detection module is not exported the detection signal of high level to the audio identification processing module.
CN2013103769938A 2013-08-26 2013-08-26 Audio port identification circuit, audio port identification method and communication device Pending CN103442317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103769938A CN103442317A (en) 2013-08-26 2013-08-26 Audio port identification circuit, audio port identification method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103769938A CN103442317A (en) 2013-08-26 2013-08-26 Audio port identification circuit, audio port identification method and communication device

Publications (1)

Publication Number Publication Date
CN103442317A true CN103442317A (en) 2013-12-11

Family

ID=49695975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103769938A Pending CN103442317A (en) 2013-08-26 2013-08-26 Audio port identification circuit, audio port identification method and communication device

Country Status (1)

Country Link
CN (1) CN103442317A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282653A (en) * 2014-07-11 2016-01-27 国民技术股份有限公司 Audio-insertion automatic wake-up apparatus and audio-insertion automatic wake-up method
CN109141535A (en) * 2018-10-15 2019-01-04 广州市浩翔计算机科技有限公司 A kind of audio frequency apparatus multifunction monitoring system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990144A (en) * 2009-07-31 2011-03-23 沈阳晨讯希姆通科技有限公司 Double earphone adapter, main board and method for detecting double earphones
CN102739183A (en) * 2012-06-13 2012-10-17 天地融科技股份有限公司 Audio interface matching identification method and device for mobile terminal, and electronic signature tool
CN102761804A (en) * 2012-06-14 2012-10-31 天地融科技股份有限公司 Self-adaptive method and self-adaptive device of voice frequency interface, and electronic signature tool
CN202841485U (en) * 2012-08-15 2013-03-27 深圳盒子支付信息技术有限公司 Audio-interface identification circuit and user device
CN103051989A (en) * 2011-10-12 2013-04-17 宏达国际电子股份有限公司 Audio electronic device and audio plug recognition and operation method
CN203466962U (en) * 2013-08-26 2014-03-05 深圳市文鼎创数据科技有限公司 Audio port identification circuit and communication device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990144A (en) * 2009-07-31 2011-03-23 沈阳晨讯希姆通科技有限公司 Double earphone adapter, main board and method for detecting double earphones
CN103051989A (en) * 2011-10-12 2013-04-17 宏达国际电子股份有限公司 Audio electronic device and audio plug recognition and operation method
CN102739183A (en) * 2012-06-13 2012-10-17 天地融科技股份有限公司 Audio interface matching identification method and device for mobile terminal, and electronic signature tool
CN102761804A (en) * 2012-06-14 2012-10-31 天地融科技股份有限公司 Self-adaptive method and self-adaptive device of voice frequency interface, and electronic signature tool
CN202841485U (en) * 2012-08-15 2013-03-27 深圳盒子支付信息技术有限公司 Audio-interface identification circuit and user device
CN203466962U (en) * 2013-08-26 2014-03-05 深圳市文鼎创数据科技有限公司 Audio port identification circuit and communication device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282653A (en) * 2014-07-11 2016-01-27 国民技术股份有限公司 Audio-insertion automatic wake-up apparatus and audio-insertion automatic wake-up method
CN105282653B (en) * 2014-07-11 2019-04-05 国民技术股份有限公司 Audio is inserted into automatic waking device and audio is inserted into automatic awakening method
CN109141535A (en) * 2018-10-15 2019-01-04 广州市浩翔计算机科技有限公司 A kind of audio frequency apparatus multifunction monitoring system

Similar Documents

Publication Publication Date Title
CN203224819U (en) Mainboard
US10528492B2 (en) Circuit, method and apparatus for USB interface sharing
EP2863652A1 (en) Audio interface self-adaptation device
CN204350072U (en) Data line interface, headset plug, mobile terminal and system
CN106033400B (en) Universal serial bus cable species detection device and method
CN204287446U (en) A kind of power-fail detection circuit
CN104618836A (en) Communication device
CN203933930U (en) Earphone interface circuit and portable electron device
CN205068033U (en) Detection control circuit of water level perception device
CN203466962U (en) Audio port identification circuit and communication device
CN203759164U (en) Circuit for detecting access state of USB load equipment
CN103442317A (en) Audio port identification circuit, audio port identification method and communication device
CN105451149B (en) A kind of loudspeaker plug-pull detecting circuit and electronic equipment
CN203422433U (en) Detection interface structure of network cable insertion
CN202750222U (en) Audio frequency input circuit and electronic equipment with audio frequency input
CN204350278U (en) Communication device
CN208188729U (en) Electronic equipment
CN203688086U (en) Two-line remote temperature measuring circuit based on digital temperature sensor
CN105045751A (en) Serial TTL/RS232 electrical level adaptive apparatus
CN204069293U (en) Bluetooth circuit and comprise the blue-tooth device of this Bluetooth circuit
CN201281850Y (en) Detection device for spreading interface
CN105282653A (en) Audio-insertion automatic wake-up apparatus and audio-insertion automatic wake-up method
CN204558739U (en) A kind of safety socket
CN203504786U (en) Electromagnetic heating control circuit and electric pressure cooker
CN204231639U (en) A kind of earphone detecting circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20131211