The utility model content
The purpose of this utility model is to provide a kind of earphone, to be suitable for existing mobile communication terminal with Qchat intercommunication function.
For solving the problems of the technologies described above, the utility model is achieved by the following technical solutions:
A kind of earphone comprises the headset plug, earphone controller, microphone and the ear-hang that link together by lead; Described headset plug is divided into four sections, comprises ground wire, microphone control line, L channel line and R channel line; The positive and negative electrode of described microphone is connected with the microphone control line is corresponding with ground wire respectively, and left and right sound channels ear-hang correspondence respectively is connected between L channel line and the ground wire and between R channel line and the ground wire; Between the positive and negative electrode of microphone, also be parallel with the series arm of resistance and key switch.
Preferably, described resistance is error range at 1% precision resistance.
Further, described key switch and microphone all are arranged on the described earphone controller.
Further again, between the positive and negative electrode of described microphone, also be parallel with filter capacitor.
Further again, described headset plug is near a side of conductor wire end, marks off four sections on described ground wire, microphone control line, L channel line and R channel line successively.
Earphone based on said structure, the utility model provides a kind of mobile communication terminal that disposes described earphone again, comprise terminal body and earphone two parts, described terminal body is provided with the earphone socket of the described earphone that is used to peg graft, and described earphone socket is connected with motherboard circuit on the terminal body; In described earphone, comprise the headset plug, earphone controller, microphone and the ear-hang that link together by lead; Described headset plug is divided into four sections, comprises ground wire, microphone control line, L channel line and R channel line; The positive and negative electrode of described microphone is connected with the microphone control line is corresponding with ground wire respectively, and left and right sound channels ear-hang correspondence respectively is connected between L channel line and the ground wire and between R channel line and the ground wire; Between the positive and negative electrode of microphone, also be parallel with the series arm of resistance and key switch.
Further, in described earphone socket, be provided with after headset plug inserts respectively and the corresponding L channel terminal that contacts of L channel line, R channel line and microphone control line, R channel terminal and microphone terminal on the headset plug, described L channel terminal, R channel terminal and microphone terminal all are connected with voicefrequency circuit on the terminal mainboard, realizing of the ear-hang output of left and right acoustic channels audio signal, and will be back to the terminal body by the audio signal that ear microphone receives and handle by earphone; Wherein, also be connected with on described microphone terminal and draw branch road on the voltage, and described microphone terminal is connected with master chip on the mainboard, master chip is by detecting the operation that change in voltage judges that the user carries out by earphone.
Preferably, the analog-to-digital conversion interface of master chip is connected on described microphone terminal and the mainboard, with the variation of identification voltage magnitude.
Further, whether be inserted in the earphone socket in order to detect earphone, the utility model also is provided with earphone and inserts the state-detection terminal in described earphone socket, described earphone inserts the state-detection terminal and connects on the voltage and draw branch road, and is connected with master chip on the mainboard; When headset plug is not inserted in the earphone socket, described earphone inserts the state-detection terminal and is communicated with L channel terminal or R channel terminal, and described L channel terminal or R channel terminal are by pull down resistor ground connection, and after headset plug was inserted in the earphone socket, described earphone inserted state-detection terminal and L channel terminal or R channel terminal and disconnects.
Further again, in described earphone socket, also be provided with and be used for the antenna terminal that is connected with the frequency-modulated antenna of terminal, described antenna terminal contacts with the ground wire of headset plug after headset plug is inserted in the earphone socket.
Compared with prior art, advantage of the present utility model and good effect are: the utility model is by carrying out brand-new design to head circuit and the earphone socket circuit that is mated in the mobile communication terminal of use, not only realized traditional line control earphone music, connect hang up, function such as volume adjusting, carry out the intercommunication call function but also can operate the Qchat mobile phone, thereby provide a desirable intercommunication earphone for present Qchat intercommunication mobile phone by earphone.
After reading the detailed description of the utility model execution mode in conjunction with the accompanying drawings, other characteristics of the present utility model and advantage will become clearer.
Embodiment
Below in conjunction with accompanying drawing embodiment of the present utility model is described in detail.
Present embodiment is example with mobile phone as the mobile communication terminal that is used with earphone, comes specifically the circuit design scheme of earphone and mobile communication terminal is described.
The earphone of present embodiment is designed to wire controlled earphone, comprises the headset plug, earphone controller, microphone and the ear-hang that link together by lead.Wherein, headset plug can be divided into four sections, and as shown in Figure 1, the side near conductor wire end can be defined as place GND, microphone control line MIC+, R channel line SPK/R and L channel line SPK/L successively.Ear-hang partly preferably includes L channel ear-hang SPKL and R channel ear-hang SPKR two parts, i.e. two small-sized loud speakers.Wherein, L channel ear-hang SPKL is connected between the L channel line SPK/L and ground wire GND of headset plug; R channel ear-hang SPKR is connected between the R channel line SPK/R and ground wire GND of headset plug, referring to shown in Figure 2.After headset plug is inserted on the mobile phone, utilize left and right sound channels ear-hang SPKL, SPKR to carry out power amplification and output to the audio signal of mobile phone output.
Be provided with the earphone control circuit in the earphone controller, microphone MIC preferably is arranged on the described earphone controller, and with its anodal microphone control line MIC+ that connects headset plug, negative pole connects the ground wire GND of headset plug, referring to shown in Figure 2.For Qchat intercommunication mobile phone, in order to make the user be mated the switching controls of finishing on the earphone of use mobile phone conventional func and intercommunication function, present embodiment has designed a series arm of being made up of resistance R and key switch SW in the earphone control circuit, be connected in parallel between the positive and negative electrode of microphone MIC, as shown in Figure 2.Because before and after the key switch SW closure, the microphone control line MIC+ of headset plug and the resistance between the ground wire GND can change, utilize this change in resistance to add key switch SW and push closed time length, can judge two kinds of operator schemes of user exactly, can refer to the customer requirements mobile phone such as quick-make key switch SW and carry out conventional func; Long closed key switch SW can refer to the customer requirements mobile phone and carry out intercommunication function, and concrete corresponding relation can preestablish in cell phone software.Certainly, present embodiment is not limited in above giving an example.
Based on this mentality of designing, present embodiment can specifically adopt earphone operation principle as shown in Figure 3.Drawing branch road on the connection voltage on the positive pole of microphone MIC, such as connecting DC power supply VDD by pull-up resistor R1, described pull-up resistor R1 can play metering function in the loop.The internal resistance of supposing microphone MIC is r, and when key switch SW was in off-state, the voltage on the headset plug on the microphone control line MIC+ was
After key switch SW closure, because resistance R is in parallel with the internal resistance r of microphone MIC, therefore, the voltage on the microphone control line MIC+ becomes at this moment

