WO2021022978A1 - Charging case for efficient and stable communication, and communication method for charging case - Google Patents

Charging case for efficient and stable communication, and communication method for charging case Download PDF

Info

Publication number
WO2021022978A1
WO2021022978A1 PCT/CN2020/101653 CN2020101653W WO2021022978A1 WO 2021022978 A1 WO2021022978 A1 WO 2021022978A1 CN 2020101653 W CN2020101653 W CN 2020101653W WO 2021022978 A1 WO2021022978 A1 WO 2021022978A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
communication
mcu controller
compartment
earphone
Prior art date
Application number
PCT/CN2020/101653
Other languages
French (fr)
Chinese (zh)
Inventor
谢金生
陈龙
张昊
许奇
周思静
Original Assignee
深圳市岍丞技术有限公司
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 深圳市岍丞技术有限公司 filed Critical 深圳市岍丞技术有限公司
Publication of WO2021022978A1 publication Critical patent/WO2021022978A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Definitions

  • the invention relates to a charging bin, in particular to a charging bin with high efficiency and stable communication and a communication method for the charging bin.
  • TWS (True Wireless Stereo, true wireless stereo) headset can be said to be a product of the trend of the times. In addition to canceling the 3.5mm interface on the mobile phone and eliminating the cumbersome headset cable on the headset side, it can also achieve dual-use, portable, intelligent voice and other functions. With the continuous improvement of people's daily needs and the continuous optimization of portable methods, traditional earphones have been difficult to meet the needs in use. So with the continuous development of smart hardware, TWS headsets have become more and more popular in the market. With the release of Apple's Airpods, the wireless Bluetooth headset market has reached a climax.
  • TWS earphones Since there is no physical connection between the left and right earphones of TWS earphones, and TWS earphones generally do not have a MicroUSB interface for charging, almost all TWS will be equipped with a portable box with charging and storage functions, which is what we call a charging compartment. When the TWS headset is out of power, it can be placed in the box, automatically disconnected, and charged. Generally, the serial port charging compartment is only for charging the TWS headset. This operation is not very reasonable and effective. How to provide a charging compartment that can communicate with the TWS headset efficiently and stably and realize intelligent control is an urgent need for those skilled in the art Technical problems solved.
  • the present invention provides a charging bin with high efficiency and stable communication and a communication method for the charging bin.
  • the present invention provides a high-efficiency and stable communication charging compartment, which includes an MCU controller, a BOOST circuit, a charging communication conversion circuit, a communication interface and a sensor for detecting the switch cover, wherein the output terminal of the MCU controller is connected to the The input terminal of the BOOST circuit is connected, the output terminal of the BOOST circuit is connected to the charging communication conversion circuit, the MCU controller is connected to the charging communication conversion circuit through the communication interface, and the output terminal of the sensor is connected to the charging communication conversion circuit.
  • the MCU controller is connected, and the MCU controller controls the BOOST circuit to output to the earphone terminal for charging, or the MCU controller controls the BOOST circuit to not output, but switches to the communication interface to communicate with the earphone terminal Interactively, the MCU controller controls the charging communication conversion circuit to switch the communication function or the charging function.
  • the charging compartment further includes an earphone charging cable
  • the communication interface is a UART serial communication interface
  • the TX and RX of the UART serial communication interface are simultaneously connected to the earphone charging cable.
  • the earphone charging cable is a 5V/SDA cable
  • the charging compartment is also provided with a ground wire
  • the charging compartment and the earphone terminal are physically connected only through the earphone charging cable and the ground wire.
  • the TX and RX of the UART serial communication interface of the earphone are also connected to the 5V/SDA line at the same time.
  • the MCU controller is connected with a MicroUSB interface for realizing communication between the PC upper computer and the charging compartment or direct communication between the PC upper computer and the earphone, and the MicroUSB interface is connected with the UART serial communication interface;
  • the MCU controller is connected with an LED indicator that displays the charging effect or displays a low battery prompt by flashing.
  • the charging communication conversion circuit is a switch circuit that realizes switching between 5V and DATA data lines.
  • the MCU controller controls the BOOST circuit to enable output of 5V, and the charging communication conversion circuit switches the on-voltage to the output of 5V to charge the earphone terminal.
  • the The MCU controller controls the BOOST circuit not to output 5V, and the switch of the charging communication conversion circuit is switched to the DATA data line.
  • the MCU controller performs two-way communication interaction with the earphone terminal through the DATA data line.
  • the senor is a Hall sensor, which assists in charging or communication by detecting the opening and closing of the cover.
  • the charging compartment communicates with the earphone terminal, and when the cover is closed, Charge after the set time.
  • the present invention also provides a communication method of the charging bin according to any one of the above, including the following steps:
  • S102 Detect whether the charging compartment is opened by the sensor, if the lid is not opened, enter the box closing process, if the lid is opened, enter the box opening process;
  • the opening process is as follows:
  • the earphone terminal communicates and forms a team through the charging compartment;
  • step S202 Judge whether the team formation is successful, if it is unsuccessful, repeat step S202 after the set time, and if it succeeds, proceed to the next step;
  • the closing process is as follows:
  • the charging compartment communicates with the earphone terminal. After a set time, the communication is closed, and the MCU controller turns on the output of the BOOST circuit to charge the earphone terminal;
  • the MCU controller turns off the output of the BOOST circuit and reports the power of the charging bin
  • the earphone terminal is turned off, and the charging compartment enters a low power consumption mode.
  • step S201 when the master and slave earphones are placed in the charging compartment at the same time, the MCU controller obtains the mac address of the master and slave earphones through communication interaction, and then sets the two mac addresses of the master and slave earphones Notify each other, and the master and slave headsets directly pair up in teams through the other's mac address to achieve fast pairing.
  • the beneficial effects of the present invention are: through the above solution, the BOOST circuit and the charging communication conversion circuit are controlled by the MCU controller to realize the core functions of high efficiency, stable communication, and matching in the box, and finally achieve the purpose of intelligent control and communication interaction.
  • Figure 1 is a system framework diagram of a charging bin with high efficiency and stable communication according to the present invention.
  • FIG. 2 is a circuit diagram of a charging communication conversion circuit of a left earphone of a charging compartment with high efficiency and stable communication according to the present invention.
  • Fig. 3 is a circuit diagram of a charging communication conversion circuit of a right earphone of a charging compartment with high efficiency and stable communication according to the present invention.
  • Fig. 4 is a flow chart of opening a box of a charging compartment with high efficiency and stable communication according to the present invention.
  • Fig. 5 is a flow chart of closing a charging compartment with high efficiency and stable communication according to the present invention.
  • a high-efficiency and stable communication charging compartment (TWS charging compartment) 100 includes an MCU controller 1, a BOOST circuit 2, a charging communication conversion circuit 3, a communication interface and a sensor for detecting the switch cover ,
  • the output terminal of the MCU controller 1 is connected to the input terminal of the BOOST circuit 2
  • the output terminal of the BOOST circuit 2 is connected to the charging communication conversion circuit 3
  • the MCU controller 1 The communication interface is connected to the charging communication conversion circuit 3, the output terminal of the sensor is connected to the MCU controller 1, and the MCU controller 1 controls the BOOST circuit 2 to output to the earphone terminal 200 for charging, or the
  • the MCU controller 1 controls the BOOST circuit 2 not to output, but switches to the communication interface to communicate with the earphone terminal 200.
  • the MCU controller 1 controls the charging communication conversion circuit 3 to switch the communication function or charge Features.
  • the charging compartment 100 also includes a headset charging cable
  • the communication interface is a UART serial communication interface 4
  • the TX and RX of the UART serial communication interface 4 are simultaneously connected to the headset charging cable on.
  • the earphone charging cable is a 5V/SDA cable
  • the charging compartment 100 is also provided with a ground wire.
  • the charging compartment 100 and the earphone terminal 200 only use the earphone charging cable and the ground wire. Physical connection.
  • the TX and RX of the UART serial communication interface 4 of the earphone terminal 200 are also simultaneously connected to the 5V/SDA line.
  • the MCU controller 1 is connected with a MicroUSB interface 5 that realizes the communication between the PC host computer and the charging compartment 100 or the direct communication between the PC host computer and the earphone terminal 200.
  • the MicroUSB interface 5 is connected to
  • the UART serial communication interface 4 is connected;
  • the MCU controller 4 is connected with an LED indicator 7 that displays the charging effect or displays a low-power prompt by flashing.
  • the charging communication conversion circuit 3 is a switch circuit that realizes the switching of the 5V and DATA data lines.
  • the MCU controller 1 controls the BOOST circuit 2 to enable the output of 5V, and the charging communication conversion circuit 3 switches the on-voltage to the output of 5V to charge the earphone terminal 200.
  • the MCU controller 1 controls the BOOST circuit 2 not to output 5V, and the switch of the charging communication conversion circuit 3 is switched to the DATA data line.
  • the MCU controller 1 communicates with the headset via the DATA data line.
  • the terminal 200 performs two-way communication interaction.
  • the sensor is a Hall sensor (HALL) 6, which assists in charging or communication by detecting opening and closing of the lid.
  • the charging compartment 100 communicates with the earphone terminal 200 , With the cover closed, charge after the set time.
  • HALL Hall sensor
  • the earphone terminal 200 includes two earphones, the left earphone and the right earphone.
  • SWITCH 3 has two in total and corresponds to the left earphone and the right earphone respectively.
  • each module As shown in Fig. 1 to Fig. 3, a high-efficiency and stable communication charging bin provided by the present invention, the function of each module is as follows:
  • MCU controller 1 can control the 5V output of BOOST circuit 2 to charge the left and right earphones, or control the 5V of BOOST circuit 2 to not output, but switch to the communication interface.
  • the communication used in this design The interface is UART serial communication interface 4.
  • the MCU controller 1 switches the communication or charging function of the charging compartment 100 through the charging communication conversion circuit 3.
  • the hardware design is to connect the TX and RX of the UART serial communication interface 4 to the 5V/SDA line at the same time, and then this line It is the headset charging cable. When there is no 5V output, the TX and RX of the UART of the headphone terminal 200 will also be connected to this line at the same time.
  • the BOOST circuit 2 does not have a 5V output, the UART half-duplex communication will be realized, thereby realizing the intelligent control and interaction of the two wires of the charging compartment 100 and the earphone terminal 200.
  • this function can be used to realize the teaming of the master and slave earphones in the box.
  • the MCU controller 1 can obtain the mac addresses of the two earphones through communication interaction, and then notify the two earphones of the two mac addresses to each other. You can directly group and pair through the other party's mac address to realize the problem of quickly pairing the headset.
  • the MicroUSB interface When the MicroUSB interface is inserted into the charging compartment 100, it can detect the serial data of the MicroUSB UART.
  • the MCU controller 1 can control the UART serial communication interface 4 of the charging compartment 100, and can directly connect the TX and RX of the MicroUSB UART to the 5V/SDA line, and directly allow the MicroUSB to communicate with the headset terminal 200.
  • the advantage of this is that it can Directly use the PC host computer to debug and control the earphone terminal 200. You can also receive the earphone's UART serial port print information on the PC side, which is convenient for debugging. The most important thing is that you can use the PC tool to directly upgrade the earphone. , Without MCU control.
  • the BOOST circuit 2 is a boost circuit, which boosts the battery voltage of the charging compartment 100 to 5V through the boost circuit, and then outputs it to charge the earphones to realize the charging function.
  • the BOOST circuit 2 is controlled by the MCU controller 1 to enable the output of 5V, which can control the output voltage or output data to the headphones, and the MCU controller 1 controls the BOOST circuit 2 to save power consumption, such as when charging or shutting down
  • the output of BOOST circuit 2 can be turned off.
  • the LED indicator 7 has two main functions. One is to display the charging effect when charging, and the other is to prompt the current remaining circuit in the charging compartment. If the charging compartment is low-power, it can display the flashing of the low-power prompt. The LED indicator 7 can visually display the power status.
  • the charging communication conversion circuit 3 is actually a switching circuit, which mainly realizes the switching of 5V and DATA data lines. This switching operation is mainly controlled by the MCU controller 1.
  • the MCU controller 1 controls the BOOST circuit 2 to enable the output of 5V, and the charging communication conversion circuit 3 will switch the on-voltage to the output of 5V to charge the earphone terminal 200.
  • MCU controller 1 will control BOOST circuit 2 not to output 5V, so that the switch of charging communication conversion circuit 3 will be switched to the DATA data line, then MCU controller 1 can connect to the earphone terminal through the DATA data line 200 for two-way communication.
  • the MicroUSB interface 5 mainly realizes the communication between the PC host computer and the charging warehouse 100 through the UART serial communication interface 4, or the direct communication between the PC host computer and the earphone terminal 200.
  • the MicroUSB interface 5 can switch the connection mode to enable the PC host computer to communicate with the charging compartment 100 or the earphone terminal 200, which is conducive to debugging, production testing and other later maintenance work.
  • the Hall sensor (HALL) 6 is mainly used to detect the opening and closing of the charging compartment 100, and then assists in charging or communication by detecting the opening and closing of the cover. Now it is defined that the charging compartment 100 and the charging compartment 100 and The earphone terminal 200 communicates and charges after 10 seconds with the cover closed.
  • a communication method for a charging bin includes the following steps:
  • the opening process is as follows:
  • the charging compartment 100 communicates with the earphone terminal 200, and the earphone terminal 200 forms a team;
  • step S202 Judge whether the team formation is successful, if it is unsuccessful, repeat step S202 after the set time, and if it succeeds, proceed to the next step;
  • the charging warehouse 100 is paired and connected with the mobile phone;
  • the closing process is as follows:
  • the charging compartment 100 communicates with the earphone terminal 200. After 5 seconds, the communication is closed, and the MCU controller 1 turns on the output of the BOOST circuit 2 to charge the earphone terminal 200;
  • the MCU controller 1 turns off the output of the BOOST circuit 2, and reports the power of the charging bin 100;
  • the earphone terminal 200 is turned off, and the charging compartment 100 enters a low power consumption mode.
  • step S201 when the master and slave headphones are both placed in the charging compartment at the same time, the MCU controller obtains the mac address of the master and slave headphones through communication interaction, and then connects the two The mac addresses are notified to each other, and the master and slave headsets are directly paired in a team through the mac address of the other party to achieve fast in-box pairing.
  • the present invention provides a high-efficiency and stable communication charging bin and a communication method for the charging bin.
  • the charging bin (TWS charging bin) 100 is integrated with an MCU controller 1, a BOOST circuit 2, an LED indicator 7, and a charging communication conversion circuit 3.
  • Module components such as MicroUSB interface 5 and Hall sensor 6.
  • This solution mainly realizes the core function of high-efficiency and stable communication through the MCU controller 1 controlling the BOOST circuit 2 and the charging communication conversion circuit 3, and finally achieves intelligent control and communication interaction. Detecting and assisting communication through the MicroUSB interface 5 and the Hall sensor 6 is also one of the conditions for judging communication.
  • the physical connection between the charging compartment 100 and the earphone terminal 200 (TWS earphone) has only two connection points, the charging wire and the ground wire. These two wires are used to realize the charging and communication functions. Compared with the three-wire and four-wire performance, the connection Fewer lines and less line connections are easier and cost-saving.
  • the present invention provides a high-efficiency and stable communication charging bin and a communication method for the charging bin, which solves the problem of difficult communication between the charging bin 100 and the earphone terminal 200, reduces the connection lines, and stabilizes the communication, and also solves the problem of master-slave communication.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention provides a charging case for efficient and stable communication, comprising an MCU controller, a BOOST circuit, a charging and communication conversion circuit, a communication interface and a sensor for detecting a switch cover, an output end of the MCU controller being connected to an input end of the BOOST circuit, an output end of the BOOST circuit being connected to the charging communication conversion circuit, the MCU controller being connected to the charging and communication conversion circuit by means of the communication interface, and an output end of the sensor being connected to the MCU controller. The present invention further provides a communication method for the charging case according to any one of above. The present invention has the beneficial effects that an MCU controller controls a BOOST circuit and a charging and communication conversion circuit to achieve core functions of efficient and stable communication and pairing in a case, thereby finally achieving the purposes of intelligent control and communication interaction.

