Invention content
It is an object of the present invention to provide a kind of data transmission circuits of the mobile terminal side for line control earphone, so that
Corresponding mobile terminal can power and receive simultaneously the sensing data that line control earphone transmission comes for line control earphone.
According to the first aspect of the invention, a kind of data transmission circuit for line control earphone is provided comprising:
First passage switchs, and the first end of the first passage switch and the feeder ear of mobile terminal connect, and described first
The second end of channel switch is connect with jack end microphone lines, so that the feeder ear is switched via the first passage to jack
Microphone lines are held to provide supply voltage;
Second channel switchs, and the signal of the first end of the second channel switch and the signal processing unit of mobile terminal is defeated
Enter end connection, the second end of the second channel switch is connect with jack end microphone lines, so that the signal processing list
Member switchs from jack end microphone lines via the second channel and obtains recording data, and the second channel switch is set
For there is opposite on off state with first passage switch;And
Data back circuit, the data back circuit include capacitance and data back switch, and the capacitance and data are returned
It spreads to close and be connected in series between the first end and the signal input part of the signal processing unit of the first passage switch, and
The data back switch is arranged to switch on off state having the same with the first passage, so that the signal processing
Unit is obtained from jack end microphone lines with AC signal via the data back circuit and first passage switch
The sensing data of form transmission.
Preferably, data back switch is NMOS tube, and the drain electrode of the NMOS tube is through the capacitance and described the
The first end connection of one channel switch, source electrode connect with the signal input part of the signal processing unit, grid and the jack
Microphone lines connection is held, and the drain electrode of the NMOS tube is connect through biasing resistor with jack end ground wire.
Preferably, the first passage switch and second channel switch constitute single-pole double-throw switch (SPDT).
Preferably, the first end of the first passage switch connects through the feeder ear of current measuring element and mobile terminal
It connects.
Second object of the present invention is to provide a kind of mobile terminal, so that the mobile terminal can be line control earphone simultaneously
The sensing data that power supply and reception line control earphone transmission come.
According to the second aspect of the invention, a kind of mobile terminal is provided, there is the mobile terminal feeder ear, earphone to insert
Hole, signal processing unit and control unit, the earphone jack have jack end microphone lines, jack end ground wire, jack end left
Sound channel line and jack end right channel line;The mobile terminal further includes the data transmission circuit of above-mentioned mobile terminal side, described
Control unit is arranged to control the first passage switch, second channel switch and data according to operational order input by user
Return the on off state of switch.
Third object of the present invention is to provide a kind of lines corresponding with the data transmission circuit of above-mentioned mobile terminal side
The data transmission circuit for controlling earpiece side, so that corresponding line control earphone can be according to the shape of the data transmission circuit of mobile terminal side
State automatically switches to the corresponding data of transmission.
According to the third aspect of the invention we, a kind of data transmission circuit for line control earphone is provided comprising:
Voltage detecting circuit, the voltage for acquiring simultaneously output plug end microphone lines;
Processor, the voltage for detecting the plug end microphone lines, and in the voltage of the plug end microphone lines
When the supply voltage provided equal to the feeder ear of mobile terminal, the current potential of the switch control terminal mouth of itself is pulled low to 0V;It is described
Processor is additionally operable in the form of AC signal to the plug end microphone lines transmission sensor data;
The voltage input end of voltage conversion circuit, the voltage conversion circuit is connect with plug end microphone lines, the electricity
The voltage output end of voltage conversion circuit is connect with the supply port of the processor;
Second PMOS tube, the grid of second PMOS tube connect through the second pull-up resistor with plug end ground wire, drain with
The connection of plug end microphone lines, source electrode are connect with the anode of the microphone, so that the microphone is via the 2nd PMOS
Pipe transmits recording data to the plug end microphone lines;And
First PMOS tube, the drain electrode of first PMOS tube connect with plug end microphone lines, source electrode and described second
The grid connection of PMOS tube, grid are connect through the first pull-up resistor with the drain electrode of first PMOS tube, and the first PMOS
The grid of pipe is connect with the switch control terminal mouth.
Preferably, the drain electrode of first PMOS tube is connect through biasing resistor with the plug end microphone lines, described
The resistance value of biasing resistor is much smaller than the resistance value of second pull-up resistor, so that second PMOS tube is in first PMOS tube
Reliably end when conducting.
Preferably, the voltage detecting circuit includes the biasing resistor and first pull-up resistor, the voltage
Detection circuit reflects the plug end Mike via the potential point output between first pull-up resistor and the biasing resistor
The signal of the voltage of wind line.
Preferably, the resistance value of the biasing resistor is much smaller than the resistance value of first pull-up resistor, so that described first
Potential point output between pull-up resistor and the biasing resistor directly reflects the signal of the voltage of the plug end microphone lines.
Fourth object of the present invention is to provide a kind of line control earphone, so that the line control earphone can be according to mobile terminal side
The state auto-switching of data transmission circuit be to transmit corresponding data.
According to the fourth aspect of the invention, a kind of line control earphone is provided comprising line traffic control plate, headset earpiece, earphone are inserted
Head, the processor being arranged in the line traffic control plate, the microphone that is arranged in the line traffic control plate and it is arranged in headset earpiece
Sensor, the processor is for receiving the collected inductive signal of the sensor and handling the inductive signal
Sensing data is obtained, the headset plug includes plug end microphone lines, plug end ground wire, plug end L channel line and plug
Hold right channel line;It is characterized in that, the line control earphone further includes the data transmission electricity described in any one of claim 6 to 9
It is a further object to provide a kind of line control earphones that can realize line control earphone control method of the present invention to manipulate system on road
System.
It was found by the inventors of the present invention that in the prior art, there is the user experience for the line control earphone for increasing additional function
Poor problem.Therefore, the technical assignment or the technical problem to be solved is that people in the art that the present invention to be realized
It is that member never expects or it is not expected that, therefore the present invention is a kind of new technical solution.
The advantageous effect of the present invention is that the data transmission circuit for line control earphone of the invention is in mobile terminal
Side is provided with data back circuit, can mobile terminal be line control earphone power while receive line control earphone passback with
The sensing data of AC signal form transmission, and the data back circuit can be cut off in recording, ensure recording data
Normal transmission, and then realize the time sharing transmissions of sensing data and recording data;In addition, the present invention for line control earphone
Data transmission circuit is realized by the cooperation of the first PMOS tube, the second PMOS tube and processor according to movement in line traffic control earpiece side
The state auto-switching of the data transmission circuit of end side is that can transmit corresponding data.Therefore, data transmission electricity of the present invention
Road, mobile terminal and line control earphone support the time sharing transmissions of sensing data and recording data and are independent of each other, hence it is evident that Neng Gouti
Rise the user experience that line control earphone increases additional function.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Specific implementation mode
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having
Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention
And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
Upper contradiction and then the line with additional function is affected there is application to solve existing power supply plan in the present invention
The problem of controlling the user experience of earphone provides a kind of new data transmission circuit for line control earphone, for the ease of understanding
The data transmission circuit of the present invention, introduces the basic structure of line control earphone first.
Line control earphone includes that headset plug, headset earpiece (including left otaphone and auris dextra receiver), line traffic control plate and setting exist
Microphone on line traffic control plate, headset plug generally use four-wire system, that is, include plug end microphone lines (i.e. MIC lines), plug end
Ground wire, plug end right channel line and plug end L channel line, wherein the anode of left otaphone is connect with plug end L channel line,
The cathode of left otaphone is connect with plug end ground wire;The anode of auris dextra receiver is connect with plug end right channel line, auris dextra receiver
Cathode is connect with plug end ground wire;Microphone is connected between plug end microphone lines and plug end ground wire.Line control earphone passes through
The adaptation of headset plug and earphone jack is established with mobile terminal and is connected, and therefore, the earphone jack of mobile terminal side is using four
Include jack end microphone lines (i.e. MIC lines), jack end ground wire, the right sound of jack end L channel line and jack end in the case of line system
Diatom, mobile terminal are obtained by L channel line and right channel line to headset earpiece exports audio signal, and by microphone lines
The collected audio signal of microphone.
As shown in Figure 1, the data transmission circuit for line control earphone of the present invention includes first passage in mobile terminal side
Switch K1, second channel switch K2 and data backhaul lines L1, the confession of the first end and mobile terminal of first passage switch K1
Electric end Vout connections, feeder ear Vout for example provide 5V voltages, second end and the jack end microphone of first passage switch K1
Line JM connections, so that feeder ear Vout provides supply voltage via first passage switch K1 to jack end microphone lines JM, this says
Bright jack end microphone lines JM will obtain the supply voltage when first passage switch K1 is connected.The of second channel switch K2
The signal input part of the signal processing unit U1 of one end and mobile terminal connects, second end and the jack end of second channel switch K2
Microphone lines JM connections, so that signal processing unit U1 can be obtained via second channel switch K2 from jack end microphone lines JM
Recording data, second channel switch K2 are arranged to have opposite on off state with first passage switch K1, this is first logical
The on off state of road switch K1 and second channel switch K2 are specifically by the control unit U2 of mobile terminal according to behaviour input by user
Make instruction control.Data back circuit L1 is connected to the signal of the first end and signal processing unit U1 of first passage switch K1
Between input terminal, to establish data transmissions of the jack end microphone lines JM via first passage switch K1 to signal processing unit U1
Access, data back circuit L1 specifically include the first end and signal processing unit U1 for being connected in series in first passage switch K1
Signal input part between capacitance C1 and data back switch Q1, therefore, data back circuit L1 can be provided with exchange letter
The data of number form transmission pass through, and separate the direct current supply voltage that feeder ear Vout is provided, which is set
It is set to and switchs on off state having the same with first passage, the on off state of data back switch Q1 is equally by mobile terminal
Control unit U2 control, here, control unit U2 can directly control the on off state of data back switch Q1, can also lead to
The on off state of the on off state for directly controlling first passage switch K1 and indirect control data back switch Q1 are crossed, i.e. data are returned
Spread close Q1 on off state can be automatically switched according to the on off state of first passage switch K1.
The operation principle of data transmission circuit of the present invention is:
By default, the control unit U2 control first passage switch K1 conductings of mobile terminal, second channel switch
K2 is disconnected and the Q1 conductings of control data back switch, at this point, if the headset plug of line control earphone is inserted into earphone jack,
Microphone lines (jack end microphone lines will be joined together to form microphone lines with plug end microphone lines at this time) will be supplied
The processor of piezoelectric voltage, line control earphone can work normally under the action of supply voltage and return sensing data;Due to number
It can pass through at this time for AC signal according to backhaul lines L1, therefore, passed to microphone lines in the form of AC signal in processor
When defeated sensing data, which just can reach the signal processing unit of mobile terminal by data back circuit,
The signal processing unit generally includes output port buffer device, analog-digital converter and application processor connected in sequence, at the application
Reason device may or may not be physically separated with the parts illustrated as separating component control unit U2.Therefore,
Data transmission circuit of the present invention supports the application of transmission sensor data while powering for line control earphone by default.
In operational order (operational order includes establishing call connection) of user's input requirements recording, control unit U2
It controls first passage switch K1 disconnections, second channel switch K2 conductings and control data back switch Q1 to disconnect, at this point, line traffic control
Recording data can be transmitted to signal processing unit by the microphone of earphone by second channel switch K2.
It can be seen that on the one hand data transmission circuit of the present invention is supported while powering for line control earphone into line sensor
On the other hand the transmission of data supports the time sharing transmissions of sensing data and recording data, since the air time only occupies movement
The small part of terminal usage time, and call is required to acquire necessary chance used at the same time very with the data of corresponding additional function
It is few, therefore, the modes of this kind of time sharing transmissions ensure two kinds of data transmissions be independent of each other and ensure data transmission with listen sound function
Under the premise of being independent of each other, the user experience is improved to the maximum extent.
For the earphone for making the data transmission circuit that there is the headset plug of detection line control earphone whether to be inserted into mobile terminal
Function in jack, in one particular embodiment of the present invention, the first end of first passage switch is through current measuring element
It is connect with feeder ear Vout, in this way, control unit U2 can give tacit consent to by the way that whether detection current measuring element has electric current to flow through
Line control earphone insertion is judged whether there is under state.Current divider R13 as shown in Figure 1 may be used in the current measuring element, also may be used
To use other current measuring elements such as Hall current sensor, before control unit U2 can be by filter circuit and amplifying circuit etc.
Set the signal that processing circuit receives current measuring element output.
In order to enable the on off state of data back switch Q1 to be carried out certainly according to the on off state of first passage switch K1
Dynamic switching, in one particular embodiment of the present invention, as shown in Figure 1, data back switch Q1 uses NMOS tube, NMOS tube
Drain electrode connect with the first end of first passage switch K1 through capacitance C1, the source electrode of NMOS tube and the signal of signal processing unit are defeated
Enter end connection, the grid of NMOS tube is connect with jack end microphone lines JM, and the drain electrode of NMOS tube is through biasing resistor R4 and jack
Ground wire JG connections are held, biasing resistor R4 provides bias voltage for the drain electrode of NMOS tube, to ensure that NMOS tube is big in gate source voltage
It is reliably connected when cut-in voltage.In this way, when first passage switch K1 is connected, jack end microphone lines will obtain power supply electricity
Pressure, at this point, the gate source voltage of NMOS tube will be greater than cut-in voltage and then be connected automatically, and when first passage switch K1 is disconnected,
The gate source voltage of NMOS tube will be equal to 0 because of second channel switch K2 conducting, and then by automatic cut-off.
There is opposite switch shape with second channel switch K2 for the ease of control unit U2 control first passage switch K1
State, in one particular embodiment of the present invention, as shown in Figure 1, the first passage switch K1 and second channel switch K2 are constituted
Single-pole double-throw switch (SPDT), the first passage switch K1 and second channel switch K2 can also be pairing normally opened contact and it is normally closed touch
Point.This kind of structure another advantage is that being not in lead to first passage switch K1 and second channel switch K2 on off states
Identical maloperation problem.
In order to make the Signal and Signal Treatment unit U1 for corresponding to various data match, in the specific implementation of the present invention
In example, as shown in Figure 1, the data transmission circuit further includes microphone bias circuit B1, the biasing of microphone bias circuit B1
Voltage output end is connected via the signal input part of biasing resistor R3 and signal processing unit.
On the basis of the data transmission circuit of the mobile terminal side of the present invention, the present invention also provides a kind of mobile whole
End, so that mobile terminal can power and receive simultaneously the sensing data that line control earphone transmission comes for line control earphone.The movement
Terminal has the data of feeder ear Vout, earphone jack J, signal processing unit U1, control unit U2 and above-mentioned mobile terminal side
Transmission circuit, earphone jack J have jack end microphone lines JM, jack end ground wire JG, jack end L channel line and jack end right
Sound channel line (not shown in figure 1), control unit U2 are arranged to be opened according to operational order input by user control first passage
Close the on off state of K1, second channel switch K2 and data back switch Q1.
The present invention also provides it is a kind of being capable of line traffic control ear corresponding with the data transmission circuit of mobile terminal side of the present invention
The data transmission circuit of pusher side so that corresponding line control earphone can according to the state of the data transmission circuit of mobile terminal side from
It is dynamic to be switched to the corresponding data of transmission, as shown in Fig. 2, the data transmission circuit includes voltage detecting circuit, processor M1, voltage
Conversion circuit VC1, the first PMOS tube PQ1 and the second PMOS tube PQ2, wherein the voltage detecting circuit is for acquiring and exporting slotting
The voltage of head end microphone lines PM.Processor is used for the voltage of test plug end microphone lines, and in plug end microphone lines
It is drawn when voltage is equal to the supply voltage of the feeder ear Vout offers of mobile terminal, by the current potential of the switch control terminal mouth CTRL of itself
Down to 0V;Processor is additionally operable in the form of AC signal to plug end microphone lines PM transmission sensor data;The voltage turns
The voltage input end for changing circuit VC1 is connect with plug end microphone lines JM, the voltage output end of voltage conversion circuit VC1 and processing
The supply port of device M1 connects, to be located by voltage conversion circuit VC1 when plug end microphone lines JM obtains supply voltage
Device M1 power supplies are managed, ensure that processor M1 can be worked normally, special voltage conversion core may be used in voltage conversion circuit VC1
Piece can also use the regulator circuit being made of zener diode.The grid of second PMOS tube PQ2 through the second pull-up resistor R2 with
Plug end ground wire PG connections, drain electrode are connect with plug end microphone lines PM, source electrode and the positive of microphone Mic connect, so that wheat
Gram wind Mic transmits recording data via the second PMOS tube PQ2 to plug end microphone lines PM.The drain electrode of first PMOS tube PQ1 with
Plug end microphone lines PM connections, source electrode are connect with the grid of the second PMOS tube PQ2, grid is through the first pull-up resistor R1 and first
The drain electrode of PMOS tube PQ1 connects, and the grid of the first PMOS tube PQ1 is connect with the switch control terminal mouth CTRL of processor M1.
The operation principle of the data transmission circuit of line control earphone side of the present invention is:
When processor M1 detects that plug end microphone lines PM obtains supply voltage by voltage detecting circuit, will switch
The current potential of control port CTRL is pulled low to 0V, at this point, the first PMOS tube will be connected, and by the second pull-up resistor R2 by second
The grid voltage of PMOS tube is drawn high, so that the second PMOS tube is ended, therefore, microphone Mic is whole to movement in this state
The access of end transmission recording data is cut off, and processor M1 can be passed in the form of AC signal to mobile terminal by microphone lines
Defeated sensing data, the state that supply voltage is provided to jack end microphone lines JM with the data transmission circuit of mobile terminal side
It is corresponding.
Detect the voltage of plug end microphone lines PM significantly lower than power supply electricity by voltage detecting circuit in processor M1
When pressure, then the disconnection of switch control terminal mouth is controlled, the voltage of switch control terminal mouth will depend on external circuit;If processor M1 because
The voltage reduction of plug end microphone lines PM can not work, then the voltage of switch control terminal mouth will equally depend on external electrical
Road, the i.e. present invention can ensure that the switching of data transmission path is not influenced by whether processor M1 works normally.At this point, first
PMOS tube PQ1 will end under the effect of the pull-up of the first pull-up resistor R1, and the second PMOS tube PQ2 will be due to the current potential of grid is 0
Conducting, and then accesses of the microphone Mic to mobile terminal transmission recording data will be connected under this kind of state, processor M1 stops
To microphone lines transmission sensor data, this just makes second channel switch K2 lead with the data transmission circuit of mobile terminal side
Logical recording state is corresponding.
Here, can provide a threshold value in the fluctuation range of supply voltage judges plug end microphone lines for processor M1
Whether the voltage of PM is significantly lower than supply voltage, and the feelings of microphone bias circuit are arranged in the data transmission circuit of mobile terminal side
Under condition, the voltage of plug end microphone lines PM is corresponding by the bias voltage provided with microphone bias circuit at this moment, therefore,
Processor M1 can also judge whether to be significantly lower than supply voltage according to the bias voltage.
It can be seen that on the one hand data transmission circuit of the present invention is supported while powering for line control earphone into line sensor
On the other hand the time sharing transmissions of sensing data and recording data are supported in the transmission of data, but also can be according to microphone lines
On voltage automatically switch between sensor data transmission state and recording data transmission state, therefore, this kind of time sharing transmissions
Mode ensureing that two kinds of data transmissions are independent of each other and ensure data transmission and under the premise of listen sound function to be independent of each other, maximum
Limit the user experience is improved.
In order to protect the second PMOS tube PQ2, in one particular embodiment of the present invention, as shown in Fig. 2, the first PMOS tube
The drain electrode of PQ1 is connect through biasing resistor R5 with plug end microphone lines PM, in the first PMOS tube PQ1 conducting for the 2nd PMOS
Bias voltage is provided between the drain-gate of pipe, but the resistance value of biasing resistor R5 should be much smaller than the resistance value of the second pull-up resistor R2,
So that the second PMOS tube PQ2 influences of step microphone Mic anodes in the first PMOS tube PQ1 conductings reliably end.
In order to simplify the circuit structure of data transmission circuit, in one particular embodiment of the present invention, the present invention passes through
Biasing resistor R5 and the first pull-up resistor R1 realize above-mentioned voltage detecting circuit, at this point, voltage detecting circuit is via the first pull-up
The signal of the voltage of potential point output reflection plug end microphone lines PM between resistance R1 and biasing resistor R5.Here, ability
Field technique personnel should be understood that data transmission circuit of the present invention can realize voltage inspection by other sampling resistor completely
Slowdown monitoring circuit.
In order to make the signal that voltage detecting circuit exports that can directly react the voltage of plug end microphone lines substantially, in turn
The burden of conversion is saved, in one particular embodiment of the present invention, the resistance value of biasing resistor R5 is much smaller than the first pull-up electricity
The resistance value for hindering R1, for example, the multiple between the resistance value and the resistance value of biasing resistor R5 of the first pull-up resistor R1 is more than or equal to
100 times, the multiple is 1000 times in the specific embodiment of the invention.
On the basis of the data transmission circuit of the line control earphone side of the present invention, the present invention also provides a kind of line traffic control ears
Machine, so that the line control earphone can be to transmit corresponding number according to the state auto-switching of the data transmission circuit of mobile terminal side
According to as shown in Fig. 2, the line control earphone includes line traffic control plate, headset earpiece, headset plug P, the processor being arranged in line traffic control plate
M1, the microphone Mic being arranged on line traffic control plate or headset earpiece, the sensor S1 being arranged in headset earpiece and above-mentioned line
The data transmission circuit of earpiece side is controlled, processor M1 is for the collected inductive signals of receiving sensor S1 and to the sense
Induction signal is handled to obtain sensing data, and headset plug P includes plug end microphone lines PM, plug end ground wire PG, plug
Hold L channel line and plug end right channel line (not shown).
Each resistance described above can be single resistance, can also be connected by the resistance of more than two (including two)
And/or formation in parallel.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Divide cross-reference, each embodiment focuses on the differences from other embodiments, and each embodiment
It can be used alone or be combined with each other as needed.
Although some specific embodiments of the present invention are described in detail by example, the skill of this field
Art personnel it should be understood that example above merely to illustrating, the range being not intended to be limiting of the invention.The skill of this field
Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above example.This hair
Bright range is defined by the following claims.