Detect voltage on the microphone control line MIC+ by the cell phone mainboard circuit, if its magnitude of voltage becomes V2 by V1, and the time of keeping V2 is shorter, such as less than 2 seconds, think that then the user has carried out the operation of quick press of key switch SW, this moment, the mobile phone master chip thought that the user carries out conventional func, such as opening playing back music, listen to FM broadcasting or incoming call answering etc., and corresponded to volume key on the earphone and carried out volume and regulate by software is set.After mobile phone is opened the intercommunication call function, master chip detects the magnitude of voltage on the microphone control line MIC+, its magnitude of voltage be V2 during in, receive user's voice by the microphone MIC on the earphone, and transfer to mobile phone body, and then be sent to the other side by mobile phone; And when master chip detects magnitude of voltage on the microphone control line MIC+ and becomes V1, represent that then key switch SW disconnects, and stop to receive user speech, and the other side's voice are transferred to this machine user by earphone, just realized the intercommunication call function thus.
In order to improve accuracy of detection, it is that 1% precision resistance carries out circuit design as described resistance R that present embodiment preferably adopts precision.Described key switch SW preferably is arranged on the earphone controller, with user-friendly.
In order to suppress noise, all right further filter capacitor C in parallel between the positive and negative electrode of described microphone MIC is as Fig. 2, shown in Figure 3, to improve audio frequency effect.
Based on earphone operation principle shown in Figure 3, draw branch road to be laid on the mainboard of mobile phone body on the voltage that present embodiment preferably is composed in series describedresistance R 1 and direct voltage VDD, as shown in Figure 4, specifically be connected on themicrophone terminal 2 of earphone socket J1 on the mobile phone body.Describedmicrophone terminal 2 is simultaneously as the master chip on the mode of operation detection pin EAR_DET2 connection cell phone mainboard, preferably be connected on the analog-to-digital conversion interface ADC of master chip, the magnitude of voltage that master chip generates according to conversion is judged which kind of mode of operation of execution, such as conventional func or the distinctive intercommunication call function of Qchat mobile phone.Describedmicrophone terminal 2 connects the anodal MIC_P of microphone interface on the cell phone mainboard simultaneously by the capacitance C1 of series connection, the voicefrequency circuit that the voice signal that will receive by the microphone MIC on the earphone transfers on the cell phone mainboard is handled.Be connected in parallel onmicrophone terminal 2 and systematically between filter capacitor C3, C4 can carry out Filtering Processing to the audio signal that is transferred in the mobile phone body, to improve the quality of voice transfer.The negative pole MIC_N of the microphone interface on the cell phone mainboard is by the capacitance C2 ground connection of series connection.
Present embodiment carries out as giving a definition each pin among the earphone socket J 1: 1 pin is an antenna terminal, connect in the mobile phone body systematically, when earphone inserts, not only can realize the common ground of mobile phone body circuit and head circuit, but also can make in the earphone by the formed frequency-modulated antenna FM_ANT of ground wire ground connection, when mobile phone body is opened the broadcast listening function, receive the FM FM signal in broadcasting station; 2 pin are the microphone terminal; 3 pin are L channel terminal HPH_L, connect the L channel audio frequency output channel of voicefrequency circuit on the cell phone mainboard on the one hand, on the other hand by pull down resistor R3 ground connection, and when earphone inserts, contact with the L channel line SPK/L of headset plug; 4 pin are R channel terminal HPH_R, connect the right audio channel output channel of voicefrequency circuit on the cell phone mainboard, and when earphone inserts, contact with the R channel line SPK/R of headset plug; 5 pin are that earphone inserts the state-detection terminal, connect the master chip in the mobile phone, and such as wherein one road GPIO mouth that connects master chip, whether master chip can be judged earphone according to the high-low level state of this road GPIO mouth and be inserted among the described earphone socket J1.Specifically, draw branch road being connected with on the voltage that is composed in series by pull-up resistor R2 and DC power supply VCC on the describeddetection terminal 5, describeddetection terminal 5 is not when earphone inserts, contact with the L channel terminal HPH_L among the earphone socket J1, its current potential is pulled down to by pull down resistor R3 approach 0V, this moment, master chip judged that earphone does not insert.And after earphone is inserted among the earphone socket J1, describeddetection terminal 5 is backed down by headset plug, it is separated with L channel terminal HPH_L, at this moment, the current potential of describeddetection terminal 5 since the existence of pull-up resistor R2 and DC power supply VCC and on move high level to, after master chip detects this change in voltage by its GPIO mouth, judge that earphone is inserted among the earphone socket J1, and then on mobile phone screen, show the earphone icon, the prompting user has earphone to insert, if current phone just at playing audio signal, is then exported this audio signal by earphone.
Certainly, also described earphone can be inserted state-detection terminal 5 be designed to earphone socket J1 in the contacted form of R channel terminal HPH_R, need be connected to pull down resistor R3 on the R channel terminal HPH_R this moment, can realize that equally above-mentioned earphone inserts status detection function, present embodiment does not specifically limit this.
Elaborate the operation principle of the head circuit that present embodiment proposes below by a concrete example.
The resistance of supposing the precision resistance R in the head circuit is 6.8K Ω, and the internal resistance r resistance of microphone MIC is 5.5K Ω, and direct voltage VDD is 2.1V, and the resistance of pull-up resistor R1 is 2.2K Ω.When earphone was inserted among the earphone socket J1, the voltage that earphone inserts on the state-
detection terminal 5 became high level, feeds back to the GPIO mouth of master chip, and the notice master chip has earphone to insert, and carried out and interrupted, and show the earphone icon on mobile phone screen.Meanwhile, corresponding variation also can take place in the voltage that mode of operation detects on the pin EAR_DET2, and the voltage that obtain on the microphone control line MIC+ this moment is

