CN112565962A - Data exchange method for TWS earphone and charging bin and TWS earphone - Google Patents

Data exchange method for TWS earphone and charging bin and TWS earphone Download PDF

Info

Publication number
CN112565962A
CN112565962A CN202011327861.2A CN202011327861A CN112565962A CN 112565962 A CN112565962 A CN 112565962A CN 202011327861 A CN202011327861 A CN 202011327861A CN 112565962 A CN112565962 A CN 112565962A
Authority
CN
China
Prior art keywords
vout
mode
switch
charging
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011327861.2A
Other languages
Chinese (zh)
Other versions
CN112565962B (en
Inventor
刘晨
罗鑫
厉伟杰
越柏鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Laiyuan Electronic Technology Co ltd
Original Assignee
Shanghai Laiyuan Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Laiyuan Electronic Technology Co ltd filed Critical Shanghai Laiyuan Electronic Technology Co ltd
Priority to CN202011327861.2A priority Critical patent/CN112565962B/en
Publication of CN112565962A publication Critical patent/CN112565962A/en
Application granted granted Critical
Publication of CN112565962B publication Critical patent/CN112565962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type

Abstract

The invention provides a data exchange method of a TWS earphone and a charging bin and the TWS earphone, wherein the method comprises the following steps: initializing the charging bin and the TWS headset in a first data exchange mode; when the charging bin detects that the TWS earphone is inserted into the charging bin, adjusting the charging bin to be in a second data exchange mode; when the TWS earphone detects that the data exchange mode of the charging bin is the second data exchange mode through the communication mode switching detection circuit, the TWS earphone is switched to the second data exchange mode, and the TWS earphone and the charging bin use the second data exchange mode for data exchange; wherein the data transfer rate of the first data exchange mode is lower than the data transfer rate of the second data exchange mode. The data exchange between the bottom bin and the earphone is realized, the data exchange has two modes, the earphone end comprises a mode switching detection circuit, the optimal data exchange mode can be selected according to an application scene, and the requirements of charging and high-speed data transmission are met.

Description

Data exchange method for TWS earphone and charging bin and TWS earphone
Technical Field
The invention relates to the technical field of data exchange, in particular to a TWS earphone and a data exchange method of a charging bin and the TWS earphone.
Background
The TWS headset is charged through a battery compartment, and only two connecting contacts are arranged between the battery compartment and the TWS headset. The charging chamber by default transmits power to the headset via these two contacts to charge the battery in the headset.
In the charging process, information needs to be exchanged between the bottom bin and the earphone so as to adjust charging parameters and achieve the most efficient charging. For example, the bottom bin can collect the voltage of the battery of the earphone in real time, inquire whether the earphone is fully charged or not, and the like.
In the use process, when the bin gate is opened or closed, the bottom bin can send information such as the battery power of the bottom bin to the earphone, and the information is obtained by the earphone and then displayed on a mobile phone interface in real time.
In the selling and circulating links of TWS earphones in factory leaving, inventory and transportation, the earphones need to be told through the bottom bin and are in a selling and circulating state at present, and the earphones can automatically enter a circulating mode with standby current being approximately 0.
During the charging process, the communication process of the information exchange between the bottom chamber and the earphone preferably does not affect the normal charging of the earphone, so that frequent communication does not significantly increase the charging time, and in some cases, for example, when the earphone is inserted into the charging chamber, the bottom chamber and the earphone need to exchange data quickly to determine the state of the earphone, and in addition, in a non-charging state, for example, when the earphone is fully charged, it is desirable that the communication speed between the bottom chamber and the earphone is as fast as possible.
Therefore, how to satisfy the above two functions simultaneously is an important challenge in the prior art.
Disclosure of Invention
The present invention provides the following technical solutions to overcome the above-mentioned drawbacks in the prior art.
A method of data exchange between a TWS headset and a charging pod, the method comprising:
an initialization step of initializing the charging bin and the TWS headset to be in a first data exchange mode;
a detection step, wherein when the charging bin detects that the TWS earphone is inserted into the charging bin, the charging bin is adjusted to a second data exchange mode;
a switching step, when the TWS earphone detects that the data exchange mode of the charging bin is a second data exchange mode through a communication mode switching detection circuit, the TWS earphone is switched to the second data exchange mode, and the TWS earphone and the charging bin use the second data exchange mode for data exchange;
wherein the data transfer rate of the first data exchange mode is lower than the data transfer rate of the second data exchange mode.
Further, in the first data exchange mode, the charging chamber exchanges data with the TWS headset while charging the TWS headset, and in the second data exchange mode, the charging chamber exchanges data with the TWS headset only without charging the TWS headset.
Furthermore, the charging bin has a positive output VOUT + and a negative output VOUT-, the positive output VOUT + is connected to a positive direction of a dc-dc converter of the charging bin or an external USB charging port, the charging bin includes a first control logic unit, a first mode transmitting signal unit, a first mode receiving signal unit, a second mode transmitting signal unit, a second mode receiving signal unit, a sampling current unit, a negative output buffer, a first switch K1, a fifth switch K5, a sixth switch K6, a first resistor R1 and a second resistor R2, the first mode transmitting signal unit, the first mode receiving signal unit, the second mode transmitting signal unit and the second mode receiving signal unit are respectively connected to the first control logic unit, and the sampling current unit is connected to the first mode receiving signal unit, the first control logic unit is connected with the negative terminal output buffer to send a control signal to the negative terminal output buffer, the first mode signal sending unit is connected with the negative terminal output buffer to send data to be transmitted to the negative terminal output buffer, the negative terminal output buffer is connected to the negative electrode output VOUT-through the fifth switch K5, the sixth switch K6 is connected to the negative electrode output VOUT-through the second resistor R2, the positive electrode output VOUT + and the negative electrode output VOUT-are connected through the first switch K1 and the first resistor R1, when the charging bin is initialized, the first switch K1 is disconnected, the fifth switch K5 is closed, the sixth switch K6 is disconnected, at the moment, VOUT + outputs 5v, the negative terminal output buffer is opened, and outputs 50mV, and at the moment, the charging bin is in the first data exchange mode.
Furthermore, the TWS headset comprises a charging control circuit, a second control logic unit, a first headset mode transmitting signal unit, a first headset mode receiving signal unit, a second headset mode transmitting signal unit, a second headset mode receiving signal unit and a communication mode switching detection circuit, a third switch K3, a fourth switch K4 and a fourth resistor R4, wherein the first headset mode transmitting signal unit, the first headset mode receiving signal unit, the second headset mode transmitting signal unit, the second headset mode receiving signal unit and the communication mode switching detection circuit are respectively connected with the second control logic unit, the charging control circuit is connected with a positive electrode output VOUT + of the charging cabin through the third switch K3, and at the TWS headset end, the positive electrode output VOUT + and the negative electrode output VOUT-are connected through the fourth switch K4 and the fourth resistor R4, when the TWS headset is initialized, the third switch K3 is closed and the fourth switch K4 is opened, while the TWS headset is in the first data exchange mode.
Furthermore, in the first data exchange mode, the charging cabin generates a stable 5v charging voltage VOUT + through the charging cabin battery and the DC-DC converter, the voltage swing between VOUT + and VOUT-is dynamically modulated by changing the voltage VOUT-of the negative side output buffer, so as to send data to the TWS earphone, the output of the negative side output buffer is 50mV under the normal charging condition, the voltage between VOUT + and VOUT-is 4.95v, when data exchange is carried out, the output of the negative side output buffer jumps to 750mV, at the moment, the voltage between VOUT + and VOUT-becomes 4.25v, digital logic 0 or 1 is sent to the TWS earphone by encoding the voltage between VOUT + and VOUT-, the voltage change of the TWS earphone end is detected by VOUT + and VOUT-in real timeWhen data sent from the bottom bin is received in real time, the TWS earphone reversely sends the data to the charging bin by dynamically modulating current consumed from the charging bin, and during normal charging, the current charging current ICHRG is I0The current consumed by the TWS earphone from the charging bin is I0When data exchange is carried out, the fourth switch K4 is closed, the fourth resistor R4 is connected between VOUT + and VOUT-, and after the fourth switch K4 is closed, the current consumed by the fourth cabin suddenly increases to I0And +50mA, a digital logic 0 or 1 is sent to the charging bin by encoding the current consumed from the charging bin, the charging bin detects the change of the consumed current in real time through the sampling current unit, and then the change information of the current is fed back to the first mode signal receiving unit of the charging bin for processing to obtain the data sent by the TWS earphone.
Furthermore, in the first data exchange mode, the third switch K3 is closed, a second capacitor C2 is connected between VOUT + and VOUT-, and the second capacitor C2 limits the change speed of VOUT-.
Furthermore, in the second data exchange mode, the charging bin does not charge the TWS earphone, and in order to improve the communication code rate, the TWS earphone end firstly opens the third switch K3, namely the second capacitor C2 connected between VOUT + and VOUT-, and the fourth switch K4 is also in an open state initially; the charging bin generates a stable 5v supply voltage VOUT + through the battery and the DC-DC converter, the charging bin outputs a signal with continuously changing high and low levels at VOUT-by controlling the opening and closing of the first switch K1 and the fifth switch K5 to serially transmit data, the first switch K1 is opened and the fifth switch K5 is closed, VOUT-is pulled down to 50 mV; the first switch K1 is closed and the fifth switch K5 is opened, VOUT-is the partial voltage generated by the first resistor R1 and the second resistor R2, VOUT-is pulled up to be almost VOUT + because the second resistor R2 is far larger than the first resistor R1, the TWS earphone end receives a signal unit through the second mode of the earphone, the signal waveform of VOUT + -VOUT-is analyzed in real time, and correct data information is recovered from the signal waveform.
Further, in the second data exchange mode, when the charging chamber needs the earphone to feed back information, the charging chamber first opens the first switch K1 and the fifth switch K5, opens the sixth switch K6, and then waits for the TWS earphone terminal to feed back data, and the TWS earphone terminal feeds back data serially by controlling the opening and closing of the fourth switch K4 to output a signal with a continuously changing high and low level at VOUT-. At the beginning of communication, VOUT-is equal to the ground of the charging bin by default, after the fourth switch K4 is closed, VOUT-voltage is the divided voltage generated by the second resistor R2 and the fourth resistor R4, VOUT-is pulled up to nearly VOUT + because the fourth resistor R4 is much smaller than the second resistor R2, and after the fourth switch K4 is opened, VOUT-is pulled down through the second resistor R2, and when data is returned at high speed, the VOUT-is limited by the resistance value of the second resistor R2, VOUT-is pulled down to VL, the voltage of VOUT-will change between VOUT + and VL, and the charging bin end analyzes the signal waveform on VOUT-in real time through the second mode signal receiving unit, and recovers correct data from the signal waveform of VOUT-.
Furthermore, after the charging chamber detects that the TWS earphone is inserted into the charging chamber, the charging chamber selects to send charging chamber battery capacity information to the TWS earphone through the second data exchange mode, the charging chamber reduces the voltage between VOUT + and VOUT-from 4.95v to 2v and maintains the voltage for more than 200us, and then returns to 4.95v, after the TWS earphone end detects the change between VOUT + and VOUT-through the communication mode switching detection circuit, the TWS earphone is switched to the second data exchange mode, and at the moment, the TWS earphone immediately turns off the third switch K3.
The invention also provides a TWS earphone, which is connected with a charging bin, wherein the charging bin is provided with a positive electrode output VOUT + and a negative electrode output VOUT-, the positive electrode output VOUT + is connected with a direct current converter of the charging bin or the positive electrode of an external USB charging port in the positive direction, the charging bin comprises a first control logic unit, a first mode sending signal unit, a first mode receiving signal unit, a second mode sending signal unit, a second mode receiving signal unit, a sampling current unit, a negative electrode output buffer, a first switch K1, a fifth switch K5, a sixth switch K6, a first resistor R1 and a second resistor R2, the first mode sending signal unit, the first mode receiving signal unit, the second mode sending signal unit and the second mode receiving signal unit are respectively connected with the first control logic unit in the negative direction, and the sampling current unit is connected with the first mode receiving signal unit, the first control logic unit is connected with the negative terminal output buffer to send a control signal to the negative terminal output buffer, the first mode sending signal unit is connected with the negative terminal output buffer to send data to be transmitted to the negative terminal output buffer, the negative terminal output buffer is connected to the negative output VOUT-through the fifth switch K5, the sixth switch K6 is connected to the negative output VOUT-through the second resistor R2, and the positive output VOUT + and the negative output VOUT-are connected through the first switch K1 and the first resistor R1;
the TWS earphone comprises a charging control circuit, a second control logic unit, an earphone first mode signal sending unit, an earphone first mode signal receiving unit, an earphone second mode signal sending unit, an earphone second mode signal receiving unit, a communication mode switching detection circuit, a third switch K3, a fourth switch K4 and a fourth resistor R4, the earphone first mode signal sending unit, the earphone first mode signal receiving unit, the earphone second mode signal sending unit, the earphone second mode signal receiving unit and the communication mode switching detection circuit are respectively connected with the second control logic unit, the charging control circuit is connected to the positive electrode output VOUT + of the charging bin through a third switch K3, at the TWS earphone end, the positive electrode output VOUT + and the negative electrode output VOUT-are connected with each other through a fourth switch K4 and a fourth resistor R4;
the TWS headset and the charging bin exchange data using any of the methods described above.
The invention discloses a data exchange method of a TWS earphone and a charging bin and the TWS earphone, wherein the method comprises the following steps: an initialization step S101, initializing the charging bin and the TWS headset to be in a first data exchange mode; a detection step S102, adjusting the charging bin to a second data exchange mode when the charging bin detects that the TWS earphone is inserted into the charging bin; a switching step S103, switching the TWS headset to a second data exchange mode when the TWS headset detects that the data exchange mode of the charging bin is the second data exchange mode through a communication mode switching detection circuit, where the TWS headset and the charging bin use the second data exchange mode to perform data exchange; wherein the data transfer rate of the first data exchange mode is lower than the data transfer rate of the second data exchange mode. The invention designs a specific circuit structure of the earphone and the charging bin, particularly designs a communication mode switching detection circuit in the earphone, which can realize the voltage condition between VOUT + and VOUT-from the charging bin according to the detected voltage condition, the data exchange mode of the earphone is automatically switched, and the requirements of charging and high-speed data transmission are met.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings.
Fig. 1 is a flow chart of a data exchange method of a TWS headset and a charging chamber according to an embodiment of the present invention.
Fig. 2 is a circuit connection diagram of a TWS headset and charging pod according to an embodiment of the invention.
Fig. 3 is a signal waveform diagram in a first data exchange mode according to an embodiment of the present invention.
Fig. 4 is a signal waveform diagram in a second data exchange mode according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates a data exchange method of a TWS headset and a charging chamber of the present invention, the method comprising:
an initialization step S101, initializing the charging bin and the TWS headset to be in a first data exchange mode;
a detection step S102, adjusting the charging bin to a second data exchange mode when the charging bin detects that the TWS earphone is inserted into the charging bin;
a switching step S103, switching the TWS headset to a second data exchange mode when the TWS headset detects that the data exchange mode of the charging bin is the second data exchange mode through a communication mode switching detection circuit, where the TWS headset and the charging bin use the second data exchange mode to perform data exchange;
wherein the data transfer rate of the first data exchange mode is lower than the data transfer rate of the second data exchange mode.
In one embodiment, in the first data exchange mode, the charging chamber exchanges data with the TWS headset while charging the TWS headset, and in the second data exchange mode, the charging chamber exchanges data with the TWS headset only without charging the TWS headset.
According to the data exchange method of the TWS earphone and the charging bin, the TWS earphone and the charging bin can adaptively select a data exchange mode to match with the current working scene so as to improve the data transmission efficiency and the charging efficiency, and the method is one of important invention points.
As shown in fig. 2, the charging bin has a positive output VOUT + and a negative output VOUT-, the positive output VOUT + is connected to a positive direction of a dc-dc converter or an external USB charging port of the charging bin, the charging bin includes a first control logic unit, a first mode transmitting signal unit, a first mode receiving signal unit, a second mode transmitting signal unit, a second mode receiving signal unit, a sampling current unit, a negative output buffer, a first switch K1, a fifth switch K5, a sixth switch K6, a first resistor R1 and a second resistor R2, the first mode transmitting signal unit, the first mode receiving signal unit, the second mode transmitting signal unit and the second mode receiving signal unit are respectively connected to the first control logic unit, and the sampling current unit is connected to the first mode receiving signal unit, the first control logic unit is connected with the negative terminal output buffer to send a control signal to the negative terminal output buffer, the first mode signal sending unit is connected with the negative terminal output buffer to send data to be transmitted to the negative terminal output buffer, the negative terminal output buffer is connected to the negative electrode output VOUT-through the fifth switch K5, the sixth switch K6 is connected to the negative electrode output VOUT-through the second resistor R2, the positive electrode output VOUT + and the negative electrode output VOUT-are connected through the first switch K1 and the first resistor R1, when the charging bin is initialized, the first switch K1 is disconnected, the fifth switch K5 is closed, the sixth switch K6 is disconnected, at the moment, VOUT + outputs 5v, the negative terminal output buffer is opened, and outputs 50mV, and at the moment, the charging bin is in the first data exchange mode.
As shown in fig. 2, the TWS headset includes a charging control circuit, a second control logic unit, a first headset mode transmitting signal unit, a first headset mode receiving signal unit, a second headset mode transmitting signal unit, a second headset mode receiving signal unit and a communication mode switching detection circuit, a third switch K3, a fourth switch K4, and a fourth resistor R4, the first headset mode transmitting signal unit, the first headset mode receiving signal unit, the second headset mode transmitting signal unit, the second headset mode receiving signal unit, and the communication mode switching detection circuit are respectively connected with the second control logic unit, the charging control circuit is connected with the positive output + of the charging chamber through the third switch K3, and at the TWS headset end, the positive output VOUT + and the negative output VOUT-are connected through the fourth switch K4 and the fourth resistor R4, when the TWS headset is initialized, the third switch K3 is closed and the fourth switch K4 is opened, while the TWS headset is in the first data exchange mode.
As shown in FIG. 3, in the first data exchange mode, the charging chamber generates a stable 5v charging voltage VOUT + through the charging chamber battery and the DC/DC converter, and dynamically modulates the voltage swing between VOUT + and VOUT-by changing the voltage VOUT-of the negative side output buffer, so as to send data to the TWS earphone, the output of the negative side output buffer is 50mV under normal charging condition, and the voltage between VOUT + and VOUT-is 4.95V, when data exchange is performed, the output of the negative side output buffer jumps to 750mV, at which time the voltage between VOUT + and VOUT-becomes 4.25V, and sends digital logic 0 or 1 to the TWS earphone by encoding the voltage between VOUT + and VOUT-, the TWS earphone end receives data from the bottom chamber in real time by detecting the voltage changes of VOUT + and VOUT-in real time, and the TWS dynamically modulates the current consumed from the charging chamber by the earphone, transmitting data to the charging bin in a reverse direction, and during normal charging, setting the current charging current ICHRG equal to I0The current consumed by the TWS earphone from the charging bin is I0When data exchange is carried out, the fourth switch K4 is closed, the fourth resistor R4 is connected between VOUT + and VOUT-, and after the fourth switch K4 is closed, the current consumed by the fourth cabin suddenly increases to I0And +50mA, a digital logic 0 or 1 is sent to the charging bin by encoding the current consumed from the charging bin, the charging bin detects the change of the consumed current in real time through the sampling current unit, and then the change information of the current is fed back to the first mode signal receiving unit of the charging bin for processing to obtain the data sent by the TWS earphone.
In the first data exchange mode, the third switch K3 is closed, a second capacitor C2 is connected between VOUT + and VOUT-, and the second capacitor C2 limits the change speed of VOUT-, and the communication code rate at the moment is selected to be at the frequency of a few kHz.
During communication, the output of the negative side output buffer jumps to 750mV, so that the voltage between VOUT + and VOUT-)The voltage became 4.25 v. By encoding the voltage between VOUT + and VOUT-, a digital logic 0 or 1 is sent to the earpiece. For example, a voltage of 4.95v between VOUT + and VOUT-, indicating that a logic 0 is to be sent to the headset; a voltage of 4.25v between VOUT + and VOUT-indicates that a logic 1 is sent to the headset. The correspondence between the voltage between VOUT + and VOUT-and the digital logic 0 and 1 is not limited to the above example. The earphone end receives the information sent by the bottom bin in real time by detecting the voltage change of VOUT + and VOUT-. By encoding the current drawn from the bottom bin, a digital logic 0 or 1 is sent to the bottom bin. E.g. the current drawn from the bottom bin is I0When, it means that logic 0 is sent to the bottom bin; the current consumed is I0+50mA, indicating that a logic 1 is sent to the bottom bin.
In one embodiment, as shown in fig. 4, in the second data exchange mode, the charging chamber does not charge the TWS headset, and in order to improve the communication code rate, the TWS headset end firstly opens the third switch K3, i.e. the second capacitor C2 connected between VOUT + and VOUT-, and the fourth switch K4 is initially in an open state; the charging bin generates a stable 5v supply voltage VOUT + through the battery and the DC-DC converter, the charging bin outputs a signal with continuously changing high and low levels at VOUT-by controlling the opening and closing of the first switch K1 and the fifth switch K5 to serially transmit data, the first switch K1 is opened and the fifth switch K5 is closed, VOUT-is pulled down to 50 MV; the first switch K1 is closed and the fifth switch K5 is opened, VOUT-is the partial voltage generated by the first resistor R1 and the second resistor R2, VOUT-is pulled up to be almost VOUT + because the second resistor R2 is far larger than the first resistor R1, the TWS earphone end receives a signal unit through the second mode of the earphone, the signal waveform of VOUT + -VOUT-is analyzed in real time, and correct data information is recovered from the signal waveform.
In high speed return data, due to the resistance of R2, VOUT-cannot be pulled down to ground at the bottom (i.e., charged) bin end, e.g., to VL. Eventually, the voltage of VOUT-will vary between VOUT + and VL. And the bottom bin end analyzes the signal waveform on VOUT-in real time through the second mode signal receiving unit, and recovers correct data information from the waveform of VOUT-.
In one embodiment, in the second data exchange mode, when the charging chamber needs the earphone to feed back information, the charging chamber first opens the first switch K1 and the fifth switch K5, opens the sixth switch K6, and then waits for the TWS earphone terminal to feed back data, the TWS earphone terminal feeds back data serially by controlling the opening and closing of the fourth switch K4 to output a signal with a continuously changing high and low level at VOUT-, VOUT-defaults to equal to the ground of the charging chamber terminal when the communication is just started, VOUT-voltage is the partial voltage generated by the second resistor R2 and the fourth resistor R4 after the fourth switch K4 is closed, since the fourth resistor R4 is much smaller than the second resistor R2, VOUT-is pulled up to almost VOUT +, VOUT-is pulled down by the second resistor R2 after the fourth switch K4 is opened, and is limited by the resistance value of the second resistor R2 when feeding back data at high speed, VOUT-is pulled down to VL, the voltage of VOUT-can change between VOUT + and VL, the charging bin end receives the signal unit through the second mode, the signal waveform on VOUT-is analyzed in real time, correct data are recovered from the signal waveform of VOUT-, and in the second data conversion mode, the communication code rate can be improved to hundreds of KHz or even more than 1 MHz.
The invention designs a specific circuit structure of the earphone and the charging bin, particularly designs a communication mode switching detection circuit in the earphone, which can automatically switch the data exchange mode of the earphone according to the detected voltage condition between VOUT + and VOUT-from the charging bin and simultaneously meet the requirements of charging and high-speed data transmission.
In one embodiment, after the charging chamber detects that the TWS earphone is inserted into the charging chamber, the charging chamber selects to send charging chamber battery capacity information to the TWS earphone through the second data exchange mode, the charging chamber reduces the voltage between VOUT + and VOUT-from 4.95v to 2v, maintains the voltage for more than 200us, and then returns to 4.95v, and after the TWS earphone end detects the change between VOUT + and VOUT-through the communication mode switching detection circuit, the TWS earphone is switched to the second data exchange mode, and at this time, the TWS earphone immediately turns off the third switch K3.
If the charging bin (namely the bottom bin) sends an inquiry information command to the earphone, after the command is sent, K1 and K5 are disconnected, K6 is closed, then the information sent by the earphone is waited to be received, after the information transceiving is finished by adopting the second data exchange mode, VOUT + is maintained at 4.95v by the bottom bin, and exceeds 50ms, the earphone end automatically exits the second data exchange mode and enters the default first data exchange mode, and at the moment, the switches in the bottom bin and the earphone are both returned to the initial state simultaneously.
The invention also provides a TWS earphone, which is connected with a charging bin, wherein the charging bin is provided with a positive electrode output VOUT + and a negative electrode output VOUT-, the positive electrode output VOUT + is connected with a direct current converter of the charging bin or the positive electrode of an external USB charging port in the positive direction, the charging bin comprises a first control logic unit, a first mode sending signal unit, a first mode receiving signal unit, a second mode sending signal unit, a second mode receiving signal unit, a sampling current unit, a negative electrode output buffer, a first switch K1, a fifth switch K5, a sixth switch K6, a first resistor R1 and a second resistor R2, the first mode sending signal unit, the first mode receiving signal unit, the second mode sending signal unit and the second mode receiving signal unit are respectively connected with the first control logic unit in the negative direction, and the sampling current unit is connected with the first mode receiving signal unit, the first control logic unit is connected with the negative terminal output buffer to send a control signal to the negative terminal output buffer, the first mode sending signal unit is connected with the negative terminal output buffer to send data to be transmitted to the negative terminal output buffer, the negative terminal output buffer is connected to the negative output VOUT-through the fifth switch K5, the sixth switch K6 is connected to the negative output VOUT-through the second resistor R2, and the positive output VOUT + and the negative output VOUT-are connected through the first switch K1 and the first resistor R1;
the TWS earphone comprises a charging control circuit, a second control logic unit, an earphone first mode signal sending unit, an earphone first mode signal receiving unit, an earphone second mode signal sending unit, an earphone second mode signal receiving unit, a communication mode switching detection circuit, a third switch K3, a fourth switch K4 and a fourth resistor R4, the earphone first mode signal sending unit, the earphone first mode signal receiving unit, the earphone second mode signal sending unit, the earphone second mode signal receiving unit and the communication mode switching detection circuit are respectively connected with the second control logic unit, the charging control circuit is connected to the positive electrode output VOUT + of the charging bin through a third switch K3, at the TWS earphone end, the positive electrode output VOUT + and the negative electrode output VOUT-are connected with each other through a fourth switch K4 and a fourth resistor R4;
the TWS headset and the charging bin exchange data using any of the methods described above.
In the invention, the two power line contacts are arranged between the TWS bottom bin and the earphone, so that the earphone can be charged, and the data exchange between the bottom bin and the earphone can be realized, the data exchange has two modes, namely a first data exchange mode and a second data exchange mode, the earphone end comprises a mode switching detection circuit, the optimal data exchange mode can be selected according to an application scene, in the first mode, the communication can be realized, meanwhile, the normal charging is realized, in the second mode, the serial communication with higher code rate can be realized on two electric powers, and the switching can be automatically carried out under the two communication modes according to an instruction sent by the bottom bin, so that the requirements of high-efficiency charging and high-speed data exchange are met.
Finally, it should be noted that: although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that: modifications and equivalents may be made thereto without departing from the spirit and scope of the invention and it is intended to cover in the claims the invention as defined in the appended claims.

