Summary of the invention
An object of the present invention is to provide a kind of data transmission circuit of the mobile terminal side for line control earphone, to enable corresponding mobile terminal simultaneously for line control earphone is powered and receive the next sensing data of line control earphone transmission.
According to a first aspect of the invention, provide a kind of data transmission circuit for line control earphone, it comprises:
First passage switch, the described first end of first passage switch is connected with the feeder ear of mobile terminal, second end of described first passage switch is connected with jack end microphone lines, provides supply power voltage to make described feeder ear via described first passage switch to jack end microphone lines;
Second channel switch, the described first end of second channel switch is connected with the signal input part of the signal processing unit of mobile terminal, second end of described second channel switch is connected with described jack end microphone lines, to make described signal processing unit obtain recording data via described second channel switch from described jack end microphone lines, described second channel switch is set to have contrary on off state with described first passage switch; And,
Data back circuit, described data back circuit comprises electric capacity and data back switch, between the first end that described electric capacity and data back switch are connected in series in described first passage switch and the signal input part of described signal processing unit, and described data back switch is set to have identical on off state with described first passage switch, obtain from described jack end microphone lines with the sensing data of AC signal form transmission via described data back circuit and described first passage switch to make described signal processing unit.
Preferably, described data back switch is NMOS tube, described NMOS tube drain electrode is connected with the first end of described first passage switch through described electric capacity, source electrode is connected with the signal input part of described signal processing unit, grid is connected with described jack end microphone lines, and the drain electrode of described NMOS tube is connected with jack end ground wire through biasing resistor.
Preferably, described first passage switch and described second channel switch form single-pole double-throw switch (SPDT).
Preferably, the first end of described first passage switch is connected with the feeder ear of mobile terminal through current measuring element.
Second object of the present invention is to provide a kind of mobile terminal, to enable this mobile terminal simultaneously for line control earphone is powered and receive the next sensing data of line control earphone transmission.
According to a second aspect of the invention, provide a kind of mobile terminal, described mobile terminal has feeder ear, earphone jack, signal processing unit and control unit, and described earphone jack has jack end microphone lines, jack end ground wire, jack end L channel line and jack end R channel line; Described mobile terminal also comprises the data transmission circuit of above-mentioned mobile terminal side, and described control unit is set to the on off state controlling described first passage switch, second channel switch and data back switch according to the operational order of user's input.
The data transmission circuit of the line control earphone side that the data transmission circuit that the 3rd object of the present invention is to provide a kind of and above-mentioned mobile terminal side is corresponding, to enable corresponding line control earphone according to the state auto-switching of the data transmission circuit of mobile terminal side for transmitting corresponding data.
According to a third aspect of the invention we, provide a kind of data transmission circuit for line control earphone, it comprises:
Voltage detecting circuit, for gathering and the voltage of output plug end microphone lines;
Processor, for detecting the voltage of described plug end microphone lines, and when the supply power voltage that the feeder ear that the voltage of described plug end microphone lines equals mobile terminal provides, the current potential of the switch control rule port of self is pulled low to 0V; Described processor also for the form of AC signal to described plug end microphone lines transmission sensor data;
Voltage conversion circuit, the voltage input end of described voltage conversion circuit is connected with plug end microphone lines, and the voltage output end of described voltage conversion circuit is connected with the power supply port of described processor;
Second PMOS, the grid of described second PMOS is connected with plug end ground wire through the second pull-up resistor, drain to be connected with plug end microphone lines, source electrode is connected with the positive pole of described microphone, to make described microphone via described second PMOS to described plug end microphone lines transmission recording data; And,
First PMOS, the drain electrode of described first PMOS is connected with plug end microphone lines, source electrode is connected with the grid of described second PMOS, grid is connected through the drain electrode of the first pull-up resistor with described first PMOS, and the grid of described first PMOS is connected with described switch control rule port.
Preferably, the drain electrode of described first PMOS is connected with described plug end microphone lines through biasing resistor, the resistance of described biasing resistor, much smaller than the resistance of described second pull-up resistor, is reliably ended when described first PMOS conducting to make described second PMOS.
Preferably, described voltage detecting circuit comprises described biasing resistor and described first pull-up resistor, and described voltage detecting circuit exports the signal of the voltage reflecting described plug end microphone lines via the potential point between described first pull-up resistor and described biasing resistor.
Preferably, the resistance of described biasing resistor, much smaller than the resistance of described first pull-up resistor, exports to make the potential point between described first pull-up resistor and described biasing resistor the signal directly reflecting the voltage of described plug end microphone lines.
4th object of the present invention is to provide a kind of line control earphone, to enable this line control earphone according to the state auto-switching of the data transmission circuit of mobile terminal side for transmitting corresponding data.
According to a forth aspect of the invention, provide a kind of line control earphone, it comprises line traffic control plate, headset earpiece, headset plug, the processor be arranged in described line traffic control plate, the transducer that is arranged on the microphone in described line traffic control plate and is arranged in headset earpiece, described processor is for the induced signal that receives described transducer and collect and carry out process to described induced signal and obtain sensing data, and described headset plug comprises plug end microphone lines, plug end ground wire, plug end L channel line and plug end R channel line; It is characterized in that, described line control earphone data transmission circuit another object of the present invention also comprised according to any one of claim 6 to 9 is to provide a kind of line control earphone control system that can realize line control earphone control method of the present invention.
The present inventor finds, in the prior art, there is the problem that the Consumer's Experience of the line control earphone increasing additional function is poor.Therefore, the technical assignment that the present invention will realize or technical problem to be solved are that those skilled in the art never expect or do not anticipate, therefore the present invention is a kind of new technical scheme.
A beneficial effect of the present invention is, data transmission circuit for line control earphone of the present invention is provided with data back circuit at mobile terminal side, it can be the sensing data transmitted with AC signal form receiving line control earphone passback while line control earphone is powered at mobile terminal, and this data back circuit can be cut off when recording, ensure the normal transmission of recording data, and then achieve the time sharing transmissions of sensing data and recording data; In addition, the data transmission circuit for line control earphone of the present invention is achieved according to the state auto-switching of the data transmission circuit of mobile terminal side by the cooperation of the first PMOS, the second PMOS and processor in line traffic control earpiece side is to transmit corresponding data.Therefore, data transmission circuit of the present invention, mobile terminal and line control earphone are supported the time sharing transmissions of sensing data and recording data and are independent of each other, and obviously can promote the Consumer's Experience that line control earphone increases additional function.
By referring to the detailed description of accompanying drawing to exemplary embodiment of the present invention, further feature of the present invention and advantage thereof will become clear.
Embodiment
Various exemplary embodiment of the present invention is described in detail now with reference to accompanying drawing.It should be noted that: unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part for specification.
In all examples with discussing shown here, any occurrence should be construed as merely exemplary, instead of as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
The problem of Consumer's Experience that the present invention exists the contradiction in application to solve existing power supply plan and then have impact on the line control earphone with additional function, provide a kind of data transmission circuit for line control earphone newly, for the ease of understanding data transmission circuit of the present invention, first introduce the basic structure of line control earphone.
The microphone that line control earphone comprises headset plug, headset earpiece (comprising left otaphone and auris dextra receiver), line traffic control plate and is arranged on line traffic control plate, headset plug generally adopts four-wire system, namely plug end microphone lines (i.e. MIC line), plug end ground wire, plug end R channel line and plug end L channel line is comprised, wherein, the positive pole of left otaphone is connected with plug end L channel line, and the negative pole of left otaphone is connected with plug end ground wire; The positive pole of auris dextra receiver is connected with plug end R channel line, and the negative pole of auris dextra receiver is connected with plug end ground wire; Microphone is connected between plug end microphone lines and plug end ground wire.Line control earphone is connected by the adaptation of headset plug and earphone jack and mobile terminal, therefore, the earphone jack of mobile terminal side comprises jack end microphone lines (i.e. MIC line), jack end ground wire, jack end R channel line and jack end R channel line when adopting four-wire system, mobile terminal by L channel line and R channel alignment headset earpiece output audio signal, and obtains by microphone lines the audio signal that microphone collects.
As shown in Figure 1, data transmission circuit for line control earphone of the present invention comprises first passage K switch 1 at mobile terminal side, second channel K switch 2 and data back circuit L1, the first end of this first passage K switch 1 is connected with the feeder ear Vout of mobile terminal, this feeder ear Vout such as provide 5V voltage, second end of first passage K switch 1 is connected with jack end microphone lines JM, supply power voltage is provided via first passage K switch 1 to jack end microphone lines JM to make feeder ear Vout, this illustrates that jack end microphone lines JM will obtain this supply power voltage when 1 conducting of first passage K switch.The first end of this second channel K switch 2 is connected with the signal input part of the signal processing unit U1 of mobile terminal, second end of second channel K switch 2 is connected with jack end microphone lines JM, recording data is obtained via second channel K switch 2 from jack end microphone lines JM to enable signal processing unit U1, this second channel K switch 2 is set to have contrary on off state with first passage K switch 1, and the operational order that the on off state of this first passage K switch 1 and second channel K switch 2 is specifically inputted according to user by the control unit U2 of mobile terminal controls.This data back circuit L1 is connected between the first end of first passage K switch 1 and the signal input part of signal processing unit U1, to set up the data transmission path of jack end microphone lines JM via first passage K switch 1 to signal processing unit U1, this data back circuit L1 specifically comprises the electric capacity C1 between first end and the signal input part of signal processing unit U1 and data back switch Q1 that are connected in series in first passage K switch 1, therefore, this data back circuit L1 can supplied alternating signal form transmission data pass through, and cut off the direct current supply voltage that feeder ear Vout provides, this data back switch Q1 is set to have identical on off state with first passage switch, the on off state of this data back switch Q1 is controlled by the control unit U2 of mobile terminal equally, at this, this control unit U2 directly control data can return the on off state of switch Q1, also can by directly control first passage K switch 1 on off state and indirectly control data return the on off state of switch Q1, namely the on off state of data back switch Q1 can automatically switch according to the on off state of first passage K switch 1.
The operation principle of data transmission circuit of the present invention is:
By default, the control unit U2 of mobile terminal controls the conducting of first passage K switch 1, second channel K switch 2 disconnects and control data passback switch Q1 conducting, now, if in the headset plug plugged earphone jack of line control earphone, then microphone lines (now jack end microphone lines will be joined together to form microphone lines with plug end microphone lines) will obtain supply power voltage, and the processor of line control earphone can normally work and return sensing data under the effect of supply power voltage; Because data back circuit L1 now can pass through for AC signal, therefore, processor with the form of AC signal to microphone lines transmission sensor data time, this sensing data just can arrive the signal processing unit of mobile terminal by data back circuit, this signal processing unit generally includes the output port buffer device, analog to digital converter and the application processor that connect in turn, and this application processor and control unit U2U2 or can may not be as the part that separating component illustrates and physically separate.Therefore, by default data transmission circuit of the present invention be supported in for line control earphone power while the application of transmission sensor data.
When the operational order (this operational order comprises foundation call and connects) of user's input requirements recording, control unit U2 controls that first passage K switch 1 disconnects, second channel K switch 2 conducting and control data passback switch Q1 disconnect, now, recording data is just transferred to signal processing unit by second channel K switch 2 by the microphone of line control earphone.
As can be seen here, data transmission circuit of the present invention be supported on the one hand for line control earphone power while carry out the transmission of sensing data, support the time sharing transmissions of sensing data and recording data on the other hand, because the air time only occupies the small part of mobile terminal service time, and require that the chance that call and the data acquisition of corresponding additional function must use simultaneously is little, therefore, the mode of this kind of time sharing transmissions is independent of each other in guarantee two kinds of transfer of data and ensures that transfer of data is with under the prerequisite of listening sound function to be independent of each other, and improves Consumer's Experience to greatest extent.
The function in the earphone jack of mobile terminal whether is inserted in order to the headset plug making this data transmission circuit have detection line control earphone, in one particular embodiment of the present invention, the first end of this first passage switch is connected with feeder ear Vout through current measuring element, like this, whether control unit U2 has electric current to flow through just can to have judged whether that line control earphone inserts by default by detecting current measuring element.This current measuring element can adopt shunt R13 as shown in Figure 1, also other current measuring elements such as Hall current sensor can be adopted, the signal that control unit U2 exports by the preposing signal process circuit such as filter circuit and amplifying circuit received current detecting element.
Automatically switch according to the on off state of first passage K switch 1 to enable the on off state of data back switch Q1, in one particular embodiment of the present invention, as shown in Figure 1, this data back switch Q1 adopts NMOS tube, the drain electrode of NMOS tube is connected with the first end of first passage K switch 1 through electric capacity C1, the source electrode of NMOS tube is connected with the signal input part of signal processing unit, the grid of NMOS tube is connected with jack end microphone lines JM, and the drain electrode of NMOS tube is connected with jack end ground wire JG through biasing resistor R4, the drain electrode that this biasing resistor R4 is NMOS tube provides bias voltage, to ensure NMOS tube reliable conducting when gate source voltage is greater than cut-in voltage.Like this, when 1 conducting of first passage K switch, jack end microphone lines will obtain supply power voltage, now, the gate source voltage of NMOS tube will be greater than cut-in voltage and then conducting automatically, and when first passage K switch 1 disconnects, the gate source voltage of NMOS tube will equal 0 because of second channel K switch 2 conducting, and then by automatic cut-off.
Control first passage K switch 1 for the ease of control unit U2, with second channel K switch 2, there is contrary on off state, in one particular embodiment of the present invention, as shown in Figure 1, this first passage K switch 1 and second channel K switch 2 form single-pole double-throw switch (SPDT), and this first passage K switch 1 and second channel K switch 2 can also be normally opened contact and the normally-closed contact of pairing.Another advantage of this kind of structure is there will not be the misoperation problem causing first passage K switch 1 identical with second channel K switch 2 on off state.
Match to make the Signal and Signal Treatment unit U1 of corresponding various data, in one particular embodiment of the present invention, as shown in Figure 1, this data transmission circuit also comprises microphone bias circuit B1, and the bias voltage output of this microphone bias circuit B1 is connected with the signal input part of signal processing unit via biasing resistor R3.
On the basis of the data transmission circuit of mobile terminal side of the present invention, present invention also offers a kind of mobile terminal, with the sensing data enabling mobile terminal simultaneously for line control earphone to power and receive line control earphone transmission.This mobile terminal has the data transmission circuit of feeder ear Vout, earphone jack J, signal processing unit U1, control unit U2 (not shown) and above-mentioned mobile terminal side, earphone jack J has jack end microphone lines JM, jack end ground wire JG, jack end L channel line and jack end R channel line (not shown in figure 1), and this control unit U2 is set to the on off state controlling first passage K switch 1, second channel K switch 2 and data back switch Q1 according to the operational order of user's input.
Present invention also offers a kind of data transmission circuit of line control earphone side that can be corresponding with the data transmission circuit of mobile terminal side of the present invention, to enable corresponding line control earphone according to the state auto-switching of the data transmission circuit of mobile terminal side for transmitting corresponding data, as shown in Figure 2, this data transmission circuit comprises voltage detecting circuit, processor M1, voltage conversion circuit VC1, the first PMOS PQ1 and the second PMOS PQ2, wherein, this voltage detecting circuit is for gathering and the voltage of output plug end microphone lines PM.Processor is used for the voltage of test plug end microphone lines, and is pulled low to 0V when the supply power voltage that the feeder ear Vout that the voltage of plug end microphone lines equals mobile terminal provides, by the current potential of the switch control rule port CTRL of self; Processor also for the form of AC signal to plug end microphone lines PM transmission sensor data; The voltage input end of this voltage conversion circuit VC1 is connected with plug end microphone lines JM, the voltage output end of voltage conversion circuit VC1 is connected with the power supply port of processor M1, with plug end microphone lines JM obtain supply power voltage time by voltage conversion circuit VC1 for processor M1 powers, ensure that processor M1 can normally work, this voltage conversion circuit VC1 can adopt special voltage conversion chip, also can adopt the voltage stabilizing circuit be made up of voltage stabilizing didoe.The grid of the second PMOS PQ2 is connected with plug end ground wire PG through the second pull-up resistor R2, drain to be connected with plug end microphone lines PM, source electrode is connected with the positive pole of microphone Mic, transmits recording data to make microphone Mic via the second PMOS PQ2 to plug end microphone lines PM.The drain electrode of the first PMOS PQ1 is connected with plug end microphone lines PM, source electrode is connected with the grid of the second PMOS PQ2, grid is connected with the drain electrode of the first PMOS PQ1 through the first pull-up resistor R1, and the grid of the first PMOS PQ1 is connected with the switch control rule port CTRL of processor M1.
The operation principle of the data transmission circuit of mobile terminal side of the present invention is:
When by voltage detecting circuit, processor M1 detects that plug end microphone lines PM obtains supply power voltage, the current potential of switch control rule port CTRL is pulled low to 0V, now, first PMOS is by conducting, and by the second pull-up resistor R2, the grid voltage of the second PMOS is drawn high, and then make the first PMOS cut-off, therefore, microphone Mic is cut off to the path of mobile terminal transmission recording data in this condition, processor M1 by microphone lines with the form of AC signal to mobile terminal transmission sensor data, with the data transmission circuit of mobile terminal side provide the state of supply power voltage corresponding to jack end microphone lines JM.
When by voltage detecting circuit, processor M1 detects that the voltage of plug end microphone lines PM is starkly lower than supply power voltage, then control switch control port disconnects, and the voltage of switch control rule port will depend on external circuit; If processor M1 because of plug end microphone lines PM voltage reduce cannot work, then the voltage of switch control rule port will depend on external circuit equally, and namely the present invention can ensure the impact that the switching of data transmission path is not subject to processing device M1 and whether normally works.Now, first PMOS PQ1 ends under the pull-up effect of the first pull-up resistor R1, current potential because of grid is 0 and conducting by the second PMOS PQ2, and then will the path of microphone Mic to mobile terminal transmission recording data be communicated with under this kind of state, processor M1 stops to microphone lines transmission sensor data, this just in time with the data transmission circuit of mobile terminal side make the recording state of second channel K switch 2 conducting corresponding.
At this, a threshold value can be provided in the fluctuation range of supply power voltage to judge whether the voltage of plug end microphone lines PM is starkly lower than supply power voltage for processor M1, when the data transmission circuit of mobile terminal side arranges microphone bias circuit, the voltage of plug end microphone lines PM is at this moment by corresponding with the bias voltage that microphone bias circuit provides, therefore, processor M1 also can judge whether to be starkly lower than supply power voltage according to this bias voltage.
As can be seen here, data transmission circuit of the present invention be supported on the one hand for line control earphone power while carry out the transmission of sensing data, support the time sharing transmissions of sensing data and recording data on the other hand, but also can automatically switch between sensing data transmission state and recording data transmission state according to the voltage in microphone lines, therefore, the mode of this kind of time sharing transmissions is independent of each other in guarantee two kinds of transfer of data and ensures that transfer of data is with under the prerequisite of listening sound function to be independent of each other, and improves Consumer's Experience to greatest extent.
In order to protect the second PMOS PQ2; in one particular embodiment of the present invention; as shown in Figure 2; the drain electrode of the first PMOS PQ1 is connected with plug end microphone lines PM through biasing resistor R5; to provide bias voltage between the drain-gate when the first PMOS PQ1 conducting for the second PMOS; but the resistance of this biasing resistor R5 should much smaller than the resistance of the second pull-up resistor R2, reliably end to make the impact of the second PMOS PQ2 step microphone Mic positive pole when the first PMOS PQ1 conducting.
In order to the circuit structure of reduced data transmission circuit, in one particular embodiment of the present invention, the present invention realizes above-mentioned voltage detecting circuit by biasing resistor R5 and the first pull-up resistor R1, now, voltage detecting circuit exports the signal of the voltage reflecting plug end microphone lines PM via the potential point between the first pull-up resistor R1 and biasing resistor R5.At this, it will be clear for those skilled in the art that data transmission circuit of the present invention can realize voltage detecting circuit by other sampling resistor completely.
The signal exported to make voltage detecting circuit directly can react the voltage of plug end microphone lines substantially, and then save the burden of conversion, in one particular embodiment of the present invention, the resistance of this biasing resistor R5 is much smaller than the resistance of the first pull-up resistor R1, such as, multiple between the resistance of the first pull-up resistor R1 and the resistance of biasing resistor R5 is greater than or equal to 100 times, and in the specific embodiment of the invention, this multiple is 1000 times.
On the basis of the data transmission circuit of line control earphone side of the present invention, present invention also offers a kind of line control earphone, to enable this line control earphone according to the state auto-switching of the data transmission circuit of mobile terminal side for transmitting corresponding data, as shown in Figure 2, this line control earphone comprises line traffic control plate, headset earpiece, headset plug P, be arranged on the processor M1 in line traffic control plate, be arranged on the microphone Mic in line traffic control plate or headset earpiece, be arranged on the transducer S1 in headset earpiece, and the data transmission circuit of above-mentioned line control earphone side, this processor M1 is used for the induced signal that receiving sensor S1 collects, and process is carried out to described induced signal obtain sensing data, headset plug P comprises plug end microphone lines PM, plug end ground wire PG, plug end L channel line and plug end R channel line (not shown).
Each resistance described above can be single resistance, also can be formed by the resistant series of two or more (comprising two) and/or parallel connection.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, identical similar part cross-reference between each embodiment, what each embodiment stressed is the difference with other embodiments, and each embodiment can be used alone as required or be combined with each other.
Although be described in detail specific embodiments more of the present invention by example, it should be appreciated by those skilled in the art, above example is only to be described, instead of in order to limit the scope of the invention.It should be appreciated by those skilled in the art, can without departing from the scope and spirit of the present invention, above embodiment be modified.Scope of the present invention is limited by claims.