A control system and control method for TWS Bluetooth headset
By designing a control system for TWS Bluetooth headsets, using the two-master-one-slave single-wire communication circuit and Bluetooth power supply reset circuit, reset, discharging, recharging, low-power mode and off-box power-off functions are realized, and TWS Bluetooth headsets are solved. The problems of crashes and high power consumption reduce costs and packaging complexity, and improve system stability and security.
Patent Information
- Application Number
- CN202010589030.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-24
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-06-24
AI Technical Summary
Existing TWS Bluetooth headsets are prone to crashes and disorders during connection and playback, and consume a lot of power, making it difficult to achieve low-power mode, and the reset function is not flexible enough, resulting in increased chip cost and packaging complexity.
A control system was designed, including a control chip, Bluetooth chip, charging box, battery and Bluetooth power supply reset circuit, and reset, discharging, recharging, low-power mode and off-box power-off functions are realized through two master and one slave single-wire communication circuits. , 4 IO interfaces are used to achieve functional integration to ensure normal power supply and battery charging of the Bluetooth chip.
It realizes stable power supply and charging in low-power mode, reduces power consumption of the entire machine, ensures the normal operation of the Bluetooth chip, simplifies circuit design, reduces cost and packaging volume, and improves application safety and reliability. .
Smart Images