Claims (10)

1. A method of data exchange between a TWS headset and a charging pod, the method comprising:
an initialization step of initializing the charging bin and the TWS headset to be in a first data exchange mode;
a detection step, wherein when the charging bin detects that the TWS earphone is inserted into the charging bin, the charging bin is adjusted to a second data exchange mode;
a switching step, when the TWS earphone detects that the data exchange mode of the charging bin is a second data exchange mode through a communication mode switching detection circuit, the TWS earphone is switched to the second data exchange mode, and the TWS earphone and the charging bin use the second data exchange mode for data exchange;
wherein the data transfer rate of the first data exchange mode is lower than the data transfer rate of the second data exchange mode.
2. The method of claim 1, wherein in the first data exchange mode the charging cartridge exchanges data with the TWS headset while charging the TWS headset, and in the second data exchange mode the charging cartridge exchanges data with the TWS headset only and does not charge the TWS headset.
3. The method of claim 2, wherein the charging bin has a positive output VOUT + and a negative output VOUT-, the positive output VOUT + is connected with a DC converter of the charging bin or a positive direction of an external USB charging port, the charging bin comprises a first control logic unit, a first mode transmitting signal unit, a first mode receiving signal unit, a second mode transmitting signal unit, a second mode receiving signal unit, a sampling current unit, a negative side output buffer, a first switch K1, a fifth switch K5, a sixth switch K6, a first resistor R1 and a second resistor R2, the first mode transmitting signal unit, the first mode receiving signal unit, the second mode transmitting signal unit and the second mode receiving signal unit are respectively connected with the first control logic unit, the sampling current unit is connected with the first mode receiving signal unit, the first control logic unit is connected with the negative terminal output buffer to send a control signal to the negative terminal output buffer, the first mode signal sending unit is connected with the negative terminal output buffer to send data to be transmitted to the negative terminal output buffer, the negative terminal output buffer is connected to the negative electrode output VOUT-through the fifth switch K5, the sixth switch K6 is connected to the negative electrode output VOUT-through the second resistor R2, the positive electrode output VOUT + and the negative electrode output VOUT-are connected through the first switch K1 and the first resistor R1, when the charging bin is initialized, the first switch K1 is disconnected, the fifth switch K5 is closed, the sixth switch K6 is disconnected, at the moment, VOUT + outputs 5v, the negative terminal output buffer is opened, and outputs 50mV, and at the moment, the charging bin is in the first data exchange mode.
4. The method of claim 3, wherein the TWS headset includes a charging control circuit, a second control logic unit, a first headset mode transmitting signal unit, a first headset mode receiving signal unit, a second headset mode transmitting signal unit, a second headset mode receiving signal unit and a communication mode switching detection circuit, a third switch K3, a fourth switch K4, and a fourth resistor R4, the first headset mode transmitting signal unit, the first headset mode receiving signal unit, the second headset mode transmitting signal unit, the second headset mode receiving signal unit, and the communication mode switching detection circuit are respectively connected to the second control logic unit, the charging control circuit is connected to a positive output VOUT + of the charging chamber through a third switch K3, and the positive output VOUT + and the negative output VOUT-are connected to the TWS headset side through a fourth switch K4 and a fourth resistor R4, when the TWS headset is initialized, the third switch K3 is closed and the fourth switch K4 is opened, while the TWS headset is in the first data exchange mode.
5. The method of claim 4, wherein in the first data exchange mode, the charging chamber generates a stable 5v charging voltage VOUT + via the charging chamber battery and the DC-DC converter, dynamically modulating the voltage swing between VOUT + and VOUT-by varying the voltage VOUT-of the negative side output buffer to send data to the TWS headset, the output of the negative side output buffer being 50mV under normal charging conditions, and thenThe voltage between VOUT + and VOUT-is 4.95v, when data exchange is carried out, the output of the output buffer at the negative terminal jumps to 750mV, at the moment, the voltage between VOUT + and VOUT-is changed to 4.25v, digital logic 0 or 1 is sent to the TWS earphone by encoding the voltage between VOUT + and VOUT-, and the TWS earphone end receives the data sent from the bottom bin in real time by detecting the voltage changes of VOUT + and VOUT-; meanwhile, the TWS earphone reversely sends data to the charging bin by dynamically modulating the current consumed by the charging bin, and the current charging current ICHRG is I during normal charging0The current consumed by the TWS earphone from the charging bin is I0When data exchange is carried out, the fourth resistor R4 is connected between VOUT + and VOUT-by closing the fourth switch K4; after closing the fourth switch K4, the current drawn from the charging chamber suddenly increases to I0+50 mA; the current consumed from the charging bin is coded, a digital logic 0 or 1 is sent to the charging bin, the charging bin detects the change of the consumed current in real time through the sampling current unit, and then the change information of the current is fed back to the first mode signal receiving unit of the charging bin to be processed to obtain data sent by the TWS earphone.
6. The method of claim 5, wherein in the first data exchange mode, the third switch K3 is closed, a second capacitor C2 is connected between VOUT + and VOUT-, and the second capacitor C2 limits the change speed of VOUT-.
7. The method of claim 6, wherein in the second data exchange mode, the charging chamber does not charge the TWS headset, and in order to increase the communication code rate, the TWS headset end first turns off the third switch K3, i.e. the second capacitor C2 connected between VOUT + and VOUT-, and the fourth switch K4 is initially in an off state; the charging bin generates a stable 5v supply voltage VOUT + through a battery and a direct current-direct current converter, the charging bin outputs a signal with continuously changing high and low levels at VOUT-by controlling the opening and closing of a first switch K1 and a fifth switch K5 to serially transmit data, the first switch K1 is opened and a fifth switch K5 is closed, and VOUT-is pulled down to the ground of the earphone by 50 mV; the first switch K1 is closed and the fifth switch K5 is opened, VOUT-is the partial voltage generated by the first resistor R1 and the second resistor R2, VOUT-is pulled up to be almost VOUT + because the second resistor R2 is far larger than the first resistor R1, the TWS earphone end receives a signal unit through the second mode of the earphone, the signal waveform of VOUT + -VOUT-is analyzed in real time, and correct data information is recovered from the signal waveform.
8. The method according to claim 7, wherein in the second data exchange mode, when the charging bin needs the headset to feed back information, the charging bin first turns off the first switch K1 and the fifth switch K5, turns on the sixth switch K6, and then waits for the TWS headset end to feed back data; the TWS earphone end outputs a signal with continuously changing high and low levels at VOUT-by controlling the opening and closing of the fourth switch K4 to serially transmit back data; when the communication is just started, VOUT-is equal to the ground of the charging bin end by default, and after the fourth switch K4 is closed, the VOUT-voltage is divided by the second resistor R2 and the fourth resistor R4, and VOUT-is pulled up to be nearly VOUT + because the fourth resistor R4 is far smaller than the second resistor R2; when the fourth switch K4 is turned off, VOUT-is pulled down through the second resistor R2, and when data is fed back at high speed, the voltage of VOUT-is pulled down to VL by the resistance of the second resistor R2, VOUT-varies between VOUT + and VL, and the charging bin terminal receives the signal unit through the second mode, analyzes the signal waveform on VOUT-in real time, and recovers correct data from the signal waveform of VOUT-.
9. The method of claim 8, wherein the charging chamber detects that the TWS headset is inserted into the charging chamber, and then selects to send charging chamber battery charge information to the TWS headset via the second data exchange mode, the charging chamber changes the voltage between VOUT + and VOUT "from 4.95v to 2v, and maintains the voltage for more than 200us, and then returns to 4.95v, and the TWS headset side switches to the second data exchange mode after detecting the change between VOUT + and VOUT" via the communication mode switch detection circuit, and at this time, the TWS headset immediately turns off the third switch K3.
10. A TWS earphone is characterized in that the TWS earphone is connected with a charging bin, the charging bin is provided with a positive electrode output VOUT + and a negative electrode output VOUT-, the positive electrode output VOUT + is connected with a direct current converter of the charging bin or the positive electrode of an external USB charging port in the positive direction, the charging bin comprises a first control logic unit, a first mode sending signal unit, a first mode receiving signal unit, a second mode sending signal unit, a second mode receiving signal unit, a sampling current unit, a negative electrode output buffer, a first switch K1, a fifth switch K5, a sixth switch K6, a first resistor R1 and a second resistor R2, the first mode sending signal unit, the first mode receiving signal unit, the second mode sending signal unit and the second mode receiving signal unit are respectively connected with the first control logic unit in the negative direction, and the sampling current unit is connected with the first mode receiving signal unit, the first control logic unit is connected with the negative terminal output buffer to send a control signal to the negative terminal output buffer, the first mode sending signal unit is connected with the negative terminal output buffer to send data to be transmitted to the negative terminal output buffer, the negative terminal output buffer is connected to the negative output VOUT-through the fifth switch K5, the sixth switch K6 is connected to the negative output VOUT-through the second resistor R2, and the positive output VOUT + and the negative output VOUT-are connected through the first switch K1 and the first resistor R1;
the TWS earphone comprises a charging control circuit, a second control logic unit, an earphone first mode signal sending unit, an earphone first mode signal receiving unit, an earphone second mode signal sending unit, an earphone second mode signal receiving unit, a communication mode switching detection circuit, a third switch K3, a fourth switch K4 and a fourth resistor R4, the earphone first mode signal sending unit, the earphone first mode signal receiving unit, the earphone second mode signal sending unit, the earphone second mode signal receiving unit and the communication mode switching detection circuit are respectively connected with the second control logic unit, the charging control circuit is connected to the positive electrode output VOUT + of the charging bin through a third switch K3, at the TWS earphone end, the positive electrode output VOUT + and the negative electrode output VOUT-are connected with each other through a fourth switch K4 and a fourth resistor R4;
the TWS headset and the charging bay exchange data using the method of any of claims 1-9.
CN202011327861.2A 2020-11-24 2020-11-24 Data exchange method for TWS earphone and charging bin and TWS earphone Active CN112565962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011327861.2A CN112565962B (en) 2020-11-24 2020-11-24 Data exchange method for TWS earphone and charging bin and TWS earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011327861.2A CN112565962B (en) 2020-11-24 2020-11-24 Data exchange method for TWS earphone and charging bin and TWS earphone

