Charging box, earphone, computer storage medium and method for uploading power of earphone in earphone charging system
By introducing COM common lines and GND lines into the charging box and earphones of TWS earphones, and using diodes and capacitors for level control, the problem of traditional TWS earphones being unable to communicate between the charging box and the earphones is solved, and power display and power supply are realized. The discontinuous effect improves the user interface interaction experience and reduces costs.
Patent Information
- Application Number
- CN201810652152.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-06-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2038-06-22
AI Technical Summary
When charging, traditional TWS earphones have only two pin-point connection terminals, making it impossible to communicate between the charging box and the earphones. As a result, the battery percentage of the earphones cannot be displayed, which affects user interface interaction. Adding pin points to achieve communication will affect the structure. Aesthetics and increased cost.
By introducing the COM common line and GND line into the two connection terminals of the charging box and earphones, and using diodes and capacitors for level control, normal power supply and data interaction between the charging box and earphones are achieved to ensure uninterrupted power supply. The charging box MCU and headset MCU execute programs respectively, and realize data transmission and power upload through level changes.
It achieves normal power supply and data interaction between the charging box and earphones, ensuring uninterrupted power supply during data transmission, improving the user interface interaction experience, and reducing the impact of adding Pin points on the structure and cost.
Smart Images

Figure CN108767926B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of earphone charging, and in particular to a charging box and earphones of an earphone charging system. The charging box and the earphones each have a computer storage medium, and each computer storage medium has a program that can be executed by an MCU. Background Art
[0002] TWS earphones, or true wireless earphones, refer to the wireless connection between two earphones and between earphones and mobile devices, without any wired communication. TWS earphones are the mainstream development trend of earphones in the future. Currently, giants including Huawei, Harman International, Apple, etc. have joined the research and development of TWS earphones.
[0003] The trend of TWS earphones is to make the size, structure, and appearance as simple and compact as possible, and the cost is required to be as low as possible. For traditional TWS earphones, when charging, the connection terminals between the charging box and the left and right earphones generally have only two pin points, namely VCC / GND (the connection terminals on the charging box are called power supply terminals, and the connection terminals on the earphones are called power receiving terminals). This design has no way to communicate and interact. The charging box has no way to know the current battery percentage of each earphone, and there is no way to display the battery level, making the UI interaction less friendly. In the prior art, in order to communicate between the charging box and the earphones, it is often necessary to add additional pin points, such as 4 pin points. In addition to the two power supply lines, two additional lines are added for communication design, but this structural design greatly affects the aesthetics of the structure, and the material cost will also increase. Summary of the invention
[0004] The purpose of the present invention is to realize normal power supply and data interaction between the charging box and the earphone through two connecting terminals, and the power supply is uninterrupted when the charging box and the earphone are interacting with data.
[0005] To this end, an earphone charging system is provided, wherein the earphone charging system comprises a charging box and an earphone.
[0006] The charging box has two power supply terminals in its outer shell, and a charging control module is hidden in the outer shell. The charging control module includes a charging management circuit for the charging box and a charging box MCU. The charging control module also includes a COM common line and a GND line respectively connected to the two power supply terminals. The charging management circuit for the charging box draws power from the power supply of the charging box and supplies power to the COM common line. The common pin of the charging box MCU is connected to the COM common line, and the GND pin of the charging box MCU is connected to the GND line.
[0007] Furthermore, a diode D1 with a cathode connected to the COM common line is connected in series on the connection line between the charging management circuit of the charging box and the COM common line.
[0008] The charging box stores a computer storage medium for checking power. When the program in the computer storage medium is executed by the charging box MCU, the following steps are implemented:
[0009] The first startup step is to pull the COM line to a low level.
[0010] Downlink transmission determination steps: Pull the COM common line to a high level;
[0011] The query object determination step is performed after the downlink transmission determination step. The level change of the COM common line is controlled according to the preset data definition table;
[0012] Data downlink step. During the execution, the charging box MCU does not control the COM common line;
[0013] In the final step, pull the COM line back to a high level.
[0014] Furthermore, the query object determination step is specifically to only pull up / low the level of the COM common line.
[0015] The earphone is a TWS earphone, and two power receiving terminals are provided in the shell of the earphone. A power storage control module is hidden in the shell. The power storage control module includes an earphone charging management circuit and an earphone MCU. The power storage control module also includes a COM' common line and a GND' line respectively connected to two of the power supply terminals. The earphone charging management circuit draws power from the COM' common line and supplies power to the power supply in the earphone. The common pin of the earphone MCU is connected to the COM' common line, the GND pin of the earphone MCU is connected to the GND' line, and the input end of the earphone charging management circuit is also connected to the COM' common line via a capacitor C2.
[0016] Furthermore, a diode D2 is serially connected to the connection line between the input end of the earphone charging management circuit and the COM' common line, the anode of the diode D2 is connected to the COM' common line, and the cathode of the diode D2 is connected to the capacitor C2.
[0017] The TWS headset stores a computer storage medium for uploading power. When the program in the computer storage medium is executed by the headset MCU, the following steps are implemented:
[0018] The first startup step is to pull the COM line to a low level.
[0019] Uplink transmission confirmation steps: Pull the COM' common line to a low level;
[0020] The earphone identity indicating step is performed after the uplink transmission determining step. The level change of the COM' common line is controlled according to the preset data definition table;
[0021] Data upload step. Continuously change the COM' common line for a set number of times to upload the charging status and / or power percentage of the headset;
[0022] In the final step, pull the COM line back to a high level.
[0023] Furthermore, in the identity indication step, only the level of the COM' common line is pulled high / low.
[0024] Furthermore, the charging box MCU and / or the earphone MCU take the same duration to execute each step.
[0025] Beneficial effects:
[0026] The charging management circuit of the charging box of the present invention supplies power to the COM common line, the common pin of the charging box MCU is connected to the COM common line, and the GND pin of the charging box MCU is connected to the GND line;
[0027] The earphone charging management circuit draws power from the COM' common line, the common pin of the earphone MCU is connected to the COM' common line, the GND pin of the earphone MCU is connected to the GND' line, and the input end of the earphone charging management circuit is also connected to the COM' common line via capacitor C2. When the earphone is inserted into the charging box, the power receiving terminal on the earphone and the power supply terminal on the charging box are connected, so that the COM common line is connected to the COM' common line, and the GND line is connected to the GND' line;
[0028] The charging box and the earphones are normally powered and exchange data through the COM common line and the COM' common line. When the level of the COM' common line is pulled low, the capacitor C2 slowly discharges to the earphone charging management circuit, briefly charging the earphone charging management circuit to ensure uninterrupted power supply when the charging box and the earphones are exchanging data. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0030] Figure 1 This is a circuit connection diagram after the left earphone and the right earphone are respectively inserted into the charging box.
[0031] Figure 2 This is the waveform of the COM line when the charging box sends a power check request to the left earphone.
[0032] Figure 3 This is the waveform of the COM' common line when the left ear is transmitting power. DETAILED DESCRIPTION
[0033] See Figure 1 , Figure 1 This is a schematic diagram of the circuit connection after the left / right earphone is inserted into the charging box. The left side of the figure is the charging control module of the charging box. Both the left earphone and the right earphone are TWS earphones.
[0034] In the charging control module, the charging box charging management circuit is an existing technology, which draws power from the charging box battery and converts the power of the current and transmits it to the COM common line. In order to ensure unidirectional charging and voltage drop protection, a diode D1 is connected in series on the connection line between the charging box charging management circuit and the COM common line, where the cathode of the diode is connected to the COM common line.
[0035] The charging control module is equipped with a charging box MCU, which is the initiator of charging control and communication control. The charging box MCU draws power from the charging box battery via the charging box voltage conversion circuit, where the charging box voltage conversion circuit is specifically an LDO circuit / DC-DC conversion circuit, which is used to perform voltage conversion, thereby providing the charging box MCU with the voltage required for normal operation.
[0036] After power is turned on, the charging box MCU uses a common pin to connect to the COM common line, and controls / senses the level of the COM common line through this common pin. The charging box MCU uses its GND pin to connect to the GND line to ensure the reference voltage to the ground. The charging box MCU also communicates with the charging management circuit of the charging box via I2C / SPI / UART to control the power conversion process of the charging management circuit of the charging box.
[0037] See Figure 1 There are four power supply terminals A1, A2, B1, and B2 exposed on the outside of the charging box shell. The power supply terminals A1 and B1 are commonly connected to the COM common line of the charging control module, and the power supply terminals A2 and B2 are commonly connected to the GND line of the charging control module. There are two power receiving terminals A1' and A2' on the shell of the left earphone. When the left earphone is inserted into the charging box for charging, the power receiving terminals A1' and A2' are connected to the power supply terminals A1 and A2 respectively. There are also power receiving terminals B1' and B2' on the shell of the right earphone. When the right earphone is inserted into the charging box for charging, the power receiving terminals B1' and B2' are connected to the power supply terminals B1 and B2 respectively.
[0038] When the left earphone and the right earphone are inserted into the charging box for charging, the left earphone and the right earphone respectively establish an electrical connection with the charging box. The circuit connection diagram is as follows: Figure 1 shown. Figure 1 In the figure, the right side shows the power storage control modules of the left earphone and the right earphone respectively, wherein the power storage control modules of the left earphone and the right earphone are the same in circuit composition and connection method. To simplify the description, only the circuit composition and connection method of the power storage control module of the left earphone are described below, and the right earphone is similar.
[0039] In the power storage control module of the left earphone, the left earphone MCU draws power from the left earphone battery via the left earphone voltage conversion circuit, wherein the left earphone voltage conversion circuit is an LDO circuit / DC-DC conversion circuit. The power receiving terminal A1' of the left earphone is connected to the common pin of the left earphone MCU via the COM' common line, and the power receiving terminal A2' of the left earphone is connected to the GND pin of the left earphone MCU via the GND' line. After the left earphone is inserted into the charging box, the COM common line is connected to the COM' common line, and the GND line is connected to the GND' line. The power storage control module is also provided with a left earphone charging management circuit, the input end of which draws power from the COM' common line and charges the left earphone battery.
[0040] The input end of the left earphone charging management circuit is also connected to the COM' common line through capacitor C2, and capacitor C2 is charged when the COM' common line is at a high level. When the level of the COM' common line is pulled low, capacitor C2 slowly discharges to the left earphone charging management circuit to briefly charge the left earphone charging management circuit. In addition, when the level of the COM' common line is suddenly pulled high from low, capacitor C2 can reduce the voltage mutation fluctuation of the COM' common line to avoid the generation of tip burrs. Once the level of the COM' common line returns to high, capacitor C2 resumes being charged. A diode D2 is connected in series on the connection line between the input end of the left earphone charging management circuit and the COM' common line. The anode of the diode D2 is connected to the COM' common line, and the cathode of the diode D2 is connected to the capacitor C2. The diode D2 is used to block the discharge current of the capacitor C2 from flowing back to the COM' common line to ensure that the capacitor C2 will not be discharged immediately.
[0041] The left earphone charging management circuit communicates with the left earphone MCU via I2C / SPI / UART to receive control instructions from the left earphone MCU.
[0042] When the left and right earphones are inserted into the charging box, the charging process is as follows:
[0043] Under normal conditions, the charging management circuit of the charging box supplies power to the COM common line, making the COM common line and the COM' common line both at high levels, and capacitors C2 and C2' are charged.
[0044] If the charging box wants to know the power level of the left earphone, Figure 2 , perform the following steps to send a power check request to the left earphone:
[0045] S11: First, the charging box MCU pulls down the level of the COM common line for 1ms. At this time, after all earphones detect the low-level jump, they know that the start signal occurs and start receiving data;
[0046] S12: Then, the charging box MCU keeps the COM line on for 1ms, indicating that the charging box is ready to query the earphone data, and the data transmission direction is downlink;
[0047] S13: Then, the charging box MCU continues to connect the COM line for another 1ms, indicating that the charging box is going to query the data of the left earphone, so the left earphone continues to receive data, and the right earphone stops receiving data (the right earphone does not need to stop receiving data, just ignore it after receiving the data, which only consumes a little power);
[0048] S14: The charging box MCU continuously pulls up / down the level of the COM common line 6 times, each time for 1ms, so as to realize the downlink of 6-bit data, wherein the 6-bit data has no specific meaning. Therefore, preferably, in S14, the charging box MCU does not control the COM common line to save power, so that the 6-bit data are all 1 or 0;
[0049] S15: After sending 6 bits of data, the charging box MCU pulls the COM line back to a high level, indicating the end of communication.
[0050] After the left earbud receives the battery check request from the charging box, Figure 3 , perform the following steps to complete the response for uploading the power:
[0051] S21: First, the left earphone MCU pulls down the level of the COM' common line for 1ms. At this time, the charging box and the right earphone detect the low-level jump and know that the start signal occurs, and then start to receive data;
[0052] S22: Then, the left earphone MCU keeps the COM' common line for 1ms, indicating that the data transmission direction is uplink, then the charging box continues to receive data, and the right earphone stops receiving data;
[0053] S23: Then, the left earphone MCU continues to connect the COM' line for another 1ms, so that the charging box knows that the data is sent by the left earphone;
[0054] S24: The left earphone MCU continuously pulls up / down the level of the COM common line '6 times, each time lasting 1ms, representing 6 bits of data, where the 6 bits of data represent the charging status and power percentage;
[0055] S25: After the 6-bit data is sent, the left earphone MCU pulls the level of the COM' common line back to a high level, indicating the end of communication.
[0056] In steps S11 to S15 and S21 to S25, when the level on the COM common line / COM' common line is low, the capacitor C2 will automatically charge the earphone charging management circuit briefly.
[0057] If the charging box wants to know the power level of the right earphone, refer to step S1, but the COM common line in step S13 needs to be changed from a high level to a low level, so that the left earphone stops receiving data and the right earphone continues to receive data.
[0058] If the right earphone wants to answer, refer to step S2, but the COM' common line in step S23 needs to be changed from a low level to a high level so that the charging box knows that the data is sent by the right earphone.
[0059] It should be noted that the response needs to be completed within 10ms, otherwise the charging box will consider the data transmission failed and send the data again / no action. If the response is completed within 10ms, the charging box will restart a new frame of data.
[0060] As can be seen from the above, in this embodiment, the length of a frame of data on the COM common line / COM' common line is 1 bit start bit + 8 bits data bit. This structure is suitable for the charging box to charge two earphones at the same time. For easy understanding, a data definition table of 8-bit data bits is provided for reading, as shown in Table 1 below, where B0 can be summarized as a direction bit, and B1 represents an address bit.
[0061] Table 1
[0062]
[0063] If the charging box wants to charge more earphones at the same time, the charging box can be equipped with more power supply terminals and increase the length of a frame of data on the COM common line / COM' common line, which is very convenient for expansion. If the charging box wants to charge three earphones at the same time, the length of a frame of data on the COM common line / COM' common line is changed to 1 start bit + 9 data bits, where the data definition table of the 9-bit data bit is shown in Table 2 below.
[0064] Table 2
[0065]
[0066] It should be noted that the 1ms mentioned above is a duration, which can be adjusted as needed. By controlling the duration of each level to be the same, if the duration of a level on the COM common line / COM' common line is different from other levels and is not 1ms, it can be considered that the frame data is erroneous.
[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit the scope of protection of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the essence and scope of the technical solution of the present invention.
Claims
1. The charging box is equipped with a charging control module and two power supply terminals for external connection. The charging control module includes a charging management circuit for the charging box and a charging box MCU. Its characteristics are: The charging control module also includes a COM common line and a GND line respectively connected to the above two power supply terminals. The charging management circuit of the charging box takes power from the power supply of the charging box and supplies power to the COM common line. The common pin of the charging box MCU is connected to the COM common line, and the GND pin of the charging box MCU is connected to the GND line. The charging box has a computer storage medium for checking power. The computer storage medium contains a program. When the program is executed by the charging box MCU in the charging box, the following steps are implemented: The first startup step is to pull the COM line to a low level; Downlink transmission determination step: pull the COM common line to a high level; A query object determination step is performed after the downlink transmission determination step, and determines the object that the charging box is ready to query via the COM common line; In the final step of execution, the COM line is pulled back to a high level.
2. The charging box according to claim 1, characterized in that: A diode D1 is connected in series on the connection line between the charging management circuit of the charging box and the COM common line, and the cathode of the diode D1 is connected to the COM common line.
3. The earphone is provided with a power storage control module and two power receiving terminals for external connection. The power storage control module includes an earphone charging management circuit and an earphone MCU. Its characteristics are: The power storage control module also includes a COM' common line and a GND' line respectively connected to the above-mentioned two power receiving terminals. The input end of the headphone charging management circuit draws power from the COM' common line and charges the power supply in the headphone. The common pin of the headphone MCU is connected to the COM' common line, the GND pin of the headphone MCU is connected to the GND' line, and the input end of the headphone charging management circuit is connected to the COM' common line via the capacitor C2.
4. The earphone according to claim 3, characterized in that: A diode D2 is serially connected to the connection line between the input end of the earphone charging management circuit and the COM' common line, the anode of the diode D2 is connected to the COM' common line, and the cathode of the diode D2 is connected to the capacitor C2.
5. The earphone according to claim 3, characterized in that: The earphones are TWS earphones.
6. A method for uploading power on an earphone, the earphone being the earphone according to any one of claims 3 to 5, the method comprising the following steps: The first startup step is to pull the COM' common line to a low level; The uplink transmission determination step is to make the COM' common line low level; The headphone identity indicating step is performed after the uplink transmission determining step, and controls the level change of the COM' common line according to a preset data definition table; Data uploading step, uploading the charging status and / or power percentage of the headset via the COM' common line; The final step is to pull the COM' line back to a high level.
7. The method for uploading power from earphones according to claim 6, characterized in that The identity identification steps are as follows: only the level of the COM' common line is pulled high / low.
8. A computer storage medium for uploading electricity, the computer storage medium containing a program, characterized by: When the program is executed by the headphone MCU in the headphone described in any one of claims 3 to 5, the method described in claim 6 or 7 is implemented.
9. Headphone charging system, characterized by It comprises the charging box according to claim 1 or 2 and the earphone according to any one of claims 3 to 5, and when the earphone is inserted into the charging box, the power receiving terminal and the power supply terminal are connected.
10. The earphone charging system according to claim 9, characterized in that: The headphone MCU in the headphone implements the method described in claim 6 or 7 when executed.
Citation Information
Patent Citations
Wireless earphone establishing interaction with earphone box
CN107809696A
Earphone box for establishing interaction with wireless earphone
CN107809697A
Charging box, wireless equipment and wireless headset
CN107948798A
Charging box, wireless device, wireless earphone and charging system
CN108092356A
Wireless earphones and earphones charging case
US20170195770A1