Feed back to the ADC interface of master chip on the mainboard, correspond to volume key on the earphone and carry out volume and regulate by software is set, and the current audio signal transmission of playing of mobile phone to earphone is exported.When earphone inserts and pushes button switch SW fast (time is less than 2s), conventional func such as for example receiving calls or hang up the telephone is carried out in master chip response user's operation.And when earphone inserts and the long period, (greater than 3s) pushed button switch SW, in the parallel resistance resistance that can obtain between microphone control line MIC+ and the ground wire GND between precision resistance R and the microphone MIC internal resistance r be
The voltage that obtains on the mode of operation detection pin EAR_DET2 according to the dividing potential drop formula is
This magnitude of voltage is fed back to the ADC interface of master chip, by master chip response user operation, carry out the intercommunication call function, and during key switch SW presses, user's voice is sent to the other side, and during key switch SW disconnection, the other side's voice are sent to the user, thereby make mobile phone realize the function of intercom.
The earphone design of present embodiment is set respective threshold according to the electric characteristic value and is detected the normal insertion state of earphone and the pressed state of key switch SW, thereby realized that earphone inserts functions such as identification, music, intercommunication conversation, can satisfy every earphone controlled function of present Qchat intercommunication mobile phone fully.
Certainly, the earphone design that present embodiment proposed equally also is applicable to other end product except that mobile phone, and present embodiment does not specifically limit this.
Should be noted that; the above only is a kind of preferred implementation of the present utility model; for those skilled in the art; under the prerequisite that does not break away from the utility model principle; can also make some improvements and modifications, these improvements and modifications also should be considered as protection range of the present utility model.