CN110366062B - TWS earphone in-place detection method and system - Google Patents

TWS earphone in-place detection method and system Download PDF

Info

Publication number
CN110366062B
CN110366062B CN201910672849.6A CN201910672849A CN110366062B CN 110366062 B CN110366062 B CN 110366062B CN 201910672849 A CN201910672849 A CN 201910672849A CN 110366062 B CN110366062 B CN 110366062B
Authority
CN
China
Prior art keywords
earphone
voltage value
charging
tws
charging box
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910672849.6A
Other languages
Chinese (zh)
Other versions
CN110366062A (en
Inventor
许若文
李洪鹏
邹振国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Lianchuang Sound Macro Electronic Co ltd
Original Assignee
Jiangxi Lianchuang Sound Macro Electronic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Lianchuang Sound Macro Electronic Co ltd filed Critical Jiangxi Lianchuang Sound Macro Electronic Co ltd
Priority to CN201910672849.6A priority Critical patent/CN110366062B/en
Publication of CN110366062A publication Critical patent/CN110366062A/en
Application granted granted Critical
Publication of CN110366062B publication Critical patent/CN110366062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1025Accumulators or arrangements for charging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a TWS earphone in-place detection method and a TWS earphone in-place detection system, wherein the method comprises the following steps: the charging box sends a starting signal to the TWS earphone and stops charging the TWS earphone; the TWS earphone is started up when receiving the starting-up signal, and the Vbus voltage value of the TWS earphone is periodically collected in a starting-up state; and the TWS earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, and when the Vbus voltage value is greater than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box. The invention can actively identify whether the TWS earphone is in the charging box, can provide technical support for the function of identifying whether the TWS earphone is in the charging box, and has low implementation cost and high detection reliability.

Description

TWS earphone in-place detection method and system
Technical Field
The invention relates to the technical field of earphones, in particular to a TWS earphone in-place detection method and system.
Background
With the development of wireless communication technology, users usually select wireless earphones when listening to audio and video or answering calls, and real wireless stereo (TWS) earphones capable of realizing wireless separation of left and right channels are common bluetooth wireless earphones in the current market. The TWS earphone can be connected with the mobile terminal and a main earphone (for example, a left earphone) in a Bluetooth wireless mode, and the main earphone is connected with a slave earphone (for example, a right earphone) in a Bluetooth wireless mode, so that the real wireless separation of the left sound channel and the right sound channel of the earphone is realized, the traditional earphone is eliminated, and even a connecting line between two ears of the Bluetooth earphone is used, and the wearing is more portable.
At present, the TWS headset is usually stored in a charging box, and the TWS headset can be charged in the charging box, but in the prior art, whether the TWS headset is in the charging box cannot be actively detected, and for some functions that need to identify whether the TWS headset is in the charging box, corresponding technical support cannot be provided.
Disclosure of Invention
Therefore, an object of the present invention is to provide an in-place detection method for a TWS headset, so as to solve the problem that the prior art cannot actively detect whether the TWS headset is in a charging box.
A TWS headset presence detection method, the method comprising:
the charging box sends a starting signal to the TWS earphone and stops charging the TWS earphone;
the TWS earphone is started up when receiving the starting-up signal, and the Vbus voltage value of the TWS earphone is periodically collected in a starting-up state;
and the TWS earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, and when the Vbus voltage value is greater than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box.
According to the TWS earphone in-place detection method provided by the invention, the start-up signal is sent to the TWS earphone through the charging box, the charging of the TWS earphone is stopped, the TWS earphone is started when receiving the start-up signal, the Vbus voltage value of the TWS earphone is periodically collected in the start-up state, finally the TWS earphone actively identifies whether the TWS earphone is in the charging box or not by comparing the collected Vbus voltage value with the charging stop voltage value, specifically, if the Vbus voltage value is greater than or equal to the charging stop voltage value, the TWS earphone is actively identified in the charging box, otherwise, the TWS earphone is actively identified not in the charging box, technical support can be provided for certain functions of identifying whether the TWS earphone is in the charging box or not, and the invention realizes in-place detection through the voltage comparison mode, thereby realizing low cost and high detection reliability.
In addition, the TWS headset presence detecting method according to the present invention may further have the following additional technical features:
further, a hall switch is arranged in the charging box, the charging box sends a power-on signal to the TWS headset, and the step of stopping charging the TWS headset specifically includes:
when the charging box judges that the charging box is opened through the Hall switch, the charging box sends a starting signal to the TWS earphone, and the voltage value of the detection point on the charging box is reduced from the charging voltage value to the charging stopping voltage value so as to stop charging the TWS earphone.
Further, the TWS headset includes a left headset and a right headset, and the method specifically includes:
the charging box respectively sends a starting signal to the left earphone and the right earphone and stops charging the left earphone and the right earphone;
the left earphone and the right earphone are respectively started up when receiving the starting-up signal, and the Vbus voltage values of the left earphone and the right earphone are respectively and periodically collected in the starting-up state;
the left earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, when the acquired Vbus voltage value of the left earphone is larger than or equal to the charging stop voltage value, the left earphone is judged to be in the charging box, otherwise, the left earphone is judged not to be in the charging box; and the right earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, and when the acquired Vbus voltage value of the right earphone is greater than or equal to the charging stop voltage value, the right earphone is judged to be in the charging box, otherwise, the right earphone is judged not to be in the charging box.
Further, the method further comprises:
the left earphone and the right earphone are actively connected with each other after being started, and after the connection is completed, the left earphone and the right earphone repeat the action of periodically acquiring the Vbus voltage value so as to periodically detect whether the left earphone and the right earphone are in the charging box.
Further, the method further comprises:
and when the left earphone and the right earphone are turned off, the left earphone and the right earphone stop the action of periodically collecting the Vbus voltage value.
Another objective of the present invention is to provide an in-place TWS headset detecting system, so as to solve the problem that the prior art cannot actively detect whether the TWS headset is in the charging box.
A TWS headset in-place detection system, the system comprising a charging box and a TWS headset;
the charging box is used for sending a starting signal to the TWS earphone and stopping charging the TWS earphone;
the TWS earphone is used for starting up when receiving the starting-up signal and periodically collecting the Vbus voltage value of the TWS earphone in a starting-up state;
the TWS earphone is used for comparing the collected Vbus voltage value with a preset charging stop voltage value, when the Vbus voltage value is larger than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box.
According to the TWS earphone in-place detection system provided by the invention, the start-up signal is sent to the TWS earphone through the charging box, the charging of the TWS earphone is stopped, the TWS earphone is started when receiving the start-up signal, the Vbus voltage value of the TWS earphone is periodically collected in the start-up state, finally the TWS earphone actively identifies whether the TWS earphone is in the charging box or not by comparing the collected Vbus voltage value with the charging stop voltage value, specifically, if the Vbus voltage value is greater than or equal to the charging stop voltage value, the TWS earphone is actively identified in the charging box, otherwise, the TWS earphone is actively identified not in the charging box, technical support can be provided for certain functions of identifying whether the TWS earphone is in the charging box or not, in-place detection is realized in a voltage comparison mode, the cost is low, and the detection reliability is high.
In addition, the TWS headset presence detecting system according to the present invention may further have the following additional technical features:
further, a Hall switch is arranged in the charging box;
when the charging box judges that the charging box is opened through the Hall switch, the charging box sends a starting signal to the TWS earphone, and the voltage value of the detection point on the charging box is reduced from the charging voltage value to the charging stopping voltage value so as to stop charging the TWS earphone.
Further, the TWS headset includes a left headset and a right headset;
the charging box is used for respectively sending a starting signal to the left earphone and the right earphone and stopping charging the left earphone and the right earphone;
the left earphone and the right earphone are used for respectively starting up when receiving the starting-up signal, and the left earphone and the right earphone respectively periodically collect respective Vbus voltage values in a starting-up state;
the left earphone is used for comparing the acquired Vbus voltage value with a preset charging stop voltage value, when the acquired Vbus voltage value of the left earphone is larger than or equal to the charging stop voltage value, the left earphone is judged to be in the charging box, otherwise, the left earphone is judged not to be in the charging box; the right earphone is used for comparing the collected Vbus voltage value with a preset charging stop voltage value, when the collected Vbus voltage value is larger than or equal to the charging stop voltage value, the right earphone is judged to be in the charging box, otherwise, the right earphone is judged not to be in the charging box.
Furthermore, the left earphone and the right earphone are used for actively connecting with each other after the earphone is started, and after the connection is completed, the left earphone and the right earphone repeat the action of periodically collecting the Vbus voltage value so as to periodically detect whether the left earphone and the right earphone are in the charging box.
Further, after the left earphone and the right earphone are turned off, the left earphone and the right earphone stop the action of periodically collecting the Vbus voltage value.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of embodiments of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flow chart of a TWS headset presence detection method according to a first embodiment of the present invention;
fig. 2 is a schematic structural view of a charging box;
fig. 3 is a schematic diagram of the structure of the left earphone and the right earphone.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a TWS headset presence detection method according to a first embodiment of the present invention includes steps S101 to S103:
s101, a charging box sends a starting signal to a TWS earphone and stops charging the TWS earphone;
referring to fig. 2 and 3, the charging box 10 is a device for placing and charging a TWS headset, which specifically includes a left headset 20 and a right headset 30. One of the left earphone 20 and the right earphone 30 is a master earphone, and the other is a slave earphone, and the master earphone performs bluetooth communication with the slave earphone and a user terminal (e.g., a mobile phone), respectively.
The charging box 10 has therein a logic control device 11, such as a control chip. In addition, the charging box 10 further has a left earphone detecting point 12(Vbus _ L), a right earphone detecting point 13(Vbus _ R) and a battery 14, the logic control device 11 is electrically connected to the battery 14, the left earphone detecting point 12 and the right earphone detecting point 13, respectively, the left earphone detecting point 12 on the charging box 10 is used for being electrically connected to a detecting point 21(Vbus _ L) on the left earphone 20, and the right earphone detecting point 13(Vbus _ L) on the charging box 10 is used for being electrically connected to a detecting point 31(Vbus _ L) on the right earphone 30.
Specifically, the left earphone 20 includes a left bluetooth chip 22, a battery 23, a speaker 24, and a microphone 25, wherein the battery 23, the speaker 24, the microphone 25, and the left detection point 21 are respectively connected to the left bluetooth chip 22; correspondingly, the right earphone 30 includes a right bluetooth chip 32, a battery 33, a speaker 34, and a microphone 35, wherein the battery 33, the speaker 34, the microphone 35, and the right detection point 31 are respectively connected to the right bluetooth chip 32. Since the bluetooth chip, the battery, the speaker and the microphone are all conventional devices, they are not described herein.
In specific implementation, in order to trigger the method of this embodiment, the charging box has a hall switch 15 for detecting whether the charging box is opened, the hall switch 15 is electrically connected to the logic control device 11, the hall switch 15 is detected by the logic control device 11 that a level change occurs, and the logic control device 11 determines that the charging box 10 is opened.
When the charging box 10 judges that the charging box 10 is opened through the hall switch 15, the charging box 10 sends a power-on signal to the TWS headset, and reduces the voltage value of the detection points (including the left headset detection point 12 and the right headset detection point 13) on the charging box 10 from the charging voltage value to a preset charging stop voltage value, so as to stop charging the TWS headset. The charging voltage value is, for example, 5V, the charging stop voltage value is, for example, 1.2V, and the voltage corresponding to the charging stop voltage value is for maintaining simple signal transmission.
Since the TWS headset includes the left earphone 20 and the right earphone 30, the specific charging box 10 transmits a power-on signal to the left earphone 20 and the right earphone 30, respectively, and stops charging the left earphone 20 and the right earphone 30.
S102, the TWS earphone is started up when receiving the starting-up signal, and the Vbus voltage value of the TWS earphone is periodically collected in the starting-up state;
when receiving the power-on signal, the left earphone 20 and the right earphone 30 are respectively powered on, and are switched from a power-off state to a power-on state, and the left earphone 20 and the right earphone 30 respectively periodically collect Vbus voltage values in the power-on state, for example, once every 1 minute. Namely, the left earphone 20 obtains the voltage value of the left detection point 21 through the left bluetooth chip 22, and the right earphone 30 obtains the voltage value of the right detection point 31 through the right bluetooth chip 32.
S103, the TWS earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, when the Vbus voltage value is larger than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box.
The left earphone 20 compares the acquired Vbus voltage value with a preset charging stop voltage value (for example, 1.2V), specifically, the left bluetooth chip 22 compares the acquired Vbus voltage value with a preset charging stop voltage value, when the Vbus voltage value acquired by the left earphone 20 is greater than or equal to the charging stop voltage value, it is determined that the left earphone 20 is in the charging box 10, specifically, the left bluetooth chip 22 determines that the right earphone 30 is in the charging box 10, otherwise (that is, when the Vbus voltage value acquired by the left earphone 20 is less than the charging stop voltage value), it is determined that the left earphone 20 is not in the charging box 10, and active identification of whether the TWS earphone is in place is achieved. The result of determining whether the bluetooth device is in place may be sent via the left bluetooth chip 22, for example, to the user terminal.
Correspondingly, the right earphone 30 compares the acquired Vbus voltage value with a preset charging stop voltage value (for example, 1.2V), specifically, the acquired Vbus voltage value is compared with the preset charging stop voltage value by the right bluetooth chip 32, when the Vbus voltage value acquired by the right earphone 30 is greater than or equal to the charging stop voltage value, it is determined that the right earphone 30 is in the charging box 10, specifically, the right bluetooth chip 32 determines that the right earphone 30 is in the charging box 10, otherwise (that is, when the Vbus voltage value acquired by the right earphone 30 is less than the charging stop voltage value), it is determined that the right earphone 30 is not in the charging box 10, and a result of determining whether the right earphone 30 is in place can be sent out through the right bluetooth chip 32, for example, to a user terminal.
According to the TWS earphone in-place detection method provided by the embodiment of the invention, the start-up signal is sent to the TWS earphone through the charging box, the charging of the TWS earphone is stopped, the TWS earphone is started when receiving the start-up signal, the Vbus voltage value of the TWS earphone is periodically collected in the start-up state, finally the TWS earphone actively identifies whether the TWS earphone is in the charging box or not by comparing the collected Vbus voltage value with the charging stop voltage value, specifically, if the Vbus voltage value is greater than or equal to the charging stop voltage value, the TWS earphone is actively identified to be in the charging box, otherwise, the TWS earphone is actively identified to be not in the charging box, technical support can be provided for certain functions needing to identify whether the TWS earphone is in the charging box, in-place detection is realized through an overvoltage comparison mode, the cost is low, and the detection reliability is high.
In addition, as a specific example, the method of this embodiment further includes:
the left earphone 20 and the right earphone 30 are actively connected with each other after being powered on, if a user terminal (such as a mobile phone) has a last pairing record, the mobile phone of the user can also be actively connected, and after all the connections are completed, the left earphone 20 and the right earphone 30 repeat the action of periodically acquiring the Vbus voltage value so as to periodically detect whether the left earphone 20 and the right earphone 30 are in the charging box, so that preparation is made for some functions of identifying whether the TWS earphone is in the charging box. This periodic collection action is stopped after the headphones are turned off, i.e., the left headphone 20 and the right headphone 30 stop periodically collecting the Vbus voltage value after the left headphone 20 and the right headphone 30 are turned off.
Based on the same inventive concept, a TWS headset in-place detection system of a second embodiment of the present invention includes a charging box and a TWS headset;
the charging box is used for sending a starting signal to the TWS earphone and stopping charging the TWS earphone;
the TWS earphone is used for starting up when receiving the starting-up signal and periodically collecting the Vbus voltage value of the TWS earphone in a starting-up state;
the TWS earphone is used for comparing the collected Vbus voltage value with a preset charging stop voltage value, when the Vbus voltage value is larger than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box.
In this embodiment, a hall switch is built in the charging box;
when the charging box judges that the charging box is opened through the Hall switch, the charging box sends a starting signal to the TWS earphone, and the voltage value of the detection point on the charging box is reduced from the charging voltage value to the charging stopping voltage value so as to stop charging the TWS earphone.
In this embodiment, the TWS headset includes a left headset and a right headset;
the charging box is used for respectively sending a starting signal to the left earphone and the right earphone and stopping charging the left earphone and the right earphone;
the left earphone and the right earphone are used for respectively starting up when receiving the starting-up signal, and the left earphone and the right earphone respectively periodically collect respective Vbus voltage values in a starting-up state;
the left earphone is used for comparing the acquired Vbus voltage value with a preset charging stop voltage value, when the acquired Vbus voltage value of the left earphone is larger than or equal to the charging stop voltage value, the left earphone is judged to be in the charging box, otherwise, the left earphone is judged not to be in the charging box; the right earphone is used for comparing the collected Vbus voltage value with a preset charging stop voltage value, when the collected Vbus voltage value is larger than or equal to the charging stop voltage value, the right earphone is judged to be in the charging box, otherwise, the right earphone is judged not to be in the charging box.
In this embodiment, the left earphone and the right earphone are used to actively connect with each other after the mobile phone is powered on, and after the connection is completed, the left earphone and the right earphone repeat the action of periodically collecting the Vbus voltage value to periodically detect whether the left earphone and the right earphone are in the charging box.
In this embodiment, after the left earphone and the right earphone are turned off, the left earphone and the right earphone stop the action of periodically collecting the Vbus voltage value.
According to the TWS earphone in-place detection system provided by the embodiment, the charging box sends a start-up signal to the TWS earphone, the charging of the TWS earphone is stopped, the TWS earphone is started up when receiving the start-up signal, the Vbus voltage value of the TWS earphone is periodically collected in the start-up state, and finally the TWS earphone actively identifies whether the TWS earphone is in the charging box by comparing the collected Vbus voltage value with the charging stop voltage value.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (8)

1. A TWS earphone in-place detection method is characterized in that a Hall switch is arranged in a charging box, and the method comprises the following steps:
when the charging box judges that the charging box is opened through the Hall switch, the charging box sends a starting signal to the TWS earphone, and the voltage value of a detection point on the charging box is reduced from a charging voltage value to a charging stopping voltage value so as to stop charging the TWS earphone;
the TWS earphone is started up when receiving the starting-up signal, and the Vbus voltage value of the TWS earphone is periodically collected in a starting-up state;
and the TWS earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, and when the Vbus voltage value is greater than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box.
2. The TWS headset presence detection method of claim 1, wherein the TWS headset comprises a left headset and a right headset, the method comprising in particular:
the charging box respectively sends a starting signal to the left earphone and the right earphone and stops charging the left earphone and the right earphone;
the left earphone and the right earphone are respectively started up when receiving the starting-up signal, and the Vbus voltage values of the left earphone and the right earphone are respectively and periodically collected in the starting-up state;
the left earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, when the acquired Vbus voltage value of the left earphone is larger than or equal to the charging stop voltage value, the left earphone is judged to be in the charging box, otherwise, the left earphone is judged not to be in the charging box; and the right earphone compares the acquired Vbus voltage value with a preset charging stop voltage value, and when the acquired Vbus voltage value of the right earphone is greater than or equal to the charging stop voltage value, the right earphone is judged to be in the charging box, otherwise, the right earphone is judged not to be in the charging box.
3. The TWS headset presence detection method of claim 2, further comprising:
the left earphone and the right earphone are actively connected with each other after being started, and after the connection is completed, the left earphone and the right earphone repeat the action of periodically acquiring the Vbus voltage value so as to periodically detect whether the left earphone and the right earphone are in the charging box.
4. The TWS headset presence detection method of claim 3, further comprising:
and when the left earphone and the right earphone are turned off, the left earphone and the right earphone stop the action of periodically collecting the Vbus voltage value.
5. The TWS earphone in-place detection system is characterized by comprising a charging box and a TWS earphone, wherein a Hall switch is arranged in the charging box;
when the charging box judges that the charging box is opened through the Hall switch, the charging box sends a starting signal to the TWS earphone, and the voltage value of a detection point on the charging box is reduced from a charging voltage value to a charging stopping voltage value so as to stop charging the TWS earphone;
the TWS earphone is used for starting up when receiving the starting-up signal and periodically collecting the Vbus voltage value of the TWS earphone in a starting-up state;
the TWS earphone is used for comparing the collected Vbus voltage value with a preset charging stop voltage value, when the Vbus voltage value is larger than or equal to the charging stop voltage value, the TWS earphone is judged to be in the charging box, otherwise, the TWS earphone is judged not to be in the charging box.
6. A TWS headset presence detection system according to claim 5 wherein the TWS headset comprises a left headset and a right headset;
the charging box is used for respectively sending a starting signal to the left earphone and the right earphone and stopping charging the left earphone and the right earphone;
the left earphone and the right earphone are used for respectively starting up when receiving the starting-up signal, and the left earphone and the right earphone respectively periodically collect respective Vbus voltage values in a starting-up state;
the left earphone is used for comparing the acquired Vbus voltage value with a preset charging stop voltage value, when the acquired Vbus voltage value of the left earphone is larger than or equal to the charging stop voltage value, the left earphone is judged to be in the charging box, otherwise, the left earphone is judged not to be in the charging box; the right earphone is used for comparing the collected Vbus voltage value with a preset charging stop voltage value, when the collected Vbus voltage value is larger than or equal to the charging stop voltage value, the right earphone is judged to be in the charging box, otherwise, the right earphone is judged not to be in the charging box.
7. The TWS headset presence detection system of claim 6 wherein:
the left earphone and the right earphone are used for actively connecting with each other after the earphone is started, and after the connection is completed, the left earphone and the right earphone repeat the action of periodically acquiring the Vbus voltage value so as to periodically detect whether the left earphone and the right earphone are in the charging box.
8. The TWS headset presence detection system of claim 7 wherein:
and when the left earphone and the right earphone are turned off, the left earphone and the right earphone stop the action of periodically collecting the Vbus voltage value.
CN201910672849.6A 2019-07-24 2019-07-24 TWS earphone in-place detection method and system Active CN110366062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910672849.6A CN110366062B (en) 2019-07-24 2019-07-24 TWS earphone in-place detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910672849.6A CN110366062B (en) 2019-07-24 2019-07-24 TWS earphone in-place detection method and system

Publications (2)

Publication Number Publication Date
CN110366062A CN110366062A (en) 2019-10-22
CN110366062B true CN110366062B (en) 2021-02-05

Family

ID=68220146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910672849.6A Active CN110366062B (en) 2019-07-24 2019-07-24 TWS earphone in-place detection method and system

Country Status (1)

Country Link
CN (1) CN110366062B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996207A (en) * 2019-12-11 2020-04-10 深圳市蓝蜂时代实业有限公司 Method and system capable of judging whether wireless earphone is in charging box or not and wireless earphone
TWI779337B (en) 2020-08-24 2022-10-01 瑞昱半導體股份有限公司 Bluetooth earphone system, and storage and charging case for bluetooth earphones
CN114125620A (en) * 2020-08-31 2022-03-01 瑞昱半导体股份有限公司 Bluetooth headset system and box that charges is accomodate to bluetooth headset
CN111988699B (en) * 2020-09-02 2022-07-05 东莞市余泰电子有限公司 Control method of hearing-aid Bluetooth headset
CN116074679B (en) * 2023-02-06 2023-11-10 宜百科技(深圳)有限公司 Method, device, equipment and storage medium for determining left and right states of intelligent earphone

Citations (3)

* 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
CN108242839A (en) * 2018-01-25 2018-07-03 广东思派康电子科技有限公司 Wireless headset in wireless headset charging system and system
CN108879847A (en) * 2018-07-06 2018-11-23 歌尔股份有限公司 Wireless headset charging system and wireless headset charging method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107683459B (en) * 2015-06-05 2020-04-17 苹果公司 Accompanying communication device behavior based on state changes of wearable device
CN108092356A (en) * 2017-12-19 2018-05-29 歌尔股份有限公司 Charging box, wireless device, wireless headset and charging system
CN108848429A (en) * 2018-06-15 2018-11-20 Oppo广东移动通信有限公司 The pairing connection method of wireless transmitting-receiving equipments and wireless transmitting-receiving equipments
CN109587592A (en) * 2018-06-19 2019-04-05 伍军华 Bluetooth headset and its on-off control method
CN109413532B (en) * 2018-11-30 2020-04-24 重庆与展微电子有限公司 Bluetooth headset charging circuit and Bluetooth headset
CN209002181U (en) * 2018-12-12 2019-06-18 深圳卡卡智能科技有限公司 Earphone charging box and wireless headset
CN109922401A (en) * 2019-04-26 2019-06-21 歌尔科技有限公司 Wireless headset control method, system and wireless headset, charging box and storage medium

Patent Citations (3)

* 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
CN108242839A (en) * 2018-01-25 2018-07-03 广东思派康电子科技有限公司 Wireless headset in wireless headset charging system and system
CN108879847A (en) * 2018-07-06 2018-11-23 歌尔股份有限公司 Wireless headset charging system and wireless headset charging method

Also Published As

Publication number Publication date
CN110366062A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN110366062B (en) TWS earphone in-place detection method and system
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
KR101820730B1 (en) Detecting System For connecting of Earphone And Electric Device supporting the same
CN111193978B (en) Charging box control method, earphone charging box and computer readable storage medium
CN108509176A (en) A kind of method, apparatus of playing audio-fequency data, storage medium and intelligent terminal
CN104584584A (en) Headset type detection and configuration techniques
US11445285B2 (en) Interactive control method and device of an earphone case, earphone case and storage medium
CN109525012B (en) Charging device, charging control method, charging control system, and storage medium
EP2571288B1 (en) Mobile device for multi-channel sound collection and output using common connector, and driving method thereof
CN102413402A (en) Audio frequency control method of audio frequency output device and audio frequency output device
CN105487899A (en) Headphone wearing state reporting method and system and headphone
CN105630586A (en) Information processing method and electronic device
US11791643B2 (en) Earpiece charging case detection
CN112013949A (en) Earphone wearing state determining method and device and earphone
KR101855225B1 (en) Method, apparatus, and system for supplying power to active noise reduction headset
WO2019061538A1 (en) Electronic device having type c usb interface, control method for type c usb interface, and storage medium
CN105679350A (en) Audio playing method and device
CN105741863A (en) Method and device for mobile terminal to play voice frequency, and mobile terminal
CN110784797A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN116074679B (en) Method, device, equipment and storage medium for determining left and right states of intelligent earphone
CN111601218B (en) Audio playing switching method, Bluetooth loudspeaker box and Bluetooth audio playing device
CN109120298B (en) Earphone far-field interaction method, earphone far-field interaction accessory and wireless earphone
CN116193413A (en) Bluetooth connection method, system, storage medium and device
CN109120297B (en) Earphone far-field interaction method, earphone far-field interaction accessory and wireless earphone
CN111293748A (en) Method and device for monitoring electric quantity data

Legal Events

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