Publications (2)

Publication Number Publication Date
CN112565962A true CN112565962A (en) 2021-03-26
CN112565962B CN112565962B (en) 2023-02-28

Family

ID=75044950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011327861.2A Active CN112565962B (en) 2020-11-24 2020-11-24 Data exchange method for TWS earphone and charging bin and TWS earphone

Country Status (1)

Country Link
CN (1) CN112565962B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6526294B1 (en) * 1999-09-09 2003-02-25 Ericsson Inc. Automatic control circuit for enabling and disabling the supply voltage in a short range wireless device
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products
CN108769856A (en) * 2018-06-12 2018-11-06 歌尔科技有限公司 A kind of method, apparatus, wireless headset and charging box for establishing single line connection
CN108767926A (en) * 2018-06-22 2018-11-06 广东思派康电子科技有限公司 The method that charging box, earphone, computer storage media and earphone in earphone charging system upload electricity
CN110572736A (en) * 2019-09-20 2019-12-13 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN210536885U (en) * 2019-08-16 2020-05-15 南京大鱼半导体有限公司 Earphone charging box circuit, earphone charging box, earphone and communication system
US20200343754A1 (en) * 2019-04-24 2020-10-29 Pixart Imaging Inc. Communication architecture between ear bud device and charging device based on fewer pins

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6526294B1 (en) * 1999-09-09 2003-02-25 Ericsson Inc. Automatic control circuit for enabling and disabling the supply voltage in a short range wireless device
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products
CN108769856A (en) * 2018-06-12 2018-11-06 歌尔科技有限公司 A kind of method, apparatus, wireless headset and charging box for establishing single line connection
CN108767926A (en) * 2018-06-22 2018-11-06 广东思派康电子科技有限公司 The method that charging box, earphone, computer storage media and earphone in earphone charging system upload electricity
US20200343754A1 (en) * 2019-04-24 2020-10-29 Pixart Imaging Inc. Communication architecture between ear bud device and charging device based on fewer pins
CN210536885U (en) * 2019-08-16 2020-05-15 南京大鱼半导体有限公司 Earphone charging box circuit, earphone charging box, earphone and communication system
CN110572736A (en) * 2019-09-20 2019-12-13 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system