Description

一种高效率、稳定通信的充电仓及充电仓的通信方法High-efficiency and stable communication charging bin and charging bin communication method 技术领域Technical field
本发明涉及充电仓,尤其涉及一种高效率、稳定通信的充电仓及充电仓的通信方法。 The invention relates to a charging bin, in particular to a charging bin with high efficiency and stable communication and a communication method for the charging bin.
背景技术Background technique
TWS(True Wireless Stereo,真正无线立体声)耳机可以说是时代顺应潮流的产物,除了可以取消手机端3.5mm接口,取消耳机端累赘的耳机线,同时也可以实现一机两用、方便携带、智能语音等功能。随着人们日常生活需求的不断提升,便携方式的不断优化,传统的耳机在使用上已经难以满足需求。所以随着智能硬件不断的发展,TWS耳机开始在市场上变得越来越流行。随着苹果的Airpods的发布,将无线蓝牙耳机市场更是推向了一个高潮。由于TWS耳机左右耳机无物理连接特性,并且TWS耳机一般都没有MicroUSB接口充电,因此几乎所有的TWS都会配备具有充电和收纳功能的便携盒,也就是我们所说的充电仓。TWS耳机没电的时候可以放入盒内,自动断开连接,进行充电。一般串口充电仓仅仅是给TWS耳机充电,这样的操作是并不是非常合理和有效,如何提供一种充电仓,能够和TWS耳机高效、稳定地通信,实现智能控制,是本领域技术人员所亟待解决的技术问题。TWS (True Wireless Stereo, true wireless stereo) headset can be said to be a product of the trend of the times. In addition to canceling the 3.5mm interface on the mobile phone and eliminating the cumbersome headset cable on the headset side, it can also achieve dual-use, portable, intelligent voice and other functions. With the continuous improvement of people's daily needs and the continuous optimization of portable methods, traditional earphones have been difficult to meet the needs in use. So with the continuous development of smart hardware, TWS headsets have become more and more popular in the market. With the release of Apple's Airpods, the wireless Bluetooth headset market has reached a climax. Since there is no physical connection between the left and right earphones of TWS earphones, and TWS earphones generally do not have a MicroUSB interface for charging, almost all TWS will be equipped with a portable box with charging and storage functions, which is what we call a charging compartment. When the TWS headset is out of power, it can be placed in the box, automatically disconnected, and charged. Generally, the serial port charging compartment is only for charging the TWS headset. This operation is not very reasonable and effective. How to provide a charging compartment that can communicate with the TWS headset efficiently and stably and realize intelligent control is an urgent need for those skilled in the art Technical problems solved.
技术问题technical problem 技术解决方案Technical solutions
为了解决现有技术中的问题,本发明提供了一种高效率、稳定通信的充电仓及充电仓的通信方法。In order to solve the problems in the prior art, the present invention provides a charging bin with high efficiency and stable communication and a communication method for the charging bin.
本发明提供了一种高效率、稳定通信的充电仓,包括MCU控制器、BOOST电路、充电通信转换电路、通信接口和检测开关盖的传感器,其中,所述MCU控制器的输出端与所述BOOST电路的输入端连接,所述BOOST电路的输出端与所述充电通信转换电路连接,所述MCU控制器通过所述通信接口与所述充电通信转换电路连接,所述传感器的输出端与所述MCU控制器连接,所述MCU控制器控制所述BOOST电路输出给耳机端充电,或者,所述MCU控制器控制控制所述BOOST电路不输出,而是切换成所述通信接口与耳机端通信交互,所述MCU控制器通过控制所述充电通信转换电路来切换通信功能或者充电功能。The present invention provides a high-efficiency and stable communication charging compartment, which includes an MCU controller, a BOOST circuit, a charging communication conversion circuit, a communication interface and a sensor for detecting the switch cover, wherein the output terminal of the MCU controller is connected to the The input terminal of the BOOST circuit is connected, the output terminal of the BOOST circuit is connected to the charging communication conversion circuit, the MCU controller is connected to the charging communication conversion circuit through the communication interface, and the output terminal of the sensor is connected to the charging communication conversion circuit. The MCU controller is connected, and the MCU controller controls the BOOST circuit to output to the earphone terminal for charging, or the MCU controller controls the BOOST circuit to not output, but switches to the communication interface to communicate with the earphone terminal Interactively, the MCU controller controls the charging communication conversion circuit to switch the communication function or the charging function.
作为本发明的进一步改进,所述充电仓还包括耳机充电线,所述通信接口为UART串口通信接口,所述UART串口通信接口的TX和RX同时接在所述耳机充电线上。As a further improvement of the present invention, the charging compartment further includes an earphone charging cable, the communication interface is a UART serial communication interface, and the TX and RX of the UART serial communication interface are simultaneously connected to the earphone charging cable.
作为本发明的进一步改进,所述耳机充电线为5V/SDA线,所述充电仓内还设有地线,所述充电仓与耳机端仅仅通过耳机充电线和地线进行物理连接。As a further improvement of the present invention, the earphone charging cable is a 5V/SDA cable, the charging compartment is also provided with a ground wire, and the charging compartment and the earphone terminal are physically connected only through the earphone charging cable and the ground wire.
作为本发明的进一步改进,耳机端的UART串口通信接口的TX和RX也都同时接到所述5V/SDA线上。As a further improvement of the present invention, the TX and RX of the UART serial communication interface of the earphone are also connected to the 5V/SDA line at the same time.
作为本发明的进一步改进,所述MCU控制器连接有实现PC上位机和充电仓的通信或者是PC上位机和耳机端的直接通信的MicroUSB接口,所述MicroUSB接口与所述UART串口通信接口连接;所述MCU控制器连接有显示充电的效果或者通过闪烁显示低电提示的LED指示灯。As a further improvement of the present invention, the MCU controller is connected with a MicroUSB interface for realizing communication between the PC upper computer and the charging compartment or direct communication between the PC upper computer and the earphone, and the MicroUSB interface is connected with the UART serial communication interface; The MCU controller is connected with an LED indicator that displays the charging effect or displays a low battery prompt by flashing.
作为本发明的进一步改进,所述充电通信转换电路为实现5V和DATA数据线的切换的开关电路。As a further improvement of the present invention, the charging communication conversion circuit is a switch circuit that realizes switching between 5V and DATA data lines.
作为本发明的进一步改进,所述MCU控制器控制所述BOOST电路使能输出5V,所述充电通信转换电路通过导通电压切换到5V的输出给耳机端充电,在需要通信的时候,所述MCU控制器控制所述BOOST电路不输出5V,所述充电通信转换电路的开关切换到DATA数据线,这时,所述MCU控制器通过DATA数据线跟耳机端进行双向通信交互。As a further improvement of the present invention, the MCU controller controls the BOOST circuit to enable output of 5V, and the charging communication conversion circuit switches the on-voltage to the output of 5V to charge the earphone terminal. When communication is required, the The MCU controller controls the BOOST circuit not to output 5V, and the switch of the charging communication conversion circuit is switched to the DATA data line. At this time, the MCU controller performs two-way communication interaction with the earphone terminal through the DATA data line.
作为本发明的进一步改进,所述传感器为霍尔传感器,通过检测到开盖和关盖来辅助是充电还是通信,在开盖情况下充电仓和耳机端进行通信,在关盖的情况下,在设定时间后进行充电。As a further improvement of the present invention, the sensor is a Hall sensor, which assists in charging or communication by detecting the opening and closing of the cover. When the cover is opened, the charging compartment communicates with the earphone terminal, and when the cover is closed, Charge after the set time.
本发明还提供了一种根据上述任一项所述的充电仓的通信方法,包括以下步骤:The present invention also provides a communication method of the charging bin according to any one of the above, including the following steps:
S101、开机;S101, turn on;
S102、通过传感器检测充电仓是否开盖,如果没有开盖,则进入关盒流程,如果开盖,则进入开盒流程;S102: Detect whether the charging compartment is opened by the sensor, if the lid is not opened, enter the box closing process, if the lid is opened, enter the box opening process;
开盒流程如下:The opening process is as follows:
S201、耳机端通过充电仓进行通信组队;S201. The earphone terminal communicates and forms a team through the charging compartment;
S202、判断组队是否成功,如果不成功,则在设定时间之后再重复步骤S202,如果成功,则进入下一步骤;S202: Judge whether the team formation is successful, if it is unsuccessful, repeat step S202 after the set time, and if it succeeds, proceed to the next step;
S203、广播耳机电量及充电仓电量;S203. Broadcast headset power and charging bin power;
S204、充电仓与手机配对、连接;S204. Pair and connect the charging compartment with the mobile phone;
关盒流程如下:The closing process is as follows:
S301、充电仓与耳机端通信,在设定时间后,关闭通信,MCU控制器打开BOOST电路的输出,对耳机端充电;S301. The charging compartment communicates with the earphone terminal. After a set time, the communication is closed, and the MCU controller turns on the output of the BOOST circuit to charge the earphone terminal;
S302、在充电过程中,定时检测耳机电量是否充满,如果充满,则进入下一步骤;S302. During the charging process, periodically detect whether the headset is fully charged, and if fully charged, proceed to the next step;
S303、MCU控制器关闭BOOST电路的输出,并上报充电仓的电量;S303. The MCU controller turns off the output of the BOOST circuit and reports the power of the charging bin;
S304、耳机端关机,充电仓进入低功耗模式。S304. The earphone terminal is turned off, and the charging compartment enters a low power consumption mode.
作为本发明的进一步改进,在步骤S201中,当主从耳机都同时放在充电仓内的时候,MCU控制器通过通信交互的方式得到主从耳机的mac地址,然后把主从耳机两个mac地址互相通知对方,主从耳机通过对方的mac地址直接组队配对,实现快速配对。As a further improvement of the present invention, in step S201, when the master and slave earphones are placed in the charging compartment at the same time, the MCU controller obtains the mac address of the master and slave earphones through communication interaction, and then sets the two mac addresses of the master and slave earphones Notify each other, and the master and slave headsets directly pair up in teams through the other's mac address to achieve fast pairing.
有益效果Beneficial effect
本发明的有益效果是:通过上述方案,通过MCU控制器控制BOOST电路和充电通信转换电路来实现高效率、稳定通信、盒内配对的核心功能,最终达到智能控制、通信交互的目的。The beneficial effects of the present invention are: through the above solution, the BOOST circuit and the charging communication conversion circuit are controlled by the MCU controller to realize the core functions of high efficiency, stable communication, and matching in the box, and finally achieve the purpose of intelligent control and communication interaction.
附图说明Description of the drawings
图1是本发明一种高效率、稳定通信的充电仓的系统框架图。Figure 1 is a system framework diagram of a charging bin with high efficiency and stable communication according to the present invention.
图2是本发明一种高效率、稳定通信的充电仓的左耳机的充电通信转换电路的电路图。2 is a circuit diagram of a charging communication conversion circuit of a left earphone of a charging compartment with high efficiency and stable communication according to the present invention.
图3是本发明一种高效率、稳定通信的充电仓的右耳机的充电通信转换电路的电路图。Fig. 3 is a circuit diagram of a charging communication conversion circuit of a right earphone of a charging compartment with high efficiency and stable communication according to the present invention.
图4是本发明一种高效率、稳定通信的充电仓的开盒流程图。Fig. 4 is a flow chart of opening a box of a charging compartment with high efficiency and stable communication according to the present invention.
图5是本发明一种高效率、稳定通信的充电仓的关盒流程图。Fig. 5 is a flow chart of closing a charging compartment with high efficiency and stable communication according to the present invention.
本发明的实施方式Embodiments of the invention
下面结合附图说明及具体实施方式对本发明作进一步说明。The present invention will be further described below in conjunction with the description of the drawings and the specific embodiments.
如图1至图3所示,一种高效率、稳定通信的充电仓(TWS充电仓)100,包括MCU控制器1、BOOST电路2、充电通信转换电路3、通信接口和检测开关盖的传感器,其中,所述MCU控制器1的输出端与所述BOOST电路2的输入端连接,所述BOOST电路2的输出端与所述充电通信转换电路3连接,所述MCU控制器1通过所述通信接口与所述充电通信转换电路3连接,所述传感器的输出端与所述MCU控制器1连接,所述MCU控制器1控制所述BOOST电路2输出给耳机端200充电,或者,所述MCU控制器1控制控制所述BOOST电路2不输出,而是切换成所述通信接口与耳机端200通信交互,所述MCU控制器1通过控制所述充电通信转换电路3来切换通信功能或者充电功能。As shown in Figures 1 to 3, a high-efficiency and stable communication charging compartment (TWS charging compartment) 100 includes an MCU controller 1, a BOOST circuit 2, a charging communication conversion circuit 3, a communication interface and a sensor for detecting the switch cover , Wherein the output terminal of the MCU controller 1 is connected to the input terminal of the BOOST circuit 2, the output terminal of the BOOST circuit 2 is connected to the charging communication conversion circuit 3, and the MCU controller 1 The communication interface is connected to the charging communication conversion circuit 3, the output terminal of the sensor is connected to the MCU controller 1, and the MCU controller 1 controls the BOOST circuit 2 to output to the earphone terminal 200 for charging, or the The MCU controller 1 controls the BOOST circuit 2 not to output, but switches to the communication interface to communicate with the earphone terminal 200. The MCU controller 1 controls the charging communication conversion circuit 3 to switch the communication function or charge Features.
如图1至图3所示,所述充电仓100还包括耳机充电线,所述通信接口为UART串口通信接口4,所述UART串口通信接口4的TX和RX同时接在所述耳机充电线上。As shown in Figures 1 to 3, the charging compartment 100 also includes a headset charging cable, the communication interface is a UART serial communication interface 4, and the TX and RX of the UART serial communication interface 4 are simultaneously connected to the headset charging cable on.
如图1至图3所示,所述耳机充电线为5V/SDA线,所述充电仓100内还设有地线,所述充电仓100与耳机端200仅仅通过耳机充电线和地线进行物理连接。As shown in Figures 1 to 3, the earphone charging cable is a 5V/SDA cable, and the charging compartment 100 is also provided with a ground wire. The charging compartment 100 and the earphone terminal 200 only use the earphone charging cable and the ground wire. Physical connection.
如图1至图3所示,耳机端200的UART串口通信接口4的TX和RX也都同时接到所述5V/SDA线上。As shown in FIGS. 1 to 3, the TX and RX of the UART serial communication interface 4 of the earphone terminal 200 are also simultaneously connected to the 5V/SDA line.
如图1至图3所示,所述MCU控制器1连接有实现PC上位机和充电仓100的通信或者是PC上位机和耳机端200的直接通信的MicroUSB接口5,所述MicroUSB接口5与所述UART串口通信接口4连接;所述MCU控制器4连接有显示充电的效果或者通过闪烁显示低电提示的LED指示灯7。As shown in Figures 1 to 3, the MCU controller 1 is connected with a MicroUSB interface 5 that realizes the communication between the PC host computer and the charging compartment 100 or the direct communication between the PC host computer and the earphone terminal 200. The MicroUSB interface 5 is connected to The UART serial communication interface 4 is connected; the MCU controller 4 is connected with an LED indicator 7 that displays the charging effect or displays a low-power prompt by flashing.
如图1至图3所示,所述充电通信转换电路3为实现5V和DATA数据线的切换的开关电路。As shown in FIGS. 1 to 3, the charging communication conversion circuit 3 is a switch circuit that realizes the switching of the 5V and DATA data lines.
如图1至图3所示,所述MCU控制器1控制所述BOOST电路2使能输出5V,所述充电通信转换电路3通过导通电压切换到5V的输出给耳机端200充电,在需要通信的时候,所述MCU控制器1控制所述BOOST电路2不输出5V,所述充电通信转换电路3的开关切换到DATA数据线,这时,所述MCU控制器1通过DATA数据线跟耳机端200进行双向通信交互。As shown in Figures 1 to 3, the MCU controller 1 controls the BOOST circuit 2 to enable the output of 5V, and the charging communication conversion circuit 3 switches the on-voltage to the output of 5V to charge the earphone terminal 200. During communication, the MCU controller 1 controls the BOOST circuit 2 not to output 5V, and the switch of the charging communication conversion circuit 3 is switched to the DATA data line. At this time, the MCU controller 1 communicates with the headset via the DATA data line. The terminal 200 performs two-way communication interaction.
如图1至图3所示,所述传感器为霍尔传感器(HALL)6,通过检测到开盖和关盖来辅助是充电还是通信,在开盖情况下充电仓100和耳机端200进行通信,在关盖的情况下,在设定时间后进行充电。As shown in Figures 1 to 3, the sensor is a Hall sensor (HALL) 6, which assists in charging or communication by detecting opening and closing of the lid. When the lid is opened, the charging compartment 100 communicates with the earphone terminal 200 , With the cover closed, charge after the set time.
如图1至图3所示,耳机端200包括主从耳机共两个耳机,分别为左耳机和右耳机,见图2、3,充电通信转换电路(POWER SWITCH)3共有两个并分别与左耳机、右耳机对应。As shown in Fig. 1 to Fig. 3, the earphone terminal 200 includes two earphones, the left earphone and the right earphone. SWITCH) 3 has two in total and corresponds to the left earphone and the right earphone respectively.
如图1至图3所示,本发明提供的一种高效率、稳定通信的充电仓,其各模块功能简介如下:As shown in Fig. 1 to Fig. 3, a high-efficiency and stable communication charging bin provided by the present invention, the function of each module is as follows:
1)MCU控制器11) MCU controller 1
MCU控制器1作为充电仓100最核心的部分,能够使能控制BOOST电路2的5V输出给左右耳机充电,或者控制BOOST电路2的5V不输出,而是切换成通信接口,本设计使用的通信接口是UART串口通信接口4。MCU控制器1通过充电通信转换电路3来切换充电仓100的通信或者充电功能,硬件上的设计是将UART串口通信接口4的TX和RX同时接在5V/SDA的线上,然后这根线就是耳机充电线。在没有5V输出的时候,耳机端200的UART的TX和RX也都会同时接到这个线上。这样,在BOOST电路2没有5V输出的时候,就会实现UART的半双工通信,从而实现了充电仓100和耳机端200的两根线智能控制和交互。充电仓100实现与耳机端200的通信交互之后,可以利用这功能实现盒内主从耳机的组队。当主从耳机两个耳机都同时放在充电仓100内的时候,MCU控制器1可以通过通信交互的方式得到两个耳机的mac地址,然后把两个mac地址互相通知两个耳机,两个耳机可以通过对方的mac地址直接组队配对,实现快速配对耳机的问题,这样的方式非常稳定、安全盒便捷。当MicroUSB接口插入充电仓100的时候,可以检测MicroUSB的UART的串口数据。MCU控制器1可以控制充电仓100的UART串口通信接口4,可以直接将MicroUSB的UART的TX和RX接到5V/SDA线上,直接让MicroUSB和耳机端200实现通信,这样做的好处是可以直接使用PC上位机来调试、控制耳机端200,也可以在PC端接收耳机的UART的串口打印信息,方便调试,最重要的是可以通过这样的,可以使用PC工具直接对耳机进行烧录升级,而不需要MCU的控制。As the core part of the charging compartment 100, MCU controller 1 can control the 5V output of BOOST circuit 2 to charge the left and right earphones, or control the 5V of BOOST circuit 2 to not output, but switch to the communication interface. The communication used in this design The interface is UART serial communication interface 4. The MCU controller 1 switches the communication or charging function of the charging compartment 100 through the charging communication conversion circuit 3. The hardware design is to connect the TX and RX of the UART serial communication interface 4 to the 5V/SDA line at the same time, and then this line It is the headset charging cable. When there is no 5V output, the TX and RX of the UART of the headphone terminal 200 will also be connected to this line at the same time. In this way, when the BOOST circuit 2 does not have a 5V output, the UART half-duplex communication will be realized, thereby realizing the intelligent control and interaction of the two wires of the charging compartment 100 and the earphone terminal 200. After the charging compartment 100 realizes the communication interaction with the earphone terminal 200, this function can be used to realize the teaming of the master and slave earphones in the box. When both the master and slave earphones are placed in the charging compartment 100 at the same time, the MCU controller 1 can obtain the mac addresses of the two earphones through communication interaction, and then notify the two earphones of the two mac addresses to each other. You can directly group and pair through the other party's mac address to realize the problem of quickly pairing the headset. This method is very stable and the security box is convenient. When the MicroUSB interface is inserted into the charging compartment 100, it can detect the serial data of the MicroUSB UART. The MCU controller 1 can control the UART serial communication interface 4 of the charging compartment 100, and can directly connect the TX and RX of the MicroUSB UART to the 5V/SDA line, and directly allow the MicroUSB to communicate with the headset terminal 200. The advantage of this is that it can Directly use the PC host computer to debug and control the earphone terminal 200. You can also receive the earphone's UART serial port print information on the PC side, which is convenient for debugging. The most important thing is that you can use the PC tool to directly upgrade the earphone. , Without MCU control.
2)BOOST电路22) BOOST circuit 2
BOOST电路2是升压电路,通过升压电路把充电仓100的电池电压升到5V,然后输出给耳机充电,实现充电功能。BOOST电路2是由MCU控制器1控制使能输出5V的,这样能够控制输出电压或者是输出数据给耳机,而且MCU控制器1控制BOOST电路2可以节省功耗,比如在充或者关机的情况下可以关闭BOOST电路2的输出。The BOOST circuit 2 is a boost circuit, which boosts the battery voltage of the charging compartment 100 to 5V through the boost circuit, and then outputs it to charge the earphones to realize the charging function. The BOOST circuit 2 is controlled by the MCU controller 1 to enable the output of 5V, which can control the output voltage or output data to the headphones, and the MCU controller 1 controls the BOOST circuit 2 to save power consumption, such as when charging or shutting down The output of BOOST circuit 2 can be turned off.
3)LED指示灯73) LED indicator 7
LED指示灯7主要有两个作用,一是在充电的时候显示充电的效果,二是可以提示充电仓当前所剩的电路,如果充电仓是低电的话,可以显示低电提示的闪烁。LED指示灯7可以直观的显示电量情况。The LED indicator 7 has two main functions. One is to display the charging effect when charging, and the other is to prompt the current remaining circuit in the charging compartment. If the charging compartment is low-power, it can display the flashing of the low-power prompt. The LED indicator 7 can visually display the power status.
4)充电通信转换电路34) Charging communication conversion circuit 3
充电通信转换电路3,其实就是一个开关电路,主要是实现5V和DATA数据线的切换。这个切换的工作主要是通过MCU控制器1来控制的,MCU控制器1控制BOOST电路2使能输出5V,充电通信转换电路3会通过导通电压切换到5V的输出给耳机端200充电。在需要通信的时候,MCU控制器1会控制BOOST电路2不输出5V,这样充电通信转换电路3的开关就会切换到DATA数据线,这时MCU控制器1就可以通过DATA数据线跟耳机端200进行双向通信。The charging communication conversion circuit 3 is actually a switching circuit, which mainly realizes the switching of 5V and DATA data lines. This switching operation is mainly controlled by the MCU controller 1. The MCU controller 1 controls the BOOST circuit 2 to enable the output of 5V, and the charging communication conversion circuit 3 will switch the on-voltage to the output of 5V to charge the earphone terminal 200. When communication is required, MCU controller 1 will control BOOST circuit 2 not to output 5V, so that the switch of charging communication conversion circuit 3 will be switched to the DATA data line, then MCU controller 1 can connect to the earphone terminal through the DATA data line 200 for two-way communication.
5)MicroUSB接口55) MicroUSB interface 5
MicroUSB接口5主要是通过UART串口通信接口4实现PC上位机和充电仓100的通信,或者是PC上位机和耳机端200的直接通信。MicroUSB接口5切换连接方式可以使PC上位机和充电仓100或者耳机端200通信,这样有利于调试、生产测试等后期的一些维护工作。The MicroUSB interface 5 mainly realizes the communication between the PC host computer and the charging warehouse 100 through the UART serial communication interface 4, or the direct communication between the PC host computer and the earphone terminal 200. The MicroUSB interface 5 can switch the connection mode to enable the PC host computer to communicate with the charging compartment 100 or the earphone terminal 200, which is conducive to debugging, production testing and other later maintenance work.
6)霍尔传感器66) Hall sensor 6
霍尔传感器(HALL)6主要是做充电仓100的开盖和关盖检测,然后通过检测到开盖和关盖来辅助是充电还是通信,现在定义的是在开盖情况下充电仓100和耳机端200进行通信,在关盖的情况下10秒后进行充电。The Hall sensor (HALL) 6 is mainly used to detect the opening and closing of the charging compartment 100, and then assists in charging or communication by detecting the opening and closing of the cover. Now it is defined that the charging compartment 100 and the charging compartment 100 and The earphone terminal 200 communicates and charges after 10 seconds with the cover closed.
如图4至图5所示,一种根据上述任一项所述的充电仓的通信方法,包括以下步骤:As shown in FIG. 4 to FIG. 5, a communication method for a charging bin according to any one of the above includes the following steps:
S101、开机;S101, turn on;
S102、通过传感器检测充电仓100是否开盖,如果没有开盖,则进入关盒流程,如果开盖,则进入开盒流程;S102. Detect whether the charging compartment 100 is opened by the sensor, if the lid is not opened, enter the box closing process, if the lid is opened, enter the box opening process;
开盒流程如下:The opening process is as follows:
S201、充电仓100与耳机端200通信,耳机端200进行组队;S201. The charging compartment 100 communicates with the earphone terminal 200, and the earphone terminal 200 forms a team;
S202、判断组队是否成功,如果不成功,则在设定时间之后再重复步骤S202,如果成功,则进入下一步骤;S202: Judge whether the team formation is successful, if it is unsuccessful, repeat step S202 after the set time, and if it succeeds, proceed to the next step;
S203、广播耳机电量及充电仓电量;S203. Broadcast headset power and charging bin power;
S204、充电仓100与手机配对、连接;S204, the charging warehouse 100 is paired and connected with the mobile phone;
关盒流程如下:The closing process is as follows:
S301、充电仓100与耳机端200通信,在5秒钟后,关闭通信,MCU控制器1打开BOOST电路2的输出,对耳机端200充电;S301. The charging compartment 100 communicates with the earphone terminal 200. After 5 seconds, the communication is closed, and the MCU controller 1 turns on the output of the BOOST circuit 2 to charge the earphone terminal 200;
S302、在充电过程中,定时检测耳机电量是否充满,如果充满,则进入下一步骤;S302. During the charging process, periodically detect whether the headset is fully charged, and if fully charged, proceed to the next step;
S303、MCU控制器1关闭BOOST电路2的输出,并上报充电仓100的电量;S303. The MCU controller 1 turns off the output of the BOOST circuit 2, and reports the power of the charging bin 100;
S304、耳机端200关机,充电仓100进入低功耗模式。S304, the earphone terminal 200 is turned off, and the charging compartment 100 enters a low power consumption mode.
如图4至图5所示,在步骤S201中,当主从耳机都同时放在充电仓内的时候,MCU控制器通过通信交互的方式得到主从耳机的mac地址,然后把主从耳机两个mac地址互相通知对方,主从耳机通过对方的mac地址直接组队配对,实现快速盒内配对。As shown in Figures 4 to 5, in step S201, when the master and slave headphones are both placed in the charging compartment at the same time, the MCU controller obtains the mac address of the master and slave headphones through communication interaction, and then connects the two The mac addresses are notified to each other, and the master and slave headsets are directly paired in a team through the mac address of the other party to achieve fast in-box pairing.
本发明提供的一种高效率、稳定通信的充电仓及充电仓的通信方法,充电仓(TWS充电仓)100内集成有MCU控制器1、BOOST电路2、LED指示灯7、充电通信转换电路3、MicroUSB接口5和霍尔传感器6等模块元件。本方案主要通过MCU控制器1控制BOOST电路2和充电通信转换电路3来实现高效率、稳定通信的核心功能,最终达到智能控制、通信交互。通过MicroUSB接口5和霍尔传感器6来检测和辅助通信,也是判断通信的条件之一。充电仓100与耳机端200(TWS耳机)的物理连接只有两个连接点,就是充电线和地线,通过这两根线来实现充电和通信功能,相比三线、四线的性能一样,连接线更少、线路连接少更加简便、节省成本。The present invention provides a high-efficiency and stable communication charging bin and a communication method for the charging bin. The charging bin (TWS charging bin) 100 is integrated with an MCU controller 1, a BOOST circuit 2, an LED indicator 7, and a charging communication conversion circuit 3. Module components such as MicroUSB interface 5 and Hall sensor 6. This solution mainly realizes the core function of high-efficiency and stable communication through the MCU controller 1 controlling the BOOST circuit 2 and the charging communication conversion circuit 3, and finally achieves intelligent control and communication interaction. Detecting and assisting communication through the MicroUSB interface 5 and the Hall sensor 6 is also one of the conditions for judging communication. The physical connection between the charging compartment 100 and the earphone terminal 200 (TWS earphone) has only two connection points, the charging wire and the ground wire. These two wires are used to realize the charging and communication functions. Compared with the three-wire and four-wire performance, the connection Fewer lines and less line connections are easier and cost-saving.
本发明提供的一种高效率、稳定通信的充电仓及充电仓的通信方法,解决了充电仓100与耳机端200之间通信困难问题、同时减少连接线路、稳定通信,更是解决了主从耳机配对组队麻烦的问题。The present invention provides a high-efficiency and stable communication charging bin and a communication method for the charging bin, which solves the problem of difficult communication between the charging bin 100 and the earphone terminal 200, reduces the connection lines, and stabilizes the communication, and also solves the problem of master-slave communication. The problem of pairing and teaming of headsets.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in combination with specific preferred embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims (10)

  1. 一种高效率、稳定通信的充电仓,其特征在于:包括MCU控制器、BOOST电路、充电通信转换电路、通信接口和检测开关盖的传感器,其中,所述MCU控制器的输出端与所述BOOST电路的输入端连接,所述BOOST电路的输出端与所述充电通信转换电路连接,所述MCU控制器通过所述通信接口与所述充电通信转换电路连接,所述传感器的输出端与所述MCU控制器连接,所述MCU控制器控制所述BOOST电路输出给耳机端充电,或者,所述MCU控制器控制控制所述BOOST电路不输出,而是切换成所述通信接口与耳机端通信交互,所述MCU控制器通过控制所述充电通信转换电路来切换通信功能或者充电功能。A high-efficiency and stable communication charging compartment, which is characterized in that it includes an MCU controller, a BOOST circuit, a charging communication conversion circuit, a communication interface, and a sensor for detecting a switch cover, wherein the output terminal of the MCU controller is connected to the The input terminal of the BOOST circuit is connected, the output terminal of the BOOST circuit is connected to the charging communication conversion circuit, the MCU controller is connected to the charging communication conversion circuit through the communication interface, and the output terminal of the sensor is connected to the charging communication conversion circuit. The MCU controller is connected, and the MCU controller controls the BOOST circuit to output to the earphone terminal for charging, or the MCU controller controls the BOOST circuit to not output, but switches to the communication interface to communicate with the earphone terminal Interactively, the MCU controller controls the charging communication conversion circuit to switch the communication function or the charging function.
  2. 根据权利要求1所述的高效率、稳定通信的充电仓,其特征在于:所述充电仓还包括耳机充电线,所述通信接口为UART串口通信接口,所述UART串口通信接口的TX和RX同时接在所述耳机充电线上。The high-efficiency and stable communication charging compartment according to claim 1, characterized in that: the charging compartment further comprises a headset charging cable, the communication interface is a UART serial communication interface, the TX and RX of the UART serial communication interface At the same time, it is connected to the earphone charging line.
  3. 根据权利要求2所述的高效率、稳定通信的充电仓,其特征在于:所述耳机充电线为5V/SDA线,所述充电仓内还设有地线,所述充电仓与耳机端仅仅通过耳机充电线和地线进行物理连接。The charging compartment with high efficiency and stable communication according to claim 2, characterized in that: the earphone charging cable is a 5V/SDA cable, the charging compartment is also provided with a ground wire, and the charging compartment and the earphone terminal are only The physical connection is made through the headset charging cable and the ground wire.
  4. 根据权利要求2所述的高效率、稳定通信的充电仓,其特征在于:耳机端的UART串口通信接口的TX和RX也都同时接到所述5V/SDA线上。The high-efficiency and stable communication charging compartment according to claim 2, wherein the TX and RX of the UART serial communication interface of the earphone terminal are also connected to the 5V/SDA line at the same time.
  5. 根据权利要求2所述的高效率、稳定通信的充电仓,其特征在于:所述MCU控制器连接有实现PC上位机和充电仓的通信或者是PC上位机和耳机端的直接通信的MicroUSB接口,所述MicroUSB接口与所述UART串口通信接口连接;所述MCU控制器连接有显示充电的效果或者通过闪烁显示低电提示的LED指示灯。The high-efficiency and stable communication charging bin according to claim 2, wherein the MCU controller is connected with a MicroUSB interface that realizes the communication between the PC host computer and the charging bin or the direct communication between the PC host computer and the earphone. The MicroUSB interface is connected with the UART serial communication interface; the MCU controller is connected with an LED indicator that displays the charging effect or displays a low battery prompt by flashing.
  6. 根据权利要求1所述的高效率、稳定通信的充电仓,其特征在于:所述充电通信转换电路为实现5V和DATA数据线的切换的开关电路。The high-efficiency and stable communication charging compartment according to claim 1, wherein the charging communication conversion circuit is a switch circuit that realizes the switching of 5V and DATA data lines.
  7. 根据权利要求6所述的高效率、稳定通信的充电仓,其特征在于:所述MCU控制器控制所述BOOST电路使能输出5V,所述充电通信转换电路通过导通电压切换到5V的输出给耳机端充电,在需要通信的时候,所述MCU控制器控制所述BOOST电路不输出5V,所述充电通信转换电路的开关切换到DATA数据线,这时,所述MCU控制器通过DATA数据线跟耳机端进行双向通信交互。The charging compartment with high efficiency and stable communication according to claim 6, characterized in that: the MCU controller controls the BOOST circuit to enable the output of 5V, and the charging communication conversion circuit switches to the output of 5V through the conduction voltage Charge the earphone terminal. When communication is required, the MCU controller controls the BOOST circuit not to output 5V, and the switch of the charging communication conversion circuit is switched to the DATA data line. At this time, the MCU controller passes the DATA data The line communicates with the earphone terminal in two-way communication.
  8. 根据权利要求1所述的高效率、稳定通信的充电仓,其特征在于:所述传感器为霍尔传感器,通过检测到开盖和关盖来辅助是充电还是通信,在开盖情况下充电仓和耳机端进行通信,在关盖的情况下,在设定时间后进行充电。The high-efficiency and stable communication charging compartment according to claim 1, wherein the sensor is a Hall sensor, which assists in charging or communication by detecting the opening and closing of the cover, and the charging compartment is open when the cover is opened. Communicate with the earphone, and charge after the set time with the cover closed.
  9. 一种根据权利要求1至8中任一项所述的充电仓的通信方法,其特征在于:包括以下步骤:A communication method for a charging bin according to any one of claims 1 to 8, characterized in that it comprises the following steps:
    S101、开机;S101, turn on;
    S102、通过传感器检测充电仓是否开盖,如果没有开盖,则进入关盒流程,如果开盖,则进入开盒流程;S102: Detect whether the charging compartment is opened by the sensor, if the lid is not opened, enter the box closing process, if the lid is opened, enter the box opening process;
    开盒流程如下:The opening process is as follows:
    S201、耳机端通过充电仓进行通信组队;S201. The earphone terminal communicates and forms a team through the charging compartment;
    S202、判断组队是否成功,如果不成功,则在设定时间之后再重复步骤S202,如果成功,则进入下一步骤;S202: Judge whether the team formation is successful, if it is unsuccessful, repeat step S202 after the set time, and if it succeeds, proceed to the next step;
    S203、广播耳机电量及充电仓电量;S203. Broadcast headset power and charging bin power;
    S204、充电仓与手机配对、连接;S204. Pair and connect the charging compartment with the mobile phone;
    关盒流程如下:The closing process is as follows:
    S301、充电仓与耳机端通信,在设定时间后,关闭通信,MCU控制器打开BOOST电路的输出,对耳机端充电;S301. The charging compartment communicates with the earphone terminal. After a set time, the communication is closed, and the MCU controller turns on the output of the BOOST circuit to charge the earphone terminal;
    S302、在充电过程中,定时检测耳机电量是否充满,如果充满,则进入下一步骤;S302. During the charging process, periodically detect whether the headset is fully charged, and if fully charged, proceed to the next step;
    S303、MCU控制器关闭BOOST电路的输出,并上报充电仓的电量;S303. The MCU controller turns off the output of the BOOST circuit and reports the power of the charging bin;
    S304、耳机端关机,充电仓进入低功耗模式。S304. The earphone terminal is turned off, and the charging compartment enters a low power consumption mode.
  10. 根据权利要求9所述的充电仓的通信方法,其特征在于:在步骤S201中,当主从耳机都同时放在充电仓内的时候,MCU控制器通过通信交互的方式得到主从耳机的mac地址,然后把主从耳机两个mac地址互相通知对方,主从耳机通过对方的mac地址直接组队配对,实现快速配对。The communication method of the charging compartment according to claim 9, characterized in that: in step S201, when the master and slave earphones are placed in the charging compartment at the same time, the MCU controller obtains the mac address of the master and slave earphones through communication interaction. , And then notify each other of the two mac addresses of the master and slave headsets, and the master and slave headsets directly pair up in a team through the counterpart’s mac address to achieve quick pairing.
     To
