A kind of charging bluetooth earphone circuit and bluetooth headset
Technical field
The present embodiments relate to wireless charging technology more particularly to a kind of charging bluetooth earphone circuits and bluetooth headset.
Background technique
Common bluetooth headset is by two bluetooth headsets, an earphone charging box composition currently on the market.Earphone charging box
To charging bluetooth earphone.When bluetooth headset is placed in charging box, it is electrically connected by three connectors such as pin therebetween.
If three connectors are respectively designated as connector A, connector B, connector C.Connector A: charging box provides charging electricity to earphone
Source VBUS, such as 5V voltage.Connector B: earphone provides indicator light to charging box and controls signal.Connector C: earphone and charging box
Public lower margin.
In earphone control logic, earphone is put into charging box, and earphone detects VBUS high level by connector A, judgement
Box is entered, earphone stops working.When headset detection to connector A is low level, judgement has gone out box, starting earphone work.But
It is this scheme when earphone is in charging box, if charging box battery consumption is over, VBUS becomes low level.Earphone is sentenced at this time
Break and box, cause to judge incorrectly, to cause earphone control logic mistake, working condition is chaotic.
Summary of the invention
The embodiment of the present invention provides a kind of charging bluetooth earphone circuit and bluetooth headset, solves current earphone in charging box electricity
Easily there is the misjudgment of earphone state in pond after ruing out of, thus cause earphone control logic mistake, the problem of working condition confusion.
In a first aspect, the embodiment of the invention provides a kind of charging bluetooth earphone circuit, the circuit include: include: earphone
Side-connector, headphone processor input/output port and charging box side-connector;
Wherein, when the headphone processor input/output port works in output mode, the headphone processor input is defeated
Exit port is connected with earphone side-connector, and the earphone side-connector is connected with the charging box side-connector;At the earphone
When reason device input/output port works in input pattern, the headphone processor input/output port passes through first resistor and earphone
Processor input power is connected;
The charging box side-connector is connected by second resistance with charging box power cathode;
In the case where charging box is in and has electricity condition, the headphone processor input/output port works in output mode and is charging
Box, which is in, not to be had under electricity condition, and the headphone processor input/output port works in input pattern, the headphone processor input
The level state of output port is used to determine the state of earphone.
Further, the level state of the headphone processor input/output port is used to determine the state of earphone, comprising:
In the case where charging box is in and has electricity condition, the level state of the headphone processor input/output port is high level,
The state of earphone is to be put into charging box to charge.
Further, the level state of the headphone processor input/output port is used to determine the state of earphone, comprising:
In the case where charging box is in and does not have electricity condition, the level state of the headphone processor input/output port is high level,
The state of earphone is not to be put into charging box.
Further, the level state of the headphone processor input/output port is used to determine the state of earphone, comprising:
In the case where charging box is in and does not have electricity condition, the level state of the headphone processor input/output port is low level,
The state of earphone is uncharged to be put into charging box.
Wherein, the resistance value of the first resistor is greater than the resistance value of the second resistance.
Further, circuit further include: indicating lamp control circuit, the charging box side-connector and indicator light control electricity
Road is connected, when the headphone processor input/output port works in output mode, the headphone processor input/output terminal
Mouth to indicating lamp control circuit for powering.
Further, the indicating lamp control circuit, comprising: triode and indicator light, wherein the base stage of the triode
It is connected with the charging box side-connector, the emitter of the triode is connected by 3rd resistor with indicator light, three pole
The collector of pipe is connected by the 4th resistance with charging box positive pole, and the indicator light is connected with the cathode of charge power supply.
Further, which further includes control module, for controlling the operating mode of earphone according to the state of earphone.
Further, the control module is specifically used for:
When the state of earphone is to be put into charging box, control earphone enters low-power consumption standby mode;
When the state of earphone is not to be put into charging box, control earphone enters normal mode of operation.
Second aspect, the embodiment of the invention also provides a kind of bluetooth headset, which includes: of the invention any real
Any charging bluetooth earphone circuit of example offer is provided.
The embodiment of the present invention is worked in by headphone processor input/output port in the case where charging box is in and has electricity condition defeated
Mode out, headphone processor input/output port is connected with earphone side-connector under output mode, earphone side-connector and charging
Box side-connector is connected;Being in charging box does not have headphone processor input/output port under electricity condition to work in input pattern, defeated
Enter under mode, headphone processor input/output port is connected by first resistor with headphone processor input power;Pass through earphone
The level state of processor input/output port is used to determine the state of earphone, and charging box is avoided to be in earphone when not having electricity condition
The situation of state judgement inaccuracy, improves earphone state judging nicety rate, realizes the accurate control to earphone, improve user's body
It tests.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing does one and simply introduces, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is a kind of structural schematic diagram for charging bluetooth earphone circuit that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural representation for charging bluetooth earphone circuit with indicator light that the embodiment of the present invention one provides
Figure;
Fig. 3 is a kind of structural schematic diagram of charging bluetooth earphone circuit provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structural schematic diagram for bluetooth headset that the embodiment of the present invention three provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention
Figure, clearly and completely describes technical solution of the present invention by embodiment, it is clear that described embodiment is the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of structural schematic diagram for charging bluetooth earphone circuit that the embodiment of the present invention one provides.The present embodiment
Technical solution can be adapted for the case where determining the state of bluetooth headset.The charging bluetooth earphone circuit, comprising: earpiece side connection
Device 110, headphone processor input/output port 120 and charging box side-connector 130;
Wherein, when the headphone processor input/output port 120 works in output mode, the headphone processor input
Output port 120 is connected with earphone side-connector 110, the earphone side-connector 110 and 130 phase of charging box side-connector
Even;When the headphone processor input/output port 120 works in input pattern, the headphone processor input/output port
120 are connected by first resistor 140 with headphone processor input power 150;The charging box side-connector 130 passes through the second electricity
Resistance 160 is connected with charging box power cathode 170;In the case where charging box is in and has electricity condition, the headphone processor input/output terminal
Mouth 120 works in output mode in the case where charging box is in and does not have electricity condition, and the headphone processor input/output port 120 works in
Input pattern, the level state of the headphone processor input/output port 120 are used to determine the state of earphone.
Further, the level state of the headphone processor input/output port is used to determine the state of earphone, comprising:
In the case where charging box is in and has electricity condition, the level state of the headphone processor input/output port is high level, the shape of earphone
State is to be put into charging box to charge.Charging box, which is in, to be had under electricity condition, and headphone processor input/output port works in output mould
Formula is powered to charging box side indicator light, indicator light is in bright state, and charging box charges to earphone, that is, earphone at this time
State is to be put into charging box to charge.
Further, the level state of the headphone processor input/output port is used to determine the state of earphone, comprising:
In the case where charging box is in and does not have electricity condition, the level state of the headphone processor input/output port is high level, the shape of earphone
State is not to be put into charging box.Charging box, which is in, not to be had under electricity condition, and headphone processor input/output port works in input pattern, ear
Machine processor input power electric current flows through first resistor and flows to headphone processor input/output port, and headphone processor inputs at this time
The level of output port is high level, can determine that earphone side-connector and charging box side-connector are not connected, so as to true
The state for determining earphone is not to be put into charging box.
Further, the level state of the headphone processor input/output port is used to determine the state of earphone, comprising:
In the case where charging box is in and does not have electricity condition, the level state of the headphone processor input/output port is low level, the shape of earphone
State is uncharged to be put into charging box.Charging box, which is in, not to be had under electricity condition, and headphone processor input/output port works in input mould
Formula, headphone processor input power electric current flow through first resistor and flow to headphone processor input/output port, and earphone is handled at this time
The level of device input/output port is low level, can determine that earphone side-connector is connect with charging box side-connector, at earphone
Reason device input power electric current flows through first resistor and reaches earphone side-connector, earphone side-connector and charging box side-connector phase
Even, charging box side-connector is connected with second resistance, it can the state for determining earphone is to be put into charging box but due to filling
Electric box is out of power so earphone is uncharged.Optionally, the resistance value of the first resistor is greater than the resistance value of the second resistance.First electricity
The resistance value of resistance is greater than the resistance value of second resistance, and first resistor partial pressure may be implemented and be greater than second resistance, to guarantee that earphone is handled
Device input/output port is low level, realizes that headphone processor input/output port level under the different conditions of earphone is different,
It may determine that the state of earphone according to headphone processor input/output port level.
In another alternative embodiment of the present invention, indicator light control electricity further is increased to charging bluetooth earphone circuit
Road, Fig. 2 are a kind of structural schematic diagram of the charging bluetooth earphone circuit with indicator light of the embodiment of the present invention, which also wraps
Include: indicating lamp control circuit, the charging box side-connector 130 is connected with indicating lamp control circuit, in the headphone processor
When input/output port 120 works in output mode, the headphone processor input/output port 120 is used to control to indicator light
Circuit power supply.Further, the indicating lamp control circuit, comprising: triode 181 and indicator light 182, wherein three pole
The base stage of pipe 181 is connected with the charging box side-connector 130, the emitter of the triode 181 by 3rd resistor 183 with
Indicator light 182 is connected, and the collector of the triode 181 is connected by the 4th resistance 184 with 185 anode of charging box power supply, institute
Indicator light 182 is stated to be connected with the cathode 170 of charge power supply.Indicator light 182 earphone charge when be in illuminating state, earphone not
It is in OFF state when charging, thereby indicates that the charged state of earphone.
It further, further include control module, for controlling the operating mode of earphone according to the state of earphone.Further
Ground, the control module are specifically used for: when the state of earphone is to be put into charging box, control earphone enters low-power consumption standby mould
Formula;When the state of earphone is not to be put into charging box, control earphone enters normal mode of operation.Low-power consumption standby mode for example may be used
Be close bluetooth and other mainly run program.When earphone is put into charging box earphone be in low-power consumption standby mode can be with
Reach saving electricity and guarantee that charging is rapidly completed in earphone, when earphone is not put into charging box, earphone is in normal mode of operation can
To guarantee user's normal use, user experience is improved.
The embodiment of the present invention is worked in by headphone processor input/output port in the case where charging box is in and has electricity condition defeated
Mode out, headphone processor input/output port is connected with earphone side-connector under output mode, earphone side-connector and charging
Box side-connector is connected;Being in charging box does not have headphone processor input/output port under electricity condition to work in input pattern, defeated
Enter under mode, headphone processor input/output port is connected by first resistor with headphone processor input power;Pass through earphone
The level state of processor input/output port is used to determine the state of earphone, and charging box is avoided to be in earphone when not having electricity condition
The situation of state judgement inaccuracy, improves earphone state judging nicety rate, realizes the accurate control to earphone, improve user's body
It tests.
Embodiment two
Fig. 3 is a kind of structural schematic diagram of charging bluetooth earphone circuit provided by Embodiment 2 of the present invention.The present embodiment exists
On the basis of above-mentioned any embodiment, earphone side-connector and Earphone box side-connector are optimized respectively, earpiece side connects
It connects device and is optimized for the first earphone side-connector 241, the second earphone side-connector 242 and third earpiece side connector 243, Earphone box
Side-connector is optimized for the first charging box side-connector 251, the second charging box side-connector 252 and third charging box side-connector
253.The charging bluetooth earphone circuit includes:
First earphone side-connector 241, the second earphone side-connector 242, third earpiece side connector 243, first charge
Box side-connector 251, the second charging box side-connector 252 and third charging box side-connector 253.
When bluetooth headset is placed in charging box, the first earphone side-connector 241 connects with first charging box side
It connects device 251 to be connected, the second earphone side-connector 242 is connected with the second charging box side-connector 252, the third ear
Pusher side connector 243 is connected 253 with the third charging box side-connector.
Wherein, the first charging box side-connector 251 is connected with 270 anode of charging box power supply.
Further include: headphone processor input/output port 230, in the case where charging box is in and has electricity condition, the earphone processing
When device input/output port 230 works in output mode, the headphone processor input/output port 230 and second earphone
Side-connector 242 is connected, for powering to indicating lamp control circuit;In the case where charging box is in and does not have electricity condition, the earphone processing
Device input/output port 230 works in input pattern, and the headphone processor input/output port 230 passes through first resistor 260
It is connected with headphone processor input power 220.
When earphone is in charged state, charging box side power supply 270 passes through the first charging box side-connector 251 and the first ear
Pusher side connector 241 is connected, and the first earphone side-connector 241 is connected with earphone power supply 210 to be charged, realizes to be charged to earphone
Power supply 210 charges.
The second charging box side-connector 252 is connected with indicating lamp control circuit, the second charging box side-connector
252 are connected by second resistance 271 with charging box power cathode 272;
The third earpiece side connector 243 with earphone mainboard 280 is connected, the third charging box side-connector 253
It is connected with charging box power cathode 272.The indicating lamp control circuit, comprising: triode 274 and indicator light 276, wherein institute
The base stage for stating triode 274 is connected with the second charging box side-connector 252, and the emitter of the triode 274 passes through the
Three resistance 275 are connected with indicator light 276, and the collector of the triode 274 passes through the 4th resistance 273 and charging box power supply 270
Anode is connected, and the indicator light 276 is connected with the cathode 272 of charge power supply.The indicator light 276 is light emitting diode.
The embodiment of the present invention is used to determine the state of earphone by the level state of headphone processor input/output port, keeps away
Exempt from the situation that charging box is in the state judgement inaccuracy of earphone when not having electricity condition, improves earphone state judging nicety rate, realize
Accurate control to earphone improves user experience.
Embodiment three
Fig. 4 is a kind of structural schematic diagram for bluetooth headset that the embodiment of the present invention three provides, as shown in figure 4, the bluetooth ear
Machine includes the charging bluetooth earphone circuit that above-mentioned any embodiment provides.The bluetooth headset further include: processor 30, memory
31, input unit 32 and output device 33;The quantity of processor 30 can be one or more in terminal, at one in Fig. 3
For reason device 30;Processor 30, memory 31, input unit 32 and output device 33 in terminal can by bus or other
Mode connects, in Fig. 3 for being connected by bus.
Memory 31 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module.Software program, instruction and the module that processor 30 is stored in memory 31 by operation, thereby executing setting
Standby various function application and data processing.
Memory 31 mainly include storing program area and storage data area, wherein storing program area can storage program area,
Application program needed at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.In addition,
Memory 31 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk
Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 31 can be wrapped further
The memory remotely located relative to processor 30 is included, these remote memories can pass through network connection to equipment.Above-mentioned net
The example of network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 32 can be used for receiving the number or character information of input, and generate with the user setting of equipment and
The related key signals input of function control.Output device 33 may include that display screen etc. shows equipment.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.