Bluetooth headset charging circuit and Bluetooth headset
Technical Field
The embodiment of the invention relates to a wireless charging technology, in particular to a Bluetooth headset charging circuit and a Bluetooth headset.
Background
The common bluetooth headset on the market at present comprises two bluetooth headsets and a headset charging box. The earphone charging box charges the Bluetooth earphone. When the bluetooth headset is placed in the charging box, the bluetooth headset and the charging box are electrically connected through three connecting pieces such as pins. Three connectors are designated as connector A, connector B and connector C. Connector A: the charging box supplies a charging power source VBUS, such as 5V voltage, to the earphone. A connector B: the earphone provides an indicator light control signal to the charging box. A connector C: the common ground leg of the earphone and the charging box.
In the earphone control logic, the earphone is placed into a charging box, the earphone detects the VBUS high level through the connector A, the earphone is judged to be placed into the box, and the earphone stops working. And when the earphone detects that the connector A is at a low level, judging that the earphone is out of the box, and starting the earphone to work. But this scheme turns VBUS low if the charging box battery is exhausted while the headset is inside the charging box. At the moment, the earphone is judged to be out of the box, so that the judgment is wrong, the control logic of the earphone is wrong, and the working state is disordered.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth headset charging circuit and a Bluetooth headset, and solves the problems that the headset state judgment error is easy to occur after a charging box battery is completely consumed by the current headset, so that the headset control logic error and the working state disorder are caused.
In a first aspect, an embodiment of the present invention provides a bluetooth headset charging circuit, where the circuit includes: the method comprises the following steps: the earphone side connector, the earphone processor input/output port and the charging box side connector;
when the input/output port of the earphone processor works in an output mode, the input/output port of the earphone processor is connected with an earphone side connector, and the earphone side connector is connected with the charging box side connector; when the input/output port of the earphone processor works in an input mode, the input/output port of the earphone processor is connected with an input power supply of the earphone processor through a first resistor;
the charging box side connector is connected with the negative electrode of the charging box power supply through a second resistor;
when the charging box is in a power-on state, the input/output port of the earphone processor works in an output mode, and when the charging box is in a power-off state, the input/output port of the earphone processor works in an input mode, and the level state of the input/output port of the earphone processor is used for determining the state of the earphone.
Further, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, and comprises the following steps:
when the charging box is in a power-on state, the level state of the input/output port of the earphone processor is high level, and the earphone is placed in the charging box for charging.
Further, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, and comprises the following steps:
when the charging box is in a power-off state, the level state of the input/output port of the earphone processor is high level, and the earphone is not put into the charging box.
Further, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, and comprises the following steps:
when the charging box is in a power-off state, the level state of the input/output port of the earphone processor is low level, and the earphone is placed into the charging box and is not charged.
The resistance value of the first resistor is larger than that of the second resistor.
Further, the circuit also includes: and the input/output port of the earphone processor is used for supplying power to the indicator lamp control circuit when the input/output port of the earphone processor works in an output mode.
Further, the indicator lamp control circuit includes: the base electrode of the triode is connected with the charging box side connector, the emitting electrode of the triode is connected with the indicating lamp through a third resistor, the collecting electrode of the triode is connected with the positive electrode of the charging box power supply through a fourth resistor, and the indicating lamp is connected with the negative electrode of the charging power supply.
Further, the circuit also comprises a control module for controlling the working mode of the earphone according to the state of the earphone.
Further, the control module is specifically configured to:
when the earphone is in a state of being placed in the charging box, controlling the earphone to enter a low-power consumption standby mode;
and when the earphone is not placed in the charging box, controlling the earphone to enter a normal working mode.
In a second aspect, an embodiment of the present invention further provides a bluetooth headset, where the bluetooth headset includes: any of the bluetooth headset charging circuits provided in any embodiment of the present invention.
The embodiment of the invention works in an output mode when the charging box is in a power-on state through the input/output port of the earphone processor, the input/output port of the earphone processor is connected with the earphone side connector in the output mode, and the earphone side connector is connected with the charging box side connector; the input/output port of the earphone processor works in an input mode when the charging box is in a power-off state, and the input/output port of the earphone processor is connected with an input power supply of the earphone processor through a first resistor in the input mode; the level state of the input/output port of the earphone processor is used for determining the state of the earphone, so that the condition that the state judgment of the earphone is inaccurate when the charging box is in a power-off state is avoided, the earphone state judgment accuracy is improved, the earphone is accurately controlled, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a charging circuit of a bluetooth headset according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a charging circuit of a bluetooth headset having an indicator light according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a charging circuit of a bluetooth headset according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a bluetooth headset according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic structural diagram of a charging circuit of a bluetooth headset according to an embodiment of the present invention. The technical scheme of the embodiment can be suitable for determining the state of the Bluetooth headset. This bluetooth headset charging circuit includes: a headphone-side connector 110, a headphone processor input-output port 120, and a charging box-side connector 130;
wherein, when the earphone processor input/output port 120 operates in the output mode, the earphone processor input/output port 120 is connected to the earphone-side connector 110, and the earphone-side connector 110 is connected to the charging box-side connector 130; when the input/output port 120 of the headphone processor operates in the input mode, the input/output port 120 of the headphone processor is connected to the input power 150 of the headphone processor through the first resistor 140; the charging box side connector 130 is connected with a charging box power supply negative electrode 170 through a second resistor 160; when the charging box is in a power-on state, the headphone processor input/output port 120 operates in an output mode, when the charging box is in a power-off state, the headphone processor input/output port 120 operates in an input mode, and the level state of the headphone processor input/output port 120 is used for determining the state of the headphone.
Further, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, and comprises the following steps: when the charging box is in a power-on state, the level state of the input/output port of the earphone processor is high level, and the earphone is placed in the charging box for charging. The charging box is in the electrified state, and earphone treater input/output port works in output mode, to the box side pilot lamp power supply that charges, and the pilot lamp is in bright state, and the box that charges to the earphone, promptly, the state of earphone this moment is for putting into the box that charges and charge.
Further, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, and comprises the following steps: when the charging box is in a power-off state, the level state of the input/output port of the earphone processor is high level, and the earphone is not put into the charging box. When the charging box is in a power-off state, the input/output port of the earphone processor works in an input mode, the input power current of the earphone processor flows to the input/output port of the earphone processor through the first resistor, and at the moment, the level of the input/output port of the earphone processor is high level, so that the condition that the earphone side connector is not connected with the charging box side connector can be determined, and the condition that the earphone is not placed in the charging box can be determined.
Further, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, and comprises the following steps: when the charging box is in a power-off state, the level state of the input/output port of the earphone processor is low level, and the earphone is placed into the charging box and is not charged. The charging box is in a power-off state, the input/output port of the earphone processor works in an input mode, the input power current of the earphone processor flows to the input/output port of the earphone processor through the first resistor, at the moment, the level of the input/output port of the earphone processor is low, the connection between the earphone-side connector and the charging box-side connector can be determined, the input power current of the earphone processor reaches the earphone-side connector through the first resistor, the earphone-side connector is connected with the charging box-side connector, and the charging box-side connector is connected with the second resistor, so that the condition that the earphone is placed in the charging box but the earphone is not charged due to the power-off state of the charging box can be determined. Optionally, the resistance value of the first resistor is greater than the resistance value of the second resistor. The resistance of the first resistor is larger than that of the second resistor, so that the first resistor can divide voltage to be larger than the second resistor, the input and output port of the earphone processor is guaranteed to be at low level, the input and output port of the earphone processor is different in level in different states of the earphone, and the state of the earphone can be judged according to the level of the input and output port of the earphone processor.
In another optional embodiment of the present invention, an indicator light control circuit is further added to the bluetooth headset charging circuit, and fig. 2 is a schematic structural diagram of a bluetooth headset charging circuit with an indicator light according to an embodiment of the present invention, where the circuit further includes: and the charging box-side connector 130 is connected with the indicator lamp control circuit, and when the earphone processor input/output port 120 works in the output mode, the earphone processor input/output port 120 is used for supplying power to the indicator lamp control circuit. Further, the indicator lamp control circuit includes: a transistor 181 and an indicator lamp 182, wherein the base of the transistor 181 is connected to the charging box-side connector 130, the emitter of the transistor 181 is connected to the indicator lamp 182 through a third resistor 183, the collector of the transistor 181 is connected to the positive pole of the charging box power supply 185 through a fourth resistor 184, and the indicator lamp 182 is connected to the negative pole 170 of the charging power supply. The indicator lamp 182 is in an on state when the headset is charged and in an off state when the headset is not charged, thereby indicating the charging state of the headset.
Furthermore, the earphone control device also comprises a control module used for controlling the working mode of the earphone according to the state of the earphone. Further, the control module is specifically configured to: when the earphone is in a state of being placed in the charging box, controlling the earphone to enter a low-power consumption standby mode; and when the earphone is not placed in the charging box, controlling the earphone to enter a normal working mode. The low power standby mode may be, for example, turning off bluetooth and other major operating procedures. When the earphone is placed in the charging box, the earphone is in a low-power-consumption standby mode, so that the electric quantity can be saved, the earphone can be charged quickly, when the earphone is not placed in the charging box, the earphone is in a normal working mode, normal use of a user can be guaranteed, and user experience is improved.
The embodiment of the invention works in an output mode when the charging box is in a power-on state through the input/output port of the earphone processor, the input/output port of the earphone processor is connected with the earphone side connector in the output mode, and the earphone side connector is connected with the charging box side connector; the input/output port of the earphone processor works in an input mode when the charging box is in a power-off state, and the input/output port of the earphone processor is connected with an input power supply of the earphone processor through a first resistor in the input mode; the level state of the input/output port of the earphone processor is used for determining the state of the earphone, so that the condition that the state judgment of the earphone is inaccurate when the charging box is in a power-off state is avoided, the earphone state judgment accuracy is improved, the earphone is accurately controlled, and the user experience is improved.
Example two
Fig. 3 is a schematic structural diagram of a charging circuit of a bluetooth headset according to a second embodiment of the present invention. In the present embodiment, on the basis of any of the above-described embodiments, the earphone-side connector and the earphone-box-side connector are optimized, the earphone-side connector is optimized to be the first earphone-side connector 241, the second earphone-side connector 242, and the third earphone-side connector 243, and the earphone-box-side connector is optimized to be the first charging-box-side connector 251, the second charging-box-side connector 252, and the third charging-box-side connector 253. This bluetooth headset charging circuit includes:
a first earphone-side connector 241, a second earphone-side connector 242, a third earphone-side connector 243, a first charging box-side connector 251, a second charging box-side connector 252, and a third charging box-side connector 253.
When the bluetooth headset is set in the charging box, the first headset-side connector 241 is connected to the first charging box-side connector 251, the second headset-side connector 242 is connected to the second charging box-side connector 252, and the third headset-side connector 243 is connected to the third charging box-side connector 253.
Wherein the first charging box-side connector 251 is positively connected to the charging box power supply 270.
Further comprising: the earphone processor input/output port 230, when the charging box is in a power-on state and the earphone processor input/output port 230 works in an output mode, the earphone processor input/output port 230 is connected to the second earphone-side connector 242 for supplying power to the indicator light control circuit; when the charging box is in a power-off state, the headphone processor input/output port 230 operates in an input mode, and the headphone processor input/output port 230 is connected to the headphone processor input power supply 220 through the first resistor 260.
When the headset is in a charging state, the charging box side power supply 270 is connected with the first headset side connector 241 through the first charging box side connector 251, and the first headset side connector 241 is connected with the headset to-be-charged power supply 210, so that the charging of the headset to-be-charged power supply 210 is realized.
The second charging box side connector 252 is connected with the indicator lamp control circuit, and the second charging box side connector 252 is connected with a charging box power supply negative electrode 272 through a second resistor 271;
the third headphone-side connector 243 is connected to the headphone main board ground 280, and the third charging-box-side connector 253 is connected to the charging-box power supply negative electrode 272. The indicator light control circuit includes: a transistor 274 and an indicator lamp 276, wherein the base of the transistor 274 is connected to the second charging box-side connector 252, the emitter of the transistor 274 is connected to the indicator lamp 276 through a third resistor 275, the collector of the transistor 274 is connected to the positive electrode of the charging box power supply 270 through a fourth resistor 273, and the indicator lamp 276 is connected to the negative electrode 272 of the charging power supply. The indicator light 276 is a light emitting diode.
According to the embodiment of the invention, the level state of the input/output port of the earphone processor is used for determining the state of the earphone, so that the condition that the state judgment of the earphone is inaccurate when the charging box is in a power-off state is avoided, the earphone state judgment accuracy is improved, the earphone is accurately controlled, and the user experience is improved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a bluetooth headset according to a third embodiment of the present invention, and as shown in fig. 4, the bluetooth headset includes the bluetooth headset charging circuit according to any of the embodiments. This bluetooth headset still includes: a processor 30, a memory 31, an input device 32 and an output device 33; the number of the processors 30 in the terminal may be one or more, and one processor 30 is taken as an example in fig. 3; the processor 30, the memory 31, the input device 32 and the output device 33 in the terminal may be connected by a bus or other means, which is exemplified in fig. 3.
The memory 31 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules. The processor 30 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory 31.
The memory 31 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 31 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 31 may further include memory located remotely from the processor 30, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 32 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 33 may include a display device such as a display screen.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.