PCT/CN2020/101653 2019-08-02 2020-07-13 Charging case for efficient and stable communication, and communication method for charging case WO2021022978A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910711483.9A CN110474388A (en) 2019-08-02 2019-08-02 A kind of high efficiency, the charging storehouse of stabilized communication and storehouse of charging communication means
CN201910711483.9 2019-08-02

Publications (1)

Publication Number Publication Date
WO2021022978A1 true WO2021022978A1 (en) 2021-02-11

Family

ID=68509490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/101653 WO2021022978A1 (en) 2019-08-02 2020-07-13 Charging case for efficient and stable communication, and communication method for charging case

Country Status (2)

Country Link
CN (1) CN110474388A (en)
WO (1) WO2021022978A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315209A (en) * 2021-06-29 2021-08-27 紫优科技(深圳)有限公司 Charging bin circuit, charging bin terminal, charging method and networking method
CN113518278A (en) * 2021-04-26 2021-10-19 广东朝阳电子科技股份有限公司 True wireless Bluetooth headset charging system with high charging conversion efficiency
CN114005197A (en) * 2021-08-25 2022-02-01 深圳市芯智云信息技术有限公司 High integrated system of fingerprint lock
CN116668895A (en) * 2023-05-23 2023-08-29 辰芯半导体(深圳)有限公司 Current signal demodulator and wireless earphone

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474388A (en) * 2019-08-02 2019-11-19 深圳市岍丞技术有限公司 A kind of high efficiency, the charging storehouse of stabilized communication and storehouse of charging communication means
CN115225992A (en) * 2021-04-16 2022-10-21 Oppo广东移动通信有限公司 Earphone external device and wireless earphone

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106617580A (en) * 2015-09-30 2017-05-10 苹果公司 Case for charging and fixing portable listening devices
CN106849219A (en) * 2016-02-19 2017-06-13 音来多(开曼)控股有限公司 Charging system and the electronic equipment with the charging system
US20180091884A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Wireless headset carrying case with digital audio output port
CN108769856A (en) * 2018-06-12 2018-11-06 歌尔科技有限公司 A kind of method, apparatus, wireless headset and charging box for establishing single line connection
CN109547884A (en) * 2018-09-29 2019-03-29 恒玄科技(上海)有限公司 Charging bluetooth earphone box system and bluetooth headset test macro
CN110474388A (en) * 2019-08-02 2019-11-19 深圳市岍丞技术有限公司 A kind of high efficiency, the charging storehouse of stabilized communication and storehouse of charging communication means

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8401595B2 (en) * 2008-12-08 2013-03-19 Samsung Electronics Co., Ltd. Method and system for integrated wireless power and data communication
GB2551799A (en) * 2016-06-30 2018-01-03 Al-Amin Mohammed Wireless headphone system
CN107809696B (en) * 2017-11-30 2019-12-20 成都必盛科技有限公司 Wireless earphone capable of establishing interaction with earphone box
CN107887950A (en) * 2017-12-11 2018-04-06 歌尔科技有限公司 One kind charging and communication common rail system and earphone products
CN108174457B (en) * 2018-01-12 2020-09-01 恒玄科技(上海)股份有限公司 Charging box, communication system and communication method of Bluetooth headset
CN108494058B (en) * 2018-05-02 2021-03-30 歌尔股份有限公司 Charging box circuit of wireless earphone, wireless earphone and earphone charging communication device
CN108599304B (en) * 2018-05-03 2021-05-28 Oppo广东移动通信有限公司 Charging box, charging control method and related product
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
CN109739792A (en) * 2018-10-12 2019-05-10 成都必盛科技有限公司 Serial ports charging communication multiplexing method
CN109510267A (en) * 2018-11-30 2019-03-22 歌尔股份有限公司 The charging method of wireless headset, charging box, wireless headset charging system and wireless headset
CN109660898A (en) * 2018-12-21 2019-04-19 成都必盛科技有限公司 Charging box, earphone and its control method
CN109618318A (en) * 2018-12-21 2019-04-12 潍坊歌尔电子有限公司 A kind of matching method and TWS earphone of TWS earphone
CN109640207B (en) * 2018-12-24 2020-05-01 歌尔科技有限公司 Communication control method, device and system, charging box and wireless earphone
CN109495807A (en) * 2018-12-26 2019-03-19 上海与德通讯技术有限公司 A kind of charging bluetooth earphone box and bluetooth headset
CN210120420U (en) * 2019-08-02 2020-02-28 深圳市岍丞技术有限公司 High efficiency, stable communication's storehouse of charging

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106617580A (en) * 2015-09-30 2017-05-10 苹果公司 Case for charging and fixing portable listening devices
CN106849219A (en) * 2016-02-19 2017-06-13 音来多(开曼)控股有限公司 Charging system and the electronic equipment with the charging system
US20180091884A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Wireless headset carrying case with digital audio output port
CN108769856A (en) * 2018-06-12 2018-11-06 歌尔科技有限公司 A kind of method, apparatus, wireless headset and charging box for establishing single line connection
CN109547884A (en) * 2018-09-29 2019-03-29 恒玄科技(上海)有限公司 Charging bluetooth earphone box system and bluetooth headset test macro
CN110474388A (en) * 2019-08-02 2019-11-19 深圳市岍丞技术有限公司 A kind of high efficiency, the charging storehouse of stabilized communication and storehouse of charging communication means

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518278A (en) * 2021-04-26 2021-10-19 广东朝阳电子科技股份有限公司 True wireless Bluetooth headset charging system with high charging conversion efficiency
CN113315209A (en) * 2021-06-29 2021-08-27 紫优科技(深圳)有限公司 Charging bin circuit, charging bin terminal, charging method and networking method
CN114005197A (en) * 2021-08-25 2022-02-01 深圳市芯智云信息技术有限公司 High integrated system of fingerprint lock
CN116668895A (en) * 2023-05-23 2023-08-29 辰芯半导体(深圳)有限公司 Current signal demodulator and wireless earphone