Figure CN111586525B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Bluetooth headsets, and in particular to a control system and a control method for a TWS Bluetooth headset. Background Art
[0002] Bluetooth headsets are hands-free headsets that use Bluetooth technology, allowing users to avoid the hassle of annoying wires and make calls in a variety of ways. Since the advent of Bluetooth headsets, they have been a good tool for mobile business people to improve efficiency. Bluetooth is a low-cost, high-capacity, short-range wireless communication standard.
[0003] The most popular Bluetooth headset on the market now is the TWS Bluetooth headset. TWS is the abbreviation of True Wireless Stereo, which means true wireless stereo. TWS technology is also based on the development of Bluetooth chip technology. According to its working principle, the mobile phone connects to the main headset, and then the main headset quickly connects to the slave headset wirelessly, realizing the true wireless separation of the left and right channels of Bluetooth. When the slave speaker is not connected, the main speaker returns to mono sound quality. TWS technology has been applied to the field of Bluetooth headsets, so it has also spawned a new product-TWS Bluetooth headsets.
[0004] The general solution for using TWS Bluetooth headsets on the market now is: use a simple MCU to communicate with the charging box and receive special instructions for reset, which can solve the reset problem encountered by TWS Bluetooth headsets. If you want to have the functions of reset, disconnection and recharging, low power mode, booting away from the box, 2 masters and 1 slave single-line communication, you need to increase the IO port, which will increase the chip cost, and the package will become larger, increasing the difficulty of drawing. Existing TWS Bluetooth headsets have a reset function, and usually also have one or two functions of disconnection and recharging, low power mode, and booting away from the box, but there are few products that can cover all of them.
[0005] However, there are still many technical problems in using TWS headphones. For example, the Bluetooth chip will freeze or become confused during connection and playback, so an external reset chip is required to reset the Bluetooth chip under specific conditions. The working power consumption of the Bluetooth chip is relatively large, and it needs to enter a low-power mode when in standby mode. An auxiliary chip is needed to control the battery charging and the Bluetooth chip startup, and to monitor the changes in peripheral conditions such as entering the box, exiting the box, and communicating in real time to control the related operations of the headphones and cooperate with the Bluetooth chip for application. If the Bluetooth headset needs to be low-power, an auxiliary chip is needed to disconnect the power supply of the Bluetooth chip to achieve ultra-low power consumption, and to connect the power supply of the Bluetooth chip to start it up when the conditions are met.
[0006] Early reset chips had two methods: hardware reset and watchdog reset. However, there were the following problems: for hardware reset chips, the reset conditions were fixed and could not be applied flexibly, resulting in abnormal resets and failure of the Bluetooth chip to work normally. For watchdog reset chips, the Bluetooth chip needed to be fed regularly, which occupied Bluetooth chip resources. If the Bluetooth chip entered a special process such as OTA and could not be fed in time, the reset would cause OTA failure. Summary of the invention
[0007] In view of the above problems, the present invention aims to provide a control system and a control method for a TWS Bluetooth headset.
[0008] To achieve the technical purpose, the solution of the present invention is: a control system for a TWS Bluetooth headset, including a control chip, a Bluetooth chip, a charging box, a battery, and
[0009] A Bluetooth power supply reset circuit is electrically connected to the battery and the Bluetooth chip, and is used to provide power to the Bluetooth chip and receive signals from the control chip to perform power supply, power off, and reset operations on the Bluetooth chip;
[0010] A Bluetooth power-on circuit is electrically connected to the Bluetooth chip and the control chip respectively, and is used to receive a signal from the control chip to power on the Bluetooth chip;
[0011] A battery charging switch circuit, which is electrically connected to the battery, the charging box and the control chip respectively, and is used to receive a signal from the control chip to the charging box;
[0012] A two-master-one-slave single-line communication circuit, which is electrically connected to the battery charging switch circuit, the Bluetooth chip and the control chip respectively, and the control chip obtains information through the two-master-one-slave single-line communication circuit;
[0013] The control chip is electrically connected to the battery charging switch circuit through the IO1 interface, the control chip is electrically connected to the two-master-one-slave single-line communication circuit through the IO2 interface, the control chip is electrically connected to the Bluetooth power-on circuit through the IO3 interface, the control chip is electrically connected to the Bluetooth power supply reset circuit through the IO4 interface, and the Bluetooth chip is electrically connected to the two-master-one-slave single-line communication circuit through the communication IO interface.
[0014] Preferably, the control chip is a DFN6 chip.
[0015] A control method, according to the control system for TWS Bluetooth headset, the specific control steps are as follows:
[0016] S1: Earphones are put into the charging box for charging: The earphones are put into the charging box, and the control chip controls the battery charging switch circuit through the IO1 interface to charge the earphone battery, with 5V power supply;
[0017] S2: Reset Bluetooth chip action: After the charging box is closed, a reset command is sent through the 2-master 1-slave single-line digital communication circuit. The control chip parses the command through the IO2 interface. After correct recognition, the Bluetooth power supply reset circuit is controlled through the IO4 interface to perform the Bluetooth chip reset operation;
[0018] S3: Automatic power-off action when fully charged: When the battery of the headset is fully charged and the battery voltage exceeds the threshold, the Bluetooth chip uses the communication IO interface to send a charge-off command through a two-master-one-slave single-line communication circuit. The control chip parses the command through the IO2 interface. After correct identification, the IO1 interface is used to control the battery charging switch circuit to disconnect and stop charging the headset battery.
[0019] S4: Battery recharging action: When the earphone battery is fully charged and has been idle for a long time, if the control chip power supply detection interface 5 detects that the battery voltage reaches the LVR reset voltage, and detects that the 5V of the charging box is still there, the control chip uses the IO1 interface to control the battery charging switch circuit to open and perform the battery recharging operation;
[0020] S5: Power on after leaving the charging box: When the earphones are taken out of the charging box, the control chip detects through the IO2 interface that the voltage of the charging box disappears, and the control chip uses the IO3 interface to control the Bluetooth power-on circuit to realize the power-on operation of the earphones after leaving the charging box;
[0021] S6: Entering ultra-low power mode: The charging box uses 5V voltage to send a command to enter low power mode through a two-master-one-slave single-line communication circuit. The IO2 interface of the control chip parses the command. After correct recognition, the Bluetooth power supply and reset circuit are controlled through the IO4 interface, the battery power supply to the Bluetooth chip is cut off, and then the standby enters the ultra-low power mode, achieving a total power consumption of <0.5uA;
[0022] S7: Exit ultra-low power mode: By opening and closing the cover, the charging box uses the power line to send a reset command through the two-master-one-slave single-line communication circuit. The IO2 interface of the control parses the command. After correct recognition, the Bluetooth power supply reset circuit is controlled through the IO4 interface, the battery is turned on to power the Bluetooth chip, and the ultra-low power mode is exited to realize the power-on function;
[0023] S8: Real-time detection mode: When the control chip is powered on, it enters the real-time detection mode, with working power consumption <1mA and standby power consumption <0.5uA.
[0024] Preferably, in S6, after the charging box has not supplied power to the earphone battery for more than a specified time, the charging box uses the power cord to send an instruction to enter the ultra-low power consumption mode through a two-master-one-slave single-line communication circuit.
[0025] The beneficial effects of the present invention are as follows: the two-master-one-slave single-line communication circuit of the present application can realize the issuance of digital instructions to both the charging box and the Bluetooth chip; the present application only requires one control chip, and utilizes 4 IO interfaces to realize functions such as reset, charging interruption, recharging, low power consumption mode, powering on away from the box, 2-master-1-slave single-line communication, and all implemented logic; the control system circuit design of the present application is safe and efficient, and even if the control chip fails to be powered on, the normal power supply and power-on of the Bluetooth chip and the normal charging of the battery are guaranteed, and only the function of the control chip is lost; therefore, the present application has high functional integration, low cost, and small package size; at the same time, the entire application logic of the present application is clear, safe and reliable, simple and practical, does not require adjustment of the matching circuit, and is not platform dependent. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a structural schematic diagram of the present invention. DETAILED DESCRIPTION
[0027] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] like Figure 1 As shown, the specific embodiment of the present invention is a control system for a TWS Bluetooth headset, including a control chip, a Bluetooth chip, a charging box, a battery, and
[0029] A Bluetooth power supply reset circuit is electrically connected to the battery and the Bluetooth chip, and is used to provide power to the Bluetooth chip and receive signals from the control chip to perform power supply, power off, and reset operations on the Bluetooth chip;
[0030] A Bluetooth power-on circuit is electrically connected to the Bluetooth chip and the control chip respectively, and is used to receive a signal from the control chip to power on the Bluetooth chip;
[0031] A battery charging switch circuit, which is electrically connected to the battery, the charging box and the control chip respectively, and is used to receive a signal from the control chip to the charging box;
[0032] A two-master-one-slave single-line communication circuit, which is electrically connected to the battery charging switch circuit, the Bluetooth chip and the control chip respectively, and the control chip obtains information through the two-master-one-slave single-line communication circuit;
[0033] The control chip is electrically connected to the battery charging switch circuit through the IO1 interface, the control chip is electrically connected to the two-master-one-slave single-line communication circuit through the IO2 interface, the control chip is electrically connected to the Bluetooth power-on circuit through the IO3 interface, the control chip is electrically connected to the Bluetooth power supply reset circuit through the IO4 interface, and the Bluetooth chip is electrically connected to the two-master-one-slave single-line communication circuit through the communication IO interface.
[0034] The control chip is a DFN6 chip.
[0035] A control method, according to the control system for TWS Bluetooth headset, the specific control steps are as follows:
[0036] S1: Earphones are put into the charging box for charging: The earphones are put into the charging box, and the control chip controls the battery charging switch circuit through the IO1 interface to charge the earphone battery, with 5V power supply;
[0037] S2: Reset Bluetooth chip action: After the charging box is closed, a reset command is sent through the 2-master 1-slave single-line digital communication circuit. The control chip parses the command through the IO2 interface. After correct recognition, the Bluetooth power supply reset circuit is controlled through the IO4 interface to perform the Bluetooth chip reset operation;
[0038] S3: Automatic power-off action when fully charged: When the battery of the headset is fully charged and the battery voltage exceeds the threshold, the Bluetooth chip uses the communication IO interface to send a charge-off command through a two-master-one-slave single-line communication circuit. The control chip parses the command through the IO2 interface. After correct identification, the IO1 interface is used to control the battery charging switch circuit to disconnect and stop charging the headset battery.
[0039] S4: Battery recharging action: When the battery of the headset is fully charged and has been idle for a long time, if the control chip power supply detection interface 5 detects that the battery voltage has reached the LVR reset voltage, and detects that the voltage of the charging box is normal, the control chip uses the IO1 interface to control the battery charging switch circuit to turn on and recharge the battery; because the headset has not been taken out of the charging box, the headset battery will also be damaged if it has not been used. In order to prevent the headset from being out of power for a long time while the charging box has power, the control chip uses LVR technology to perform recharging.
[0040] S5: Power on after leaving the charging box: When the earphones are taken out of the charging box, the control chip detects through the IO2 interface that the voltage of the charging box disappears, and the control chip uses the IO3 interface to control the Bluetooth power-on circuit to realize the power-on operation of the earphones after leaving the charging box;
[0041] S6: Enter low power mode (shipping mode): The charging box uses the power line to send a command to enter low power mode through a two-master-one-slave single-line communication circuit. The IO2 interface of the control chip parses the command. After correct recognition, the Bluetooth power supply and reset circuit are controlled through the IO4 interface, the battery power supply to the Bluetooth chip is cut off, and then the standby enters low power mode, achieving a total power consumption of <0.5uA;
[0042] S7: Exit low power mode (shipping mode): By opening and closing the cover, the charging box uses the power line (VCHG) to send a reset command through the two-master-one-slave single-line communication circuit. The IO2 interface of the control parses the command. After correct recognition, the Bluetooth power supply reset circuit is controlled through the IO4 interface, the battery is turned on to power the Bluetooth chip, and the low power mode is exited to realize the power-on function;
[0043] S8: Real-time detection mode: When the control chip is powered on, it enters the real-time detection mode, the working power consumption is <1mA, and the standby power consumption is <0.5uA; when the control chip is powered off, the IO interface electrically connected to the control chip remains valid, the Bluetooth chip can be charged through the battery charging switch circuit, and it can also be turned on through the Bluetooth power-on circuit.
[0044] In S6, after the charging box does not supply power to the earphone battery for a specified time, the charging box uses 5V voltage to send a command to enter low power mode through a two-master-one-slave single-wire communication circuit.
[0045] In this application, even if the control chip fails, the Bluetooth chip can still be powered on and the battery can be charged normally, which minimizes the risk; that is, when the control chip is powered off, the 4 IOs remain valid, which does not affect the Bluetooth chip power-on and battery charging functions. Therefore, the stability of this application is relatively high. During use, when the earphones are placed in the charging box, the control chip automatically turns on the charging switch circuit through the IO1 interface to charge the battery in the earphones (while traditional earphones have no control circuit, direct 5V input, no buffering, and a risk of burning the machine); after closing the cover, the control chip receives instructions through the IO2 interface, and after identification, controls the Bluetooth power supply and reset circuit through the IO4 interface, and performs the Bluetooth chip reset action (when closing the cover to reset: clear the earphone pairing, reset the earphones, and query the earphone power); when the battery is full, the Bluetooth chip uses the communication IO interface to send a disconnection instruction to the control chip through a two-master-one-slave single-line digital communication circuit. After the IO2 interface of the control chip parses the instruction, it uses the IO1 interface to control the battery charging switch circuit, disconnect, and stop charging (the earphones detect the battery voltage through the built-in ADC, and if it exceeds the preset threshold, it will continue to charge for 1 minute, and then send a full charge instruction); when the earphones are taken out, the control chip detects that the voltage of the charging box is low, and controls the Bluetooth power-on circuit to turn on through the IO3 interface (traditional earphones require Bluetooth for detection, occupying Bluetooth resources and increasing power consumption). The above operation of this application is simple and intelligent, and can meet the needs of daily use.
[0046] In some special cases, the earphones need to enter an ultra-low power state to avoid damage due to battery exhaustion. For example, during the period from production to sales, the earphones need to be in an ultra-low power shipping mode. Long press the switch on the charging box, and the charging box uses the power cord to send a command to enter the low power mode through a two-master-one-slave single-line communication circuit. The IO2 interface of the control chip parses the command, and then controls the Bluetooth power supply and reset circuit through the IO4 interface to cut off the battery power supply to the Bluetooth chip. At this time, the earphones are in standby mode and enter low power mode, and the charging box also enters the lowest power consumption. Traditional earphones enter low power mode through Bluetooth, not directly cut off Bluetooth power supply. The standby power is 6-10uA, which cannot reach ultra-low power consumption within 1uA. It is suitable for long-term transportation and storage. Due to its low power consumption, the battery loss is minimal. It is also very simple to exit the ultra-low power mode, which can be exited by opening or closing the cover.
[0047] The two-master-one-slave single-line communication circuit of the present application can realize the issuance of digital instructions to both the charging box and the Bluetooth chip; the present application only requires one control chip, and utilizes 4 IO interfaces to realize functions such as reset, charging interruption, recharging, low power consumption mode, powering on away from the box, 2-master-1-slave single-line communication, and all implemented logic; the control system circuit design of the present application is safe and efficient, and even if the control chip fails to be powered on, the Bluetooth chip is guaranteed to be powered on normally, and the battery is charged normally, and only the function of the control chip is lost; therefore, the present application has high functional integration, low cost, and small package size; at the same time, the entire application logic of the present application is clear, safe and reliable, simple and practical, does not require adjustment of the matching circuit, and is not platform-dependent.
[0048] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any slight modification, equivalent substitution and improvement made to the above embodiment based on the technical essence of the present invention should be included in the protection scope of the technical solution of the present invention.
Claims
1. A control method for a TWS Bluetooth headset control system, characterized in that: The control system for TWS Bluetooth headset includes a control chip, a Bluetooth chip, a charging box, a battery, and a Bluetooth power reset circuit, which are electrically connected to the battery and the Bluetooth chip respectively, and are used to provide power to the Bluetooth chip, and receive signals from the control chip to power on, power off, and reset the Bluetooth chip; a Bluetooth power-on circuit, which is electrically connected to the Bluetooth chip and the control chip respectively, and is used to receive signals from the control chip to power on the Bluetooth chip; a battery charging switch circuit, which is electrically connected to the battery, the charging box, and the control chip respectively, and is used to receive signals from the control chip to power on the charging box; a two-master-one-slave single-line communication circuit, which is electrically connected to the battery charging switch circuit, the Bluetooth chip, and the control chip respectively, and the control chip obtains information through the two-master-one-slave single-line communication circuit; wherein the control chip is electrically connected to the battery charging switch circuit through the IO1 interface, the control chip is electrically connected to the two-master-one-slave single-line communication circuit through the IO2 interface, the control chip is electrically connected to the Bluetooth power-on circuit through the IO3 interface, the control chip is electrically connected to the Bluetooth power reset circuit through the IO4 interface, and the Bluetooth chip is electrically connected to the two-master-one-slave single-line communication circuit through the communication IO interface; the control chip is a DFN6 chip; The specific control steps are as follows: S1: Earphones are put into the charging box for charging: The earphones are put into the charging box, and the control chip controls the battery charging switch circuit through the IO1 interface to charge the earphone battery, with 5V power supply; S2: Reset Bluetooth chip action: After the charging box is closed, a reset command is sent through the 2-master 1-slave single-line digital communication circuit. The control chip parses the command through the IO2 interface. After correct recognition, the Bluetooth power supply reset circuit is controlled through the IO4 interface to perform the Bluetooth chip reset operation; S3: Full automatic power-off action: When the earphone battery is fully charged, the battery voltage exceeds the threshold. The Bluetooth chip uses the communication IO interface to send a charge-off command through a two-master-one-slave single-line communication circuit. The control chip parses the command through the IO2 interface. After correct recognition, the IO1 interface is used to control the battery charging switch circuit to disconnect and stop charging the earphone battery. S4: Battery recharging action: When the earphone battery is fully charged and has been idle for a long time, if the control chip power supply detection interface 5 detects that the battery voltage reaches the LVR reset voltage, and detects that the 5V of the charging box is still there, the control chip uses the IO1 interface to control the battery charging switch circuit to open and perform the battery recharging operation; S5: Power on after leaving the charging box: When the earphones are taken out of the charging box, the control chip detects through the IO2 interface that the voltage of the charging box disappears, and the control chip uses the IO3 interface to control the Bluetooth power-on circuit to realize the power-on operation of the earphones after leaving the charging box; S6: Entering ultra-low power mode: The charging box uses 5V voltage to send a command to enter low power mode through a two-master-one-slave single-line communication circuit. The IO2 interface of the control chip parses the command. After correct recognition, the Bluetooth power supply and reset circuit are controlled through the IO4 interface, the battery power supply to the Bluetooth chip is cut off, and then the standby enters the ultra-low power mode, achieving a total power consumption of <0.5uA; S7: Exit ultra-low power mode: By opening and closing the cover, the charging box uses the power line to send a reset command through the two-master-one-slave single-line communication circuit. The IO2 interface of the control chip parses the command. After correct recognition, the Bluetooth power supply reset circuit is controlled through the IO4 interface, the battery is turned on to power the Bluetooth chip, and the ultra-low power mode is exited to realize the power-on function; S8: Real-time detection mode: When the control chip is powered on, it enters the real-time detection mode, with working power consumption <1mA and standby power consumption <0.5uA.
2. The control method according to claim 1, characterized in that: In S6, after the charging box does not supply power to the earphone battery for more than a specified time, the charging box uses the power line to send an instruction to enter the ultra-low power consumption mode through a two-master-one-slave single-line communication circuit.
