Charging box, earphone and its control method
Technical field
This application involves technical field of electronic equipment, in particular to charging box, earphone and control method.
Background technique
Earphone is very important equipment in mobile communication, TWS (the true wireless stereo of True Wireless Stereo)
Earphone possesses advantage small and exquisite, portable, easy to use, easy to operate.TWS earphone generally comprises left and right earphone and a charging
Box, all included lithium battery of earphone, charging box, earphone can be put into charging box and charge, and charging box itself is also chargeable;It is using
In the process, earphone needs are communicated with charging box, and charging box can charge to earphone, enhance the cruising ability of earphone.
In the prior art, the design of TWS earphone and its charging box is generally divided into two schemes, the first uses communication, fills
Electrically separated scheme, for single earphone, the contact point of earphone and charging box is with four, and two charging contacts, two communicate
Contact;Single earphone and is filled earphone in second of the communication realized between earphone and charging box by the way of Bluetooth communication
The contact point of electric box is with two, and as charging contact, earphone and charging box communication are by the way of bluetooth.The of the prior art
A kind of scheme is more with earphone and charging box contact, the high disadvantage of cost of hardware design;The second scheme of the prior art, due to
It is realized and is communicated using Bluetooth technology, need Bluetooth communication to control chip, hardware cost is relatively high, and communication reliability is not high.
Summary of the invention
Charging box, earphone and its control method provided by the embodiments of the present application, can solve ear existing in the prior art
Machine and charging box contact are more, cost of hardware design height and the not high disadvantage of communication reliability.
The embodiment of the present application the technical solution adopted is as follows:
In a first aspect, the embodiment of the present application provides a kind of charging box, correspond to single earphone, the is provided on charging box
One contact and the second contact, first contact and second contact are used to be electrically connected with the corresponding contact on the earphone,
The charging box further includes the first controller, charging detecting circuit and the first telecommunication circuit, the charging detecting circuit respectively and
First controller, first contact, second contact electrical connection, first telecommunication circuit is respectively with described first
Controller, first contact and second contact electrical connection, wherein first controller is for controlling the charging inspection
Slowdown monitoring circuit detects whether the earphone is inserted into, extracts, and in earphone insertion, charges for the earphone;First control
Device processed is also used to be communicated by first telecommunication circuit with the earphone.
Two contacts are arranged for single earphone in the charging box of the application on charging box, corresponding with the earphone respectively
Two contact connections, correspondingly, be arranged altogether for two earphones of left and right ear, on the charging box of the application there are four contact,
Contact electrical connection corresponding with left and right earphone respectively;And in the prior art, it is right using communication, the charging box of charging separation scheme
Two contacts are just needed in single earphone, correspondingly, for two earphones of left and right ear, on the charging box of the prior art
It is provided with eight contacts altogether, respectively contact electrical connection corresponding with left and right earphone.Therefore, the charging box of the application, compared to existing
Have in technology using communication, the charging box of charging separation scheme, two contacts have been saved for single earphone, correspondingly, for
Two earphones of left and right ear have saved four contacts altogether, to save hardware cost, improve the convenience that user uses;
Meanwhile the charging box of the application communicates by the way of wired with earphone, compensates for and is realized in the prior art using Bluetooth profile
The not high disadvantage of communication reliability existing for charging box and earphone communication plan;.
With reference to first aspect, the embodiment of the present application provides the first possible embodiment of first aspect, described to fill
Power detection circuit includes: the first control terminal, first switch, second switch, the first power input, second source input terminal,
One test side and earthed circuit;First controller is connect with the input terminal of first control terminal;The first switch
One end is connect with the output end of first control terminal and first power input, the other end of the first switch and institute
State the electrical connection of the first contact;The second source input terminal and the output end of first test side respectively with the second switch
One end connection, the input terminal of first test side connect with the controller, the other end of the second switch with it is described
The electrical connection of first contact;One end of the earthed circuit is grounded, and the other end of the earthed circuit is electrically connected with second contact
It connects;Wherein, first control terminal is used to control the switch state of the first switch;The first switch, first electricity
Source input terminal and the second source input terminal are used to control the switch state of the second switch;The second source input terminal
Level voltage be less than first power input level voltage;First power input is also used to be inserted into earphone
It charges when the charging box for the earphone;First controller is used to be detected according to the level state of first test side
Whether whether earphone be inserted into the charging box and extract in charging complete from the charging box.
The charging box of the application is judged whether there is earphone and inserted or pull out, subtracted by the level change of control detection port
Lack touch-switch and hall switch, saves hardware cost, meanwhile, it compensates in the prior art through mechanical touch-switch inspection
Survey the disadvantage low with the accuracy of detection mode detection that hall is switched.
The possible embodiment of with reference to first aspect the first, the embodiment of the present application provide second of first aspect
Possible embodiment, first telecommunication circuit include: third switch, the 4th switch, the first divider resistance, the first communication letter
Number transmitting terminal and the first signal of communication receiving end;The input terminal of first controller and the first signal of communication transmitting terminal connects
Connect, the output end of the first signal of communication transmitting terminal is connect with one end that third switchs, the other end of third switch with
4th switch is connected with the second source input terminal, the other end and the second source input terminal of the 4th switch
One end again of connection, the 4th switch is electrically connected with first contact, another end ground connection of the third switch;Described
The output end of one signal of communication receiving end is electrically connected with one end of second contact and first divider resistance, and described first
The other end of divider resistance is grounded;Wherein, the first signal of communication transmitting terminal, for controlling the switch shape of the third switch
State, to send signal of communication;The third switch and the second source input terminal, for controlling the switch of the 4th switch
State;First signal of communication receiving end, for logical to receive by detecting the voltage change on first divider resistance
Believe signal.
The charging box of the application, communicates by the way of wired with earphone, compensates in the prior art using Bluetooth profile
Realize the not high disadvantage of communication reliability existing for charging box and earphone communication plan;Meanwhile the charging box of the application is earphone
It charges and is communicated with earphone using time-multiplexed method, hence for single earphone, charging box can be by two contacts
Earphone charging, while it being also able to achieve the function of communicating with earphone, so that the use of bluetooth hardware circuit or chip has been saved, into one
Step has saved hardware cost.
The possible embodiment of with reference to first aspect the first, the embodiment of the present application provide the third of first aspect
Possible embodiment, the earthed circuit include: detection resistance and the second test side;One end of the detection resistance respectively with
The output end connection and second contact electrical connection of second test side, the input terminal of second test side and described the
The connection of one controller, the other end ground connection of the detection resistance;Second test side is used to detect the electricity of the detection resistance
Pressure value;In the charge state whether first controller be used to judge earphone according to the voltage change of second test side
Extract charging box.
The charging box of the application, when earphone access, load of the earphone as charging box, the electric current of charging box flows through earphone
Afterwards, it needs to be grounded in charging box side, to guarantee that charging box electric current can be formed into a loop after earphone with charging box circuit.
The third possible embodiment with reference to first aspect, the embodiment of the present application provide the 4th kind of first aspect
Possible embodiment, the earthed circuit further include: the second control terminal and the 5th switch;First controller and described the
The input terminal of two control terminals connects, and one end of the 5th switch is connect with the output end of second control terminal, and the described 5th
The other end of switch is connect with one end of the detection resistance, and one end again of the 5th switch is electrically connected with second contact
It connects;Second control terminal, for controlling the switch state of the 5th switch.
The charging box of the application, earthed circuit may include a control switch, to control the resistance sizes of earthed circuit.
Second aspect, the embodiment of the present application provide a kind of earphone, and third contact and the 4th contact, institute are provided on earphone
Third contact and the 4th contact are stated for touching respectively with the first contact and second on charging box as described in relation to the first aspect
Point electrical connection, the earphone further includes second controller, charging control circuit and the second telecommunication circuit, the charging control circuit
Respectively with the second controller, the third contact, the 4th contact electrical connection, second telecommunication circuit is respectively and institute
State second controller, the third contact and the 4th contact electrical connection, wherein the second controller is used in the ear
When the machine transplanting of rice enters the charging box, the charging control circuit is controlled as earphone charging;The second controller is also used to lead to
Second telecommunication circuit is crossed to be communicated with the charging box.
Two contacts are arranged in the earphone of the application, respectively two contacts connection corresponding with the charging box;And existing skill
In art, using communication, the earphone of charging separation scheme, four contacts are needed.Therefore, the earphone of the application, compared with prior art
The middle charging box for using communication, charging separation scheme, has saved two contacts to save hardware cost and has improved user
The convenience used.
In conjunction with second aspect, the embodiment of the present application provides the first possible embodiment of second aspect, described to fill
Electric control circuit includes: rechargeable battery, charging circuit, charge control end;The second controller and the charge control end
Input terminal connection, the output end at the charge control end are connect with the charging circuit, the other end of the charging circuit and institute
Rechargeable battery connection is stated, the other end of the rechargeable battery is electrically connected with the 4th contact;One end again of the charging circuit
It is electrically connected with the third contact;The rechargeable battery, for powering to the earphone;The charging circuit, for according to institute
The high level of the first power input input is stated as rechargeable battery charging;The charge control end, for controlling described fill
The working condition of circuit.
The earphone of the application controls charging control circuit by controller and receives charging box as earphone charging, charge control
Circuit needs two contacts to be connected with charging box, and the telecommunication circuit of charging box is also required to two contacts with charging box and is connected, this Shen
Public two contacts please be charge and be communicated, hardware cost has been saved, improve the convenience that user uses.
In conjunction with the first possible embodiment of second aspect, the embodiment of the present application provides second of second aspect
Possible embodiment, second telecommunication circuit include: the second signal of communication transmitting terminal, the second signal of communication receiving end,
Two divider resistances, third divider resistance and the 6th switch;One end of second divider resistance respectively with the charging circuit
One end and third contact electrical connection again;One end of the other end of second divider resistance and the third divider resistance connects
It connects, the other end of the third divider resistance and the 6th switch connect, the other end and the described 4th of the 6th switch
Contact electrical connection;One end again of 6th switch is connect with the output end of the second signal of communication transmitting terminal;Described second
Controller is connect with the input terminal of the second signal of communication transmitting terminal, the second controller also with second signal of communication
The input terminal of receiving end connects, the output end of second signal of communication receiving end and second divider resistance and the third
Divider resistance connection;The second signal of communication transmitting terminal is also used to send for controlling the switch state of the 6th switch
Signal of communication;6th switch, for controlling the connection status of the third divider resistance and the 4th contact.
The earphone of the application, communicates by the way of wired with charging box, compensates in the prior art using Bluetooth profile
Realize the not high disadvantage of communication reliability existing for the scheme of earphone and charging box communication;Meanwhile the earphone of the application, by filling
Electric box is that earphone charges and communicate with charging box using time-multiplexed method, is earphone charging and and charging box by charging box
Communication can share two contacts.
The third aspect, the embodiment of the present application provide a kind of charging box control method, applied to as described in relation to the first aspect
Charging box, which comprises first controller detects whether the earphone is inserted into institute by the charging detecting circuit
State charging box;When the earphone is inserted into charging box, it is the earphone that first controller, which controls the charging detecting circuit,
Charging;For first controller when receiving communication request, controlling the charging detecting circuit pause is that the earphone charges,
And it is communicated by first telecommunication circuit with the earphone.
Whether the charging box control method of the application, including test earphone insert or pull out charging box, charge for earphone, with
And it is communicated with earphone.In charging box control method, charges and communicate with earphone using time-multiplexed method, thus ear for earphone
Machine, which charges and communicates with earphone, can share two contacts, thus hardware cost of having terminated an agreement;It is adopted in addition, charging box is communicated with earphone
With wired communication mode, the method for using Bluetooth communication compared to the prior art, there is better reliability.
In conjunction with the third aspect, the embodiment of the present application provides the first possible embodiment of the third aspect, described
When charging box is charging box described in the first possible embodiment of first aspect, first controller is filled by described
Power detection circuit detects whether the earphone is inserted into the charging box, comprising: the first controller control first control
End is low level, to close the first switch, and makes the second source input terminal that the second switch be connected;Described
One controller detects the level change of first test side, when the level of first test side becomes low from height, determines
There is earphone to be inserted into the charging box, the earphone includes third contact and the 4th contact, and the third contact is used for and described the
The electrical connection of one contact, the 4th contact with second contact for being electrically connected.
The charging box control method of the application detects the variation of detection port voltage by controller whether to judge earphone
Charging box is extracted in insertion, compared with the prior art in detected by mechanical touch-switch and compared with the hall detection mode switched,
Reduce touch-switch and hall switch, and improves the accuracy of detection.
In conjunction with the first possible embodiment of the third aspect, the embodiment of the present application provides the second of the third aspect
Kind possible embodiment, it is that the earphone charges that first controller, which controls the charging detecting circuit, comprising: described the
It is high level that one controller, which controls first control terminal, the first switch is connected, and passes through first power input
End output high level is that the earphone charges;Judge whether the charging time reaches preset charging time value;When filling
When the electric time reaches preset charging time value, it is low level that first controller, which controls first control terminal, with
First switch is disconnected, stops output high level to the earphone.
The charging box control method of the application controls charger by controller after detecting that earphone is inserted into charging box
Control terminal control whether to give earphone charging, and by the preset charging time, determine the duration of charging, control logic
Simply, to reduce the complexity of circuit design.
In conjunction with second of possible embodiment of the third aspect, the embodiment of the present application provides the third of the third aspect
Possible embodiment is the charging box as described in second of possible embodiment of first aspect in the charging box, described
Method further include: when the earphone is in charged state, first controller is according to the voltage value of second test side
Determine whether the earphone is extracted from the charging box, when the voltage value is less than preset threshold value, described in characterization
Earphone is extracted from the charging box.
The charging box control method of the application, charging box, which is charged and charged to earphone, terminates two states, using not
The scheme that same test earphone is extracted ensure that earphone extracts the accuracy of detection.
In conjunction with second of possible embodiment of the third aspect, the embodiment of the present application provides the 4th kind of the third aspect
Possible embodiment, after determining and thering is earphone to be inserted into the charging box and charging complete, the method also includes: described the
One controller according to the level value of first test side determine the earphone whether from the charging box extract, wherein work as institute
State the level value of the first test side from it is low become high when, characterize the earphone and extracted from the charging box.
The charging box control method of the application terminates two states for charging and charging to earphone existing for charging box,
The scheme extracted using different test earphones ensure that earphone extracts the accuracy of detection.
In conjunction with the third aspect, the embodiment of the present application provides the 5th kind of possible embodiment of the third aspect, described
When charging box is the charging box as described in second of possible embodiment of first aspect, it is temporary to control the charging detecting circuit
Stop charging for the earphone, and is communicated by first telecommunication circuit with the earphone, the method also includes:
The request that the charging box that first controller obtains user's input is communicated with the earphone first control
It is low level that device processed, which controls first control terminal, to disconnect the first switch, stops output high level to the earphone;Institute
It states the first controller control the first signal of communication transmitting terminal and alternately communicates letter to third switch input low and high level
Number, the switch state of the third switch and the 4th switch is controlled as conducting and disconnects alternate state;The charging box
After having sent signal of communication, it is high level that first controller, which controls first control terminal, to open the first switch,
High level is exported to the earphone;First controller is according to first signal of communication receiving end detection, first partial pressure
The voltage change of resistance, to receive the alternate signal of communication of low and high level that the earphone is sent.
The charging box control method of the application realizes that charging box is communicated and charged with earphone using time-multiplexed method
Box is the function of earphone charging, to guarantee that charging box can only design two contacts for single earphone;While the application
Control method improves the reliability of communication compared with the communication mode of bluetooth in the prior art using wired communication mode.
Fourth aspect, the embodiment of the present application provide a kind of headset control method, applied to the ear as described in second aspect
Machine, when earphone is in charged state, which comprises detect whether the third contact is low level;When the third
When contact is low level, the second controller, which controls the charging circuit by the charge control end, to be stopped being the charging
Battery charging;The second controller passes through the voltage change of detection second signal of communication receiving end, to fill described in reception
The alternate signal of communication of the low and high level that electric box is sent;When the earphone receives the height that the charging box is sent
When the alternate signal of communication of level, it is defeated to the 6th switch that the second controller controls the second signal of communication transmitting terminal
Enter the signal of communication of low and high level switching, the switch state for controlling the 6th switch is to be connected and disconnect alternate state.
The headset control method of the application, using time-multiplexed method, realization earphone is communicated with charging box and charging box
For earphone charging function, thus guarantee earphone can only design two contacts.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the first schematic diagram of charging box in the embodiment of the present application;
Fig. 2 is the second schematic diagram of charging box in the embodiment of the present application;
Fig. 3 is the third schematic diagram of charging box in the embodiment of the present application;
Fig. 4 is the 4th schematic diagram of charging box in the embodiment of the present application;
Fig. 5 is the 5th schematic diagram of charging box in the embodiment of the present application;
Fig. 6 is the first schematic diagram of earphone in the embodiment of the present application;
Fig. 7 is the second schematic diagram of earphone in the embodiment of the present application;
Fig. 8 is the third schematic diagram of earphone in the embodiment of the present application;
Fig. 9 is the schematic diagram of charging box partial circuit in the embodiment of the present application;
Figure 10 is the schematic diagram of earphone partial circuit in the embodiment of the present application.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Therefore, with
Under claimed scope of the present application is not intended to limit to the detailed description of the embodiments herein provided in the accompanying drawings,
But it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not going out
Every other embodiment obtained, shall fall in the protection scope of this application under the premise of creative work.
In the description of the embodiment of the present application, it is also necessary to which explanation is unless specifically defined or limited otherwise, term
" connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be
It is directly connected to, can also be indirectly connected with by intermediary.It for the ordinary skill in the art, can be with concrete condition
Understand the concrete meaning of above-mentioned term in this application.It is retouched in addition, term " first ", " second ", " third " etc. are only used for distinguishing
It states, is not understood to indicate or imply relative importance.
First embodiment
A kind of charging box is present embodiments provided, referring to Fig. 1, correspond to single earphone, the is provided on charging box 100
One contact A and the second contact B, first contact A and the second contact B with the corresponding contact on the earphone for being electrically connected
It connects, the charging box 100 further includes the first controller 101, charging detecting circuit 102 and the first telecommunication circuit 103, the charging
Detection circuit is electrically connected B with first controller 101, first contact A, second contact respectively, and described first is logical
Believe that circuit 103 is electrically connected with first controller 101, first contact A and the second contact B respectively, wherein described
First controller 101 detects whether the earphone is inserted into, extracts for controlling the charging detecting circuit 102, and in the ear
The machine transplanting of rice is fashionable, charges for the earphone;First controller 101 be also used to by first telecommunication circuit 103 with it is described
Earphone is communicated.
Optionally, referring to Fig. 2, the charging detecting circuit 102 includes: the first control terminal, first switch, second opens
Pass, the first power input, second source input terminal, the first test side and earthed circuit;First controller 101 with it is described
The input terminal of first control terminal connects;The output end and first electricity of one end of the first switch and first control terminal
The connection of source input terminal, the other end of the first switch are electrically connected with first contact A;The second source input terminal and institute
The output end for stating the first test side is connect with one end of the second switch respectively, the input terminal of first test side with it is described
Controller connection, the other end of the second switch are electrically connected with first contact A;One end of the earthed circuit is grounded,
The other end of the earthed circuit is electrically connected with the second contact B;Wherein, first control terminal is for controlling described first
The switch state of switch;The first switch, first power input and the second source input terminal are for controlling institute
State the switch state of second switch;The level voltage of the second source input terminal is less than the level of first power input
Voltage;First power input is also used to charge when earphone is inserted into the charging box for the earphone;First control
Whether whether device processed for being inserted into the charging box according to the level state test earphone of first test side and charging
Charging box described in Cheng Shicong is extracted.
Optionally, referring to Fig. 9, the second switch is diode;Correspondingly, the second source input terminal and first
Test side is connect with the anode of the diode respectively, and the cathode of the diode is connect with first contact A.
Optionally, referring to Fig. 3, first telecommunication circuit 103 includes: third switch, the 4th switch, the first partial pressure electricity
Resistance, the first signal of communication transmitting terminal and the first signal of communication receiving end;First controller 101 and first signal of communication
The input terminal of transmitting terminal connects, and the output end of the first signal of communication transmitting terminal is connect with one end that third switchs, and described the
The other end of three switches is connect with the 4th switch and the second source input terminal, the other end of the 4th switch and institute
The connection of second source input terminal is stated, one end again of the 4th switch is electrically connected with first contact A, the third switch
Another end ground connection;The output end of first signal of communication receiving end and the second contact B and first divider resistance
One end electrical connection, the other end ground connection of first divider resistance;Wherein, the first signal of communication transmitting terminal, for controlling
The switch state of the third switch, to send signal of communication;The third switch and the second source input terminal, for controlling
Make the switch state of the 4th switch;First signal of communication receiving end, for by detecting first divider resistance
On voltage change receive signal of communication.
Optionally, referring to Fig. 9, third switch can be triode, the 4th switch can enhance for P-channel
Type field-effect tube;Correspondingly, the output end of the first signal of communication transmitting terminal is connect with the base stage of the triode, and described three
The collector of pole pipe is connect with the P-channel enhancement type FET and the second source input terminal, the hair of the triode
Emitter grounding.
Optionally, referring to Fig. 4, the earthed circuit includes: detection resistance and the second test side;The detection resistance
One end connect respectively with the output end of second test side and the second contact B electrical connection, second test side it is defeated
Enter end to connect with first controller 101, the other end ground connection of the detection resistance;Second test side is for detecting institute
State the voltage value of detection resistance;First controller 101 is used to judge ear according to the voltage change of second test side
Whether machine extracts charging box in the charge state.
Optionally, referring to Fig. 5, the earthed circuit further include: the second control terminal and the 5th switch;First control
Device 101 is connect with the input terminal of second control terminal, one end of the 5th switch and the output end of second control terminal
Connection, it is described 5th switch the other end connect with one end of the detection resistance, it is described 5th switch one end again with it is described
Second contact B electrical connection;Second control terminal, for controlling the switch state of the 5th switch.
Optionally, referring to Fig. 9, the 5th switch can be triode, correspondingly, the output of second control terminal
End is connect with the basis set of the triode, and the emitter of the triode is connect with one end of the detection resistance, three pole
The current collection collection of pipe is connect with the second contact B and first signal of communication receiving end.
Second embodiment
A kind of earphone 200 is present embodiments provided, referring to Fig. 6, third contact C and the 4th contact D are provided on earphone,
The third contact C and the 4th contact D with first on charging box 100 as described in the first embodiment for touching respectively
Point A and the second contact B electrical connection, the earphone further include second controller 201, charging control circuit 202 and the second communication electricity
Road 203, the charging control circuit 202 respectively with the second controller 201, the third contact C, the 4th contact D
Electrical connection, second telecommunication circuit 203 respectively with the second controller 201, the third contact C and the 4th contact
D electrical connection, wherein the second controller 201 is used to control the charging when the earphone is inserted into the charging box 200
Control circuit 202 is earphone charging;The second controller 201 is also used to through second telecommunication circuit 203 and institute
Charging box 200 is stated to be communicated.
Optionally, referring to Fig. 7, the charging control circuit includes: rechargeable battery, charging circuit, charge control end;Institute
It states second controller 101 to connect with the input terminal at the charge control end, the output end at the charge control end and the charging
Circuit connection, the other end of the charging circuit are connect with the rechargeable battery, the other end of the rechargeable battery and described the
Four contact D electrical connection;One end again of the charging circuit is electrically connected with the third contact C;The rechargeable battery, for institute
State earphone power supply;The charging circuit, the high level for being inputted according to first power input are the rechargeable battery
Charging;The charge control end, for controlling the working condition of the charging circuit.
Optionally, referring to Fig. 8, second telecommunication circuit includes: the second signal of communication transmitting terminal, the second signal of communication
Receiving end, the second divider resistance, third divider resistance and the 6th switch;One end of second divider resistance is filled with described respectively
One end again of circuit and third contact C electrical connection;The other end of second divider resistance and third partial pressure electricity
One end of resistance connects, and the other end of the third divider resistance and the 6th switch connect, the other end of the 6th switch
It is electrically connected with the 4th contact D;One end again of 6th switch and the output end of the second signal of communication transmitting terminal connect
It connects;The second controller 201 is connect with the input terminal of the second signal of communication transmitting terminal, and the second controller 201 is also
It is connect with the input terminal of second signal of communication receiving end, the output end of second signal of communication receiving end and described second
Divider resistance is connected with the third divider resistance;The second signal of communication transmitting terminal, for controlling the 6th switch
Switch state is also used to send signal of communication;6th switch, for controlling the third divider resistance and the 4th touching
The connection status of point D.
Optionally, referring to Fig. 10, it is described 6th switch be triode, correspondingly, the ground level of the triode with it is described
The connection of second signal of communication transmitting terminal, the collector of the triode are connect with second divider resistance, the triode
Emitter is electrically connected with the 4th contact D.
3rd embodiment
The present embodiment provides a kind of charging box control methods, are applied to charging box as in the first embodiment, the method
It include: step S100, step S200, step S300.
S100: first controller detects whether the earphone is inserted into the charging by the charging detecting circuit
Box;
For example, whether first controller 101 detects the earphone 200 by the charging detecting circuit 102
It is inserted into the charging box 100.
Optionally, step S100 further include: it is low level that first controller, which controls first control terminal, to close
The first switch, and make the second source input terminal that the second switch be connected;Described in the first controller detection
The level change of first test side is determined to have and be filled described in earphone insertion when the level of first test side becomes low from height
Electric box, the earphone include third contact and the 4th contact, and the third contact is described for being electrically connected with first contact
4th contact with second contact for being electrically connected.
Step S200: when the earphone is inserted into charging box, first controller controls the charging detecting circuit and is
The earphone charging.
For example, when the earphone 200 is inserted into charging box 100, first controller 101 controls the charging inspection
Slowdown monitoring circuit 102 is the earphone 200 charging.
Optionally, step S200 further include: it is high level that first controller, which controls first control terminal, with conducting
The first switch, and exporting high level by first power input is that the earphone charges;When judgement charging
Between whether reach preset charging time value;When reaching preset charging time value between when charging, described first
It is low level that controller, which controls first control terminal, to disconnect first switch, stops output high level to the earphone.
Optionally, step S200 further include: when the earphone is in charged state, first controller is according to
The voltage value of second test side determines whether the earphone is extracted from the charging box, when the voltage value is less than preset
When threshold value, characterizes the earphone and extracted from the charging box.
Optionally, after step S200, the method also includes: the first controllers according to the level of first test side
Value determines whether the earphone is extracted from the charging box, wherein when the level value of first test side from it is low become high when,
The earphone is characterized to extract from the charging box.
Step S300: when receiving communication request, control the charging detecting circuit pause is first controller
The earphone charging, and communicated by first telecommunication circuit with the earphone.
For example, user can request left and right earphone to match by the button on operation charging box, when the first control
When device 101 receives the request of earphone pairing of user's input, controlling the pause of charging detecting circuit 102 is the earphone
200 chargings, and communicated by first telecommunication circuit 103 with the earphone 200.
Optionally, step S300 further include: first controller obtains the charging box and the ear of user's input
The request of machine communication;It is low level that first controller, which controls first control terminal, to disconnect the first switch, is stopped
High level is exported to the earphone;It is defeated to third switch that first controller controls the first signal of communication transmitting terminal
Enter the alternate signal of communication of low and high level, control the switch state of the third switch and the 4th switch as conducting and disconnects
Alternate state;After the charging box has sent signal of communication, it is high electricity that first controller, which controls first control terminal,
It is flat, to open the first switch, output high level to the earphone;First controller is according to first signal of communication
The voltage change of first divider resistance is detected in receiving end, alternately communicates letter to receive the low and high level that the earphone is sent
Number.
Fourth embodiment
The present embodiment provides a kind of headset control methods, when earphone is in charged state, which comprises step
S100, step S200, step S300, step S400.
Step S100: detect whether the third contact is low level.
For example, whether detection third contact C is low level.
Step S200: when the third contact is low level, the second controller is controlled by the charge control end
It makes the charging circuit and stops being that the rechargeable battery charges.
For example, when third contact, C is for low level, second controller 201 passes through the control charging of charge control end
Circuit stops being that the rechargeable battery charges.
Step S300: the second controller passes through the voltage change of detection second signal of communication receiving end, to connect
Receive the alternate signal of communication of the low and high level that the charging box is sent.
For example, second controller 201 is charged by the voltage change of the second signal of communication receiving end of detection with receiving
The alternate signal of communication of low and high level that box 100 is sent.
Step S400: when the earphone receives the alternate signal of communication of the low and high level that the charging box is sent
When, the second controller controls the second signal of communication transmitting terminal and leads to what the 6th switch input low and high level switched
Believe signal, the switch state for controlling the 6th switch is to be connected and disconnect alternate state.
For example, when the alternate signal of communication of the low and high level that earphone 200 receives the transmission of charging box 100, second
Controller 201 controls the signal of communication that the second signal of communication transmitting terminal switches to the 6th switch input low and high level, control the 6th
The switch state of switch is to be connected and disconnect alternate state.
More than, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, and it is any to be familiar with
Those skilled in the art within the technical scope of the present application, can easily think of the change or the replacement, and should all cover
Within the protection scope of the application.Therefore, the protection scope of the application should be subject to the protection scope in claims.