Also Published As

Publication number Publication date
CN110474388A (en) 2019-11-19

Similar Documents

Publication Publication Date Title
WO2021022978A1 (en) Charging case for efficient and stable communication, and communication method for charging case
CN202889567U (en) Bluetooth system and Bluetooth earphones
CN107484143A (en) A kind of talk back equipment and its intercommunication means of communication based on wireless network
CN105182276A (en) Intelligent electric energy meter detection module based on bluetooth communication and 485 communication and detection method
CN103686051A (en) Portable communication device, intelligent watch, and communication system
WO2023185685A1 (en) Charging method, electronic device, computer-readable storage medium, and chip system
CN206640635U (en) A kind of iPhone back splint power supply with Bluetooth audio frequency conversion
CN210120420U (en) High efficiency, stable communication's storehouse of charging
CN203261451U (en) Earphone capable of displaying incoming call information
WO2024114716A1 (en) Vehicle-to-vehicle charging device
CN203761495U (en) Portable communication device, intelligent watch and communication system
CN105811515A (en) Method and system for charging universal serial bus Bluetooth headset through mobile terminal
CN210246374U (en) Charging base for communicating with Bluetooth headset
CN201349214Y (en) Mobile phone
CN204362266U (en) Wire control earphone capable of being in wireless communication connection with input source
CN203645668U (en) Bluetooth device
CN202841489U (en) Wireless Bluetooth high-fidelity background music controller
CN206713030U (en) A kind of chargeable intelligence wearing bluetooth earphone of separate type
CN206574420U (en) Portable display and the mainboard applied to the display
CN204291279U (en) Realize the hand miaow that mobile phone remote intercommunication, sound control and load are charged
CN203984012U (en) Bluetooth electric supply installation
CN208971179U (en) Portable type power supply unit
CN209626986U (en) A kind of TWS charging bluetooth earphone circuit and TWS Bluetooth earphone circuit
CN208609151U (en) A kind of bluetooth headset of included local playing function
CN202749862U (en) Charging device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20849446

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20849446

Country of ref document: EP

Kind code of ref document: A1