Also Published As

Publication number Publication date
CN112565962B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
US11689029B2 (en) Terminal with charging circuit and device thereof
US11581745B2 (en) Fast charging method and system, terminal, and charger
US7863856B2 (en) Bi-directional battery charging for coupled electronic devices
KR102362972B1 (en) Battery electricity supply circuit, charging target device and charging control method
US8712090B2 (en) Headset, terminal, and method capable of switching headset mode
US7019416B2 (en) Power source circuit, electronic device being equipped with same power source circuit and control method of power source circuit
US6153949A (en) Electrical power management system providing momentarily high power to a load
US20220006312A1 (en) Device to be charged, and charging and discharging control method
CN110739739B (en) Charging control method, charging control device and electronic device
US6804541B1 (en) PC card integrated radio communication apparatus
CN113491030A (en) Charging and discharging control method and device to be charged
CN113991762A (en) Charging device, electronic device, charging system and charging method
CN113473300A (en) High efficiency charging system and method for TWS charging box and headset
CN110843605A (en) Power supply switching system, switching method of power supply circuit and electric vehicle
CN112565962B (en) Data exchange method for TWS earphone and charging bin and TWS earphone
US6172477B1 (en) Apparatus for charging a battery of a portable terminal
CN111417149A (en) Electric vehicle, charging pile and channel selection method for wireless communication
CN208227020U (en) A kind of low-consumption wireless communication equipment
CN108054806A (en) A kind of onboard charger with voice control
CN115051424A (en) NFC charging
JP4217529B2 (en) Charging circuit for mobile communication terminals
US20210226463A1 (en) Portable Power Supply Device and Managing Method Thereof
CN214045864U (en) WIFI 6-based television router and television
US20220329096A1 (en) System and method for wirelessly charging earphones
CN219322106U (en) Charging device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant